daily update
[binutils.git] / Makefile.in
blob3c1e0a1a2f481caa823dd2947492d25698f10680
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 NM="$(NM_FOR_TARGET)"; export NM; \
196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
198 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
200 RAW_CXX_TARGET_EXPORTS = \
201 $(BASE_TARGET_EXPORTS) \
202 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
203 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
205 NORMAL_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX="$(CXX_FOR_TARGET)"; export CXX;
209 # Where to find GMP
210 HOST_GMPLIBS = @gmplibs@
211 HOST_GMPINC = @gmpinc@
213 # ----------------------------------------------
214 # Programs producing files for the BUILD machine
215 # ----------------------------------------------
217 SHELL = @config_shell@
219 # pwd command to use. Allow user to override default by setting PWDCMD in
220 # the environment to account for automounters. The make variable must not
221 # be called PWDCMD, otherwise the value set here is passed to make
222 # subprocesses and overrides the setting from the user's environment.
223 # Don't use PWD since it is a common shell environment variable and we
224 # don't want to corrupt it.
225 PWD_COMMAND = $${PWDCMD-pwd}
227 # compilers to use to create programs which must be run in the build
228 # environment.
229 CC_FOR_BUILD = @CC_FOR_BUILD@
230 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
232 CXX_FOR_BUILD = $(CXX)
234 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
235 # here so that they can be overridden by Makefile fragments.
236 BUILD_PREFIX = @BUILD_PREFIX@
237 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
239 # Flags to pass to stage2 and later makes. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BOOT_CFLAGS= -g -O2
243 CONFIGURED_BISON = @CONFIGURED_BISON@
244 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
245 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
246 else \
247 echo ${CONFIGURED_BISON} ; \
250 CONFIGURED_YACC = @CONFIGURED_YACC@
251 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
252 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
253 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
255 else \
256 echo ${CONFIGURED_YACC} ; \
259 CONFIGURED_FLEX = @CONFIGURED_FLEX@
260 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
261 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
262 else echo ${CONFIGURED_FLEX} ; fi`
264 CONFIGURED_LEX = @CONFIGURED_LEX@
265 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_LEX} ; fi`
269 CONFIGURED_M4 = @CONFIGURED_M4@
270 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
272 else echo ${CONFIGURED_M4} ; fi`
274 # For an installed makeinfo, we require it to be from texinfo 4.2 or
275 # higher, else we use the "missing" dummy. We also pass the subdirectory
276 # makeinfo even if only the Makefile is there, because Texinfo builds its
277 # manual when made, and it requires its own version.
278 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
279 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
281 else if (${CONFIGURED_MAKEINFO} --version \
282 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
283 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
285 # This just becomes part of the MAKEINFO definition passed down to
286 # sub-makes. It lets flags be given on the command line while still
287 # using the makeinfo from the object tree.
288 # (Default to avoid splitting info files by setting the threshold high.)
289 MAKEINFOFLAGS = --split-size=5000000
291 # FIXME: expect may become a build tool?
292 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
293 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
294 else echo expect ; fi`
296 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
297 then echo $$s/dejagnu/runtest ; \
298 else echo runtest ; fi`
300 # ---------------------------------------------
301 # Programs producing files for the HOST machine
302 # ---------------------------------------------
304 AS = @AS@
306 AR = @AR@
307 AR_FLAGS = rc
309 CC = @CC@
310 CFLAGS = @CFLAGS@
311 LIBCFLAGS = $(CFLAGS)
313 CXX = @CXX@
314 CXXFLAGS = @CXXFLAGS@
315 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
317 DLLTOOL = @DLLTOOL@
319 NM = @NM@
321 LD = @LD@
322 LDFLAGS =
324 RANLIB = @RANLIB@
326 WINDRES = @WINDRES@
328 PICFLAG =
330 # -----------------------------------------------
331 # Programs producing files for the TARGET machine
332 # -----------------------------------------------
334 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
336 AR_FOR_TARGET=@AR_FOR_TARGET@
337 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
338 USUAL_AR_FOR_TARGET = ` \
339 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
340 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
341 else \
342 if [ '$(host)' = '$(target)' ] ; then \
343 echo $(AR); \
344 else \
345 echo $(CONFIGURED_AR_FOR_TARGET) ; \
346 fi; \
349 AS_FOR_TARGET=@AS_FOR_TARGET@
350 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
351 USUAL_AS_FOR_TARGET = ` \
352 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
353 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
354 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
355 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
356 else \
357 if [ '$(host)' = '$(target)' ] ; then \
358 echo $(AS); \
359 else \
360 echo $(CONFIGURED_AS_FOR_TARGET) ; \
361 fi; \
364 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
365 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
366 USUAL_CC_FOR_TARGET = ` \
367 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
368 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
369 else \
370 if [ '$(host)' = '$(target)' ] ; then \
371 echo $(CC); \
372 else \
373 echo $(CONFIGURED_CC_FOR_TARGET) ; \
374 fi; \
377 # During gcc bootstrap, if we use some random cc for stage1 then
378 # CFLAGS will be just -g. We want to ensure that TARGET libraries
379 # (which we know are built with gcc) are built with optimizations so
380 # prepend -O2 when setting CFLAGS_FOR_TARGET.
381 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
382 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
384 # If GCC_FOR_TARGET is not overriden on the command line, then this
385 # variable is passed down to the gcc Makefile, where it is used to
386 # build libgcc2.a. We define it here so that it can itself be
387 # overridden on the command line.
388 GCC_FOR_TARGET=@GCC_FOR_TARGET@
389 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@
390 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
391 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
392 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
394 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
395 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
396 USUAL_CXX_FOR_TARGET = ` \
397 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
398 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
399 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
400 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
401 else \
402 if [ '$(host)' = '$(target)' ] ; then \
403 echo $(CXX); \
404 else \
405 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
406 fi; \
409 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
410 USUAL_RAW_CXX_FOR_TARGET = ` \
411 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
412 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; \
413 else \
414 if [ '$(host)' = '$(target)' ] ; then \
415 echo $(CXX); \
416 else \
417 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
418 fi; \
421 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
422 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
424 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
425 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
426 USUAL_GCJ_FOR_TARGET = ` \
427 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
428 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
429 else \
430 if [ '$(host)' = '$(target)' ] ; then \
431 echo $(GCJ); \
432 else \
433 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
434 fi; \
437 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
438 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
439 USUAL_GFORTRAN_FOR_TARGET = ` \
440 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
441 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
442 else \
443 if [ '$(host)' = '$(target)' ] ; then \
444 echo $(GFORTRAN); \
445 else \
446 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
447 fi; \
451 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
452 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
453 USUAL_DLLTOOL_FOR_TARGET = ` \
454 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
455 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
456 else \
457 if [ '$(host)' = '$(target)' ] ; then \
458 echo $(DLLTOOL); \
459 else \
460 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
461 fi; \
464 LD_FOR_TARGET=@LD_FOR_TARGET@
465 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
466 USUAL_LD_FOR_TARGET = ` \
467 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
468 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
469 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
470 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
471 else \
472 if [ '$(host)' = '$(target)' ] ; then \
473 echo $(LD); \
474 else \
475 echo $(CONFIGURED_LD_FOR_TARGET) ; \
476 fi; \
479 LDFLAGS_FOR_TARGET =
481 NM_FOR_TARGET=@NM_FOR_TARGET@
482 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
483 USUAL_NM_FOR_TARGET = ` \
484 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
485 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
486 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
487 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
488 else \
489 if [ '$(host)' = '$(target)' ] ; then \
490 echo $(NM); \
491 else \
492 echo $(CONFIGURED_NM_FOR_TARGET) ; \
493 fi; \
496 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
497 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
498 USUAL_RANLIB_FOR_TARGET = ` \
499 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
500 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
501 else \
502 if [ '$(host)' = '$(target)' ] ; then \
503 if [ x'$(RANLIB)' != x ]; then \
504 echo $(RANLIB); \
505 else \
506 echo ranlib; \
507 fi; \
508 else \
509 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
510 fi; \
513 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
514 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
515 USUAL_WINDRES_FOR_TARGET = ` \
516 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
517 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
518 else \
519 if [ '$(host)' = '$(target)' ] ; then \
520 echo $(WINDRES); \
521 else \
522 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
523 fi; \
526 PICFLAG_FOR_TARGET =
528 # ------------------------------------
529 # Miscellaneous targets and flag lists
530 # ------------------------------------
532 # The first rule in the file had better be this one. Don't put any above it.
533 # This lives here to allow makefile fragments to contain dependencies.
534 @default_target@:
536 #### host and target specific makefile fragments come in here.
537 @target_makefile_frag@
538 @alphaieee_frag@
539 @ospace_frag@
540 @host_makefile_frag@
543 # This is the list of directories that may be needed in RPATH_ENVVAR
544 # so that prorgams built for the target machine work.
545 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
547 @if target-libstdc++-v3
548 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
549 @endif target-libstdc++-v3
551 @if target-libmudflap
552 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
553 @endif target-libmudflap
555 @if target-libssp
556 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
557 @endif target-libssp
561 # This is the list of directories that may be needed in RPATH_ENVVAR
562 # so that programs built for the host machine work.
563 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
565 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
566 @if gcc
567 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
568 @endif gcc
571 @if bfd
572 HOST_LIB_PATH_bfd = \
573 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
574 @endif bfd
576 @if opcodes
577 HOST_LIB_PATH_opcodes = \
578 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
579 @endif opcodes
582 # Flags to pass down to all sub-makes.
583 BASE_FLAGS_TO_PASS = \
584 "DESTDIR=$(DESTDIR)" \
585 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
586 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
587 "bindir=$(bindir)" \
588 "datadir=$(datadir)" \
589 "exec_prefix=$(exec_prefix)" \
590 "includedir=$(includedir)" \
591 "infodir=$(infodir)" \
592 "libdir=$(libdir)" \
593 "libexecdir=$(libexecdir)" \
594 "lispdir=$(lispdir)" \
595 "localstatedir=$(localstatedir)" \
596 "mandir=$(mandir)" \
597 "oldincludedir=$(oldincludedir)" \
598 "prefix=$(prefix)" \
599 "sbindir=$(sbindir)" \
600 "sharedstatedir=$(sharedstatedir)" \
601 "sysconfdir=$(sysconfdir)" \
602 "tooldir=$(tooldir)" \
603 "build_tooldir=$(build_tooldir)" \
604 "target_alias=$(target_alias)" \
605 "BISON=$(BISON)" \
606 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
607 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
608 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
609 "EXPECT=$(EXPECT)" \
610 "FLEX=$(FLEX)" \
611 "INSTALL=$(INSTALL)" \
612 "INSTALL_DATA=$(INSTALL_DATA)" \
613 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
614 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
615 "LEX=$(LEX)" \
616 "M4=$(M4)" \
617 "MAKE=$(MAKE)" \
618 "RUNTEST=$(RUNTEST)" \
619 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
620 "SHELL=$(SHELL)" \
621 "YACC=$(YACC)" \
622 "AR_FLAGS=$(AR_FLAGS)" \
623 "CFLAGS=$(CFLAGS)" \
624 "CXXFLAGS=$(CXXFLAGS)" \
625 "LDFLAGS=$(LDFLAGS)" \
626 "LIBCFLAGS=$(LIBCFLAGS)" \
627 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
628 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
629 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
630 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
631 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
632 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
633 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
634 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
635 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
636 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
637 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
638 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
639 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
640 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
641 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
642 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
643 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
644 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
645 "CONFIG_SHELL=$(SHELL)" \
646 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
648 # We leave this in just in case, but it is not needed anymore.
649 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
651 # Flags to pass down to most sub-makes, in which we're building with
652 # the host environment.
653 EXTRA_HOST_FLAGS = \
654 'AR=$(AR)' \
655 'AS=$(AS)' \
656 'CC=$(CC)' \
657 'CXX=$(CXX)' \
658 'DLLTOOL=$(DLLTOOL)' \
659 'LD=$(LD)' \
660 'NM=$(NM)' \
661 'RANLIB=$(RANLIB)' \
662 'WINDRES=$(WINDRES)'
664 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
666 # Flags that are concerned with the location of the X11 include files
667 # and library files
669 # NOTE: until the top-level is getting the values via autoconf, it only
670 # causes problems to have this top-level Makefile overriding the autoconf-set
671 # values in child directories. Only variables that don't conflict with
672 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
674 X11_FLAGS_TO_PASS = \
675 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
676 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
678 # Flags to pass down to makes which are built with the target environment.
679 # The double $ decreases the length of the command line; the variables
680 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
681 EXTRA_TARGET_FLAGS = \
682 'AR=$$(AR_FOR_TARGET)' \
683 'AS=$$(AS_FOR_TARGET)' \
684 'CC=$$(CC_FOR_TARGET)' \
685 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
686 'CXX=$$(CXX_FOR_TARGET)' \
687 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
688 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
689 'LD=$$(LD_FOR_TARGET)' \
690 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
691 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
692 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
693 'NM=$$(NM_FOR_TARGET)' \
694 'RANLIB=$$(RANLIB_FOR_TARGET)' \
695 'WINDRES=$$(WINDRES_FOR_TARGET)'
697 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
699 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
700 # unfortunately needs the native compiler and the target ar and
701 # ranlib.
702 # If any variables are added here, they must be added to do-*, below.
703 # The BUILD_* variables are a special case, which are used for the gcc
704 # cross-building scheme.
705 EXTRA_GCC_FLAGS = \
706 'BUILD_PREFIX=$(BUILD_PREFIX)' \
707 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
708 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
709 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
710 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
711 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
712 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
713 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
714 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
715 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
716 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
717 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
719 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
721 .PHONY: configure-host
722 configure-host: \
723 maybe-configure-ash \
724 maybe-configure-autoconf \
725 maybe-configure-automake \
726 maybe-configure-bash \
727 maybe-configure-bfd \
728 maybe-configure-opcodes \
729 maybe-configure-binutils \
730 maybe-configure-bison \
731 maybe-configure-byacc \
732 maybe-configure-bzip2 \
733 maybe-configure-dejagnu \
734 maybe-configure-diff \
735 maybe-configure-dosutils \
736 maybe-configure-etc \
737 maybe-configure-fastjar \
738 maybe-configure-fileutils \
739 maybe-configure-findutils \
740 maybe-configure-find \
741 maybe-configure-fixincludes \
742 maybe-configure-flex \
743 maybe-configure-gas \
744 maybe-configure-gcc \
745 maybe-configure-gawk \
746 maybe-configure-gettext \
747 maybe-configure-gnuserv \
748 maybe-configure-gprof \
749 maybe-configure-gzip \
750 maybe-configure-hello \
751 maybe-configure-indent \
752 maybe-configure-intl \
753 maybe-configure-tcl \
754 maybe-configure-itcl \
755 maybe-configure-ld \
756 maybe-configure-libcpp \
757 maybe-configure-libgui \
758 maybe-configure-libiberty \
759 maybe-configure-libtool \
760 maybe-configure-m4 \
761 maybe-configure-make \
762 maybe-configure-mmalloc \
763 maybe-configure-patch \
764 maybe-configure-perl \
765 maybe-configure-prms \
766 maybe-configure-rcs \
767 maybe-configure-readline \
768 maybe-configure-release \
769 maybe-configure-recode \
770 maybe-configure-sed \
771 maybe-configure-send-pr \
772 maybe-configure-shellutils \
773 maybe-configure-sid \
774 maybe-configure-sim \
775 maybe-configure-tar \
776 maybe-configure-texinfo \
777 maybe-configure-textutils \
778 maybe-configure-time \
779 maybe-configure-uudecode \
780 maybe-configure-wdiff \
781 maybe-configure-zip \
782 maybe-configure-zlib \
783 maybe-configure-gdb \
784 maybe-configure-expect \
785 maybe-configure-guile \
786 maybe-configure-tk \
787 maybe-configure-libtermcap \
788 maybe-configure-utils \
789 maybe-configure-gnattools
790 .PHONY: configure-target
791 configure-target: \
792 maybe-configure-target-libstdc++-v3 \
793 maybe-configure-target-libmudflap \
794 maybe-configure-target-libssp \
795 maybe-configure-target-newlib \
796 maybe-configure-target-libgfortran \
797 maybe-configure-target-libobjc \
798 maybe-configure-target-libtermcap \
799 maybe-configure-target-winsup \
800 maybe-configure-target-libgloss \
801 maybe-configure-target-libiberty \
802 maybe-configure-target-gperf \
803 maybe-configure-target-examples \
804 maybe-configure-target-libffi \
805 maybe-configure-target-libjava \
806 maybe-configure-target-zlib \
807 maybe-configure-target-boehm-gc \
808 maybe-configure-target-qthreads \
809 maybe-configure-target-rda \
810 maybe-configure-target-libada
812 # The target built for a native non-bootstrap build.
813 .PHONY: all
814 all: unstage all-host all-target stage
816 .PHONY: all-build
817 all-build: \
818 maybe-all-build-libiberty \
819 maybe-all-build-bison \
820 maybe-all-build-byacc \
821 maybe-all-build-flex \
822 maybe-all-build-m4 \
823 maybe-all-build-texinfo \
824 maybe-all-build-fixincludes
825 .PHONY: all-host
826 all-host: \
827 maybe-all-ash \
828 maybe-all-autoconf \
829 maybe-all-automake \
830 maybe-all-bash \
831 maybe-all-bfd \
832 maybe-all-opcodes \
833 maybe-all-binutils \
834 maybe-all-bison \
835 maybe-all-byacc \
836 maybe-all-bzip2 \
837 maybe-all-dejagnu \
838 maybe-all-diff \
839 maybe-all-dosutils \
840 maybe-all-etc \
841 maybe-all-fastjar \
842 maybe-all-fileutils \
843 maybe-all-findutils \
844 maybe-all-find \
845 maybe-all-fixincludes \
846 maybe-all-flex \
847 maybe-all-gas \
848 maybe-all-gcc \
849 maybe-all-gawk \
850 maybe-all-gettext \
851 maybe-all-gnuserv \
852 maybe-all-gprof \
853 maybe-all-gzip \
854 maybe-all-hello \
855 maybe-all-indent \
856 maybe-all-intl \
857 maybe-all-tcl \
858 maybe-all-itcl \
859 maybe-all-ld \
860 maybe-all-libcpp \
861 maybe-all-libgui \
862 maybe-all-libiberty \
863 maybe-all-libtool \
864 maybe-all-m4 \
865 maybe-all-make \
866 maybe-all-mmalloc \
867 maybe-all-patch \
868 maybe-all-perl \
869 maybe-all-prms \
870 maybe-all-rcs \
871 maybe-all-readline \
872 maybe-all-release \
873 maybe-all-recode \
874 maybe-all-sed \
875 maybe-all-send-pr \
876 maybe-all-shellutils \
877 maybe-all-sid \
878 maybe-all-sim \
879 maybe-all-tar \
880 maybe-all-texinfo \
881 maybe-all-textutils \
882 maybe-all-time \
883 maybe-all-uudecode \
884 maybe-all-wdiff \
885 maybe-all-zip \
886 maybe-all-zlib \
887 maybe-all-gdb \
888 maybe-all-expect \
889 maybe-all-guile \
890 maybe-all-tk \
891 maybe-all-libtermcap \
892 maybe-all-utils \
893 maybe-all-gnattools
894 .PHONY: all-target
895 all-target: \
896 maybe-all-target-libstdc++-v3 \
897 maybe-all-target-libmudflap \
898 maybe-all-target-libssp \
899 maybe-all-target-newlib \
900 maybe-all-target-libgfortran \
901 maybe-all-target-libobjc \
902 maybe-all-target-libtermcap \
903 maybe-all-target-winsup \
904 maybe-all-target-libgloss \
905 maybe-all-target-libiberty \
906 maybe-all-target-gperf \
907 maybe-all-target-examples \
908 maybe-all-target-libffi \
909 maybe-all-target-libjava \
910 maybe-all-target-zlib \
911 maybe-all-target-boehm-gc \
912 maybe-all-target-qthreads \
913 maybe-all-target-rda \
914 maybe-all-target-libada
916 # Do a target for all the subdirectories. A ``make do-X'' will do a
917 # ``make X'' in all subdirectories (because, in general, there is a
918 # dependency (below) of X upon do-X, a ``make X'' will also do this,
919 # but it may do additional work as well).
921 .PHONY: do-info
922 do-info: unstage info-host info-target stage
924 .PHONY: info-host
925 info-host: \
926 maybe-info-ash \
927 maybe-info-autoconf \
928 maybe-info-automake \
929 maybe-info-bash \
930 maybe-info-bfd \
931 maybe-info-opcodes \
932 maybe-info-binutils \
933 maybe-info-bison \
934 maybe-info-byacc \
935 maybe-info-bzip2 \
936 maybe-info-dejagnu \
937 maybe-info-diff \
938 maybe-info-dosutils \
939 maybe-info-etc \
940 maybe-info-fastjar \
941 maybe-info-fileutils \
942 maybe-info-findutils \
943 maybe-info-find \
944 maybe-info-fixincludes \
945 maybe-info-flex \
946 maybe-info-gas \
947 maybe-info-gcc \
948 maybe-info-gawk \
949 maybe-info-gettext \
950 maybe-info-gnuserv \
951 maybe-info-gprof \
952 maybe-info-gzip \
953 maybe-info-hello \
954 maybe-info-indent \
955 maybe-info-intl \
956 maybe-info-tcl \
957 maybe-info-itcl \
958 maybe-info-ld \
959 maybe-info-libcpp \
960 maybe-info-libgui \
961 maybe-info-libiberty \
962 maybe-info-libtool \
963 maybe-info-m4 \
964 maybe-info-make \
965 maybe-info-mmalloc \
966 maybe-info-patch \
967 maybe-info-perl \
968 maybe-info-prms \
969 maybe-info-rcs \
970 maybe-info-readline \
971 maybe-info-release \
972 maybe-info-recode \
973 maybe-info-sed \
974 maybe-info-send-pr \
975 maybe-info-shellutils \
976 maybe-info-sid \
977 maybe-info-sim \
978 maybe-info-tar \
979 maybe-info-texinfo \
980 maybe-info-textutils \
981 maybe-info-time \
982 maybe-info-uudecode \
983 maybe-info-wdiff \
984 maybe-info-zip \
985 maybe-info-zlib \
986 maybe-info-gdb \
987 maybe-info-expect \
988 maybe-info-guile \
989 maybe-info-tk \
990 maybe-info-libtermcap \
991 maybe-info-utils \
992 maybe-info-gnattools
994 .PHONY: info-target
995 info-target: \
996 maybe-info-target-libstdc++-v3 \
997 maybe-info-target-libmudflap \
998 maybe-info-target-libssp \
999 maybe-info-target-newlib \
1000 maybe-info-target-libgfortran \
1001 maybe-info-target-libobjc \
1002 maybe-info-target-libtermcap \
1003 maybe-info-target-winsup \
1004 maybe-info-target-libgloss \
1005 maybe-info-target-libiberty \
1006 maybe-info-target-gperf \
1007 maybe-info-target-examples \
1008 maybe-info-target-libffi \
1009 maybe-info-target-libjava \
1010 maybe-info-target-zlib \
1011 maybe-info-target-boehm-gc \
1012 maybe-info-target-qthreads \
1013 maybe-info-target-rda \
1014 maybe-info-target-libada
1016 .PHONY: do-dvi
1017 do-dvi: unstage dvi-host dvi-target stage
1019 .PHONY: dvi-host
1020 dvi-host: \
1021 maybe-dvi-ash \
1022 maybe-dvi-autoconf \
1023 maybe-dvi-automake \
1024 maybe-dvi-bash \
1025 maybe-dvi-bfd \
1026 maybe-dvi-opcodes \
1027 maybe-dvi-binutils \
1028 maybe-dvi-bison \
1029 maybe-dvi-byacc \
1030 maybe-dvi-bzip2 \
1031 maybe-dvi-dejagnu \
1032 maybe-dvi-diff \
1033 maybe-dvi-dosutils \
1034 maybe-dvi-etc \
1035 maybe-dvi-fastjar \
1036 maybe-dvi-fileutils \
1037 maybe-dvi-findutils \
1038 maybe-dvi-find \
1039 maybe-dvi-fixincludes \
1040 maybe-dvi-flex \
1041 maybe-dvi-gas \
1042 maybe-dvi-gcc \
1043 maybe-dvi-gawk \
1044 maybe-dvi-gettext \
1045 maybe-dvi-gnuserv \
1046 maybe-dvi-gprof \
1047 maybe-dvi-gzip \
1048 maybe-dvi-hello \
1049 maybe-dvi-indent \
1050 maybe-dvi-intl \
1051 maybe-dvi-tcl \
1052 maybe-dvi-itcl \
1053 maybe-dvi-ld \
1054 maybe-dvi-libcpp \
1055 maybe-dvi-libgui \
1056 maybe-dvi-libiberty \
1057 maybe-dvi-libtool \
1058 maybe-dvi-m4 \
1059 maybe-dvi-make \
1060 maybe-dvi-mmalloc \
1061 maybe-dvi-patch \
1062 maybe-dvi-perl \
1063 maybe-dvi-prms \
1064 maybe-dvi-rcs \
1065 maybe-dvi-readline \
1066 maybe-dvi-release \
1067 maybe-dvi-recode \
1068 maybe-dvi-sed \
1069 maybe-dvi-send-pr \
1070 maybe-dvi-shellutils \
1071 maybe-dvi-sid \
1072 maybe-dvi-sim \
1073 maybe-dvi-tar \
1074 maybe-dvi-texinfo \
1075 maybe-dvi-textutils \
1076 maybe-dvi-time \
1077 maybe-dvi-uudecode \
1078 maybe-dvi-wdiff \
1079 maybe-dvi-zip \
1080 maybe-dvi-zlib \
1081 maybe-dvi-gdb \
1082 maybe-dvi-expect \
1083 maybe-dvi-guile \
1084 maybe-dvi-tk \
1085 maybe-dvi-libtermcap \
1086 maybe-dvi-utils \
1087 maybe-dvi-gnattools
1089 .PHONY: dvi-target
1090 dvi-target: \
1091 maybe-dvi-target-libstdc++-v3 \
1092 maybe-dvi-target-libmudflap \
1093 maybe-dvi-target-libssp \
1094 maybe-dvi-target-newlib \
1095 maybe-dvi-target-libgfortran \
1096 maybe-dvi-target-libobjc \
1097 maybe-dvi-target-libtermcap \
1098 maybe-dvi-target-winsup \
1099 maybe-dvi-target-libgloss \
1100 maybe-dvi-target-libiberty \
1101 maybe-dvi-target-gperf \
1102 maybe-dvi-target-examples \
1103 maybe-dvi-target-libffi \
1104 maybe-dvi-target-libjava \
1105 maybe-dvi-target-zlib \
1106 maybe-dvi-target-boehm-gc \
1107 maybe-dvi-target-qthreads \
1108 maybe-dvi-target-rda \
1109 maybe-dvi-target-libada
1111 .PHONY: do-html
1112 do-html: unstage html-host html-target stage
1114 .PHONY: html-host
1115 html-host: \
1116 maybe-html-ash \
1117 maybe-html-autoconf \
1118 maybe-html-automake \
1119 maybe-html-bash \
1120 maybe-html-bfd \
1121 maybe-html-opcodes \
1122 maybe-html-binutils \
1123 maybe-html-bison \
1124 maybe-html-byacc \
1125 maybe-html-bzip2 \
1126 maybe-html-dejagnu \
1127 maybe-html-diff \
1128 maybe-html-dosutils \
1129 maybe-html-etc \
1130 maybe-html-fastjar \
1131 maybe-html-fileutils \
1132 maybe-html-findutils \
1133 maybe-html-find \
1134 maybe-html-fixincludes \
1135 maybe-html-flex \
1136 maybe-html-gas \
1137 maybe-html-gcc \
1138 maybe-html-gawk \
1139 maybe-html-gettext \
1140 maybe-html-gnuserv \
1141 maybe-html-gprof \
1142 maybe-html-gzip \
1143 maybe-html-hello \
1144 maybe-html-indent \
1145 maybe-html-intl \
1146 maybe-html-tcl \
1147 maybe-html-itcl \
1148 maybe-html-ld \
1149 maybe-html-libcpp \
1150 maybe-html-libgui \
1151 maybe-html-libiberty \
1152 maybe-html-libtool \
1153 maybe-html-m4 \
1154 maybe-html-make \
1155 maybe-html-mmalloc \
1156 maybe-html-patch \
1157 maybe-html-perl \
1158 maybe-html-prms \
1159 maybe-html-rcs \
1160 maybe-html-readline \
1161 maybe-html-release \
1162 maybe-html-recode \
1163 maybe-html-sed \
1164 maybe-html-send-pr \
1165 maybe-html-shellutils \
1166 maybe-html-sid \
1167 maybe-html-sim \
1168 maybe-html-tar \
1169 maybe-html-texinfo \
1170 maybe-html-textutils \
1171 maybe-html-time \
1172 maybe-html-uudecode \
1173 maybe-html-wdiff \
1174 maybe-html-zip \
1175 maybe-html-zlib \
1176 maybe-html-gdb \
1177 maybe-html-expect \
1178 maybe-html-guile \
1179 maybe-html-tk \
1180 maybe-html-libtermcap \
1181 maybe-html-utils \
1182 maybe-html-gnattools
1184 .PHONY: html-target
1185 html-target: \
1186 maybe-html-target-libstdc++-v3 \
1187 maybe-html-target-libmudflap \
1188 maybe-html-target-libssp \
1189 maybe-html-target-newlib \
1190 maybe-html-target-libgfortran \
1191 maybe-html-target-libobjc \
1192 maybe-html-target-libtermcap \
1193 maybe-html-target-winsup \
1194 maybe-html-target-libgloss \
1195 maybe-html-target-libiberty \
1196 maybe-html-target-gperf \
1197 maybe-html-target-examples \
1198 maybe-html-target-libffi \
1199 maybe-html-target-libjava \
1200 maybe-html-target-zlib \
1201 maybe-html-target-boehm-gc \
1202 maybe-html-target-qthreads \
1203 maybe-html-target-rda \
1204 maybe-html-target-libada
1206 .PHONY: do-TAGS
1207 do-TAGS: unstage TAGS-host TAGS-target stage
1209 .PHONY: TAGS-host
1210 TAGS-host: \
1211 maybe-TAGS-ash \
1212 maybe-TAGS-autoconf \
1213 maybe-TAGS-automake \
1214 maybe-TAGS-bash \
1215 maybe-TAGS-bfd \
1216 maybe-TAGS-opcodes \
1217 maybe-TAGS-binutils \
1218 maybe-TAGS-bison \
1219 maybe-TAGS-byacc \
1220 maybe-TAGS-bzip2 \
1221 maybe-TAGS-dejagnu \
1222 maybe-TAGS-diff \
1223 maybe-TAGS-dosutils \
1224 maybe-TAGS-etc \
1225 maybe-TAGS-fastjar \
1226 maybe-TAGS-fileutils \
1227 maybe-TAGS-findutils \
1228 maybe-TAGS-find \
1229 maybe-TAGS-fixincludes \
1230 maybe-TAGS-flex \
1231 maybe-TAGS-gas \
1232 maybe-TAGS-gcc \
1233 maybe-TAGS-gawk \
1234 maybe-TAGS-gettext \
1235 maybe-TAGS-gnuserv \
1236 maybe-TAGS-gprof \
1237 maybe-TAGS-gzip \
1238 maybe-TAGS-hello \
1239 maybe-TAGS-indent \
1240 maybe-TAGS-intl \
1241 maybe-TAGS-tcl \
1242 maybe-TAGS-itcl \
1243 maybe-TAGS-ld \
1244 maybe-TAGS-libcpp \
1245 maybe-TAGS-libgui \
1246 maybe-TAGS-libiberty \
1247 maybe-TAGS-libtool \
1248 maybe-TAGS-m4 \
1249 maybe-TAGS-make \
1250 maybe-TAGS-mmalloc \
1251 maybe-TAGS-patch \
1252 maybe-TAGS-perl \
1253 maybe-TAGS-prms \
1254 maybe-TAGS-rcs \
1255 maybe-TAGS-readline \
1256 maybe-TAGS-release \
1257 maybe-TAGS-recode \
1258 maybe-TAGS-sed \
1259 maybe-TAGS-send-pr \
1260 maybe-TAGS-shellutils \
1261 maybe-TAGS-sid \
1262 maybe-TAGS-sim \
1263 maybe-TAGS-tar \
1264 maybe-TAGS-texinfo \
1265 maybe-TAGS-textutils \
1266 maybe-TAGS-time \
1267 maybe-TAGS-uudecode \
1268 maybe-TAGS-wdiff \
1269 maybe-TAGS-zip \
1270 maybe-TAGS-zlib \
1271 maybe-TAGS-gdb \
1272 maybe-TAGS-expect \
1273 maybe-TAGS-guile \
1274 maybe-TAGS-tk \
1275 maybe-TAGS-libtermcap \
1276 maybe-TAGS-utils \
1277 maybe-TAGS-gnattools
1279 .PHONY: TAGS-target
1280 TAGS-target: \
1281 maybe-TAGS-target-libstdc++-v3 \
1282 maybe-TAGS-target-libmudflap \
1283 maybe-TAGS-target-libssp \
1284 maybe-TAGS-target-newlib \
1285 maybe-TAGS-target-libgfortran \
1286 maybe-TAGS-target-libobjc \
1287 maybe-TAGS-target-libtermcap \
1288 maybe-TAGS-target-winsup \
1289 maybe-TAGS-target-libgloss \
1290 maybe-TAGS-target-libiberty \
1291 maybe-TAGS-target-gperf \
1292 maybe-TAGS-target-examples \
1293 maybe-TAGS-target-libffi \
1294 maybe-TAGS-target-libjava \
1295 maybe-TAGS-target-zlib \
1296 maybe-TAGS-target-boehm-gc \
1297 maybe-TAGS-target-qthreads \
1298 maybe-TAGS-target-rda \
1299 maybe-TAGS-target-libada
1301 .PHONY: do-install-info
1302 do-install-info: unstage install-info-host install-info-target stage
1304 .PHONY: install-info-host
1305 install-info-host: \
1306 maybe-install-info-ash \
1307 maybe-install-info-autoconf \
1308 maybe-install-info-automake \
1309 maybe-install-info-bash \
1310 maybe-install-info-bfd \
1311 maybe-install-info-opcodes \
1312 maybe-install-info-binutils \
1313 maybe-install-info-bison \
1314 maybe-install-info-byacc \
1315 maybe-install-info-bzip2 \
1316 maybe-install-info-dejagnu \
1317 maybe-install-info-diff \
1318 maybe-install-info-dosutils \
1319 maybe-install-info-etc \
1320 maybe-install-info-fastjar \
1321 maybe-install-info-fileutils \
1322 maybe-install-info-findutils \
1323 maybe-install-info-find \
1324 maybe-install-info-fixincludes \
1325 maybe-install-info-flex \
1326 maybe-install-info-gas \
1327 maybe-install-info-gcc \
1328 maybe-install-info-gawk \
1329 maybe-install-info-gettext \
1330 maybe-install-info-gnuserv \
1331 maybe-install-info-gprof \
1332 maybe-install-info-gzip \
1333 maybe-install-info-hello \
1334 maybe-install-info-indent \
1335 maybe-install-info-intl \
1336 maybe-install-info-tcl \
1337 maybe-install-info-itcl \
1338 maybe-install-info-ld \
1339 maybe-install-info-libcpp \
1340 maybe-install-info-libgui \
1341 maybe-install-info-libiberty \
1342 maybe-install-info-libtool \
1343 maybe-install-info-m4 \
1344 maybe-install-info-make \
1345 maybe-install-info-mmalloc \
1346 maybe-install-info-patch \
1347 maybe-install-info-perl \
1348 maybe-install-info-prms \
1349 maybe-install-info-rcs \
1350 maybe-install-info-readline \
1351 maybe-install-info-release \
1352 maybe-install-info-recode \
1353 maybe-install-info-sed \
1354 maybe-install-info-send-pr \
1355 maybe-install-info-shellutils \
1356 maybe-install-info-sid \
1357 maybe-install-info-sim \
1358 maybe-install-info-tar \
1359 maybe-install-info-texinfo \
1360 maybe-install-info-textutils \
1361 maybe-install-info-time \
1362 maybe-install-info-uudecode \
1363 maybe-install-info-wdiff \
1364 maybe-install-info-zip \
1365 maybe-install-info-zlib \
1366 maybe-install-info-gdb \
1367 maybe-install-info-expect \
1368 maybe-install-info-guile \
1369 maybe-install-info-tk \
1370 maybe-install-info-libtermcap \
1371 maybe-install-info-utils \
1372 maybe-install-info-gnattools
1374 .PHONY: install-info-target
1375 install-info-target: \
1376 maybe-install-info-target-libstdc++-v3 \
1377 maybe-install-info-target-libmudflap \
1378 maybe-install-info-target-libssp \
1379 maybe-install-info-target-newlib \
1380 maybe-install-info-target-libgfortran \
1381 maybe-install-info-target-libobjc \
1382 maybe-install-info-target-libtermcap \
1383 maybe-install-info-target-winsup \
1384 maybe-install-info-target-libgloss \
1385 maybe-install-info-target-libiberty \
1386 maybe-install-info-target-gperf \
1387 maybe-install-info-target-examples \
1388 maybe-install-info-target-libffi \
1389 maybe-install-info-target-libjava \
1390 maybe-install-info-target-zlib \
1391 maybe-install-info-target-boehm-gc \
1392 maybe-install-info-target-qthreads \
1393 maybe-install-info-target-rda \
1394 maybe-install-info-target-libada
1396 .PHONY: do-installcheck
1397 do-installcheck: unstage installcheck-host installcheck-target stage
1399 .PHONY: installcheck-host
1400 installcheck-host: \
1401 maybe-installcheck-ash \
1402 maybe-installcheck-autoconf \
1403 maybe-installcheck-automake \
1404 maybe-installcheck-bash \
1405 maybe-installcheck-bfd \
1406 maybe-installcheck-opcodes \
1407 maybe-installcheck-binutils \
1408 maybe-installcheck-bison \
1409 maybe-installcheck-byacc \
1410 maybe-installcheck-bzip2 \
1411 maybe-installcheck-dejagnu \
1412 maybe-installcheck-diff \
1413 maybe-installcheck-dosutils \
1414 maybe-installcheck-etc \
1415 maybe-installcheck-fastjar \
1416 maybe-installcheck-fileutils \
1417 maybe-installcheck-findutils \
1418 maybe-installcheck-find \
1419 maybe-installcheck-fixincludes \
1420 maybe-installcheck-flex \
1421 maybe-installcheck-gas \
1422 maybe-installcheck-gcc \
1423 maybe-installcheck-gawk \
1424 maybe-installcheck-gettext \
1425 maybe-installcheck-gnuserv \
1426 maybe-installcheck-gprof \
1427 maybe-installcheck-gzip \
1428 maybe-installcheck-hello \
1429 maybe-installcheck-indent \
1430 maybe-installcheck-intl \
1431 maybe-installcheck-tcl \
1432 maybe-installcheck-itcl \
1433 maybe-installcheck-ld \
1434 maybe-installcheck-libcpp \
1435 maybe-installcheck-libgui \
1436 maybe-installcheck-libiberty \
1437 maybe-installcheck-libtool \
1438 maybe-installcheck-m4 \
1439 maybe-installcheck-make \
1440 maybe-installcheck-mmalloc \
1441 maybe-installcheck-patch \
1442 maybe-installcheck-perl \
1443 maybe-installcheck-prms \
1444 maybe-installcheck-rcs \
1445 maybe-installcheck-readline \
1446 maybe-installcheck-release \
1447 maybe-installcheck-recode \
1448 maybe-installcheck-sed \
1449 maybe-installcheck-send-pr \
1450 maybe-installcheck-shellutils \
1451 maybe-installcheck-sid \
1452 maybe-installcheck-sim \
1453 maybe-installcheck-tar \
1454 maybe-installcheck-texinfo \
1455 maybe-installcheck-textutils \
1456 maybe-installcheck-time \
1457 maybe-installcheck-uudecode \
1458 maybe-installcheck-wdiff \
1459 maybe-installcheck-zip \
1460 maybe-installcheck-zlib \
1461 maybe-installcheck-gdb \
1462 maybe-installcheck-expect \
1463 maybe-installcheck-guile \
1464 maybe-installcheck-tk \
1465 maybe-installcheck-libtermcap \
1466 maybe-installcheck-utils \
1467 maybe-installcheck-gnattools
1469 .PHONY: installcheck-target
1470 installcheck-target: \
1471 maybe-installcheck-target-libstdc++-v3 \
1472 maybe-installcheck-target-libmudflap \
1473 maybe-installcheck-target-libssp \
1474 maybe-installcheck-target-newlib \
1475 maybe-installcheck-target-libgfortran \
1476 maybe-installcheck-target-libobjc \
1477 maybe-installcheck-target-libtermcap \
1478 maybe-installcheck-target-winsup \
1479 maybe-installcheck-target-libgloss \
1480 maybe-installcheck-target-libiberty \
1481 maybe-installcheck-target-gperf \
1482 maybe-installcheck-target-examples \
1483 maybe-installcheck-target-libffi \
1484 maybe-installcheck-target-libjava \
1485 maybe-installcheck-target-zlib \
1486 maybe-installcheck-target-boehm-gc \
1487 maybe-installcheck-target-qthreads \
1488 maybe-installcheck-target-rda \
1489 maybe-installcheck-target-libada
1491 .PHONY: do-mostlyclean
1492 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1494 .PHONY: mostlyclean-host
1495 mostlyclean-host: \
1496 maybe-mostlyclean-ash \
1497 maybe-mostlyclean-autoconf \
1498 maybe-mostlyclean-automake \
1499 maybe-mostlyclean-bash \
1500 maybe-mostlyclean-bfd \
1501 maybe-mostlyclean-opcodes \
1502 maybe-mostlyclean-binutils \
1503 maybe-mostlyclean-bison \
1504 maybe-mostlyclean-byacc \
1505 maybe-mostlyclean-bzip2 \
1506 maybe-mostlyclean-dejagnu \
1507 maybe-mostlyclean-diff \
1508 maybe-mostlyclean-dosutils \
1509 maybe-mostlyclean-etc \
1510 maybe-mostlyclean-fastjar \
1511 maybe-mostlyclean-fileutils \
1512 maybe-mostlyclean-findutils \
1513 maybe-mostlyclean-find \
1514 maybe-mostlyclean-fixincludes \
1515 maybe-mostlyclean-flex \
1516 maybe-mostlyclean-gas \
1517 maybe-mostlyclean-gcc \
1518 maybe-mostlyclean-gawk \
1519 maybe-mostlyclean-gettext \
1520 maybe-mostlyclean-gnuserv \
1521 maybe-mostlyclean-gprof \
1522 maybe-mostlyclean-gzip \
1523 maybe-mostlyclean-hello \
1524 maybe-mostlyclean-indent \
1525 maybe-mostlyclean-intl \
1526 maybe-mostlyclean-tcl \
1527 maybe-mostlyclean-itcl \
1528 maybe-mostlyclean-ld \
1529 maybe-mostlyclean-libcpp \
1530 maybe-mostlyclean-libgui \
1531 maybe-mostlyclean-libiberty \
1532 maybe-mostlyclean-libtool \
1533 maybe-mostlyclean-m4 \
1534 maybe-mostlyclean-make \
1535 maybe-mostlyclean-mmalloc \
1536 maybe-mostlyclean-patch \
1537 maybe-mostlyclean-perl \
1538 maybe-mostlyclean-prms \
1539 maybe-mostlyclean-rcs \
1540 maybe-mostlyclean-readline \
1541 maybe-mostlyclean-release \
1542 maybe-mostlyclean-recode \
1543 maybe-mostlyclean-sed \
1544 maybe-mostlyclean-send-pr \
1545 maybe-mostlyclean-shellutils \
1546 maybe-mostlyclean-sid \
1547 maybe-mostlyclean-sim \
1548 maybe-mostlyclean-tar \
1549 maybe-mostlyclean-texinfo \
1550 maybe-mostlyclean-textutils \
1551 maybe-mostlyclean-time \
1552 maybe-mostlyclean-uudecode \
1553 maybe-mostlyclean-wdiff \
1554 maybe-mostlyclean-zip \
1555 maybe-mostlyclean-zlib \
1556 maybe-mostlyclean-gdb \
1557 maybe-mostlyclean-expect \
1558 maybe-mostlyclean-guile \
1559 maybe-mostlyclean-tk \
1560 maybe-mostlyclean-libtermcap \
1561 maybe-mostlyclean-utils \
1562 maybe-mostlyclean-gnattools
1564 .PHONY: mostlyclean-target
1565 mostlyclean-target: \
1566 maybe-mostlyclean-target-libstdc++-v3 \
1567 maybe-mostlyclean-target-libmudflap \
1568 maybe-mostlyclean-target-libssp \
1569 maybe-mostlyclean-target-newlib \
1570 maybe-mostlyclean-target-libgfortran \
1571 maybe-mostlyclean-target-libobjc \
1572 maybe-mostlyclean-target-libtermcap \
1573 maybe-mostlyclean-target-winsup \
1574 maybe-mostlyclean-target-libgloss \
1575 maybe-mostlyclean-target-libiberty \
1576 maybe-mostlyclean-target-gperf \
1577 maybe-mostlyclean-target-examples \
1578 maybe-mostlyclean-target-libffi \
1579 maybe-mostlyclean-target-libjava \
1580 maybe-mostlyclean-target-zlib \
1581 maybe-mostlyclean-target-boehm-gc \
1582 maybe-mostlyclean-target-qthreads \
1583 maybe-mostlyclean-target-rda \
1584 maybe-mostlyclean-target-libada
1586 .PHONY: do-clean
1587 do-clean: unstage clean-host clean-target stage
1589 .PHONY: clean-host
1590 clean-host: \
1591 maybe-clean-ash \
1592 maybe-clean-autoconf \
1593 maybe-clean-automake \
1594 maybe-clean-bash \
1595 maybe-clean-bfd \
1596 maybe-clean-opcodes \
1597 maybe-clean-binutils \
1598 maybe-clean-bison \
1599 maybe-clean-byacc \
1600 maybe-clean-bzip2 \
1601 maybe-clean-dejagnu \
1602 maybe-clean-diff \
1603 maybe-clean-dosutils \
1604 maybe-clean-etc \
1605 maybe-clean-fastjar \
1606 maybe-clean-fileutils \
1607 maybe-clean-findutils \
1608 maybe-clean-find \
1609 maybe-clean-fixincludes \
1610 maybe-clean-flex \
1611 maybe-clean-gas \
1612 maybe-clean-gcc \
1613 maybe-clean-gawk \
1614 maybe-clean-gettext \
1615 maybe-clean-gnuserv \
1616 maybe-clean-gprof \
1617 maybe-clean-gzip \
1618 maybe-clean-hello \
1619 maybe-clean-indent \
1620 maybe-clean-intl \
1621 maybe-clean-tcl \
1622 maybe-clean-itcl \
1623 maybe-clean-ld \
1624 maybe-clean-libcpp \
1625 maybe-clean-libgui \
1626 maybe-clean-libiberty \
1627 maybe-clean-libtool \
1628 maybe-clean-m4 \
1629 maybe-clean-make \
1630 maybe-clean-mmalloc \
1631 maybe-clean-patch \
1632 maybe-clean-perl \
1633 maybe-clean-prms \
1634 maybe-clean-rcs \
1635 maybe-clean-readline \
1636 maybe-clean-release \
1637 maybe-clean-recode \
1638 maybe-clean-sed \
1639 maybe-clean-send-pr \
1640 maybe-clean-shellutils \
1641 maybe-clean-sid \
1642 maybe-clean-sim \
1643 maybe-clean-tar \
1644 maybe-clean-texinfo \
1645 maybe-clean-textutils \
1646 maybe-clean-time \
1647 maybe-clean-uudecode \
1648 maybe-clean-wdiff \
1649 maybe-clean-zip \
1650 maybe-clean-zlib \
1651 maybe-clean-gdb \
1652 maybe-clean-expect \
1653 maybe-clean-guile \
1654 maybe-clean-tk \
1655 maybe-clean-libtermcap \
1656 maybe-clean-utils \
1657 maybe-clean-gnattools
1659 .PHONY: clean-target
1660 clean-target: \
1661 maybe-clean-target-libstdc++-v3 \
1662 maybe-clean-target-libmudflap \
1663 maybe-clean-target-libssp \
1664 maybe-clean-target-newlib \
1665 maybe-clean-target-libgfortran \
1666 maybe-clean-target-libobjc \
1667 maybe-clean-target-libtermcap \
1668 maybe-clean-target-winsup \
1669 maybe-clean-target-libgloss \
1670 maybe-clean-target-libiberty \
1671 maybe-clean-target-gperf \
1672 maybe-clean-target-examples \
1673 maybe-clean-target-libffi \
1674 maybe-clean-target-libjava \
1675 maybe-clean-target-zlib \
1676 maybe-clean-target-boehm-gc \
1677 maybe-clean-target-qthreads \
1678 maybe-clean-target-rda \
1679 maybe-clean-target-libada
1681 .PHONY: do-distclean
1682 do-distclean: unstage distclean-host distclean-target stage
1684 .PHONY: distclean-host
1685 distclean-host: \
1686 maybe-distclean-ash \
1687 maybe-distclean-autoconf \
1688 maybe-distclean-automake \
1689 maybe-distclean-bash \
1690 maybe-distclean-bfd \
1691 maybe-distclean-opcodes \
1692 maybe-distclean-binutils \
1693 maybe-distclean-bison \
1694 maybe-distclean-byacc \
1695 maybe-distclean-bzip2 \
1696 maybe-distclean-dejagnu \
1697 maybe-distclean-diff \
1698 maybe-distclean-dosutils \
1699 maybe-distclean-etc \
1700 maybe-distclean-fastjar \
1701 maybe-distclean-fileutils \
1702 maybe-distclean-findutils \
1703 maybe-distclean-find \
1704 maybe-distclean-fixincludes \
1705 maybe-distclean-flex \
1706 maybe-distclean-gas \
1707 maybe-distclean-gcc \
1708 maybe-distclean-gawk \
1709 maybe-distclean-gettext \
1710 maybe-distclean-gnuserv \
1711 maybe-distclean-gprof \
1712 maybe-distclean-gzip \
1713 maybe-distclean-hello \
1714 maybe-distclean-indent \
1715 maybe-distclean-intl \
1716 maybe-distclean-tcl \
1717 maybe-distclean-itcl \
1718 maybe-distclean-ld \
1719 maybe-distclean-libcpp \
1720 maybe-distclean-libgui \
1721 maybe-distclean-libiberty \
1722 maybe-distclean-libtool \
1723 maybe-distclean-m4 \
1724 maybe-distclean-make \
1725 maybe-distclean-mmalloc \
1726 maybe-distclean-patch \
1727 maybe-distclean-perl \
1728 maybe-distclean-prms \
1729 maybe-distclean-rcs \
1730 maybe-distclean-readline \
1731 maybe-distclean-release \
1732 maybe-distclean-recode \
1733 maybe-distclean-sed \
1734 maybe-distclean-send-pr \
1735 maybe-distclean-shellutils \
1736 maybe-distclean-sid \
1737 maybe-distclean-sim \
1738 maybe-distclean-tar \
1739 maybe-distclean-texinfo \
1740 maybe-distclean-textutils \
1741 maybe-distclean-time \
1742 maybe-distclean-uudecode \
1743 maybe-distclean-wdiff \
1744 maybe-distclean-zip \
1745 maybe-distclean-zlib \
1746 maybe-distclean-gdb \
1747 maybe-distclean-expect \
1748 maybe-distclean-guile \
1749 maybe-distclean-tk \
1750 maybe-distclean-libtermcap \
1751 maybe-distclean-utils \
1752 maybe-distclean-gnattools
1754 .PHONY: distclean-target
1755 distclean-target: \
1756 maybe-distclean-target-libstdc++-v3 \
1757 maybe-distclean-target-libmudflap \
1758 maybe-distclean-target-libssp \
1759 maybe-distclean-target-newlib \
1760 maybe-distclean-target-libgfortran \
1761 maybe-distclean-target-libobjc \
1762 maybe-distclean-target-libtermcap \
1763 maybe-distclean-target-winsup \
1764 maybe-distclean-target-libgloss \
1765 maybe-distclean-target-libiberty \
1766 maybe-distclean-target-gperf \
1767 maybe-distclean-target-examples \
1768 maybe-distclean-target-libffi \
1769 maybe-distclean-target-libjava \
1770 maybe-distclean-target-zlib \
1771 maybe-distclean-target-boehm-gc \
1772 maybe-distclean-target-qthreads \
1773 maybe-distclean-target-rda \
1774 maybe-distclean-target-libada
1776 .PHONY: do-maintainer-clean
1777 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1779 .PHONY: maintainer-clean-host
1780 maintainer-clean-host: \
1781 maybe-maintainer-clean-ash \
1782 maybe-maintainer-clean-autoconf \
1783 maybe-maintainer-clean-automake \
1784 maybe-maintainer-clean-bash \
1785 maybe-maintainer-clean-bfd \
1786 maybe-maintainer-clean-opcodes \
1787 maybe-maintainer-clean-binutils \
1788 maybe-maintainer-clean-bison \
1789 maybe-maintainer-clean-byacc \
1790 maybe-maintainer-clean-bzip2 \
1791 maybe-maintainer-clean-dejagnu \
1792 maybe-maintainer-clean-diff \
1793 maybe-maintainer-clean-dosutils \
1794 maybe-maintainer-clean-etc \
1795 maybe-maintainer-clean-fastjar \
1796 maybe-maintainer-clean-fileutils \
1797 maybe-maintainer-clean-findutils \
1798 maybe-maintainer-clean-find \
1799 maybe-maintainer-clean-fixincludes \
1800 maybe-maintainer-clean-flex \
1801 maybe-maintainer-clean-gas \
1802 maybe-maintainer-clean-gcc \
1803 maybe-maintainer-clean-gawk \
1804 maybe-maintainer-clean-gettext \
1805 maybe-maintainer-clean-gnuserv \
1806 maybe-maintainer-clean-gprof \
1807 maybe-maintainer-clean-gzip \
1808 maybe-maintainer-clean-hello \
1809 maybe-maintainer-clean-indent \
1810 maybe-maintainer-clean-intl \
1811 maybe-maintainer-clean-tcl \
1812 maybe-maintainer-clean-itcl \
1813 maybe-maintainer-clean-ld \
1814 maybe-maintainer-clean-libcpp \
1815 maybe-maintainer-clean-libgui \
1816 maybe-maintainer-clean-libiberty \
1817 maybe-maintainer-clean-libtool \
1818 maybe-maintainer-clean-m4 \
1819 maybe-maintainer-clean-make \
1820 maybe-maintainer-clean-mmalloc \
1821 maybe-maintainer-clean-patch \
1822 maybe-maintainer-clean-perl \
1823 maybe-maintainer-clean-prms \
1824 maybe-maintainer-clean-rcs \
1825 maybe-maintainer-clean-readline \
1826 maybe-maintainer-clean-release \
1827 maybe-maintainer-clean-recode \
1828 maybe-maintainer-clean-sed \
1829 maybe-maintainer-clean-send-pr \
1830 maybe-maintainer-clean-shellutils \
1831 maybe-maintainer-clean-sid \
1832 maybe-maintainer-clean-sim \
1833 maybe-maintainer-clean-tar \
1834 maybe-maintainer-clean-texinfo \
1835 maybe-maintainer-clean-textutils \
1836 maybe-maintainer-clean-time \
1837 maybe-maintainer-clean-uudecode \
1838 maybe-maintainer-clean-wdiff \
1839 maybe-maintainer-clean-zip \
1840 maybe-maintainer-clean-zlib \
1841 maybe-maintainer-clean-gdb \
1842 maybe-maintainer-clean-expect \
1843 maybe-maintainer-clean-guile \
1844 maybe-maintainer-clean-tk \
1845 maybe-maintainer-clean-libtermcap \
1846 maybe-maintainer-clean-utils \
1847 maybe-maintainer-clean-gnattools
1849 .PHONY: maintainer-clean-target
1850 maintainer-clean-target: \
1851 maybe-maintainer-clean-target-libstdc++-v3 \
1852 maybe-maintainer-clean-target-libmudflap \
1853 maybe-maintainer-clean-target-libssp \
1854 maybe-maintainer-clean-target-newlib \
1855 maybe-maintainer-clean-target-libgfortran \
1856 maybe-maintainer-clean-target-libobjc \
1857 maybe-maintainer-clean-target-libtermcap \
1858 maybe-maintainer-clean-target-winsup \
1859 maybe-maintainer-clean-target-libgloss \
1860 maybe-maintainer-clean-target-libiberty \
1861 maybe-maintainer-clean-target-gperf \
1862 maybe-maintainer-clean-target-examples \
1863 maybe-maintainer-clean-target-libffi \
1864 maybe-maintainer-clean-target-libjava \
1865 maybe-maintainer-clean-target-zlib \
1866 maybe-maintainer-clean-target-boehm-gc \
1867 maybe-maintainer-clean-target-qthreads \
1868 maybe-maintainer-clean-target-rda \
1869 maybe-maintainer-clean-target-libada
1872 # Here are the targets which correspond to the do-X targets.
1874 .PHONY: info installcheck dvi html install-info
1875 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1876 .PHONY: local-clean local-distclean local-maintainer-clean
1877 info: do-info
1878 installcheck: do-installcheck
1879 dvi: do-dvi
1880 html: do-html
1882 # Make sure makeinfo is built before we do a `make info', if we're
1883 # in fact building texinfo.
1884 do-info: maybe-all-texinfo
1886 install-info: do-install-info dir.info
1887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1888 if [ -f dir.info ] ; then \
1889 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1890 else true ; fi
1892 local-clean:
1893 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1895 local-distclean:
1896 -rm -f Makefile config.status config.cache mh-frag mt-frag
1897 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1898 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1899 rm -rf $(TARGET_SUBDIR); \
1900 else true; fi
1901 -rm -rf $(BUILD_SUBDIR)
1902 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1903 rm -rf $(HOST_SUBDIR); \
1904 else true; fi
1905 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1906 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1907 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1908 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1909 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1911 local-maintainer-clean:
1912 @echo "This command is intended for maintainers to use;"
1913 @echo "it deletes files that may require special tools to rebuild."
1915 clean: do-clean local-clean
1916 mostlyclean: do-mostlyclean local-clean
1917 distclean: do-distclean local-clean local-distclean
1918 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1919 maintainer-clean: local-distclean
1920 realclean: maintainer-clean
1922 # Extra dependency for clean-target, owing to the mixed nature of gcc
1923 clean-target: clean-target-libgcc
1924 clean-target-libgcc:
1925 test ! -d gcc/libgcc || \
1926 (cd gcc/libgcc && find . -type d -print) | \
1927 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1928 -rm -rf gcc/libgcc
1929 -rm -f gcc/stmp-dirs
1931 # Check target.
1933 .PHONY: check do-check
1934 check: do-check
1936 # Only include modules actually being configured and built.
1937 do-check: unstage \
1938 maybe-check-ash \
1939 maybe-check-autoconf \
1940 maybe-check-automake \
1941 maybe-check-bash \
1942 maybe-check-bfd \
1943 maybe-check-opcodes \
1944 maybe-check-binutils \
1945 maybe-check-bison \
1946 maybe-check-byacc \
1947 maybe-check-bzip2 \
1948 maybe-check-dejagnu \
1949 maybe-check-diff \
1950 maybe-check-dosutils \
1951 maybe-check-etc \
1952 maybe-check-fastjar \
1953 maybe-check-fileutils \
1954 maybe-check-findutils \
1955 maybe-check-find \
1956 maybe-check-fixincludes \
1957 maybe-check-flex \
1958 maybe-check-gas \
1959 maybe-check-gcc \
1960 maybe-check-gawk \
1961 maybe-check-gettext \
1962 maybe-check-gnuserv \
1963 maybe-check-gprof \
1964 maybe-check-gzip \
1965 maybe-check-hello \
1966 maybe-check-indent \
1967 maybe-check-intl \
1968 maybe-check-tcl \
1969 maybe-check-itcl \
1970 maybe-check-ld \
1971 maybe-check-libcpp \
1972 maybe-check-libgui \
1973 maybe-check-libiberty \
1974 maybe-check-libtool \
1975 maybe-check-m4 \
1976 maybe-check-make \
1977 maybe-check-mmalloc \
1978 maybe-check-patch \
1979 maybe-check-perl \
1980 maybe-check-prms \
1981 maybe-check-rcs \
1982 maybe-check-readline \
1983 maybe-check-release \
1984 maybe-check-recode \
1985 maybe-check-sed \
1986 maybe-check-send-pr \
1987 maybe-check-shellutils \
1988 maybe-check-sid \
1989 maybe-check-sim \
1990 maybe-check-tar \
1991 maybe-check-texinfo \
1992 maybe-check-textutils \
1993 maybe-check-time \
1994 maybe-check-uudecode \
1995 maybe-check-wdiff \
1996 maybe-check-zip \
1997 maybe-check-zlib \
1998 maybe-check-gdb \
1999 maybe-check-expect \
2000 maybe-check-guile \
2001 maybe-check-tk \
2002 maybe-check-libtermcap \
2003 maybe-check-utils \
2004 maybe-check-gnattools \
2005 maybe-check-target-libstdc++-v3 \
2006 maybe-check-target-libmudflap \
2007 maybe-check-target-libssp \
2008 maybe-check-target-newlib \
2009 maybe-check-target-libgfortran \
2010 maybe-check-target-libobjc \
2011 maybe-check-target-libtermcap \
2012 maybe-check-target-winsup \
2013 maybe-check-target-libgloss \
2014 maybe-check-target-libiberty \
2015 maybe-check-target-gperf \
2016 maybe-check-target-examples \
2017 maybe-check-target-libffi \
2018 maybe-check-target-libjava \
2019 maybe-check-target-zlib \
2020 maybe-check-target-boehm-gc \
2021 maybe-check-target-qthreads \
2022 maybe-check-target-rda \
2023 maybe-check-target-libada stage
2025 # Automated reporting of test results.
2027 warning.log: build.log
2028 $(srcdir)/contrib/warn_summary build.log > $@
2030 mail-report.log:
2031 if test x'$(BOOT_CFLAGS)' != x''; then \
2032 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2033 fi; \
2034 $(srcdir)/contrib/test_summary -t >$@
2035 chmod +x $@
2036 echo If you really want to send e-mail, run ./$@ now
2038 mail-report-with-warnings.log: warning.log
2039 if test x'$(BOOT_CFLAGS)' != x''; then \
2040 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2041 fi; \
2042 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2043 chmod +x $@
2044 echo If you really want to send e-mail, run ./$@ now
2046 # Installation targets.
2048 .PHONY: install uninstall
2049 install: installdirs install-host install-target
2051 .PHONY: install-host-nogcc
2052 install-host-nogcc: \
2053 maybe-install-ash \
2054 maybe-install-autoconf \
2055 maybe-install-automake \
2056 maybe-install-bash \
2057 maybe-install-bfd \
2058 maybe-install-opcodes \
2059 maybe-install-binutils \
2060 maybe-install-bison \
2061 maybe-install-byacc \
2062 maybe-install-bzip2 \
2063 maybe-install-dejagnu \
2064 maybe-install-diff \
2065 maybe-install-dosutils \
2066 maybe-install-etc \
2067 maybe-install-fastjar \
2068 maybe-install-fileutils \
2069 maybe-install-findutils \
2070 maybe-install-find \
2071 maybe-install-fixincludes \
2072 maybe-install-flex \
2073 maybe-install-gas \
2074 maybe-install-gawk \
2075 maybe-install-gettext \
2076 maybe-install-gnuserv \
2077 maybe-install-gprof \
2078 maybe-install-gzip \
2079 maybe-install-hello \
2080 maybe-install-indent \
2081 maybe-install-intl \
2082 maybe-install-tcl \
2083 maybe-install-itcl \
2084 maybe-install-ld \
2085 maybe-install-libcpp \
2086 maybe-install-libgui \
2087 maybe-install-libiberty \
2088 maybe-install-libtool \
2089 maybe-install-m4 \
2090 maybe-install-make \
2091 maybe-install-mmalloc \
2092 maybe-install-patch \
2093 maybe-install-perl \
2094 maybe-install-prms \
2095 maybe-install-rcs \
2096 maybe-install-readline \
2097 maybe-install-release \
2098 maybe-install-recode \
2099 maybe-install-sed \
2100 maybe-install-send-pr \
2101 maybe-install-shellutils \
2102 maybe-install-sid \
2103 maybe-install-sim \
2104 maybe-install-tar \
2105 maybe-install-texinfo \
2106 maybe-install-textutils \
2107 maybe-install-time \
2108 maybe-install-uudecode \
2109 maybe-install-wdiff \
2110 maybe-install-zip \
2111 maybe-install-zlib \
2112 maybe-install-gdb \
2113 maybe-install-expect \
2114 maybe-install-guile \
2115 maybe-install-tk \
2116 maybe-install-libtermcap \
2117 maybe-install-utils \
2118 maybe-install-gnattools
2120 .PHONY: install-host
2121 install-host: \
2122 maybe-install-ash \
2123 maybe-install-autoconf \
2124 maybe-install-automake \
2125 maybe-install-bash \
2126 maybe-install-bfd \
2127 maybe-install-opcodes \
2128 maybe-install-binutils \
2129 maybe-install-bison \
2130 maybe-install-byacc \
2131 maybe-install-bzip2 \
2132 maybe-install-dejagnu \
2133 maybe-install-diff \
2134 maybe-install-dosutils \
2135 maybe-install-etc \
2136 maybe-install-fastjar \
2137 maybe-install-fileutils \
2138 maybe-install-findutils \
2139 maybe-install-find \
2140 maybe-install-fixincludes \
2141 maybe-install-flex \
2142 maybe-install-gas \
2143 maybe-install-gcc \
2144 maybe-install-gawk \
2145 maybe-install-gettext \
2146 maybe-install-gnuserv \
2147 maybe-install-gprof \
2148 maybe-install-gzip \
2149 maybe-install-hello \
2150 maybe-install-indent \
2151 maybe-install-intl \
2152 maybe-install-tcl \
2153 maybe-install-itcl \
2154 maybe-install-ld \
2155 maybe-install-libcpp \
2156 maybe-install-libgui \
2157 maybe-install-libiberty \
2158 maybe-install-libtool \
2159 maybe-install-m4 \
2160 maybe-install-make \
2161 maybe-install-mmalloc \
2162 maybe-install-patch \
2163 maybe-install-perl \
2164 maybe-install-prms \
2165 maybe-install-rcs \
2166 maybe-install-readline \
2167 maybe-install-release \
2168 maybe-install-recode \
2169 maybe-install-sed \
2170 maybe-install-send-pr \
2171 maybe-install-shellutils \
2172 maybe-install-sid \
2173 maybe-install-sim \
2174 maybe-install-tar \
2175 maybe-install-texinfo \
2176 maybe-install-textutils \
2177 maybe-install-time \
2178 maybe-install-uudecode \
2179 maybe-install-wdiff \
2180 maybe-install-zip \
2181 maybe-install-zlib \
2182 maybe-install-gdb \
2183 maybe-install-expect \
2184 maybe-install-guile \
2185 maybe-install-tk \
2186 maybe-install-libtermcap \
2187 maybe-install-utils \
2188 maybe-install-gnattools
2190 .PHONY: install-target
2191 install-target: \
2192 maybe-install-target-libstdc++-v3 \
2193 maybe-install-target-libmudflap \
2194 maybe-install-target-libssp \
2195 maybe-install-target-newlib \
2196 maybe-install-target-libgfortran \
2197 maybe-install-target-libobjc \
2198 maybe-install-target-libtermcap \
2199 maybe-install-target-winsup \
2200 maybe-install-target-libgloss \
2201 maybe-install-target-libiberty \
2202 maybe-install-target-gperf \
2203 maybe-install-target-examples \
2204 maybe-install-target-libffi \
2205 maybe-install-target-libjava \
2206 maybe-install-target-zlib \
2207 maybe-install-target-boehm-gc \
2208 maybe-install-target-qthreads \
2209 maybe-install-target-rda \
2210 maybe-install-target-libada
2212 uninstall:
2213 @echo "the uninstall target is not supported in this tree"
2215 .PHONY: install.all
2216 install.all: install-no-fixedincludes
2217 @if [ -f ./gcc/Makefile ] ; then \
2218 r=`${PWD_COMMAND}` ; export r ; \
2219 $(HOST_EXPORTS) \
2220 (cd ./gcc && \
2221 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2222 else \
2223 true ; \
2226 # install-no-fixedincludes is used because Cygnus can not distribute
2227 # the fixed header files.
2228 .PHONY: install-no-fixedincludes
2229 install-no-fixedincludes: installdirs install-host-nogcc \
2230 install-target gcc-no-fixedincludes
2232 ### other supporting targets
2234 MAKEDIRS= \
2235 $(DESTDIR)$(prefix) \
2236 $(DESTDIR)$(exec_prefix)
2237 .PHONY: installdirs
2238 installdirs: mkinstalldirs
2239 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2241 dir.info: do-install-info
2242 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2243 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2244 mv -f dir.info.new dir.info ; \
2245 else true ; \
2248 dist:
2249 @echo "Building a full distribution of this tree isn't done"
2250 @echo "via 'make dist'. Check out the etc/ subdirectory"
2252 etags tags: TAGS
2254 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2255 # ability to use several tags files at once, so there is probably no need
2256 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2257 # (if we felt like it) have this Makefile write a piece of elisp which
2258 # the user could load to tell emacs19 where all the TAGS files we just
2259 # built are.
2260 TAGS: do-TAGS
2262 # ------------------------------------
2263 # Macros for configure and all targets
2264 # ------------------------------------
2270 # --------------------------------------
2271 # Modules which run on the build machine
2272 # --------------------------------------
2275 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2276 maybe-configure-build-libiberty:
2277 @if build-libiberty
2278 maybe-configure-build-libiberty: configure-build-libiberty
2279 configure-build-libiberty:
2280 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2281 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2282 r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(BUILD_EXPORTS) \
2285 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2286 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2287 case $(srcdir) in \
2288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2289 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2291 esac; \
2292 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2293 libsrcdir="$$s/libiberty"; \
2294 rm -f no-such-file || : ; \
2295 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2296 $(BUILD_CONFIGARGS) $${srcdiroption} \
2297 || exit 1
2298 @endif build-libiberty
2304 .PHONY: all-build-libiberty maybe-all-build-libiberty
2305 maybe-all-build-libiberty:
2306 @if build-libiberty
2307 TARGET-build-libiberty=all
2308 maybe-all-build-libiberty: all-build-libiberty
2309 all-build-libiberty: configure-build-libiberty
2310 @r=`${PWD_COMMAND}`; export r; \
2311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2312 $(BUILD_EXPORTS) \
2313 (cd $(BUILD_SUBDIR)/libiberty && \
2314 $(MAKE) $(TARGET-build-libiberty))
2315 @endif build-libiberty
2321 .PHONY: configure-build-bison maybe-configure-build-bison
2322 maybe-configure-build-bison:
2323 @if build-bison
2324 maybe-configure-build-bison: configure-build-bison
2325 configure-build-bison:
2326 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2327 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2328 r=`${PWD_COMMAND}`; export r; \
2329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 $(BUILD_EXPORTS) \
2331 echo Configuring in $(BUILD_SUBDIR)/bison; \
2332 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2333 case $(srcdir) in \
2334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2335 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2337 esac; \
2338 srcdiroption="--srcdir=$${topdir}/bison"; \
2339 libsrcdir="$$s/bison"; \
2340 rm -f no-such-file || : ; \
2341 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2342 $(BUILD_CONFIGARGS) $${srcdiroption} \
2343 || exit 1
2344 @endif build-bison
2350 .PHONY: all-build-bison maybe-all-build-bison
2351 maybe-all-build-bison:
2352 @if build-bison
2353 TARGET-build-bison=all
2354 maybe-all-build-bison: all-build-bison
2355 all-build-bison: configure-build-bison
2356 @r=`${PWD_COMMAND}`; export r; \
2357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2358 $(BUILD_EXPORTS) \
2359 (cd $(BUILD_SUBDIR)/bison && \
2360 $(MAKE) $(TARGET-build-bison))
2361 @endif build-bison
2367 .PHONY: configure-build-byacc maybe-configure-build-byacc
2368 maybe-configure-build-byacc:
2369 @if build-byacc
2370 maybe-configure-build-byacc: configure-build-byacc
2371 configure-build-byacc:
2372 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2373 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2374 r=`${PWD_COMMAND}`; export r; \
2375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 $(BUILD_EXPORTS) \
2377 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2378 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2379 case $(srcdir) in \
2380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2381 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2383 esac; \
2384 srcdiroption="--srcdir=$${topdir}/byacc"; \
2385 libsrcdir="$$s/byacc"; \
2386 rm -f no-such-file || : ; \
2387 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2388 $(BUILD_CONFIGARGS) $${srcdiroption} \
2389 || exit 1
2390 @endif build-byacc
2396 .PHONY: all-build-byacc maybe-all-build-byacc
2397 maybe-all-build-byacc:
2398 @if build-byacc
2399 TARGET-build-byacc=all
2400 maybe-all-build-byacc: all-build-byacc
2401 all-build-byacc: configure-build-byacc
2402 @r=`${PWD_COMMAND}`; export r; \
2403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2404 $(BUILD_EXPORTS) \
2405 (cd $(BUILD_SUBDIR)/byacc && \
2406 $(MAKE) $(TARGET-build-byacc))
2407 @endif build-byacc
2413 .PHONY: configure-build-flex maybe-configure-build-flex
2414 maybe-configure-build-flex:
2415 @if build-flex
2416 maybe-configure-build-flex: configure-build-flex
2417 configure-build-flex:
2418 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2419 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2420 r=`${PWD_COMMAND}`; export r; \
2421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 $(BUILD_EXPORTS) \
2423 echo Configuring in $(BUILD_SUBDIR)/flex; \
2424 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2425 case $(srcdir) in \
2426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2427 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2429 esac; \
2430 srcdiroption="--srcdir=$${topdir}/flex"; \
2431 libsrcdir="$$s/flex"; \
2432 rm -f no-such-file || : ; \
2433 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2434 $(BUILD_CONFIGARGS) $${srcdiroption} \
2435 || exit 1
2436 @endif build-flex
2442 .PHONY: all-build-flex maybe-all-build-flex
2443 maybe-all-build-flex:
2444 @if build-flex
2445 TARGET-build-flex=all
2446 maybe-all-build-flex: all-build-flex
2447 all-build-flex: configure-build-flex
2448 @r=`${PWD_COMMAND}`; export r; \
2449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 $(BUILD_EXPORTS) \
2451 (cd $(BUILD_SUBDIR)/flex && \
2452 $(MAKE) $(TARGET-build-flex))
2453 @endif build-flex
2459 .PHONY: configure-build-m4 maybe-configure-build-m4
2460 maybe-configure-build-m4:
2461 @if build-m4
2462 maybe-configure-build-m4: configure-build-m4
2463 configure-build-m4:
2464 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2466 r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2468 $(BUILD_EXPORTS) \
2469 echo Configuring in $(BUILD_SUBDIR)/m4; \
2470 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2471 case $(srcdir) in \
2472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2473 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2475 esac; \
2476 srcdiroption="--srcdir=$${topdir}/m4"; \
2477 libsrcdir="$$s/m4"; \
2478 rm -f no-such-file || : ; \
2479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2480 $(BUILD_CONFIGARGS) $${srcdiroption} \
2481 || exit 1
2482 @endif build-m4
2488 .PHONY: all-build-m4 maybe-all-build-m4
2489 maybe-all-build-m4:
2490 @if build-m4
2491 TARGET-build-m4=all
2492 maybe-all-build-m4: all-build-m4
2493 all-build-m4: configure-build-m4
2494 @r=`${PWD_COMMAND}`; export r; \
2495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2496 $(BUILD_EXPORTS) \
2497 (cd $(BUILD_SUBDIR)/m4 && \
2498 $(MAKE) $(TARGET-build-m4))
2499 @endif build-m4
2505 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2506 maybe-configure-build-texinfo:
2507 @if build-texinfo
2508 maybe-configure-build-texinfo: configure-build-texinfo
2509 configure-build-texinfo:
2510 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2511 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2512 r=`${PWD_COMMAND}`; export r; \
2513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2514 $(BUILD_EXPORTS) \
2515 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2516 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2517 case $(srcdir) in \
2518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2519 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2521 esac; \
2522 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2523 libsrcdir="$$s/texinfo"; \
2524 rm -f no-such-file || : ; \
2525 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2526 $(BUILD_CONFIGARGS) $${srcdiroption} \
2527 || exit 1
2528 @endif build-texinfo
2534 .PHONY: all-build-texinfo maybe-all-build-texinfo
2535 maybe-all-build-texinfo:
2536 @if build-texinfo
2537 TARGET-build-texinfo=all
2538 maybe-all-build-texinfo: all-build-texinfo
2539 all-build-texinfo: configure-build-texinfo
2540 @r=`${PWD_COMMAND}`; export r; \
2541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2542 $(BUILD_EXPORTS) \
2543 (cd $(BUILD_SUBDIR)/texinfo && \
2544 $(MAKE) $(TARGET-build-texinfo))
2545 @endif build-texinfo
2551 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2552 maybe-configure-build-fixincludes:
2553 @if build-fixincludes
2554 maybe-configure-build-fixincludes: configure-build-fixincludes
2555 configure-build-fixincludes:
2556 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2557 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2558 r=`${PWD_COMMAND}`; export r; \
2559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2560 $(BUILD_EXPORTS) \
2561 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2562 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2563 case $(srcdir) in \
2564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2565 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2567 esac; \
2568 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2569 libsrcdir="$$s/fixincludes"; \
2570 rm -f no-such-file || : ; \
2571 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2572 $(BUILD_CONFIGARGS) $${srcdiroption} \
2573 || exit 1
2574 @endif build-fixincludes
2580 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2581 maybe-all-build-fixincludes:
2582 @if build-fixincludes
2583 TARGET-build-fixincludes=all
2584 maybe-all-build-fixincludes: all-build-fixincludes
2585 all-build-fixincludes: configure-build-fixincludes
2586 @r=`${PWD_COMMAND}`; export r; \
2587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2588 $(BUILD_EXPORTS) \
2589 (cd $(BUILD_SUBDIR)/fixincludes && \
2590 $(MAKE) $(TARGET-build-fixincludes))
2591 @endif build-fixincludes
2597 # --------------------------------------
2598 # Modules which run on the host machine
2599 # --------------------------------------
2602 .PHONY: configure-ash maybe-configure-ash
2603 maybe-configure-ash:
2604 @if ash
2605 maybe-configure-ash: configure-ash
2606 configure-ash:
2607 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2609 r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2611 $(HOST_EXPORTS) \
2612 echo Configuring in $(HOST_SUBDIR)/ash; \
2613 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2614 case $(srcdir) in \
2615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2616 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2618 esac; \
2619 srcdiroption="--srcdir=$${topdir}/ash"; \
2620 libsrcdir="$$s/ash"; \
2621 $(SHELL) $${libsrcdir}/configure \
2622 $(HOST_CONFIGARGS) $${srcdiroption} \
2623 || exit 1
2624 @endif ash
2630 .PHONY: all-ash maybe-all-ash
2631 maybe-all-ash:
2632 @if ash
2633 TARGET-ash=all
2634 maybe-all-ash: all-ash
2635 all-ash: configure-ash
2636 @r=`${PWD_COMMAND}`; export r; \
2637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2638 $(HOST_EXPORTS) \
2639 (cd $(HOST_SUBDIR)/ash && \
2640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2641 @endif ash
2646 .PHONY: check-ash maybe-check-ash
2647 maybe-check-ash:
2648 @if ash
2649 maybe-check-ash: check-ash
2651 check-ash:
2652 @r=`${PWD_COMMAND}`; export r; \
2653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2654 $(HOST_EXPORTS) \
2655 (cd $(HOST_SUBDIR)/ash && \
2656 $(MAKE) $(FLAGS_TO_PASS) check)
2658 @endif ash
2660 .PHONY: install-ash maybe-install-ash
2661 maybe-install-ash:
2662 @if ash
2663 maybe-install-ash: install-ash
2665 install-ash: installdirs
2666 @r=`${PWD_COMMAND}`; export r; \
2667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2668 $(HOST_EXPORTS) \
2669 (cd $(HOST_SUBDIR)/ash && \
2670 $(MAKE) $(FLAGS_TO_PASS) install)
2672 @endif ash
2674 # Other targets (info, dvi, etc.)
2676 .PHONY: maybe-info-ash info-ash
2677 maybe-info-ash:
2678 @if ash
2679 maybe-info-ash: info-ash
2681 info-ash: \
2682 configure-ash
2683 @[ -f ./ash/Makefile ] || exit 0; \
2684 r=`${PWD_COMMAND}`; export r; \
2685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2686 $(HOST_EXPORTS) \
2687 for flag in $(EXTRA_HOST_FLAGS) ; do \
2688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2689 done; \
2690 echo "Doing info in ash" ; \
2691 (cd $(HOST_SUBDIR)/ash && \
2692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2694 "RANLIB=$${RANLIB}" \
2695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2696 info) \
2697 || exit 1
2699 @endif ash
2701 .PHONY: maybe-dvi-ash dvi-ash
2702 maybe-dvi-ash:
2703 @if ash
2704 maybe-dvi-ash: dvi-ash
2706 dvi-ash: \
2707 configure-ash
2708 @[ -f ./ash/Makefile ] || exit 0; \
2709 r=`${PWD_COMMAND}`; export r; \
2710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2711 $(HOST_EXPORTS) \
2712 for flag in $(EXTRA_HOST_FLAGS) ; do \
2713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2714 done; \
2715 echo "Doing dvi in ash" ; \
2716 (cd $(HOST_SUBDIR)/ash && \
2717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2719 "RANLIB=$${RANLIB}" \
2720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2721 dvi) \
2722 || exit 1
2724 @endif ash
2726 .PHONY: maybe-html-ash html-ash
2727 maybe-html-ash:
2728 @if ash
2729 maybe-html-ash: html-ash
2731 html-ash: \
2732 configure-ash
2733 @[ -f ./ash/Makefile ] || exit 0; \
2734 r=`${PWD_COMMAND}`; export r; \
2735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2736 $(HOST_EXPORTS) \
2737 for flag in $(EXTRA_HOST_FLAGS) ; do \
2738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2739 done; \
2740 echo "Doing html in ash" ; \
2741 (cd $(HOST_SUBDIR)/ash && \
2742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2744 "RANLIB=$${RANLIB}" \
2745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2746 html) \
2747 || exit 1
2749 @endif ash
2751 .PHONY: maybe-TAGS-ash TAGS-ash
2752 maybe-TAGS-ash:
2753 @if ash
2754 maybe-TAGS-ash: TAGS-ash
2756 TAGS-ash: \
2757 configure-ash
2758 @[ -f ./ash/Makefile ] || exit 0; \
2759 r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 $(HOST_EXPORTS) \
2762 for flag in $(EXTRA_HOST_FLAGS) ; do \
2763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764 done; \
2765 echo "Doing TAGS in ash" ; \
2766 (cd $(HOST_SUBDIR)/ash && \
2767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2769 "RANLIB=$${RANLIB}" \
2770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2771 TAGS) \
2772 || exit 1
2774 @endif ash
2776 .PHONY: maybe-install-info-ash install-info-ash
2777 maybe-install-info-ash:
2778 @if ash
2779 maybe-install-info-ash: install-info-ash
2781 install-info-ash: \
2782 configure-ash \
2783 info-ash
2784 @[ -f ./ash/Makefile ] || exit 0; \
2785 r=`${PWD_COMMAND}`; export r; \
2786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 $(HOST_EXPORTS) \
2788 for flag in $(EXTRA_HOST_FLAGS) ; do \
2789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2790 done; \
2791 echo "Doing install-info in ash" ; \
2792 (cd $(HOST_SUBDIR)/ash && \
2793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2795 "RANLIB=$${RANLIB}" \
2796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2797 install-info) \
2798 || exit 1
2800 @endif ash
2802 .PHONY: maybe-installcheck-ash installcheck-ash
2803 maybe-installcheck-ash:
2804 @if ash
2805 maybe-installcheck-ash: installcheck-ash
2807 installcheck-ash: \
2808 configure-ash
2809 @[ -f ./ash/Makefile ] || exit 0; \
2810 r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2812 $(HOST_EXPORTS) \
2813 for flag in $(EXTRA_HOST_FLAGS) ; do \
2814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2815 done; \
2816 echo "Doing installcheck in ash" ; \
2817 (cd $(HOST_SUBDIR)/ash && \
2818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2820 "RANLIB=$${RANLIB}" \
2821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2822 installcheck) \
2823 || exit 1
2825 @endif ash
2827 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2828 maybe-mostlyclean-ash:
2829 @if ash
2830 maybe-mostlyclean-ash: mostlyclean-ash
2832 mostlyclean-ash:
2833 @[ -f ./ash/Makefile ] || exit 0; \
2834 r=`${PWD_COMMAND}`; export r; \
2835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2836 $(HOST_EXPORTS) \
2837 for flag in $(EXTRA_HOST_FLAGS) ; do \
2838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2839 done; \
2840 echo "Doing mostlyclean in ash" ; \
2841 (cd $(HOST_SUBDIR)/ash && \
2842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2844 "RANLIB=$${RANLIB}" \
2845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2846 mostlyclean) \
2847 || exit 1
2849 @endif ash
2851 .PHONY: maybe-clean-ash clean-ash
2852 maybe-clean-ash:
2853 @if ash
2854 maybe-clean-ash: clean-ash
2856 clean-ash:
2857 @[ -f ./ash/Makefile ] || exit 0; \
2858 r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860 $(HOST_EXPORTS) \
2861 for flag in $(EXTRA_HOST_FLAGS) ; do \
2862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2863 done; \
2864 echo "Doing clean in ash" ; \
2865 (cd $(HOST_SUBDIR)/ash && \
2866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2868 "RANLIB=$${RANLIB}" \
2869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2870 clean) \
2871 || exit 1
2873 @endif ash
2875 .PHONY: maybe-distclean-ash distclean-ash
2876 maybe-distclean-ash:
2877 @if ash
2878 maybe-distclean-ash: distclean-ash
2880 distclean-ash:
2881 @[ -f ./ash/Makefile ] || exit 0; \
2882 r=`${PWD_COMMAND}`; export r; \
2883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2884 $(HOST_EXPORTS) \
2885 for flag in $(EXTRA_HOST_FLAGS) ; do \
2886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2887 done; \
2888 echo "Doing distclean in ash" ; \
2889 (cd $(HOST_SUBDIR)/ash && \
2890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2892 "RANLIB=$${RANLIB}" \
2893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2894 distclean) \
2895 || exit 1
2897 @endif ash
2899 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2900 maybe-maintainer-clean-ash:
2901 @if ash
2902 maybe-maintainer-clean-ash: maintainer-clean-ash
2904 maintainer-clean-ash:
2905 @[ -f ./ash/Makefile ] || exit 0; \
2906 r=`${PWD_COMMAND}`; export r; \
2907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 $(HOST_EXPORTS) \
2909 for flag in $(EXTRA_HOST_FLAGS) ; do \
2910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2911 done; \
2912 echo "Doing maintainer-clean in ash" ; \
2913 (cd $(HOST_SUBDIR)/ash && \
2914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2916 "RANLIB=$${RANLIB}" \
2917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2918 maintainer-clean) \
2919 || exit 1
2921 @endif ash
2925 .PHONY: configure-autoconf maybe-configure-autoconf
2926 maybe-configure-autoconf:
2927 @if autoconf
2928 maybe-configure-autoconf: configure-autoconf
2929 configure-autoconf:
2930 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2932 r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2936 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2937 case $(srcdir) in \
2938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2939 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2941 esac; \
2942 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2943 libsrcdir="$$s/autoconf"; \
2944 $(SHELL) $${libsrcdir}/configure \
2945 $(HOST_CONFIGARGS) $${srcdiroption} \
2946 || exit 1
2947 @endif autoconf
2953 .PHONY: all-autoconf maybe-all-autoconf
2954 maybe-all-autoconf:
2955 @if autoconf
2956 TARGET-autoconf=all
2957 maybe-all-autoconf: all-autoconf
2958 all-autoconf: configure-autoconf
2959 @r=`${PWD_COMMAND}`; export r; \
2960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2961 $(HOST_EXPORTS) \
2962 (cd $(HOST_SUBDIR)/autoconf && \
2963 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2964 @endif autoconf
2969 .PHONY: check-autoconf maybe-check-autoconf
2970 maybe-check-autoconf:
2971 @if autoconf
2972 maybe-check-autoconf: check-autoconf
2974 check-autoconf:
2975 @r=`${PWD_COMMAND}`; export r; \
2976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2977 $(HOST_EXPORTS) \
2978 (cd $(HOST_SUBDIR)/autoconf && \
2979 $(MAKE) $(FLAGS_TO_PASS) check)
2981 @endif autoconf
2983 .PHONY: install-autoconf maybe-install-autoconf
2984 maybe-install-autoconf:
2985 @if autoconf
2986 maybe-install-autoconf: install-autoconf
2988 install-autoconf: installdirs
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2991 $(HOST_EXPORTS) \
2992 (cd $(HOST_SUBDIR)/autoconf && \
2993 $(MAKE) $(FLAGS_TO_PASS) install)
2995 @endif autoconf
2997 # Other targets (info, dvi, etc.)
2999 .PHONY: maybe-info-autoconf info-autoconf
3000 maybe-info-autoconf:
3001 @if autoconf
3002 maybe-info-autoconf: info-autoconf
3004 info-autoconf: \
3005 configure-autoconf
3006 @[ -f ./autoconf/Makefile ] || exit 0; \
3007 r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 $(HOST_EXPORTS) \
3010 for flag in $(EXTRA_HOST_FLAGS) ; do \
3011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3012 done; \
3013 echo "Doing info in autoconf" ; \
3014 (cd $(HOST_SUBDIR)/autoconf && \
3015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3017 "RANLIB=$${RANLIB}" \
3018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3019 info) \
3020 || exit 1
3022 @endif autoconf
3024 .PHONY: maybe-dvi-autoconf dvi-autoconf
3025 maybe-dvi-autoconf:
3026 @if autoconf
3027 maybe-dvi-autoconf: dvi-autoconf
3029 dvi-autoconf: \
3030 configure-autoconf
3031 @[ -f ./autoconf/Makefile ] || exit 0; \
3032 r=`${PWD_COMMAND}`; export r; \
3033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3034 $(HOST_EXPORTS) \
3035 for flag in $(EXTRA_HOST_FLAGS) ; do \
3036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3037 done; \
3038 echo "Doing dvi in autoconf" ; \
3039 (cd $(HOST_SUBDIR)/autoconf && \
3040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3042 "RANLIB=$${RANLIB}" \
3043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3044 dvi) \
3045 || exit 1
3047 @endif autoconf
3049 .PHONY: maybe-html-autoconf html-autoconf
3050 maybe-html-autoconf:
3051 @if autoconf
3052 maybe-html-autoconf: html-autoconf
3054 html-autoconf: \
3055 configure-autoconf
3056 @[ -f ./autoconf/Makefile ] || exit 0; \
3057 r=`${PWD_COMMAND}`; export r; \
3058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3059 $(HOST_EXPORTS) \
3060 for flag in $(EXTRA_HOST_FLAGS) ; do \
3061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3062 done; \
3063 echo "Doing html in autoconf" ; \
3064 (cd $(HOST_SUBDIR)/autoconf && \
3065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3067 "RANLIB=$${RANLIB}" \
3068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3069 html) \
3070 || exit 1
3072 @endif autoconf
3074 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3075 maybe-TAGS-autoconf:
3076 @if autoconf
3077 maybe-TAGS-autoconf: TAGS-autoconf
3079 TAGS-autoconf: \
3080 configure-autoconf
3081 @[ -f ./autoconf/Makefile ] || exit 0; \
3082 r=`${PWD_COMMAND}`; export r; \
3083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3084 $(HOST_EXPORTS) \
3085 for flag in $(EXTRA_HOST_FLAGS) ; do \
3086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3087 done; \
3088 echo "Doing TAGS in autoconf" ; \
3089 (cd $(HOST_SUBDIR)/autoconf && \
3090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3092 "RANLIB=$${RANLIB}" \
3093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3094 TAGS) \
3095 || exit 1
3097 @endif autoconf
3099 .PHONY: maybe-install-info-autoconf install-info-autoconf
3100 maybe-install-info-autoconf:
3101 @if autoconf
3102 maybe-install-info-autoconf: install-info-autoconf
3104 install-info-autoconf: \
3105 configure-autoconf \
3106 info-autoconf
3107 @[ -f ./autoconf/Makefile ] || exit 0; \
3108 r=`${PWD_COMMAND}`; export r; \
3109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3110 $(HOST_EXPORTS) \
3111 for flag in $(EXTRA_HOST_FLAGS) ; do \
3112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3113 done; \
3114 echo "Doing install-info in autoconf" ; \
3115 (cd $(HOST_SUBDIR)/autoconf && \
3116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3118 "RANLIB=$${RANLIB}" \
3119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3120 install-info) \
3121 || exit 1
3123 @endif autoconf
3125 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3126 maybe-installcheck-autoconf:
3127 @if autoconf
3128 maybe-installcheck-autoconf: installcheck-autoconf
3130 installcheck-autoconf: \
3131 configure-autoconf
3132 @[ -f ./autoconf/Makefile ] || exit 0; \
3133 r=`${PWD_COMMAND}`; export r; \
3134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3135 $(HOST_EXPORTS) \
3136 for flag in $(EXTRA_HOST_FLAGS) ; do \
3137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3138 done; \
3139 echo "Doing installcheck in autoconf" ; \
3140 (cd $(HOST_SUBDIR)/autoconf && \
3141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3143 "RANLIB=$${RANLIB}" \
3144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3145 installcheck) \
3146 || exit 1
3148 @endif autoconf
3150 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3151 maybe-mostlyclean-autoconf:
3152 @if autoconf
3153 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3155 mostlyclean-autoconf:
3156 @[ -f ./autoconf/Makefile ] || exit 0; \
3157 r=`${PWD_COMMAND}`; export r; \
3158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3159 $(HOST_EXPORTS) \
3160 for flag in $(EXTRA_HOST_FLAGS) ; do \
3161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3162 done; \
3163 echo "Doing mostlyclean in autoconf" ; \
3164 (cd $(HOST_SUBDIR)/autoconf && \
3165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3167 "RANLIB=$${RANLIB}" \
3168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3169 mostlyclean) \
3170 || exit 1
3172 @endif autoconf
3174 .PHONY: maybe-clean-autoconf clean-autoconf
3175 maybe-clean-autoconf:
3176 @if autoconf
3177 maybe-clean-autoconf: clean-autoconf
3179 clean-autoconf:
3180 @[ -f ./autoconf/Makefile ] || exit 0; \
3181 r=`${PWD_COMMAND}`; export r; \
3182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 $(HOST_EXPORTS) \
3184 for flag in $(EXTRA_HOST_FLAGS) ; do \
3185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3186 done; \
3187 echo "Doing clean in autoconf" ; \
3188 (cd $(HOST_SUBDIR)/autoconf && \
3189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3191 "RANLIB=$${RANLIB}" \
3192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3193 clean) \
3194 || exit 1
3196 @endif autoconf
3198 .PHONY: maybe-distclean-autoconf distclean-autoconf
3199 maybe-distclean-autoconf:
3200 @if autoconf
3201 maybe-distclean-autoconf: distclean-autoconf
3203 distclean-autoconf:
3204 @[ -f ./autoconf/Makefile ] || exit 0; \
3205 r=`${PWD_COMMAND}`; export r; \
3206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3207 $(HOST_EXPORTS) \
3208 for flag in $(EXTRA_HOST_FLAGS) ; do \
3209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 done; \
3211 echo "Doing distclean in autoconf" ; \
3212 (cd $(HOST_SUBDIR)/autoconf && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3215 "RANLIB=$${RANLIB}" \
3216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3217 distclean) \
3218 || exit 1
3220 @endif autoconf
3222 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3223 maybe-maintainer-clean-autoconf:
3224 @if autoconf
3225 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3227 maintainer-clean-autoconf:
3228 @[ -f ./autoconf/Makefile ] || exit 0; \
3229 r=`${PWD_COMMAND}`; export r; \
3230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3231 $(HOST_EXPORTS) \
3232 for flag in $(EXTRA_HOST_FLAGS) ; do \
3233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3234 done; \
3235 echo "Doing maintainer-clean in autoconf" ; \
3236 (cd $(HOST_SUBDIR)/autoconf && \
3237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3239 "RANLIB=$${RANLIB}" \
3240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3241 maintainer-clean) \
3242 || exit 1
3244 @endif autoconf
3248 .PHONY: configure-automake maybe-configure-automake
3249 maybe-configure-automake:
3250 @if automake
3251 maybe-configure-automake: configure-automake
3252 configure-automake:
3253 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3255 r=`${PWD_COMMAND}`; export r; \
3256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3257 $(HOST_EXPORTS) \
3258 echo Configuring in $(HOST_SUBDIR)/automake; \
3259 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3260 case $(srcdir) in \
3261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3262 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3264 esac; \
3265 srcdiroption="--srcdir=$${topdir}/automake"; \
3266 libsrcdir="$$s/automake"; \
3267 $(SHELL) $${libsrcdir}/configure \
3268 $(HOST_CONFIGARGS) $${srcdiroption} \
3269 || exit 1
3270 @endif automake
3276 .PHONY: all-automake maybe-all-automake
3277 maybe-all-automake:
3278 @if automake
3279 TARGET-automake=all
3280 maybe-all-automake: all-automake
3281 all-automake: configure-automake
3282 @r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 $(HOST_EXPORTS) \
3285 (cd $(HOST_SUBDIR)/automake && \
3286 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3287 @endif automake
3292 .PHONY: check-automake maybe-check-automake
3293 maybe-check-automake:
3294 @if automake
3295 maybe-check-automake: check-automake
3297 check-automake:
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 $(HOST_EXPORTS) \
3301 (cd $(HOST_SUBDIR)/automake && \
3302 $(MAKE) $(FLAGS_TO_PASS) check)
3304 @endif automake
3306 .PHONY: install-automake maybe-install-automake
3307 maybe-install-automake:
3308 @if automake
3309 maybe-install-automake: install-automake
3311 install-automake: installdirs
3312 @r=`${PWD_COMMAND}`; export r; \
3313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 $(HOST_EXPORTS) \
3315 (cd $(HOST_SUBDIR)/automake && \
3316 $(MAKE) $(FLAGS_TO_PASS) install)
3318 @endif automake
3320 # Other targets (info, dvi, etc.)
3322 .PHONY: maybe-info-automake info-automake
3323 maybe-info-automake:
3324 @if automake
3325 maybe-info-automake: info-automake
3327 info-automake: \
3328 configure-automake
3329 @[ -f ./automake/Makefile ] || exit 0; \
3330 r=`${PWD_COMMAND}`; export r; \
3331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3332 $(HOST_EXPORTS) \
3333 for flag in $(EXTRA_HOST_FLAGS) ; do \
3334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3335 done; \
3336 echo "Doing info in automake" ; \
3337 (cd $(HOST_SUBDIR)/automake && \
3338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3340 "RANLIB=$${RANLIB}" \
3341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3342 info) \
3343 || exit 1
3345 @endif automake
3347 .PHONY: maybe-dvi-automake dvi-automake
3348 maybe-dvi-automake:
3349 @if automake
3350 maybe-dvi-automake: dvi-automake
3352 dvi-automake: \
3353 configure-automake
3354 @[ -f ./automake/Makefile ] || exit 0; \
3355 r=`${PWD_COMMAND}`; export r; \
3356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3357 $(HOST_EXPORTS) \
3358 for flag in $(EXTRA_HOST_FLAGS) ; do \
3359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3360 done; \
3361 echo "Doing dvi in automake" ; \
3362 (cd $(HOST_SUBDIR)/automake && \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3365 "RANLIB=$${RANLIB}" \
3366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3367 dvi) \
3368 || exit 1
3370 @endif automake
3372 .PHONY: maybe-html-automake html-automake
3373 maybe-html-automake:
3374 @if automake
3375 maybe-html-automake: html-automake
3377 html-automake: \
3378 configure-automake
3379 @[ -f ./automake/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 $(HOST_EXPORTS) \
3383 for flag in $(EXTRA_HOST_FLAGS) ; do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3385 done; \
3386 echo "Doing html in automake" ; \
3387 (cd $(HOST_SUBDIR)/automake && \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 html) \
3393 || exit 1
3395 @endif automake
3397 .PHONY: maybe-TAGS-automake TAGS-automake
3398 maybe-TAGS-automake:
3399 @if automake
3400 maybe-TAGS-automake: TAGS-automake
3402 TAGS-automake: \
3403 configure-automake
3404 @[ -f ./automake/Makefile ] || exit 0; \
3405 r=`${PWD_COMMAND}`; export r; \
3406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3407 $(HOST_EXPORTS) \
3408 for flag in $(EXTRA_HOST_FLAGS) ; do \
3409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3410 done; \
3411 echo "Doing TAGS in automake" ; \
3412 (cd $(HOST_SUBDIR)/automake && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3415 "RANLIB=$${RANLIB}" \
3416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3417 TAGS) \
3418 || exit 1
3420 @endif automake
3422 .PHONY: maybe-install-info-automake install-info-automake
3423 maybe-install-info-automake:
3424 @if automake
3425 maybe-install-info-automake: install-info-automake
3427 install-info-automake: \
3428 configure-automake \
3429 info-automake
3430 @[ -f ./automake/Makefile ] || exit 0; \
3431 r=`${PWD_COMMAND}`; export r; \
3432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3433 $(HOST_EXPORTS) \
3434 for flag in $(EXTRA_HOST_FLAGS) ; do \
3435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3436 done; \
3437 echo "Doing install-info in automake" ; \
3438 (cd $(HOST_SUBDIR)/automake && \
3439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3441 "RANLIB=$${RANLIB}" \
3442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3443 install-info) \
3444 || exit 1
3446 @endif automake
3448 .PHONY: maybe-installcheck-automake installcheck-automake
3449 maybe-installcheck-automake:
3450 @if automake
3451 maybe-installcheck-automake: installcheck-automake
3453 installcheck-automake: \
3454 configure-automake
3455 @[ -f ./automake/Makefile ] || exit 0; \
3456 r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 $(HOST_EXPORTS) \
3459 for flag in $(EXTRA_HOST_FLAGS) ; do \
3460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3461 done; \
3462 echo "Doing installcheck in automake" ; \
3463 (cd $(HOST_SUBDIR)/automake && \
3464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466 "RANLIB=$${RANLIB}" \
3467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3468 installcheck) \
3469 || exit 1
3471 @endif automake
3473 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3474 maybe-mostlyclean-automake:
3475 @if automake
3476 maybe-mostlyclean-automake: mostlyclean-automake
3478 mostlyclean-automake:
3479 @[ -f ./automake/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS) ; do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing mostlyclean in automake" ; \
3487 (cd $(HOST_SUBDIR)/automake && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3492 mostlyclean) \
3493 || exit 1
3495 @endif automake
3497 .PHONY: maybe-clean-automake clean-automake
3498 maybe-clean-automake:
3499 @if automake
3500 maybe-clean-automake: clean-automake
3502 clean-automake:
3503 @[ -f ./automake/Makefile ] || exit 0; \
3504 r=`${PWD_COMMAND}`; export r; \
3505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3506 $(HOST_EXPORTS) \
3507 for flag in $(EXTRA_HOST_FLAGS) ; do \
3508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3509 done; \
3510 echo "Doing clean in automake" ; \
3511 (cd $(HOST_SUBDIR)/automake && \
3512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3514 "RANLIB=$${RANLIB}" \
3515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3516 clean) \
3517 || exit 1
3519 @endif automake
3521 .PHONY: maybe-distclean-automake distclean-automake
3522 maybe-distclean-automake:
3523 @if automake
3524 maybe-distclean-automake: distclean-automake
3526 distclean-automake:
3527 @[ -f ./automake/Makefile ] || exit 0; \
3528 r=`${PWD_COMMAND}`; export r; \
3529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3530 $(HOST_EXPORTS) \
3531 for flag in $(EXTRA_HOST_FLAGS) ; do \
3532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3533 done; \
3534 echo "Doing distclean in automake" ; \
3535 (cd $(HOST_SUBDIR)/automake && \
3536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3538 "RANLIB=$${RANLIB}" \
3539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3540 distclean) \
3541 || exit 1
3543 @endif automake
3545 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3546 maybe-maintainer-clean-automake:
3547 @if automake
3548 maybe-maintainer-clean-automake: maintainer-clean-automake
3550 maintainer-clean-automake:
3551 @[ -f ./automake/Makefile ] || exit 0; \
3552 r=`${PWD_COMMAND}`; export r; \
3553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3554 $(HOST_EXPORTS) \
3555 for flag in $(EXTRA_HOST_FLAGS) ; do \
3556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3557 done; \
3558 echo "Doing maintainer-clean in automake" ; \
3559 (cd $(HOST_SUBDIR)/automake && \
3560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3562 "RANLIB=$${RANLIB}" \
3563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 maintainer-clean) \
3565 || exit 1
3567 @endif automake
3571 .PHONY: configure-bash maybe-configure-bash
3572 maybe-configure-bash:
3573 @if bash
3574 maybe-configure-bash: configure-bash
3575 configure-bash:
3576 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3577 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3578 r=`${PWD_COMMAND}`; export r; \
3579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3580 $(HOST_EXPORTS) \
3581 echo Configuring in $(HOST_SUBDIR)/bash; \
3582 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3583 case $(srcdir) in \
3584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3585 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3587 esac; \
3588 srcdiroption="--srcdir=$${topdir}/bash"; \
3589 libsrcdir="$$s/bash"; \
3590 $(SHELL) $${libsrcdir}/configure \
3591 $(HOST_CONFIGARGS) $${srcdiroption} \
3592 || exit 1
3593 @endif bash
3599 .PHONY: all-bash maybe-all-bash
3600 maybe-all-bash:
3601 @if bash
3602 TARGET-bash=all
3603 maybe-all-bash: all-bash
3604 all-bash: configure-bash
3605 @r=`${PWD_COMMAND}`; export r; \
3606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3607 $(HOST_EXPORTS) \
3608 (cd $(HOST_SUBDIR)/bash && \
3609 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3610 @endif bash
3615 .PHONY: check-bash maybe-check-bash
3616 maybe-check-bash:
3617 @if bash
3618 maybe-check-bash: check-bash
3620 check-bash:
3621 @r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 $(HOST_EXPORTS) \
3624 (cd $(HOST_SUBDIR)/bash && \
3625 $(MAKE) $(FLAGS_TO_PASS) check)
3627 @endif bash
3629 .PHONY: install-bash maybe-install-bash
3630 maybe-install-bash:
3631 @if bash
3632 maybe-install-bash: install-bash
3634 install-bash: installdirs
3635 @r=`${PWD_COMMAND}`; export r; \
3636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3637 $(HOST_EXPORTS) \
3638 (cd $(HOST_SUBDIR)/bash && \
3639 $(MAKE) $(FLAGS_TO_PASS) install)
3641 @endif bash
3643 # Other targets (info, dvi, etc.)
3645 .PHONY: maybe-info-bash info-bash
3646 maybe-info-bash:
3647 @if bash
3648 maybe-info-bash: info-bash
3650 info-bash: \
3651 configure-bash
3652 @[ -f ./bash/Makefile ] || exit 0; \
3653 r=`${PWD_COMMAND}`; export r; \
3654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 $(HOST_EXPORTS) \
3656 for flag in $(EXTRA_HOST_FLAGS) ; do \
3657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3658 done; \
3659 echo "Doing info in bash" ; \
3660 (cd $(HOST_SUBDIR)/bash && \
3661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3663 "RANLIB=$${RANLIB}" \
3664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3665 info) \
3666 || exit 1
3668 @endif bash
3670 .PHONY: maybe-dvi-bash dvi-bash
3671 maybe-dvi-bash:
3672 @if bash
3673 maybe-dvi-bash: dvi-bash
3675 dvi-bash: \
3676 configure-bash
3677 @[ -f ./bash/Makefile ] || exit 0; \
3678 r=`${PWD_COMMAND}`; export r; \
3679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 $(HOST_EXPORTS) \
3681 for flag in $(EXTRA_HOST_FLAGS) ; do \
3682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3683 done; \
3684 echo "Doing dvi in bash" ; \
3685 (cd $(HOST_SUBDIR)/bash && \
3686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3688 "RANLIB=$${RANLIB}" \
3689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3690 dvi) \
3691 || exit 1
3693 @endif bash
3695 .PHONY: maybe-html-bash html-bash
3696 maybe-html-bash:
3697 @if bash
3698 maybe-html-bash: html-bash
3700 html-bash: \
3701 configure-bash
3702 @[ -f ./bash/Makefile ] || exit 0; \
3703 r=`${PWD_COMMAND}`; export r; \
3704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3705 $(HOST_EXPORTS) \
3706 for flag in $(EXTRA_HOST_FLAGS) ; do \
3707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3708 done; \
3709 echo "Doing html in bash" ; \
3710 (cd $(HOST_SUBDIR)/bash && \
3711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3713 "RANLIB=$${RANLIB}" \
3714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3715 html) \
3716 || exit 1
3718 @endif bash
3720 .PHONY: maybe-TAGS-bash TAGS-bash
3721 maybe-TAGS-bash:
3722 @if bash
3723 maybe-TAGS-bash: TAGS-bash
3725 TAGS-bash: \
3726 configure-bash
3727 @[ -f ./bash/Makefile ] || exit 0; \
3728 r=`${PWD_COMMAND}`; export r; \
3729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3730 $(HOST_EXPORTS) \
3731 for flag in $(EXTRA_HOST_FLAGS) ; do \
3732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3733 done; \
3734 echo "Doing TAGS in bash" ; \
3735 (cd $(HOST_SUBDIR)/bash && \
3736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3738 "RANLIB=$${RANLIB}" \
3739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3740 TAGS) \
3741 || exit 1
3743 @endif bash
3745 .PHONY: maybe-install-info-bash install-info-bash
3746 maybe-install-info-bash:
3747 @if bash
3748 maybe-install-info-bash: install-info-bash
3750 install-info-bash: \
3751 configure-bash \
3752 info-bash
3753 @[ -f ./bash/Makefile ] || exit 0; \
3754 r=`${PWD_COMMAND}`; export r; \
3755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3756 $(HOST_EXPORTS) \
3757 for flag in $(EXTRA_HOST_FLAGS) ; do \
3758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3759 done; \
3760 echo "Doing install-info in bash" ; \
3761 (cd $(HOST_SUBDIR)/bash && \
3762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3764 "RANLIB=$${RANLIB}" \
3765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3766 install-info) \
3767 || exit 1
3769 @endif bash
3771 .PHONY: maybe-installcheck-bash installcheck-bash
3772 maybe-installcheck-bash:
3773 @if bash
3774 maybe-installcheck-bash: installcheck-bash
3776 installcheck-bash: \
3777 configure-bash
3778 @[ -f ./bash/Makefile ] || exit 0; \
3779 r=`${PWD_COMMAND}`; export r; \
3780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 $(HOST_EXPORTS) \
3782 for flag in $(EXTRA_HOST_FLAGS) ; do \
3783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3784 done; \
3785 echo "Doing installcheck in bash" ; \
3786 (cd $(HOST_SUBDIR)/bash && \
3787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3789 "RANLIB=$${RANLIB}" \
3790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3791 installcheck) \
3792 || exit 1
3794 @endif bash
3796 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3797 maybe-mostlyclean-bash:
3798 @if bash
3799 maybe-mostlyclean-bash: mostlyclean-bash
3801 mostlyclean-bash:
3802 @[ -f ./bash/Makefile ] || exit 0; \
3803 r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 $(HOST_EXPORTS) \
3806 for flag in $(EXTRA_HOST_FLAGS) ; do \
3807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3808 done; \
3809 echo "Doing mostlyclean in bash" ; \
3810 (cd $(HOST_SUBDIR)/bash && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3813 "RANLIB=$${RANLIB}" \
3814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3815 mostlyclean) \
3816 || exit 1
3818 @endif bash
3820 .PHONY: maybe-clean-bash clean-bash
3821 maybe-clean-bash:
3822 @if bash
3823 maybe-clean-bash: clean-bash
3825 clean-bash:
3826 @[ -f ./bash/Makefile ] || exit 0; \
3827 r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 $(HOST_EXPORTS) \
3830 for flag in $(EXTRA_HOST_FLAGS) ; do \
3831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 done; \
3833 echo "Doing clean in bash" ; \
3834 (cd $(HOST_SUBDIR)/bash && \
3835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3837 "RANLIB=$${RANLIB}" \
3838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 clean) \
3840 || exit 1
3842 @endif bash
3844 .PHONY: maybe-distclean-bash distclean-bash
3845 maybe-distclean-bash:
3846 @if bash
3847 maybe-distclean-bash: distclean-bash
3849 distclean-bash:
3850 @[ -f ./bash/Makefile ] || exit 0; \
3851 r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 $(HOST_EXPORTS) \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3856 done; \
3857 echo "Doing distclean in bash" ; \
3858 (cd $(HOST_SUBDIR)/bash && \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3863 distclean) \
3864 || exit 1
3866 @endif bash
3868 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3869 maybe-maintainer-clean-bash:
3870 @if bash
3871 maybe-maintainer-clean-bash: maintainer-clean-bash
3873 maintainer-clean-bash:
3874 @[ -f ./bash/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(HOST_EXPORTS) \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 done; \
3881 echo "Doing maintainer-clean in bash" ; \
3882 (cd $(HOST_SUBDIR)/bash && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3887 maintainer-clean) \
3888 || exit 1
3890 @endif bash
3894 .PHONY: configure-bfd maybe-configure-bfd
3895 maybe-configure-bfd:
3896 @if bfd
3897 maybe-configure-bfd: configure-bfd
3898 configure-bfd:
3899 @test -f stage_last && exit 0; \
3900 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3902 r=`${PWD_COMMAND}`; export r; \
3903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 $(HOST_EXPORTS) \
3905 echo Configuring in $(HOST_SUBDIR)/bfd; \
3906 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3907 case $(srcdir) in \
3908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3909 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3911 esac; \
3912 srcdiroption="--srcdir=$${topdir}/bfd"; \
3913 libsrcdir="$$s/bfd"; \
3914 $(SHELL) $${libsrcdir}/configure \
3915 $(HOST_CONFIGARGS) $${srcdiroption} \
3916 || exit 1
3917 @endif bfd
3921 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3922 maybe-configure-stage1-bfd:
3923 @if bfd-bootstrap
3924 maybe-configure-stage1-bfd: configure-stage1-bfd
3925 configure-stage1-bfd:
3926 @$(MAKE) stage1-start
3927 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3928 r=`${PWD_COMMAND}`; export r; \
3929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 $(HOST_EXPORTS) \
3931 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3932 cd $(HOST_SUBDIR)/bfd || exit 1; \
3933 case $(srcdir) in \
3934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3935 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3937 esac; \
3938 srcdiroption="--srcdir=$${topdir}/bfd"; \
3939 libsrcdir="$$s/bfd"; \
3940 $(SHELL) $${libsrcdir}/configure \
3941 $(HOST_CONFIGARGS) $${srcdiroption} \
3942 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3943 @endif bfd-bootstrap
3945 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3946 maybe-configure-stage2-bfd:
3947 @if bfd-bootstrap
3948 maybe-configure-stage2-bfd: configure-stage2-bfd
3949 configure-stage2-bfd:
3950 @$(MAKE) stage2-start
3951 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3952 r=`${PWD_COMMAND}`; export r; \
3953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3954 $(HOST_EXPORTS) \
3955 $(POSTSTAGE1_HOST_EXPORTS) \
3956 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3957 cd $(HOST_SUBDIR)/bfd || exit 1; \
3958 case $(srcdir) in \
3959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3960 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3962 esac; \
3963 srcdiroption="--srcdir=$${topdir}/bfd"; \
3964 libsrcdir="$$s/bfd"; \
3965 $(SHELL) $${libsrcdir}/configure \
3966 $(HOST_CONFIGARGS) $${srcdiroption} \
3967 @stage2_werror_flag@
3968 @endif bfd-bootstrap
3970 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3971 maybe-configure-stage3-bfd:
3972 @if bfd-bootstrap
3973 maybe-configure-stage3-bfd: configure-stage3-bfd
3974 configure-stage3-bfd:
3975 @$(MAKE) stage3-start
3976 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3977 r=`${PWD_COMMAND}`; export r; \
3978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3979 $(HOST_EXPORTS) \
3980 $(POSTSTAGE1_HOST_EXPORTS) \
3981 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3982 cd $(HOST_SUBDIR)/bfd || exit 1; \
3983 case $(srcdir) in \
3984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3985 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3987 esac; \
3988 srcdiroption="--srcdir=$${topdir}/bfd"; \
3989 libsrcdir="$$s/bfd"; \
3990 $(SHELL) $${libsrcdir}/configure \
3991 $(HOST_CONFIGARGS) $${srcdiroption} \
3992 @stage2_werror_flag@
3993 @endif bfd-bootstrap
3995 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3996 maybe-configure-stage4-bfd:
3997 @if bfd-bootstrap
3998 maybe-configure-stage4-bfd: configure-stage4-bfd
3999 configure-stage4-bfd:
4000 @$(MAKE) stage4-start
4001 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4002 r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4004 $(HOST_EXPORTS) \
4005 $(POSTSTAGE1_HOST_EXPORTS) \
4006 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4007 cd $(HOST_SUBDIR)/bfd || exit 1; \
4008 case $(srcdir) in \
4009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4010 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4012 esac; \
4013 srcdiroption="--srcdir=$${topdir}/bfd"; \
4014 libsrcdir="$$s/bfd"; \
4015 $(SHELL) $${libsrcdir}/configure \
4016 $(HOST_CONFIGARGS) $${srcdiroption} \
4017 @stage2_werror_flag@
4018 @endif bfd-bootstrap
4020 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4021 maybe-configure-stageprofile-bfd:
4022 @if bfd-bootstrap
4023 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4024 configure-stageprofile-bfd:
4025 @$(MAKE) stageprofile-start
4026 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 $(HOST_EXPORTS) \
4030 $(POSTSTAGE1_HOST_EXPORTS) \
4031 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4032 cd $(HOST_SUBDIR)/bfd || exit 1; \
4033 case $(srcdir) in \
4034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4035 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4037 esac; \
4038 srcdiroption="--srcdir=$${topdir}/bfd"; \
4039 libsrcdir="$$s/bfd"; \
4040 $(SHELL) $${libsrcdir}/configure \
4041 $(HOST_CONFIGARGS) $${srcdiroption} \
4042 @stage2_werror_flag@
4043 @endif bfd-bootstrap
4045 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4046 maybe-configure-stagefeedback-bfd:
4047 @if bfd-bootstrap
4048 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4049 configure-stagefeedback-bfd:
4050 @$(MAKE) stagefeedback-start
4051 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4052 r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4054 $(HOST_EXPORTS) \
4055 $(POSTSTAGE1_HOST_EXPORTS) \
4056 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4057 cd $(HOST_SUBDIR)/bfd || exit 1; \
4058 case $(srcdir) in \
4059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4060 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4062 esac; \
4063 srcdiroption="--srcdir=$${topdir}/bfd"; \
4064 libsrcdir="$$s/bfd"; \
4065 $(SHELL) $${libsrcdir}/configure \
4066 $(HOST_CONFIGARGS) $${srcdiroption} \
4067 @stage2_werror_flag@
4068 @endif bfd-bootstrap
4074 .PHONY: all-bfd maybe-all-bfd
4075 maybe-all-bfd:
4076 @if bfd
4077 TARGET-bfd=all
4078 maybe-all-bfd: all-bfd
4079 all-bfd: configure-bfd
4080 @test -f stage_last && exit 0; \
4081 r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(HOST_EXPORTS) \
4084 (cd $(HOST_SUBDIR)/bfd && \
4085 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4086 @endif bfd
4090 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4091 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4092 maybe-all-stage1-bfd:
4093 maybe-clean-stage1-bfd:
4094 @if bfd-bootstrap
4095 maybe-all-stage1-bfd: all-stage1-bfd
4096 all-stage1: all-stage1-bfd
4097 all-stage1-bfd: configure-stage1-bfd
4098 @$(MAKE) stage1-start
4099 @r=`${PWD_COMMAND}`; export r; \
4100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4101 $(HOST_EXPORTS) \
4102 cd $(HOST_SUBDIR)/bfd && \
4103 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4105 maybe-clean-stage1-bfd: clean-stage1-bfd
4106 clean-stage1: clean-stage1-bfd
4107 clean-stage1-bfd:
4108 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4109 || exit 0 ; \
4110 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \
4111 cd $(HOST_SUBDIR)/bfd && \
4112 $(MAKE) $(FLAGS_TO_PASS) \
4113 CFLAGS="$(STAGE1_CFLAGS)" clean
4114 @endif bfd-bootstrap
4117 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4118 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4119 maybe-all-stage2-bfd:
4120 maybe-clean-stage2-bfd:
4121 @if bfd-bootstrap
4122 maybe-all-stage2-bfd: all-stage2-bfd
4123 all-stage2: all-stage2-bfd
4124 all-stage2-bfd: configure-stage2-bfd
4125 @$(MAKE) stage2-start
4126 @r=`${PWD_COMMAND}`; export r; \
4127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4128 $(HOST_EXPORTS) \
4129 $(POSTSTAGE1_HOST_EXPORTS) \
4130 cd $(HOST_SUBDIR)/bfd && \
4131 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4133 maybe-clean-stage2-bfd: clean-stage2-bfd
4134 clean-stage2: clean-stage2-bfd
4135 clean-stage2-bfd:
4136 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4137 || exit 0 ; \
4138 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \
4139 cd $(HOST_SUBDIR)/bfd && \
4140 $(MAKE) $(FLAGS_TO_PASS) \
4141 $(POSTSTAGE1_FLAGS_TO_PASS) \
4142 clean
4143 @endif bfd-bootstrap
4146 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4147 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4148 maybe-all-stage3-bfd:
4149 maybe-clean-stage3-bfd:
4150 @if bfd-bootstrap
4151 maybe-all-stage3-bfd: all-stage3-bfd
4152 all-stage3: all-stage3-bfd
4153 all-stage3-bfd: configure-stage3-bfd
4154 @$(MAKE) stage3-start
4155 @r=`${PWD_COMMAND}`; export r; \
4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4157 $(HOST_EXPORTS) \
4158 $(POSTSTAGE1_HOST_EXPORTS) \
4159 cd $(HOST_SUBDIR)/bfd && \
4160 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4162 maybe-clean-stage3-bfd: clean-stage3-bfd
4163 clean-stage3: clean-stage3-bfd
4164 clean-stage3-bfd:
4165 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4166 || exit 0 ; \
4167 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \
4168 cd $(HOST_SUBDIR)/bfd && \
4169 $(MAKE) $(FLAGS_TO_PASS) \
4170 $(POSTSTAGE1_FLAGS_TO_PASS) \
4171 clean
4172 @endif bfd-bootstrap
4175 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4176 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4177 maybe-all-stage4-bfd:
4178 maybe-clean-stage4-bfd:
4179 @if bfd-bootstrap
4180 maybe-all-stage4-bfd: all-stage4-bfd
4181 all-stage4: all-stage4-bfd
4182 all-stage4-bfd: configure-stage4-bfd
4183 @$(MAKE) stage4-start
4184 @r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 $(HOST_EXPORTS) \
4187 $(POSTSTAGE1_HOST_EXPORTS) \
4188 cd $(HOST_SUBDIR)/bfd && \
4189 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4191 maybe-clean-stage4-bfd: clean-stage4-bfd
4192 clean-stage4: clean-stage4-bfd
4193 clean-stage4-bfd:
4194 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4195 || exit 0 ; \
4196 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \
4197 cd $(HOST_SUBDIR)/bfd && \
4198 $(MAKE) $(FLAGS_TO_PASS) \
4199 $(POSTSTAGE1_FLAGS_TO_PASS) \
4200 clean
4201 @endif bfd-bootstrap
4204 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4205 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4206 maybe-all-stageprofile-bfd:
4207 maybe-clean-stageprofile-bfd:
4208 @if bfd-bootstrap
4209 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4210 all-stageprofile: all-stageprofile-bfd
4211 all-stageprofile-bfd: configure-stageprofile-bfd
4212 @$(MAKE) stageprofile-start
4213 @r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 $(HOST_EXPORTS) \
4216 $(POSTSTAGE1_HOST_EXPORTS) \
4217 cd $(HOST_SUBDIR)/bfd && \
4218 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4220 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4221 clean-stageprofile: clean-stageprofile-bfd
4222 clean-stageprofile-bfd:
4223 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4224 || exit 0 ; \
4225 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \
4226 cd $(HOST_SUBDIR)/bfd && \
4227 $(MAKE) $(FLAGS_TO_PASS) \
4228 $(POSTSTAGE1_FLAGS_TO_PASS) \
4229 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4230 @endif bfd-bootstrap
4233 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4234 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4235 maybe-all-stagefeedback-bfd:
4236 maybe-clean-stagefeedback-bfd:
4237 @if bfd-bootstrap
4238 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4239 all-stagefeedback: all-stagefeedback-bfd
4240 all-stagefeedback-bfd: configure-stagefeedback-bfd
4241 @$(MAKE) stagefeedback-start
4242 @r=`${PWD_COMMAND}`; export r; \
4243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4244 $(HOST_EXPORTS) \
4245 $(POSTSTAGE1_HOST_EXPORTS) \
4246 cd $(HOST_SUBDIR)/bfd && \
4247 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4249 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4250 clean-stagefeedback: clean-stagefeedback-bfd
4251 clean-stagefeedback-bfd:
4252 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4253 || exit 0 ; \
4254 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
4255 cd $(HOST_SUBDIR)/bfd && \
4256 $(MAKE) $(FLAGS_TO_PASS) \
4257 $(POSTSTAGE1_FLAGS_TO_PASS) \
4258 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4259 @endif bfd-bootstrap
4265 .PHONY: check-bfd maybe-check-bfd
4266 maybe-check-bfd:
4267 @if bfd
4268 maybe-check-bfd: check-bfd
4270 check-bfd:
4271 @r=`${PWD_COMMAND}`; export r; \
4272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4273 $(HOST_EXPORTS) \
4274 (cd $(HOST_SUBDIR)/bfd && \
4275 $(MAKE) $(FLAGS_TO_PASS) check)
4277 @endif bfd
4279 .PHONY: install-bfd maybe-install-bfd
4280 maybe-install-bfd:
4281 @if bfd
4282 maybe-install-bfd: install-bfd
4284 install-bfd: installdirs
4285 @r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 (cd $(HOST_SUBDIR)/bfd && \
4289 $(MAKE) $(FLAGS_TO_PASS) install)
4291 @endif bfd
4293 # Other targets (info, dvi, etc.)
4295 .PHONY: maybe-info-bfd info-bfd
4296 maybe-info-bfd:
4297 @if bfd
4298 maybe-info-bfd: info-bfd
4300 info-bfd: \
4301 configure-bfd
4302 @[ -f ./bfd/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 $(HOST_EXPORTS) \
4306 for flag in $(EXTRA_HOST_FLAGS) ; do \
4307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4308 done; \
4309 echo "Doing info in bfd" ; \
4310 (cd $(HOST_SUBDIR)/bfd && \
4311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4313 "RANLIB=$${RANLIB}" \
4314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4315 info) \
4316 || exit 1
4318 @endif bfd
4320 .PHONY: maybe-dvi-bfd dvi-bfd
4321 maybe-dvi-bfd:
4322 @if bfd
4323 maybe-dvi-bfd: dvi-bfd
4325 dvi-bfd: \
4326 configure-bfd
4327 @[ -f ./bfd/Makefile ] || exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 for flag in $(EXTRA_HOST_FLAGS) ; do \
4332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4333 done; \
4334 echo "Doing dvi in bfd" ; \
4335 (cd $(HOST_SUBDIR)/bfd && \
4336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4338 "RANLIB=$${RANLIB}" \
4339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4340 dvi) \
4341 || exit 1
4343 @endif bfd
4345 .PHONY: maybe-html-bfd html-bfd
4346 maybe-html-bfd:
4347 @if bfd
4348 maybe-html-bfd: html-bfd
4350 html-bfd: \
4351 configure-bfd
4352 @[ -f ./bfd/Makefile ] || exit 0; \
4353 r=`${PWD_COMMAND}`; export r; \
4354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4355 $(HOST_EXPORTS) \
4356 for flag in $(EXTRA_HOST_FLAGS) ; do \
4357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4358 done; \
4359 echo "Doing html in bfd" ; \
4360 (cd $(HOST_SUBDIR)/bfd && \
4361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4363 "RANLIB=$${RANLIB}" \
4364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4365 html) \
4366 || exit 1
4368 @endif bfd
4370 .PHONY: maybe-TAGS-bfd TAGS-bfd
4371 maybe-TAGS-bfd:
4372 @if bfd
4373 maybe-TAGS-bfd: TAGS-bfd
4375 TAGS-bfd: \
4376 configure-bfd
4377 @[ -f ./bfd/Makefile ] || exit 0; \
4378 r=`${PWD_COMMAND}`; export r; \
4379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4380 $(HOST_EXPORTS) \
4381 for flag in $(EXTRA_HOST_FLAGS) ; do \
4382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4383 done; \
4384 echo "Doing TAGS in bfd" ; \
4385 (cd $(HOST_SUBDIR)/bfd && \
4386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4388 "RANLIB=$${RANLIB}" \
4389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4390 TAGS) \
4391 || exit 1
4393 @endif bfd
4395 .PHONY: maybe-install-info-bfd install-info-bfd
4396 maybe-install-info-bfd:
4397 @if bfd
4398 maybe-install-info-bfd: install-info-bfd
4400 install-info-bfd: \
4401 configure-bfd \
4402 info-bfd
4403 @[ -f ./bfd/Makefile ] || exit 0; \
4404 r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 $(HOST_EXPORTS) \
4407 for flag in $(EXTRA_HOST_FLAGS) ; do \
4408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4409 done; \
4410 echo "Doing install-info in bfd" ; \
4411 (cd $(HOST_SUBDIR)/bfd && \
4412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414 "RANLIB=$${RANLIB}" \
4415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4416 install-info) \
4417 || exit 1
4419 @endif bfd
4421 .PHONY: maybe-installcheck-bfd installcheck-bfd
4422 maybe-installcheck-bfd:
4423 @if bfd
4424 maybe-installcheck-bfd: installcheck-bfd
4426 installcheck-bfd: \
4427 configure-bfd
4428 @[ -f ./bfd/Makefile ] || exit 0; \
4429 r=`${PWD_COMMAND}`; export r; \
4430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4431 $(HOST_EXPORTS) \
4432 for flag in $(EXTRA_HOST_FLAGS) ; do \
4433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4434 done; \
4435 echo "Doing installcheck in bfd" ; \
4436 (cd $(HOST_SUBDIR)/bfd && \
4437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4439 "RANLIB=$${RANLIB}" \
4440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4441 installcheck) \
4442 || exit 1
4444 @endif bfd
4446 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4447 maybe-mostlyclean-bfd:
4448 @if bfd
4449 maybe-mostlyclean-bfd: mostlyclean-bfd
4451 mostlyclean-bfd:
4452 @[ -f ./bfd/Makefile ] || exit 0; \
4453 r=`${PWD_COMMAND}`; export r; \
4454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4455 $(HOST_EXPORTS) \
4456 for flag in $(EXTRA_HOST_FLAGS) ; do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 echo "Doing mostlyclean in bfd" ; \
4460 (cd $(HOST_SUBDIR)/bfd && \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4465 mostlyclean) \
4466 || exit 1
4468 @endif bfd
4470 .PHONY: maybe-clean-bfd clean-bfd
4471 maybe-clean-bfd:
4472 @if bfd
4473 maybe-clean-bfd: clean-bfd
4475 clean-bfd:
4476 @[ -f ./bfd/Makefile ] || exit 0; \
4477 r=`${PWD_COMMAND}`; export r; \
4478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4479 $(HOST_EXPORTS) \
4480 for flag in $(EXTRA_HOST_FLAGS) ; do \
4481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4482 done; \
4483 echo "Doing clean in bfd" ; \
4484 (cd $(HOST_SUBDIR)/bfd && \
4485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4487 "RANLIB=$${RANLIB}" \
4488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4489 clean) \
4490 || exit 1
4492 @endif bfd
4494 .PHONY: maybe-distclean-bfd distclean-bfd
4495 maybe-distclean-bfd:
4496 @if bfd
4497 maybe-distclean-bfd: distclean-bfd
4499 distclean-bfd:
4500 @[ -f ./bfd/Makefile ] || exit 0; \
4501 r=`${PWD_COMMAND}`; export r; \
4502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4503 $(HOST_EXPORTS) \
4504 for flag in $(EXTRA_HOST_FLAGS) ; do \
4505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4506 done; \
4507 echo "Doing distclean in bfd" ; \
4508 (cd $(HOST_SUBDIR)/bfd && \
4509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4511 "RANLIB=$${RANLIB}" \
4512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4513 distclean) \
4514 || exit 1
4516 @endif bfd
4518 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4519 maybe-maintainer-clean-bfd:
4520 @if bfd
4521 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4523 maintainer-clean-bfd:
4524 @[ -f ./bfd/Makefile ] || exit 0; \
4525 r=`${PWD_COMMAND}`; export r; \
4526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4527 $(HOST_EXPORTS) \
4528 for flag in $(EXTRA_HOST_FLAGS) ; do \
4529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4530 done; \
4531 echo "Doing maintainer-clean in bfd" ; \
4532 (cd $(HOST_SUBDIR)/bfd && \
4533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4535 "RANLIB=$${RANLIB}" \
4536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4537 maintainer-clean) \
4538 || exit 1
4540 @endif bfd
4544 .PHONY: configure-opcodes maybe-configure-opcodes
4545 maybe-configure-opcodes:
4546 @if opcodes
4547 maybe-configure-opcodes: configure-opcodes
4548 configure-opcodes:
4549 @test -f stage_last && exit 0; \
4550 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4552 r=`${PWD_COMMAND}`; export r; \
4553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4554 $(HOST_EXPORTS) \
4555 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4556 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4557 case $(srcdir) in \
4558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4559 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4561 esac; \
4562 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4563 libsrcdir="$$s/opcodes"; \
4564 $(SHELL) $${libsrcdir}/configure \
4565 $(HOST_CONFIGARGS) $${srcdiroption} \
4566 || exit 1
4567 @endif opcodes
4571 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4572 maybe-configure-stage1-opcodes:
4573 @if opcodes-bootstrap
4574 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4575 configure-stage1-opcodes:
4576 @$(MAKE) stage1-start
4577 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4578 r=`${PWD_COMMAND}`; export r; \
4579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4580 $(HOST_EXPORTS) \
4581 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4582 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4583 case $(srcdir) in \
4584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4585 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4587 esac; \
4588 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4589 libsrcdir="$$s/opcodes"; \
4590 $(SHELL) $${libsrcdir}/configure \
4591 $(HOST_CONFIGARGS) $${srcdiroption} \
4592 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4593 @endif opcodes-bootstrap
4595 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4596 maybe-configure-stage2-opcodes:
4597 @if opcodes-bootstrap
4598 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4599 configure-stage2-opcodes:
4600 @$(MAKE) stage2-start
4601 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4602 r=`${PWD_COMMAND}`; export r; \
4603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4604 $(HOST_EXPORTS) \
4605 $(POSTSTAGE1_HOST_EXPORTS) \
4606 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4607 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4608 case $(srcdir) in \
4609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4610 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4612 esac; \
4613 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4614 libsrcdir="$$s/opcodes"; \
4615 $(SHELL) $${libsrcdir}/configure \
4616 $(HOST_CONFIGARGS) $${srcdiroption} \
4617 @stage2_werror_flag@
4618 @endif opcodes-bootstrap
4620 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4621 maybe-configure-stage3-opcodes:
4622 @if opcodes-bootstrap
4623 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4624 configure-stage3-opcodes:
4625 @$(MAKE) stage3-start
4626 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4627 r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629 $(HOST_EXPORTS) \
4630 $(POSTSTAGE1_HOST_EXPORTS) \
4631 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4632 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4633 case $(srcdir) in \
4634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4635 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4637 esac; \
4638 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4639 libsrcdir="$$s/opcodes"; \
4640 $(SHELL) $${libsrcdir}/configure \
4641 $(HOST_CONFIGARGS) $${srcdiroption} \
4642 @stage2_werror_flag@
4643 @endif opcodes-bootstrap
4645 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4646 maybe-configure-stage4-opcodes:
4647 @if opcodes-bootstrap
4648 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4649 configure-stage4-opcodes:
4650 @$(MAKE) stage4-start
4651 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4652 r=`${PWD_COMMAND}`; export r; \
4653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4654 $(HOST_EXPORTS) \
4655 $(POSTSTAGE1_HOST_EXPORTS) \
4656 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4657 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4658 case $(srcdir) in \
4659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4660 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4662 esac; \
4663 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4664 libsrcdir="$$s/opcodes"; \
4665 $(SHELL) $${libsrcdir}/configure \
4666 $(HOST_CONFIGARGS) $${srcdiroption} \
4667 @stage2_werror_flag@
4668 @endif opcodes-bootstrap
4670 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4671 maybe-configure-stageprofile-opcodes:
4672 @if opcodes-bootstrap
4673 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4674 configure-stageprofile-opcodes:
4675 @$(MAKE) stageprofile-start
4676 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4677 r=`${PWD_COMMAND}`; export r; \
4678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4679 $(HOST_EXPORTS) \
4680 $(POSTSTAGE1_HOST_EXPORTS) \
4681 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4682 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4683 case $(srcdir) in \
4684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4685 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4687 esac; \
4688 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4689 libsrcdir="$$s/opcodes"; \
4690 $(SHELL) $${libsrcdir}/configure \
4691 $(HOST_CONFIGARGS) $${srcdiroption} \
4692 @stage2_werror_flag@
4693 @endif opcodes-bootstrap
4695 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4696 maybe-configure-stagefeedback-opcodes:
4697 @if opcodes-bootstrap
4698 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4699 configure-stagefeedback-opcodes:
4700 @$(MAKE) stagefeedback-start
4701 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4702 r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 $(POSTSTAGE1_HOST_EXPORTS) \
4706 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4707 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4708 case $(srcdir) in \
4709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4710 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4712 esac; \
4713 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4714 libsrcdir="$$s/opcodes"; \
4715 $(SHELL) $${libsrcdir}/configure \
4716 $(HOST_CONFIGARGS) $${srcdiroption} \
4717 @stage2_werror_flag@
4718 @endif opcodes-bootstrap
4724 .PHONY: all-opcodes maybe-all-opcodes
4725 maybe-all-opcodes:
4726 @if opcodes
4727 TARGET-opcodes=all
4728 maybe-all-opcodes: all-opcodes
4729 all-opcodes: configure-opcodes
4730 @test -f stage_last && exit 0; \
4731 r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4733 $(HOST_EXPORTS) \
4734 (cd $(HOST_SUBDIR)/opcodes && \
4735 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4736 @endif opcodes
4740 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4741 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4742 maybe-all-stage1-opcodes:
4743 maybe-clean-stage1-opcodes:
4744 @if opcodes-bootstrap
4745 maybe-all-stage1-opcodes: all-stage1-opcodes
4746 all-stage1: all-stage1-opcodes
4747 all-stage1-opcodes: configure-stage1-opcodes
4748 @$(MAKE) stage1-start
4749 @r=`${PWD_COMMAND}`; export r; \
4750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4751 $(HOST_EXPORTS) \
4752 cd $(HOST_SUBDIR)/opcodes && \
4753 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4755 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4756 clean-stage1: clean-stage1-opcodes
4757 clean-stage1-opcodes:
4758 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4759 || exit 0 ; \
4760 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \
4761 cd $(HOST_SUBDIR)/opcodes && \
4762 $(MAKE) $(FLAGS_TO_PASS) \
4763 CFLAGS="$(STAGE1_CFLAGS)" clean
4764 @endif opcodes-bootstrap
4767 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4768 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4769 maybe-all-stage2-opcodes:
4770 maybe-clean-stage2-opcodes:
4771 @if opcodes-bootstrap
4772 maybe-all-stage2-opcodes: all-stage2-opcodes
4773 all-stage2: all-stage2-opcodes
4774 all-stage2-opcodes: configure-stage2-opcodes
4775 @$(MAKE) stage2-start
4776 @r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 $(HOST_EXPORTS) \
4779 $(POSTSTAGE1_HOST_EXPORTS) \
4780 cd $(HOST_SUBDIR)/opcodes && \
4781 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4783 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4784 clean-stage2: clean-stage2-opcodes
4785 clean-stage2-opcodes:
4786 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4787 || exit 0 ; \
4788 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \
4789 cd $(HOST_SUBDIR)/opcodes && \
4790 $(MAKE) $(FLAGS_TO_PASS) \
4791 $(POSTSTAGE1_FLAGS_TO_PASS) \
4792 clean
4793 @endif opcodes-bootstrap
4796 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4797 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4798 maybe-all-stage3-opcodes:
4799 maybe-clean-stage3-opcodes:
4800 @if opcodes-bootstrap
4801 maybe-all-stage3-opcodes: all-stage3-opcodes
4802 all-stage3: all-stage3-opcodes
4803 all-stage3-opcodes: configure-stage3-opcodes
4804 @$(MAKE) stage3-start
4805 @r=`${PWD_COMMAND}`; export r; \
4806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4807 $(HOST_EXPORTS) \
4808 $(POSTSTAGE1_HOST_EXPORTS) \
4809 cd $(HOST_SUBDIR)/opcodes && \
4810 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4812 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4813 clean-stage3: clean-stage3-opcodes
4814 clean-stage3-opcodes:
4815 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4816 || exit 0 ; \
4817 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \
4818 cd $(HOST_SUBDIR)/opcodes && \
4819 $(MAKE) $(FLAGS_TO_PASS) \
4820 $(POSTSTAGE1_FLAGS_TO_PASS) \
4821 clean
4822 @endif opcodes-bootstrap
4825 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4826 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4827 maybe-all-stage4-opcodes:
4828 maybe-clean-stage4-opcodes:
4829 @if opcodes-bootstrap
4830 maybe-all-stage4-opcodes: all-stage4-opcodes
4831 all-stage4: all-stage4-opcodes
4832 all-stage4-opcodes: configure-stage4-opcodes
4833 @$(MAKE) stage4-start
4834 @r=`${PWD_COMMAND}`; export r; \
4835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4836 $(HOST_EXPORTS) \
4837 $(POSTSTAGE1_HOST_EXPORTS) \
4838 cd $(HOST_SUBDIR)/opcodes && \
4839 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4841 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4842 clean-stage4: clean-stage4-opcodes
4843 clean-stage4-opcodes:
4844 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4845 || exit 0 ; \
4846 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \
4847 cd $(HOST_SUBDIR)/opcodes && \
4848 $(MAKE) $(FLAGS_TO_PASS) \
4849 $(POSTSTAGE1_FLAGS_TO_PASS) \
4850 clean
4851 @endif opcodes-bootstrap
4854 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4855 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4856 maybe-all-stageprofile-opcodes:
4857 maybe-clean-stageprofile-opcodes:
4858 @if opcodes-bootstrap
4859 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4860 all-stageprofile: all-stageprofile-opcodes
4861 all-stageprofile-opcodes: configure-stageprofile-opcodes
4862 @$(MAKE) stageprofile-start
4863 @r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4865 $(HOST_EXPORTS) \
4866 $(POSTSTAGE1_HOST_EXPORTS) \
4867 cd $(HOST_SUBDIR)/opcodes && \
4868 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4870 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4871 clean-stageprofile: clean-stageprofile-opcodes
4872 clean-stageprofile-opcodes:
4873 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4874 || exit 0 ; \
4875 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
4876 cd $(HOST_SUBDIR)/opcodes && \
4877 $(MAKE) $(FLAGS_TO_PASS) \
4878 $(POSTSTAGE1_FLAGS_TO_PASS) \
4879 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4880 @endif opcodes-bootstrap
4883 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4884 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4885 maybe-all-stagefeedback-opcodes:
4886 maybe-clean-stagefeedback-opcodes:
4887 @if opcodes-bootstrap
4888 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4889 all-stagefeedback: all-stagefeedback-opcodes
4890 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4891 @$(MAKE) stagefeedback-start
4892 @r=`${PWD_COMMAND}`; export r; \
4893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4894 $(HOST_EXPORTS) \
4895 $(POSTSTAGE1_HOST_EXPORTS) \
4896 cd $(HOST_SUBDIR)/opcodes && \
4897 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4899 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4900 clean-stagefeedback: clean-stagefeedback-opcodes
4901 clean-stagefeedback-opcodes:
4902 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4903 || exit 0 ; \
4904 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
4905 cd $(HOST_SUBDIR)/opcodes && \
4906 $(MAKE) $(FLAGS_TO_PASS) \
4907 $(POSTSTAGE1_FLAGS_TO_PASS) \
4908 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4909 @endif opcodes-bootstrap
4915 .PHONY: check-opcodes maybe-check-opcodes
4916 maybe-check-opcodes:
4917 @if opcodes
4918 maybe-check-opcodes: check-opcodes
4920 check-opcodes:
4921 @r=`${PWD_COMMAND}`; export r; \
4922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4923 $(HOST_EXPORTS) \
4924 (cd $(HOST_SUBDIR)/opcodes && \
4925 $(MAKE) $(FLAGS_TO_PASS) check)
4927 @endif opcodes
4929 .PHONY: install-opcodes maybe-install-opcodes
4930 maybe-install-opcodes:
4931 @if opcodes
4932 maybe-install-opcodes: install-opcodes
4934 install-opcodes: installdirs
4935 @r=`${PWD_COMMAND}`; export r; \
4936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4937 $(HOST_EXPORTS) \
4938 (cd $(HOST_SUBDIR)/opcodes && \
4939 $(MAKE) $(FLAGS_TO_PASS) install)
4941 @endif opcodes
4943 # Other targets (info, dvi, etc.)
4945 .PHONY: maybe-info-opcodes info-opcodes
4946 maybe-info-opcodes:
4947 @if opcodes
4948 maybe-info-opcodes: info-opcodes
4950 info-opcodes: \
4951 configure-opcodes
4952 @[ -f ./opcodes/Makefile ] || exit 0; \
4953 r=`${PWD_COMMAND}`; export r; \
4954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4955 $(HOST_EXPORTS) \
4956 for flag in $(EXTRA_HOST_FLAGS) ; do \
4957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4958 done; \
4959 echo "Doing info in opcodes" ; \
4960 (cd $(HOST_SUBDIR)/opcodes && \
4961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4963 "RANLIB=$${RANLIB}" \
4964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4965 info) \
4966 || exit 1
4968 @endif opcodes
4970 .PHONY: maybe-dvi-opcodes dvi-opcodes
4971 maybe-dvi-opcodes:
4972 @if opcodes
4973 maybe-dvi-opcodes: dvi-opcodes
4975 dvi-opcodes: \
4976 configure-opcodes
4977 @[ -f ./opcodes/Makefile ] || exit 0; \
4978 r=`${PWD_COMMAND}`; export r; \
4979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4980 $(HOST_EXPORTS) \
4981 for flag in $(EXTRA_HOST_FLAGS) ; do \
4982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4983 done; \
4984 echo "Doing dvi in opcodes" ; \
4985 (cd $(HOST_SUBDIR)/opcodes && \
4986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4988 "RANLIB=$${RANLIB}" \
4989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4990 dvi) \
4991 || exit 1
4993 @endif opcodes
4995 .PHONY: maybe-html-opcodes html-opcodes
4996 maybe-html-opcodes:
4997 @if opcodes
4998 maybe-html-opcodes: html-opcodes
5000 html-opcodes: \
5001 configure-opcodes
5002 @[ -f ./opcodes/Makefile ] || exit 0; \
5003 r=`${PWD_COMMAND}`; export r; \
5004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5005 $(HOST_EXPORTS) \
5006 for flag in $(EXTRA_HOST_FLAGS) ; do \
5007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5008 done; \
5009 echo "Doing html in opcodes" ; \
5010 (cd $(HOST_SUBDIR)/opcodes && \
5011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5013 "RANLIB=$${RANLIB}" \
5014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5015 html) \
5016 || exit 1
5018 @endif opcodes
5020 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5021 maybe-TAGS-opcodes:
5022 @if opcodes
5023 maybe-TAGS-opcodes: TAGS-opcodes
5025 TAGS-opcodes: \
5026 configure-opcodes
5027 @[ -f ./opcodes/Makefile ] || exit 0; \
5028 r=`${PWD_COMMAND}`; export r; \
5029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5030 $(HOST_EXPORTS) \
5031 for flag in $(EXTRA_HOST_FLAGS) ; do \
5032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5033 done; \
5034 echo "Doing TAGS in opcodes" ; \
5035 (cd $(HOST_SUBDIR)/opcodes && \
5036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5038 "RANLIB=$${RANLIB}" \
5039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5040 TAGS) \
5041 || exit 1
5043 @endif opcodes
5045 .PHONY: maybe-install-info-opcodes install-info-opcodes
5046 maybe-install-info-opcodes:
5047 @if opcodes
5048 maybe-install-info-opcodes: install-info-opcodes
5050 install-info-opcodes: \
5051 configure-opcodes \
5052 info-opcodes
5053 @[ -f ./opcodes/Makefile ] || exit 0; \
5054 r=`${PWD_COMMAND}`; export r; \
5055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5056 $(HOST_EXPORTS) \
5057 for flag in $(EXTRA_HOST_FLAGS) ; do \
5058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5059 done; \
5060 echo "Doing install-info in opcodes" ; \
5061 (cd $(HOST_SUBDIR)/opcodes && \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5064 "RANLIB=$${RANLIB}" \
5065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5066 install-info) \
5067 || exit 1
5069 @endif opcodes
5071 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5072 maybe-installcheck-opcodes:
5073 @if opcodes
5074 maybe-installcheck-opcodes: installcheck-opcodes
5076 installcheck-opcodes: \
5077 configure-opcodes
5078 @[ -f ./opcodes/Makefile ] || exit 0; \
5079 r=`${PWD_COMMAND}`; export r; \
5080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5081 $(HOST_EXPORTS) \
5082 for flag in $(EXTRA_HOST_FLAGS) ; do \
5083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5084 done; \
5085 echo "Doing installcheck in opcodes" ; \
5086 (cd $(HOST_SUBDIR)/opcodes && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5089 "RANLIB=$${RANLIB}" \
5090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5091 installcheck) \
5092 || exit 1
5094 @endif opcodes
5096 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5097 maybe-mostlyclean-opcodes:
5098 @if opcodes
5099 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5101 mostlyclean-opcodes:
5102 @[ -f ./opcodes/Makefile ] || exit 0; \
5103 r=`${PWD_COMMAND}`; export r; \
5104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 $(HOST_EXPORTS) \
5106 for flag in $(EXTRA_HOST_FLAGS) ; do \
5107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5108 done; \
5109 echo "Doing mostlyclean in opcodes" ; \
5110 (cd $(HOST_SUBDIR)/opcodes && \
5111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5113 "RANLIB=$${RANLIB}" \
5114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5115 mostlyclean) \
5116 || exit 1
5118 @endif opcodes
5120 .PHONY: maybe-clean-opcodes clean-opcodes
5121 maybe-clean-opcodes:
5122 @if opcodes
5123 maybe-clean-opcodes: clean-opcodes
5125 clean-opcodes:
5126 @[ -f ./opcodes/Makefile ] || exit 0; \
5127 r=`${PWD_COMMAND}`; export r; \
5128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5129 $(HOST_EXPORTS) \
5130 for flag in $(EXTRA_HOST_FLAGS) ; do \
5131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5132 done; \
5133 echo "Doing clean in opcodes" ; \
5134 (cd $(HOST_SUBDIR)/opcodes && \
5135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5137 "RANLIB=$${RANLIB}" \
5138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5139 clean) \
5140 || exit 1
5142 @endif opcodes
5144 .PHONY: maybe-distclean-opcodes distclean-opcodes
5145 maybe-distclean-opcodes:
5146 @if opcodes
5147 maybe-distclean-opcodes: distclean-opcodes
5149 distclean-opcodes:
5150 @[ -f ./opcodes/Makefile ] || exit 0; \
5151 r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5153 $(HOST_EXPORTS) \
5154 for flag in $(EXTRA_HOST_FLAGS) ; do \
5155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5156 done; \
5157 echo "Doing distclean in opcodes" ; \
5158 (cd $(HOST_SUBDIR)/opcodes && \
5159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5161 "RANLIB=$${RANLIB}" \
5162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5163 distclean) \
5164 || exit 1
5166 @endif opcodes
5168 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5169 maybe-maintainer-clean-opcodes:
5170 @if opcodes
5171 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5173 maintainer-clean-opcodes:
5174 @[ -f ./opcodes/Makefile ] || exit 0; \
5175 r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 $(HOST_EXPORTS) \
5178 for flag in $(EXTRA_HOST_FLAGS) ; do \
5179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5180 done; \
5181 echo "Doing maintainer-clean in opcodes" ; \
5182 (cd $(HOST_SUBDIR)/opcodes && \
5183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5185 "RANLIB=$${RANLIB}" \
5186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5187 maintainer-clean) \
5188 || exit 1
5190 @endif opcodes
5194 .PHONY: configure-binutils maybe-configure-binutils
5195 maybe-configure-binutils:
5196 @if binutils
5197 maybe-configure-binutils: configure-binutils
5198 configure-binutils:
5199 @test -f stage_last && exit 0; \
5200 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5202 r=`${PWD_COMMAND}`; export r; \
5203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5204 $(HOST_EXPORTS) \
5205 echo Configuring in $(HOST_SUBDIR)/binutils; \
5206 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5207 case $(srcdir) in \
5208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5209 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5211 esac; \
5212 srcdiroption="--srcdir=$${topdir}/binutils"; \
5213 libsrcdir="$$s/binutils"; \
5214 $(SHELL) $${libsrcdir}/configure \
5215 $(HOST_CONFIGARGS) $${srcdiroption} \
5216 || exit 1
5217 @endif binutils
5221 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5222 maybe-configure-stage1-binutils:
5223 @if binutils-bootstrap
5224 maybe-configure-stage1-binutils: configure-stage1-binutils
5225 configure-stage1-binutils:
5226 @$(MAKE) stage1-start
5227 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5228 r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 $(HOST_EXPORTS) \
5231 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5232 cd $(HOST_SUBDIR)/binutils || exit 1; \
5233 case $(srcdir) in \
5234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5235 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5237 esac; \
5238 srcdiroption="--srcdir=$${topdir}/binutils"; \
5239 libsrcdir="$$s/binutils"; \
5240 $(SHELL) $${libsrcdir}/configure \
5241 $(HOST_CONFIGARGS) $${srcdiroption} \
5242 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5243 @endif binutils-bootstrap
5245 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5246 maybe-configure-stage2-binutils:
5247 @if binutils-bootstrap
5248 maybe-configure-stage2-binutils: configure-stage2-binutils
5249 configure-stage2-binutils:
5250 @$(MAKE) stage2-start
5251 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5252 r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(HOST_EXPORTS) \
5255 $(POSTSTAGE1_HOST_EXPORTS) \
5256 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5257 cd $(HOST_SUBDIR)/binutils || exit 1; \
5258 case $(srcdir) in \
5259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5260 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5262 esac; \
5263 srcdiroption="--srcdir=$${topdir}/binutils"; \
5264 libsrcdir="$$s/binutils"; \
5265 $(SHELL) $${libsrcdir}/configure \
5266 $(HOST_CONFIGARGS) $${srcdiroption} \
5267 @stage2_werror_flag@
5268 @endif binutils-bootstrap
5270 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5271 maybe-configure-stage3-binutils:
5272 @if binutils-bootstrap
5273 maybe-configure-stage3-binutils: configure-stage3-binutils
5274 configure-stage3-binutils:
5275 @$(MAKE) stage3-start
5276 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5277 r=`${PWD_COMMAND}`; export r; \
5278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5279 $(HOST_EXPORTS) \
5280 $(POSTSTAGE1_HOST_EXPORTS) \
5281 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5282 cd $(HOST_SUBDIR)/binutils || exit 1; \
5283 case $(srcdir) in \
5284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5285 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5287 esac; \
5288 srcdiroption="--srcdir=$${topdir}/binutils"; \
5289 libsrcdir="$$s/binutils"; \
5290 $(SHELL) $${libsrcdir}/configure \
5291 $(HOST_CONFIGARGS) $${srcdiroption} \
5292 @stage2_werror_flag@
5293 @endif binutils-bootstrap
5295 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5296 maybe-configure-stage4-binutils:
5297 @if binutils-bootstrap
5298 maybe-configure-stage4-binutils: configure-stage4-binutils
5299 configure-stage4-binutils:
5300 @$(MAKE) stage4-start
5301 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5302 r=`${PWD_COMMAND}`; export r; \
5303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5304 $(HOST_EXPORTS) \
5305 $(POSTSTAGE1_HOST_EXPORTS) \
5306 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5307 cd $(HOST_SUBDIR)/binutils || exit 1; \
5308 case $(srcdir) in \
5309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5310 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5312 esac; \
5313 srcdiroption="--srcdir=$${topdir}/binutils"; \
5314 libsrcdir="$$s/binutils"; \
5315 $(SHELL) $${libsrcdir}/configure \
5316 $(HOST_CONFIGARGS) $${srcdiroption} \
5317 @stage2_werror_flag@
5318 @endif binutils-bootstrap
5320 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5321 maybe-configure-stageprofile-binutils:
5322 @if binutils-bootstrap
5323 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5324 configure-stageprofile-binutils:
5325 @$(MAKE) stageprofile-start
5326 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5327 r=`${PWD_COMMAND}`; export r; \
5328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 $(HOST_EXPORTS) \
5330 $(POSTSTAGE1_HOST_EXPORTS) \
5331 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5332 cd $(HOST_SUBDIR)/binutils || exit 1; \
5333 case $(srcdir) in \
5334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5335 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5337 esac; \
5338 srcdiroption="--srcdir=$${topdir}/binutils"; \
5339 libsrcdir="$$s/binutils"; \
5340 $(SHELL) $${libsrcdir}/configure \
5341 $(HOST_CONFIGARGS) $${srcdiroption} \
5342 @stage2_werror_flag@
5343 @endif binutils-bootstrap
5345 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5346 maybe-configure-stagefeedback-binutils:
5347 @if binutils-bootstrap
5348 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5349 configure-stagefeedback-binutils:
5350 @$(MAKE) stagefeedback-start
5351 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5352 r=`${PWD_COMMAND}`; export r; \
5353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5354 $(HOST_EXPORTS) \
5355 $(POSTSTAGE1_HOST_EXPORTS) \
5356 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5357 cd $(HOST_SUBDIR)/binutils || exit 1; \
5358 case $(srcdir) in \
5359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5360 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5362 esac; \
5363 srcdiroption="--srcdir=$${topdir}/binutils"; \
5364 libsrcdir="$$s/binutils"; \
5365 $(SHELL) $${libsrcdir}/configure \
5366 $(HOST_CONFIGARGS) $${srcdiroption} \
5367 @stage2_werror_flag@
5368 @endif binutils-bootstrap
5374 .PHONY: all-binutils maybe-all-binutils
5375 maybe-all-binutils:
5376 @if binutils
5377 TARGET-binutils=all
5378 maybe-all-binutils: all-binutils
5379 all-binutils: configure-binutils
5380 @test -f stage_last && exit 0; \
5381 r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5383 $(HOST_EXPORTS) \
5384 (cd $(HOST_SUBDIR)/binutils && \
5385 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5386 @endif binutils
5390 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5391 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5392 maybe-all-stage1-binutils:
5393 maybe-clean-stage1-binutils:
5394 @if binutils-bootstrap
5395 maybe-all-stage1-binutils: all-stage1-binutils
5396 all-stage1: all-stage1-binutils
5397 all-stage1-binutils: configure-stage1-binutils
5398 @$(MAKE) stage1-start
5399 @r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) \
5402 cd $(HOST_SUBDIR)/binutils && \
5403 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
5405 maybe-clean-stage1-binutils: clean-stage1-binutils
5406 clean-stage1: clean-stage1-binutils
5407 clean-stage1-binutils:
5408 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5409 || exit 0 ; \
5410 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \
5411 cd $(HOST_SUBDIR)/binutils && \
5412 $(MAKE) $(FLAGS_TO_PASS) \
5413 CFLAGS="$(STAGE1_CFLAGS)" clean
5414 @endif binutils-bootstrap
5417 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5418 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5419 maybe-all-stage2-binutils:
5420 maybe-clean-stage2-binutils:
5421 @if binutils-bootstrap
5422 maybe-all-stage2-binutils: all-stage2-binutils
5423 all-stage2: all-stage2-binutils
5424 all-stage2-binutils: configure-stage2-binutils
5425 @$(MAKE) stage2-start
5426 @r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 $(HOST_EXPORTS) \
5429 $(POSTSTAGE1_HOST_EXPORTS) \
5430 cd $(HOST_SUBDIR)/binutils && \
5431 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5433 maybe-clean-stage2-binutils: clean-stage2-binutils
5434 clean-stage2: clean-stage2-binutils
5435 clean-stage2-binutils:
5436 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5437 || exit 0 ; \
5438 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \
5439 cd $(HOST_SUBDIR)/binutils && \
5440 $(MAKE) $(FLAGS_TO_PASS) \
5441 $(POSTSTAGE1_FLAGS_TO_PASS) \
5442 clean
5443 @endif binutils-bootstrap
5446 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5447 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5448 maybe-all-stage3-binutils:
5449 maybe-clean-stage3-binutils:
5450 @if binutils-bootstrap
5451 maybe-all-stage3-binutils: all-stage3-binutils
5452 all-stage3: all-stage3-binutils
5453 all-stage3-binutils: configure-stage3-binutils
5454 @$(MAKE) stage3-start
5455 @r=`${PWD_COMMAND}`; export r; \
5456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5457 $(HOST_EXPORTS) \
5458 $(POSTSTAGE1_HOST_EXPORTS) \
5459 cd $(HOST_SUBDIR)/binutils && \
5460 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5462 maybe-clean-stage3-binutils: clean-stage3-binutils
5463 clean-stage3: clean-stage3-binutils
5464 clean-stage3-binutils:
5465 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5466 || exit 0 ; \
5467 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \
5468 cd $(HOST_SUBDIR)/binutils && \
5469 $(MAKE) $(FLAGS_TO_PASS) \
5470 $(POSTSTAGE1_FLAGS_TO_PASS) \
5471 clean
5472 @endif binutils-bootstrap
5475 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5476 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5477 maybe-all-stage4-binutils:
5478 maybe-clean-stage4-binutils:
5479 @if binutils-bootstrap
5480 maybe-all-stage4-binutils: all-stage4-binutils
5481 all-stage4: all-stage4-binutils
5482 all-stage4-binutils: configure-stage4-binutils
5483 @$(MAKE) stage4-start
5484 @r=`${PWD_COMMAND}`; export r; \
5485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 $(HOST_EXPORTS) \
5487 $(POSTSTAGE1_HOST_EXPORTS) \
5488 cd $(HOST_SUBDIR)/binutils && \
5489 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5491 maybe-clean-stage4-binutils: clean-stage4-binutils
5492 clean-stage4: clean-stage4-binutils
5493 clean-stage4-binutils:
5494 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5495 || exit 0 ; \
5496 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \
5497 cd $(HOST_SUBDIR)/binutils && \
5498 $(MAKE) $(FLAGS_TO_PASS) \
5499 $(POSTSTAGE1_FLAGS_TO_PASS) \
5500 clean
5501 @endif binutils-bootstrap
5504 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5505 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5506 maybe-all-stageprofile-binutils:
5507 maybe-clean-stageprofile-binutils:
5508 @if binutils-bootstrap
5509 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5510 all-stageprofile: all-stageprofile-binutils
5511 all-stageprofile-binutils: configure-stageprofile-binutils
5512 @$(MAKE) stageprofile-start
5513 @r=`${PWD_COMMAND}`; export r; \
5514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5515 $(HOST_EXPORTS) \
5516 $(POSTSTAGE1_HOST_EXPORTS) \
5517 cd $(HOST_SUBDIR)/binutils && \
5518 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
5520 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5521 clean-stageprofile: clean-stageprofile-binutils
5522 clean-stageprofile-binutils:
5523 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5524 || exit 0 ; \
5525 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \
5526 cd $(HOST_SUBDIR)/binutils && \
5527 $(MAKE) $(FLAGS_TO_PASS) \
5528 $(POSTSTAGE1_FLAGS_TO_PASS) \
5529 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5530 @endif binutils-bootstrap
5533 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5534 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5535 maybe-all-stagefeedback-binutils:
5536 maybe-clean-stagefeedback-binutils:
5537 @if binutils-bootstrap
5538 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5539 all-stagefeedback: all-stagefeedback-binutils
5540 all-stagefeedback-binutils: configure-stagefeedback-binutils
5541 @$(MAKE) stagefeedback-start
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 $(POSTSTAGE1_HOST_EXPORTS) \
5546 cd $(HOST_SUBDIR)/binutils && \
5547 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
5549 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5550 clean-stagefeedback: clean-stagefeedback-binutils
5551 clean-stagefeedback-binutils:
5552 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5553 || exit 0 ; \
5554 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
5555 cd $(HOST_SUBDIR)/binutils && \
5556 $(MAKE) $(FLAGS_TO_PASS) \
5557 $(POSTSTAGE1_FLAGS_TO_PASS) \
5558 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5559 @endif binutils-bootstrap
5565 .PHONY: check-binutils maybe-check-binutils
5566 maybe-check-binutils:
5567 @if binutils
5568 maybe-check-binutils: check-binutils
5570 check-binutils:
5571 @r=`${PWD_COMMAND}`; export r; \
5572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 $(HOST_EXPORTS) \
5574 (cd $(HOST_SUBDIR)/binutils && \
5575 $(MAKE) $(FLAGS_TO_PASS) check)
5577 @endif binutils
5579 .PHONY: install-binutils maybe-install-binutils
5580 maybe-install-binutils:
5581 @if binutils
5582 maybe-install-binutils: install-binutils
5584 install-binutils: installdirs
5585 @r=`${PWD_COMMAND}`; export r; \
5586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5587 $(HOST_EXPORTS) \
5588 (cd $(HOST_SUBDIR)/binutils && \
5589 $(MAKE) $(FLAGS_TO_PASS) install)
5591 @endif binutils
5593 # Other targets (info, dvi, etc.)
5595 .PHONY: maybe-info-binutils info-binutils
5596 maybe-info-binutils:
5597 @if binutils
5598 maybe-info-binutils: info-binutils
5600 info-binutils: \
5601 configure-binutils
5602 @[ -f ./binutils/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(HOST_EXPORTS) \
5606 for flag in $(EXTRA_HOST_FLAGS) ; do \
5607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5608 done; \
5609 echo "Doing info in binutils" ; \
5610 (cd $(HOST_SUBDIR)/binutils && \
5611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5613 "RANLIB=$${RANLIB}" \
5614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5615 info) \
5616 || exit 1
5618 @endif binutils
5620 .PHONY: maybe-dvi-binutils dvi-binutils
5621 maybe-dvi-binutils:
5622 @if binutils
5623 maybe-dvi-binutils: dvi-binutils
5625 dvi-binutils: \
5626 configure-binutils
5627 @[ -f ./binutils/Makefile ] || exit 0; \
5628 r=`${PWD_COMMAND}`; export r; \
5629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5630 $(HOST_EXPORTS) \
5631 for flag in $(EXTRA_HOST_FLAGS) ; do \
5632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5633 done; \
5634 echo "Doing dvi in binutils" ; \
5635 (cd $(HOST_SUBDIR)/binutils && \
5636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5638 "RANLIB=$${RANLIB}" \
5639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5640 dvi) \
5641 || exit 1
5643 @endif binutils
5645 .PHONY: maybe-html-binutils html-binutils
5646 maybe-html-binutils:
5647 @if binutils
5648 maybe-html-binutils: html-binutils
5650 html-binutils: \
5651 configure-binutils
5652 @[ -f ./binutils/Makefile ] || exit 0; \
5653 r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 $(HOST_EXPORTS) \
5656 for flag in $(EXTRA_HOST_FLAGS) ; do \
5657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5658 done; \
5659 echo "Doing html in binutils" ; \
5660 (cd $(HOST_SUBDIR)/binutils && \
5661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5663 "RANLIB=$${RANLIB}" \
5664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5665 html) \
5666 || exit 1
5668 @endif binutils
5670 .PHONY: maybe-TAGS-binutils TAGS-binutils
5671 maybe-TAGS-binutils:
5672 @if binutils
5673 maybe-TAGS-binutils: TAGS-binutils
5675 TAGS-binutils: \
5676 configure-binutils
5677 @[ -f ./binutils/Makefile ] || exit 0; \
5678 r=`${PWD_COMMAND}`; export r; \
5679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5680 $(HOST_EXPORTS) \
5681 for flag in $(EXTRA_HOST_FLAGS) ; do \
5682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5683 done; \
5684 echo "Doing TAGS in binutils" ; \
5685 (cd $(HOST_SUBDIR)/binutils && \
5686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5688 "RANLIB=$${RANLIB}" \
5689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5690 TAGS) \
5691 || exit 1
5693 @endif binutils
5695 .PHONY: maybe-install-info-binutils install-info-binutils
5696 maybe-install-info-binutils:
5697 @if binutils
5698 maybe-install-info-binutils: install-info-binutils
5700 install-info-binutils: \
5701 configure-binutils \
5702 info-binutils
5703 @[ -f ./binutils/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(HOST_EXPORTS) \
5707 for flag in $(EXTRA_HOST_FLAGS) ; do \
5708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5709 done; \
5710 echo "Doing install-info in binutils" ; \
5711 (cd $(HOST_SUBDIR)/binutils && \
5712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5714 "RANLIB=$${RANLIB}" \
5715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5716 install-info) \
5717 || exit 1
5719 @endif binutils
5721 .PHONY: maybe-installcheck-binutils installcheck-binutils
5722 maybe-installcheck-binutils:
5723 @if binutils
5724 maybe-installcheck-binutils: installcheck-binutils
5726 installcheck-binutils: \
5727 configure-binutils
5728 @[ -f ./binutils/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS) ; do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing installcheck in binutils" ; \
5736 (cd $(HOST_SUBDIR)/binutils && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5741 installcheck) \
5742 || exit 1
5744 @endif binutils
5746 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5747 maybe-mostlyclean-binutils:
5748 @if binutils
5749 maybe-mostlyclean-binutils: mostlyclean-binutils
5751 mostlyclean-binutils:
5752 @[ -f ./binutils/Makefile ] || exit 0; \
5753 r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5755 $(HOST_EXPORTS) \
5756 for flag in $(EXTRA_HOST_FLAGS) ; do \
5757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5758 done; \
5759 echo "Doing mostlyclean in binutils" ; \
5760 (cd $(HOST_SUBDIR)/binutils && \
5761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763 "RANLIB=$${RANLIB}" \
5764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5765 mostlyclean) \
5766 || exit 1
5768 @endif binutils
5770 .PHONY: maybe-clean-binutils clean-binutils
5771 maybe-clean-binutils:
5772 @if binutils
5773 maybe-clean-binutils: clean-binutils
5775 clean-binutils:
5776 @[ -f ./binutils/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(HOST_EXPORTS) \
5780 for flag in $(EXTRA_HOST_FLAGS) ; do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing clean in binutils" ; \
5784 (cd $(HOST_SUBDIR)/binutils && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5789 clean) \
5790 || exit 1
5792 @endif binutils
5794 .PHONY: maybe-distclean-binutils distclean-binutils
5795 maybe-distclean-binutils:
5796 @if binutils
5797 maybe-distclean-binutils: distclean-binutils
5799 distclean-binutils:
5800 @[ -f ./binutils/Makefile ] || exit 0; \
5801 r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(HOST_EXPORTS) \
5804 for flag in $(EXTRA_HOST_FLAGS) ; do \
5805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5806 done; \
5807 echo "Doing distclean in binutils" ; \
5808 (cd $(HOST_SUBDIR)/binutils && \
5809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811 "RANLIB=$${RANLIB}" \
5812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5813 distclean) \
5814 || exit 1
5816 @endif binutils
5818 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5819 maybe-maintainer-clean-binutils:
5820 @if binutils
5821 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5823 maintainer-clean-binutils:
5824 @[ -f ./binutils/Makefile ] || exit 0; \
5825 r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 $(HOST_EXPORTS) \
5828 for flag in $(EXTRA_HOST_FLAGS) ; do \
5829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5830 done; \
5831 echo "Doing maintainer-clean in binutils" ; \
5832 (cd $(HOST_SUBDIR)/binutils && \
5833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5835 "RANLIB=$${RANLIB}" \
5836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5837 maintainer-clean) \
5838 || exit 1
5840 @endif binutils
5844 .PHONY: configure-bison maybe-configure-bison
5845 maybe-configure-bison:
5846 @if bison
5847 maybe-configure-bison: configure-bison
5848 configure-bison:
5849 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5851 r=`${PWD_COMMAND}`; export r; \
5852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5853 $(HOST_EXPORTS) \
5854 echo Configuring in $(HOST_SUBDIR)/bison; \
5855 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5856 case $(srcdir) in \
5857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5858 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5860 esac; \
5861 srcdiroption="--srcdir=$${topdir}/bison"; \
5862 libsrcdir="$$s/bison"; \
5863 $(SHELL) $${libsrcdir}/configure \
5864 $(HOST_CONFIGARGS) $${srcdiroption} \
5865 || exit 1
5866 @endif bison
5872 .PHONY: all-bison maybe-all-bison
5873 maybe-all-bison:
5874 @if bison
5875 TARGET-bison=all
5876 maybe-all-bison: all-bison
5877 all-bison: configure-bison
5878 @r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5880 $(HOST_EXPORTS) \
5881 (cd $(HOST_SUBDIR)/bison && \
5882 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5883 @endif bison
5888 .PHONY: check-bison maybe-check-bison
5889 maybe-check-bison:
5890 @if bison
5891 maybe-check-bison: check-bison
5893 # This module is only tested in a native toolchain.
5894 check-bison:
5895 @if [ '$(host)' = '$(target)' ] ; then \
5896 r=`${PWD_COMMAND}`; export r; \
5897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5898 $(HOST_EXPORTS) \
5899 (cd $(HOST_SUBDIR)/bison && \
5900 $(MAKE) $(FLAGS_TO_PASS) check); \
5903 @endif bison
5905 .PHONY: install-bison maybe-install-bison
5906 maybe-install-bison:
5907 @if bison
5908 maybe-install-bison: install-bison
5910 install-bison: installdirs
5911 @r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 (cd $(HOST_SUBDIR)/bison && \
5915 $(MAKE) $(FLAGS_TO_PASS) install)
5917 @endif bison
5919 # Other targets (info, dvi, etc.)
5921 .PHONY: maybe-info-bison info-bison
5922 maybe-info-bison:
5923 @if bison
5924 maybe-info-bison: info-bison
5926 info-bison: \
5927 configure-bison
5928 @[ -f ./bison/Makefile ] || exit 0; \
5929 r=`${PWD_COMMAND}`; export r; \
5930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5931 $(HOST_EXPORTS) \
5932 for flag in $(EXTRA_HOST_FLAGS) ; do \
5933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5934 done; \
5935 echo "Doing info in bison" ; \
5936 (cd $(HOST_SUBDIR)/bison && \
5937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5939 "RANLIB=$${RANLIB}" \
5940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5941 info) \
5942 || exit 1
5944 @endif bison
5946 .PHONY: maybe-dvi-bison dvi-bison
5947 maybe-dvi-bison:
5948 @if bison
5949 maybe-dvi-bison: dvi-bison
5951 dvi-bison: \
5952 configure-bison
5953 @[ -f ./bison/Makefile ] || exit 0; \
5954 r=`${PWD_COMMAND}`; export r; \
5955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS) ; do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing dvi in bison" ; \
5961 (cd $(HOST_SUBDIR)/bison && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 dvi) \
5967 || exit 1
5969 @endif bison
5971 .PHONY: maybe-html-bison html-bison
5972 maybe-html-bison:
5973 @if bison
5974 maybe-html-bison: html-bison
5976 html-bison: \
5977 configure-bison
5978 @[ -f ./bison/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(HOST_EXPORTS) \
5982 for flag in $(EXTRA_HOST_FLAGS) ; do \
5983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5984 done; \
5985 echo "Doing html in bison" ; \
5986 (cd $(HOST_SUBDIR)/bison && \
5987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5989 "RANLIB=$${RANLIB}" \
5990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5991 html) \
5992 || exit 1
5994 @endif bison
5996 .PHONY: maybe-TAGS-bison TAGS-bison
5997 maybe-TAGS-bison:
5998 @if bison
5999 maybe-TAGS-bison: TAGS-bison
6001 TAGS-bison: \
6002 configure-bison
6003 @[ -f ./bison/Makefile ] || exit 0; \
6004 r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(HOST_EXPORTS) \
6007 for flag in $(EXTRA_HOST_FLAGS) ; do \
6008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6009 done; \
6010 echo "Doing TAGS in bison" ; \
6011 (cd $(HOST_SUBDIR)/bison && \
6012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6014 "RANLIB=$${RANLIB}" \
6015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6016 TAGS) \
6017 || exit 1
6019 @endif bison
6021 .PHONY: maybe-install-info-bison install-info-bison
6022 maybe-install-info-bison:
6023 @if bison
6024 maybe-install-info-bison: install-info-bison
6026 install-info-bison: \
6027 configure-bison \
6028 info-bison
6029 @[ -f ./bison/Makefile ] || exit 0; \
6030 r=`${PWD_COMMAND}`; export r; \
6031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6032 $(HOST_EXPORTS) \
6033 for flag in $(EXTRA_HOST_FLAGS) ; do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6035 done; \
6036 echo "Doing install-info in bison" ; \
6037 (cd $(HOST_SUBDIR)/bison && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6040 "RANLIB=$${RANLIB}" \
6041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6042 install-info) \
6043 || exit 1
6045 @endif bison
6047 .PHONY: maybe-installcheck-bison installcheck-bison
6048 maybe-installcheck-bison:
6049 @if bison
6050 maybe-installcheck-bison: installcheck-bison
6052 installcheck-bison: \
6053 configure-bison
6054 @[ -f ./bison/Makefile ] || exit 0; \
6055 r=`${PWD_COMMAND}`; export r; \
6056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6057 $(HOST_EXPORTS) \
6058 for flag in $(EXTRA_HOST_FLAGS) ; do \
6059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6060 done; \
6061 echo "Doing installcheck in bison" ; \
6062 (cd $(HOST_SUBDIR)/bison && \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6065 "RANLIB=$${RANLIB}" \
6066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 installcheck) \
6068 || exit 1
6070 @endif bison
6072 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6073 maybe-mostlyclean-bison:
6074 @if bison
6075 maybe-mostlyclean-bison: mostlyclean-bison
6077 mostlyclean-bison:
6078 @[ -f ./bison/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(HOST_EXPORTS) \
6082 for flag in $(EXTRA_HOST_FLAGS) ; do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 echo "Doing mostlyclean in bison" ; \
6086 (cd $(HOST_SUBDIR)/bison && \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6091 mostlyclean) \
6092 || exit 1
6094 @endif bison
6096 .PHONY: maybe-clean-bison clean-bison
6097 maybe-clean-bison:
6098 @if bison
6099 maybe-clean-bison: clean-bison
6101 clean-bison:
6102 @[ -f ./bison/Makefile ] || exit 0; \
6103 r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(HOST_EXPORTS) \
6106 for flag in $(EXTRA_HOST_FLAGS) ; do \
6107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6108 done; \
6109 echo "Doing clean in bison" ; \
6110 (cd $(HOST_SUBDIR)/bison && \
6111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6113 "RANLIB=$${RANLIB}" \
6114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6115 clean) \
6116 || exit 1
6118 @endif bison
6120 .PHONY: maybe-distclean-bison distclean-bison
6121 maybe-distclean-bison:
6122 @if bison
6123 maybe-distclean-bison: distclean-bison
6125 distclean-bison:
6126 @[ -f ./bison/Makefile ] || exit 0; \
6127 r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 $(HOST_EXPORTS) \
6130 for flag in $(EXTRA_HOST_FLAGS) ; do \
6131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6132 done; \
6133 echo "Doing distclean in bison" ; \
6134 (cd $(HOST_SUBDIR)/bison && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6137 "RANLIB=$${RANLIB}" \
6138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6139 distclean) \
6140 || exit 1
6142 @endif bison
6144 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6145 maybe-maintainer-clean-bison:
6146 @if bison
6147 maybe-maintainer-clean-bison: maintainer-clean-bison
6149 maintainer-clean-bison:
6150 @[ -f ./bison/Makefile ] || exit 0; \
6151 r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) \
6154 for flag in $(EXTRA_HOST_FLAGS) ; do \
6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6156 done; \
6157 echo "Doing maintainer-clean in bison" ; \
6158 (cd $(HOST_SUBDIR)/bison && \
6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6161 "RANLIB=$${RANLIB}" \
6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6163 maintainer-clean) \
6164 || exit 1
6166 @endif bison
6170 .PHONY: configure-byacc maybe-configure-byacc
6171 maybe-configure-byacc:
6172 @if byacc
6173 maybe-configure-byacc: configure-byacc
6174 configure-byacc:
6175 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6179 $(HOST_EXPORTS) \
6180 echo Configuring in $(HOST_SUBDIR)/byacc; \
6181 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6182 case $(srcdir) in \
6183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6184 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6186 esac; \
6187 srcdiroption="--srcdir=$${topdir}/byacc"; \
6188 libsrcdir="$$s/byacc"; \
6189 $(SHELL) $${libsrcdir}/configure \
6190 $(HOST_CONFIGARGS) $${srcdiroption} \
6191 || exit 1
6192 @endif byacc
6198 .PHONY: all-byacc maybe-all-byacc
6199 maybe-all-byacc:
6200 @if byacc
6201 TARGET-byacc=all
6202 maybe-all-byacc: all-byacc
6203 all-byacc: configure-byacc
6204 @r=`${PWD_COMMAND}`; export r; \
6205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6206 $(HOST_EXPORTS) \
6207 (cd $(HOST_SUBDIR)/byacc && \
6208 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6209 @endif byacc
6214 .PHONY: check-byacc maybe-check-byacc
6215 maybe-check-byacc:
6216 @if byacc
6217 maybe-check-byacc: check-byacc
6219 # This module is only tested in a native toolchain.
6220 check-byacc:
6221 @if [ '$(host)' = '$(target)' ] ; then \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6224 $(HOST_EXPORTS) \
6225 (cd $(HOST_SUBDIR)/byacc && \
6226 $(MAKE) $(FLAGS_TO_PASS) check); \
6229 @endif byacc
6231 .PHONY: install-byacc maybe-install-byacc
6232 maybe-install-byacc:
6233 @if byacc
6234 maybe-install-byacc: install-byacc
6236 install-byacc: installdirs
6237 @r=`${PWD_COMMAND}`; export r; \
6238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6239 $(HOST_EXPORTS) \
6240 (cd $(HOST_SUBDIR)/byacc && \
6241 $(MAKE) $(FLAGS_TO_PASS) install)
6243 @endif byacc
6245 # Other targets (info, dvi, etc.)
6247 .PHONY: maybe-info-byacc info-byacc
6248 maybe-info-byacc:
6249 @if byacc
6250 maybe-info-byacc: info-byacc
6252 info-byacc: \
6253 configure-byacc
6254 @[ -f ./byacc/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(HOST_EXPORTS) \
6258 for flag in $(EXTRA_HOST_FLAGS) ; do \
6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 done; \
6261 echo "Doing info in byacc" ; \
6262 (cd $(HOST_SUBDIR)/byacc && \
6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6265 "RANLIB=$${RANLIB}" \
6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6267 info) \
6268 || exit 1
6270 @endif byacc
6272 .PHONY: maybe-dvi-byacc dvi-byacc
6273 maybe-dvi-byacc:
6274 @if byacc
6275 maybe-dvi-byacc: dvi-byacc
6277 dvi-byacc: \
6278 configure-byacc
6279 @[ -f ./byacc/Makefile ] || exit 0; \
6280 r=`${PWD_COMMAND}`; export r; \
6281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6282 $(HOST_EXPORTS) \
6283 for flag in $(EXTRA_HOST_FLAGS) ; do \
6284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6285 done; \
6286 echo "Doing dvi in byacc" ; \
6287 (cd $(HOST_SUBDIR)/byacc && \
6288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6290 "RANLIB=$${RANLIB}" \
6291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6292 dvi) \
6293 || exit 1
6295 @endif byacc
6297 .PHONY: maybe-html-byacc html-byacc
6298 maybe-html-byacc:
6299 @if byacc
6300 maybe-html-byacc: html-byacc
6302 html-byacc: \
6303 configure-byacc
6304 @[ -f ./byacc/Makefile ] || exit 0; \
6305 r=`${PWD_COMMAND}`; export r; \
6306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6307 $(HOST_EXPORTS) \
6308 for flag in $(EXTRA_HOST_FLAGS) ; do \
6309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6310 done; \
6311 echo "Doing html in byacc" ; \
6312 (cd $(HOST_SUBDIR)/byacc && \
6313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6315 "RANLIB=$${RANLIB}" \
6316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6317 html) \
6318 || exit 1
6320 @endif byacc
6322 .PHONY: maybe-TAGS-byacc TAGS-byacc
6323 maybe-TAGS-byacc:
6324 @if byacc
6325 maybe-TAGS-byacc: TAGS-byacc
6327 TAGS-byacc: \
6328 configure-byacc
6329 @[ -f ./byacc/Makefile ] || exit 0; \
6330 r=`${PWD_COMMAND}`; export r; \
6331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6332 $(HOST_EXPORTS) \
6333 for flag in $(EXTRA_HOST_FLAGS) ; do \
6334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6335 done; \
6336 echo "Doing TAGS in byacc" ; \
6337 (cd $(HOST_SUBDIR)/byacc && \
6338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6340 "RANLIB=$${RANLIB}" \
6341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6342 TAGS) \
6343 || exit 1
6345 @endif byacc
6347 .PHONY: maybe-install-info-byacc install-info-byacc
6348 maybe-install-info-byacc:
6349 @if byacc
6350 maybe-install-info-byacc: install-info-byacc
6352 install-info-byacc: \
6353 configure-byacc \
6354 info-byacc
6355 @[ -f ./byacc/Makefile ] || exit 0; \
6356 r=`${PWD_COMMAND}`; export r; \
6357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6358 $(HOST_EXPORTS) \
6359 for flag in $(EXTRA_HOST_FLAGS) ; do \
6360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6361 done; \
6362 echo "Doing install-info in byacc" ; \
6363 (cd $(HOST_SUBDIR)/byacc && \
6364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6366 "RANLIB=$${RANLIB}" \
6367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6368 install-info) \
6369 || exit 1
6371 @endif byacc
6373 .PHONY: maybe-installcheck-byacc installcheck-byacc
6374 maybe-installcheck-byacc:
6375 @if byacc
6376 maybe-installcheck-byacc: installcheck-byacc
6378 installcheck-byacc: \
6379 configure-byacc
6380 @[ -f ./byacc/Makefile ] || exit 0; \
6381 r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(HOST_EXPORTS) \
6384 for flag in $(EXTRA_HOST_FLAGS) ; do \
6385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6386 done; \
6387 echo "Doing installcheck in byacc" ; \
6388 (cd $(HOST_SUBDIR)/byacc && \
6389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6391 "RANLIB=$${RANLIB}" \
6392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6393 installcheck) \
6394 || exit 1
6396 @endif byacc
6398 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6399 maybe-mostlyclean-byacc:
6400 @if byacc
6401 maybe-mostlyclean-byacc: mostlyclean-byacc
6403 mostlyclean-byacc:
6404 @[ -f ./byacc/Makefile ] || exit 0; \
6405 r=`${PWD_COMMAND}`; export r; \
6406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6407 $(HOST_EXPORTS) \
6408 for flag in $(EXTRA_HOST_FLAGS) ; do \
6409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6410 done; \
6411 echo "Doing mostlyclean in byacc" ; \
6412 (cd $(HOST_SUBDIR)/byacc && \
6413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6415 "RANLIB=$${RANLIB}" \
6416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6417 mostlyclean) \
6418 || exit 1
6420 @endif byacc
6422 .PHONY: maybe-clean-byacc clean-byacc
6423 maybe-clean-byacc:
6424 @if byacc
6425 maybe-clean-byacc: clean-byacc
6427 clean-byacc:
6428 @[ -f ./byacc/Makefile ] || exit 0; \
6429 r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(HOST_EXPORTS) \
6432 for flag in $(EXTRA_HOST_FLAGS) ; do \
6433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6434 done; \
6435 echo "Doing clean in byacc" ; \
6436 (cd $(HOST_SUBDIR)/byacc && \
6437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6439 "RANLIB=$${RANLIB}" \
6440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6441 clean) \
6442 || exit 1
6444 @endif byacc
6446 .PHONY: maybe-distclean-byacc distclean-byacc
6447 maybe-distclean-byacc:
6448 @if byacc
6449 maybe-distclean-byacc: distclean-byacc
6451 distclean-byacc:
6452 @[ -f ./byacc/Makefile ] || exit 0; \
6453 r=`${PWD_COMMAND}`; export r; \
6454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6455 $(HOST_EXPORTS) \
6456 for flag in $(EXTRA_HOST_FLAGS) ; do \
6457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6458 done; \
6459 echo "Doing distclean in byacc" ; \
6460 (cd $(HOST_SUBDIR)/byacc && \
6461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6463 "RANLIB=$${RANLIB}" \
6464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6465 distclean) \
6466 || exit 1
6468 @endif byacc
6470 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6471 maybe-maintainer-clean-byacc:
6472 @if byacc
6473 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6475 maintainer-clean-byacc:
6476 @[ -f ./byacc/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(HOST_EXPORTS) \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6482 done; \
6483 echo "Doing maintainer-clean in byacc" ; \
6484 (cd $(HOST_SUBDIR)/byacc && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6489 maintainer-clean) \
6490 || exit 1
6492 @endif byacc
6496 .PHONY: configure-bzip2 maybe-configure-bzip2
6497 maybe-configure-bzip2:
6498 @if bzip2
6499 maybe-configure-bzip2: configure-bzip2
6500 configure-bzip2:
6501 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(HOST_EXPORTS) \
6506 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6507 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6508 case $(srcdir) in \
6509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6510 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6512 esac; \
6513 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6514 libsrcdir="$$s/bzip2"; \
6515 $(SHELL) $${libsrcdir}/configure \
6516 $(HOST_CONFIGARGS) $${srcdiroption} \
6517 || exit 1
6518 @endif bzip2
6524 .PHONY: all-bzip2 maybe-all-bzip2
6525 maybe-all-bzip2:
6526 @if bzip2
6527 TARGET-bzip2=all
6528 maybe-all-bzip2: all-bzip2
6529 all-bzip2: configure-bzip2
6530 @r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(HOST_EXPORTS) \
6533 (cd $(HOST_SUBDIR)/bzip2 && \
6534 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6535 @endif bzip2
6540 .PHONY: check-bzip2 maybe-check-bzip2
6541 maybe-check-bzip2:
6542 @if bzip2
6543 maybe-check-bzip2: check-bzip2
6545 check-bzip2:
6546 @r=`${PWD_COMMAND}`; export r; \
6547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6548 $(HOST_EXPORTS) \
6549 (cd $(HOST_SUBDIR)/bzip2 && \
6550 $(MAKE) $(FLAGS_TO_PASS) check)
6552 @endif bzip2
6554 .PHONY: install-bzip2 maybe-install-bzip2
6555 maybe-install-bzip2:
6556 @if bzip2
6557 maybe-install-bzip2: install-bzip2
6559 install-bzip2: installdirs
6560 @r=`${PWD_COMMAND}`; export r; \
6561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 $(HOST_EXPORTS) \
6563 (cd $(HOST_SUBDIR)/bzip2 && \
6564 $(MAKE) $(FLAGS_TO_PASS) install)
6566 @endif bzip2
6568 # Other targets (info, dvi, etc.)
6570 .PHONY: maybe-info-bzip2 info-bzip2
6571 maybe-info-bzip2:
6572 @if bzip2
6573 maybe-info-bzip2: info-bzip2
6575 info-bzip2: \
6576 configure-bzip2
6577 @[ -f ./bzip2/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(HOST_EXPORTS) \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6583 done; \
6584 echo "Doing info in bzip2" ; \
6585 (cd $(HOST_SUBDIR)/bzip2 && \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6590 info) \
6591 || exit 1
6593 @endif bzip2
6595 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6596 maybe-dvi-bzip2:
6597 @if bzip2
6598 maybe-dvi-bzip2: dvi-bzip2
6600 dvi-bzip2: \
6601 configure-bzip2
6602 @[ -f ./bzip2/Makefile ] || exit 0; \
6603 r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6605 $(HOST_EXPORTS) \
6606 for flag in $(EXTRA_HOST_FLAGS) ; do \
6607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6608 done; \
6609 echo "Doing dvi in bzip2" ; \
6610 (cd $(HOST_SUBDIR)/bzip2 && \
6611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6613 "RANLIB=$${RANLIB}" \
6614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6615 dvi) \
6616 || exit 1
6618 @endif bzip2
6620 .PHONY: maybe-html-bzip2 html-bzip2
6621 maybe-html-bzip2:
6622 @if bzip2
6623 maybe-html-bzip2: html-bzip2
6625 html-bzip2: \
6626 configure-bzip2
6627 @[ -f ./bzip2/Makefile ] || exit 0; \
6628 r=`${PWD_COMMAND}`; export r; \
6629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6630 $(HOST_EXPORTS) \
6631 for flag in $(EXTRA_HOST_FLAGS) ; do \
6632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6633 done; \
6634 echo "Doing html in bzip2" ; \
6635 (cd $(HOST_SUBDIR)/bzip2 && \
6636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6638 "RANLIB=$${RANLIB}" \
6639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6640 html) \
6641 || exit 1
6643 @endif bzip2
6645 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6646 maybe-TAGS-bzip2:
6647 @if bzip2
6648 maybe-TAGS-bzip2: TAGS-bzip2
6650 TAGS-bzip2: \
6651 configure-bzip2
6652 @[ -f ./bzip2/Makefile ] || exit 0; \
6653 r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 $(HOST_EXPORTS) \
6656 for flag in $(EXTRA_HOST_FLAGS) ; do \
6657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6658 done; \
6659 echo "Doing TAGS in bzip2" ; \
6660 (cd $(HOST_SUBDIR)/bzip2 && \
6661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6663 "RANLIB=$${RANLIB}" \
6664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6665 TAGS) \
6666 || exit 1
6668 @endif bzip2
6670 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6671 maybe-install-info-bzip2:
6672 @if bzip2
6673 maybe-install-info-bzip2: install-info-bzip2
6675 install-info-bzip2: \
6676 configure-bzip2 \
6677 info-bzip2
6678 @[ -f ./bzip2/Makefile ] || exit 0; \
6679 r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing install-info in bzip2" ; \
6686 (cd $(HOST_SUBDIR)/bzip2 && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 install-info) \
6692 || exit 1
6694 @endif bzip2
6696 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6697 maybe-installcheck-bzip2:
6698 @if bzip2
6699 maybe-installcheck-bzip2: installcheck-bzip2
6701 installcheck-bzip2: \
6702 configure-bzip2
6703 @[ -f ./bzip2/Makefile ] || exit 0; \
6704 r=`${PWD_COMMAND}`; export r; \
6705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6706 $(HOST_EXPORTS) \
6707 for flag in $(EXTRA_HOST_FLAGS) ; do \
6708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6709 done; \
6710 echo "Doing installcheck in bzip2" ; \
6711 (cd $(HOST_SUBDIR)/bzip2 && \
6712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6714 "RANLIB=$${RANLIB}" \
6715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6716 installcheck) \
6717 || exit 1
6719 @endif bzip2
6721 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6722 maybe-mostlyclean-bzip2:
6723 @if bzip2
6724 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6726 mostlyclean-bzip2:
6727 @[ -f ./bzip2/Makefile ] || exit 0; \
6728 r=`${PWD_COMMAND}`; export r; \
6729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6730 $(HOST_EXPORTS) \
6731 for flag in $(EXTRA_HOST_FLAGS) ; do \
6732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6733 done; \
6734 echo "Doing mostlyclean in bzip2" ; \
6735 (cd $(HOST_SUBDIR)/bzip2 && \
6736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6738 "RANLIB=$${RANLIB}" \
6739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6740 mostlyclean) \
6741 || exit 1
6743 @endif bzip2
6745 .PHONY: maybe-clean-bzip2 clean-bzip2
6746 maybe-clean-bzip2:
6747 @if bzip2
6748 maybe-clean-bzip2: clean-bzip2
6750 clean-bzip2:
6751 @[ -f ./bzip2/Makefile ] || exit 0; \
6752 r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 $(HOST_EXPORTS) \
6755 for flag in $(EXTRA_HOST_FLAGS) ; do \
6756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6757 done; \
6758 echo "Doing clean in bzip2" ; \
6759 (cd $(HOST_SUBDIR)/bzip2 && \
6760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6762 "RANLIB=$${RANLIB}" \
6763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6764 clean) \
6765 || exit 1
6767 @endif bzip2
6769 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6770 maybe-distclean-bzip2:
6771 @if bzip2
6772 maybe-distclean-bzip2: distclean-bzip2
6774 distclean-bzip2:
6775 @[ -f ./bzip2/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 $(HOST_EXPORTS) \
6779 for flag in $(EXTRA_HOST_FLAGS) ; do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 done; \
6782 echo "Doing distclean in bzip2" ; \
6783 (cd $(HOST_SUBDIR)/bzip2 && \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6788 distclean) \
6789 || exit 1
6791 @endif bzip2
6793 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6794 maybe-maintainer-clean-bzip2:
6795 @if bzip2
6796 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6798 maintainer-clean-bzip2:
6799 @[ -f ./bzip2/Makefile ] || exit 0; \
6800 r=`${PWD_COMMAND}`; export r; \
6801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6802 $(HOST_EXPORTS) \
6803 for flag in $(EXTRA_HOST_FLAGS) ; do \
6804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6805 done; \
6806 echo "Doing maintainer-clean in bzip2" ; \
6807 (cd $(HOST_SUBDIR)/bzip2 && \
6808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6810 "RANLIB=$${RANLIB}" \
6811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6812 maintainer-clean) \
6813 || exit 1
6815 @endif bzip2
6819 .PHONY: configure-dejagnu maybe-configure-dejagnu
6820 maybe-configure-dejagnu:
6821 @if dejagnu
6822 maybe-configure-dejagnu: configure-dejagnu
6823 configure-dejagnu:
6824 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6826 r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6828 $(HOST_EXPORTS) \
6829 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6830 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6831 case $(srcdir) in \
6832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6833 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6835 esac; \
6836 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6837 libsrcdir="$$s/dejagnu"; \
6838 $(SHELL) $${libsrcdir}/configure \
6839 $(HOST_CONFIGARGS) $${srcdiroption} \
6840 || exit 1
6841 @endif dejagnu
6847 .PHONY: all-dejagnu maybe-all-dejagnu
6848 maybe-all-dejagnu:
6849 @if dejagnu
6850 TARGET-dejagnu=all
6851 maybe-all-dejagnu: all-dejagnu
6852 all-dejagnu: configure-dejagnu
6853 @r=`${PWD_COMMAND}`; export r; \
6854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6855 $(HOST_EXPORTS) \
6856 (cd $(HOST_SUBDIR)/dejagnu && \
6857 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6858 @endif dejagnu
6863 .PHONY: check-dejagnu maybe-check-dejagnu
6864 maybe-check-dejagnu:
6865 @if dejagnu
6866 maybe-check-dejagnu: check-dejagnu
6868 check-dejagnu:
6869 @r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 $(HOST_EXPORTS) \
6872 (cd $(HOST_SUBDIR)/dejagnu && \
6873 $(MAKE) $(FLAGS_TO_PASS) check)
6875 @endif dejagnu
6877 .PHONY: install-dejagnu maybe-install-dejagnu
6878 maybe-install-dejagnu:
6879 @if dejagnu
6880 maybe-install-dejagnu: install-dejagnu
6882 install-dejagnu: installdirs
6883 @r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(HOST_EXPORTS) \
6886 (cd $(HOST_SUBDIR)/dejagnu && \
6887 $(MAKE) $(FLAGS_TO_PASS) install)
6889 @endif dejagnu
6891 # Other targets (info, dvi, etc.)
6893 .PHONY: maybe-info-dejagnu info-dejagnu
6894 maybe-info-dejagnu:
6895 @if dejagnu
6896 maybe-info-dejagnu: info-dejagnu
6898 info-dejagnu: \
6899 configure-dejagnu
6900 @[ -f ./dejagnu/Makefile ] || exit 0; \
6901 r=`${PWD_COMMAND}`; export r; \
6902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 $(HOST_EXPORTS) \
6904 for flag in $(EXTRA_HOST_FLAGS) ; do \
6905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6906 done; \
6907 echo "Doing info in dejagnu" ; \
6908 (cd $(HOST_SUBDIR)/dejagnu && \
6909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6911 "RANLIB=$${RANLIB}" \
6912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6913 info) \
6914 || exit 1
6916 @endif dejagnu
6918 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6919 maybe-dvi-dejagnu:
6920 @if dejagnu
6921 maybe-dvi-dejagnu: dvi-dejagnu
6923 dvi-dejagnu: \
6924 configure-dejagnu
6925 @[ -f ./dejagnu/Makefile ] || exit 0; \
6926 r=`${PWD_COMMAND}`; export r; \
6927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6928 $(HOST_EXPORTS) \
6929 for flag in $(EXTRA_HOST_FLAGS) ; do \
6930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6931 done; \
6932 echo "Doing dvi in dejagnu" ; \
6933 (cd $(HOST_SUBDIR)/dejagnu && \
6934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6936 "RANLIB=$${RANLIB}" \
6937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6938 dvi) \
6939 || exit 1
6941 @endif dejagnu
6943 .PHONY: maybe-html-dejagnu html-dejagnu
6944 maybe-html-dejagnu:
6945 @if dejagnu
6946 maybe-html-dejagnu: html-dejagnu
6948 html-dejagnu: \
6949 configure-dejagnu
6950 @[ -f ./dejagnu/Makefile ] || exit 0; \
6951 r=`${PWD_COMMAND}`; export r; \
6952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6953 $(HOST_EXPORTS) \
6954 for flag in $(EXTRA_HOST_FLAGS) ; do \
6955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6956 done; \
6957 echo "Doing html in dejagnu" ; \
6958 (cd $(HOST_SUBDIR)/dejagnu && \
6959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6961 "RANLIB=$${RANLIB}" \
6962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6963 html) \
6964 || exit 1
6966 @endif dejagnu
6968 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6969 maybe-TAGS-dejagnu:
6970 @if dejagnu
6971 maybe-TAGS-dejagnu: TAGS-dejagnu
6973 TAGS-dejagnu: \
6974 configure-dejagnu
6975 @[ -f ./dejagnu/Makefile ] || exit 0; \
6976 r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(HOST_EXPORTS) \
6979 for flag in $(EXTRA_HOST_FLAGS) ; do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6981 done; \
6982 echo "Doing TAGS in dejagnu" ; \
6983 (cd $(HOST_SUBDIR)/dejagnu && \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6988 TAGS) \
6989 || exit 1
6991 @endif dejagnu
6993 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6994 maybe-install-info-dejagnu:
6995 @if dejagnu
6996 maybe-install-info-dejagnu: install-info-dejagnu
6998 install-info-dejagnu: \
6999 configure-dejagnu \
7000 info-dejagnu
7001 @[ -f ./dejagnu/Makefile ] || exit 0; \
7002 r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 $(HOST_EXPORTS) \
7005 for flag in $(EXTRA_HOST_FLAGS) ; do \
7006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7007 done; \
7008 echo "Doing install-info in dejagnu" ; \
7009 (cd $(HOST_SUBDIR)/dejagnu && \
7010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7012 "RANLIB=$${RANLIB}" \
7013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7014 install-info) \
7015 || exit 1
7017 @endif dejagnu
7019 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7020 maybe-installcheck-dejagnu:
7021 @if dejagnu
7022 maybe-installcheck-dejagnu: installcheck-dejagnu
7024 installcheck-dejagnu: \
7025 configure-dejagnu
7026 @[ -f ./dejagnu/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 for flag in $(EXTRA_HOST_FLAGS) ; do \
7031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 done; \
7033 echo "Doing installcheck in dejagnu" ; \
7034 (cd $(HOST_SUBDIR)/dejagnu && \
7035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7037 "RANLIB=$${RANLIB}" \
7038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7039 installcheck) \
7040 || exit 1
7042 @endif dejagnu
7044 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7045 maybe-mostlyclean-dejagnu:
7046 @if dejagnu
7047 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7049 mostlyclean-dejagnu:
7050 @[ -f ./dejagnu/Makefile ] || exit 0; \
7051 r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7053 $(HOST_EXPORTS) \
7054 for flag in $(EXTRA_HOST_FLAGS) ; do \
7055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7056 done; \
7057 echo "Doing mostlyclean in dejagnu" ; \
7058 (cd $(HOST_SUBDIR)/dejagnu && \
7059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7061 "RANLIB=$${RANLIB}" \
7062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7063 mostlyclean) \
7064 || exit 1
7066 @endif dejagnu
7068 .PHONY: maybe-clean-dejagnu clean-dejagnu
7069 maybe-clean-dejagnu:
7070 @if dejagnu
7071 maybe-clean-dejagnu: clean-dejagnu
7073 clean-dejagnu:
7074 @[ -f ./dejagnu/Makefile ] || exit 0; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 for flag in $(EXTRA_HOST_FLAGS) ; do \
7079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7080 done; \
7081 echo "Doing clean in dejagnu" ; \
7082 (cd $(HOST_SUBDIR)/dejagnu && \
7083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7085 "RANLIB=$${RANLIB}" \
7086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7087 clean) \
7088 || exit 1
7090 @endif dejagnu
7092 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7093 maybe-distclean-dejagnu:
7094 @if dejagnu
7095 maybe-distclean-dejagnu: distclean-dejagnu
7097 distclean-dejagnu:
7098 @[ -f ./dejagnu/Makefile ] || exit 0; \
7099 r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(HOST_EXPORTS) \
7102 for flag in $(EXTRA_HOST_FLAGS) ; do \
7103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7104 done; \
7105 echo "Doing distclean in dejagnu" ; \
7106 (cd $(HOST_SUBDIR)/dejagnu && \
7107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7109 "RANLIB=$${RANLIB}" \
7110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7111 distclean) \
7112 || exit 1
7114 @endif dejagnu
7116 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7117 maybe-maintainer-clean-dejagnu:
7118 @if dejagnu
7119 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7121 maintainer-clean-dejagnu:
7122 @[ -f ./dejagnu/Makefile ] || exit 0; \
7123 r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS) ; do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing maintainer-clean in dejagnu" ; \
7130 (cd $(HOST_SUBDIR)/dejagnu && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7135 maintainer-clean) \
7136 || exit 1
7138 @endif dejagnu
7142 .PHONY: configure-diff maybe-configure-diff
7143 maybe-configure-diff:
7144 @if diff
7145 maybe-configure-diff: configure-diff
7146 configure-diff:
7147 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7149 r=`${PWD_COMMAND}`; export r; \
7150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 $(HOST_EXPORTS) \
7152 echo Configuring in $(HOST_SUBDIR)/diff; \
7153 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7154 case $(srcdir) in \
7155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7156 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7158 esac; \
7159 srcdiroption="--srcdir=$${topdir}/diff"; \
7160 libsrcdir="$$s/diff"; \
7161 $(SHELL) $${libsrcdir}/configure \
7162 $(HOST_CONFIGARGS) $${srcdiroption} \
7163 || exit 1
7164 @endif diff
7170 .PHONY: all-diff maybe-all-diff
7171 maybe-all-diff:
7172 @if diff
7173 TARGET-diff=all
7174 maybe-all-diff: all-diff
7175 all-diff: configure-diff
7176 @r=`${PWD_COMMAND}`; export r; \
7177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 $(HOST_EXPORTS) \
7179 (cd $(HOST_SUBDIR)/diff && \
7180 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7181 @endif diff
7186 .PHONY: check-diff maybe-check-diff
7187 maybe-check-diff:
7188 @if diff
7189 maybe-check-diff: check-diff
7191 check-diff:
7192 @r=`${PWD_COMMAND}`; export r; \
7193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7194 $(HOST_EXPORTS) \
7195 (cd $(HOST_SUBDIR)/diff && \
7196 $(MAKE) $(FLAGS_TO_PASS) check)
7198 @endif diff
7200 .PHONY: install-diff maybe-install-diff
7201 maybe-install-diff:
7202 @if diff
7203 maybe-install-diff: install-diff
7205 install-diff: installdirs
7206 @r=`${PWD_COMMAND}`; export r; \
7207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7208 $(HOST_EXPORTS) \
7209 (cd $(HOST_SUBDIR)/diff && \
7210 $(MAKE) $(FLAGS_TO_PASS) install)
7212 @endif diff
7214 # Other targets (info, dvi, etc.)
7216 .PHONY: maybe-info-diff info-diff
7217 maybe-info-diff:
7218 @if diff
7219 maybe-info-diff: info-diff
7221 info-diff: \
7222 configure-diff
7223 @[ -f ./diff/Makefile ] || exit 0; \
7224 r=`${PWD_COMMAND}`; export r; \
7225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7226 $(HOST_EXPORTS) \
7227 for flag in $(EXTRA_HOST_FLAGS) ; do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing info in diff" ; \
7231 (cd $(HOST_SUBDIR)/diff && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7236 info) \
7237 || exit 1
7239 @endif diff
7241 .PHONY: maybe-dvi-diff dvi-diff
7242 maybe-dvi-diff:
7243 @if diff
7244 maybe-dvi-diff: dvi-diff
7246 dvi-diff: \
7247 configure-diff
7248 @[ -f ./diff/Makefile ] || exit 0; \
7249 r=`${PWD_COMMAND}`; export r; \
7250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7251 $(HOST_EXPORTS) \
7252 for flag in $(EXTRA_HOST_FLAGS) ; do \
7253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7254 done; \
7255 echo "Doing dvi in diff" ; \
7256 (cd $(HOST_SUBDIR)/diff && \
7257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259 "RANLIB=$${RANLIB}" \
7260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7261 dvi) \
7262 || exit 1
7264 @endif diff
7266 .PHONY: maybe-html-diff html-diff
7267 maybe-html-diff:
7268 @if diff
7269 maybe-html-diff: html-diff
7271 html-diff: \
7272 configure-diff
7273 @[ -f ./diff/Makefile ] || exit 0; \
7274 r=`${PWD_COMMAND}`; export r; \
7275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7276 $(HOST_EXPORTS) \
7277 for flag in $(EXTRA_HOST_FLAGS) ; do \
7278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7279 done; \
7280 echo "Doing html in diff" ; \
7281 (cd $(HOST_SUBDIR)/diff && \
7282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7284 "RANLIB=$${RANLIB}" \
7285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7286 html) \
7287 || exit 1
7289 @endif diff
7291 .PHONY: maybe-TAGS-diff TAGS-diff
7292 maybe-TAGS-diff:
7293 @if diff
7294 maybe-TAGS-diff: TAGS-diff
7296 TAGS-diff: \
7297 configure-diff
7298 @[ -f ./diff/Makefile ] || exit 0; \
7299 r=`${PWD_COMMAND}`; export r; \
7300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7301 $(HOST_EXPORTS) \
7302 for flag in $(EXTRA_HOST_FLAGS) ; do \
7303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7304 done; \
7305 echo "Doing TAGS in diff" ; \
7306 (cd $(HOST_SUBDIR)/diff && \
7307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7309 "RANLIB=$${RANLIB}" \
7310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7311 TAGS) \
7312 || exit 1
7314 @endif diff
7316 .PHONY: maybe-install-info-diff install-info-diff
7317 maybe-install-info-diff:
7318 @if diff
7319 maybe-install-info-diff: install-info-diff
7321 install-info-diff: \
7322 configure-diff \
7323 info-diff
7324 @[ -f ./diff/Makefile ] || exit 0; \
7325 r=`${PWD_COMMAND}`; export r; \
7326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7327 $(HOST_EXPORTS) \
7328 for flag in $(EXTRA_HOST_FLAGS) ; do \
7329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7330 done; \
7331 echo "Doing install-info in diff" ; \
7332 (cd $(HOST_SUBDIR)/diff && \
7333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7335 "RANLIB=$${RANLIB}" \
7336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7337 install-info) \
7338 || exit 1
7340 @endif diff
7342 .PHONY: maybe-installcheck-diff installcheck-diff
7343 maybe-installcheck-diff:
7344 @if diff
7345 maybe-installcheck-diff: installcheck-diff
7347 installcheck-diff: \
7348 configure-diff
7349 @[ -f ./diff/Makefile ] || exit 0; \
7350 r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(HOST_EXPORTS) \
7353 for flag in $(EXTRA_HOST_FLAGS) ; do \
7354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7355 done; \
7356 echo "Doing installcheck in diff" ; \
7357 (cd $(HOST_SUBDIR)/diff && \
7358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7360 "RANLIB=$${RANLIB}" \
7361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7362 installcheck) \
7363 || exit 1
7365 @endif diff
7367 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7368 maybe-mostlyclean-diff:
7369 @if diff
7370 maybe-mostlyclean-diff: mostlyclean-diff
7372 mostlyclean-diff:
7373 @[ -f ./diff/Makefile ] || exit 0; \
7374 r=`${PWD_COMMAND}`; export r; \
7375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7376 $(HOST_EXPORTS) \
7377 for flag in $(EXTRA_HOST_FLAGS) ; do \
7378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7379 done; \
7380 echo "Doing mostlyclean in diff" ; \
7381 (cd $(HOST_SUBDIR)/diff && \
7382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7384 "RANLIB=$${RANLIB}" \
7385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7386 mostlyclean) \
7387 || exit 1
7389 @endif diff
7391 .PHONY: maybe-clean-diff clean-diff
7392 maybe-clean-diff:
7393 @if diff
7394 maybe-clean-diff: clean-diff
7396 clean-diff:
7397 @[ -f ./diff/Makefile ] || exit 0; \
7398 r=`${PWD_COMMAND}`; export r; \
7399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7400 $(HOST_EXPORTS) \
7401 for flag in $(EXTRA_HOST_FLAGS) ; do \
7402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7403 done; \
7404 echo "Doing clean in diff" ; \
7405 (cd $(HOST_SUBDIR)/diff && \
7406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7408 "RANLIB=$${RANLIB}" \
7409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7410 clean) \
7411 || exit 1
7413 @endif diff
7415 .PHONY: maybe-distclean-diff distclean-diff
7416 maybe-distclean-diff:
7417 @if diff
7418 maybe-distclean-diff: distclean-diff
7420 distclean-diff:
7421 @[ -f ./diff/Makefile ] || exit 0; \
7422 r=`${PWD_COMMAND}`; export r; \
7423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7424 $(HOST_EXPORTS) \
7425 for flag in $(EXTRA_HOST_FLAGS) ; do \
7426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7427 done; \
7428 echo "Doing distclean in diff" ; \
7429 (cd $(HOST_SUBDIR)/diff && \
7430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7432 "RANLIB=$${RANLIB}" \
7433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7434 distclean) \
7435 || exit 1
7437 @endif diff
7439 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7440 maybe-maintainer-clean-diff:
7441 @if diff
7442 maybe-maintainer-clean-diff: maintainer-clean-diff
7444 maintainer-clean-diff:
7445 @[ -f ./diff/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 for flag in $(EXTRA_HOST_FLAGS) ; do \
7450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7451 done; \
7452 echo "Doing maintainer-clean in diff" ; \
7453 (cd $(HOST_SUBDIR)/diff && \
7454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7456 "RANLIB=$${RANLIB}" \
7457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7458 maintainer-clean) \
7459 || exit 1
7461 @endif diff
7465 .PHONY: configure-dosutils maybe-configure-dosutils
7466 maybe-configure-dosutils:
7467 @if dosutils
7468 maybe-configure-dosutils: configure-dosutils
7469 configure-dosutils:
7470 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(HOST_EXPORTS) \
7475 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7476 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7477 case $(srcdir) in \
7478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7479 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7481 esac; \
7482 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7483 libsrcdir="$$s/dosutils"; \
7484 $(SHELL) $${libsrcdir}/configure \
7485 $(HOST_CONFIGARGS) $${srcdiroption} \
7486 || exit 1
7487 @endif dosutils
7493 .PHONY: all-dosutils maybe-all-dosutils
7494 maybe-all-dosutils:
7495 @if dosutils
7496 TARGET-dosutils=all
7497 maybe-all-dosutils: all-dosutils
7498 all-dosutils: configure-dosutils
7499 @r=`${PWD_COMMAND}`; export r; \
7500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7501 $(HOST_EXPORTS) \
7502 (cd $(HOST_SUBDIR)/dosutils && \
7503 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7504 @endif dosutils
7509 .PHONY: check-dosutils maybe-check-dosutils
7510 maybe-check-dosutils:
7511 @if dosutils
7512 maybe-check-dosutils: check-dosutils
7514 check-dosutils:
7516 @endif dosutils
7518 .PHONY: install-dosutils maybe-install-dosutils
7519 maybe-install-dosutils:
7520 @if dosutils
7521 maybe-install-dosutils: install-dosutils
7523 install-dosutils: installdirs
7524 @r=`${PWD_COMMAND}`; export r; \
7525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7526 $(HOST_EXPORTS) \
7527 (cd $(HOST_SUBDIR)/dosutils && \
7528 $(MAKE) $(FLAGS_TO_PASS) install)
7530 @endif dosutils
7532 # Other targets (info, dvi, etc.)
7534 .PHONY: maybe-info-dosutils info-dosutils
7535 maybe-info-dosutils:
7536 @if dosutils
7537 maybe-info-dosutils: info-dosutils
7539 info-dosutils: \
7540 configure-dosutils
7541 @[ -f ./dosutils/Makefile ] || exit 0; \
7542 r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing info in dosutils" ; \
7549 (cd $(HOST_SUBDIR)/dosutils && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7554 info) \
7555 || exit 1
7557 @endif dosutils
7559 .PHONY: maybe-dvi-dosutils dvi-dosutils
7560 maybe-dvi-dosutils:
7561 @if dosutils
7562 maybe-dvi-dosutils: dvi-dosutils
7564 dvi-dosutils: \
7565 configure-dosutils
7566 @[ -f ./dosutils/Makefile ] || exit 0; \
7567 r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(HOST_EXPORTS) \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 done; \
7573 echo "Doing dvi in dosutils" ; \
7574 (cd $(HOST_SUBDIR)/dosutils && \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7579 dvi) \
7580 || exit 1
7582 @endif dosutils
7584 .PHONY: maybe-html-dosutils html-dosutils
7585 maybe-html-dosutils:
7586 @if dosutils
7587 maybe-html-dosutils: html-dosutils
7589 html-dosutils: \
7590 configure-dosutils
7591 @[ -f ./dosutils/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 for flag in $(EXTRA_HOST_FLAGS) ; do \
7596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7597 done; \
7598 echo "Doing html in dosutils" ; \
7599 (cd $(HOST_SUBDIR)/dosutils && \
7600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7602 "RANLIB=$${RANLIB}" \
7603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7604 html) \
7605 || exit 1
7607 @endif dosutils
7609 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7610 maybe-TAGS-dosutils:
7611 @if dosutils
7612 maybe-TAGS-dosutils: TAGS-dosutils
7614 TAGS-dosutils: \
7615 configure-dosutils
7616 @[ -f ./dosutils/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing TAGS in dosutils" ; \
7624 (cd $(HOST_SUBDIR)/dosutils && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 TAGS) \
7630 || exit 1
7632 @endif dosutils
7634 .PHONY: maybe-install-info-dosutils install-info-dosutils
7635 maybe-install-info-dosutils:
7636 @if dosutils
7637 maybe-install-info-dosutils: install-info-dosutils
7639 install-info-dosutils: \
7640 configure-dosutils \
7641 info-dosutils
7642 @[ -f ./dosutils/Makefile ] || exit 0; \
7643 r=`${PWD_COMMAND}`; export r; \
7644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7645 $(HOST_EXPORTS) \
7646 for flag in $(EXTRA_HOST_FLAGS) ; do \
7647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7648 done; \
7649 echo "Doing install-info in dosutils" ; \
7650 (cd $(HOST_SUBDIR)/dosutils && \
7651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7653 "RANLIB=$${RANLIB}" \
7654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7655 install-info) \
7656 || exit 1
7658 @endif dosutils
7660 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7661 maybe-installcheck-dosutils:
7662 @if dosutils
7663 maybe-installcheck-dosutils: installcheck-dosutils
7665 installcheck-dosutils: \
7666 configure-dosutils
7667 @[ -f ./dosutils/Makefile ] || exit 0; \
7668 r=`${PWD_COMMAND}`; export r; \
7669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7670 $(HOST_EXPORTS) \
7671 for flag in $(EXTRA_HOST_FLAGS) ; do \
7672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7673 done; \
7674 echo "Doing installcheck in dosutils" ; \
7675 (cd $(HOST_SUBDIR)/dosutils && \
7676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7678 "RANLIB=$${RANLIB}" \
7679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7680 installcheck) \
7681 || exit 1
7683 @endif dosutils
7685 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7686 maybe-mostlyclean-dosutils:
7687 @if dosutils
7688 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7690 mostlyclean-dosutils:
7691 @[ -f ./dosutils/Makefile ] || exit 0; \
7692 r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(HOST_EXPORTS) \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 done; \
7698 echo "Doing mostlyclean in dosutils" ; \
7699 (cd $(HOST_SUBDIR)/dosutils && \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7704 mostlyclean) \
7705 || exit 1
7707 @endif dosutils
7709 .PHONY: maybe-clean-dosutils clean-dosutils
7710 maybe-clean-dosutils:
7711 @if dosutils
7712 maybe-clean-dosutils: clean-dosutils
7714 clean-dosutils:
7715 @[ -f ./dosutils/Makefile ] || exit 0; \
7716 r=`${PWD_COMMAND}`; export r; \
7717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7718 $(HOST_EXPORTS) \
7719 for flag in $(EXTRA_HOST_FLAGS) ; do \
7720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7721 done; \
7722 echo "Doing clean in dosutils" ; \
7723 (cd $(HOST_SUBDIR)/dosutils && \
7724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7726 "RANLIB=$${RANLIB}" \
7727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7728 clean) \
7729 || exit 1
7731 @endif dosutils
7733 .PHONY: maybe-distclean-dosutils distclean-dosutils
7734 maybe-distclean-dosutils:
7735 @if dosutils
7736 maybe-distclean-dosutils: distclean-dosutils
7738 distclean-dosutils:
7739 @[ -f ./dosutils/Makefile ] || exit 0; \
7740 r=`${PWD_COMMAND}`; export r; \
7741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7742 $(HOST_EXPORTS) \
7743 for flag in $(EXTRA_HOST_FLAGS) ; do \
7744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7745 done; \
7746 echo "Doing distclean in dosutils" ; \
7747 (cd $(HOST_SUBDIR)/dosutils && \
7748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7750 "RANLIB=$${RANLIB}" \
7751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7752 distclean) \
7753 || exit 1
7755 @endif dosutils
7757 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7758 maybe-maintainer-clean-dosutils:
7759 @if dosutils
7760 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7762 maintainer-clean-dosutils:
7763 @[ -f ./dosutils/Makefile ] || exit 0; \
7764 r=`${PWD_COMMAND}`; export r; \
7765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7766 $(HOST_EXPORTS) \
7767 for flag in $(EXTRA_HOST_FLAGS) ; do \
7768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7769 done; \
7770 echo "Doing maintainer-clean in dosutils" ; \
7771 (cd $(HOST_SUBDIR)/dosutils && \
7772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7774 "RANLIB=$${RANLIB}" \
7775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7776 maintainer-clean) \
7777 || exit 1
7779 @endif dosutils
7783 .PHONY: configure-etc maybe-configure-etc
7784 maybe-configure-etc:
7785 @if etc
7786 maybe-configure-etc: configure-etc
7787 configure-etc:
7788 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7790 r=`${PWD_COMMAND}`; export r; \
7791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7792 $(HOST_EXPORTS) \
7793 echo Configuring in $(HOST_SUBDIR)/etc; \
7794 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7795 case $(srcdir) in \
7796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7797 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7799 esac; \
7800 srcdiroption="--srcdir=$${topdir}/etc"; \
7801 libsrcdir="$$s/etc"; \
7802 $(SHELL) $${libsrcdir}/configure \
7803 $(HOST_CONFIGARGS) $${srcdiroption} \
7804 || exit 1
7805 @endif etc
7811 .PHONY: all-etc maybe-all-etc
7812 maybe-all-etc:
7813 @if etc
7814 TARGET-etc=all
7815 maybe-all-etc: all-etc
7816 all-etc: configure-etc
7817 @r=`${PWD_COMMAND}`; export r; \
7818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7819 $(HOST_EXPORTS) \
7820 (cd $(HOST_SUBDIR)/etc && \
7821 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7822 @endif etc
7827 .PHONY: check-etc maybe-check-etc
7828 maybe-check-etc:
7829 @if etc
7830 maybe-check-etc: check-etc
7832 check-etc:
7833 @r=`${PWD_COMMAND}`; export r; \
7834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835 $(HOST_EXPORTS) \
7836 (cd $(HOST_SUBDIR)/etc && \
7837 $(MAKE) $(FLAGS_TO_PASS) check)
7839 @endif etc
7841 .PHONY: install-etc maybe-install-etc
7842 maybe-install-etc:
7843 @if etc
7844 maybe-install-etc: install-etc
7846 install-etc: installdirs
7847 @r=`${PWD_COMMAND}`; export r; \
7848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7849 $(HOST_EXPORTS) \
7850 (cd $(HOST_SUBDIR)/etc && \
7851 $(MAKE) $(FLAGS_TO_PASS) install)
7853 @endif etc
7855 # Other targets (info, dvi, etc.)
7857 .PHONY: maybe-info-etc info-etc
7858 maybe-info-etc:
7859 @if etc
7860 maybe-info-etc: info-etc
7862 info-etc: \
7863 configure-etc
7864 @[ -f ./etc/Makefile ] || exit 0; \
7865 r=`${PWD_COMMAND}`; export r; \
7866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867 $(HOST_EXPORTS) \
7868 for flag in $(EXTRA_HOST_FLAGS) ; do \
7869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7870 done; \
7871 echo "Doing info in etc" ; \
7872 (cd $(HOST_SUBDIR)/etc && \
7873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7875 "RANLIB=$${RANLIB}" \
7876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7877 info) \
7878 || exit 1
7880 @endif etc
7882 .PHONY: maybe-dvi-etc dvi-etc
7883 maybe-dvi-etc:
7884 @if etc
7885 maybe-dvi-etc: dvi-etc
7887 dvi-etc: \
7888 configure-etc
7889 @[ -f ./etc/Makefile ] || exit 0; \
7890 r=`${PWD_COMMAND}`; export r; \
7891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7892 $(HOST_EXPORTS) \
7893 for flag in $(EXTRA_HOST_FLAGS) ; do \
7894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7895 done; \
7896 echo "Doing dvi in etc" ; \
7897 (cd $(HOST_SUBDIR)/etc && \
7898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7900 "RANLIB=$${RANLIB}" \
7901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7902 dvi) \
7903 || exit 1
7905 @endif etc
7907 .PHONY: maybe-html-etc html-etc
7908 maybe-html-etc:
7909 @if etc
7910 maybe-html-etc: html-etc
7912 html-etc: \
7913 configure-etc
7914 @[ -f ./etc/Makefile ] || exit 0; \
7915 r=`${PWD_COMMAND}`; export r; \
7916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7917 $(HOST_EXPORTS) \
7918 for flag in $(EXTRA_HOST_FLAGS) ; do \
7919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7920 done; \
7921 echo "Doing html in etc" ; \
7922 (cd $(HOST_SUBDIR)/etc && \
7923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7925 "RANLIB=$${RANLIB}" \
7926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7927 html) \
7928 || exit 1
7930 @endif etc
7932 .PHONY: maybe-TAGS-etc TAGS-etc
7933 maybe-TAGS-etc:
7934 @if etc
7935 maybe-TAGS-etc: TAGS-etc
7937 TAGS-etc: \
7938 configure-etc
7939 @[ -f ./etc/Makefile ] || exit 0; \
7940 r=`${PWD_COMMAND}`; export r; \
7941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7942 $(HOST_EXPORTS) \
7943 for flag in $(EXTRA_HOST_FLAGS) ; do \
7944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7945 done; \
7946 echo "Doing TAGS in etc" ; \
7947 (cd $(HOST_SUBDIR)/etc && \
7948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7950 "RANLIB=$${RANLIB}" \
7951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7952 TAGS) \
7953 || exit 1
7955 @endif etc
7957 .PHONY: maybe-install-info-etc install-info-etc
7958 maybe-install-info-etc:
7959 @if etc
7960 maybe-install-info-etc: install-info-etc
7962 install-info-etc: \
7963 configure-etc \
7964 info-etc
7965 @[ -f ./etc/Makefile ] || exit 0; \
7966 r=`${PWD_COMMAND}`; export r; \
7967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7968 $(HOST_EXPORTS) \
7969 for flag in $(EXTRA_HOST_FLAGS) ; do \
7970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7971 done; \
7972 echo "Doing install-info in etc" ; \
7973 (cd $(HOST_SUBDIR)/etc && \
7974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7976 "RANLIB=$${RANLIB}" \
7977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7978 install-info) \
7979 || exit 1
7981 @endif etc
7983 .PHONY: maybe-installcheck-etc installcheck-etc
7984 maybe-installcheck-etc:
7985 @if etc
7986 maybe-installcheck-etc: installcheck-etc
7988 installcheck-etc: \
7989 configure-etc
7990 @[ -f ./etc/Makefile ] || exit 0; \
7991 r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 $(HOST_EXPORTS) \
7994 for flag in $(EXTRA_HOST_FLAGS) ; do \
7995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7996 done; \
7997 echo "Doing installcheck in etc" ; \
7998 (cd $(HOST_SUBDIR)/etc && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8003 installcheck) \
8004 || exit 1
8006 @endif etc
8008 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8009 maybe-mostlyclean-etc:
8010 @if etc
8011 maybe-mostlyclean-etc: mostlyclean-etc
8013 mostlyclean-etc:
8014 @[ -f ./etc/Makefile ] || exit 0; \
8015 r=`${PWD_COMMAND}`; export r; \
8016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8017 $(HOST_EXPORTS) \
8018 for flag in $(EXTRA_HOST_FLAGS) ; do \
8019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8020 done; \
8021 echo "Doing mostlyclean in etc" ; \
8022 (cd $(HOST_SUBDIR)/etc && \
8023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8025 "RANLIB=$${RANLIB}" \
8026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8027 mostlyclean) \
8028 || exit 1
8030 @endif etc
8032 .PHONY: maybe-clean-etc clean-etc
8033 maybe-clean-etc:
8034 @if etc
8035 maybe-clean-etc: clean-etc
8037 clean-etc:
8038 @[ -f ./etc/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing clean in etc" ; \
8046 (cd $(HOST_SUBDIR)/etc && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8051 clean) \
8052 || exit 1
8054 @endif etc
8056 .PHONY: maybe-distclean-etc distclean-etc
8057 maybe-distclean-etc:
8058 @if etc
8059 maybe-distclean-etc: distclean-etc
8061 distclean-etc:
8062 @[ -f ./etc/Makefile ] || exit 0; \
8063 r=`${PWD_COMMAND}`; export r; \
8064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8065 $(HOST_EXPORTS) \
8066 for flag in $(EXTRA_HOST_FLAGS) ; do \
8067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8068 done; \
8069 echo "Doing distclean in etc" ; \
8070 (cd $(HOST_SUBDIR)/etc && \
8071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8073 "RANLIB=$${RANLIB}" \
8074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8075 distclean) \
8076 || exit 1
8078 @endif etc
8080 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8081 maybe-maintainer-clean-etc:
8082 @if etc
8083 maybe-maintainer-clean-etc: maintainer-clean-etc
8085 maintainer-clean-etc:
8086 @[ -f ./etc/Makefile ] || exit 0; \
8087 r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 $(HOST_EXPORTS) \
8090 for flag in $(EXTRA_HOST_FLAGS) ; do \
8091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8092 done; \
8093 echo "Doing maintainer-clean in etc" ; \
8094 (cd $(HOST_SUBDIR)/etc && \
8095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8097 "RANLIB=$${RANLIB}" \
8098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8099 maintainer-clean) \
8100 || exit 1
8102 @endif etc
8106 .PHONY: configure-fastjar maybe-configure-fastjar
8107 maybe-configure-fastjar:
8108 @if fastjar
8109 maybe-configure-fastjar: configure-fastjar
8110 configure-fastjar:
8111 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8112 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8113 r=`${PWD_COMMAND}`; export r; \
8114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8115 $(HOST_EXPORTS) \
8116 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8117 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8118 case $(srcdir) in \
8119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8120 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8122 esac; \
8123 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8124 libsrcdir="$$s/fastjar"; \
8125 $(SHELL) $${libsrcdir}/configure \
8126 $(HOST_CONFIGARGS) $${srcdiroption} \
8127 || exit 1
8128 @endif fastjar
8134 .PHONY: all-fastjar maybe-all-fastjar
8135 maybe-all-fastjar:
8136 @if fastjar
8137 TARGET-fastjar=all
8138 maybe-all-fastjar: all-fastjar
8139 all-fastjar: configure-fastjar
8140 @r=`${PWD_COMMAND}`; export r; \
8141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8142 $(HOST_EXPORTS) \
8143 (cd $(HOST_SUBDIR)/fastjar && \
8144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8145 @endif fastjar
8150 .PHONY: check-fastjar maybe-check-fastjar
8151 maybe-check-fastjar:
8152 @if fastjar
8153 maybe-check-fastjar: check-fastjar
8155 # This module is only tested in a native toolchain.
8156 check-fastjar:
8157 @if [ '$(host)' = '$(target)' ] ; then \
8158 r=`${PWD_COMMAND}`; export r; \
8159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160 $(HOST_EXPORTS) \
8161 (cd $(HOST_SUBDIR)/fastjar && \
8162 $(MAKE) $(FLAGS_TO_PASS) check); \
8165 @endif fastjar
8167 .PHONY: install-fastjar maybe-install-fastjar
8168 maybe-install-fastjar:
8169 @if fastjar
8170 maybe-install-fastjar: install-fastjar
8172 install-fastjar: installdirs
8173 @r=`${PWD_COMMAND}`; export r; \
8174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 $(HOST_EXPORTS) \
8176 (cd $(HOST_SUBDIR)/fastjar && \
8177 $(MAKE) $(FLAGS_TO_PASS) install)
8179 @endif fastjar
8181 # Other targets (info, dvi, etc.)
8183 .PHONY: maybe-info-fastjar info-fastjar
8184 maybe-info-fastjar:
8185 @if fastjar
8186 maybe-info-fastjar: info-fastjar
8188 info-fastjar: \
8189 configure-fastjar
8190 @[ -f ./fastjar/Makefile ] || exit 0; \
8191 r=`${PWD_COMMAND}`; export r; \
8192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8193 $(HOST_EXPORTS) \
8194 for flag in $(EXTRA_HOST_FLAGS) ; do \
8195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8196 done; \
8197 echo "Doing info in fastjar" ; \
8198 (cd $(HOST_SUBDIR)/fastjar && \
8199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8201 "RANLIB=$${RANLIB}" \
8202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8203 info) \
8204 || exit 1
8206 @endif fastjar
8208 .PHONY: maybe-dvi-fastjar dvi-fastjar
8209 maybe-dvi-fastjar:
8210 @if fastjar
8211 maybe-dvi-fastjar: dvi-fastjar
8213 dvi-fastjar: \
8214 configure-fastjar
8215 @[ -f ./fastjar/Makefile ] || exit 0; \
8216 r=`${PWD_COMMAND}`; export r; \
8217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8218 $(HOST_EXPORTS) \
8219 for flag in $(EXTRA_HOST_FLAGS) ; do \
8220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8221 done; \
8222 echo "Doing dvi in fastjar" ; \
8223 (cd $(HOST_SUBDIR)/fastjar && \
8224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8226 "RANLIB=$${RANLIB}" \
8227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8228 dvi) \
8229 || exit 1
8231 @endif fastjar
8233 .PHONY: maybe-html-fastjar html-fastjar
8234 maybe-html-fastjar:
8235 @if fastjar
8236 maybe-html-fastjar: html-fastjar
8238 html-fastjar: \
8239 configure-fastjar
8240 @[ -f ./fastjar/Makefile ] || exit 0; \
8241 r=`${PWD_COMMAND}`; export r; \
8242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8243 $(HOST_EXPORTS) \
8244 for flag in $(EXTRA_HOST_FLAGS) ; do \
8245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8246 done; \
8247 echo "Doing html in fastjar" ; \
8248 (cd $(HOST_SUBDIR)/fastjar && \
8249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8251 "RANLIB=$${RANLIB}" \
8252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8253 html) \
8254 || exit 1
8256 @endif fastjar
8258 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8259 maybe-TAGS-fastjar:
8260 @if fastjar
8261 maybe-TAGS-fastjar: TAGS-fastjar
8263 TAGS-fastjar: \
8264 configure-fastjar
8265 @[ -f ./fastjar/Makefile ] || exit 0; \
8266 r=`${PWD_COMMAND}`; export r; \
8267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8268 $(HOST_EXPORTS) \
8269 for flag in $(EXTRA_HOST_FLAGS) ; do \
8270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8271 done; \
8272 echo "Doing TAGS in fastjar" ; \
8273 (cd $(HOST_SUBDIR)/fastjar && \
8274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8276 "RANLIB=$${RANLIB}" \
8277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8278 TAGS) \
8279 || exit 1
8281 @endif fastjar
8283 .PHONY: maybe-install-info-fastjar install-info-fastjar
8284 maybe-install-info-fastjar:
8285 @if fastjar
8286 maybe-install-info-fastjar: install-info-fastjar
8288 install-info-fastjar: \
8289 configure-fastjar \
8290 info-fastjar
8291 @[ -f ./fastjar/Makefile ] || exit 0; \
8292 r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294 $(HOST_EXPORTS) \
8295 for flag in $(EXTRA_HOST_FLAGS) ; do \
8296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8297 done; \
8298 echo "Doing install-info in fastjar" ; \
8299 (cd $(HOST_SUBDIR)/fastjar && \
8300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8302 "RANLIB=$${RANLIB}" \
8303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8304 install-info) \
8305 || exit 1
8307 @endif fastjar
8309 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8310 maybe-installcheck-fastjar:
8311 @if fastjar
8312 maybe-installcheck-fastjar: installcheck-fastjar
8314 installcheck-fastjar: \
8315 configure-fastjar
8316 @[ -f ./fastjar/Makefile ] || exit 0; \
8317 r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(HOST_EXPORTS) \
8320 for flag in $(EXTRA_HOST_FLAGS) ; do \
8321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8322 done; \
8323 echo "Doing installcheck in fastjar" ; \
8324 (cd $(HOST_SUBDIR)/fastjar && \
8325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8327 "RANLIB=$${RANLIB}" \
8328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8329 installcheck) \
8330 || exit 1
8332 @endif fastjar
8334 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8335 maybe-mostlyclean-fastjar:
8336 @if fastjar
8337 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8339 mostlyclean-fastjar:
8340 @[ -f ./fastjar/Makefile ] || exit 0; \
8341 r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8343 $(HOST_EXPORTS) \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8346 done; \
8347 echo "Doing mostlyclean in fastjar" ; \
8348 (cd $(HOST_SUBDIR)/fastjar && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8353 mostlyclean) \
8354 || exit 1
8356 @endif fastjar
8358 .PHONY: maybe-clean-fastjar clean-fastjar
8359 maybe-clean-fastjar:
8360 @if fastjar
8361 maybe-clean-fastjar: clean-fastjar
8363 clean-fastjar:
8364 @[ -f ./fastjar/Makefile ] || exit 0; \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8367 $(HOST_EXPORTS) \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8370 done; \
8371 echo "Doing clean in fastjar" ; \
8372 (cd $(HOST_SUBDIR)/fastjar && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8377 clean) \
8378 || exit 1
8380 @endif fastjar
8382 .PHONY: maybe-distclean-fastjar distclean-fastjar
8383 maybe-distclean-fastjar:
8384 @if fastjar
8385 maybe-distclean-fastjar: distclean-fastjar
8387 distclean-fastjar:
8388 @[ -f ./fastjar/Makefile ] || exit 0; \
8389 r=`${PWD_COMMAND}`; export r; \
8390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8391 $(HOST_EXPORTS) \
8392 for flag in $(EXTRA_HOST_FLAGS) ; do \
8393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8394 done; \
8395 echo "Doing distclean in fastjar" ; \
8396 (cd $(HOST_SUBDIR)/fastjar && \
8397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8399 "RANLIB=$${RANLIB}" \
8400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8401 distclean) \
8402 || exit 1
8404 @endif fastjar
8406 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8407 maybe-maintainer-clean-fastjar:
8408 @if fastjar
8409 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8411 maintainer-clean-fastjar:
8412 @[ -f ./fastjar/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing maintainer-clean in fastjar" ; \
8420 (cd $(HOST_SUBDIR)/fastjar && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8425 maintainer-clean) \
8426 || exit 1
8428 @endif fastjar
8432 .PHONY: configure-fileutils maybe-configure-fileutils
8433 maybe-configure-fileutils:
8434 @if fileutils
8435 maybe-configure-fileutils: configure-fileutils
8436 configure-fileutils:
8437 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8438 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8439 r=`${PWD_COMMAND}`; export r; \
8440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 $(HOST_EXPORTS) \
8442 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8443 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8444 case $(srcdir) in \
8445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8446 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8448 esac; \
8449 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8450 libsrcdir="$$s/fileutils"; \
8451 $(SHELL) $${libsrcdir}/configure \
8452 $(HOST_CONFIGARGS) $${srcdiroption} \
8453 || exit 1
8454 @endif fileutils
8460 .PHONY: all-fileutils maybe-all-fileutils
8461 maybe-all-fileutils:
8462 @if fileutils
8463 TARGET-fileutils=all
8464 maybe-all-fileutils: all-fileutils
8465 all-fileutils: configure-fileutils
8466 @r=`${PWD_COMMAND}`; export r; \
8467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8468 $(HOST_EXPORTS) \
8469 (cd $(HOST_SUBDIR)/fileutils && \
8470 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8471 @endif fileutils
8476 .PHONY: check-fileutils maybe-check-fileutils
8477 maybe-check-fileutils:
8478 @if fileutils
8479 maybe-check-fileutils: check-fileutils
8481 check-fileutils:
8482 @r=`${PWD_COMMAND}`; export r; \
8483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 $(HOST_EXPORTS) \
8485 (cd $(HOST_SUBDIR)/fileutils && \
8486 $(MAKE) $(FLAGS_TO_PASS) check)
8488 @endif fileutils
8490 .PHONY: install-fileutils maybe-install-fileutils
8491 maybe-install-fileutils:
8492 @if fileutils
8493 maybe-install-fileutils: install-fileutils
8495 install-fileutils: installdirs
8496 @r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8498 $(HOST_EXPORTS) \
8499 (cd $(HOST_SUBDIR)/fileutils && \
8500 $(MAKE) $(FLAGS_TO_PASS) install)
8502 @endif fileutils
8504 # Other targets (info, dvi, etc.)
8506 .PHONY: maybe-info-fileutils info-fileutils
8507 maybe-info-fileutils:
8508 @if fileutils
8509 maybe-info-fileutils: info-fileutils
8511 info-fileutils: \
8512 configure-fileutils
8513 @[ -f ./fileutils/Makefile ] || exit 0; \
8514 r=`${PWD_COMMAND}`; export r; \
8515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8516 $(HOST_EXPORTS) \
8517 for flag in $(EXTRA_HOST_FLAGS) ; do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8519 done; \
8520 echo "Doing info in fileutils" ; \
8521 (cd $(HOST_SUBDIR)/fileutils && \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8526 info) \
8527 || exit 1
8529 @endif fileutils
8531 .PHONY: maybe-dvi-fileutils dvi-fileutils
8532 maybe-dvi-fileutils:
8533 @if fileutils
8534 maybe-dvi-fileutils: dvi-fileutils
8536 dvi-fileutils: \
8537 configure-fileutils
8538 @[ -f ./fileutils/Makefile ] || exit 0; \
8539 r=`${PWD_COMMAND}`; export r; \
8540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS) ; do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing dvi in fileutils" ; \
8546 (cd $(HOST_SUBDIR)/fileutils && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8551 dvi) \
8552 || exit 1
8554 @endif fileutils
8556 .PHONY: maybe-html-fileutils html-fileutils
8557 maybe-html-fileutils:
8558 @if fileutils
8559 maybe-html-fileutils: html-fileutils
8561 html-fileutils: \
8562 configure-fileutils
8563 @[ -f ./fileutils/Makefile ] || exit 0; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8566 $(HOST_EXPORTS) \
8567 for flag in $(EXTRA_HOST_FLAGS) ; do \
8568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8569 done; \
8570 echo "Doing html in fileutils" ; \
8571 (cd $(HOST_SUBDIR)/fileutils && \
8572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8574 "RANLIB=$${RANLIB}" \
8575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8576 html) \
8577 || exit 1
8579 @endif fileutils
8581 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8582 maybe-TAGS-fileutils:
8583 @if fileutils
8584 maybe-TAGS-fileutils: TAGS-fileutils
8586 TAGS-fileutils: \
8587 configure-fileutils
8588 @[ -f ./fileutils/Makefile ] || exit 0; \
8589 r=`${PWD_COMMAND}`; export r; \
8590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8591 $(HOST_EXPORTS) \
8592 for flag in $(EXTRA_HOST_FLAGS) ; do \
8593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8594 done; \
8595 echo "Doing TAGS in fileutils" ; \
8596 (cd $(HOST_SUBDIR)/fileutils && \
8597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8599 "RANLIB=$${RANLIB}" \
8600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8601 TAGS) \
8602 || exit 1
8604 @endif fileutils
8606 .PHONY: maybe-install-info-fileutils install-info-fileutils
8607 maybe-install-info-fileutils:
8608 @if fileutils
8609 maybe-install-info-fileutils: install-info-fileutils
8611 install-info-fileutils: \
8612 configure-fileutils \
8613 info-fileutils
8614 @[ -f ./fileutils/Makefile ] || exit 0; \
8615 r=`${PWD_COMMAND}`; export r; \
8616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8617 $(HOST_EXPORTS) \
8618 for flag in $(EXTRA_HOST_FLAGS) ; do \
8619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8620 done; \
8621 echo "Doing install-info in fileutils" ; \
8622 (cd $(HOST_SUBDIR)/fileutils && \
8623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8625 "RANLIB=$${RANLIB}" \
8626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8627 install-info) \
8628 || exit 1
8630 @endif fileutils
8632 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8633 maybe-installcheck-fileutils:
8634 @if fileutils
8635 maybe-installcheck-fileutils: installcheck-fileutils
8637 installcheck-fileutils: \
8638 configure-fileutils
8639 @[ -f ./fileutils/Makefile ] || exit 0; \
8640 r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(HOST_EXPORTS) \
8643 for flag in $(EXTRA_HOST_FLAGS) ; do \
8644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8645 done; \
8646 echo "Doing installcheck in fileutils" ; \
8647 (cd $(HOST_SUBDIR)/fileutils && \
8648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8650 "RANLIB=$${RANLIB}" \
8651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8652 installcheck) \
8653 || exit 1
8655 @endif fileutils
8657 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8658 maybe-mostlyclean-fileutils:
8659 @if fileutils
8660 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8662 mostlyclean-fileutils:
8663 @[ -f ./fileutils/Makefile ] || exit 0; \
8664 r=`${PWD_COMMAND}`; export r; \
8665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8666 $(HOST_EXPORTS) \
8667 for flag in $(EXTRA_HOST_FLAGS) ; do \
8668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8669 done; \
8670 echo "Doing mostlyclean in fileutils" ; \
8671 (cd $(HOST_SUBDIR)/fileutils && \
8672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8674 "RANLIB=$${RANLIB}" \
8675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8676 mostlyclean) \
8677 || exit 1
8679 @endif fileutils
8681 .PHONY: maybe-clean-fileutils clean-fileutils
8682 maybe-clean-fileutils:
8683 @if fileutils
8684 maybe-clean-fileutils: clean-fileutils
8686 clean-fileutils:
8687 @[ -f ./fileutils/Makefile ] || exit 0; \
8688 r=`${PWD_COMMAND}`; export r; \
8689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8690 $(HOST_EXPORTS) \
8691 for flag in $(EXTRA_HOST_FLAGS) ; do \
8692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8693 done; \
8694 echo "Doing clean in fileutils" ; \
8695 (cd $(HOST_SUBDIR)/fileutils && \
8696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8698 "RANLIB=$${RANLIB}" \
8699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8700 clean) \
8701 || exit 1
8703 @endif fileutils
8705 .PHONY: maybe-distclean-fileutils distclean-fileutils
8706 maybe-distclean-fileutils:
8707 @if fileutils
8708 maybe-distclean-fileutils: distclean-fileutils
8710 distclean-fileutils:
8711 @[ -f ./fileutils/Makefile ] || exit 0; \
8712 r=`${PWD_COMMAND}`; export r; \
8713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8714 $(HOST_EXPORTS) \
8715 for flag in $(EXTRA_HOST_FLAGS) ; do \
8716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8717 done; \
8718 echo "Doing distclean in fileutils" ; \
8719 (cd $(HOST_SUBDIR)/fileutils && \
8720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8722 "RANLIB=$${RANLIB}" \
8723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8724 distclean) \
8725 || exit 1
8727 @endif fileutils
8729 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8730 maybe-maintainer-clean-fileutils:
8731 @if fileutils
8732 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8734 maintainer-clean-fileutils:
8735 @[ -f ./fileutils/Makefile ] || exit 0; \
8736 r=`${PWD_COMMAND}`; export r; \
8737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738 $(HOST_EXPORTS) \
8739 for flag in $(EXTRA_HOST_FLAGS) ; do \
8740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8741 done; \
8742 echo "Doing maintainer-clean in fileutils" ; \
8743 (cd $(HOST_SUBDIR)/fileutils && \
8744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8746 "RANLIB=$${RANLIB}" \
8747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8748 maintainer-clean) \
8749 || exit 1
8751 @endif fileutils
8755 .PHONY: configure-findutils maybe-configure-findutils
8756 maybe-configure-findutils:
8757 @if findutils
8758 maybe-configure-findutils: configure-findutils
8759 configure-findutils:
8760 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8762 r=`${PWD_COMMAND}`; export r; \
8763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8764 $(HOST_EXPORTS) \
8765 echo Configuring in $(HOST_SUBDIR)/findutils; \
8766 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8767 case $(srcdir) in \
8768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8769 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8771 esac; \
8772 srcdiroption="--srcdir=$${topdir}/findutils"; \
8773 libsrcdir="$$s/findutils"; \
8774 $(SHELL) $${libsrcdir}/configure \
8775 $(HOST_CONFIGARGS) $${srcdiroption} \
8776 || exit 1
8777 @endif findutils
8783 .PHONY: all-findutils maybe-all-findutils
8784 maybe-all-findutils:
8785 @if findutils
8786 TARGET-findutils=all
8787 maybe-all-findutils: all-findutils
8788 all-findutils: configure-findutils
8789 @r=`${PWD_COMMAND}`; export r; \
8790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8791 $(HOST_EXPORTS) \
8792 (cd $(HOST_SUBDIR)/findutils && \
8793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8794 @endif findutils
8799 .PHONY: check-findutils maybe-check-findutils
8800 maybe-check-findutils:
8801 @if findutils
8802 maybe-check-findutils: check-findutils
8804 check-findutils:
8805 @r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(HOST_EXPORTS) \
8808 (cd $(HOST_SUBDIR)/findutils && \
8809 $(MAKE) $(FLAGS_TO_PASS) check)
8811 @endif findutils
8813 .PHONY: install-findutils maybe-install-findutils
8814 maybe-install-findutils:
8815 @if findutils
8816 maybe-install-findutils: install-findutils
8818 install-findutils: installdirs
8819 @r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 $(HOST_EXPORTS) \
8822 (cd $(HOST_SUBDIR)/findutils && \
8823 $(MAKE) $(FLAGS_TO_PASS) install)
8825 @endif findutils
8827 # Other targets (info, dvi, etc.)
8829 .PHONY: maybe-info-findutils info-findutils
8830 maybe-info-findutils:
8831 @if findutils
8832 maybe-info-findutils: info-findutils
8834 info-findutils: \
8835 configure-findutils
8836 @[ -f ./findutils/Makefile ] || exit 0; \
8837 r=`${PWD_COMMAND}`; export r; \
8838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8839 $(HOST_EXPORTS) \
8840 for flag in $(EXTRA_HOST_FLAGS) ; do \
8841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8842 done; \
8843 echo "Doing info in findutils" ; \
8844 (cd $(HOST_SUBDIR)/findutils && \
8845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8847 "RANLIB=$${RANLIB}" \
8848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8849 info) \
8850 || exit 1
8852 @endif findutils
8854 .PHONY: maybe-dvi-findutils dvi-findutils
8855 maybe-dvi-findutils:
8856 @if findutils
8857 maybe-dvi-findutils: dvi-findutils
8859 dvi-findutils: \
8860 configure-findutils
8861 @[ -f ./findutils/Makefile ] || exit 0; \
8862 r=`${PWD_COMMAND}`; export r; \
8863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864 $(HOST_EXPORTS) \
8865 for flag in $(EXTRA_HOST_FLAGS) ; do \
8866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867 done; \
8868 echo "Doing dvi in findutils" ; \
8869 (cd $(HOST_SUBDIR)/findutils && \
8870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872 "RANLIB=$${RANLIB}" \
8873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8874 dvi) \
8875 || exit 1
8877 @endif findutils
8879 .PHONY: maybe-html-findutils html-findutils
8880 maybe-html-findutils:
8881 @if findutils
8882 maybe-html-findutils: html-findutils
8884 html-findutils: \
8885 configure-findutils
8886 @[ -f ./findutils/Makefile ] || exit 0; \
8887 r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8889 $(HOST_EXPORTS) \
8890 for flag in $(EXTRA_HOST_FLAGS) ; do \
8891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8892 done; \
8893 echo "Doing html in findutils" ; \
8894 (cd $(HOST_SUBDIR)/findutils && \
8895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8897 "RANLIB=$${RANLIB}" \
8898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8899 html) \
8900 || exit 1
8902 @endif findutils
8904 .PHONY: maybe-TAGS-findutils TAGS-findutils
8905 maybe-TAGS-findutils:
8906 @if findutils
8907 maybe-TAGS-findutils: TAGS-findutils
8909 TAGS-findutils: \
8910 configure-findutils
8911 @[ -f ./findutils/Makefile ] || exit 0; \
8912 r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 $(HOST_EXPORTS) \
8915 for flag in $(EXTRA_HOST_FLAGS) ; do \
8916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8917 done; \
8918 echo "Doing TAGS in findutils" ; \
8919 (cd $(HOST_SUBDIR)/findutils && \
8920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8922 "RANLIB=$${RANLIB}" \
8923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8924 TAGS) \
8925 || exit 1
8927 @endif findutils
8929 .PHONY: maybe-install-info-findutils install-info-findutils
8930 maybe-install-info-findutils:
8931 @if findutils
8932 maybe-install-info-findutils: install-info-findutils
8934 install-info-findutils: \
8935 configure-findutils \
8936 info-findutils
8937 @[ -f ./findutils/Makefile ] || exit 0; \
8938 r=`${PWD_COMMAND}`; export r; \
8939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8940 $(HOST_EXPORTS) \
8941 for flag in $(EXTRA_HOST_FLAGS) ; do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8943 done; \
8944 echo "Doing install-info in findutils" ; \
8945 (cd $(HOST_SUBDIR)/findutils && \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8950 install-info) \
8951 || exit 1
8953 @endif findutils
8955 .PHONY: maybe-installcheck-findutils installcheck-findutils
8956 maybe-installcheck-findutils:
8957 @if findutils
8958 maybe-installcheck-findutils: installcheck-findutils
8960 installcheck-findutils: \
8961 configure-findutils
8962 @[ -f ./findutils/Makefile ] || exit 0; \
8963 r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8965 $(HOST_EXPORTS) \
8966 for flag in $(EXTRA_HOST_FLAGS) ; do \
8967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8968 done; \
8969 echo "Doing installcheck in findutils" ; \
8970 (cd $(HOST_SUBDIR)/findutils && \
8971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8973 "RANLIB=$${RANLIB}" \
8974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8975 installcheck) \
8976 || exit 1
8978 @endif findutils
8980 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8981 maybe-mostlyclean-findutils:
8982 @if findutils
8983 maybe-mostlyclean-findutils: mostlyclean-findutils
8985 mostlyclean-findutils:
8986 @[ -f ./findutils/Makefile ] || exit 0; \
8987 r=`${PWD_COMMAND}`; export r; \
8988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 $(HOST_EXPORTS) \
8990 for flag in $(EXTRA_HOST_FLAGS) ; do \
8991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8992 done; \
8993 echo "Doing mostlyclean in findutils" ; \
8994 (cd $(HOST_SUBDIR)/findutils && \
8995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8997 "RANLIB=$${RANLIB}" \
8998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8999 mostlyclean) \
9000 || exit 1
9002 @endif findutils
9004 .PHONY: maybe-clean-findutils clean-findutils
9005 maybe-clean-findutils:
9006 @if findutils
9007 maybe-clean-findutils: clean-findutils
9009 clean-findutils:
9010 @[ -f ./findutils/Makefile ] || exit 0; \
9011 r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9013 $(HOST_EXPORTS) \
9014 for flag in $(EXTRA_HOST_FLAGS) ; do \
9015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9016 done; \
9017 echo "Doing clean in findutils" ; \
9018 (cd $(HOST_SUBDIR)/findutils && \
9019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9021 "RANLIB=$${RANLIB}" \
9022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9023 clean) \
9024 || exit 1
9026 @endif findutils
9028 .PHONY: maybe-distclean-findutils distclean-findutils
9029 maybe-distclean-findutils:
9030 @if findutils
9031 maybe-distclean-findutils: distclean-findutils
9033 distclean-findutils:
9034 @[ -f ./findutils/Makefile ] || exit 0; \
9035 r=`${PWD_COMMAND}`; export r; \
9036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9037 $(HOST_EXPORTS) \
9038 for flag in $(EXTRA_HOST_FLAGS) ; do \
9039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9040 done; \
9041 echo "Doing distclean in findutils" ; \
9042 (cd $(HOST_SUBDIR)/findutils && \
9043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9045 "RANLIB=$${RANLIB}" \
9046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9047 distclean) \
9048 || exit 1
9050 @endif findutils
9052 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9053 maybe-maintainer-clean-findutils:
9054 @if findutils
9055 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9057 maintainer-clean-findutils:
9058 @[ -f ./findutils/Makefile ] || exit 0; \
9059 r=`${PWD_COMMAND}`; export r; \
9060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9061 $(HOST_EXPORTS) \
9062 for flag in $(EXTRA_HOST_FLAGS) ; do \
9063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9064 done; \
9065 echo "Doing maintainer-clean in findutils" ; \
9066 (cd $(HOST_SUBDIR)/findutils && \
9067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9069 "RANLIB=$${RANLIB}" \
9070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9071 maintainer-clean) \
9072 || exit 1
9074 @endif findutils
9078 .PHONY: configure-find maybe-configure-find
9079 maybe-configure-find:
9080 @if find
9081 maybe-configure-find: configure-find
9082 configure-find:
9083 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9085 r=`${PWD_COMMAND}`; export r; \
9086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9087 $(HOST_EXPORTS) \
9088 echo Configuring in $(HOST_SUBDIR)/find; \
9089 cd "$(HOST_SUBDIR)/find" || exit 1; \
9090 case $(srcdir) in \
9091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9092 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9094 esac; \
9095 srcdiroption="--srcdir=$${topdir}/find"; \
9096 libsrcdir="$$s/find"; \
9097 $(SHELL) $${libsrcdir}/configure \
9098 $(HOST_CONFIGARGS) $${srcdiroption} \
9099 || exit 1
9100 @endif find
9106 .PHONY: all-find maybe-all-find
9107 maybe-all-find:
9108 @if find
9109 TARGET-find=all
9110 maybe-all-find: all-find
9111 all-find: configure-find
9112 @r=`${PWD_COMMAND}`; export r; \
9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9114 $(HOST_EXPORTS) \
9115 (cd $(HOST_SUBDIR)/find && \
9116 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9117 @endif find
9122 .PHONY: check-find maybe-check-find
9123 maybe-check-find:
9124 @if find
9125 maybe-check-find: check-find
9127 check-find:
9128 @r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 $(HOST_EXPORTS) \
9131 (cd $(HOST_SUBDIR)/find && \
9132 $(MAKE) $(FLAGS_TO_PASS) check)
9134 @endif find
9136 .PHONY: install-find maybe-install-find
9137 maybe-install-find:
9138 @if find
9139 maybe-install-find: install-find
9141 install-find: installdirs
9142 @r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 (cd $(HOST_SUBDIR)/find && \
9146 $(MAKE) $(FLAGS_TO_PASS) install)
9148 @endif find
9150 # Other targets (info, dvi, etc.)
9152 .PHONY: maybe-info-find info-find
9153 maybe-info-find:
9154 @if find
9155 maybe-info-find: info-find
9157 info-find: \
9158 configure-find
9159 @[ -f ./find/Makefile ] || exit 0; \
9160 r=`${PWD_COMMAND}`; export r; \
9161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9162 $(HOST_EXPORTS) \
9163 for flag in $(EXTRA_HOST_FLAGS) ; do \
9164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9165 done; \
9166 echo "Doing info in find" ; \
9167 (cd $(HOST_SUBDIR)/find && \
9168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9170 "RANLIB=$${RANLIB}" \
9171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9172 info) \
9173 || exit 1
9175 @endif find
9177 .PHONY: maybe-dvi-find dvi-find
9178 maybe-dvi-find:
9179 @if find
9180 maybe-dvi-find: dvi-find
9182 dvi-find: \
9183 configure-find
9184 @[ -f ./find/Makefile ] || exit 0; \
9185 r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 $(HOST_EXPORTS) \
9188 for flag in $(EXTRA_HOST_FLAGS) ; do \
9189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9190 done; \
9191 echo "Doing dvi in find" ; \
9192 (cd $(HOST_SUBDIR)/find && \
9193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9195 "RANLIB=$${RANLIB}" \
9196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9197 dvi) \
9198 || exit 1
9200 @endif find
9202 .PHONY: maybe-html-find html-find
9203 maybe-html-find:
9204 @if find
9205 maybe-html-find: html-find
9207 html-find: \
9208 configure-find
9209 @[ -f ./find/Makefile ] || exit 0; \
9210 r=`${PWD_COMMAND}`; export r; \
9211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 $(HOST_EXPORTS) \
9213 for flag in $(EXTRA_HOST_FLAGS) ; do \
9214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 done; \
9216 echo "Doing html in find" ; \
9217 (cd $(HOST_SUBDIR)/find && \
9218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9220 "RANLIB=$${RANLIB}" \
9221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9222 html) \
9223 || exit 1
9225 @endif find
9227 .PHONY: maybe-TAGS-find TAGS-find
9228 maybe-TAGS-find:
9229 @if find
9230 maybe-TAGS-find: TAGS-find
9232 TAGS-find: \
9233 configure-find
9234 @[ -f ./find/Makefile ] || exit 0; \
9235 r=`${PWD_COMMAND}`; export r; \
9236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 $(HOST_EXPORTS) \
9238 for flag in $(EXTRA_HOST_FLAGS) ; do \
9239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 done; \
9241 echo "Doing TAGS in find" ; \
9242 (cd $(HOST_SUBDIR)/find && \
9243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9245 "RANLIB=$${RANLIB}" \
9246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9247 TAGS) \
9248 || exit 1
9250 @endif find
9252 .PHONY: maybe-install-info-find install-info-find
9253 maybe-install-info-find:
9254 @if find
9255 maybe-install-info-find: install-info-find
9257 install-info-find: \
9258 configure-find \
9259 info-find
9260 @[ -f ./find/Makefile ] || exit 0; \
9261 r=`${PWD_COMMAND}`; export r; \
9262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9263 $(HOST_EXPORTS) \
9264 for flag in $(EXTRA_HOST_FLAGS) ; do \
9265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9266 done; \
9267 echo "Doing install-info in find" ; \
9268 (cd $(HOST_SUBDIR)/find && \
9269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9271 "RANLIB=$${RANLIB}" \
9272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9273 install-info) \
9274 || exit 1
9276 @endif find
9278 .PHONY: maybe-installcheck-find installcheck-find
9279 maybe-installcheck-find:
9280 @if find
9281 maybe-installcheck-find: installcheck-find
9283 installcheck-find: \
9284 configure-find
9285 @[ -f ./find/Makefile ] || exit 0; \
9286 r=`${PWD_COMMAND}`; export r; \
9287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 $(HOST_EXPORTS) \
9289 for flag in $(EXTRA_HOST_FLAGS) ; do \
9290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9291 done; \
9292 echo "Doing installcheck in find" ; \
9293 (cd $(HOST_SUBDIR)/find && \
9294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9296 "RANLIB=$${RANLIB}" \
9297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9298 installcheck) \
9299 || exit 1
9301 @endif find
9303 .PHONY: maybe-mostlyclean-find mostlyclean-find
9304 maybe-mostlyclean-find:
9305 @if find
9306 maybe-mostlyclean-find: mostlyclean-find
9308 mostlyclean-find:
9309 @[ -f ./find/Makefile ] || exit 0; \
9310 r=`${PWD_COMMAND}`; export r; \
9311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9312 $(HOST_EXPORTS) \
9313 for flag in $(EXTRA_HOST_FLAGS) ; do \
9314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9315 done; \
9316 echo "Doing mostlyclean in find" ; \
9317 (cd $(HOST_SUBDIR)/find && \
9318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9320 "RANLIB=$${RANLIB}" \
9321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9322 mostlyclean) \
9323 || exit 1
9325 @endif find
9327 .PHONY: maybe-clean-find clean-find
9328 maybe-clean-find:
9329 @if find
9330 maybe-clean-find: clean-find
9332 clean-find:
9333 @[ -f ./find/Makefile ] || exit 0; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336 $(HOST_EXPORTS) \
9337 for flag in $(EXTRA_HOST_FLAGS) ; do \
9338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9339 done; \
9340 echo "Doing clean in find" ; \
9341 (cd $(HOST_SUBDIR)/find && \
9342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9344 "RANLIB=$${RANLIB}" \
9345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9346 clean) \
9347 || exit 1
9349 @endif find
9351 .PHONY: maybe-distclean-find distclean-find
9352 maybe-distclean-find:
9353 @if find
9354 maybe-distclean-find: distclean-find
9356 distclean-find:
9357 @[ -f ./find/Makefile ] || exit 0; \
9358 r=`${PWD_COMMAND}`; export r; \
9359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9360 $(HOST_EXPORTS) \
9361 for flag in $(EXTRA_HOST_FLAGS) ; do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363 done; \
9364 echo "Doing distclean in find" ; \
9365 (cd $(HOST_SUBDIR)/find && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 distclean) \
9371 || exit 1
9373 @endif find
9375 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9376 maybe-maintainer-clean-find:
9377 @if find
9378 maybe-maintainer-clean-find: maintainer-clean-find
9380 maintainer-clean-find:
9381 @[ -f ./find/Makefile ] || exit 0; \
9382 r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 $(HOST_EXPORTS) \
9385 for flag in $(EXTRA_HOST_FLAGS) ; do \
9386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9387 done; \
9388 echo "Doing maintainer-clean in find" ; \
9389 (cd $(HOST_SUBDIR)/find && \
9390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9392 "RANLIB=$${RANLIB}" \
9393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9394 maintainer-clean) \
9395 || exit 1
9397 @endif find
9401 .PHONY: configure-fixincludes maybe-configure-fixincludes
9402 maybe-configure-fixincludes:
9403 @if fixincludes
9404 maybe-configure-fixincludes: configure-fixincludes
9405 configure-fixincludes:
9406 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9408 r=`${PWD_COMMAND}`; export r; \
9409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9410 $(HOST_EXPORTS) \
9411 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9412 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9413 case $(srcdir) in \
9414 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9415 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9416 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9417 esac; \
9418 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9419 libsrcdir="$$s/fixincludes"; \
9420 $(SHELL) $${libsrcdir}/configure \
9421 $(HOST_CONFIGARGS) $${srcdiroption} \
9422 || exit 1
9423 @endif fixincludes
9429 .PHONY: all-fixincludes maybe-all-fixincludes
9430 maybe-all-fixincludes:
9431 @if fixincludes
9432 TARGET-fixincludes=all
9433 maybe-all-fixincludes: all-fixincludes
9434 all-fixincludes: configure-fixincludes
9435 @r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9437 $(HOST_EXPORTS) \
9438 (cd $(HOST_SUBDIR)/fixincludes && \
9439 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9440 @endif fixincludes
9445 .PHONY: check-fixincludes maybe-check-fixincludes
9446 maybe-check-fixincludes:
9447 @if fixincludes
9448 maybe-check-fixincludes: check-fixincludes
9450 check-fixincludes:
9451 @r=`${PWD_COMMAND}`; export r; \
9452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9453 $(HOST_EXPORTS) \
9454 (cd $(HOST_SUBDIR)/fixincludes && \
9455 $(MAKE) $(FLAGS_TO_PASS) check)
9457 @endif fixincludes
9459 .PHONY: install-fixincludes maybe-install-fixincludes
9460 maybe-install-fixincludes:
9461 @if fixincludes
9462 maybe-install-fixincludes: install-fixincludes
9464 install-fixincludes: installdirs
9465 @r=`${PWD_COMMAND}`; export r; \
9466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9467 $(HOST_EXPORTS) \
9468 (cd $(HOST_SUBDIR)/fixincludes && \
9469 $(MAKE) $(FLAGS_TO_PASS) install)
9471 @endif fixincludes
9473 # Other targets (info, dvi, etc.)
9475 .PHONY: maybe-info-fixincludes info-fixincludes
9476 maybe-info-fixincludes:
9477 @if fixincludes
9478 maybe-info-fixincludes: info-fixincludes
9480 # fixincludes doesn't support info.
9481 info-fixincludes:
9483 @endif fixincludes
9485 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9486 maybe-dvi-fixincludes:
9487 @if fixincludes
9488 maybe-dvi-fixincludes: dvi-fixincludes
9490 # fixincludes doesn't support dvi.
9491 dvi-fixincludes:
9493 @endif fixincludes
9495 .PHONY: maybe-html-fixincludes html-fixincludes
9496 maybe-html-fixincludes:
9497 @if fixincludes
9498 maybe-html-fixincludes: html-fixincludes
9500 html-fixincludes: \
9501 configure-fixincludes
9502 @[ -f ./fixincludes/Makefile ] || exit 0; \
9503 r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 $(HOST_EXPORTS) \
9506 for flag in $(EXTRA_HOST_FLAGS) ; do \
9507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9508 done; \
9509 echo "Doing html in fixincludes" ; \
9510 (cd $(HOST_SUBDIR)/fixincludes && \
9511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9513 "RANLIB=$${RANLIB}" \
9514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9515 html) \
9516 || exit 1
9518 @endif fixincludes
9520 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9521 maybe-TAGS-fixincludes:
9522 @if fixincludes
9523 maybe-TAGS-fixincludes: TAGS-fixincludes
9525 # fixincludes doesn't support TAGS.
9526 TAGS-fixincludes:
9528 @endif fixincludes
9530 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9531 maybe-install-info-fixincludes:
9532 @if fixincludes
9533 maybe-install-info-fixincludes: install-info-fixincludes
9535 # fixincludes doesn't support install-info.
9536 install-info-fixincludes:
9538 @endif fixincludes
9540 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9541 maybe-installcheck-fixincludes:
9542 @if fixincludes
9543 maybe-installcheck-fixincludes: installcheck-fixincludes
9545 # fixincludes doesn't support installcheck.
9546 installcheck-fixincludes:
9548 @endif fixincludes
9550 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9551 maybe-mostlyclean-fixincludes:
9552 @if fixincludes
9553 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9555 mostlyclean-fixincludes:
9556 @[ -f ./fixincludes/Makefile ] || exit 0; \
9557 r=`${PWD_COMMAND}`; export r; \
9558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9559 $(HOST_EXPORTS) \
9560 for flag in $(EXTRA_HOST_FLAGS) ; do \
9561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9562 done; \
9563 echo "Doing mostlyclean in fixincludes" ; \
9564 (cd $(HOST_SUBDIR)/fixincludes && \
9565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9567 "RANLIB=$${RANLIB}" \
9568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9569 mostlyclean) \
9570 || exit 1
9572 @endif fixincludes
9574 .PHONY: maybe-clean-fixincludes clean-fixincludes
9575 maybe-clean-fixincludes:
9576 @if fixincludes
9577 maybe-clean-fixincludes: clean-fixincludes
9579 clean-fixincludes:
9580 @[ -f ./fixincludes/Makefile ] || exit 0; \
9581 r=`${PWD_COMMAND}`; export r; \
9582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9583 $(HOST_EXPORTS) \
9584 for flag in $(EXTRA_HOST_FLAGS) ; do \
9585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9586 done; \
9587 echo "Doing clean in fixincludes" ; \
9588 (cd $(HOST_SUBDIR)/fixincludes && \
9589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9591 "RANLIB=$${RANLIB}" \
9592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9593 clean) \
9594 || exit 1
9596 @endif fixincludes
9598 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9599 maybe-distclean-fixincludes:
9600 @if fixincludes
9601 maybe-distclean-fixincludes: distclean-fixincludes
9603 distclean-fixincludes:
9604 @[ -f ./fixincludes/Makefile ] || exit 0; \
9605 r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 $(HOST_EXPORTS) \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9610 done; \
9611 echo "Doing distclean in fixincludes" ; \
9612 (cd $(HOST_SUBDIR)/fixincludes && \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9617 distclean) \
9618 || exit 1
9620 @endif fixincludes
9622 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9623 maybe-maintainer-clean-fixincludes:
9624 @if fixincludes
9625 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9627 maintainer-clean-fixincludes:
9628 @[ -f ./fixincludes/Makefile ] || exit 0; \
9629 r=`${PWD_COMMAND}`; export r; \
9630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9631 $(HOST_EXPORTS) \
9632 for flag in $(EXTRA_HOST_FLAGS) ; do \
9633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9634 done; \
9635 echo "Doing maintainer-clean in fixincludes" ; \
9636 (cd $(HOST_SUBDIR)/fixincludes && \
9637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639 "RANLIB=$${RANLIB}" \
9640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9641 maintainer-clean) \
9642 || exit 1
9644 @endif fixincludes
9648 .PHONY: configure-flex maybe-configure-flex
9649 maybe-configure-flex:
9650 @if flex
9651 maybe-configure-flex: configure-flex
9652 configure-flex:
9653 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9655 r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(HOST_EXPORTS) \
9658 echo Configuring in $(HOST_SUBDIR)/flex; \
9659 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9660 case $(srcdir) in \
9661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9662 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9664 esac; \
9665 srcdiroption="--srcdir=$${topdir}/flex"; \
9666 libsrcdir="$$s/flex"; \
9667 $(SHELL) $${libsrcdir}/configure \
9668 $(HOST_CONFIGARGS) $${srcdiroption} \
9669 || exit 1
9670 @endif flex
9676 .PHONY: all-flex maybe-all-flex
9677 maybe-all-flex:
9678 @if flex
9679 TARGET-flex=all
9680 maybe-all-flex: all-flex
9681 all-flex: configure-flex
9682 @r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 $(HOST_EXPORTS) \
9685 (cd $(HOST_SUBDIR)/flex && \
9686 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9687 @endif flex
9692 .PHONY: check-flex maybe-check-flex
9693 maybe-check-flex:
9694 @if flex
9695 maybe-check-flex: check-flex
9697 # This module is only tested in a native toolchain.
9698 check-flex:
9699 @if [ '$(host)' = '$(target)' ] ; then \
9700 r=`${PWD_COMMAND}`; export r; \
9701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9702 $(HOST_EXPORTS) \
9703 (cd $(HOST_SUBDIR)/flex && \
9704 $(MAKE) $(FLAGS_TO_PASS) check); \
9707 @endif flex
9709 .PHONY: install-flex maybe-install-flex
9710 maybe-install-flex:
9711 @if flex
9712 maybe-install-flex: install-flex
9714 install-flex: installdirs
9715 @r=`${PWD_COMMAND}`; export r; \
9716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9717 $(HOST_EXPORTS) \
9718 (cd $(HOST_SUBDIR)/flex && \
9719 $(MAKE) $(FLAGS_TO_PASS) install)
9721 @endif flex
9723 # Other targets (info, dvi, etc.)
9725 .PHONY: maybe-info-flex info-flex
9726 maybe-info-flex:
9727 @if flex
9728 maybe-info-flex: info-flex
9730 info-flex: \
9731 configure-flex
9732 @[ -f ./flex/Makefile ] || exit 0; \
9733 r=`${PWD_COMMAND}`; export r; \
9734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9735 $(HOST_EXPORTS) \
9736 for flag in $(EXTRA_HOST_FLAGS) ; do \
9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9738 done; \
9739 echo "Doing info in flex" ; \
9740 (cd $(HOST_SUBDIR)/flex && \
9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743 "RANLIB=$${RANLIB}" \
9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9745 info) \
9746 || exit 1
9748 @endif flex
9750 .PHONY: maybe-dvi-flex dvi-flex
9751 maybe-dvi-flex:
9752 @if flex
9753 maybe-dvi-flex: dvi-flex
9755 dvi-flex: \
9756 configure-flex
9757 @[ -f ./flex/Makefile ] || exit 0; \
9758 r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(HOST_EXPORTS) \
9761 for flag in $(EXTRA_HOST_FLAGS) ; do \
9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9763 done; \
9764 echo "Doing dvi in flex" ; \
9765 (cd $(HOST_SUBDIR)/flex && \
9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768 "RANLIB=$${RANLIB}" \
9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 dvi) \
9771 || exit 1
9773 @endif flex
9775 .PHONY: maybe-html-flex html-flex
9776 maybe-html-flex:
9777 @if flex
9778 maybe-html-flex: html-flex
9780 html-flex: \
9781 configure-flex
9782 @[ -f ./flex/Makefile ] || exit 0; \
9783 r=`${PWD_COMMAND}`; export r; \
9784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9785 $(HOST_EXPORTS) \
9786 for flag in $(EXTRA_HOST_FLAGS) ; do \
9787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9788 done; \
9789 echo "Doing html in flex" ; \
9790 (cd $(HOST_SUBDIR)/flex && \
9791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9793 "RANLIB=$${RANLIB}" \
9794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9795 html) \
9796 || exit 1
9798 @endif flex
9800 .PHONY: maybe-TAGS-flex TAGS-flex
9801 maybe-TAGS-flex:
9802 @if flex
9803 maybe-TAGS-flex: TAGS-flex
9805 TAGS-flex: \
9806 configure-flex
9807 @[ -f ./flex/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9810 $(HOST_EXPORTS) \
9811 for flag in $(EXTRA_HOST_FLAGS) ; do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9813 done; \
9814 echo "Doing TAGS in flex" ; \
9815 (cd $(HOST_SUBDIR)/flex && \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 TAGS) \
9821 || exit 1
9823 @endif flex
9825 .PHONY: maybe-install-info-flex install-info-flex
9826 maybe-install-info-flex:
9827 @if flex
9828 maybe-install-info-flex: install-info-flex
9830 install-info-flex: \
9831 configure-flex \
9832 info-flex
9833 @[ -f ./flex/Makefile ] || exit 0; \
9834 r=`${PWD_COMMAND}`; export r; \
9835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9836 $(HOST_EXPORTS) \
9837 for flag in $(EXTRA_HOST_FLAGS) ; do \
9838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9839 done; \
9840 echo "Doing install-info in flex" ; \
9841 (cd $(HOST_SUBDIR)/flex && \
9842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9844 "RANLIB=$${RANLIB}" \
9845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9846 install-info) \
9847 || exit 1
9849 @endif flex
9851 .PHONY: maybe-installcheck-flex installcheck-flex
9852 maybe-installcheck-flex:
9853 @if flex
9854 maybe-installcheck-flex: installcheck-flex
9856 installcheck-flex: \
9857 configure-flex
9858 @[ -f ./flex/Makefile ] || exit 0; \
9859 r=`${PWD_COMMAND}`; export r; \
9860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS) ; do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing installcheck in flex" ; \
9866 (cd $(HOST_SUBDIR)/flex && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9871 installcheck) \
9872 || exit 1
9874 @endif flex
9876 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9877 maybe-mostlyclean-flex:
9878 @if flex
9879 maybe-mostlyclean-flex: mostlyclean-flex
9881 mostlyclean-flex:
9882 @[ -f ./flex/Makefile ] || exit 0; \
9883 r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9885 $(HOST_EXPORTS) \
9886 for flag in $(EXTRA_HOST_FLAGS) ; do \
9887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9888 done; \
9889 echo "Doing mostlyclean in flex" ; \
9890 (cd $(HOST_SUBDIR)/flex && \
9891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9893 "RANLIB=$${RANLIB}" \
9894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9895 mostlyclean) \
9896 || exit 1
9898 @endif flex
9900 .PHONY: maybe-clean-flex clean-flex
9901 maybe-clean-flex:
9902 @if flex
9903 maybe-clean-flex: clean-flex
9905 clean-flex:
9906 @[ -f ./flex/Makefile ] || exit 0; \
9907 r=`${PWD_COMMAND}`; export r; \
9908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9909 $(HOST_EXPORTS) \
9910 for flag in $(EXTRA_HOST_FLAGS) ; do \
9911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9912 done; \
9913 echo "Doing clean in flex" ; \
9914 (cd $(HOST_SUBDIR)/flex && \
9915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9917 "RANLIB=$${RANLIB}" \
9918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9919 clean) \
9920 || exit 1
9922 @endif flex
9924 .PHONY: maybe-distclean-flex distclean-flex
9925 maybe-distclean-flex:
9926 @if flex
9927 maybe-distclean-flex: distclean-flex
9929 distclean-flex:
9930 @[ -f ./flex/Makefile ] || exit 0; \
9931 r=`${PWD_COMMAND}`; export r; \
9932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9933 $(HOST_EXPORTS) \
9934 for flag in $(EXTRA_HOST_FLAGS) ; do \
9935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9936 done; \
9937 echo "Doing distclean in flex" ; \
9938 (cd $(HOST_SUBDIR)/flex && \
9939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9941 "RANLIB=$${RANLIB}" \
9942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9943 distclean) \
9944 || exit 1
9946 @endif flex
9948 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9949 maybe-maintainer-clean-flex:
9950 @if flex
9951 maybe-maintainer-clean-flex: maintainer-clean-flex
9953 maintainer-clean-flex:
9954 @[ -f ./flex/Makefile ] || exit 0; \
9955 r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 $(HOST_EXPORTS) \
9958 for flag in $(EXTRA_HOST_FLAGS) ; do \
9959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9960 done; \
9961 echo "Doing maintainer-clean in flex" ; \
9962 (cd $(HOST_SUBDIR)/flex && \
9963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9965 "RANLIB=$${RANLIB}" \
9966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9967 maintainer-clean) \
9968 || exit 1
9970 @endif flex
9974 .PHONY: configure-gas maybe-configure-gas
9975 maybe-configure-gas:
9976 @if gas
9977 maybe-configure-gas: configure-gas
9978 configure-gas:
9979 @test -f stage_last && exit 0; \
9980 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9982 r=`${PWD_COMMAND}`; export r; \
9983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9984 $(HOST_EXPORTS) \
9985 echo Configuring in $(HOST_SUBDIR)/gas; \
9986 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9987 case $(srcdir) in \
9988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9989 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9991 esac; \
9992 srcdiroption="--srcdir=$${topdir}/gas"; \
9993 libsrcdir="$$s/gas"; \
9994 $(SHELL) $${libsrcdir}/configure \
9995 $(HOST_CONFIGARGS) $${srcdiroption} \
9996 || exit 1
9997 @endif gas
10001 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10002 maybe-configure-stage1-gas:
10003 @if gas-bootstrap
10004 maybe-configure-stage1-gas: configure-stage1-gas
10005 configure-stage1-gas:
10006 @$(MAKE) stage1-start
10007 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10008 r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(HOST_EXPORTS) \
10011 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10012 cd $(HOST_SUBDIR)/gas || exit 1; \
10013 case $(srcdir) in \
10014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10015 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10017 esac; \
10018 srcdiroption="--srcdir=$${topdir}/gas"; \
10019 libsrcdir="$$s/gas"; \
10020 $(SHELL) $${libsrcdir}/configure \
10021 $(HOST_CONFIGARGS) $${srcdiroption} \
10022 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10023 @endif gas-bootstrap
10025 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10026 maybe-configure-stage2-gas:
10027 @if gas-bootstrap
10028 maybe-configure-stage2-gas: configure-stage2-gas
10029 configure-stage2-gas:
10030 @$(MAKE) stage2-start
10031 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10032 r=`${PWD_COMMAND}`; export r; \
10033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10034 $(HOST_EXPORTS) \
10035 $(POSTSTAGE1_HOST_EXPORTS) \
10036 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10037 cd $(HOST_SUBDIR)/gas || exit 1; \
10038 case $(srcdir) in \
10039 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10040 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10041 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10042 esac; \
10043 srcdiroption="--srcdir=$${topdir}/gas"; \
10044 libsrcdir="$$s/gas"; \
10045 $(SHELL) $${libsrcdir}/configure \
10046 $(HOST_CONFIGARGS) $${srcdiroption} \
10047 @stage2_werror_flag@
10048 @endif gas-bootstrap
10050 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10051 maybe-configure-stage3-gas:
10052 @if gas-bootstrap
10053 maybe-configure-stage3-gas: configure-stage3-gas
10054 configure-stage3-gas:
10055 @$(MAKE) stage3-start
10056 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10057 r=`${PWD_COMMAND}`; export r; \
10058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10059 $(HOST_EXPORTS) \
10060 $(POSTSTAGE1_HOST_EXPORTS) \
10061 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10062 cd $(HOST_SUBDIR)/gas || exit 1; \
10063 case $(srcdir) in \
10064 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10065 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10066 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10067 esac; \
10068 srcdiroption="--srcdir=$${topdir}/gas"; \
10069 libsrcdir="$$s/gas"; \
10070 $(SHELL) $${libsrcdir}/configure \
10071 $(HOST_CONFIGARGS) $${srcdiroption} \
10072 @stage2_werror_flag@
10073 @endif gas-bootstrap
10075 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10076 maybe-configure-stage4-gas:
10077 @if gas-bootstrap
10078 maybe-configure-stage4-gas: configure-stage4-gas
10079 configure-stage4-gas:
10080 @$(MAKE) stage4-start
10081 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(HOST_EXPORTS) \
10085 $(POSTSTAGE1_HOST_EXPORTS) \
10086 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10087 cd $(HOST_SUBDIR)/gas || exit 1; \
10088 case $(srcdir) in \
10089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10090 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10092 esac; \
10093 srcdiroption="--srcdir=$${topdir}/gas"; \
10094 libsrcdir="$$s/gas"; \
10095 $(SHELL) $${libsrcdir}/configure \
10096 $(HOST_CONFIGARGS) $${srcdiroption} \
10097 @stage2_werror_flag@
10098 @endif gas-bootstrap
10100 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10101 maybe-configure-stageprofile-gas:
10102 @if gas-bootstrap
10103 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10104 configure-stageprofile-gas:
10105 @$(MAKE) stageprofile-start
10106 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(HOST_EXPORTS) \
10110 $(POSTSTAGE1_HOST_EXPORTS) \
10111 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10112 cd $(HOST_SUBDIR)/gas || exit 1; \
10113 case $(srcdir) in \
10114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10115 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10117 esac; \
10118 srcdiroption="--srcdir=$${topdir}/gas"; \
10119 libsrcdir="$$s/gas"; \
10120 $(SHELL) $${libsrcdir}/configure \
10121 $(HOST_CONFIGARGS) $${srcdiroption} \
10122 @stage2_werror_flag@
10123 @endif gas-bootstrap
10125 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10126 maybe-configure-stagefeedback-gas:
10127 @if gas-bootstrap
10128 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10129 configure-stagefeedback-gas:
10130 @$(MAKE) stagefeedback-start
10131 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10132 r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10134 $(HOST_EXPORTS) \
10135 $(POSTSTAGE1_HOST_EXPORTS) \
10136 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10137 cd $(HOST_SUBDIR)/gas || exit 1; \
10138 case $(srcdir) in \
10139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10140 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10142 esac; \
10143 srcdiroption="--srcdir=$${topdir}/gas"; \
10144 libsrcdir="$$s/gas"; \
10145 $(SHELL) $${libsrcdir}/configure \
10146 $(HOST_CONFIGARGS) $${srcdiroption} \
10147 @stage2_werror_flag@
10148 @endif gas-bootstrap
10154 .PHONY: all-gas maybe-all-gas
10155 maybe-all-gas:
10156 @if gas
10157 TARGET-gas=all
10158 maybe-all-gas: all-gas
10159 all-gas: configure-gas
10160 @test -f stage_last && exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10163 $(HOST_EXPORTS) \
10164 (cd $(HOST_SUBDIR)/gas && \
10165 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10166 @endif gas
10170 .PHONY: all-stage1-gas maybe-all-stage1-gas
10171 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10172 maybe-all-stage1-gas:
10173 maybe-clean-stage1-gas:
10174 @if gas-bootstrap
10175 maybe-all-stage1-gas: all-stage1-gas
10176 all-stage1: all-stage1-gas
10177 all-stage1-gas: configure-stage1-gas
10178 @$(MAKE) stage1-start
10179 @r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 cd $(HOST_SUBDIR)/gas && \
10183 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
10185 maybe-clean-stage1-gas: clean-stage1-gas
10186 clean-stage1: clean-stage1-gas
10187 clean-stage1-gas:
10188 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10189 || exit 0 ; \
10190 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \
10191 cd $(HOST_SUBDIR)/gas && \
10192 $(MAKE) $(FLAGS_TO_PASS) \
10193 CFLAGS="$(STAGE1_CFLAGS)" clean
10194 @endif gas-bootstrap
10197 .PHONY: all-stage2-gas maybe-all-stage2-gas
10198 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10199 maybe-all-stage2-gas:
10200 maybe-clean-stage2-gas:
10201 @if gas-bootstrap
10202 maybe-all-stage2-gas: all-stage2-gas
10203 all-stage2: all-stage2-gas
10204 all-stage2-gas: configure-stage2-gas
10205 @$(MAKE) stage2-start
10206 @r=`${PWD_COMMAND}`; export r; \
10207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10208 $(HOST_EXPORTS) \
10209 $(POSTSTAGE1_HOST_EXPORTS) \
10210 cd $(HOST_SUBDIR)/gas && \
10211 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10213 maybe-clean-stage2-gas: clean-stage2-gas
10214 clean-stage2: clean-stage2-gas
10215 clean-stage2-gas:
10216 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10217 || exit 0 ; \
10218 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \
10219 cd $(HOST_SUBDIR)/gas && \
10220 $(MAKE) $(FLAGS_TO_PASS) \
10221 $(POSTSTAGE1_FLAGS_TO_PASS) \
10222 clean
10223 @endif gas-bootstrap
10226 .PHONY: all-stage3-gas maybe-all-stage3-gas
10227 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10228 maybe-all-stage3-gas:
10229 maybe-clean-stage3-gas:
10230 @if gas-bootstrap
10231 maybe-all-stage3-gas: all-stage3-gas
10232 all-stage3: all-stage3-gas
10233 all-stage3-gas: configure-stage3-gas
10234 @$(MAKE) stage3-start
10235 @r=`${PWD_COMMAND}`; export r; \
10236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10237 $(HOST_EXPORTS) \
10238 $(POSTSTAGE1_HOST_EXPORTS) \
10239 cd $(HOST_SUBDIR)/gas && \
10240 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10242 maybe-clean-stage3-gas: clean-stage3-gas
10243 clean-stage3: clean-stage3-gas
10244 clean-stage3-gas:
10245 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10246 || exit 0 ; \
10247 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \
10248 cd $(HOST_SUBDIR)/gas && \
10249 $(MAKE) $(FLAGS_TO_PASS) \
10250 $(POSTSTAGE1_FLAGS_TO_PASS) \
10251 clean
10252 @endif gas-bootstrap
10255 .PHONY: all-stage4-gas maybe-all-stage4-gas
10256 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10257 maybe-all-stage4-gas:
10258 maybe-clean-stage4-gas:
10259 @if gas-bootstrap
10260 maybe-all-stage4-gas: all-stage4-gas
10261 all-stage4: all-stage4-gas
10262 all-stage4-gas: configure-stage4-gas
10263 @$(MAKE) stage4-start
10264 @r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266 $(HOST_EXPORTS) \
10267 $(POSTSTAGE1_HOST_EXPORTS) \
10268 cd $(HOST_SUBDIR)/gas && \
10269 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10271 maybe-clean-stage4-gas: clean-stage4-gas
10272 clean-stage4: clean-stage4-gas
10273 clean-stage4-gas:
10274 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10275 || exit 0 ; \
10276 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \
10277 cd $(HOST_SUBDIR)/gas && \
10278 $(MAKE) $(FLAGS_TO_PASS) \
10279 $(POSTSTAGE1_FLAGS_TO_PASS) \
10280 clean
10281 @endif gas-bootstrap
10284 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10285 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10286 maybe-all-stageprofile-gas:
10287 maybe-clean-stageprofile-gas:
10288 @if gas-bootstrap
10289 maybe-all-stageprofile-gas: all-stageprofile-gas
10290 all-stageprofile: all-stageprofile-gas
10291 all-stageprofile-gas: configure-stageprofile-gas
10292 @$(MAKE) stageprofile-start
10293 @r=`${PWD_COMMAND}`; export r; \
10294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10295 $(HOST_EXPORTS) \
10296 $(POSTSTAGE1_HOST_EXPORTS) \
10297 cd $(HOST_SUBDIR)/gas && \
10298 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
10300 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10301 clean-stageprofile: clean-stageprofile-gas
10302 clean-stageprofile-gas:
10303 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10304 || exit 0 ; \
10305 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \
10306 cd $(HOST_SUBDIR)/gas && \
10307 $(MAKE) $(FLAGS_TO_PASS) \
10308 $(POSTSTAGE1_FLAGS_TO_PASS) \
10309 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10310 @endif gas-bootstrap
10313 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10314 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10315 maybe-all-stagefeedback-gas:
10316 maybe-clean-stagefeedback-gas:
10317 @if gas-bootstrap
10318 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10319 all-stagefeedback: all-stagefeedback-gas
10320 all-stagefeedback-gas: configure-stagefeedback-gas
10321 @$(MAKE) stagefeedback-start
10322 @r=`${PWD_COMMAND}`; export r; \
10323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324 $(HOST_EXPORTS) \
10325 $(POSTSTAGE1_HOST_EXPORTS) \
10326 cd $(HOST_SUBDIR)/gas && \
10327 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
10329 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10330 clean-stagefeedback: clean-stagefeedback-gas
10331 clean-stagefeedback-gas:
10332 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10333 || exit 0 ; \
10334 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \
10335 cd $(HOST_SUBDIR)/gas && \
10336 $(MAKE) $(FLAGS_TO_PASS) \
10337 $(POSTSTAGE1_FLAGS_TO_PASS) \
10338 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10339 @endif gas-bootstrap
10345 .PHONY: check-gas maybe-check-gas
10346 maybe-check-gas:
10347 @if gas
10348 maybe-check-gas: check-gas
10350 check-gas:
10351 @r=`${PWD_COMMAND}`; export r; \
10352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10353 $(HOST_EXPORTS) \
10354 (cd $(HOST_SUBDIR)/gas && \
10355 $(MAKE) $(FLAGS_TO_PASS) check)
10357 @endif gas
10359 .PHONY: install-gas maybe-install-gas
10360 maybe-install-gas:
10361 @if gas
10362 maybe-install-gas: install-gas
10364 install-gas: installdirs
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 $(HOST_EXPORTS) \
10368 (cd $(HOST_SUBDIR)/gas && \
10369 $(MAKE) $(FLAGS_TO_PASS) install)
10371 @endif gas
10373 # Other targets (info, dvi, etc.)
10375 .PHONY: maybe-info-gas info-gas
10376 maybe-info-gas:
10377 @if gas
10378 maybe-info-gas: info-gas
10380 info-gas: \
10381 configure-gas
10382 @[ -f ./gas/Makefile ] || exit 0; \
10383 r=`${PWD_COMMAND}`; export r; \
10384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10385 $(HOST_EXPORTS) \
10386 for flag in $(EXTRA_HOST_FLAGS) ; do \
10387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10388 done; \
10389 echo "Doing info in gas" ; \
10390 (cd $(HOST_SUBDIR)/gas && \
10391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10393 "RANLIB=$${RANLIB}" \
10394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10395 info) \
10396 || exit 1
10398 @endif gas
10400 .PHONY: maybe-dvi-gas dvi-gas
10401 maybe-dvi-gas:
10402 @if gas
10403 maybe-dvi-gas: dvi-gas
10405 dvi-gas: \
10406 configure-gas
10407 @[ -f ./gas/Makefile ] || exit 0; \
10408 r=`${PWD_COMMAND}`; export r; \
10409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 $(HOST_EXPORTS) \
10411 for flag in $(EXTRA_HOST_FLAGS) ; do \
10412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 done; \
10414 echo "Doing dvi in gas" ; \
10415 (cd $(HOST_SUBDIR)/gas && \
10416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10418 "RANLIB=$${RANLIB}" \
10419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10420 dvi) \
10421 || exit 1
10423 @endif gas
10425 .PHONY: maybe-html-gas html-gas
10426 maybe-html-gas:
10427 @if gas
10428 maybe-html-gas: html-gas
10430 html-gas: \
10431 configure-gas
10432 @[ -f ./gas/Makefile ] || exit 0; \
10433 r=`${PWD_COMMAND}`; export r; \
10434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 $(HOST_EXPORTS) \
10436 for flag in $(EXTRA_HOST_FLAGS) ; do \
10437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10438 done; \
10439 echo "Doing html in gas" ; \
10440 (cd $(HOST_SUBDIR)/gas && \
10441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10443 "RANLIB=$${RANLIB}" \
10444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10445 html) \
10446 || exit 1
10448 @endif gas
10450 .PHONY: maybe-TAGS-gas TAGS-gas
10451 maybe-TAGS-gas:
10452 @if gas
10453 maybe-TAGS-gas: TAGS-gas
10455 TAGS-gas: \
10456 configure-gas
10457 @[ -f ./gas/Makefile ] || exit 0; \
10458 r=`${PWD_COMMAND}`; export r; \
10459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460 $(HOST_EXPORTS) \
10461 for flag in $(EXTRA_HOST_FLAGS) ; do \
10462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10463 done; \
10464 echo "Doing TAGS in gas" ; \
10465 (cd $(HOST_SUBDIR)/gas && \
10466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10468 "RANLIB=$${RANLIB}" \
10469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10470 TAGS) \
10471 || exit 1
10473 @endif gas
10475 .PHONY: maybe-install-info-gas install-info-gas
10476 maybe-install-info-gas:
10477 @if gas
10478 maybe-install-info-gas: install-info-gas
10480 install-info-gas: \
10481 configure-gas \
10482 info-gas
10483 @[ -f ./gas/Makefile ] || exit 0; \
10484 r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10486 $(HOST_EXPORTS) \
10487 for flag in $(EXTRA_HOST_FLAGS) ; do \
10488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10489 done; \
10490 echo "Doing install-info in gas" ; \
10491 (cd $(HOST_SUBDIR)/gas && \
10492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10494 "RANLIB=$${RANLIB}" \
10495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10496 install-info) \
10497 || exit 1
10499 @endif gas
10501 .PHONY: maybe-installcheck-gas installcheck-gas
10502 maybe-installcheck-gas:
10503 @if gas
10504 maybe-installcheck-gas: installcheck-gas
10506 installcheck-gas: \
10507 configure-gas
10508 @[ -f ./gas/Makefile ] || exit 0; \
10509 r=`${PWD_COMMAND}`; export r; \
10510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10511 $(HOST_EXPORTS) \
10512 for flag in $(EXTRA_HOST_FLAGS) ; do \
10513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10514 done; \
10515 echo "Doing installcheck in gas" ; \
10516 (cd $(HOST_SUBDIR)/gas && \
10517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10519 "RANLIB=$${RANLIB}" \
10520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10521 installcheck) \
10522 || exit 1
10524 @endif gas
10526 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10527 maybe-mostlyclean-gas:
10528 @if gas
10529 maybe-mostlyclean-gas: mostlyclean-gas
10531 mostlyclean-gas:
10532 @[ -f ./gas/Makefile ] || exit 0; \
10533 r=`${PWD_COMMAND}`; export r; \
10534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10535 $(HOST_EXPORTS) \
10536 for flag in $(EXTRA_HOST_FLAGS) ; do \
10537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10538 done; \
10539 echo "Doing mostlyclean in gas" ; \
10540 (cd $(HOST_SUBDIR)/gas && \
10541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10543 "RANLIB=$${RANLIB}" \
10544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10545 mostlyclean) \
10546 || exit 1
10548 @endif gas
10550 .PHONY: maybe-clean-gas clean-gas
10551 maybe-clean-gas:
10552 @if gas
10553 maybe-clean-gas: clean-gas
10555 clean-gas:
10556 @[ -f ./gas/Makefile ] || exit 0; \
10557 r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 $(HOST_EXPORTS) \
10560 for flag in $(EXTRA_HOST_FLAGS) ; do \
10561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10562 done; \
10563 echo "Doing clean in gas" ; \
10564 (cd $(HOST_SUBDIR)/gas && \
10565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10567 "RANLIB=$${RANLIB}" \
10568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10569 clean) \
10570 || exit 1
10572 @endif gas
10574 .PHONY: maybe-distclean-gas distclean-gas
10575 maybe-distclean-gas:
10576 @if gas
10577 maybe-distclean-gas: distclean-gas
10579 distclean-gas:
10580 @[ -f ./gas/Makefile ] || exit 0; \
10581 r=`${PWD_COMMAND}`; export r; \
10582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10583 $(HOST_EXPORTS) \
10584 for flag in $(EXTRA_HOST_FLAGS) ; do \
10585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10586 done; \
10587 echo "Doing distclean in gas" ; \
10588 (cd $(HOST_SUBDIR)/gas && \
10589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10591 "RANLIB=$${RANLIB}" \
10592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10593 distclean) \
10594 || exit 1
10596 @endif gas
10598 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10599 maybe-maintainer-clean-gas:
10600 @if gas
10601 maybe-maintainer-clean-gas: maintainer-clean-gas
10603 maintainer-clean-gas:
10604 @[ -f ./gas/Makefile ] || exit 0; \
10605 r=`${PWD_COMMAND}`; export r; \
10606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10607 $(HOST_EXPORTS) \
10608 for flag in $(EXTRA_HOST_FLAGS) ; do \
10609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10610 done; \
10611 echo "Doing maintainer-clean in gas" ; \
10612 (cd $(HOST_SUBDIR)/gas && \
10613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10615 "RANLIB=$${RANLIB}" \
10616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10617 maintainer-clean) \
10618 || exit 1
10620 @endif gas
10624 .PHONY: configure-gcc maybe-configure-gcc
10625 maybe-configure-gcc:
10626 @if gcc
10627 maybe-configure-gcc: configure-gcc
10628 configure-gcc:
10629 @test -f stage_last && exit 0; \
10630 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10631 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10632 r=`${PWD_COMMAND}`; export r; \
10633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10634 $(HOST_EXPORTS) \
10635 echo Configuring in $(HOST_SUBDIR)/gcc; \
10636 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10637 case $(srcdir) in \
10638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10639 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10641 esac; \
10642 srcdiroption="--srcdir=$${topdir}/gcc"; \
10643 libsrcdir="$$s/gcc"; \
10644 $(SHELL) $${libsrcdir}/configure \
10645 $(HOST_CONFIGARGS) $${srcdiroption} \
10646 || exit 1
10647 @endif gcc
10651 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10652 maybe-configure-stage1-gcc:
10653 @if gcc-bootstrap
10654 maybe-configure-stage1-gcc: configure-stage1-gcc
10655 configure-stage1-gcc:
10656 @$(MAKE) stage1-start
10657 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10658 r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(HOST_EXPORTS) \
10661 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10662 cd $(HOST_SUBDIR)/gcc || exit 1; \
10663 case $(srcdir) in \
10664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10665 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10667 esac; \
10668 srcdiroption="--srcdir=$${topdir}/gcc"; \
10669 libsrcdir="$$s/gcc"; \
10670 $(SHELL) $${libsrcdir}/configure \
10671 $(HOST_CONFIGARGS) $${srcdiroption} \
10672 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10673 @endif gcc-bootstrap
10675 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10676 maybe-configure-stage2-gcc:
10677 @if gcc-bootstrap
10678 maybe-configure-stage2-gcc: configure-stage2-gcc
10679 configure-stage2-gcc:
10680 @$(MAKE) stage2-start
10681 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10682 r=`${PWD_COMMAND}`; export r; \
10683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10684 $(HOST_EXPORTS) \
10685 $(POSTSTAGE1_HOST_EXPORTS) \
10686 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10687 cd $(HOST_SUBDIR)/gcc || exit 1; \
10688 case $(srcdir) in \
10689 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10690 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10691 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10692 esac; \
10693 srcdiroption="--srcdir=$${topdir}/gcc"; \
10694 libsrcdir="$$s/gcc"; \
10695 $(SHELL) $${libsrcdir}/configure \
10696 $(HOST_CONFIGARGS) $${srcdiroption} \
10697 @stage2_werror_flag@
10698 @endif gcc-bootstrap
10700 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10701 maybe-configure-stage3-gcc:
10702 @if gcc-bootstrap
10703 maybe-configure-stage3-gcc: configure-stage3-gcc
10704 configure-stage3-gcc:
10705 @$(MAKE) stage3-start
10706 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10707 r=`${PWD_COMMAND}`; export r; \
10708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 $(HOST_EXPORTS) \
10710 $(POSTSTAGE1_HOST_EXPORTS) \
10711 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10712 cd $(HOST_SUBDIR)/gcc || exit 1; \
10713 case $(srcdir) in \
10714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10715 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10717 esac; \
10718 srcdiroption="--srcdir=$${topdir}/gcc"; \
10719 libsrcdir="$$s/gcc"; \
10720 $(SHELL) $${libsrcdir}/configure \
10721 $(HOST_CONFIGARGS) $${srcdiroption} \
10722 @stage2_werror_flag@
10723 @endif gcc-bootstrap
10725 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10726 maybe-configure-stage4-gcc:
10727 @if gcc-bootstrap
10728 maybe-configure-stage4-gcc: configure-stage4-gcc
10729 configure-stage4-gcc:
10730 @$(MAKE) stage4-start
10731 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10732 r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 $(POSTSTAGE1_HOST_EXPORTS) \
10736 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10737 cd $(HOST_SUBDIR)/gcc || exit 1; \
10738 case $(srcdir) in \
10739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10740 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10742 esac; \
10743 srcdiroption="--srcdir=$${topdir}/gcc"; \
10744 libsrcdir="$$s/gcc"; \
10745 $(SHELL) $${libsrcdir}/configure \
10746 $(HOST_CONFIGARGS) $${srcdiroption} \
10747 @stage2_werror_flag@
10748 @endif gcc-bootstrap
10750 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10751 maybe-configure-stageprofile-gcc:
10752 @if gcc-bootstrap
10753 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10754 configure-stageprofile-gcc:
10755 @$(MAKE) stageprofile-start
10756 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(HOST_EXPORTS) \
10760 $(POSTSTAGE1_HOST_EXPORTS) \
10761 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10762 cd $(HOST_SUBDIR)/gcc || exit 1; \
10763 case $(srcdir) in \
10764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10765 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10767 esac; \
10768 srcdiroption="--srcdir=$${topdir}/gcc"; \
10769 libsrcdir="$$s/gcc"; \
10770 $(SHELL) $${libsrcdir}/configure \
10771 $(HOST_CONFIGARGS) $${srcdiroption} \
10772 @stage2_werror_flag@
10773 @endif gcc-bootstrap
10775 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10776 maybe-configure-stagefeedback-gcc:
10777 @if gcc-bootstrap
10778 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10779 configure-stagefeedback-gcc:
10780 @$(MAKE) stagefeedback-start
10781 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10782 r=`${PWD_COMMAND}`; export r; \
10783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10784 $(HOST_EXPORTS) \
10785 $(POSTSTAGE1_HOST_EXPORTS) \
10786 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10787 cd $(HOST_SUBDIR)/gcc || exit 1; \
10788 case $(srcdir) in \
10789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10790 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10792 esac; \
10793 srcdiroption="--srcdir=$${topdir}/gcc"; \
10794 libsrcdir="$$s/gcc"; \
10795 $(SHELL) $${libsrcdir}/configure \
10796 $(HOST_CONFIGARGS) $${srcdiroption} \
10797 @stage2_werror_flag@
10798 @endif gcc-bootstrap
10804 .PHONY: all-gcc maybe-all-gcc
10805 maybe-all-gcc:
10806 @if gcc
10807 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
10808 maybe-all-gcc: all-gcc
10809 all-gcc: configure-gcc
10810 @test -f stage_last && exit 0; \
10811 r=`${PWD_COMMAND}`; export r; \
10812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10813 $(HOST_EXPORTS) \
10814 (cd $(HOST_SUBDIR)/gcc && \
10815 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
10816 @endif gcc
10820 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10821 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10822 maybe-all-stage1-gcc:
10823 maybe-clean-stage1-gcc:
10824 @if gcc-bootstrap
10825 maybe-all-stage1-gcc: all-stage1-gcc
10826 all-stage1: all-stage1-gcc
10827 all-stage1-gcc: configure-stage1-gcc
10828 @$(MAKE) stage1-start
10829 @r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 cd $(HOST_SUBDIR)/gcc && \
10833 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
10835 maybe-clean-stage1-gcc: clean-stage1-gcc
10836 clean-stage1: clean-stage1-gcc
10837 clean-stage1-gcc:
10838 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
10839 || exit 0 ; \
10840 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \
10841 cd $(HOST_SUBDIR)/gcc && \
10842 $(MAKE) $(FLAGS_TO_PASS) \
10843 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
10844 @endif gcc-bootstrap
10847 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10848 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10849 maybe-all-stage2-gcc:
10850 maybe-clean-stage2-gcc:
10851 @if gcc-bootstrap
10852 maybe-all-stage2-gcc: all-stage2-gcc
10853 all-stage2: all-stage2-gcc
10854 all-stage2-gcc: configure-stage2-gcc
10855 @$(MAKE) stage2-start
10856 @r=`${PWD_COMMAND}`; export r; \
10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 $(HOST_EXPORTS) \
10859 $(POSTSTAGE1_HOST_EXPORTS) \
10860 cd $(HOST_SUBDIR)/gcc && \
10861 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10863 maybe-clean-stage2-gcc: clean-stage2-gcc
10864 clean-stage2: clean-stage2-gcc
10865 clean-stage2-gcc:
10866 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
10867 || exit 0 ; \
10868 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \
10869 cd $(HOST_SUBDIR)/gcc && \
10870 $(MAKE) $(FLAGS_TO_PASS) \
10871 $(POSTSTAGE1_FLAGS_TO_PASS) \
10872 $(EXTRA_GCC_FLAGS) clean
10873 @endif gcc-bootstrap
10876 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10877 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10878 maybe-all-stage3-gcc:
10879 maybe-clean-stage3-gcc:
10880 @if gcc-bootstrap
10881 maybe-all-stage3-gcc: all-stage3-gcc
10882 all-stage3: all-stage3-gcc
10883 all-stage3-gcc: configure-stage3-gcc
10884 @$(MAKE) stage3-start
10885 @r=`${PWD_COMMAND}`; export r; \
10886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10887 $(HOST_EXPORTS) \
10888 $(POSTSTAGE1_HOST_EXPORTS) \
10889 cd $(HOST_SUBDIR)/gcc && \
10890 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10892 maybe-clean-stage3-gcc: clean-stage3-gcc
10893 clean-stage3: clean-stage3-gcc
10894 clean-stage3-gcc:
10895 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
10896 || exit 0 ; \
10897 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \
10898 cd $(HOST_SUBDIR)/gcc && \
10899 $(MAKE) $(FLAGS_TO_PASS) \
10900 $(POSTSTAGE1_FLAGS_TO_PASS) \
10901 $(EXTRA_GCC_FLAGS) clean
10902 @endif gcc-bootstrap
10905 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10906 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10907 maybe-all-stage4-gcc:
10908 maybe-clean-stage4-gcc:
10909 @if gcc-bootstrap
10910 maybe-all-stage4-gcc: all-stage4-gcc
10911 all-stage4: all-stage4-gcc
10912 all-stage4-gcc: configure-stage4-gcc
10913 @$(MAKE) stage4-start
10914 @r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(HOST_EXPORTS) \
10917 $(POSTSTAGE1_HOST_EXPORTS) \
10918 cd $(HOST_SUBDIR)/gcc && \
10919 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10921 maybe-clean-stage4-gcc: clean-stage4-gcc
10922 clean-stage4: clean-stage4-gcc
10923 clean-stage4-gcc:
10924 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
10925 || exit 0 ; \
10926 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \
10927 cd $(HOST_SUBDIR)/gcc && \
10928 $(MAKE) $(FLAGS_TO_PASS) \
10929 $(POSTSTAGE1_FLAGS_TO_PASS) \
10930 $(EXTRA_GCC_FLAGS) clean
10931 @endif gcc-bootstrap
10934 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10935 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10936 maybe-all-stageprofile-gcc:
10937 maybe-clean-stageprofile-gcc:
10938 @if gcc-bootstrap
10939 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10940 all-stageprofile: all-stageprofile-gcc
10941 all-stageprofile-gcc: configure-stageprofile-gcc
10942 @$(MAKE) stageprofile-start
10943 @r=`${PWD_COMMAND}`; export r; \
10944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10945 $(HOST_EXPORTS) \
10946 $(POSTSTAGE1_HOST_EXPORTS) \
10947 cd $(HOST_SUBDIR)/gcc && \
10948 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
10950 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10951 clean-stageprofile: clean-stageprofile-gcc
10952 clean-stageprofile-gcc:
10953 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
10954 || exit 0 ; \
10955 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \
10956 cd $(HOST_SUBDIR)/gcc && \
10957 $(MAKE) $(FLAGS_TO_PASS) \
10958 $(POSTSTAGE1_FLAGS_TO_PASS) \
10959 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
10960 @endif gcc-bootstrap
10963 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10964 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10965 maybe-all-stagefeedback-gcc:
10966 maybe-clean-stagefeedback-gcc:
10967 @if gcc-bootstrap
10968 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10969 all-stagefeedback: all-stagefeedback-gcc
10970 all-stagefeedback-gcc: configure-stagefeedback-gcc
10971 @$(MAKE) stagefeedback-start
10972 @r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 $(HOST_EXPORTS) \
10975 $(POSTSTAGE1_HOST_EXPORTS) \
10976 cd $(HOST_SUBDIR)/gcc && \
10977 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
10979 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10980 clean-stagefeedback: clean-stagefeedback-gcc
10981 clean-stagefeedback-gcc:
10982 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
10983 || exit 0 ; \
10984 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
10985 cd $(HOST_SUBDIR)/gcc && \
10986 $(MAKE) $(FLAGS_TO_PASS) \
10987 $(POSTSTAGE1_FLAGS_TO_PASS) \
10988 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
10989 @endif gcc-bootstrap
10995 .PHONY: check-gcc maybe-check-gcc
10996 maybe-check-gcc:
10997 @if gcc
10998 maybe-check-gcc: check-gcc
11000 check-gcc:
11001 @r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 $(HOST_EXPORTS) \
11004 (cd $(HOST_SUBDIR)/gcc && \
11005 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11007 @endif gcc
11009 .PHONY: install-gcc maybe-install-gcc
11010 maybe-install-gcc:
11011 @if gcc
11012 maybe-install-gcc: install-gcc
11014 install-gcc: installdirs
11015 @r=`${PWD_COMMAND}`; export r; \
11016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11017 $(HOST_EXPORTS) \
11018 (cd $(HOST_SUBDIR)/gcc && \
11019 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11021 @endif gcc
11023 # Other targets (info, dvi, etc.)
11025 .PHONY: maybe-info-gcc info-gcc
11026 maybe-info-gcc:
11027 @if gcc
11028 maybe-info-gcc: info-gcc
11030 info-gcc: \
11031 configure-gcc
11032 @[ -f ./gcc/Makefile ] || exit 0; \
11033 r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(HOST_EXPORTS) \
11036 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11038 done; \
11039 echo "Doing info in gcc" ; \
11040 (cd $(HOST_SUBDIR)/gcc && \
11041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11043 "RANLIB=$${RANLIB}" \
11044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11045 info) \
11046 || exit 1
11048 @endif gcc
11050 .PHONY: maybe-dvi-gcc dvi-gcc
11051 maybe-dvi-gcc:
11052 @if gcc
11053 maybe-dvi-gcc: dvi-gcc
11055 dvi-gcc: \
11056 configure-gcc
11057 @[ -f ./gcc/Makefile ] || exit 0; \
11058 r=`${PWD_COMMAND}`; export r; \
11059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11060 $(HOST_EXPORTS) \
11061 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11063 done; \
11064 echo "Doing dvi in gcc" ; \
11065 (cd $(HOST_SUBDIR)/gcc && \
11066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11068 "RANLIB=$${RANLIB}" \
11069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11070 dvi) \
11071 || exit 1
11073 @endif gcc
11075 .PHONY: maybe-html-gcc html-gcc
11076 maybe-html-gcc:
11077 @if gcc
11078 maybe-html-gcc: html-gcc
11080 html-gcc: \
11081 configure-gcc
11082 @[ -f ./gcc/Makefile ] || exit 0; \
11083 r=`${PWD_COMMAND}`; export r; \
11084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11085 $(HOST_EXPORTS) \
11086 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11088 done; \
11089 echo "Doing html in gcc" ; \
11090 (cd $(HOST_SUBDIR)/gcc && \
11091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11093 "RANLIB=$${RANLIB}" \
11094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11095 html) \
11096 || exit 1
11098 @endif gcc
11100 .PHONY: maybe-TAGS-gcc TAGS-gcc
11101 maybe-TAGS-gcc:
11102 @if gcc
11103 maybe-TAGS-gcc: TAGS-gcc
11105 TAGS-gcc: \
11106 configure-gcc
11107 @[ -f ./gcc/Makefile ] || exit 0; \
11108 r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 $(HOST_EXPORTS) \
11111 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11113 done; \
11114 echo "Doing TAGS in gcc" ; \
11115 (cd $(HOST_SUBDIR)/gcc && \
11116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11118 "RANLIB=$${RANLIB}" \
11119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11120 TAGS) \
11121 || exit 1
11123 @endif gcc
11125 .PHONY: maybe-install-info-gcc install-info-gcc
11126 maybe-install-info-gcc:
11127 @if gcc
11128 maybe-install-info-gcc: install-info-gcc
11130 install-info-gcc: \
11131 configure-gcc \
11132 info-gcc
11133 @[ -f ./gcc/Makefile ] || exit 0; \
11134 r=`${PWD_COMMAND}`; export r; \
11135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11136 $(HOST_EXPORTS) \
11137 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11139 done; \
11140 echo "Doing install-info in gcc" ; \
11141 (cd $(HOST_SUBDIR)/gcc && \
11142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11144 "RANLIB=$${RANLIB}" \
11145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11146 install-info) \
11147 || exit 1
11149 @endif gcc
11151 .PHONY: maybe-installcheck-gcc installcheck-gcc
11152 maybe-installcheck-gcc:
11153 @if gcc
11154 maybe-installcheck-gcc: installcheck-gcc
11156 installcheck-gcc: \
11157 configure-gcc
11158 @[ -f ./gcc/Makefile ] || exit 0; \
11159 r=`${PWD_COMMAND}`; export r; \
11160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11161 $(HOST_EXPORTS) \
11162 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11164 done; \
11165 echo "Doing installcheck in gcc" ; \
11166 (cd $(HOST_SUBDIR)/gcc && \
11167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11169 "RANLIB=$${RANLIB}" \
11170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11171 installcheck) \
11172 || exit 1
11174 @endif gcc
11176 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11177 maybe-mostlyclean-gcc:
11178 @if gcc
11179 maybe-mostlyclean-gcc: mostlyclean-gcc
11181 mostlyclean-gcc:
11182 @[ -f ./gcc/Makefile ] || exit 0; \
11183 r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11185 $(HOST_EXPORTS) \
11186 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11188 done; \
11189 echo "Doing mostlyclean in gcc" ; \
11190 (cd $(HOST_SUBDIR)/gcc && \
11191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11193 "RANLIB=$${RANLIB}" \
11194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11195 mostlyclean) \
11196 || exit 1
11198 @endif gcc
11200 .PHONY: maybe-clean-gcc clean-gcc
11201 maybe-clean-gcc:
11202 @if gcc
11203 maybe-clean-gcc: clean-gcc
11205 clean-gcc:
11206 @[ -f ./gcc/Makefile ] || exit 0; \
11207 r=`${PWD_COMMAND}`; export r; \
11208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11209 $(HOST_EXPORTS) \
11210 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11212 done; \
11213 echo "Doing clean in gcc" ; \
11214 (cd $(HOST_SUBDIR)/gcc && \
11215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11217 "RANLIB=$${RANLIB}" \
11218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11219 clean) \
11220 || exit 1
11222 @endif gcc
11224 .PHONY: maybe-distclean-gcc distclean-gcc
11225 maybe-distclean-gcc:
11226 @if gcc
11227 maybe-distclean-gcc: distclean-gcc
11229 distclean-gcc:
11230 @[ -f ./gcc/Makefile ] || exit 0; \
11231 r=`${PWD_COMMAND}`; export r; \
11232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11233 $(HOST_EXPORTS) \
11234 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11236 done; \
11237 echo "Doing distclean in gcc" ; \
11238 (cd $(HOST_SUBDIR)/gcc && \
11239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11241 "RANLIB=$${RANLIB}" \
11242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11243 distclean) \
11244 || exit 1
11246 @endif gcc
11248 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11249 maybe-maintainer-clean-gcc:
11250 @if gcc
11251 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11253 maintainer-clean-gcc:
11254 @[ -f ./gcc/Makefile ] || exit 0; \
11255 r=`${PWD_COMMAND}`; export r; \
11256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11257 $(HOST_EXPORTS) \
11258 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11260 done; \
11261 echo "Doing maintainer-clean in gcc" ; \
11262 (cd $(HOST_SUBDIR)/gcc && \
11263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11265 "RANLIB=$${RANLIB}" \
11266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11267 maintainer-clean) \
11268 || exit 1
11270 @endif gcc
11274 .PHONY: configure-gawk maybe-configure-gawk
11275 maybe-configure-gawk:
11276 @if gawk
11277 maybe-configure-gawk: configure-gawk
11278 configure-gawk:
11279 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11281 r=`${PWD_COMMAND}`; export r; \
11282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11283 $(HOST_EXPORTS) \
11284 echo Configuring in $(HOST_SUBDIR)/gawk; \
11285 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11286 case $(srcdir) in \
11287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11288 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11290 esac; \
11291 srcdiroption="--srcdir=$${topdir}/gawk"; \
11292 libsrcdir="$$s/gawk"; \
11293 $(SHELL) $${libsrcdir}/configure \
11294 $(HOST_CONFIGARGS) $${srcdiroption} \
11295 || exit 1
11296 @endif gawk
11302 .PHONY: all-gawk maybe-all-gawk
11303 maybe-all-gawk:
11304 @if gawk
11305 TARGET-gawk=all
11306 maybe-all-gawk: all-gawk
11307 all-gawk: configure-gawk
11308 @r=`${PWD_COMMAND}`; export r; \
11309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11310 $(HOST_EXPORTS) \
11311 (cd $(HOST_SUBDIR)/gawk && \
11312 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11313 @endif gawk
11318 .PHONY: check-gawk maybe-check-gawk
11319 maybe-check-gawk:
11320 @if gawk
11321 maybe-check-gawk: check-gawk
11323 check-gawk:
11324 @r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(HOST_EXPORTS) \
11327 (cd $(HOST_SUBDIR)/gawk && \
11328 $(MAKE) $(FLAGS_TO_PASS) check)
11330 @endif gawk
11332 .PHONY: install-gawk maybe-install-gawk
11333 maybe-install-gawk:
11334 @if gawk
11335 maybe-install-gawk: install-gawk
11337 install-gawk: installdirs
11338 @r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11340 $(HOST_EXPORTS) \
11341 (cd $(HOST_SUBDIR)/gawk && \
11342 $(MAKE) $(FLAGS_TO_PASS) install)
11344 @endif gawk
11346 # Other targets (info, dvi, etc.)
11348 .PHONY: maybe-info-gawk info-gawk
11349 maybe-info-gawk:
11350 @if gawk
11351 maybe-info-gawk: info-gawk
11353 info-gawk: \
11354 configure-gawk
11355 @[ -f ./gawk/Makefile ] || exit 0; \
11356 r=`${PWD_COMMAND}`; export r; \
11357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 $(HOST_EXPORTS) \
11359 for flag in $(EXTRA_HOST_FLAGS) ; do \
11360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11361 done; \
11362 echo "Doing info in gawk" ; \
11363 (cd $(HOST_SUBDIR)/gawk && \
11364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11366 "RANLIB=$${RANLIB}" \
11367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11368 info) \
11369 || exit 1
11371 @endif gawk
11373 .PHONY: maybe-dvi-gawk dvi-gawk
11374 maybe-dvi-gawk:
11375 @if gawk
11376 maybe-dvi-gawk: dvi-gawk
11378 dvi-gawk: \
11379 configure-gawk
11380 @[ -f ./gawk/Makefile ] || exit 0; \
11381 r=`${PWD_COMMAND}`; export r; \
11382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11383 $(HOST_EXPORTS) \
11384 for flag in $(EXTRA_HOST_FLAGS) ; do \
11385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386 done; \
11387 echo "Doing dvi in gawk" ; \
11388 (cd $(HOST_SUBDIR)/gawk && \
11389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391 "RANLIB=$${RANLIB}" \
11392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11393 dvi) \
11394 || exit 1
11396 @endif gawk
11398 .PHONY: maybe-html-gawk html-gawk
11399 maybe-html-gawk:
11400 @if gawk
11401 maybe-html-gawk: html-gawk
11403 html-gawk: \
11404 configure-gawk
11405 @[ -f ./gawk/Makefile ] || exit 0; \
11406 r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 $(HOST_EXPORTS) \
11409 for flag in $(EXTRA_HOST_FLAGS) ; do \
11410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11411 done; \
11412 echo "Doing html in gawk" ; \
11413 (cd $(HOST_SUBDIR)/gawk && \
11414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11416 "RANLIB=$${RANLIB}" \
11417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11418 html) \
11419 || exit 1
11421 @endif gawk
11423 .PHONY: maybe-TAGS-gawk TAGS-gawk
11424 maybe-TAGS-gawk:
11425 @if gawk
11426 maybe-TAGS-gawk: TAGS-gawk
11428 TAGS-gawk: \
11429 configure-gawk
11430 @[ -f ./gawk/Makefile ] || exit 0; \
11431 r=`${PWD_COMMAND}`; export r; \
11432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11433 $(HOST_EXPORTS) \
11434 for flag in $(EXTRA_HOST_FLAGS) ; do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11436 done; \
11437 echo "Doing TAGS in gawk" ; \
11438 (cd $(HOST_SUBDIR)/gawk && \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443 TAGS) \
11444 || exit 1
11446 @endif gawk
11448 .PHONY: maybe-install-info-gawk install-info-gawk
11449 maybe-install-info-gawk:
11450 @if gawk
11451 maybe-install-info-gawk: install-info-gawk
11453 install-info-gawk: \
11454 configure-gawk \
11455 info-gawk
11456 @[ -f ./gawk/Makefile ] || exit 0; \
11457 r=`${PWD_COMMAND}`; export r; \
11458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11459 $(HOST_EXPORTS) \
11460 for flag in $(EXTRA_HOST_FLAGS) ; do \
11461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11462 done; \
11463 echo "Doing install-info in gawk" ; \
11464 (cd $(HOST_SUBDIR)/gawk && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467 "RANLIB=$${RANLIB}" \
11468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11469 install-info) \
11470 || exit 1
11472 @endif gawk
11474 .PHONY: maybe-installcheck-gawk installcheck-gawk
11475 maybe-installcheck-gawk:
11476 @if gawk
11477 maybe-installcheck-gawk: installcheck-gawk
11479 installcheck-gawk: \
11480 configure-gawk
11481 @[ -f ./gawk/Makefile ] || exit 0; \
11482 r=`${PWD_COMMAND}`; export r; \
11483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11484 $(HOST_EXPORTS) \
11485 for flag in $(EXTRA_HOST_FLAGS) ; do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487 done; \
11488 echo "Doing installcheck in gawk" ; \
11489 (cd $(HOST_SUBDIR)/gawk && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494 installcheck) \
11495 || exit 1
11497 @endif gawk
11499 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11500 maybe-mostlyclean-gawk:
11501 @if gawk
11502 maybe-mostlyclean-gawk: mostlyclean-gawk
11504 mostlyclean-gawk:
11505 @[ -f ./gawk/Makefile ] || exit 0; \
11506 r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508 $(HOST_EXPORTS) \
11509 for flag in $(EXTRA_HOST_FLAGS) ; do \
11510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11511 done; \
11512 echo "Doing mostlyclean in gawk" ; \
11513 (cd $(HOST_SUBDIR)/gawk && \
11514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11516 "RANLIB=$${RANLIB}" \
11517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11518 mostlyclean) \
11519 || exit 1
11521 @endif gawk
11523 .PHONY: maybe-clean-gawk clean-gawk
11524 maybe-clean-gawk:
11525 @if gawk
11526 maybe-clean-gawk: clean-gawk
11528 clean-gawk:
11529 @[ -f ./gawk/Makefile ] || exit 0; \
11530 r=`${PWD_COMMAND}`; export r; \
11531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11532 $(HOST_EXPORTS) \
11533 for flag in $(EXTRA_HOST_FLAGS) ; do \
11534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11535 done; \
11536 echo "Doing clean in gawk" ; \
11537 (cd $(HOST_SUBDIR)/gawk && \
11538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11540 "RANLIB=$${RANLIB}" \
11541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11542 clean) \
11543 || exit 1
11545 @endif gawk
11547 .PHONY: maybe-distclean-gawk distclean-gawk
11548 maybe-distclean-gawk:
11549 @if gawk
11550 maybe-distclean-gawk: distclean-gawk
11552 distclean-gawk:
11553 @[ -f ./gawk/Makefile ] || exit 0; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) ; do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing distclean in gawk" ; \
11561 (cd $(HOST_SUBDIR)/gawk && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11566 distclean) \
11567 || exit 1
11569 @endif gawk
11571 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11572 maybe-maintainer-clean-gawk:
11573 @if gawk
11574 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11576 maintainer-clean-gawk:
11577 @[ -f ./gawk/Makefile ] || exit 0; \
11578 r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing maintainer-clean in gawk" ; \
11585 (cd $(HOST_SUBDIR)/gawk && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11590 maintainer-clean) \
11591 || exit 1
11593 @endif gawk
11597 .PHONY: configure-gettext maybe-configure-gettext
11598 maybe-configure-gettext:
11599 @if gettext
11600 maybe-configure-gettext: configure-gettext
11601 configure-gettext:
11602 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11604 r=`${PWD_COMMAND}`; export r; \
11605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 $(HOST_EXPORTS) \
11607 echo Configuring in $(HOST_SUBDIR)/gettext; \
11608 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11609 case $(srcdir) in \
11610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11611 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11613 esac; \
11614 srcdiroption="--srcdir=$${topdir}/gettext"; \
11615 libsrcdir="$$s/gettext"; \
11616 $(SHELL) $${libsrcdir}/configure \
11617 $(HOST_CONFIGARGS) $${srcdiroption} \
11618 || exit 1
11619 @endif gettext
11625 .PHONY: all-gettext maybe-all-gettext
11626 maybe-all-gettext:
11627 @if gettext
11628 TARGET-gettext=all
11629 maybe-all-gettext: all-gettext
11630 all-gettext: configure-gettext
11631 @r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(HOST_EXPORTS) \
11634 (cd $(HOST_SUBDIR)/gettext && \
11635 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11636 @endif gettext
11641 .PHONY: check-gettext maybe-check-gettext
11642 maybe-check-gettext:
11643 @if gettext
11644 maybe-check-gettext: check-gettext
11646 check-gettext:
11647 @r=`${PWD_COMMAND}`; export r; \
11648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11649 $(HOST_EXPORTS) \
11650 (cd $(HOST_SUBDIR)/gettext && \
11651 $(MAKE) $(FLAGS_TO_PASS) check)
11653 @endif gettext
11655 .PHONY: install-gettext maybe-install-gettext
11656 maybe-install-gettext:
11657 @if gettext
11658 maybe-install-gettext: install-gettext
11660 install-gettext: installdirs
11661 @r=`${PWD_COMMAND}`; export r; \
11662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11663 $(HOST_EXPORTS) \
11664 (cd $(HOST_SUBDIR)/gettext && \
11665 $(MAKE) $(FLAGS_TO_PASS) install)
11667 @endif gettext
11669 # Other targets (info, dvi, etc.)
11671 .PHONY: maybe-info-gettext info-gettext
11672 maybe-info-gettext:
11673 @if gettext
11674 maybe-info-gettext: info-gettext
11676 info-gettext: \
11677 configure-gettext
11678 @[ -f ./gettext/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681 $(HOST_EXPORTS) \
11682 for flag in $(EXTRA_HOST_FLAGS) ; do \
11683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11684 done; \
11685 echo "Doing info in gettext" ; \
11686 (cd $(HOST_SUBDIR)/gettext && \
11687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11689 "RANLIB=$${RANLIB}" \
11690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11691 info) \
11692 || exit 1
11694 @endif gettext
11696 .PHONY: maybe-dvi-gettext dvi-gettext
11697 maybe-dvi-gettext:
11698 @if gettext
11699 maybe-dvi-gettext: dvi-gettext
11701 dvi-gettext: \
11702 configure-gettext
11703 @[ -f ./gettext/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(HOST_EXPORTS) \
11707 for flag in $(EXTRA_HOST_FLAGS) ; do \
11708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11709 done; \
11710 echo "Doing dvi in gettext" ; \
11711 (cd $(HOST_SUBDIR)/gettext && \
11712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11714 "RANLIB=$${RANLIB}" \
11715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11716 dvi) \
11717 || exit 1
11719 @endif gettext
11721 .PHONY: maybe-html-gettext html-gettext
11722 maybe-html-gettext:
11723 @if gettext
11724 maybe-html-gettext: html-gettext
11726 html-gettext: \
11727 configure-gettext
11728 @[ -f ./gettext/Makefile ] || exit 0; \
11729 r=`${PWD_COMMAND}`; export r; \
11730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11731 $(HOST_EXPORTS) \
11732 for flag in $(EXTRA_HOST_FLAGS) ; do \
11733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11734 done; \
11735 echo "Doing html in gettext" ; \
11736 (cd $(HOST_SUBDIR)/gettext && \
11737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11739 "RANLIB=$${RANLIB}" \
11740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11741 html) \
11742 || exit 1
11744 @endif gettext
11746 .PHONY: maybe-TAGS-gettext TAGS-gettext
11747 maybe-TAGS-gettext:
11748 @if gettext
11749 maybe-TAGS-gettext: TAGS-gettext
11751 TAGS-gettext: \
11752 configure-gettext
11753 @[ -f ./gettext/Makefile ] || exit 0; \
11754 r=`${PWD_COMMAND}`; export r; \
11755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11756 $(HOST_EXPORTS) \
11757 for flag in $(EXTRA_HOST_FLAGS) ; do \
11758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11759 done; \
11760 echo "Doing TAGS in gettext" ; \
11761 (cd $(HOST_SUBDIR)/gettext && \
11762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11764 "RANLIB=$${RANLIB}" \
11765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11766 TAGS) \
11767 || exit 1
11769 @endif gettext
11771 .PHONY: maybe-install-info-gettext install-info-gettext
11772 maybe-install-info-gettext:
11773 @if gettext
11774 maybe-install-info-gettext: install-info-gettext
11776 install-info-gettext: \
11777 configure-gettext \
11778 info-gettext
11779 @[ -f ./gettext/Makefile ] || exit 0; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(HOST_EXPORTS) \
11783 for flag in $(EXTRA_HOST_FLAGS) ; do \
11784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11785 done; \
11786 echo "Doing install-info in gettext" ; \
11787 (cd $(HOST_SUBDIR)/gettext && \
11788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11790 "RANLIB=$${RANLIB}" \
11791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11792 install-info) \
11793 || exit 1
11795 @endif gettext
11797 .PHONY: maybe-installcheck-gettext installcheck-gettext
11798 maybe-installcheck-gettext:
11799 @if gettext
11800 maybe-installcheck-gettext: installcheck-gettext
11802 installcheck-gettext: \
11803 configure-gettext
11804 @[ -f ./gettext/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) ; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing installcheck in gettext" ; \
11812 (cd $(HOST_SUBDIR)/gettext && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11817 installcheck) \
11818 || exit 1
11820 @endif gettext
11822 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
11823 maybe-mostlyclean-gettext:
11824 @if gettext
11825 maybe-mostlyclean-gettext: mostlyclean-gettext
11827 mostlyclean-gettext:
11828 @[ -f ./gettext/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) ; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing mostlyclean in gettext" ; \
11836 (cd $(HOST_SUBDIR)/gettext && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11841 mostlyclean) \
11842 || exit 1
11844 @endif gettext
11846 .PHONY: maybe-clean-gettext clean-gettext
11847 maybe-clean-gettext:
11848 @if gettext
11849 maybe-clean-gettext: clean-gettext
11851 clean-gettext:
11852 @[ -f ./gettext/Makefile ] || exit 0; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 $(HOST_EXPORTS) \
11856 for flag in $(EXTRA_HOST_FLAGS) ; do \
11857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11858 done; \
11859 echo "Doing clean in gettext" ; \
11860 (cd $(HOST_SUBDIR)/gettext && \
11861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11863 "RANLIB=$${RANLIB}" \
11864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11865 clean) \
11866 || exit 1
11868 @endif gettext
11870 .PHONY: maybe-distclean-gettext distclean-gettext
11871 maybe-distclean-gettext:
11872 @if gettext
11873 maybe-distclean-gettext: distclean-gettext
11875 distclean-gettext:
11876 @[ -f ./gettext/Makefile ] || exit 0; \
11877 r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 $(HOST_EXPORTS) \
11880 for flag in $(EXTRA_HOST_FLAGS) ; do \
11881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11882 done; \
11883 echo "Doing distclean in gettext" ; \
11884 (cd $(HOST_SUBDIR)/gettext && \
11885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11887 "RANLIB=$${RANLIB}" \
11888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11889 distclean) \
11890 || exit 1
11892 @endif gettext
11894 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
11895 maybe-maintainer-clean-gettext:
11896 @if gettext
11897 maybe-maintainer-clean-gettext: maintainer-clean-gettext
11899 maintainer-clean-gettext:
11900 @[ -f ./gettext/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(HOST_EXPORTS) \
11904 for flag in $(EXTRA_HOST_FLAGS) ; do \
11905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11906 done; \
11907 echo "Doing maintainer-clean in gettext" ; \
11908 (cd $(HOST_SUBDIR)/gettext && \
11909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11911 "RANLIB=$${RANLIB}" \
11912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11913 maintainer-clean) \
11914 || exit 1
11916 @endif gettext
11920 .PHONY: configure-gnuserv maybe-configure-gnuserv
11921 maybe-configure-gnuserv:
11922 @if gnuserv
11923 maybe-configure-gnuserv: configure-gnuserv
11924 configure-gnuserv:
11925 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
11926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(HOST_EXPORTS) \
11930 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
11931 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
11932 case $(srcdir) in \
11933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11934 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
11935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11936 esac; \
11937 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
11938 libsrcdir="$$s/gnuserv"; \
11939 $(SHELL) $${libsrcdir}/configure \
11940 $(HOST_CONFIGARGS) $${srcdiroption} \
11941 || exit 1
11942 @endif gnuserv
11948 .PHONY: all-gnuserv maybe-all-gnuserv
11949 maybe-all-gnuserv:
11950 @if gnuserv
11951 TARGET-gnuserv=all
11952 maybe-all-gnuserv: all-gnuserv
11953 all-gnuserv: configure-gnuserv
11954 @r=`${PWD_COMMAND}`; export r; \
11955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 $(HOST_EXPORTS) \
11957 (cd $(HOST_SUBDIR)/gnuserv && \
11958 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
11959 @endif gnuserv
11964 .PHONY: check-gnuserv maybe-check-gnuserv
11965 maybe-check-gnuserv:
11966 @if gnuserv
11967 maybe-check-gnuserv: check-gnuserv
11969 check-gnuserv:
11970 @r=`${PWD_COMMAND}`; export r; \
11971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 $(HOST_EXPORTS) \
11973 (cd $(HOST_SUBDIR)/gnuserv && \
11974 $(MAKE) $(FLAGS_TO_PASS) check)
11976 @endif gnuserv
11978 .PHONY: install-gnuserv maybe-install-gnuserv
11979 maybe-install-gnuserv:
11980 @if gnuserv
11981 maybe-install-gnuserv: install-gnuserv
11983 install-gnuserv: installdirs
11984 @r=`${PWD_COMMAND}`; export r; \
11985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11986 $(HOST_EXPORTS) \
11987 (cd $(HOST_SUBDIR)/gnuserv && \
11988 $(MAKE) $(FLAGS_TO_PASS) install)
11990 @endif gnuserv
11992 # Other targets (info, dvi, etc.)
11994 .PHONY: maybe-info-gnuserv info-gnuserv
11995 maybe-info-gnuserv:
11996 @if gnuserv
11997 maybe-info-gnuserv: info-gnuserv
11999 info-gnuserv: \
12000 configure-gnuserv
12001 @[ -f ./gnuserv/Makefile ] || exit 0; \
12002 r=`${PWD_COMMAND}`; export r; \
12003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12004 $(HOST_EXPORTS) \
12005 for flag in $(EXTRA_HOST_FLAGS) ; do \
12006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12007 done; \
12008 echo "Doing info in gnuserv" ; \
12009 (cd $(HOST_SUBDIR)/gnuserv && \
12010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12012 "RANLIB=$${RANLIB}" \
12013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12014 info) \
12015 || exit 1
12017 @endif gnuserv
12019 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12020 maybe-dvi-gnuserv:
12021 @if gnuserv
12022 maybe-dvi-gnuserv: dvi-gnuserv
12024 dvi-gnuserv: \
12025 configure-gnuserv
12026 @[ -f ./gnuserv/Makefile ] || exit 0; \
12027 r=`${PWD_COMMAND}`; export r; \
12028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12029 $(HOST_EXPORTS) \
12030 for flag in $(EXTRA_HOST_FLAGS) ; do \
12031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12032 done; \
12033 echo "Doing dvi in gnuserv" ; \
12034 (cd $(HOST_SUBDIR)/gnuserv && \
12035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12037 "RANLIB=$${RANLIB}" \
12038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12039 dvi) \
12040 || exit 1
12042 @endif gnuserv
12044 .PHONY: maybe-html-gnuserv html-gnuserv
12045 maybe-html-gnuserv:
12046 @if gnuserv
12047 maybe-html-gnuserv: html-gnuserv
12049 html-gnuserv: \
12050 configure-gnuserv
12051 @[ -f ./gnuserv/Makefile ] || exit 0; \
12052 r=`${PWD_COMMAND}`; export r; \
12053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12054 $(HOST_EXPORTS) \
12055 for flag in $(EXTRA_HOST_FLAGS) ; do \
12056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12057 done; \
12058 echo "Doing html in gnuserv" ; \
12059 (cd $(HOST_SUBDIR)/gnuserv && \
12060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12062 "RANLIB=$${RANLIB}" \
12063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12064 html) \
12065 || exit 1
12067 @endif gnuserv
12069 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12070 maybe-TAGS-gnuserv:
12071 @if gnuserv
12072 maybe-TAGS-gnuserv: TAGS-gnuserv
12074 TAGS-gnuserv: \
12075 configure-gnuserv
12076 @[ -f ./gnuserv/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(HOST_EXPORTS) \
12080 for flag in $(EXTRA_HOST_FLAGS) ; do \
12081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12082 done; \
12083 echo "Doing TAGS in gnuserv" ; \
12084 (cd $(HOST_SUBDIR)/gnuserv && \
12085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087 "RANLIB=$${RANLIB}" \
12088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12089 TAGS) \
12090 || exit 1
12092 @endif gnuserv
12094 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12095 maybe-install-info-gnuserv:
12096 @if gnuserv
12097 maybe-install-info-gnuserv: install-info-gnuserv
12099 install-info-gnuserv: \
12100 configure-gnuserv \
12101 info-gnuserv
12102 @[ -f ./gnuserv/Makefile ] || exit 0; \
12103 r=`${PWD_COMMAND}`; export r; \
12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12105 $(HOST_EXPORTS) \
12106 for flag in $(EXTRA_HOST_FLAGS) ; do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing install-info in gnuserv" ; \
12110 (cd $(HOST_SUBDIR)/gnuserv && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 install-info) \
12116 || exit 1
12118 @endif gnuserv
12120 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12121 maybe-installcheck-gnuserv:
12122 @if gnuserv
12123 maybe-installcheck-gnuserv: installcheck-gnuserv
12125 installcheck-gnuserv: \
12126 configure-gnuserv
12127 @[ -f ./gnuserv/Makefile ] || exit 0; \
12128 r=`${PWD_COMMAND}`; export r; \
12129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12130 $(HOST_EXPORTS) \
12131 for flag in $(EXTRA_HOST_FLAGS) ; do \
12132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12133 done; \
12134 echo "Doing installcheck in gnuserv" ; \
12135 (cd $(HOST_SUBDIR)/gnuserv && \
12136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12138 "RANLIB=$${RANLIB}" \
12139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12140 installcheck) \
12141 || exit 1
12143 @endif gnuserv
12145 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12146 maybe-mostlyclean-gnuserv:
12147 @if gnuserv
12148 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12150 mostlyclean-gnuserv:
12151 @[ -f ./gnuserv/Makefile ] || exit 0; \
12152 r=`${PWD_COMMAND}`; export r; \
12153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12154 $(HOST_EXPORTS) \
12155 for flag in $(EXTRA_HOST_FLAGS) ; do \
12156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12157 done; \
12158 echo "Doing mostlyclean in gnuserv" ; \
12159 (cd $(HOST_SUBDIR)/gnuserv && \
12160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12162 "RANLIB=$${RANLIB}" \
12163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12164 mostlyclean) \
12165 || exit 1
12167 @endif gnuserv
12169 .PHONY: maybe-clean-gnuserv clean-gnuserv
12170 maybe-clean-gnuserv:
12171 @if gnuserv
12172 maybe-clean-gnuserv: clean-gnuserv
12174 clean-gnuserv:
12175 @[ -f ./gnuserv/Makefile ] || exit 0; \
12176 r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12178 $(HOST_EXPORTS) \
12179 for flag in $(EXTRA_HOST_FLAGS) ; do \
12180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12181 done; \
12182 echo "Doing clean in gnuserv" ; \
12183 (cd $(HOST_SUBDIR)/gnuserv && \
12184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12186 "RANLIB=$${RANLIB}" \
12187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12188 clean) \
12189 || exit 1
12191 @endif gnuserv
12193 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12194 maybe-distclean-gnuserv:
12195 @if gnuserv
12196 maybe-distclean-gnuserv: distclean-gnuserv
12198 distclean-gnuserv:
12199 @[ -f ./gnuserv/Makefile ] || exit 0; \
12200 r=`${PWD_COMMAND}`; export r; \
12201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12202 $(HOST_EXPORTS) \
12203 for flag in $(EXTRA_HOST_FLAGS) ; do \
12204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12205 done; \
12206 echo "Doing distclean in gnuserv" ; \
12207 (cd $(HOST_SUBDIR)/gnuserv && \
12208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12210 "RANLIB=$${RANLIB}" \
12211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12212 distclean) \
12213 || exit 1
12215 @endif gnuserv
12217 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12218 maybe-maintainer-clean-gnuserv:
12219 @if gnuserv
12220 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12222 maintainer-clean-gnuserv:
12223 @[ -f ./gnuserv/Makefile ] || exit 0; \
12224 r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(HOST_EXPORTS) \
12227 for flag in $(EXTRA_HOST_FLAGS) ; do \
12228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12229 done; \
12230 echo "Doing maintainer-clean in gnuserv" ; \
12231 (cd $(HOST_SUBDIR)/gnuserv && \
12232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12234 "RANLIB=$${RANLIB}" \
12235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12236 maintainer-clean) \
12237 || exit 1
12239 @endif gnuserv
12243 .PHONY: configure-gprof maybe-configure-gprof
12244 maybe-configure-gprof:
12245 @if gprof
12246 maybe-configure-gprof: configure-gprof
12247 configure-gprof:
12248 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12250 r=`${PWD_COMMAND}`; export r; \
12251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12252 $(HOST_EXPORTS) \
12253 echo Configuring in $(HOST_SUBDIR)/gprof; \
12254 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12255 case $(srcdir) in \
12256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12257 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12259 esac; \
12260 srcdiroption="--srcdir=$${topdir}/gprof"; \
12261 libsrcdir="$$s/gprof"; \
12262 $(SHELL) $${libsrcdir}/configure \
12263 $(HOST_CONFIGARGS) $${srcdiroption} \
12264 || exit 1
12265 @endif gprof
12271 .PHONY: all-gprof maybe-all-gprof
12272 maybe-all-gprof:
12273 @if gprof
12274 TARGET-gprof=all
12275 maybe-all-gprof: all-gprof
12276 all-gprof: configure-gprof
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(HOST_EXPORTS) \
12280 (cd $(HOST_SUBDIR)/gprof && \
12281 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12282 @endif gprof
12287 .PHONY: check-gprof maybe-check-gprof
12288 maybe-check-gprof:
12289 @if gprof
12290 maybe-check-gprof: check-gprof
12292 check-gprof:
12293 @r=`${PWD_COMMAND}`; export r; \
12294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 $(HOST_EXPORTS) \
12296 (cd $(HOST_SUBDIR)/gprof && \
12297 $(MAKE) $(FLAGS_TO_PASS) check)
12299 @endif gprof
12301 .PHONY: install-gprof maybe-install-gprof
12302 maybe-install-gprof:
12303 @if gprof
12304 maybe-install-gprof: install-gprof
12306 install-gprof: installdirs
12307 @r=`${PWD_COMMAND}`; export r; \
12308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12309 $(HOST_EXPORTS) \
12310 (cd $(HOST_SUBDIR)/gprof && \
12311 $(MAKE) $(FLAGS_TO_PASS) install)
12313 @endif gprof
12315 # Other targets (info, dvi, etc.)
12317 .PHONY: maybe-info-gprof info-gprof
12318 maybe-info-gprof:
12319 @if gprof
12320 maybe-info-gprof: info-gprof
12322 info-gprof: \
12323 configure-gprof
12324 @[ -f ./gprof/Makefile ] || exit 0; \
12325 r=`${PWD_COMMAND}`; export r; \
12326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12327 $(HOST_EXPORTS) \
12328 for flag in $(EXTRA_HOST_FLAGS) ; do \
12329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12330 done; \
12331 echo "Doing info in gprof" ; \
12332 (cd $(HOST_SUBDIR)/gprof && \
12333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12335 "RANLIB=$${RANLIB}" \
12336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12337 info) \
12338 || exit 1
12340 @endif gprof
12342 .PHONY: maybe-dvi-gprof dvi-gprof
12343 maybe-dvi-gprof:
12344 @if gprof
12345 maybe-dvi-gprof: dvi-gprof
12347 dvi-gprof: \
12348 configure-gprof
12349 @[ -f ./gprof/Makefile ] || exit 0; \
12350 r=`${PWD_COMMAND}`; export r; \
12351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12352 $(HOST_EXPORTS) \
12353 for flag in $(EXTRA_HOST_FLAGS) ; do \
12354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12355 done; \
12356 echo "Doing dvi in gprof" ; \
12357 (cd $(HOST_SUBDIR)/gprof && \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12360 "RANLIB=$${RANLIB}" \
12361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12362 dvi) \
12363 || exit 1
12365 @endif gprof
12367 .PHONY: maybe-html-gprof html-gprof
12368 maybe-html-gprof:
12369 @if gprof
12370 maybe-html-gprof: html-gprof
12372 html-gprof: \
12373 configure-gprof
12374 @[ -f ./gprof/Makefile ] || exit 0; \
12375 r=`${PWD_COMMAND}`; export r; \
12376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12377 $(HOST_EXPORTS) \
12378 for flag in $(EXTRA_HOST_FLAGS) ; do \
12379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12380 done; \
12381 echo "Doing html in gprof" ; \
12382 (cd $(HOST_SUBDIR)/gprof && \
12383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12385 "RANLIB=$${RANLIB}" \
12386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12387 html) \
12388 || exit 1
12390 @endif gprof
12392 .PHONY: maybe-TAGS-gprof TAGS-gprof
12393 maybe-TAGS-gprof:
12394 @if gprof
12395 maybe-TAGS-gprof: TAGS-gprof
12397 TAGS-gprof: \
12398 configure-gprof
12399 @[ -f ./gprof/Makefile ] || exit 0; \
12400 r=`${PWD_COMMAND}`; export r; \
12401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12402 $(HOST_EXPORTS) \
12403 for flag in $(EXTRA_HOST_FLAGS) ; do \
12404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12405 done; \
12406 echo "Doing TAGS in gprof" ; \
12407 (cd $(HOST_SUBDIR)/gprof && \
12408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12410 "RANLIB=$${RANLIB}" \
12411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12412 TAGS) \
12413 || exit 1
12415 @endif gprof
12417 .PHONY: maybe-install-info-gprof install-info-gprof
12418 maybe-install-info-gprof:
12419 @if gprof
12420 maybe-install-info-gprof: install-info-gprof
12422 install-info-gprof: \
12423 configure-gprof \
12424 info-gprof
12425 @[ -f ./gprof/Makefile ] || exit 0; \
12426 r=`${PWD_COMMAND}`; export r; \
12427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12428 $(HOST_EXPORTS) \
12429 for flag in $(EXTRA_HOST_FLAGS) ; do \
12430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12431 done; \
12432 echo "Doing install-info in gprof" ; \
12433 (cd $(HOST_SUBDIR)/gprof && \
12434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12436 "RANLIB=$${RANLIB}" \
12437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12438 install-info) \
12439 || exit 1
12441 @endif gprof
12443 .PHONY: maybe-installcheck-gprof installcheck-gprof
12444 maybe-installcheck-gprof:
12445 @if gprof
12446 maybe-installcheck-gprof: installcheck-gprof
12448 installcheck-gprof: \
12449 configure-gprof
12450 @[ -f ./gprof/Makefile ] || exit 0; \
12451 r=`${PWD_COMMAND}`; export r; \
12452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12453 $(HOST_EXPORTS) \
12454 for flag in $(EXTRA_HOST_FLAGS) ; do \
12455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12456 done; \
12457 echo "Doing installcheck in gprof" ; \
12458 (cd $(HOST_SUBDIR)/gprof && \
12459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12461 "RANLIB=$${RANLIB}" \
12462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12463 installcheck) \
12464 || exit 1
12466 @endif gprof
12468 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12469 maybe-mostlyclean-gprof:
12470 @if gprof
12471 maybe-mostlyclean-gprof: mostlyclean-gprof
12473 mostlyclean-gprof:
12474 @[ -f ./gprof/Makefile ] || exit 0; \
12475 r=`${PWD_COMMAND}`; export r; \
12476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12477 $(HOST_EXPORTS) \
12478 for flag in $(EXTRA_HOST_FLAGS) ; do \
12479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12480 done; \
12481 echo "Doing mostlyclean in gprof" ; \
12482 (cd $(HOST_SUBDIR)/gprof && \
12483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12485 "RANLIB=$${RANLIB}" \
12486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12487 mostlyclean) \
12488 || exit 1
12490 @endif gprof
12492 .PHONY: maybe-clean-gprof clean-gprof
12493 maybe-clean-gprof:
12494 @if gprof
12495 maybe-clean-gprof: clean-gprof
12497 clean-gprof:
12498 @[ -f ./gprof/Makefile ] || exit 0; \
12499 r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 $(HOST_EXPORTS) \
12502 for flag in $(EXTRA_HOST_FLAGS) ; do \
12503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12504 done; \
12505 echo "Doing clean in gprof" ; \
12506 (cd $(HOST_SUBDIR)/gprof && \
12507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12509 "RANLIB=$${RANLIB}" \
12510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12511 clean) \
12512 || exit 1
12514 @endif gprof
12516 .PHONY: maybe-distclean-gprof distclean-gprof
12517 maybe-distclean-gprof:
12518 @if gprof
12519 maybe-distclean-gprof: distclean-gprof
12521 distclean-gprof:
12522 @[ -f ./gprof/Makefile ] || exit 0; \
12523 r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12525 $(HOST_EXPORTS) \
12526 for flag in $(EXTRA_HOST_FLAGS) ; do \
12527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12528 done; \
12529 echo "Doing distclean in gprof" ; \
12530 (cd $(HOST_SUBDIR)/gprof && \
12531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12533 "RANLIB=$${RANLIB}" \
12534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12535 distclean) \
12536 || exit 1
12538 @endif gprof
12540 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12541 maybe-maintainer-clean-gprof:
12542 @if gprof
12543 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12545 maintainer-clean-gprof:
12546 @[ -f ./gprof/Makefile ] || exit 0; \
12547 r=`${PWD_COMMAND}`; export r; \
12548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 $(HOST_EXPORTS) \
12550 for flag in $(EXTRA_HOST_FLAGS) ; do \
12551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12552 done; \
12553 echo "Doing maintainer-clean in gprof" ; \
12554 (cd $(HOST_SUBDIR)/gprof && \
12555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12557 "RANLIB=$${RANLIB}" \
12558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12559 maintainer-clean) \
12560 || exit 1
12562 @endif gprof
12566 .PHONY: configure-gzip maybe-configure-gzip
12567 maybe-configure-gzip:
12568 @if gzip
12569 maybe-configure-gzip: configure-gzip
12570 configure-gzip:
12571 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12573 r=`${PWD_COMMAND}`; export r; \
12574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 $(HOST_EXPORTS) \
12576 echo Configuring in $(HOST_SUBDIR)/gzip; \
12577 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12578 case $(srcdir) in \
12579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12580 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12582 esac; \
12583 srcdiroption="--srcdir=$${topdir}/gzip"; \
12584 libsrcdir="$$s/gzip"; \
12585 $(SHELL) $${libsrcdir}/configure \
12586 $(HOST_CONFIGARGS) $${srcdiroption} \
12587 || exit 1
12588 @endif gzip
12594 .PHONY: all-gzip maybe-all-gzip
12595 maybe-all-gzip:
12596 @if gzip
12597 TARGET-gzip=all
12598 maybe-all-gzip: all-gzip
12599 all-gzip: configure-gzip
12600 @r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 $(HOST_EXPORTS) \
12603 (cd $(HOST_SUBDIR)/gzip && \
12604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12605 @endif gzip
12610 .PHONY: check-gzip maybe-check-gzip
12611 maybe-check-gzip:
12612 @if gzip
12613 maybe-check-gzip: check-gzip
12615 check-gzip:
12616 @r=`${PWD_COMMAND}`; export r; \
12617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12618 $(HOST_EXPORTS) \
12619 (cd $(HOST_SUBDIR)/gzip && \
12620 $(MAKE) $(FLAGS_TO_PASS) check)
12622 @endif gzip
12624 .PHONY: install-gzip maybe-install-gzip
12625 maybe-install-gzip:
12626 @if gzip
12627 maybe-install-gzip: install-gzip
12629 install-gzip: installdirs
12630 @r=`${PWD_COMMAND}`; export r; \
12631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12632 $(HOST_EXPORTS) \
12633 (cd $(HOST_SUBDIR)/gzip && \
12634 $(MAKE) $(FLAGS_TO_PASS) install)
12636 @endif gzip
12638 # Other targets (info, dvi, etc.)
12640 .PHONY: maybe-info-gzip info-gzip
12641 maybe-info-gzip:
12642 @if gzip
12643 maybe-info-gzip: info-gzip
12645 info-gzip: \
12646 configure-gzip
12647 @[ -f ./gzip/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing info in gzip" ; \
12655 (cd $(HOST_SUBDIR)/gzip && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 info) \
12661 || exit 1
12663 @endif gzip
12665 .PHONY: maybe-dvi-gzip dvi-gzip
12666 maybe-dvi-gzip:
12667 @if gzip
12668 maybe-dvi-gzip: dvi-gzip
12670 dvi-gzip: \
12671 configure-gzip
12672 @[ -f ./gzip/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) ; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing dvi in gzip" ; \
12680 (cd $(HOST_SUBDIR)/gzip && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12685 dvi) \
12686 || exit 1
12688 @endif gzip
12690 .PHONY: maybe-html-gzip html-gzip
12691 maybe-html-gzip:
12692 @if gzip
12693 maybe-html-gzip: html-gzip
12695 html-gzip: \
12696 configure-gzip
12697 @[ -f ./gzip/Makefile ] || exit 0; \
12698 r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 $(HOST_EXPORTS) \
12701 for flag in $(EXTRA_HOST_FLAGS) ; do \
12702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12703 done; \
12704 echo "Doing html in gzip" ; \
12705 (cd $(HOST_SUBDIR)/gzip && \
12706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12708 "RANLIB=$${RANLIB}" \
12709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12710 html) \
12711 || exit 1
12713 @endif gzip
12715 .PHONY: maybe-TAGS-gzip TAGS-gzip
12716 maybe-TAGS-gzip:
12717 @if gzip
12718 maybe-TAGS-gzip: TAGS-gzip
12720 TAGS-gzip: \
12721 configure-gzip
12722 @[ -f ./gzip/Makefile ] || exit 0; \
12723 r=`${PWD_COMMAND}`; export r; \
12724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 $(HOST_EXPORTS) \
12726 for flag in $(EXTRA_HOST_FLAGS) ; do \
12727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12728 done; \
12729 echo "Doing TAGS in gzip" ; \
12730 (cd $(HOST_SUBDIR)/gzip && \
12731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12733 "RANLIB=$${RANLIB}" \
12734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12735 TAGS) \
12736 || exit 1
12738 @endif gzip
12740 .PHONY: maybe-install-info-gzip install-info-gzip
12741 maybe-install-info-gzip:
12742 @if gzip
12743 maybe-install-info-gzip: install-info-gzip
12745 install-info-gzip: \
12746 configure-gzip \
12747 info-gzip
12748 @[ -f ./gzip/Makefile ] || exit 0; \
12749 r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(HOST_EXPORTS) \
12752 for flag in $(EXTRA_HOST_FLAGS) ; do \
12753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12754 done; \
12755 echo "Doing install-info in gzip" ; \
12756 (cd $(HOST_SUBDIR)/gzip && \
12757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12759 "RANLIB=$${RANLIB}" \
12760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12761 install-info) \
12762 || exit 1
12764 @endif gzip
12766 .PHONY: maybe-installcheck-gzip installcheck-gzip
12767 maybe-installcheck-gzip:
12768 @if gzip
12769 maybe-installcheck-gzip: installcheck-gzip
12771 installcheck-gzip: \
12772 configure-gzip
12773 @[ -f ./gzip/Makefile ] || exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(HOST_EXPORTS) \
12777 for flag in $(EXTRA_HOST_FLAGS) ; do \
12778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12779 done; \
12780 echo "Doing installcheck in gzip" ; \
12781 (cd $(HOST_SUBDIR)/gzip && \
12782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12784 "RANLIB=$${RANLIB}" \
12785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12786 installcheck) \
12787 || exit 1
12789 @endif gzip
12791 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
12792 maybe-mostlyclean-gzip:
12793 @if gzip
12794 maybe-mostlyclean-gzip: mostlyclean-gzip
12796 mostlyclean-gzip:
12797 @[ -f ./gzip/Makefile ] || exit 0; \
12798 r=`${PWD_COMMAND}`; export r; \
12799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12800 $(HOST_EXPORTS) \
12801 for flag in $(EXTRA_HOST_FLAGS) ; do \
12802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12803 done; \
12804 echo "Doing mostlyclean in gzip" ; \
12805 (cd $(HOST_SUBDIR)/gzip && \
12806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12808 "RANLIB=$${RANLIB}" \
12809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12810 mostlyclean) \
12811 || exit 1
12813 @endif gzip
12815 .PHONY: maybe-clean-gzip clean-gzip
12816 maybe-clean-gzip:
12817 @if gzip
12818 maybe-clean-gzip: clean-gzip
12820 clean-gzip:
12821 @[ -f ./gzip/Makefile ] || exit 0; \
12822 r=`${PWD_COMMAND}`; export r; \
12823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 $(HOST_EXPORTS) \
12825 for flag in $(EXTRA_HOST_FLAGS) ; do \
12826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12827 done; \
12828 echo "Doing clean in gzip" ; \
12829 (cd $(HOST_SUBDIR)/gzip && \
12830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12832 "RANLIB=$${RANLIB}" \
12833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12834 clean) \
12835 || exit 1
12837 @endif gzip
12839 .PHONY: maybe-distclean-gzip distclean-gzip
12840 maybe-distclean-gzip:
12841 @if gzip
12842 maybe-distclean-gzip: distclean-gzip
12844 distclean-gzip:
12845 @[ -f ./gzip/Makefile ] || exit 0; \
12846 r=`${PWD_COMMAND}`; export r; \
12847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12848 $(HOST_EXPORTS) \
12849 for flag in $(EXTRA_HOST_FLAGS) ; do \
12850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12851 done; \
12852 echo "Doing distclean in gzip" ; \
12853 (cd $(HOST_SUBDIR)/gzip && \
12854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12856 "RANLIB=$${RANLIB}" \
12857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12858 distclean) \
12859 || exit 1
12861 @endif gzip
12863 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
12864 maybe-maintainer-clean-gzip:
12865 @if gzip
12866 maybe-maintainer-clean-gzip: maintainer-clean-gzip
12868 maintainer-clean-gzip:
12869 @[ -f ./gzip/Makefile ] || exit 0; \
12870 r=`${PWD_COMMAND}`; export r; \
12871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12872 $(HOST_EXPORTS) \
12873 for flag in $(EXTRA_HOST_FLAGS) ; do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12875 done; \
12876 echo "Doing maintainer-clean in gzip" ; \
12877 (cd $(HOST_SUBDIR)/gzip && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12882 maintainer-clean) \
12883 || exit 1
12885 @endif gzip
12889 .PHONY: configure-hello maybe-configure-hello
12890 maybe-configure-hello:
12891 @if hello
12892 maybe-configure-hello: configure-hello
12893 configure-hello:
12894 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
12895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
12896 r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 echo Configuring in $(HOST_SUBDIR)/hello; \
12900 cd "$(HOST_SUBDIR)/hello" || exit 1; \
12901 case $(srcdir) in \
12902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12903 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
12904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12905 esac; \
12906 srcdiroption="--srcdir=$${topdir}/hello"; \
12907 libsrcdir="$$s/hello"; \
12908 $(SHELL) $${libsrcdir}/configure \
12909 $(HOST_CONFIGARGS) $${srcdiroption} \
12910 || exit 1
12911 @endif hello
12917 .PHONY: all-hello maybe-all-hello
12918 maybe-all-hello:
12919 @if hello
12920 TARGET-hello=all
12921 maybe-all-hello: all-hello
12922 all-hello: configure-hello
12923 @r=`${PWD_COMMAND}`; export r; \
12924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925 $(HOST_EXPORTS) \
12926 (cd $(HOST_SUBDIR)/hello && \
12927 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
12928 @endif hello
12933 .PHONY: check-hello maybe-check-hello
12934 maybe-check-hello:
12935 @if hello
12936 maybe-check-hello: check-hello
12938 check-hello:
12939 @r=`${PWD_COMMAND}`; export r; \
12940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 $(HOST_EXPORTS) \
12942 (cd $(HOST_SUBDIR)/hello && \
12943 $(MAKE) $(FLAGS_TO_PASS) check)
12945 @endif hello
12947 .PHONY: install-hello maybe-install-hello
12948 maybe-install-hello:
12949 @if hello
12950 maybe-install-hello: install-hello
12952 install-hello: installdirs
12953 @r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 $(HOST_EXPORTS) \
12956 (cd $(HOST_SUBDIR)/hello && \
12957 $(MAKE) $(FLAGS_TO_PASS) install)
12959 @endif hello
12961 # Other targets (info, dvi, etc.)
12963 .PHONY: maybe-info-hello info-hello
12964 maybe-info-hello:
12965 @if hello
12966 maybe-info-hello: info-hello
12968 info-hello: \
12969 configure-hello
12970 @[ -f ./hello/Makefile ] || exit 0; \
12971 r=`${PWD_COMMAND}`; export r; \
12972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12973 $(HOST_EXPORTS) \
12974 for flag in $(EXTRA_HOST_FLAGS) ; do \
12975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12976 done; \
12977 echo "Doing info in hello" ; \
12978 (cd $(HOST_SUBDIR)/hello && \
12979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12981 "RANLIB=$${RANLIB}" \
12982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12983 info) \
12984 || exit 1
12986 @endif hello
12988 .PHONY: maybe-dvi-hello dvi-hello
12989 maybe-dvi-hello:
12990 @if hello
12991 maybe-dvi-hello: dvi-hello
12993 dvi-hello: \
12994 configure-hello
12995 @[ -f ./hello/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) ; do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing dvi in hello" ; \
13003 (cd $(HOST_SUBDIR)/hello && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008 dvi) \
13009 || exit 1
13011 @endif hello
13013 .PHONY: maybe-html-hello html-hello
13014 maybe-html-hello:
13015 @if hello
13016 maybe-html-hello: html-hello
13018 html-hello: \
13019 configure-hello
13020 @[ -f ./hello/Makefile ] || exit 0; \
13021 r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 $(HOST_EXPORTS) \
13024 for flag in $(EXTRA_HOST_FLAGS) ; do \
13025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026 done; \
13027 echo "Doing html in hello" ; \
13028 (cd $(HOST_SUBDIR)/hello && \
13029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031 "RANLIB=$${RANLIB}" \
13032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13033 html) \
13034 || exit 1
13036 @endif hello
13038 .PHONY: maybe-TAGS-hello TAGS-hello
13039 maybe-TAGS-hello:
13040 @if hello
13041 maybe-TAGS-hello: TAGS-hello
13043 TAGS-hello: \
13044 configure-hello
13045 @[ -f ./hello/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) ; do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing TAGS in hello" ; \
13053 (cd $(HOST_SUBDIR)/hello && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13058 TAGS) \
13059 || exit 1
13061 @endif hello
13063 .PHONY: maybe-install-info-hello install-info-hello
13064 maybe-install-info-hello:
13065 @if hello
13066 maybe-install-info-hello: install-info-hello
13068 install-info-hello: \
13069 configure-hello \
13070 info-hello
13071 @[ -f ./hello/Makefile ] || exit 0; \
13072 r=`${PWD_COMMAND}`; export r; \
13073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13074 $(HOST_EXPORTS) \
13075 for flag in $(EXTRA_HOST_FLAGS) ; do \
13076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077 done; \
13078 echo "Doing install-info in hello" ; \
13079 (cd $(HOST_SUBDIR)/hello && \
13080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13082 "RANLIB=$${RANLIB}" \
13083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13084 install-info) \
13085 || exit 1
13087 @endif hello
13089 .PHONY: maybe-installcheck-hello installcheck-hello
13090 maybe-installcheck-hello:
13091 @if hello
13092 maybe-installcheck-hello: installcheck-hello
13094 installcheck-hello: \
13095 configure-hello
13096 @[ -f ./hello/Makefile ] || exit 0; \
13097 r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 $(HOST_EXPORTS) \
13100 for flag in $(EXTRA_HOST_FLAGS) ; do \
13101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13102 done; \
13103 echo "Doing installcheck in hello" ; \
13104 (cd $(HOST_SUBDIR)/hello && \
13105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13107 "RANLIB=$${RANLIB}" \
13108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13109 installcheck) \
13110 || exit 1
13112 @endif hello
13114 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13115 maybe-mostlyclean-hello:
13116 @if hello
13117 maybe-mostlyclean-hello: mostlyclean-hello
13119 mostlyclean-hello:
13120 @[ -f ./hello/Makefile ] || exit 0; \
13121 r=`${PWD_COMMAND}`; export r; \
13122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13123 $(HOST_EXPORTS) \
13124 for flag in $(EXTRA_HOST_FLAGS) ; do \
13125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13126 done; \
13127 echo "Doing mostlyclean in hello" ; \
13128 (cd $(HOST_SUBDIR)/hello && \
13129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13131 "RANLIB=$${RANLIB}" \
13132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13133 mostlyclean) \
13134 || exit 1
13136 @endif hello
13138 .PHONY: maybe-clean-hello clean-hello
13139 maybe-clean-hello:
13140 @if hello
13141 maybe-clean-hello: clean-hello
13143 clean-hello:
13144 @[ -f ./hello/Makefile ] || exit 0; \
13145 r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 $(HOST_EXPORTS) \
13148 for flag in $(EXTRA_HOST_FLAGS) ; do \
13149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13150 done; \
13151 echo "Doing clean in hello" ; \
13152 (cd $(HOST_SUBDIR)/hello && \
13153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13155 "RANLIB=$${RANLIB}" \
13156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13157 clean) \
13158 || exit 1
13160 @endif hello
13162 .PHONY: maybe-distclean-hello distclean-hello
13163 maybe-distclean-hello:
13164 @if hello
13165 maybe-distclean-hello: distclean-hello
13167 distclean-hello:
13168 @[ -f ./hello/Makefile ] || exit 0; \
13169 r=`${PWD_COMMAND}`; export r; \
13170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13171 $(HOST_EXPORTS) \
13172 for flag in $(EXTRA_HOST_FLAGS) ; do \
13173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13174 done; \
13175 echo "Doing distclean in hello" ; \
13176 (cd $(HOST_SUBDIR)/hello && \
13177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13179 "RANLIB=$${RANLIB}" \
13180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13181 distclean) \
13182 || exit 1
13184 @endif hello
13186 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13187 maybe-maintainer-clean-hello:
13188 @if hello
13189 maybe-maintainer-clean-hello: maintainer-clean-hello
13191 maintainer-clean-hello:
13192 @[ -f ./hello/Makefile ] || exit 0; \
13193 r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 $(HOST_EXPORTS) \
13196 for flag in $(EXTRA_HOST_FLAGS) ; do \
13197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13198 done; \
13199 echo "Doing maintainer-clean in hello" ; \
13200 (cd $(HOST_SUBDIR)/hello && \
13201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13203 "RANLIB=$${RANLIB}" \
13204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13205 maintainer-clean) \
13206 || exit 1
13208 @endif hello
13212 .PHONY: configure-indent maybe-configure-indent
13213 maybe-configure-indent:
13214 @if indent
13215 maybe-configure-indent: configure-indent
13216 configure-indent:
13217 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13218 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13219 r=`${PWD_COMMAND}`; export r; \
13220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13221 $(HOST_EXPORTS) \
13222 echo Configuring in $(HOST_SUBDIR)/indent; \
13223 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13224 case $(srcdir) in \
13225 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13226 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13227 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13228 esac; \
13229 srcdiroption="--srcdir=$${topdir}/indent"; \
13230 libsrcdir="$$s/indent"; \
13231 $(SHELL) $${libsrcdir}/configure \
13232 $(HOST_CONFIGARGS) $${srcdiroption} \
13233 || exit 1
13234 @endif indent
13240 .PHONY: all-indent maybe-all-indent
13241 maybe-all-indent:
13242 @if indent
13243 TARGET-indent=all
13244 maybe-all-indent: all-indent
13245 all-indent: configure-indent
13246 @r=`${PWD_COMMAND}`; export r; \
13247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13248 $(HOST_EXPORTS) \
13249 (cd $(HOST_SUBDIR)/indent && \
13250 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13251 @endif indent
13256 .PHONY: check-indent maybe-check-indent
13257 maybe-check-indent:
13258 @if indent
13259 maybe-check-indent: check-indent
13261 check-indent:
13262 @r=`${PWD_COMMAND}`; export r; \
13263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13264 $(HOST_EXPORTS) \
13265 (cd $(HOST_SUBDIR)/indent && \
13266 $(MAKE) $(FLAGS_TO_PASS) check)
13268 @endif indent
13270 .PHONY: install-indent maybe-install-indent
13271 maybe-install-indent:
13272 @if indent
13273 maybe-install-indent: install-indent
13275 install-indent: installdirs
13276 @r=`${PWD_COMMAND}`; export r; \
13277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 $(HOST_EXPORTS) \
13279 (cd $(HOST_SUBDIR)/indent && \
13280 $(MAKE) $(FLAGS_TO_PASS) install)
13282 @endif indent
13284 # Other targets (info, dvi, etc.)
13286 .PHONY: maybe-info-indent info-indent
13287 maybe-info-indent:
13288 @if indent
13289 maybe-info-indent: info-indent
13291 info-indent: \
13292 configure-indent
13293 @[ -f ./indent/Makefile ] || exit 0; \
13294 r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13296 $(HOST_EXPORTS) \
13297 for flag in $(EXTRA_HOST_FLAGS) ; do \
13298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13299 done; \
13300 echo "Doing info in indent" ; \
13301 (cd $(HOST_SUBDIR)/indent && \
13302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13304 "RANLIB=$${RANLIB}" \
13305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13306 info) \
13307 || exit 1
13309 @endif indent
13311 .PHONY: maybe-dvi-indent dvi-indent
13312 maybe-dvi-indent:
13313 @if indent
13314 maybe-dvi-indent: dvi-indent
13316 dvi-indent: \
13317 configure-indent
13318 @[ -f ./indent/Makefile ] || exit 0; \
13319 r=`${PWD_COMMAND}`; export r; \
13320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13321 $(HOST_EXPORTS) \
13322 for flag in $(EXTRA_HOST_FLAGS) ; do \
13323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13324 done; \
13325 echo "Doing dvi in indent" ; \
13326 (cd $(HOST_SUBDIR)/indent && \
13327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13329 "RANLIB=$${RANLIB}" \
13330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13331 dvi) \
13332 || exit 1
13334 @endif indent
13336 .PHONY: maybe-html-indent html-indent
13337 maybe-html-indent:
13338 @if indent
13339 maybe-html-indent: html-indent
13341 html-indent: \
13342 configure-indent
13343 @[ -f ./indent/Makefile ] || exit 0; \
13344 r=`${PWD_COMMAND}`; export r; \
13345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13346 $(HOST_EXPORTS) \
13347 for flag in $(EXTRA_HOST_FLAGS) ; do \
13348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13349 done; \
13350 echo "Doing html in indent" ; \
13351 (cd $(HOST_SUBDIR)/indent && \
13352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13354 "RANLIB=$${RANLIB}" \
13355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13356 html) \
13357 || exit 1
13359 @endif indent
13361 .PHONY: maybe-TAGS-indent TAGS-indent
13362 maybe-TAGS-indent:
13363 @if indent
13364 maybe-TAGS-indent: TAGS-indent
13366 TAGS-indent: \
13367 configure-indent
13368 @[ -f ./indent/Makefile ] || exit 0; \
13369 r=`${PWD_COMMAND}`; export r; \
13370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13371 $(HOST_EXPORTS) \
13372 for flag in $(EXTRA_HOST_FLAGS) ; do \
13373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13374 done; \
13375 echo "Doing TAGS in indent" ; \
13376 (cd $(HOST_SUBDIR)/indent && \
13377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13379 "RANLIB=$${RANLIB}" \
13380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13381 TAGS) \
13382 || exit 1
13384 @endif indent
13386 .PHONY: maybe-install-info-indent install-info-indent
13387 maybe-install-info-indent:
13388 @if indent
13389 maybe-install-info-indent: install-info-indent
13391 install-info-indent: \
13392 configure-indent \
13393 info-indent
13394 @[ -f ./indent/Makefile ] || exit 0; \
13395 r=`${PWD_COMMAND}`; export r; \
13396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13397 $(HOST_EXPORTS) \
13398 for flag in $(EXTRA_HOST_FLAGS) ; do \
13399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13400 done; \
13401 echo "Doing install-info in indent" ; \
13402 (cd $(HOST_SUBDIR)/indent && \
13403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13405 "RANLIB=$${RANLIB}" \
13406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13407 install-info) \
13408 || exit 1
13410 @endif indent
13412 .PHONY: maybe-installcheck-indent installcheck-indent
13413 maybe-installcheck-indent:
13414 @if indent
13415 maybe-installcheck-indent: installcheck-indent
13417 installcheck-indent: \
13418 configure-indent
13419 @[ -f ./indent/Makefile ] || exit 0; \
13420 r=`${PWD_COMMAND}`; export r; \
13421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13422 $(HOST_EXPORTS) \
13423 for flag in $(EXTRA_HOST_FLAGS) ; do \
13424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13425 done; \
13426 echo "Doing installcheck in indent" ; \
13427 (cd $(HOST_SUBDIR)/indent && \
13428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13430 "RANLIB=$${RANLIB}" \
13431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13432 installcheck) \
13433 || exit 1
13435 @endif indent
13437 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13438 maybe-mostlyclean-indent:
13439 @if indent
13440 maybe-mostlyclean-indent: mostlyclean-indent
13442 mostlyclean-indent:
13443 @[ -f ./indent/Makefile ] || exit 0; \
13444 r=`${PWD_COMMAND}`; export r; \
13445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13446 $(HOST_EXPORTS) \
13447 for flag in $(EXTRA_HOST_FLAGS) ; do \
13448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13449 done; \
13450 echo "Doing mostlyclean in indent" ; \
13451 (cd $(HOST_SUBDIR)/indent && \
13452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13454 "RANLIB=$${RANLIB}" \
13455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13456 mostlyclean) \
13457 || exit 1
13459 @endif indent
13461 .PHONY: maybe-clean-indent clean-indent
13462 maybe-clean-indent:
13463 @if indent
13464 maybe-clean-indent: clean-indent
13466 clean-indent:
13467 @[ -f ./indent/Makefile ] || exit 0; \
13468 r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 $(HOST_EXPORTS) \
13471 for flag in $(EXTRA_HOST_FLAGS) ; do \
13472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13473 done; \
13474 echo "Doing clean in indent" ; \
13475 (cd $(HOST_SUBDIR)/indent && \
13476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13478 "RANLIB=$${RANLIB}" \
13479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13480 clean) \
13481 || exit 1
13483 @endif indent
13485 .PHONY: maybe-distclean-indent distclean-indent
13486 maybe-distclean-indent:
13487 @if indent
13488 maybe-distclean-indent: distclean-indent
13490 distclean-indent:
13491 @[ -f ./indent/Makefile ] || exit 0; \
13492 r=`${PWD_COMMAND}`; export r; \
13493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13494 $(HOST_EXPORTS) \
13495 for flag in $(EXTRA_HOST_FLAGS) ; do \
13496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13497 done; \
13498 echo "Doing distclean in indent" ; \
13499 (cd $(HOST_SUBDIR)/indent && \
13500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13502 "RANLIB=$${RANLIB}" \
13503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13504 distclean) \
13505 || exit 1
13507 @endif indent
13509 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13510 maybe-maintainer-clean-indent:
13511 @if indent
13512 maybe-maintainer-clean-indent: maintainer-clean-indent
13514 maintainer-clean-indent:
13515 @[ -f ./indent/Makefile ] || exit 0; \
13516 r=`${PWD_COMMAND}`; export r; \
13517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13518 $(HOST_EXPORTS) \
13519 for flag in $(EXTRA_HOST_FLAGS) ; do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 echo "Doing maintainer-clean in indent" ; \
13523 (cd $(HOST_SUBDIR)/indent && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 maintainer-clean) \
13529 || exit 1
13531 @endif indent
13535 .PHONY: configure-intl maybe-configure-intl
13536 maybe-configure-intl:
13537 @if intl
13538 maybe-configure-intl: configure-intl
13539 configure-intl:
13540 @test -f stage_last && exit 0; \
13541 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13543 r=`${PWD_COMMAND}`; export r; \
13544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545 $(HOST_EXPORTS) \
13546 echo Configuring in $(HOST_SUBDIR)/intl; \
13547 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13548 case $(srcdir) in \
13549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13550 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13552 esac; \
13553 srcdiroption="--srcdir=$${topdir}/intl"; \
13554 libsrcdir="$$s/intl"; \
13555 $(SHELL) $${libsrcdir}/configure \
13556 $(HOST_CONFIGARGS) $${srcdiroption} \
13557 || exit 1
13558 @endif intl
13562 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13563 maybe-configure-stage1-intl:
13564 @if intl-bootstrap
13565 maybe-configure-stage1-intl: configure-stage1-intl
13566 configure-stage1-intl:
13567 @$(MAKE) stage1-start
13568 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13569 r=`${PWD_COMMAND}`; export r; \
13570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13571 $(HOST_EXPORTS) \
13572 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13573 cd $(HOST_SUBDIR)/intl || exit 1; \
13574 case $(srcdir) in \
13575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13576 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13578 esac; \
13579 srcdiroption="--srcdir=$${topdir}/intl"; \
13580 libsrcdir="$$s/intl"; \
13581 $(SHELL) $${libsrcdir}/configure \
13582 $(HOST_CONFIGARGS) $${srcdiroption} \
13583 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13584 @endif intl-bootstrap
13586 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13587 maybe-configure-stage2-intl:
13588 @if intl-bootstrap
13589 maybe-configure-stage2-intl: configure-stage2-intl
13590 configure-stage2-intl:
13591 @$(MAKE) stage2-start
13592 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13593 r=`${PWD_COMMAND}`; export r; \
13594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13595 $(HOST_EXPORTS) \
13596 $(POSTSTAGE1_HOST_EXPORTS) \
13597 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13598 cd $(HOST_SUBDIR)/intl || exit 1; \
13599 case $(srcdir) in \
13600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13601 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13603 esac; \
13604 srcdiroption="--srcdir=$${topdir}/intl"; \
13605 libsrcdir="$$s/intl"; \
13606 $(SHELL) $${libsrcdir}/configure \
13607 $(HOST_CONFIGARGS) $${srcdiroption} \
13608 @stage2_werror_flag@
13609 @endif intl-bootstrap
13611 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13612 maybe-configure-stage3-intl:
13613 @if intl-bootstrap
13614 maybe-configure-stage3-intl: configure-stage3-intl
13615 configure-stage3-intl:
13616 @$(MAKE) stage3-start
13617 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13618 r=`${PWD_COMMAND}`; export r; \
13619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13620 $(HOST_EXPORTS) \
13621 $(POSTSTAGE1_HOST_EXPORTS) \
13622 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13623 cd $(HOST_SUBDIR)/intl || exit 1; \
13624 case $(srcdir) in \
13625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13626 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13628 esac; \
13629 srcdiroption="--srcdir=$${topdir}/intl"; \
13630 libsrcdir="$$s/intl"; \
13631 $(SHELL) $${libsrcdir}/configure \
13632 $(HOST_CONFIGARGS) $${srcdiroption} \
13633 @stage2_werror_flag@
13634 @endif intl-bootstrap
13636 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13637 maybe-configure-stage4-intl:
13638 @if intl-bootstrap
13639 maybe-configure-stage4-intl: configure-stage4-intl
13640 configure-stage4-intl:
13641 @$(MAKE) stage4-start
13642 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13643 r=`${PWD_COMMAND}`; export r; \
13644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13645 $(HOST_EXPORTS) \
13646 $(POSTSTAGE1_HOST_EXPORTS) \
13647 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13648 cd $(HOST_SUBDIR)/intl || exit 1; \
13649 case $(srcdir) in \
13650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13651 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13653 esac; \
13654 srcdiroption="--srcdir=$${topdir}/intl"; \
13655 libsrcdir="$$s/intl"; \
13656 $(SHELL) $${libsrcdir}/configure \
13657 $(HOST_CONFIGARGS) $${srcdiroption} \
13658 @stage2_werror_flag@
13659 @endif intl-bootstrap
13661 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13662 maybe-configure-stageprofile-intl:
13663 @if intl-bootstrap
13664 maybe-configure-stageprofile-intl: configure-stageprofile-intl
13665 configure-stageprofile-intl:
13666 @$(MAKE) stageprofile-start
13667 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13668 r=`${PWD_COMMAND}`; export r; \
13669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13670 $(HOST_EXPORTS) \
13671 $(POSTSTAGE1_HOST_EXPORTS) \
13672 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
13673 cd $(HOST_SUBDIR)/intl || exit 1; \
13674 case $(srcdir) in \
13675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13676 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13678 esac; \
13679 srcdiroption="--srcdir=$${topdir}/intl"; \
13680 libsrcdir="$$s/intl"; \
13681 $(SHELL) $${libsrcdir}/configure \
13682 $(HOST_CONFIGARGS) $${srcdiroption} \
13683 @stage2_werror_flag@
13684 @endif intl-bootstrap
13686 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
13687 maybe-configure-stagefeedback-intl:
13688 @if intl-bootstrap
13689 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
13690 configure-stagefeedback-intl:
13691 @$(MAKE) stagefeedback-start
13692 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13693 r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13695 $(HOST_EXPORTS) \
13696 $(POSTSTAGE1_HOST_EXPORTS) \
13697 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
13698 cd $(HOST_SUBDIR)/intl || exit 1; \
13699 case $(srcdir) in \
13700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13701 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13703 esac; \
13704 srcdiroption="--srcdir=$${topdir}/intl"; \
13705 libsrcdir="$$s/intl"; \
13706 $(SHELL) $${libsrcdir}/configure \
13707 $(HOST_CONFIGARGS) $${srcdiroption} \
13708 @stage2_werror_flag@
13709 @endif intl-bootstrap
13715 .PHONY: all-intl maybe-all-intl
13716 maybe-all-intl:
13717 @if intl
13718 TARGET-intl=all
13719 maybe-all-intl: all-intl
13720 all-intl: configure-intl
13721 @test -f stage_last && exit 0; \
13722 r=`${PWD_COMMAND}`; export r; \
13723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13724 $(HOST_EXPORTS) \
13725 (cd $(HOST_SUBDIR)/intl && \
13726 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
13727 @endif intl
13731 .PHONY: all-stage1-intl maybe-all-stage1-intl
13732 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
13733 maybe-all-stage1-intl:
13734 maybe-clean-stage1-intl:
13735 @if intl-bootstrap
13736 maybe-all-stage1-intl: all-stage1-intl
13737 all-stage1: all-stage1-intl
13738 all-stage1-intl: configure-stage1-intl
13739 @$(MAKE) stage1-start
13740 @r=`${PWD_COMMAND}`; export r; \
13741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13742 $(HOST_EXPORTS) \
13743 cd $(HOST_SUBDIR)/intl && \
13744 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
13746 maybe-clean-stage1-intl: clean-stage1-intl
13747 clean-stage1: clean-stage1-intl
13748 clean-stage1-intl:
13749 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
13750 || exit 0 ; \
13751 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \
13752 cd $(HOST_SUBDIR)/intl && \
13753 $(MAKE) $(FLAGS_TO_PASS) \
13754 CFLAGS="$(STAGE1_CFLAGS)" clean
13755 @endif intl-bootstrap
13758 .PHONY: all-stage2-intl maybe-all-stage2-intl
13759 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
13760 maybe-all-stage2-intl:
13761 maybe-clean-stage2-intl:
13762 @if intl-bootstrap
13763 maybe-all-stage2-intl: all-stage2-intl
13764 all-stage2: all-stage2-intl
13765 all-stage2-intl: configure-stage2-intl
13766 @$(MAKE) stage2-start
13767 @r=`${PWD_COMMAND}`; export r; \
13768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13769 $(HOST_EXPORTS) \
13770 $(POSTSTAGE1_HOST_EXPORTS) \
13771 cd $(HOST_SUBDIR)/intl && \
13772 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13774 maybe-clean-stage2-intl: clean-stage2-intl
13775 clean-stage2: clean-stage2-intl
13776 clean-stage2-intl:
13777 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
13778 || exit 0 ; \
13779 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \
13780 cd $(HOST_SUBDIR)/intl && \
13781 $(MAKE) $(FLAGS_TO_PASS) \
13782 $(POSTSTAGE1_FLAGS_TO_PASS) \
13783 clean
13784 @endif intl-bootstrap
13787 .PHONY: all-stage3-intl maybe-all-stage3-intl
13788 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
13789 maybe-all-stage3-intl:
13790 maybe-clean-stage3-intl:
13791 @if intl-bootstrap
13792 maybe-all-stage3-intl: all-stage3-intl
13793 all-stage3: all-stage3-intl
13794 all-stage3-intl: configure-stage3-intl
13795 @$(MAKE) stage3-start
13796 @r=`${PWD_COMMAND}`; export r; \
13797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13798 $(HOST_EXPORTS) \
13799 $(POSTSTAGE1_HOST_EXPORTS) \
13800 cd $(HOST_SUBDIR)/intl && \
13801 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13803 maybe-clean-stage3-intl: clean-stage3-intl
13804 clean-stage3: clean-stage3-intl
13805 clean-stage3-intl:
13806 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
13807 || exit 0 ; \
13808 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \
13809 cd $(HOST_SUBDIR)/intl && \
13810 $(MAKE) $(FLAGS_TO_PASS) \
13811 $(POSTSTAGE1_FLAGS_TO_PASS) \
13812 clean
13813 @endif intl-bootstrap
13816 .PHONY: all-stage4-intl maybe-all-stage4-intl
13817 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
13818 maybe-all-stage4-intl:
13819 maybe-clean-stage4-intl:
13820 @if intl-bootstrap
13821 maybe-all-stage4-intl: all-stage4-intl
13822 all-stage4: all-stage4-intl
13823 all-stage4-intl: configure-stage4-intl
13824 @$(MAKE) stage4-start
13825 @r=`${PWD_COMMAND}`; export r; \
13826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13827 $(HOST_EXPORTS) \
13828 $(POSTSTAGE1_HOST_EXPORTS) \
13829 cd $(HOST_SUBDIR)/intl && \
13830 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13832 maybe-clean-stage4-intl: clean-stage4-intl
13833 clean-stage4: clean-stage4-intl
13834 clean-stage4-intl:
13835 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
13836 || exit 0 ; \
13837 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \
13838 cd $(HOST_SUBDIR)/intl && \
13839 $(MAKE) $(FLAGS_TO_PASS) \
13840 $(POSTSTAGE1_FLAGS_TO_PASS) \
13841 clean
13842 @endif intl-bootstrap
13845 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
13846 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
13847 maybe-all-stageprofile-intl:
13848 maybe-clean-stageprofile-intl:
13849 @if intl-bootstrap
13850 maybe-all-stageprofile-intl: all-stageprofile-intl
13851 all-stageprofile: all-stageprofile-intl
13852 all-stageprofile-intl: configure-stageprofile-intl
13853 @$(MAKE) stageprofile-start
13854 @r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(HOST_EXPORTS) \
13857 $(POSTSTAGE1_HOST_EXPORTS) \
13858 cd $(HOST_SUBDIR)/intl && \
13859 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
13861 maybe-clean-stageprofile-intl: clean-stageprofile-intl
13862 clean-stageprofile: clean-stageprofile-intl
13863 clean-stageprofile-intl:
13864 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
13865 || exit 0 ; \
13866 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \
13867 cd $(HOST_SUBDIR)/intl && \
13868 $(MAKE) $(FLAGS_TO_PASS) \
13869 $(POSTSTAGE1_FLAGS_TO_PASS) \
13870 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
13871 @endif intl-bootstrap
13874 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
13875 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
13876 maybe-all-stagefeedback-intl:
13877 maybe-clean-stagefeedback-intl:
13878 @if intl-bootstrap
13879 maybe-all-stagefeedback-intl: all-stagefeedback-intl
13880 all-stagefeedback: all-stagefeedback-intl
13881 all-stagefeedback-intl: configure-stagefeedback-intl
13882 @$(MAKE) stagefeedback-start
13883 @r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 $(HOST_EXPORTS) \
13886 $(POSTSTAGE1_HOST_EXPORTS) \
13887 cd $(HOST_SUBDIR)/intl && \
13888 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
13890 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
13891 clean-stagefeedback: clean-stagefeedback-intl
13892 clean-stagefeedback-intl:
13893 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
13894 || exit 0 ; \
13895 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \
13896 cd $(HOST_SUBDIR)/intl && \
13897 $(MAKE) $(FLAGS_TO_PASS) \
13898 $(POSTSTAGE1_FLAGS_TO_PASS) \
13899 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
13900 @endif intl-bootstrap
13906 .PHONY: check-intl maybe-check-intl
13907 maybe-check-intl:
13908 @if intl
13909 maybe-check-intl: check-intl
13911 check-intl:
13912 @r=`${PWD_COMMAND}`; export r; \
13913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 $(HOST_EXPORTS) \
13915 (cd $(HOST_SUBDIR)/intl && \
13916 $(MAKE) $(FLAGS_TO_PASS) check)
13918 @endif intl
13920 .PHONY: install-intl maybe-install-intl
13921 maybe-install-intl:
13922 @if intl
13923 maybe-install-intl: install-intl
13925 install-intl: installdirs
13926 @r=`${PWD_COMMAND}`; export r; \
13927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13928 $(HOST_EXPORTS) \
13929 (cd $(HOST_SUBDIR)/intl && \
13930 $(MAKE) $(FLAGS_TO_PASS) install)
13932 @endif intl
13934 # Other targets (info, dvi, etc.)
13936 .PHONY: maybe-info-intl info-intl
13937 maybe-info-intl:
13938 @if intl
13939 maybe-info-intl: info-intl
13941 info-intl: \
13942 configure-intl
13943 @[ -f ./intl/Makefile ] || exit 0; \
13944 r=`${PWD_COMMAND}`; export r; \
13945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13946 $(HOST_EXPORTS) \
13947 for flag in $(EXTRA_HOST_FLAGS) ; do \
13948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13949 done; \
13950 echo "Doing info in intl" ; \
13951 (cd $(HOST_SUBDIR)/intl && \
13952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13954 "RANLIB=$${RANLIB}" \
13955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13956 info) \
13957 || exit 1
13959 @endif intl
13961 .PHONY: maybe-dvi-intl dvi-intl
13962 maybe-dvi-intl:
13963 @if intl
13964 maybe-dvi-intl: dvi-intl
13966 dvi-intl: \
13967 configure-intl
13968 @[ -f ./intl/Makefile ] || exit 0; \
13969 r=`${PWD_COMMAND}`; export r; \
13970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13971 $(HOST_EXPORTS) \
13972 for flag in $(EXTRA_HOST_FLAGS) ; do \
13973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13974 done; \
13975 echo "Doing dvi in intl" ; \
13976 (cd $(HOST_SUBDIR)/intl && \
13977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13979 "RANLIB=$${RANLIB}" \
13980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13981 dvi) \
13982 || exit 1
13984 @endif intl
13986 .PHONY: maybe-html-intl html-intl
13987 maybe-html-intl:
13988 @if intl
13989 maybe-html-intl: html-intl
13991 html-intl: \
13992 configure-intl
13993 @[ -f ./intl/Makefile ] || exit 0; \
13994 r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13996 $(HOST_EXPORTS) \
13997 for flag in $(EXTRA_HOST_FLAGS) ; do \
13998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13999 done; \
14000 echo "Doing html in intl" ; \
14001 (cd $(HOST_SUBDIR)/intl && \
14002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14004 "RANLIB=$${RANLIB}" \
14005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14006 html) \
14007 || exit 1
14009 @endif intl
14011 .PHONY: maybe-TAGS-intl TAGS-intl
14012 maybe-TAGS-intl:
14013 @if intl
14014 maybe-TAGS-intl: TAGS-intl
14016 TAGS-intl: \
14017 configure-intl
14018 @[ -f ./intl/Makefile ] || exit 0; \
14019 r=`${PWD_COMMAND}`; export r; \
14020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14021 $(HOST_EXPORTS) \
14022 for flag in $(EXTRA_HOST_FLAGS) ; do \
14023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14024 done; \
14025 echo "Doing TAGS in intl" ; \
14026 (cd $(HOST_SUBDIR)/intl && \
14027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14029 "RANLIB=$${RANLIB}" \
14030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14031 TAGS) \
14032 || exit 1
14034 @endif intl
14036 .PHONY: maybe-install-info-intl install-info-intl
14037 maybe-install-info-intl:
14038 @if intl
14039 maybe-install-info-intl: install-info-intl
14041 install-info-intl: \
14042 configure-intl \
14043 info-intl
14044 @[ -f ./intl/Makefile ] || exit 0; \
14045 r=`${PWD_COMMAND}`; export r; \
14046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14047 $(HOST_EXPORTS) \
14048 for flag in $(EXTRA_HOST_FLAGS) ; do \
14049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14050 done; \
14051 echo "Doing install-info in intl" ; \
14052 (cd $(HOST_SUBDIR)/intl && \
14053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14055 "RANLIB=$${RANLIB}" \
14056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14057 install-info) \
14058 || exit 1
14060 @endif intl
14062 .PHONY: maybe-installcheck-intl installcheck-intl
14063 maybe-installcheck-intl:
14064 @if intl
14065 maybe-installcheck-intl: installcheck-intl
14067 installcheck-intl: \
14068 configure-intl
14069 @[ -f ./intl/Makefile ] || exit 0; \
14070 r=`${PWD_COMMAND}`; export r; \
14071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14072 $(HOST_EXPORTS) \
14073 for flag in $(EXTRA_HOST_FLAGS) ; do \
14074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14075 done; \
14076 echo "Doing installcheck in intl" ; \
14077 (cd $(HOST_SUBDIR)/intl && \
14078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14080 "RANLIB=$${RANLIB}" \
14081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14082 installcheck) \
14083 || exit 1
14085 @endif intl
14087 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14088 maybe-mostlyclean-intl:
14089 @if intl
14090 maybe-mostlyclean-intl: mostlyclean-intl
14092 mostlyclean-intl:
14093 @[ -f ./intl/Makefile ] || exit 0; \
14094 r=`${PWD_COMMAND}`; export r; \
14095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14096 $(HOST_EXPORTS) \
14097 for flag in $(EXTRA_HOST_FLAGS) ; do \
14098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14099 done; \
14100 echo "Doing mostlyclean in intl" ; \
14101 (cd $(HOST_SUBDIR)/intl && \
14102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14104 "RANLIB=$${RANLIB}" \
14105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14106 mostlyclean) \
14107 || exit 1
14109 @endif intl
14111 .PHONY: maybe-clean-intl clean-intl
14112 maybe-clean-intl:
14113 @if intl
14114 maybe-clean-intl: clean-intl
14116 clean-intl:
14117 @[ -f ./intl/Makefile ] || exit 0; \
14118 r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 $(HOST_EXPORTS) \
14121 for flag in $(EXTRA_HOST_FLAGS) ; do \
14122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14123 done; \
14124 echo "Doing clean in intl" ; \
14125 (cd $(HOST_SUBDIR)/intl && \
14126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14128 "RANLIB=$${RANLIB}" \
14129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14130 clean) \
14131 || exit 1
14133 @endif intl
14135 .PHONY: maybe-distclean-intl distclean-intl
14136 maybe-distclean-intl:
14137 @if intl
14138 maybe-distclean-intl: distclean-intl
14140 distclean-intl:
14141 @[ -f ./intl/Makefile ] || exit 0; \
14142 r=`${PWD_COMMAND}`; export r; \
14143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14144 $(HOST_EXPORTS) \
14145 for flag in $(EXTRA_HOST_FLAGS) ; do \
14146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14147 done; \
14148 echo "Doing distclean in intl" ; \
14149 (cd $(HOST_SUBDIR)/intl && \
14150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14152 "RANLIB=$${RANLIB}" \
14153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14154 distclean) \
14155 || exit 1
14157 @endif intl
14159 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14160 maybe-maintainer-clean-intl:
14161 @if intl
14162 maybe-maintainer-clean-intl: maintainer-clean-intl
14164 maintainer-clean-intl:
14165 @[ -f ./intl/Makefile ] || exit 0; \
14166 r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14168 $(HOST_EXPORTS) \
14169 for flag in $(EXTRA_HOST_FLAGS) ; do \
14170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14171 done; \
14172 echo "Doing maintainer-clean in intl" ; \
14173 (cd $(HOST_SUBDIR)/intl && \
14174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14176 "RANLIB=$${RANLIB}" \
14177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14178 maintainer-clean) \
14179 || exit 1
14181 @endif intl
14185 .PHONY: configure-tcl maybe-configure-tcl
14186 maybe-configure-tcl:
14187 @if tcl
14188 maybe-configure-tcl: configure-tcl
14189 configure-tcl:
14190 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14191 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14192 r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14194 $(HOST_EXPORTS) \
14195 echo Configuring in $(HOST_SUBDIR)/tcl; \
14196 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14197 case $(srcdir) in \
14198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14199 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14201 esac; \
14202 srcdiroption="--srcdir=$${topdir}/tcl"; \
14203 libsrcdir="$$s/tcl"; \
14204 $(SHELL) $${libsrcdir}/configure \
14205 $(HOST_CONFIGARGS) $${srcdiroption} \
14206 || exit 1
14207 @endif tcl
14213 .PHONY: all-tcl maybe-all-tcl
14214 maybe-all-tcl:
14215 @if tcl
14216 TARGET-tcl=all
14217 maybe-all-tcl: all-tcl
14218 all-tcl: configure-tcl
14219 @r=`${PWD_COMMAND}`; export r; \
14220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14221 $(HOST_EXPORTS) \
14222 (cd $(HOST_SUBDIR)/tcl && \
14223 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14224 @endif tcl
14229 .PHONY: check-tcl maybe-check-tcl
14230 maybe-check-tcl:
14231 @if tcl
14232 maybe-check-tcl: check-tcl
14234 check-tcl:
14235 @r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14237 $(HOST_EXPORTS) \
14238 (cd $(HOST_SUBDIR)/tcl && \
14239 $(MAKE) $(FLAGS_TO_PASS) check)
14241 @endif tcl
14243 .PHONY: install-tcl maybe-install-tcl
14244 maybe-install-tcl:
14245 @if tcl
14246 maybe-install-tcl: install-tcl
14248 install-tcl: installdirs
14249 @r=`${PWD_COMMAND}`; export r; \
14250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14251 $(HOST_EXPORTS) \
14252 (cd $(HOST_SUBDIR)/tcl && \
14253 $(MAKE) $(FLAGS_TO_PASS) install)
14255 @endif tcl
14257 # Other targets (info, dvi, etc.)
14259 .PHONY: maybe-info-tcl info-tcl
14260 maybe-info-tcl:
14261 @if tcl
14262 maybe-info-tcl: info-tcl
14264 info-tcl: \
14265 configure-tcl
14266 @[ -f ./tcl/Makefile ] || exit 0; \
14267 r=`${PWD_COMMAND}`; export r; \
14268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14269 $(HOST_EXPORTS) \
14270 for flag in $(EXTRA_HOST_FLAGS) ; do \
14271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14272 done; \
14273 echo "Doing info in tcl" ; \
14274 (cd $(HOST_SUBDIR)/tcl && \
14275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14277 "RANLIB=$${RANLIB}" \
14278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14279 info) \
14280 || exit 1
14282 @endif tcl
14284 .PHONY: maybe-dvi-tcl dvi-tcl
14285 maybe-dvi-tcl:
14286 @if tcl
14287 maybe-dvi-tcl: dvi-tcl
14289 dvi-tcl: \
14290 configure-tcl
14291 @[ -f ./tcl/Makefile ] || exit 0; \
14292 r=`${PWD_COMMAND}`; export r; \
14293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14294 $(HOST_EXPORTS) \
14295 for flag in $(EXTRA_HOST_FLAGS) ; do \
14296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14297 done; \
14298 echo "Doing dvi in tcl" ; \
14299 (cd $(HOST_SUBDIR)/tcl && \
14300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14302 "RANLIB=$${RANLIB}" \
14303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14304 dvi) \
14305 || exit 1
14307 @endif tcl
14309 .PHONY: maybe-html-tcl html-tcl
14310 maybe-html-tcl:
14311 @if tcl
14312 maybe-html-tcl: html-tcl
14314 html-tcl: \
14315 configure-tcl
14316 @[ -f ./tcl/Makefile ] || exit 0; \
14317 r=`${PWD_COMMAND}`; export r; \
14318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 $(HOST_EXPORTS) \
14320 for flag in $(EXTRA_HOST_FLAGS) ; do \
14321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14322 done; \
14323 echo "Doing html in tcl" ; \
14324 (cd $(HOST_SUBDIR)/tcl && \
14325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14327 "RANLIB=$${RANLIB}" \
14328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14329 html) \
14330 || exit 1
14332 @endif tcl
14334 .PHONY: maybe-TAGS-tcl TAGS-tcl
14335 maybe-TAGS-tcl:
14336 @if tcl
14337 maybe-TAGS-tcl: TAGS-tcl
14339 TAGS-tcl: \
14340 configure-tcl
14341 @[ -f ./tcl/Makefile ] || exit 0; \
14342 r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 $(HOST_EXPORTS) \
14345 for flag in $(EXTRA_HOST_FLAGS) ; do \
14346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 done; \
14348 echo "Doing TAGS in tcl" ; \
14349 (cd $(HOST_SUBDIR)/tcl && \
14350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14352 "RANLIB=$${RANLIB}" \
14353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14354 TAGS) \
14355 || exit 1
14357 @endif tcl
14359 .PHONY: maybe-install-info-tcl install-info-tcl
14360 maybe-install-info-tcl:
14361 @if tcl
14362 maybe-install-info-tcl: install-info-tcl
14364 install-info-tcl: \
14365 configure-tcl \
14366 info-tcl
14367 @[ -f ./tcl/Makefile ] || exit 0; \
14368 r=`${PWD_COMMAND}`; export r; \
14369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14370 $(HOST_EXPORTS) \
14371 for flag in $(EXTRA_HOST_FLAGS) ; do \
14372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14373 done; \
14374 echo "Doing install-info in tcl" ; \
14375 (cd $(HOST_SUBDIR)/tcl && \
14376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14378 "RANLIB=$${RANLIB}" \
14379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14380 install-info) \
14381 || exit 1
14383 @endif tcl
14385 .PHONY: maybe-installcheck-tcl installcheck-tcl
14386 maybe-installcheck-tcl:
14387 @if tcl
14388 maybe-installcheck-tcl: installcheck-tcl
14390 installcheck-tcl: \
14391 configure-tcl
14392 @[ -f ./tcl/Makefile ] || exit 0; \
14393 r=`${PWD_COMMAND}`; export r; \
14394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14395 $(HOST_EXPORTS) \
14396 for flag in $(EXTRA_HOST_FLAGS) ; do \
14397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14398 done; \
14399 echo "Doing installcheck in tcl" ; \
14400 (cd $(HOST_SUBDIR)/tcl && \
14401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14403 "RANLIB=$${RANLIB}" \
14404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14405 installcheck) \
14406 || exit 1
14408 @endif tcl
14410 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14411 maybe-mostlyclean-tcl:
14412 @if tcl
14413 maybe-mostlyclean-tcl: mostlyclean-tcl
14415 # tcl doesn't support mostlyclean.
14416 mostlyclean-tcl:
14418 @endif tcl
14420 .PHONY: maybe-clean-tcl clean-tcl
14421 maybe-clean-tcl:
14422 @if tcl
14423 maybe-clean-tcl: clean-tcl
14425 clean-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 clean 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 clean) \
14440 || exit 1
14442 @endif tcl
14444 .PHONY: maybe-distclean-tcl distclean-tcl
14445 maybe-distclean-tcl:
14446 @if tcl
14447 maybe-distclean-tcl: distclean-tcl
14449 distclean-tcl:
14450 @[ -f ./tcl/Makefile ] || exit 0; \
14451 r=`${PWD_COMMAND}`; export r; \
14452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453 $(HOST_EXPORTS) \
14454 for flag in $(EXTRA_HOST_FLAGS) ; do \
14455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14456 done; \
14457 echo "Doing distclean in tcl" ; \
14458 (cd $(HOST_SUBDIR)/tcl && \
14459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14461 "RANLIB=$${RANLIB}" \
14462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14463 distclean) \
14464 || exit 1
14466 @endif tcl
14468 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14469 maybe-maintainer-clean-tcl:
14470 @if tcl
14471 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14473 maintainer-clean-tcl:
14474 @[ -f ./tcl/Makefile ] || exit 0; \
14475 r=`${PWD_COMMAND}`; export r; \
14476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477 $(HOST_EXPORTS) \
14478 for flag in $(EXTRA_HOST_FLAGS) ; do \
14479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14480 done; \
14481 echo "Doing maintainer-clean in tcl" ; \
14482 (cd $(HOST_SUBDIR)/tcl && \
14483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14485 "RANLIB=$${RANLIB}" \
14486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14487 maintainer-clean) \
14488 || exit 1
14490 @endif tcl
14494 .PHONY: configure-itcl maybe-configure-itcl
14495 maybe-configure-itcl:
14496 @if itcl
14497 maybe-configure-itcl: configure-itcl
14498 configure-itcl:
14499 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 $(HOST_EXPORTS) \
14504 echo Configuring in $(HOST_SUBDIR)/itcl; \
14505 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14506 case $(srcdir) in \
14507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14508 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14510 esac; \
14511 srcdiroption="--srcdir=$${topdir}/itcl"; \
14512 libsrcdir="$$s/itcl"; \
14513 $(SHELL) $${libsrcdir}/configure \
14514 $(HOST_CONFIGARGS) $${srcdiroption} \
14515 || exit 1
14516 @endif itcl
14522 .PHONY: all-itcl maybe-all-itcl
14523 maybe-all-itcl:
14524 @if itcl
14525 TARGET-itcl=all
14526 maybe-all-itcl: all-itcl
14527 all-itcl: configure-itcl
14528 @r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 $(HOST_EXPORTS) \
14531 (cd $(HOST_SUBDIR)/itcl && \
14532 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14533 @endif itcl
14538 .PHONY: check-itcl maybe-check-itcl
14539 maybe-check-itcl:
14540 @if itcl
14541 maybe-check-itcl: check-itcl
14543 check-itcl:
14544 @r=`${PWD_COMMAND}`; export r; \
14545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14546 $(HOST_EXPORTS) \
14547 (cd $(HOST_SUBDIR)/itcl && \
14548 $(MAKE) $(FLAGS_TO_PASS) check)
14550 @endif itcl
14552 .PHONY: install-itcl maybe-install-itcl
14553 maybe-install-itcl:
14554 @if itcl
14555 maybe-install-itcl: install-itcl
14557 install-itcl: installdirs
14558 @r=`${PWD_COMMAND}`; export r; \
14559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14560 $(HOST_EXPORTS) \
14561 (cd $(HOST_SUBDIR)/itcl && \
14562 $(MAKE) $(FLAGS_TO_PASS) install)
14564 @endif itcl
14566 # Other targets (info, dvi, etc.)
14568 .PHONY: maybe-info-itcl info-itcl
14569 maybe-info-itcl:
14570 @if itcl
14571 maybe-info-itcl: info-itcl
14573 info-itcl: \
14574 configure-itcl
14575 @[ -f ./itcl/Makefile ] || exit 0; \
14576 r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 $(HOST_EXPORTS) \
14579 for flag in $(EXTRA_HOST_FLAGS) ; do \
14580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14581 done; \
14582 echo "Doing info in itcl" ; \
14583 (cd $(HOST_SUBDIR)/itcl && \
14584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14586 "RANLIB=$${RANLIB}" \
14587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14588 info) \
14589 || exit 1
14591 @endif itcl
14593 .PHONY: maybe-dvi-itcl dvi-itcl
14594 maybe-dvi-itcl:
14595 @if itcl
14596 maybe-dvi-itcl: dvi-itcl
14598 dvi-itcl: \
14599 configure-itcl
14600 @[ -f ./itcl/Makefile ] || exit 0; \
14601 r=`${PWD_COMMAND}`; export r; \
14602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14603 $(HOST_EXPORTS) \
14604 for flag in $(EXTRA_HOST_FLAGS) ; do \
14605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14606 done; \
14607 echo "Doing dvi in itcl" ; \
14608 (cd $(HOST_SUBDIR)/itcl && \
14609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14611 "RANLIB=$${RANLIB}" \
14612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14613 dvi) \
14614 || exit 1
14616 @endif itcl
14618 .PHONY: maybe-html-itcl html-itcl
14619 maybe-html-itcl:
14620 @if itcl
14621 maybe-html-itcl: html-itcl
14623 html-itcl: \
14624 configure-itcl
14625 @[ -f ./itcl/Makefile ] || exit 0; \
14626 r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 $(HOST_EXPORTS) \
14629 for flag in $(EXTRA_HOST_FLAGS) ; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 done; \
14632 echo "Doing html in itcl" ; \
14633 (cd $(HOST_SUBDIR)/itcl && \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14638 html) \
14639 || exit 1
14641 @endif itcl
14643 .PHONY: maybe-TAGS-itcl TAGS-itcl
14644 maybe-TAGS-itcl:
14645 @if itcl
14646 maybe-TAGS-itcl: TAGS-itcl
14648 TAGS-itcl: \
14649 configure-itcl
14650 @[ -f ./itcl/Makefile ] || exit 0; \
14651 r=`${PWD_COMMAND}`; export r; \
14652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 $(HOST_EXPORTS) \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 done; \
14657 echo "Doing TAGS in itcl" ; \
14658 (cd $(HOST_SUBDIR)/itcl && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 TAGS) \
14664 || exit 1
14666 @endif itcl
14668 .PHONY: maybe-install-info-itcl install-info-itcl
14669 maybe-install-info-itcl:
14670 @if itcl
14671 maybe-install-info-itcl: install-info-itcl
14673 install-info-itcl: \
14674 configure-itcl \
14675 info-itcl
14676 @[ -f ./itcl/Makefile ] || exit 0; \
14677 r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 $(HOST_EXPORTS) \
14680 for flag in $(EXTRA_HOST_FLAGS) ; do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing install-info in itcl" ; \
14684 (cd $(HOST_SUBDIR)/itcl && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 install-info) \
14690 || exit 1
14692 @endif itcl
14694 .PHONY: maybe-installcheck-itcl installcheck-itcl
14695 maybe-installcheck-itcl:
14696 @if itcl
14697 maybe-installcheck-itcl: installcheck-itcl
14699 installcheck-itcl: \
14700 configure-itcl
14701 @[ -f ./itcl/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(HOST_EXPORTS) \
14705 for flag in $(EXTRA_HOST_FLAGS) ; do \
14706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14707 done; \
14708 echo "Doing installcheck in itcl" ; \
14709 (cd $(HOST_SUBDIR)/itcl && \
14710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14712 "RANLIB=$${RANLIB}" \
14713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14714 installcheck) \
14715 || exit 1
14717 @endif itcl
14719 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
14720 maybe-mostlyclean-itcl:
14721 @if itcl
14722 maybe-mostlyclean-itcl: mostlyclean-itcl
14724 mostlyclean-itcl:
14725 @[ -f ./itcl/Makefile ] || exit 0; \
14726 r=`${PWD_COMMAND}`; export r; \
14727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14728 $(HOST_EXPORTS) \
14729 for flag in $(EXTRA_HOST_FLAGS) ; do \
14730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14731 done; \
14732 echo "Doing mostlyclean in itcl" ; \
14733 (cd $(HOST_SUBDIR)/itcl && \
14734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14736 "RANLIB=$${RANLIB}" \
14737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14738 mostlyclean) \
14739 || exit 1
14741 @endif itcl
14743 .PHONY: maybe-clean-itcl clean-itcl
14744 maybe-clean-itcl:
14745 @if itcl
14746 maybe-clean-itcl: clean-itcl
14748 clean-itcl:
14749 @[ -f ./itcl/Makefile ] || exit 0; \
14750 r=`${PWD_COMMAND}`; export r; \
14751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14752 $(HOST_EXPORTS) \
14753 for flag in $(EXTRA_HOST_FLAGS) ; do \
14754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14755 done; \
14756 echo "Doing clean in itcl" ; \
14757 (cd $(HOST_SUBDIR)/itcl && \
14758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14760 "RANLIB=$${RANLIB}" \
14761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14762 clean) \
14763 || exit 1
14765 @endif itcl
14767 .PHONY: maybe-distclean-itcl distclean-itcl
14768 maybe-distclean-itcl:
14769 @if itcl
14770 maybe-distclean-itcl: distclean-itcl
14772 distclean-itcl:
14773 @[ -f ./itcl/Makefile ] || exit 0; \
14774 r=`${PWD_COMMAND}`; export r; \
14775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14776 $(HOST_EXPORTS) \
14777 for flag in $(EXTRA_HOST_FLAGS) ; do \
14778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14779 done; \
14780 echo "Doing distclean in itcl" ; \
14781 (cd $(HOST_SUBDIR)/itcl && \
14782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14784 "RANLIB=$${RANLIB}" \
14785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14786 distclean) \
14787 || exit 1
14789 @endif itcl
14791 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
14792 maybe-maintainer-clean-itcl:
14793 @if itcl
14794 maybe-maintainer-clean-itcl: maintainer-clean-itcl
14796 maintainer-clean-itcl:
14797 @[ -f ./itcl/Makefile ] || exit 0; \
14798 r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(HOST_EXPORTS) \
14801 for flag in $(EXTRA_HOST_FLAGS) ; do \
14802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14803 done; \
14804 echo "Doing maintainer-clean in itcl" ; \
14805 (cd $(HOST_SUBDIR)/itcl && \
14806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14808 "RANLIB=$${RANLIB}" \
14809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14810 maintainer-clean) \
14811 || exit 1
14813 @endif itcl
14817 .PHONY: configure-ld maybe-configure-ld
14818 maybe-configure-ld:
14819 @if ld
14820 maybe-configure-ld: configure-ld
14821 configure-ld:
14822 @test -f stage_last && exit 0; \
14823 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
14824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
14825 r=`${PWD_COMMAND}`; export r; \
14826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14827 $(HOST_EXPORTS) \
14828 echo Configuring in $(HOST_SUBDIR)/ld; \
14829 cd "$(HOST_SUBDIR)/ld" || exit 1; \
14830 case $(srcdir) in \
14831 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14832 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14833 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14834 esac; \
14835 srcdiroption="--srcdir=$${topdir}/ld"; \
14836 libsrcdir="$$s/ld"; \
14837 $(SHELL) $${libsrcdir}/configure \
14838 $(HOST_CONFIGARGS) $${srcdiroption} \
14839 || exit 1
14840 @endif ld
14844 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
14845 maybe-configure-stage1-ld:
14846 @if ld-bootstrap
14847 maybe-configure-stage1-ld: configure-stage1-ld
14848 configure-stage1-ld:
14849 @$(MAKE) stage1-start
14850 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14851 r=`${PWD_COMMAND}`; export r; \
14852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 $(HOST_EXPORTS) \
14854 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
14855 cd $(HOST_SUBDIR)/ld || exit 1; \
14856 case $(srcdir) in \
14857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14858 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14860 esac; \
14861 srcdiroption="--srcdir=$${topdir}/ld"; \
14862 libsrcdir="$$s/ld"; \
14863 $(SHELL) $${libsrcdir}/configure \
14864 $(HOST_CONFIGARGS) $${srcdiroption} \
14865 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14866 @endif ld-bootstrap
14868 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
14869 maybe-configure-stage2-ld:
14870 @if ld-bootstrap
14871 maybe-configure-stage2-ld: configure-stage2-ld
14872 configure-stage2-ld:
14873 @$(MAKE) stage2-start
14874 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14875 r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 $(HOST_EXPORTS) \
14878 $(POSTSTAGE1_HOST_EXPORTS) \
14879 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
14880 cd $(HOST_SUBDIR)/ld || exit 1; \
14881 case $(srcdir) in \
14882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14883 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14885 esac; \
14886 srcdiroption="--srcdir=$${topdir}/ld"; \
14887 libsrcdir="$$s/ld"; \
14888 $(SHELL) $${libsrcdir}/configure \
14889 $(HOST_CONFIGARGS) $${srcdiroption} \
14890 @stage2_werror_flag@
14891 @endif ld-bootstrap
14893 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
14894 maybe-configure-stage3-ld:
14895 @if ld-bootstrap
14896 maybe-configure-stage3-ld: configure-stage3-ld
14897 configure-stage3-ld:
14898 @$(MAKE) stage3-start
14899 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14900 r=`${PWD_COMMAND}`; export r; \
14901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14902 $(HOST_EXPORTS) \
14903 $(POSTSTAGE1_HOST_EXPORTS) \
14904 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
14905 cd $(HOST_SUBDIR)/ld || exit 1; \
14906 case $(srcdir) in \
14907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14908 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14910 esac; \
14911 srcdiroption="--srcdir=$${topdir}/ld"; \
14912 libsrcdir="$$s/ld"; \
14913 $(SHELL) $${libsrcdir}/configure \
14914 $(HOST_CONFIGARGS) $${srcdiroption} \
14915 @stage2_werror_flag@
14916 @endif ld-bootstrap
14918 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
14919 maybe-configure-stage4-ld:
14920 @if ld-bootstrap
14921 maybe-configure-stage4-ld: configure-stage4-ld
14922 configure-stage4-ld:
14923 @$(MAKE) stage4-start
14924 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14925 r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 $(HOST_EXPORTS) \
14928 $(POSTSTAGE1_HOST_EXPORTS) \
14929 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
14930 cd $(HOST_SUBDIR)/ld || exit 1; \
14931 case $(srcdir) in \
14932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14933 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14935 esac; \
14936 srcdiroption="--srcdir=$${topdir}/ld"; \
14937 libsrcdir="$$s/ld"; \
14938 $(SHELL) $${libsrcdir}/configure \
14939 $(HOST_CONFIGARGS) $${srcdiroption} \
14940 @stage2_werror_flag@
14941 @endif ld-bootstrap
14943 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
14944 maybe-configure-stageprofile-ld:
14945 @if ld-bootstrap
14946 maybe-configure-stageprofile-ld: configure-stageprofile-ld
14947 configure-stageprofile-ld:
14948 @$(MAKE) stageprofile-start
14949 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14950 r=`${PWD_COMMAND}`; export r; \
14951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952 $(HOST_EXPORTS) \
14953 $(POSTSTAGE1_HOST_EXPORTS) \
14954 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
14955 cd $(HOST_SUBDIR)/ld || exit 1; \
14956 case $(srcdir) in \
14957 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14958 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14959 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14960 esac; \
14961 srcdiroption="--srcdir=$${topdir}/ld"; \
14962 libsrcdir="$$s/ld"; \
14963 $(SHELL) $${libsrcdir}/configure \
14964 $(HOST_CONFIGARGS) $${srcdiroption} \
14965 @stage2_werror_flag@
14966 @endif ld-bootstrap
14968 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
14969 maybe-configure-stagefeedback-ld:
14970 @if ld-bootstrap
14971 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
14972 configure-stagefeedback-ld:
14973 @$(MAKE) stagefeedback-start
14974 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14975 r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 $(HOST_EXPORTS) \
14978 $(POSTSTAGE1_HOST_EXPORTS) \
14979 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
14980 cd $(HOST_SUBDIR)/ld || exit 1; \
14981 case $(srcdir) in \
14982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14983 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14985 esac; \
14986 srcdiroption="--srcdir=$${topdir}/ld"; \
14987 libsrcdir="$$s/ld"; \
14988 $(SHELL) $${libsrcdir}/configure \
14989 $(HOST_CONFIGARGS) $${srcdiroption} \
14990 @stage2_werror_flag@
14991 @endif ld-bootstrap
14997 .PHONY: all-ld maybe-all-ld
14998 maybe-all-ld:
14999 @if ld
15000 TARGET-ld=all
15001 maybe-all-ld: all-ld
15002 all-ld: configure-ld
15003 @test -f stage_last && exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(HOST_EXPORTS) \
15007 (cd $(HOST_SUBDIR)/ld && \
15008 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15009 @endif ld
15013 .PHONY: all-stage1-ld maybe-all-stage1-ld
15014 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15015 maybe-all-stage1-ld:
15016 maybe-clean-stage1-ld:
15017 @if ld-bootstrap
15018 maybe-all-stage1-ld: all-stage1-ld
15019 all-stage1: all-stage1-ld
15020 all-stage1-ld: configure-stage1-ld
15021 @$(MAKE) stage1-start
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 $(HOST_EXPORTS) \
15025 cd $(HOST_SUBDIR)/ld && \
15026 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15028 maybe-clean-stage1-ld: clean-stage1-ld
15029 clean-stage1: clean-stage1-ld
15030 clean-stage1-ld:
15031 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15032 || exit 0 ; \
15033 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \
15034 cd $(HOST_SUBDIR)/ld && \
15035 $(MAKE) $(FLAGS_TO_PASS) \
15036 CFLAGS="$(STAGE1_CFLAGS)" clean
15037 @endif ld-bootstrap
15040 .PHONY: all-stage2-ld maybe-all-stage2-ld
15041 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15042 maybe-all-stage2-ld:
15043 maybe-clean-stage2-ld:
15044 @if ld-bootstrap
15045 maybe-all-stage2-ld: all-stage2-ld
15046 all-stage2: all-stage2-ld
15047 all-stage2-ld: configure-stage2-ld
15048 @$(MAKE) stage2-start
15049 @r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 $(HOST_EXPORTS) \
15052 $(POSTSTAGE1_HOST_EXPORTS) \
15053 cd $(HOST_SUBDIR)/ld && \
15054 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15056 maybe-clean-stage2-ld: clean-stage2-ld
15057 clean-stage2: clean-stage2-ld
15058 clean-stage2-ld:
15059 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15060 || exit 0 ; \
15061 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \
15062 cd $(HOST_SUBDIR)/ld && \
15063 $(MAKE) $(FLAGS_TO_PASS) \
15064 $(POSTSTAGE1_FLAGS_TO_PASS) \
15065 clean
15066 @endif ld-bootstrap
15069 .PHONY: all-stage3-ld maybe-all-stage3-ld
15070 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15071 maybe-all-stage3-ld:
15072 maybe-clean-stage3-ld:
15073 @if ld-bootstrap
15074 maybe-all-stage3-ld: all-stage3-ld
15075 all-stage3: all-stage3-ld
15076 all-stage3-ld: configure-stage3-ld
15077 @$(MAKE) stage3-start
15078 @r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 $(HOST_EXPORTS) \
15081 $(POSTSTAGE1_HOST_EXPORTS) \
15082 cd $(HOST_SUBDIR)/ld && \
15083 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15085 maybe-clean-stage3-ld: clean-stage3-ld
15086 clean-stage3: clean-stage3-ld
15087 clean-stage3-ld:
15088 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15089 || exit 0 ; \
15090 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \
15091 cd $(HOST_SUBDIR)/ld && \
15092 $(MAKE) $(FLAGS_TO_PASS) \
15093 $(POSTSTAGE1_FLAGS_TO_PASS) \
15094 clean
15095 @endif ld-bootstrap
15098 .PHONY: all-stage4-ld maybe-all-stage4-ld
15099 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15100 maybe-all-stage4-ld:
15101 maybe-clean-stage4-ld:
15102 @if ld-bootstrap
15103 maybe-all-stage4-ld: all-stage4-ld
15104 all-stage4: all-stage4-ld
15105 all-stage4-ld: configure-stage4-ld
15106 @$(MAKE) stage4-start
15107 @r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109 $(HOST_EXPORTS) \
15110 $(POSTSTAGE1_HOST_EXPORTS) \
15111 cd $(HOST_SUBDIR)/ld && \
15112 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15114 maybe-clean-stage4-ld: clean-stage4-ld
15115 clean-stage4: clean-stage4-ld
15116 clean-stage4-ld:
15117 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15118 || exit 0 ; \
15119 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \
15120 cd $(HOST_SUBDIR)/ld && \
15121 $(MAKE) $(FLAGS_TO_PASS) \
15122 $(POSTSTAGE1_FLAGS_TO_PASS) \
15123 clean
15124 @endif ld-bootstrap
15127 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15128 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15129 maybe-all-stageprofile-ld:
15130 maybe-clean-stageprofile-ld:
15131 @if ld-bootstrap
15132 maybe-all-stageprofile-ld: all-stageprofile-ld
15133 all-stageprofile: all-stageprofile-ld
15134 all-stageprofile-ld: configure-stageprofile-ld
15135 @$(MAKE) stageprofile-start
15136 @r=`${PWD_COMMAND}`; export r; \
15137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15138 $(HOST_EXPORTS) \
15139 $(POSTSTAGE1_HOST_EXPORTS) \
15140 cd $(HOST_SUBDIR)/ld && \
15141 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15143 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15144 clean-stageprofile: clean-stageprofile-ld
15145 clean-stageprofile-ld:
15146 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15147 || exit 0 ; \
15148 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \
15149 cd $(HOST_SUBDIR)/ld && \
15150 $(MAKE) $(FLAGS_TO_PASS) \
15151 $(POSTSTAGE1_FLAGS_TO_PASS) \
15152 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15153 @endif ld-bootstrap
15156 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15157 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15158 maybe-all-stagefeedback-ld:
15159 maybe-clean-stagefeedback-ld:
15160 @if ld-bootstrap
15161 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15162 all-stagefeedback: all-stagefeedback-ld
15163 all-stagefeedback-ld: configure-stagefeedback-ld
15164 @$(MAKE) stagefeedback-start
15165 @r=`${PWD_COMMAND}`; export r; \
15166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15167 $(HOST_EXPORTS) \
15168 $(POSTSTAGE1_HOST_EXPORTS) \
15169 cd $(HOST_SUBDIR)/ld && \
15170 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15172 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15173 clean-stagefeedback: clean-stagefeedback-ld
15174 clean-stagefeedback-ld:
15175 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15176 || exit 0 ; \
15177 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \
15178 cd $(HOST_SUBDIR)/ld && \
15179 $(MAKE) $(FLAGS_TO_PASS) \
15180 $(POSTSTAGE1_FLAGS_TO_PASS) \
15181 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15182 @endif ld-bootstrap
15188 .PHONY: check-ld maybe-check-ld
15189 maybe-check-ld:
15190 @if ld
15191 maybe-check-ld: check-ld
15193 check-ld:
15194 @r=`${PWD_COMMAND}`; export r; \
15195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15196 $(HOST_EXPORTS) \
15197 (cd $(HOST_SUBDIR)/ld && \
15198 $(MAKE) $(FLAGS_TO_PASS) check)
15200 @endif ld
15202 .PHONY: install-ld maybe-install-ld
15203 maybe-install-ld:
15204 @if ld
15205 maybe-install-ld: install-ld
15207 install-ld: installdirs
15208 @r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 $(HOST_EXPORTS) \
15211 (cd $(HOST_SUBDIR)/ld && \
15212 $(MAKE) $(FLAGS_TO_PASS) install)
15214 @endif ld
15216 # Other targets (info, dvi, etc.)
15218 .PHONY: maybe-info-ld info-ld
15219 maybe-info-ld:
15220 @if ld
15221 maybe-info-ld: info-ld
15223 info-ld: \
15224 configure-ld
15225 @[ -f ./ld/Makefile ] || exit 0; \
15226 r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 $(HOST_EXPORTS) \
15229 for flag in $(EXTRA_HOST_FLAGS) ; do \
15230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15231 done; \
15232 echo "Doing info in ld" ; \
15233 (cd $(HOST_SUBDIR)/ld && \
15234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15236 "RANLIB=$${RANLIB}" \
15237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15238 info) \
15239 || exit 1
15241 @endif ld
15243 .PHONY: maybe-dvi-ld dvi-ld
15244 maybe-dvi-ld:
15245 @if ld
15246 maybe-dvi-ld: dvi-ld
15248 dvi-ld: \
15249 configure-ld
15250 @[ -f ./ld/Makefile ] || exit 0; \
15251 r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 $(HOST_EXPORTS) \
15254 for flag in $(EXTRA_HOST_FLAGS) ; do \
15255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15256 done; \
15257 echo "Doing dvi in ld" ; \
15258 (cd $(HOST_SUBDIR)/ld && \
15259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15261 "RANLIB=$${RANLIB}" \
15262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15263 dvi) \
15264 || exit 1
15266 @endif ld
15268 .PHONY: maybe-html-ld html-ld
15269 maybe-html-ld:
15270 @if ld
15271 maybe-html-ld: html-ld
15273 html-ld: \
15274 configure-ld
15275 @[ -f ./ld/Makefile ] || exit 0; \
15276 r=`${PWD_COMMAND}`; export r; \
15277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15278 $(HOST_EXPORTS) \
15279 for flag in $(EXTRA_HOST_FLAGS) ; do \
15280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15281 done; \
15282 echo "Doing html in ld" ; \
15283 (cd $(HOST_SUBDIR)/ld && \
15284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15286 "RANLIB=$${RANLIB}" \
15287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15288 html) \
15289 || exit 1
15291 @endif ld
15293 .PHONY: maybe-TAGS-ld TAGS-ld
15294 maybe-TAGS-ld:
15295 @if ld
15296 maybe-TAGS-ld: TAGS-ld
15298 TAGS-ld: \
15299 configure-ld
15300 @[ -f ./ld/Makefile ] || exit 0; \
15301 r=`${PWD_COMMAND}`; export r; \
15302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15303 $(HOST_EXPORTS) \
15304 for flag in $(EXTRA_HOST_FLAGS) ; do \
15305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15306 done; \
15307 echo "Doing TAGS in ld" ; \
15308 (cd $(HOST_SUBDIR)/ld && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15313 TAGS) \
15314 || exit 1
15316 @endif ld
15318 .PHONY: maybe-install-info-ld install-info-ld
15319 maybe-install-info-ld:
15320 @if ld
15321 maybe-install-info-ld: install-info-ld
15323 install-info-ld: \
15324 configure-ld \
15325 info-ld
15326 @[ -f ./ld/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15329 $(HOST_EXPORTS) \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15332 done; \
15333 echo "Doing install-info in ld" ; \
15334 (cd $(HOST_SUBDIR)/ld && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15339 install-info) \
15340 || exit 1
15342 @endif ld
15344 .PHONY: maybe-installcheck-ld installcheck-ld
15345 maybe-installcheck-ld:
15346 @if ld
15347 maybe-installcheck-ld: installcheck-ld
15349 installcheck-ld: \
15350 configure-ld
15351 @[ -f ./ld/Makefile ] || exit 0; \
15352 r=`${PWD_COMMAND}`; export r; \
15353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 $(HOST_EXPORTS) \
15355 for flag in $(EXTRA_HOST_FLAGS) ; do \
15356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15357 done; \
15358 echo "Doing installcheck in ld" ; \
15359 (cd $(HOST_SUBDIR)/ld && \
15360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15362 "RANLIB=$${RANLIB}" \
15363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15364 installcheck) \
15365 || exit 1
15367 @endif ld
15369 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15370 maybe-mostlyclean-ld:
15371 @if ld
15372 maybe-mostlyclean-ld: mostlyclean-ld
15374 mostlyclean-ld:
15375 @[ -f ./ld/Makefile ] || exit 0; \
15376 r=`${PWD_COMMAND}`; export r; \
15377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15378 $(HOST_EXPORTS) \
15379 for flag in $(EXTRA_HOST_FLAGS) ; do \
15380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15381 done; \
15382 echo "Doing mostlyclean in ld" ; \
15383 (cd $(HOST_SUBDIR)/ld && \
15384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15386 "RANLIB=$${RANLIB}" \
15387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15388 mostlyclean) \
15389 || exit 1
15391 @endif ld
15393 .PHONY: maybe-clean-ld clean-ld
15394 maybe-clean-ld:
15395 @if ld
15396 maybe-clean-ld: clean-ld
15398 clean-ld:
15399 @[ -f ./ld/Makefile ] || exit 0; \
15400 r=`${PWD_COMMAND}`; export r; \
15401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15402 $(HOST_EXPORTS) \
15403 for flag in $(EXTRA_HOST_FLAGS) ; do \
15404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15405 done; \
15406 echo "Doing clean in ld" ; \
15407 (cd $(HOST_SUBDIR)/ld && \
15408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15410 "RANLIB=$${RANLIB}" \
15411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15412 clean) \
15413 || exit 1
15415 @endif ld
15417 .PHONY: maybe-distclean-ld distclean-ld
15418 maybe-distclean-ld:
15419 @if ld
15420 maybe-distclean-ld: distclean-ld
15422 distclean-ld:
15423 @[ -f ./ld/Makefile ] || exit 0; \
15424 r=`${PWD_COMMAND}`; export r; \
15425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426 $(HOST_EXPORTS) \
15427 for flag in $(EXTRA_HOST_FLAGS) ; do \
15428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15429 done; \
15430 echo "Doing distclean in ld" ; \
15431 (cd $(HOST_SUBDIR)/ld && \
15432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15434 "RANLIB=$${RANLIB}" \
15435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15436 distclean) \
15437 || exit 1
15439 @endif ld
15441 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15442 maybe-maintainer-clean-ld:
15443 @if ld
15444 maybe-maintainer-clean-ld: maintainer-clean-ld
15446 maintainer-clean-ld:
15447 @[ -f ./ld/Makefile ] || exit 0; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 for flag in $(EXTRA_HOST_FLAGS) ; do \
15452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15453 done; \
15454 echo "Doing maintainer-clean in ld" ; \
15455 (cd $(HOST_SUBDIR)/ld && \
15456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15458 "RANLIB=$${RANLIB}" \
15459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15460 maintainer-clean) \
15461 || exit 1
15463 @endif ld
15467 .PHONY: configure-libcpp maybe-configure-libcpp
15468 maybe-configure-libcpp:
15469 @if libcpp
15470 maybe-configure-libcpp: configure-libcpp
15471 configure-libcpp:
15472 @test -f stage_last && exit 0; \
15473 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15475 r=`${PWD_COMMAND}`; export r; \
15476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15477 $(HOST_EXPORTS) \
15478 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15479 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15480 case $(srcdir) in \
15481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15482 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15484 esac; \
15485 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15486 libsrcdir="$$s/libcpp"; \
15487 $(SHELL) $${libsrcdir}/configure \
15488 $(HOST_CONFIGARGS) $${srcdiroption} \
15489 || exit 1
15490 @endif libcpp
15494 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15495 maybe-configure-stage1-libcpp:
15496 @if libcpp-bootstrap
15497 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15498 configure-stage1-libcpp:
15499 @$(MAKE) stage1-start
15500 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15501 r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 $(HOST_EXPORTS) \
15504 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15505 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15506 case $(srcdir) in \
15507 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15508 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15509 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15510 esac; \
15511 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15512 libsrcdir="$$s/libcpp"; \
15513 $(SHELL) $${libsrcdir}/configure \
15514 $(HOST_CONFIGARGS) $${srcdiroption} \
15515 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15516 @endif libcpp-bootstrap
15518 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15519 maybe-configure-stage2-libcpp:
15520 @if libcpp-bootstrap
15521 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15522 configure-stage2-libcpp:
15523 @$(MAKE) stage2-start
15524 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15525 r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 $(HOST_EXPORTS) \
15528 $(POSTSTAGE1_HOST_EXPORTS) \
15529 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15530 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15531 case $(srcdir) in \
15532 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15533 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15534 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15535 esac; \
15536 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15537 libsrcdir="$$s/libcpp"; \
15538 $(SHELL) $${libsrcdir}/configure \
15539 $(HOST_CONFIGARGS) $${srcdiroption} \
15540 @stage2_werror_flag@
15541 @endif libcpp-bootstrap
15543 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15544 maybe-configure-stage3-libcpp:
15545 @if libcpp-bootstrap
15546 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15547 configure-stage3-libcpp:
15548 @$(MAKE) stage3-start
15549 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15550 r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 $(HOST_EXPORTS) \
15553 $(POSTSTAGE1_HOST_EXPORTS) \
15554 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15555 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15556 case $(srcdir) in \
15557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15558 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15560 esac; \
15561 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15562 libsrcdir="$$s/libcpp"; \
15563 $(SHELL) $${libsrcdir}/configure \
15564 $(HOST_CONFIGARGS) $${srcdiroption} \
15565 @stage2_werror_flag@
15566 @endif libcpp-bootstrap
15568 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15569 maybe-configure-stage4-libcpp:
15570 @if libcpp-bootstrap
15571 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15572 configure-stage4-libcpp:
15573 @$(MAKE) stage4-start
15574 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15575 r=`${PWD_COMMAND}`; export r; \
15576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15577 $(HOST_EXPORTS) \
15578 $(POSTSTAGE1_HOST_EXPORTS) \
15579 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15580 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15581 case $(srcdir) in \
15582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15583 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15585 esac; \
15586 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15587 libsrcdir="$$s/libcpp"; \
15588 $(SHELL) $${libsrcdir}/configure \
15589 $(HOST_CONFIGARGS) $${srcdiroption} \
15590 @stage2_werror_flag@
15591 @endif libcpp-bootstrap
15593 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15594 maybe-configure-stageprofile-libcpp:
15595 @if libcpp-bootstrap
15596 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15597 configure-stageprofile-libcpp:
15598 @$(MAKE) stageprofile-start
15599 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15600 r=`${PWD_COMMAND}`; export r; \
15601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15602 $(HOST_EXPORTS) \
15603 $(POSTSTAGE1_HOST_EXPORTS) \
15604 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15605 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15606 case $(srcdir) in \
15607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15608 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15610 esac; \
15611 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15612 libsrcdir="$$s/libcpp"; \
15613 $(SHELL) $${libsrcdir}/configure \
15614 $(HOST_CONFIGARGS) $${srcdiroption} \
15615 @stage2_werror_flag@
15616 @endif libcpp-bootstrap
15618 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
15619 maybe-configure-stagefeedback-libcpp:
15620 @if libcpp-bootstrap
15621 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
15622 configure-stagefeedback-libcpp:
15623 @$(MAKE) stagefeedback-start
15624 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15625 r=`${PWD_COMMAND}`; export r; \
15626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15627 $(HOST_EXPORTS) \
15628 $(POSTSTAGE1_HOST_EXPORTS) \
15629 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
15630 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15631 case $(srcdir) in \
15632 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15633 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15634 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15635 esac; \
15636 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15637 libsrcdir="$$s/libcpp"; \
15638 $(SHELL) $${libsrcdir}/configure \
15639 $(HOST_CONFIGARGS) $${srcdiroption} \
15640 @stage2_werror_flag@
15641 @endif libcpp-bootstrap
15647 .PHONY: all-libcpp maybe-all-libcpp
15648 maybe-all-libcpp:
15649 @if libcpp
15650 TARGET-libcpp=all
15651 maybe-all-libcpp: all-libcpp
15652 all-libcpp: configure-libcpp
15653 @test -f stage_last && exit 0; \
15654 r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15656 $(HOST_EXPORTS) \
15657 (cd $(HOST_SUBDIR)/libcpp && \
15658 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
15659 @endif libcpp
15663 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
15664 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
15665 maybe-all-stage1-libcpp:
15666 maybe-clean-stage1-libcpp:
15667 @if libcpp-bootstrap
15668 maybe-all-stage1-libcpp: all-stage1-libcpp
15669 all-stage1: all-stage1-libcpp
15670 all-stage1-libcpp: configure-stage1-libcpp
15671 @$(MAKE) stage1-start
15672 @r=`${PWD_COMMAND}`; export r; \
15673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674 $(HOST_EXPORTS) \
15675 cd $(HOST_SUBDIR)/libcpp && \
15676 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15678 maybe-clean-stage1-libcpp: clean-stage1-libcpp
15679 clean-stage1: clean-stage1-libcpp
15680 clean-stage1-libcpp:
15681 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
15682 || exit 0 ; \
15683 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \
15684 cd $(HOST_SUBDIR)/libcpp && \
15685 $(MAKE) $(FLAGS_TO_PASS) \
15686 CFLAGS="$(STAGE1_CFLAGS)" clean
15687 @endif libcpp-bootstrap
15690 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
15691 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
15692 maybe-all-stage2-libcpp:
15693 maybe-clean-stage2-libcpp:
15694 @if libcpp-bootstrap
15695 maybe-all-stage2-libcpp: all-stage2-libcpp
15696 all-stage2: all-stage2-libcpp
15697 all-stage2-libcpp: configure-stage2-libcpp
15698 @$(MAKE) stage2-start
15699 @r=`${PWD_COMMAND}`; export r; \
15700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15701 $(HOST_EXPORTS) \
15702 $(POSTSTAGE1_HOST_EXPORTS) \
15703 cd $(HOST_SUBDIR)/libcpp && \
15704 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15706 maybe-clean-stage2-libcpp: clean-stage2-libcpp
15707 clean-stage2: clean-stage2-libcpp
15708 clean-stage2-libcpp:
15709 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
15710 || exit 0 ; \
15711 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \
15712 cd $(HOST_SUBDIR)/libcpp && \
15713 $(MAKE) $(FLAGS_TO_PASS) \
15714 $(POSTSTAGE1_FLAGS_TO_PASS) \
15715 clean
15716 @endif libcpp-bootstrap
15719 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
15720 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
15721 maybe-all-stage3-libcpp:
15722 maybe-clean-stage3-libcpp:
15723 @if libcpp-bootstrap
15724 maybe-all-stage3-libcpp: all-stage3-libcpp
15725 all-stage3: all-stage3-libcpp
15726 all-stage3-libcpp: configure-stage3-libcpp
15727 @$(MAKE) stage3-start
15728 @r=`${PWD_COMMAND}`; export r; \
15729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15730 $(HOST_EXPORTS) \
15731 $(POSTSTAGE1_HOST_EXPORTS) \
15732 cd $(HOST_SUBDIR)/libcpp && \
15733 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15735 maybe-clean-stage3-libcpp: clean-stage3-libcpp
15736 clean-stage3: clean-stage3-libcpp
15737 clean-stage3-libcpp:
15738 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
15739 || exit 0 ; \
15740 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \
15741 cd $(HOST_SUBDIR)/libcpp && \
15742 $(MAKE) $(FLAGS_TO_PASS) \
15743 $(POSTSTAGE1_FLAGS_TO_PASS) \
15744 clean
15745 @endif libcpp-bootstrap
15748 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
15749 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
15750 maybe-all-stage4-libcpp:
15751 maybe-clean-stage4-libcpp:
15752 @if libcpp-bootstrap
15753 maybe-all-stage4-libcpp: all-stage4-libcpp
15754 all-stage4: all-stage4-libcpp
15755 all-stage4-libcpp: configure-stage4-libcpp
15756 @$(MAKE) stage4-start
15757 @r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 $(HOST_EXPORTS) \
15760 $(POSTSTAGE1_HOST_EXPORTS) \
15761 cd $(HOST_SUBDIR)/libcpp && \
15762 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15764 maybe-clean-stage4-libcpp: clean-stage4-libcpp
15765 clean-stage4: clean-stage4-libcpp
15766 clean-stage4-libcpp:
15767 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
15768 || exit 0 ; \
15769 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \
15770 cd $(HOST_SUBDIR)/libcpp && \
15771 $(MAKE) $(FLAGS_TO_PASS) \
15772 $(POSTSTAGE1_FLAGS_TO_PASS) \
15773 clean
15774 @endif libcpp-bootstrap
15777 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
15778 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
15779 maybe-all-stageprofile-libcpp:
15780 maybe-clean-stageprofile-libcpp:
15781 @if libcpp-bootstrap
15782 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
15783 all-stageprofile: all-stageprofile-libcpp
15784 all-stageprofile-libcpp: configure-stageprofile-libcpp
15785 @$(MAKE) stageprofile-start
15786 @r=`${PWD_COMMAND}`; export r; \
15787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15788 $(HOST_EXPORTS) \
15789 $(POSTSTAGE1_HOST_EXPORTS) \
15790 cd $(HOST_SUBDIR)/libcpp && \
15791 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15793 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
15794 clean-stageprofile: clean-stageprofile-libcpp
15795 clean-stageprofile-libcpp:
15796 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
15797 || exit 0 ; \
15798 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
15799 cd $(HOST_SUBDIR)/libcpp && \
15800 $(MAKE) $(FLAGS_TO_PASS) \
15801 $(POSTSTAGE1_FLAGS_TO_PASS) \
15802 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15803 @endif libcpp-bootstrap
15806 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
15807 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
15808 maybe-all-stagefeedback-libcpp:
15809 maybe-clean-stagefeedback-libcpp:
15810 @if libcpp-bootstrap
15811 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
15812 all-stagefeedback: all-stagefeedback-libcpp
15813 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
15814 @$(MAKE) stagefeedback-start
15815 @r=`${PWD_COMMAND}`; export r; \
15816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15817 $(HOST_EXPORTS) \
15818 $(POSTSTAGE1_HOST_EXPORTS) \
15819 cd $(HOST_SUBDIR)/libcpp && \
15820 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15822 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
15823 clean-stagefeedback: clean-stagefeedback-libcpp
15824 clean-stagefeedback-libcpp:
15825 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
15826 || exit 0 ; \
15827 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
15828 cd $(HOST_SUBDIR)/libcpp && \
15829 $(MAKE) $(FLAGS_TO_PASS) \
15830 $(POSTSTAGE1_FLAGS_TO_PASS) \
15831 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15832 @endif libcpp-bootstrap
15838 .PHONY: check-libcpp maybe-check-libcpp
15839 maybe-check-libcpp:
15840 @if libcpp
15841 maybe-check-libcpp: check-libcpp
15843 check-libcpp:
15844 @r=`${PWD_COMMAND}`; export r; \
15845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15846 $(HOST_EXPORTS) \
15847 (cd $(HOST_SUBDIR)/libcpp && \
15848 $(MAKE) $(FLAGS_TO_PASS) check)
15850 @endif libcpp
15852 .PHONY: install-libcpp maybe-install-libcpp
15853 maybe-install-libcpp:
15854 @if libcpp
15855 maybe-install-libcpp: install-libcpp
15857 install-libcpp: installdirs
15858 @r=`${PWD_COMMAND}`; export r; \
15859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 $(HOST_EXPORTS) \
15861 (cd $(HOST_SUBDIR)/libcpp && \
15862 $(MAKE) $(FLAGS_TO_PASS) install)
15864 @endif libcpp
15866 # Other targets (info, dvi, etc.)
15868 .PHONY: maybe-info-libcpp info-libcpp
15869 maybe-info-libcpp:
15870 @if libcpp
15871 maybe-info-libcpp: info-libcpp
15873 info-libcpp: \
15874 configure-libcpp
15875 @[ -f ./libcpp/Makefile ] || exit 0; \
15876 r=`${PWD_COMMAND}`; export r; \
15877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 $(HOST_EXPORTS) \
15879 for flag in $(EXTRA_HOST_FLAGS) ; do \
15880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15881 done; \
15882 echo "Doing info in libcpp" ; \
15883 (cd $(HOST_SUBDIR)/libcpp && \
15884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15886 "RANLIB=$${RANLIB}" \
15887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15888 info) \
15889 || exit 1
15891 @endif libcpp
15893 .PHONY: maybe-dvi-libcpp dvi-libcpp
15894 maybe-dvi-libcpp:
15895 @if libcpp
15896 maybe-dvi-libcpp: dvi-libcpp
15898 dvi-libcpp: \
15899 configure-libcpp
15900 @[ -f ./libcpp/Makefile ] || exit 0; \
15901 r=`${PWD_COMMAND}`; export r; \
15902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15903 $(HOST_EXPORTS) \
15904 for flag in $(EXTRA_HOST_FLAGS) ; do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15906 done; \
15907 echo "Doing dvi in libcpp" ; \
15908 (cd $(HOST_SUBDIR)/libcpp && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15913 dvi) \
15914 || exit 1
15916 @endif libcpp
15918 .PHONY: maybe-html-libcpp html-libcpp
15919 maybe-html-libcpp:
15920 @if libcpp
15921 maybe-html-libcpp: html-libcpp
15923 html-libcpp: \
15924 configure-libcpp
15925 @[ -f ./libcpp/Makefile ] || exit 0; \
15926 r=`${PWD_COMMAND}`; export r; \
15927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 $(HOST_EXPORTS) \
15929 for flag in $(EXTRA_HOST_FLAGS) ; do \
15930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15931 done; \
15932 echo "Doing html in libcpp" ; \
15933 (cd $(HOST_SUBDIR)/libcpp && \
15934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15936 "RANLIB=$${RANLIB}" \
15937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15938 html) \
15939 || exit 1
15941 @endif libcpp
15943 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
15944 maybe-TAGS-libcpp:
15945 @if libcpp
15946 maybe-TAGS-libcpp: TAGS-libcpp
15948 TAGS-libcpp: \
15949 configure-libcpp
15950 @[ -f ./libcpp/Makefile ] || exit 0; \
15951 r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15953 $(HOST_EXPORTS) \
15954 for flag in $(EXTRA_HOST_FLAGS) ; do \
15955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15956 done; \
15957 echo "Doing TAGS in libcpp" ; \
15958 (cd $(HOST_SUBDIR)/libcpp && \
15959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15961 "RANLIB=$${RANLIB}" \
15962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15963 TAGS) \
15964 || exit 1
15966 @endif libcpp
15968 .PHONY: maybe-install-info-libcpp install-info-libcpp
15969 maybe-install-info-libcpp:
15970 @if libcpp
15971 maybe-install-info-libcpp: install-info-libcpp
15973 install-info-libcpp: \
15974 configure-libcpp \
15975 info-libcpp
15976 @[ -f ./libcpp/Makefile ] || exit 0; \
15977 r=`${PWD_COMMAND}`; export r; \
15978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15979 $(HOST_EXPORTS) \
15980 for flag in $(EXTRA_HOST_FLAGS) ; do \
15981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15982 done; \
15983 echo "Doing install-info in libcpp" ; \
15984 (cd $(HOST_SUBDIR)/libcpp && \
15985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15987 "RANLIB=$${RANLIB}" \
15988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15989 install-info) \
15990 || exit 1
15992 @endif libcpp
15994 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
15995 maybe-installcheck-libcpp:
15996 @if libcpp
15997 maybe-installcheck-libcpp: installcheck-libcpp
15999 installcheck-libcpp: \
16000 configure-libcpp
16001 @[ -f ./libcpp/Makefile ] || exit 0; \
16002 r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004 $(HOST_EXPORTS) \
16005 for flag in $(EXTRA_HOST_FLAGS) ; do \
16006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16007 done; \
16008 echo "Doing installcheck in libcpp" ; \
16009 (cd $(HOST_SUBDIR)/libcpp && \
16010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16012 "RANLIB=$${RANLIB}" \
16013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16014 installcheck) \
16015 || exit 1
16017 @endif libcpp
16019 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16020 maybe-mostlyclean-libcpp:
16021 @if libcpp
16022 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16024 mostlyclean-libcpp:
16025 @[ -f ./libcpp/Makefile ] || exit 0; \
16026 r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 $(HOST_EXPORTS) \
16029 for flag in $(EXTRA_HOST_FLAGS) ; do \
16030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16031 done; \
16032 echo "Doing mostlyclean in libcpp" ; \
16033 (cd $(HOST_SUBDIR)/libcpp && \
16034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16036 "RANLIB=$${RANLIB}" \
16037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16038 mostlyclean) \
16039 || exit 1
16041 @endif libcpp
16043 .PHONY: maybe-clean-libcpp clean-libcpp
16044 maybe-clean-libcpp:
16045 @if libcpp
16046 maybe-clean-libcpp: clean-libcpp
16048 clean-libcpp:
16049 @[ -f ./libcpp/Makefile ] || exit 0; \
16050 r=`${PWD_COMMAND}`; export r; \
16051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16052 $(HOST_EXPORTS) \
16053 for flag in $(EXTRA_HOST_FLAGS) ; do \
16054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16055 done; \
16056 echo "Doing clean in libcpp" ; \
16057 (cd $(HOST_SUBDIR)/libcpp && \
16058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16060 "RANLIB=$${RANLIB}" \
16061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16062 clean) \
16063 || exit 1
16065 @endif libcpp
16067 .PHONY: maybe-distclean-libcpp distclean-libcpp
16068 maybe-distclean-libcpp:
16069 @if libcpp
16070 maybe-distclean-libcpp: distclean-libcpp
16072 distclean-libcpp:
16073 @[ -f ./libcpp/Makefile ] || exit 0; \
16074 r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 $(HOST_EXPORTS) \
16077 for flag in $(EXTRA_HOST_FLAGS) ; do \
16078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16079 done; \
16080 echo "Doing distclean in libcpp" ; \
16081 (cd $(HOST_SUBDIR)/libcpp && \
16082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16084 "RANLIB=$${RANLIB}" \
16085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16086 distclean) \
16087 || exit 1
16089 @endif libcpp
16091 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16092 maybe-maintainer-clean-libcpp:
16093 @if libcpp
16094 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16096 maintainer-clean-libcpp:
16097 @[ -f ./libcpp/Makefile ] || exit 0; \
16098 r=`${PWD_COMMAND}`; export r; \
16099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 $(HOST_EXPORTS) \
16101 for flag in $(EXTRA_HOST_FLAGS) ; do \
16102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16103 done; \
16104 echo "Doing maintainer-clean in libcpp" ; \
16105 (cd $(HOST_SUBDIR)/libcpp && \
16106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16108 "RANLIB=$${RANLIB}" \
16109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16110 maintainer-clean) \
16111 || exit 1
16113 @endif libcpp
16117 .PHONY: configure-libgui maybe-configure-libgui
16118 maybe-configure-libgui:
16119 @if libgui
16120 maybe-configure-libgui: configure-libgui
16121 configure-libgui:
16122 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16124 r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 $(HOST_EXPORTS) \
16127 echo Configuring in $(HOST_SUBDIR)/libgui; \
16128 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16129 case $(srcdir) in \
16130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16131 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16133 esac; \
16134 srcdiroption="--srcdir=$${topdir}/libgui"; \
16135 libsrcdir="$$s/libgui"; \
16136 $(SHELL) $${libsrcdir}/configure \
16137 $(HOST_CONFIGARGS) $${srcdiroption} \
16138 || exit 1
16139 @endif libgui
16145 .PHONY: all-libgui maybe-all-libgui
16146 maybe-all-libgui:
16147 @if libgui
16148 TARGET-libgui=all
16149 maybe-all-libgui: all-libgui
16150 all-libgui: configure-libgui
16151 @r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 $(HOST_EXPORTS) \
16154 (cd $(HOST_SUBDIR)/libgui && \
16155 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16156 @endif libgui
16161 .PHONY: check-libgui maybe-check-libgui
16162 maybe-check-libgui:
16163 @if libgui
16164 maybe-check-libgui: check-libgui
16166 check-libgui:
16167 @r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16169 $(HOST_EXPORTS) \
16170 (cd $(HOST_SUBDIR)/libgui && \
16171 $(MAKE) $(FLAGS_TO_PASS) check)
16173 @endif libgui
16175 .PHONY: install-libgui maybe-install-libgui
16176 maybe-install-libgui:
16177 @if libgui
16178 maybe-install-libgui: install-libgui
16180 install-libgui: installdirs
16181 @r=`${PWD_COMMAND}`; export r; \
16182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16183 $(HOST_EXPORTS) \
16184 (cd $(HOST_SUBDIR)/libgui && \
16185 $(MAKE) $(FLAGS_TO_PASS) install)
16187 @endif libgui
16189 # Other targets (info, dvi, etc.)
16191 .PHONY: maybe-info-libgui info-libgui
16192 maybe-info-libgui:
16193 @if libgui
16194 maybe-info-libgui: info-libgui
16196 info-libgui: \
16197 configure-libgui
16198 @[ -f ./libgui/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 $(HOST_EXPORTS) \
16202 for flag in $(EXTRA_HOST_FLAGS) ; do \
16203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204 done; \
16205 echo "Doing info in libgui" ; \
16206 (cd $(HOST_SUBDIR)/libgui && \
16207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209 "RANLIB=$${RANLIB}" \
16210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211 info) \
16212 || exit 1
16214 @endif libgui
16216 .PHONY: maybe-dvi-libgui dvi-libgui
16217 maybe-dvi-libgui:
16218 @if libgui
16219 maybe-dvi-libgui: dvi-libgui
16221 dvi-libgui: \
16222 configure-libgui
16223 @[ -f ./libgui/Makefile ] || exit 0; \
16224 r=`${PWD_COMMAND}`; export r; \
16225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16226 $(HOST_EXPORTS) \
16227 for flag in $(EXTRA_HOST_FLAGS) ; do \
16228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16229 done; \
16230 echo "Doing dvi in libgui" ; \
16231 (cd $(HOST_SUBDIR)/libgui && \
16232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16234 "RANLIB=$${RANLIB}" \
16235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16236 dvi) \
16237 || exit 1
16239 @endif libgui
16241 .PHONY: maybe-html-libgui html-libgui
16242 maybe-html-libgui:
16243 @if libgui
16244 maybe-html-libgui: html-libgui
16246 html-libgui: \
16247 configure-libgui
16248 @[ -f ./libgui/Makefile ] || exit 0; \
16249 r=`${PWD_COMMAND}`; export r; \
16250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16251 $(HOST_EXPORTS) \
16252 for flag in $(EXTRA_HOST_FLAGS) ; do \
16253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16254 done; \
16255 echo "Doing html in libgui" ; \
16256 (cd $(HOST_SUBDIR)/libgui && \
16257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16259 "RANLIB=$${RANLIB}" \
16260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16261 html) \
16262 || exit 1
16264 @endif libgui
16266 .PHONY: maybe-TAGS-libgui TAGS-libgui
16267 maybe-TAGS-libgui:
16268 @if libgui
16269 maybe-TAGS-libgui: TAGS-libgui
16271 TAGS-libgui: \
16272 configure-libgui
16273 @[ -f ./libgui/Makefile ] || exit 0; \
16274 r=`${PWD_COMMAND}`; export r; \
16275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16276 $(HOST_EXPORTS) \
16277 for flag in $(EXTRA_HOST_FLAGS) ; do \
16278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16279 done; \
16280 echo "Doing TAGS in libgui" ; \
16281 (cd $(HOST_SUBDIR)/libgui && \
16282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16284 "RANLIB=$${RANLIB}" \
16285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16286 TAGS) \
16287 || exit 1
16289 @endif libgui
16291 .PHONY: maybe-install-info-libgui install-info-libgui
16292 maybe-install-info-libgui:
16293 @if libgui
16294 maybe-install-info-libgui: install-info-libgui
16296 install-info-libgui: \
16297 configure-libgui \
16298 info-libgui
16299 @[ -f ./libgui/Makefile ] || exit 0; \
16300 r=`${PWD_COMMAND}`; export r; \
16301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16302 $(HOST_EXPORTS) \
16303 for flag in $(EXTRA_HOST_FLAGS) ; do \
16304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16305 done; \
16306 echo "Doing install-info in libgui" ; \
16307 (cd $(HOST_SUBDIR)/libgui && \
16308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16310 "RANLIB=$${RANLIB}" \
16311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16312 install-info) \
16313 || exit 1
16315 @endif libgui
16317 .PHONY: maybe-installcheck-libgui installcheck-libgui
16318 maybe-installcheck-libgui:
16319 @if libgui
16320 maybe-installcheck-libgui: installcheck-libgui
16322 installcheck-libgui: \
16323 configure-libgui
16324 @[ -f ./libgui/Makefile ] || exit 0; \
16325 r=`${PWD_COMMAND}`; export r; \
16326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16327 $(HOST_EXPORTS) \
16328 for flag in $(EXTRA_HOST_FLAGS) ; do \
16329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16330 done; \
16331 echo "Doing installcheck in libgui" ; \
16332 (cd $(HOST_SUBDIR)/libgui && \
16333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16335 "RANLIB=$${RANLIB}" \
16336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16337 installcheck) \
16338 || exit 1
16340 @endif libgui
16342 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16343 maybe-mostlyclean-libgui:
16344 @if libgui
16345 maybe-mostlyclean-libgui: mostlyclean-libgui
16347 mostlyclean-libgui:
16348 @[ -f ./libgui/Makefile ] || exit 0; \
16349 r=`${PWD_COMMAND}`; export r; \
16350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16351 $(HOST_EXPORTS) \
16352 for flag in $(EXTRA_HOST_FLAGS) ; do \
16353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16354 done; \
16355 echo "Doing mostlyclean in libgui" ; \
16356 (cd $(HOST_SUBDIR)/libgui && \
16357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16359 "RANLIB=$${RANLIB}" \
16360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16361 mostlyclean) \
16362 || exit 1
16364 @endif libgui
16366 .PHONY: maybe-clean-libgui clean-libgui
16367 maybe-clean-libgui:
16368 @if libgui
16369 maybe-clean-libgui: clean-libgui
16371 clean-libgui:
16372 @[ -f ./libgui/Makefile ] || exit 0; \
16373 r=`${PWD_COMMAND}`; export r; \
16374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16375 $(HOST_EXPORTS) \
16376 for flag in $(EXTRA_HOST_FLAGS) ; do \
16377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16378 done; \
16379 echo "Doing clean in libgui" ; \
16380 (cd $(HOST_SUBDIR)/libgui && \
16381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16383 "RANLIB=$${RANLIB}" \
16384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16385 clean) \
16386 || exit 1
16388 @endif libgui
16390 .PHONY: maybe-distclean-libgui distclean-libgui
16391 maybe-distclean-libgui:
16392 @if libgui
16393 maybe-distclean-libgui: distclean-libgui
16395 distclean-libgui:
16396 @[ -f ./libgui/Makefile ] || exit 0; \
16397 r=`${PWD_COMMAND}`; export r; \
16398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16399 $(HOST_EXPORTS) \
16400 for flag in $(EXTRA_HOST_FLAGS) ; do \
16401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16402 done; \
16403 echo "Doing distclean in libgui" ; \
16404 (cd $(HOST_SUBDIR)/libgui && \
16405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16407 "RANLIB=$${RANLIB}" \
16408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16409 distclean) \
16410 || exit 1
16412 @endif libgui
16414 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16415 maybe-maintainer-clean-libgui:
16416 @if libgui
16417 maybe-maintainer-clean-libgui: maintainer-clean-libgui
16419 maintainer-clean-libgui:
16420 @[ -f ./libgui/Makefile ] || exit 0; \
16421 r=`${PWD_COMMAND}`; export r; \
16422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16423 $(HOST_EXPORTS) \
16424 for flag in $(EXTRA_HOST_FLAGS) ; do \
16425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16426 done; \
16427 echo "Doing maintainer-clean in libgui" ; \
16428 (cd $(HOST_SUBDIR)/libgui && \
16429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16431 "RANLIB=$${RANLIB}" \
16432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16433 maintainer-clean) \
16434 || exit 1
16436 @endif libgui
16440 .PHONY: configure-libiberty maybe-configure-libiberty
16441 maybe-configure-libiberty:
16442 @if libiberty
16443 maybe-configure-libiberty: configure-libiberty
16444 configure-libiberty:
16445 @test -f stage_last && exit 0; \
16446 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
16447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
16448 r=`${PWD_COMMAND}`; export r; \
16449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16450 $(HOST_EXPORTS) \
16451 echo Configuring in $(HOST_SUBDIR)/libiberty; \
16452 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
16453 case $(srcdir) in \
16454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16455 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16457 esac; \
16458 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16459 libsrcdir="$$s/libiberty"; \
16460 $(SHELL) $${libsrcdir}/configure \
16461 $(HOST_CONFIGARGS) $${srcdiroption} \
16462 || exit 1
16463 @endif libiberty
16467 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
16468 maybe-configure-stage1-libiberty:
16469 @if libiberty-bootstrap
16470 maybe-configure-stage1-libiberty: configure-stage1-libiberty
16471 configure-stage1-libiberty:
16472 @$(MAKE) stage1-start
16473 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16474 r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476 $(HOST_EXPORTS) \
16477 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
16478 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16479 case $(srcdir) in \
16480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16481 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16483 esac; \
16484 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16485 libsrcdir="$$s/libiberty"; \
16486 $(SHELL) $${libsrcdir}/configure \
16487 $(HOST_CONFIGARGS) $${srcdiroption} \
16488 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16489 @endif libiberty-bootstrap
16491 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
16492 maybe-configure-stage2-libiberty:
16493 @if libiberty-bootstrap
16494 maybe-configure-stage2-libiberty: configure-stage2-libiberty
16495 configure-stage2-libiberty:
16496 @$(MAKE) stage2-start
16497 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16498 r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16500 $(HOST_EXPORTS) \
16501 $(POSTSTAGE1_HOST_EXPORTS) \
16502 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
16503 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16504 case $(srcdir) in \
16505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16506 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16508 esac; \
16509 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16510 libsrcdir="$$s/libiberty"; \
16511 $(SHELL) $${libsrcdir}/configure \
16512 $(HOST_CONFIGARGS) $${srcdiroption} \
16513 @stage2_werror_flag@
16514 @endif libiberty-bootstrap
16516 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
16517 maybe-configure-stage3-libiberty:
16518 @if libiberty-bootstrap
16519 maybe-configure-stage3-libiberty: configure-stage3-libiberty
16520 configure-stage3-libiberty:
16521 @$(MAKE) stage3-start
16522 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16523 r=`${PWD_COMMAND}`; export r; \
16524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16525 $(HOST_EXPORTS) \
16526 $(POSTSTAGE1_HOST_EXPORTS) \
16527 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
16528 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16529 case $(srcdir) in \
16530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16531 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16533 esac; \
16534 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16535 libsrcdir="$$s/libiberty"; \
16536 $(SHELL) $${libsrcdir}/configure \
16537 $(HOST_CONFIGARGS) $${srcdiroption} \
16538 @stage2_werror_flag@
16539 @endif libiberty-bootstrap
16541 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
16542 maybe-configure-stage4-libiberty:
16543 @if libiberty-bootstrap
16544 maybe-configure-stage4-libiberty: configure-stage4-libiberty
16545 configure-stage4-libiberty:
16546 @$(MAKE) stage4-start
16547 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16548 r=`${PWD_COMMAND}`; export r; \
16549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16550 $(HOST_EXPORTS) \
16551 $(POSTSTAGE1_HOST_EXPORTS) \
16552 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
16553 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16554 case $(srcdir) in \
16555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16556 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16558 esac; \
16559 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16560 libsrcdir="$$s/libiberty"; \
16561 $(SHELL) $${libsrcdir}/configure \
16562 $(HOST_CONFIGARGS) $${srcdiroption} \
16563 @stage2_werror_flag@
16564 @endif libiberty-bootstrap
16566 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
16567 maybe-configure-stageprofile-libiberty:
16568 @if libiberty-bootstrap
16569 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
16570 configure-stageprofile-libiberty:
16571 @$(MAKE) stageprofile-start
16572 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16573 r=`${PWD_COMMAND}`; export r; \
16574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16575 $(HOST_EXPORTS) \
16576 $(POSTSTAGE1_HOST_EXPORTS) \
16577 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
16578 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16579 case $(srcdir) in \
16580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16581 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16583 esac; \
16584 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16585 libsrcdir="$$s/libiberty"; \
16586 $(SHELL) $${libsrcdir}/configure \
16587 $(HOST_CONFIGARGS) $${srcdiroption} \
16588 @stage2_werror_flag@
16589 @endif libiberty-bootstrap
16591 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
16592 maybe-configure-stagefeedback-libiberty:
16593 @if libiberty-bootstrap
16594 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
16595 configure-stagefeedback-libiberty:
16596 @$(MAKE) stagefeedback-start
16597 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16598 r=`${PWD_COMMAND}`; export r; \
16599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16600 $(HOST_EXPORTS) \
16601 $(POSTSTAGE1_HOST_EXPORTS) \
16602 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
16603 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16604 case $(srcdir) in \
16605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16606 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16608 esac; \
16609 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16610 libsrcdir="$$s/libiberty"; \
16611 $(SHELL) $${libsrcdir}/configure \
16612 $(HOST_CONFIGARGS) $${srcdiroption} \
16613 @stage2_werror_flag@
16614 @endif libiberty-bootstrap
16620 .PHONY: all-libiberty maybe-all-libiberty
16621 maybe-all-libiberty:
16622 @if libiberty
16623 TARGET-libiberty=all
16624 maybe-all-libiberty: all-libiberty
16625 all-libiberty: configure-libiberty
16626 @test -f stage_last && exit 0; \
16627 r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 $(HOST_EXPORTS) \
16630 (cd $(HOST_SUBDIR)/libiberty && \
16631 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
16632 @endif libiberty
16636 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
16637 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
16638 maybe-all-stage1-libiberty:
16639 maybe-clean-stage1-libiberty:
16640 @if libiberty-bootstrap
16641 maybe-all-stage1-libiberty: all-stage1-libiberty
16642 all-stage1: all-stage1-libiberty
16643 all-stage1-libiberty: configure-stage1-libiberty
16644 @$(MAKE) stage1-start
16645 @r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 $(HOST_EXPORTS) \
16648 cd $(HOST_SUBDIR)/libiberty && \
16649 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
16651 maybe-clean-stage1-libiberty: clean-stage1-libiberty
16652 clean-stage1: clean-stage1-libiberty
16653 clean-stage1-libiberty:
16654 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
16655 || exit 0 ; \
16656 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \
16657 cd $(HOST_SUBDIR)/libiberty && \
16658 $(MAKE) $(FLAGS_TO_PASS) \
16659 CFLAGS="$(STAGE1_CFLAGS)" clean
16660 @endif libiberty-bootstrap
16663 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
16664 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
16665 maybe-all-stage2-libiberty:
16666 maybe-clean-stage2-libiberty:
16667 @if libiberty-bootstrap
16668 maybe-all-stage2-libiberty: all-stage2-libiberty
16669 all-stage2: all-stage2-libiberty
16670 all-stage2-libiberty: configure-stage2-libiberty
16671 @$(MAKE) stage2-start
16672 @r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 $(HOST_EXPORTS) \
16675 $(POSTSTAGE1_HOST_EXPORTS) \
16676 cd $(HOST_SUBDIR)/libiberty && \
16677 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16679 maybe-clean-stage2-libiberty: clean-stage2-libiberty
16680 clean-stage2: clean-stage2-libiberty
16681 clean-stage2-libiberty:
16682 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
16683 || exit 0 ; \
16684 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \
16685 cd $(HOST_SUBDIR)/libiberty && \
16686 $(MAKE) $(FLAGS_TO_PASS) \
16687 $(POSTSTAGE1_FLAGS_TO_PASS) \
16688 clean
16689 @endif libiberty-bootstrap
16692 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
16693 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
16694 maybe-all-stage3-libiberty:
16695 maybe-clean-stage3-libiberty:
16696 @if libiberty-bootstrap
16697 maybe-all-stage3-libiberty: all-stage3-libiberty
16698 all-stage3: all-stage3-libiberty
16699 all-stage3-libiberty: configure-stage3-libiberty
16700 @$(MAKE) stage3-start
16701 @r=`${PWD_COMMAND}`; export r; \
16702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 $(HOST_EXPORTS) \
16704 $(POSTSTAGE1_HOST_EXPORTS) \
16705 cd $(HOST_SUBDIR)/libiberty && \
16706 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16708 maybe-clean-stage3-libiberty: clean-stage3-libiberty
16709 clean-stage3: clean-stage3-libiberty
16710 clean-stage3-libiberty:
16711 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
16712 || exit 0 ; \
16713 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \
16714 cd $(HOST_SUBDIR)/libiberty && \
16715 $(MAKE) $(FLAGS_TO_PASS) \
16716 $(POSTSTAGE1_FLAGS_TO_PASS) \
16717 clean
16718 @endif libiberty-bootstrap
16721 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
16722 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
16723 maybe-all-stage4-libiberty:
16724 maybe-clean-stage4-libiberty:
16725 @if libiberty-bootstrap
16726 maybe-all-stage4-libiberty: all-stage4-libiberty
16727 all-stage4: all-stage4-libiberty
16728 all-stage4-libiberty: configure-stage4-libiberty
16729 @$(MAKE) stage4-start
16730 @r=`${PWD_COMMAND}`; export r; \
16731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16732 $(HOST_EXPORTS) \
16733 $(POSTSTAGE1_HOST_EXPORTS) \
16734 cd $(HOST_SUBDIR)/libiberty && \
16735 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16737 maybe-clean-stage4-libiberty: clean-stage4-libiberty
16738 clean-stage4: clean-stage4-libiberty
16739 clean-stage4-libiberty:
16740 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
16741 || exit 0 ; \
16742 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \
16743 cd $(HOST_SUBDIR)/libiberty && \
16744 $(MAKE) $(FLAGS_TO_PASS) \
16745 $(POSTSTAGE1_FLAGS_TO_PASS) \
16746 clean
16747 @endif libiberty-bootstrap
16750 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
16751 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
16752 maybe-all-stageprofile-libiberty:
16753 maybe-clean-stageprofile-libiberty:
16754 @if libiberty-bootstrap
16755 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
16756 all-stageprofile: all-stageprofile-libiberty
16757 all-stageprofile-libiberty: configure-stageprofile-libiberty
16758 @$(MAKE) stageprofile-start
16759 @r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 $(HOST_EXPORTS) \
16762 $(POSTSTAGE1_HOST_EXPORTS) \
16763 cd $(HOST_SUBDIR)/libiberty && \
16764 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
16766 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
16767 clean-stageprofile: clean-stageprofile-libiberty
16768 clean-stageprofile-libiberty:
16769 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
16770 || exit 0 ; \
16771 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
16772 cd $(HOST_SUBDIR)/libiberty && \
16773 $(MAKE) $(FLAGS_TO_PASS) \
16774 $(POSTSTAGE1_FLAGS_TO_PASS) \
16775 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16776 @endif libiberty-bootstrap
16779 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
16780 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
16781 maybe-all-stagefeedback-libiberty:
16782 maybe-clean-stagefeedback-libiberty:
16783 @if libiberty-bootstrap
16784 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
16785 all-stagefeedback: all-stagefeedback-libiberty
16786 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
16787 @$(MAKE) stagefeedback-start
16788 @r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 $(HOST_EXPORTS) \
16791 $(POSTSTAGE1_HOST_EXPORTS) \
16792 cd $(HOST_SUBDIR)/libiberty && \
16793 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
16795 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
16796 clean-stagefeedback: clean-stagefeedback-libiberty
16797 clean-stagefeedback-libiberty:
16798 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
16799 || exit 0 ; \
16800 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
16801 cd $(HOST_SUBDIR)/libiberty && \
16802 $(MAKE) $(FLAGS_TO_PASS) \
16803 $(POSTSTAGE1_FLAGS_TO_PASS) \
16804 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16805 @endif libiberty-bootstrap
16811 .PHONY: check-libiberty maybe-check-libiberty
16812 maybe-check-libiberty:
16813 @if libiberty
16814 maybe-check-libiberty: check-libiberty
16816 check-libiberty:
16817 @r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16819 $(HOST_EXPORTS) \
16820 (cd $(HOST_SUBDIR)/libiberty && \
16821 $(MAKE) $(FLAGS_TO_PASS) check)
16823 @endif libiberty
16825 .PHONY: install-libiberty maybe-install-libiberty
16826 maybe-install-libiberty:
16827 @if libiberty
16828 maybe-install-libiberty: install-libiberty
16830 install-libiberty: installdirs
16831 @r=`${PWD_COMMAND}`; export r; \
16832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16833 $(HOST_EXPORTS) \
16834 (cd $(HOST_SUBDIR)/libiberty && \
16835 $(MAKE) $(FLAGS_TO_PASS) install)
16837 @endif libiberty
16839 # Other targets (info, dvi, etc.)
16841 .PHONY: maybe-info-libiberty info-libiberty
16842 maybe-info-libiberty:
16843 @if libiberty
16844 maybe-info-libiberty: info-libiberty
16846 info-libiberty: \
16847 configure-libiberty
16848 @[ -f ./libiberty/Makefile ] || exit 0; \
16849 r=`${PWD_COMMAND}`; export r; \
16850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16851 $(HOST_EXPORTS) \
16852 for flag in $(EXTRA_HOST_FLAGS) ; do \
16853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16854 done; \
16855 echo "Doing info in libiberty" ; \
16856 (cd $(HOST_SUBDIR)/libiberty && \
16857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16859 "RANLIB=$${RANLIB}" \
16860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16861 info) \
16862 || exit 1
16864 @endif libiberty
16866 .PHONY: maybe-dvi-libiberty dvi-libiberty
16867 maybe-dvi-libiberty:
16868 @if libiberty
16869 maybe-dvi-libiberty: dvi-libiberty
16871 dvi-libiberty: \
16872 configure-libiberty
16873 @[ -f ./libiberty/Makefile ] || exit 0; \
16874 r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16876 $(HOST_EXPORTS) \
16877 for flag in $(EXTRA_HOST_FLAGS) ; do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879 done; \
16880 echo "Doing dvi in libiberty" ; \
16881 (cd $(HOST_SUBDIR)/libiberty && \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16886 dvi) \
16887 || exit 1
16889 @endif libiberty
16891 .PHONY: maybe-html-libiberty html-libiberty
16892 maybe-html-libiberty:
16893 @if libiberty
16894 maybe-html-libiberty: html-libiberty
16896 html-libiberty: \
16897 configure-libiberty
16898 @[ -f ./libiberty/Makefile ] || exit 0; \
16899 r=`${PWD_COMMAND}`; export r; \
16900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 $(HOST_EXPORTS) \
16902 for flag in $(EXTRA_HOST_FLAGS) ; do \
16903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16904 done; \
16905 echo "Doing html in libiberty" ; \
16906 (cd $(HOST_SUBDIR)/libiberty && \
16907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16909 "RANLIB=$${RANLIB}" \
16910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16911 html) \
16912 || exit 1
16914 @endif libiberty
16916 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
16917 maybe-TAGS-libiberty:
16918 @if libiberty
16919 maybe-TAGS-libiberty: TAGS-libiberty
16921 TAGS-libiberty: \
16922 configure-libiberty
16923 @[ -f ./libiberty/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(HOST_EXPORTS) \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16929 done; \
16930 echo "Doing TAGS in libiberty" ; \
16931 (cd $(HOST_SUBDIR)/libiberty && \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16936 TAGS) \
16937 || exit 1
16939 @endif libiberty
16941 .PHONY: maybe-install-info-libiberty install-info-libiberty
16942 maybe-install-info-libiberty:
16943 @if libiberty
16944 maybe-install-info-libiberty: install-info-libiberty
16946 install-info-libiberty: \
16947 configure-libiberty \
16948 info-libiberty
16949 @[ -f ./libiberty/Makefile ] || exit 0; \
16950 r=`${PWD_COMMAND}`; export r; \
16951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16952 $(HOST_EXPORTS) \
16953 for flag in $(EXTRA_HOST_FLAGS) ; do \
16954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16955 done; \
16956 echo "Doing install-info in libiberty" ; \
16957 (cd $(HOST_SUBDIR)/libiberty && \
16958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16960 "RANLIB=$${RANLIB}" \
16961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16962 install-info) \
16963 || exit 1
16965 @endif libiberty
16967 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
16968 maybe-installcheck-libiberty:
16969 @if libiberty
16970 maybe-installcheck-libiberty: installcheck-libiberty
16972 installcheck-libiberty: \
16973 configure-libiberty
16974 @[ -f ./libiberty/Makefile ] || exit 0; \
16975 r=`${PWD_COMMAND}`; export r; \
16976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16977 $(HOST_EXPORTS) \
16978 for flag in $(EXTRA_HOST_FLAGS) ; do \
16979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16980 done; \
16981 echo "Doing installcheck in libiberty" ; \
16982 (cd $(HOST_SUBDIR)/libiberty && \
16983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16985 "RANLIB=$${RANLIB}" \
16986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16987 installcheck) \
16988 || exit 1
16990 @endif libiberty
16992 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
16993 maybe-mostlyclean-libiberty:
16994 @if libiberty
16995 maybe-mostlyclean-libiberty: mostlyclean-libiberty
16997 mostlyclean-libiberty:
16998 @[ -f ./libiberty/Makefile ] || exit 0; \
16999 r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17001 $(HOST_EXPORTS) \
17002 for flag in $(EXTRA_HOST_FLAGS) ; do \
17003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17004 done; \
17005 echo "Doing mostlyclean in libiberty" ; \
17006 (cd $(HOST_SUBDIR)/libiberty && \
17007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17009 "RANLIB=$${RANLIB}" \
17010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17011 mostlyclean) \
17012 || exit 1
17014 @endif libiberty
17016 .PHONY: maybe-clean-libiberty clean-libiberty
17017 maybe-clean-libiberty:
17018 @if libiberty
17019 maybe-clean-libiberty: clean-libiberty
17021 clean-libiberty:
17022 @[ -f ./libiberty/Makefile ] || exit 0; \
17023 r=`${PWD_COMMAND}`; export r; \
17024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17025 $(HOST_EXPORTS) \
17026 for flag in $(EXTRA_HOST_FLAGS) ; do \
17027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17028 done; \
17029 echo "Doing clean in libiberty" ; \
17030 (cd $(HOST_SUBDIR)/libiberty && \
17031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17033 "RANLIB=$${RANLIB}" \
17034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17035 clean) \
17036 || exit 1
17038 @endif libiberty
17040 .PHONY: maybe-distclean-libiberty distclean-libiberty
17041 maybe-distclean-libiberty:
17042 @if libiberty
17043 maybe-distclean-libiberty: distclean-libiberty
17045 distclean-libiberty:
17046 @[ -f ./libiberty/Makefile ] || exit 0; \
17047 r=`${PWD_COMMAND}`; export r; \
17048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17049 $(HOST_EXPORTS) \
17050 for flag in $(EXTRA_HOST_FLAGS) ; do \
17051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17052 done; \
17053 echo "Doing distclean in libiberty" ; \
17054 (cd $(HOST_SUBDIR)/libiberty && \
17055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17057 "RANLIB=$${RANLIB}" \
17058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17059 distclean) \
17060 || exit 1
17062 @endif libiberty
17064 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17065 maybe-maintainer-clean-libiberty:
17066 @if libiberty
17067 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17069 maintainer-clean-libiberty:
17070 @[ -f ./libiberty/Makefile ] || exit 0; \
17071 r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(HOST_EXPORTS) \
17074 for flag in $(EXTRA_HOST_FLAGS) ; do \
17075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17076 done; \
17077 echo "Doing maintainer-clean in libiberty" ; \
17078 (cd $(HOST_SUBDIR)/libiberty && \
17079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17081 "RANLIB=$${RANLIB}" \
17082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17083 maintainer-clean) \
17084 || exit 1
17086 @endif libiberty
17090 .PHONY: configure-libtool maybe-configure-libtool
17091 maybe-configure-libtool:
17092 @if libtool
17093 maybe-configure-libtool: configure-libtool
17094 configure-libtool:
17095 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17097 r=`${PWD_COMMAND}`; export r; \
17098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17099 $(HOST_EXPORTS) \
17100 echo Configuring in $(HOST_SUBDIR)/libtool; \
17101 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17102 case $(srcdir) in \
17103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17104 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17106 esac; \
17107 srcdiroption="--srcdir=$${topdir}/libtool"; \
17108 libsrcdir="$$s/libtool"; \
17109 $(SHELL) $${libsrcdir}/configure \
17110 $(HOST_CONFIGARGS) $${srcdiroption} \
17111 || exit 1
17112 @endif libtool
17118 .PHONY: all-libtool maybe-all-libtool
17119 maybe-all-libtool:
17120 @if libtool
17121 TARGET-libtool=all
17122 maybe-all-libtool: all-libtool
17123 all-libtool: configure-libtool
17124 @r=`${PWD_COMMAND}`; export r; \
17125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17126 $(HOST_EXPORTS) \
17127 (cd $(HOST_SUBDIR)/libtool && \
17128 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17129 @endif libtool
17134 .PHONY: check-libtool maybe-check-libtool
17135 maybe-check-libtool:
17136 @if libtool
17137 maybe-check-libtool: check-libtool
17139 check-libtool:
17140 @r=`${PWD_COMMAND}`; export r; \
17141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17142 $(HOST_EXPORTS) \
17143 (cd $(HOST_SUBDIR)/libtool && \
17144 $(MAKE) $(FLAGS_TO_PASS) check)
17146 @endif libtool
17148 .PHONY: install-libtool maybe-install-libtool
17149 maybe-install-libtool:
17150 @if libtool
17151 maybe-install-libtool: install-libtool
17153 install-libtool: installdirs
17154 @r=`${PWD_COMMAND}`; export r; \
17155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17156 $(HOST_EXPORTS) \
17157 (cd $(HOST_SUBDIR)/libtool && \
17158 $(MAKE) $(FLAGS_TO_PASS) install)
17160 @endif libtool
17162 # Other targets (info, dvi, etc.)
17164 .PHONY: maybe-info-libtool info-libtool
17165 maybe-info-libtool:
17166 @if libtool
17167 maybe-info-libtool: info-libtool
17169 info-libtool: \
17170 configure-libtool
17171 @[ -f ./libtool/Makefile ] || exit 0; \
17172 r=`${PWD_COMMAND}`; export r; \
17173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17174 $(HOST_EXPORTS) \
17175 for flag in $(EXTRA_HOST_FLAGS) ; do \
17176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17177 done; \
17178 echo "Doing info in libtool" ; \
17179 (cd $(HOST_SUBDIR)/libtool && \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17182 "RANLIB=$${RANLIB}" \
17183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17184 info) \
17185 || exit 1
17187 @endif libtool
17189 .PHONY: maybe-dvi-libtool dvi-libtool
17190 maybe-dvi-libtool:
17191 @if libtool
17192 maybe-dvi-libtool: dvi-libtool
17194 dvi-libtool: \
17195 configure-libtool
17196 @[ -f ./libtool/Makefile ] || exit 0; \
17197 r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 $(HOST_EXPORTS) \
17200 for flag in $(EXTRA_HOST_FLAGS) ; do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 echo "Doing dvi in libtool" ; \
17204 (cd $(HOST_SUBDIR)/libtool && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 dvi) \
17210 || exit 1
17212 @endif libtool
17214 .PHONY: maybe-html-libtool html-libtool
17215 maybe-html-libtool:
17216 @if libtool
17217 maybe-html-libtool: html-libtool
17219 html-libtool: \
17220 configure-libtool
17221 @[ -f ./libtool/Makefile ] || exit 0; \
17222 r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17224 $(HOST_EXPORTS) \
17225 for flag in $(EXTRA_HOST_FLAGS) ; do \
17226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17227 done; \
17228 echo "Doing html in libtool" ; \
17229 (cd $(HOST_SUBDIR)/libtool && \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17232 "RANLIB=$${RANLIB}" \
17233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17234 html) \
17235 || exit 1
17237 @endif libtool
17239 .PHONY: maybe-TAGS-libtool TAGS-libtool
17240 maybe-TAGS-libtool:
17241 @if libtool
17242 maybe-TAGS-libtool: TAGS-libtool
17244 TAGS-libtool: \
17245 configure-libtool
17246 @[ -f ./libtool/Makefile ] || exit 0; \
17247 r=`${PWD_COMMAND}`; export r; \
17248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17249 $(HOST_EXPORTS) \
17250 for flag in $(EXTRA_HOST_FLAGS) ; do \
17251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17252 done; \
17253 echo "Doing TAGS in libtool" ; \
17254 (cd $(HOST_SUBDIR)/libtool && \
17255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17257 "RANLIB=$${RANLIB}" \
17258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17259 TAGS) \
17260 || exit 1
17262 @endif libtool
17264 .PHONY: maybe-install-info-libtool install-info-libtool
17265 maybe-install-info-libtool:
17266 @if libtool
17267 maybe-install-info-libtool: install-info-libtool
17269 install-info-libtool: \
17270 configure-libtool \
17271 info-libtool
17272 @[ -f ./libtool/Makefile ] || exit 0; \
17273 r=`${PWD_COMMAND}`; export r; \
17274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17275 $(HOST_EXPORTS) \
17276 for flag in $(EXTRA_HOST_FLAGS) ; do \
17277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17278 done; \
17279 echo "Doing install-info in libtool" ; \
17280 (cd $(HOST_SUBDIR)/libtool && \
17281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17283 "RANLIB=$${RANLIB}" \
17284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17285 install-info) \
17286 || exit 1
17288 @endif libtool
17290 .PHONY: maybe-installcheck-libtool installcheck-libtool
17291 maybe-installcheck-libtool:
17292 @if libtool
17293 maybe-installcheck-libtool: installcheck-libtool
17295 installcheck-libtool: \
17296 configure-libtool
17297 @[ -f ./libtool/Makefile ] || exit 0; \
17298 r=`${PWD_COMMAND}`; export r; \
17299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17300 $(HOST_EXPORTS) \
17301 for flag in $(EXTRA_HOST_FLAGS) ; do \
17302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17303 done; \
17304 echo "Doing installcheck in libtool" ; \
17305 (cd $(HOST_SUBDIR)/libtool && \
17306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17308 "RANLIB=$${RANLIB}" \
17309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17310 installcheck) \
17311 || exit 1
17313 @endif libtool
17315 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17316 maybe-mostlyclean-libtool:
17317 @if libtool
17318 maybe-mostlyclean-libtool: mostlyclean-libtool
17320 mostlyclean-libtool:
17321 @[ -f ./libtool/Makefile ] || exit 0; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(HOST_EXPORTS) \
17325 for flag in $(EXTRA_HOST_FLAGS) ; do \
17326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17327 done; \
17328 echo "Doing mostlyclean in libtool" ; \
17329 (cd $(HOST_SUBDIR)/libtool && \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332 "RANLIB=$${RANLIB}" \
17333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17334 mostlyclean) \
17335 || exit 1
17337 @endif libtool
17339 .PHONY: maybe-clean-libtool clean-libtool
17340 maybe-clean-libtool:
17341 @if libtool
17342 maybe-clean-libtool: clean-libtool
17344 clean-libtool:
17345 @[ -f ./libtool/Makefile ] || exit 0; \
17346 r=`${PWD_COMMAND}`; export r; \
17347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17348 $(HOST_EXPORTS) \
17349 for flag in $(EXTRA_HOST_FLAGS) ; do \
17350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17351 done; \
17352 echo "Doing clean in libtool" ; \
17353 (cd $(HOST_SUBDIR)/libtool && \
17354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17356 "RANLIB=$${RANLIB}" \
17357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17358 clean) \
17359 || exit 1
17361 @endif libtool
17363 .PHONY: maybe-distclean-libtool distclean-libtool
17364 maybe-distclean-libtool:
17365 @if libtool
17366 maybe-distclean-libtool: distclean-libtool
17368 distclean-libtool:
17369 @[ -f ./libtool/Makefile ] || exit 0; \
17370 r=`${PWD_COMMAND}`; export r; \
17371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17372 $(HOST_EXPORTS) \
17373 for flag in $(EXTRA_HOST_FLAGS) ; do \
17374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17375 done; \
17376 echo "Doing distclean in libtool" ; \
17377 (cd $(HOST_SUBDIR)/libtool && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17380 "RANLIB=$${RANLIB}" \
17381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17382 distclean) \
17383 || exit 1
17385 @endif libtool
17387 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
17388 maybe-maintainer-clean-libtool:
17389 @if libtool
17390 maybe-maintainer-clean-libtool: maintainer-clean-libtool
17392 maintainer-clean-libtool:
17393 @[ -f ./libtool/Makefile ] || exit 0; \
17394 r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 $(HOST_EXPORTS) \
17397 for flag in $(EXTRA_HOST_FLAGS) ; do \
17398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17399 done; \
17400 echo "Doing maintainer-clean in libtool" ; \
17401 (cd $(HOST_SUBDIR)/libtool && \
17402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17404 "RANLIB=$${RANLIB}" \
17405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17406 maintainer-clean) \
17407 || exit 1
17409 @endif libtool
17413 .PHONY: configure-m4 maybe-configure-m4
17414 maybe-configure-m4:
17415 @if m4
17416 maybe-configure-m4: configure-m4
17417 configure-m4:
17418 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
17419 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
17420 r=`${PWD_COMMAND}`; export r; \
17421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17422 $(HOST_EXPORTS) \
17423 echo Configuring in $(HOST_SUBDIR)/m4; \
17424 cd "$(HOST_SUBDIR)/m4" || exit 1; \
17425 case $(srcdir) in \
17426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17427 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
17428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17429 esac; \
17430 srcdiroption="--srcdir=$${topdir}/m4"; \
17431 libsrcdir="$$s/m4"; \
17432 $(SHELL) $${libsrcdir}/configure \
17433 $(HOST_CONFIGARGS) $${srcdiroption} \
17434 || exit 1
17435 @endif m4
17441 .PHONY: all-m4 maybe-all-m4
17442 maybe-all-m4:
17443 @if m4
17444 TARGET-m4=all
17445 maybe-all-m4: all-m4
17446 all-m4: configure-m4
17447 @r=`${PWD_COMMAND}`; export r; \
17448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17449 $(HOST_EXPORTS) \
17450 (cd $(HOST_SUBDIR)/m4 && \
17451 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
17452 @endif m4
17457 .PHONY: check-m4 maybe-check-m4
17458 maybe-check-m4:
17459 @if m4
17460 maybe-check-m4: check-m4
17462 check-m4:
17463 @r=`${PWD_COMMAND}`; export r; \
17464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17465 $(HOST_EXPORTS) \
17466 (cd $(HOST_SUBDIR)/m4 && \
17467 $(MAKE) $(FLAGS_TO_PASS) check)
17469 @endif m4
17471 .PHONY: install-m4 maybe-install-m4
17472 maybe-install-m4:
17473 @if m4
17474 maybe-install-m4: install-m4
17476 install-m4: installdirs
17477 @r=`${PWD_COMMAND}`; export r; \
17478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17479 $(HOST_EXPORTS) \
17480 (cd $(HOST_SUBDIR)/m4 && \
17481 $(MAKE) $(FLAGS_TO_PASS) install)
17483 @endif m4
17485 # Other targets (info, dvi, etc.)
17487 .PHONY: maybe-info-m4 info-m4
17488 maybe-info-m4:
17489 @if m4
17490 maybe-info-m4: info-m4
17492 info-m4: \
17493 configure-m4
17494 @[ -f ./m4/Makefile ] || exit 0; \
17495 r=`${PWD_COMMAND}`; export r; \
17496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17497 $(HOST_EXPORTS) \
17498 for flag in $(EXTRA_HOST_FLAGS) ; do \
17499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17500 done; \
17501 echo "Doing info in m4" ; \
17502 (cd $(HOST_SUBDIR)/m4 && \
17503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17505 "RANLIB=$${RANLIB}" \
17506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17507 info) \
17508 || exit 1
17510 @endif m4
17512 .PHONY: maybe-dvi-m4 dvi-m4
17513 maybe-dvi-m4:
17514 @if m4
17515 maybe-dvi-m4: dvi-m4
17517 dvi-m4: \
17518 configure-m4
17519 @[ -f ./m4/Makefile ] || exit 0; \
17520 r=`${PWD_COMMAND}`; export r; \
17521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17522 $(HOST_EXPORTS) \
17523 for flag in $(EXTRA_HOST_FLAGS) ; do \
17524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17525 done; \
17526 echo "Doing dvi in m4" ; \
17527 (cd $(HOST_SUBDIR)/m4 && \
17528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17530 "RANLIB=$${RANLIB}" \
17531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17532 dvi) \
17533 || exit 1
17535 @endif m4
17537 .PHONY: maybe-html-m4 html-m4
17538 maybe-html-m4:
17539 @if m4
17540 maybe-html-m4: html-m4
17542 html-m4: \
17543 configure-m4
17544 @[ -f ./m4/Makefile ] || exit 0; \
17545 r=`${PWD_COMMAND}`; export r; \
17546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17547 $(HOST_EXPORTS) \
17548 for flag in $(EXTRA_HOST_FLAGS) ; do \
17549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17550 done; \
17551 echo "Doing html in m4" ; \
17552 (cd $(HOST_SUBDIR)/m4 && \
17553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17555 "RANLIB=$${RANLIB}" \
17556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17557 html) \
17558 || exit 1
17560 @endif m4
17562 .PHONY: maybe-TAGS-m4 TAGS-m4
17563 maybe-TAGS-m4:
17564 @if m4
17565 maybe-TAGS-m4: TAGS-m4
17567 TAGS-m4: \
17568 configure-m4
17569 @[ -f ./m4/Makefile ] || exit 0; \
17570 r=`${PWD_COMMAND}`; export r; \
17571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17572 $(HOST_EXPORTS) \
17573 for flag in $(EXTRA_HOST_FLAGS) ; do \
17574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17575 done; \
17576 echo "Doing TAGS in m4" ; \
17577 (cd $(HOST_SUBDIR)/m4 && \
17578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17580 "RANLIB=$${RANLIB}" \
17581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17582 TAGS) \
17583 || exit 1
17585 @endif m4
17587 .PHONY: maybe-install-info-m4 install-info-m4
17588 maybe-install-info-m4:
17589 @if m4
17590 maybe-install-info-m4: install-info-m4
17592 install-info-m4: \
17593 configure-m4 \
17594 info-m4
17595 @[ -f ./m4/Makefile ] || exit 0; \
17596 r=`${PWD_COMMAND}`; export r; \
17597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17598 $(HOST_EXPORTS) \
17599 for flag in $(EXTRA_HOST_FLAGS) ; do \
17600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17601 done; \
17602 echo "Doing install-info in m4" ; \
17603 (cd $(HOST_SUBDIR)/m4 && \
17604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17606 "RANLIB=$${RANLIB}" \
17607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17608 install-info) \
17609 || exit 1
17611 @endif m4
17613 .PHONY: maybe-installcheck-m4 installcheck-m4
17614 maybe-installcheck-m4:
17615 @if m4
17616 maybe-installcheck-m4: installcheck-m4
17618 installcheck-m4: \
17619 configure-m4
17620 @[ -f ./m4/Makefile ] || exit 0; \
17621 r=`${PWD_COMMAND}`; export r; \
17622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17623 $(HOST_EXPORTS) \
17624 for flag in $(EXTRA_HOST_FLAGS) ; do \
17625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17626 done; \
17627 echo "Doing installcheck in m4" ; \
17628 (cd $(HOST_SUBDIR)/m4 && \
17629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17631 "RANLIB=$${RANLIB}" \
17632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17633 installcheck) \
17634 || exit 1
17636 @endif m4
17638 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
17639 maybe-mostlyclean-m4:
17640 @if m4
17641 maybe-mostlyclean-m4: mostlyclean-m4
17643 mostlyclean-m4:
17644 @[ -f ./m4/Makefile ] || exit 0; \
17645 r=`${PWD_COMMAND}`; export r; \
17646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17647 $(HOST_EXPORTS) \
17648 for flag in $(EXTRA_HOST_FLAGS) ; do \
17649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17650 done; \
17651 echo "Doing mostlyclean in m4" ; \
17652 (cd $(HOST_SUBDIR)/m4 && \
17653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17655 "RANLIB=$${RANLIB}" \
17656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17657 mostlyclean) \
17658 || exit 1
17660 @endif m4
17662 .PHONY: maybe-clean-m4 clean-m4
17663 maybe-clean-m4:
17664 @if m4
17665 maybe-clean-m4: clean-m4
17667 clean-m4:
17668 @[ -f ./m4/Makefile ] || exit 0; \
17669 r=`${PWD_COMMAND}`; export r; \
17670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17671 $(HOST_EXPORTS) \
17672 for flag in $(EXTRA_HOST_FLAGS) ; do \
17673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17674 done; \
17675 echo "Doing clean in m4" ; \
17676 (cd $(HOST_SUBDIR)/m4 && \
17677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17679 "RANLIB=$${RANLIB}" \
17680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17681 clean) \
17682 || exit 1
17684 @endif m4
17686 .PHONY: maybe-distclean-m4 distclean-m4
17687 maybe-distclean-m4:
17688 @if m4
17689 maybe-distclean-m4: distclean-m4
17691 distclean-m4:
17692 @[ -f ./m4/Makefile ] || exit 0; \
17693 r=`${PWD_COMMAND}`; export r; \
17694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17695 $(HOST_EXPORTS) \
17696 for flag in $(EXTRA_HOST_FLAGS) ; do \
17697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17698 done; \
17699 echo "Doing distclean in m4" ; \
17700 (cd $(HOST_SUBDIR)/m4 && \
17701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17703 "RANLIB=$${RANLIB}" \
17704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17705 distclean) \
17706 || exit 1
17708 @endif m4
17710 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
17711 maybe-maintainer-clean-m4:
17712 @if m4
17713 maybe-maintainer-clean-m4: maintainer-clean-m4
17715 maintainer-clean-m4:
17716 @[ -f ./m4/Makefile ] || exit 0; \
17717 r=`${PWD_COMMAND}`; export r; \
17718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17719 $(HOST_EXPORTS) \
17720 for flag in $(EXTRA_HOST_FLAGS) ; do \
17721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17722 done; \
17723 echo "Doing maintainer-clean in m4" ; \
17724 (cd $(HOST_SUBDIR)/m4 && \
17725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17727 "RANLIB=$${RANLIB}" \
17728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17729 maintainer-clean) \
17730 || exit 1
17732 @endif m4
17736 .PHONY: configure-make maybe-configure-make
17737 maybe-configure-make:
17738 @if make
17739 maybe-configure-make: configure-make
17740 configure-make:
17741 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
17742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
17743 r=`${PWD_COMMAND}`; export r; \
17744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17745 $(HOST_EXPORTS) \
17746 echo Configuring in $(HOST_SUBDIR)/make; \
17747 cd "$(HOST_SUBDIR)/make" || exit 1; \
17748 case $(srcdir) in \
17749 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17750 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
17751 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17752 esac; \
17753 srcdiroption="--srcdir=$${topdir}/make"; \
17754 libsrcdir="$$s/make"; \
17755 $(SHELL) $${libsrcdir}/configure \
17756 $(HOST_CONFIGARGS) $${srcdiroption} \
17757 || exit 1
17758 @endif make
17764 .PHONY: all-make maybe-all-make
17765 maybe-all-make:
17766 @if make
17767 TARGET-make=all
17768 maybe-all-make: all-make
17769 all-make: configure-make
17770 @r=`${PWD_COMMAND}`; export r; \
17771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17772 $(HOST_EXPORTS) \
17773 (cd $(HOST_SUBDIR)/make && \
17774 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
17775 @endif make
17780 .PHONY: check-make maybe-check-make
17781 maybe-check-make:
17782 @if make
17783 maybe-check-make: check-make
17785 check-make:
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17788 $(HOST_EXPORTS) \
17789 (cd $(HOST_SUBDIR)/make && \
17790 $(MAKE) $(FLAGS_TO_PASS) check)
17792 @endif make
17794 .PHONY: install-make maybe-install-make
17795 maybe-install-make:
17796 @if make
17797 maybe-install-make: install-make
17799 install-make: installdirs
17800 @r=`${PWD_COMMAND}`; export r; \
17801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 $(HOST_EXPORTS) \
17803 (cd $(HOST_SUBDIR)/make && \
17804 $(MAKE) $(FLAGS_TO_PASS) install)
17806 @endif make
17808 # Other targets (info, dvi, etc.)
17810 .PHONY: maybe-info-make info-make
17811 maybe-info-make:
17812 @if make
17813 maybe-info-make: info-make
17815 info-make: \
17816 configure-make
17817 @[ -f ./make/Makefile ] || exit 0; \
17818 r=`${PWD_COMMAND}`; export r; \
17819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17820 $(HOST_EXPORTS) \
17821 for flag in $(EXTRA_HOST_FLAGS) ; do \
17822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17823 done; \
17824 echo "Doing info in make" ; \
17825 (cd $(HOST_SUBDIR)/make && \
17826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17828 "RANLIB=$${RANLIB}" \
17829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17830 info) \
17831 || exit 1
17833 @endif make
17835 .PHONY: maybe-dvi-make dvi-make
17836 maybe-dvi-make:
17837 @if make
17838 maybe-dvi-make: dvi-make
17840 dvi-make: \
17841 configure-make
17842 @[ -f ./make/Makefile ] || exit 0; \
17843 r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(HOST_EXPORTS) \
17846 for flag in $(EXTRA_HOST_FLAGS) ; do \
17847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17848 done; \
17849 echo "Doing dvi in make" ; \
17850 (cd $(HOST_SUBDIR)/make && \
17851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17853 "RANLIB=$${RANLIB}" \
17854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17855 dvi) \
17856 || exit 1
17858 @endif make
17860 .PHONY: maybe-html-make html-make
17861 maybe-html-make:
17862 @if make
17863 maybe-html-make: html-make
17865 html-make: \
17866 configure-make
17867 @[ -f ./make/Makefile ] || exit 0; \
17868 r=`${PWD_COMMAND}`; export r; \
17869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 $(HOST_EXPORTS) \
17871 for flag in $(EXTRA_HOST_FLAGS) ; do \
17872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17873 done; \
17874 echo "Doing html in make" ; \
17875 (cd $(HOST_SUBDIR)/make && \
17876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17878 "RANLIB=$${RANLIB}" \
17879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17880 html) \
17881 || exit 1
17883 @endif make
17885 .PHONY: maybe-TAGS-make TAGS-make
17886 maybe-TAGS-make:
17887 @if make
17888 maybe-TAGS-make: TAGS-make
17890 TAGS-make: \
17891 configure-make
17892 @[ -f ./make/Makefile ] || exit 0; \
17893 r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(HOST_EXPORTS) \
17896 for flag in $(EXTRA_HOST_FLAGS) ; do \
17897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17898 done; \
17899 echo "Doing TAGS in make" ; \
17900 (cd $(HOST_SUBDIR)/make && \
17901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17903 "RANLIB=$${RANLIB}" \
17904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17905 TAGS) \
17906 || exit 1
17908 @endif make
17910 .PHONY: maybe-install-info-make install-info-make
17911 maybe-install-info-make:
17912 @if make
17913 maybe-install-info-make: install-info-make
17915 install-info-make: \
17916 configure-make \
17917 info-make
17918 @[ -f ./make/Makefile ] || exit 0; \
17919 r=`${PWD_COMMAND}`; export r; \
17920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 $(HOST_EXPORTS) \
17922 for flag in $(EXTRA_HOST_FLAGS) ; do \
17923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17924 done; \
17925 echo "Doing install-info in make" ; \
17926 (cd $(HOST_SUBDIR)/make && \
17927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17929 "RANLIB=$${RANLIB}" \
17930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17931 install-info) \
17932 || exit 1
17934 @endif make
17936 .PHONY: maybe-installcheck-make installcheck-make
17937 maybe-installcheck-make:
17938 @if make
17939 maybe-installcheck-make: installcheck-make
17941 installcheck-make: \
17942 configure-make
17943 @[ -f ./make/Makefile ] || exit 0; \
17944 r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 $(HOST_EXPORTS) \
17947 for flag in $(EXTRA_HOST_FLAGS) ; do \
17948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17949 done; \
17950 echo "Doing installcheck in make" ; \
17951 (cd $(HOST_SUBDIR)/make && \
17952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17954 "RANLIB=$${RANLIB}" \
17955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17956 installcheck) \
17957 || exit 1
17959 @endif make
17961 .PHONY: maybe-mostlyclean-make mostlyclean-make
17962 maybe-mostlyclean-make:
17963 @if make
17964 maybe-mostlyclean-make: mostlyclean-make
17966 mostlyclean-make:
17967 @[ -f ./make/Makefile ] || exit 0; \
17968 r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970 $(HOST_EXPORTS) \
17971 for flag in $(EXTRA_HOST_FLAGS) ; do \
17972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17973 done; \
17974 echo "Doing mostlyclean in make" ; \
17975 (cd $(HOST_SUBDIR)/make && \
17976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17978 "RANLIB=$${RANLIB}" \
17979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17980 mostlyclean) \
17981 || exit 1
17983 @endif make
17985 .PHONY: maybe-clean-make clean-make
17986 maybe-clean-make:
17987 @if make
17988 maybe-clean-make: clean-make
17990 clean-make:
17991 @[ -f ./make/Makefile ] || exit 0; \
17992 r=`${PWD_COMMAND}`; export r; \
17993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17994 $(HOST_EXPORTS) \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17997 done; \
17998 echo "Doing clean in make" ; \
17999 (cd $(HOST_SUBDIR)/make && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18004 clean) \
18005 || exit 1
18007 @endif make
18009 .PHONY: maybe-distclean-make distclean-make
18010 maybe-distclean-make:
18011 @if make
18012 maybe-distclean-make: distclean-make
18014 distclean-make:
18015 @[ -f ./make/Makefile ] || exit 0; \
18016 r=`${PWD_COMMAND}`; export r; \
18017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18018 $(HOST_EXPORTS) \
18019 for flag in $(EXTRA_HOST_FLAGS) ; do \
18020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18021 done; \
18022 echo "Doing distclean in make" ; \
18023 (cd $(HOST_SUBDIR)/make && \
18024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18026 "RANLIB=$${RANLIB}" \
18027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18028 distclean) \
18029 || exit 1
18031 @endif make
18033 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18034 maybe-maintainer-clean-make:
18035 @if make
18036 maybe-maintainer-clean-make: maintainer-clean-make
18038 maintainer-clean-make:
18039 @[ -f ./make/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 for flag in $(EXTRA_HOST_FLAGS) ; do \
18044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 done; \
18046 echo "Doing maintainer-clean in make" ; \
18047 (cd $(HOST_SUBDIR)/make && \
18048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18050 "RANLIB=$${RANLIB}" \
18051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18052 maintainer-clean) \
18053 || exit 1
18055 @endif make
18059 .PHONY: configure-mmalloc maybe-configure-mmalloc
18060 maybe-configure-mmalloc:
18061 @if mmalloc
18062 maybe-configure-mmalloc: configure-mmalloc
18063 configure-mmalloc:
18064 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18065 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18066 r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18068 $(HOST_EXPORTS) \
18069 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18070 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18071 case $(srcdir) in \
18072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18073 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18075 esac; \
18076 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18077 libsrcdir="$$s/mmalloc"; \
18078 $(SHELL) $${libsrcdir}/configure \
18079 $(HOST_CONFIGARGS) $${srcdiroption} \
18080 || exit 1
18081 @endif mmalloc
18087 .PHONY: all-mmalloc maybe-all-mmalloc
18088 maybe-all-mmalloc:
18089 @if mmalloc
18090 TARGET-mmalloc=all
18091 maybe-all-mmalloc: all-mmalloc
18092 all-mmalloc: configure-mmalloc
18093 @r=`${PWD_COMMAND}`; export r; \
18094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 $(HOST_EXPORTS) \
18096 (cd $(HOST_SUBDIR)/mmalloc && \
18097 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18098 @endif mmalloc
18103 .PHONY: check-mmalloc maybe-check-mmalloc
18104 maybe-check-mmalloc:
18105 @if mmalloc
18106 maybe-check-mmalloc: check-mmalloc
18108 check-mmalloc:
18110 @endif mmalloc
18112 .PHONY: install-mmalloc maybe-install-mmalloc
18113 maybe-install-mmalloc:
18114 @if mmalloc
18115 maybe-install-mmalloc: install-mmalloc
18117 install-mmalloc: installdirs
18118 @r=`${PWD_COMMAND}`; export r; \
18119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 $(HOST_EXPORTS) \
18121 (cd $(HOST_SUBDIR)/mmalloc && \
18122 $(MAKE) $(FLAGS_TO_PASS) install)
18124 @endif mmalloc
18126 # Other targets (info, dvi, etc.)
18128 .PHONY: maybe-info-mmalloc info-mmalloc
18129 maybe-info-mmalloc:
18130 @if mmalloc
18131 maybe-info-mmalloc: info-mmalloc
18133 info-mmalloc: \
18134 configure-mmalloc
18135 @[ -f ./mmalloc/Makefile ] || exit 0; \
18136 r=`${PWD_COMMAND}`; export r; \
18137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18138 $(HOST_EXPORTS) \
18139 for flag in $(EXTRA_HOST_FLAGS) ; do \
18140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18141 done; \
18142 echo "Doing info in mmalloc" ; \
18143 (cd $(HOST_SUBDIR)/mmalloc && \
18144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18146 "RANLIB=$${RANLIB}" \
18147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18148 info) \
18149 || exit 1
18151 @endif mmalloc
18153 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18154 maybe-dvi-mmalloc:
18155 @if mmalloc
18156 maybe-dvi-mmalloc: dvi-mmalloc
18158 dvi-mmalloc: \
18159 configure-mmalloc
18160 @[ -f ./mmalloc/Makefile ] || exit 0; \
18161 r=`${PWD_COMMAND}`; export r; \
18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 $(HOST_EXPORTS) \
18164 for flag in $(EXTRA_HOST_FLAGS) ; do \
18165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18166 done; \
18167 echo "Doing dvi in mmalloc" ; \
18168 (cd $(HOST_SUBDIR)/mmalloc && \
18169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18171 "RANLIB=$${RANLIB}" \
18172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18173 dvi) \
18174 || exit 1
18176 @endif mmalloc
18178 .PHONY: maybe-html-mmalloc html-mmalloc
18179 maybe-html-mmalloc:
18180 @if mmalloc
18181 maybe-html-mmalloc: html-mmalloc
18183 html-mmalloc: \
18184 configure-mmalloc
18185 @[ -f ./mmalloc/Makefile ] || exit 0; \
18186 r=`${PWD_COMMAND}`; export r; \
18187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18188 $(HOST_EXPORTS) \
18189 for flag in $(EXTRA_HOST_FLAGS) ; do \
18190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18191 done; \
18192 echo "Doing html in mmalloc" ; \
18193 (cd $(HOST_SUBDIR)/mmalloc && \
18194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18196 "RANLIB=$${RANLIB}" \
18197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18198 html) \
18199 || exit 1
18201 @endif mmalloc
18203 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18204 maybe-TAGS-mmalloc:
18205 @if mmalloc
18206 maybe-TAGS-mmalloc: TAGS-mmalloc
18208 TAGS-mmalloc: \
18209 configure-mmalloc
18210 @[ -f ./mmalloc/Makefile ] || exit 0; \
18211 r=`${PWD_COMMAND}`; export r; \
18212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18213 $(HOST_EXPORTS) \
18214 for flag in $(EXTRA_HOST_FLAGS) ; do \
18215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18216 done; \
18217 echo "Doing TAGS in mmalloc" ; \
18218 (cd $(HOST_SUBDIR)/mmalloc && \
18219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18221 "RANLIB=$${RANLIB}" \
18222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18223 TAGS) \
18224 || exit 1
18226 @endif mmalloc
18228 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18229 maybe-install-info-mmalloc:
18230 @if mmalloc
18231 maybe-install-info-mmalloc: install-info-mmalloc
18233 install-info-mmalloc: \
18234 configure-mmalloc \
18235 info-mmalloc
18236 @[ -f ./mmalloc/Makefile ] || exit 0; \
18237 r=`${PWD_COMMAND}`; export r; \
18238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18239 $(HOST_EXPORTS) \
18240 for flag in $(EXTRA_HOST_FLAGS) ; do \
18241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18242 done; \
18243 echo "Doing install-info in mmalloc" ; \
18244 (cd $(HOST_SUBDIR)/mmalloc && \
18245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18247 "RANLIB=$${RANLIB}" \
18248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18249 install-info) \
18250 || exit 1
18252 @endif mmalloc
18254 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18255 maybe-installcheck-mmalloc:
18256 @if mmalloc
18257 maybe-installcheck-mmalloc: installcheck-mmalloc
18259 installcheck-mmalloc: \
18260 configure-mmalloc
18261 @[ -f ./mmalloc/Makefile ] || exit 0; \
18262 r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 $(HOST_EXPORTS) \
18265 for flag in $(EXTRA_HOST_FLAGS) ; do \
18266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18267 done; \
18268 echo "Doing installcheck in mmalloc" ; \
18269 (cd $(HOST_SUBDIR)/mmalloc && \
18270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18272 "RANLIB=$${RANLIB}" \
18273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18274 installcheck) \
18275 || exit 1
18277 @endif mmalloc
18279 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18280 maybe-mostlyclean-mmalloc:
18281 @if mmalloc
18282 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18284 mostlyclean-mmalloc:
18285 @[ -f ./mmalloc/Makefile ] || exit 0; \
18286 r=`${PWD_COMMAND}`; export r; \
18287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288 $(HOST_EXPORTS) \
18289 for flag in $(EXTRA_HOST_FLAGS) ; do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18291 done; \
18292 echo "Doing mostlyclean in mmalloc" ; \
18293 (cd $(HOST_SUBDIR)/mmalloc && \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18298 mostlyclean) \
18299 || exit 1
18301 @endif mmalloc
18303 .PHONY: maybe-clean-mmalloc clean-mmalloc
18304 maybe-clean-mmalloc:
18305 @if mmalloc
18306 maybe-clean-mmalloc: clean-mmalloc
18308 clean-mmalloc:
18309 @[ -f ./mmalloc/Makefile ] || exit 0; \
18310 r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18312 $(HOST_EXPORTS) \
18313 for flag in $(EXTRA_HOST_FLAGS) ; do \
18314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18315 done; \
18316 echo "Doing clean in mmalloc" ; \
18317 (cd $(HOST_SUBDIR)/mmalloc && \
18318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320 "RANLIB=$${RANLIB}" \
18321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18322 clean) \
18323 || exit 1
18325 @endif mmalloc
18327 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
18328 maybe-distclean-mmalloc:
18329 @if mmalloc
18330 maybe-distclean-mmalloc: distclean-mmalloc
18332 distclean-mmalloc:
18333 @[ -f ./mmalloc/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing distclean in mmalloc" ; \
18341 (cd $(HOST_SUBDIR)/mmalloc && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18346 distclean) \
18347 || exit 1
18349 @endif mmalloc
18351 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
18352 maybe-maintainer-clean-mmalloc:
18353 @if mmalloc
18354 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
18356 maintainer-clean-mmalloc:
18357 @[ -f ./mmalloc/Makefile ] || exit 0; \
18358 r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(HOST_EXPORTS) \
18361 for flag in $(EXTRA_HOST_FLAGS) ; do \
18362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18363 done; \
18364 echo "Doing maintainer-clean in mmalloc" ; \
18365 (cd $(HOST_SUBDIR)/mmalloc && \
18366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18368 "RANLIB=$${RANLIB}" \
18369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18370 maintainer-clean) \
18371 || exit 1
18373 @endif mmalloc
18377 .PHONY: configure-patch maybe-configure-patch
18378 maybe-configure-patch:
18379 @if patch
18380 maybe-configure-patch: configure-patch
18381 configure-patch:
18382 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
18383 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
18384 r=`${PWD_COMMAND}`; export r; \
18385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18386 $(HOST_EXPORTS) \
18387 echo Configuring in $(HOST_SUBDIR)/patch; \
18388 cd "$(HOST_SUBDIR)/patch" || exit 1; \
18389 case $(srcdir) in \
18390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18391 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
18392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18393 esac; \
18394 srcdiroption="--srcdir=$${topdir}/patch"; \
18395 libsrcdir="$$s/patch"; \
18396 $(SHELL) $${libsrcdir}/configure \
18397 $(HOST_CONFIGARGS) $${srcdiroption} \
18398 || exit 1
18399 @endif patch
18405 .PHONY: all-patch maybe-all-patch
18406 maybe-all-patch:
18407 @if patch
18408 TARGET-patch=all
18409 maybe-all-patch: all-patch
18410 all-patch: configure-patch
18411 @r=`${PWD_COMMAND}`; export r; \
18412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18413 $(HOST_EXPORTS) \
18414 (cd $(HOST_SUBDIR)/patch && \
18415 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
18416 @endif patch
18421 .PHONY: check-patch maybe-check-patch
18422 maybe-check-patch:
18423 @if patch
18424 maybe-check-patch: check-patch
18426 check-patch:
18427 @r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(HOST_EXPORTS) \
18430 (cd $(HOST_SUBDIR)/patch && \
18431 $(MAKE) $(FLAGS_TO_PASS) check)
18433 @endif patch
18435 .PHONY: install-patch maybe-install-patch
18436 maybe-install-patch:
18437 @if patch
18438 maybe-install-patch: install-patch
18440 install-patch: installdirs
18441 @r=`${PWD_COMMAND}`; export r; \
18442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443 $(HOST_EXPORTS) \
18444 (cd $(HOST_SUBDIR)/patch && \
18445 $(MAKE) $(FLAGS_TO_PASS) install)
18447 @endif patch
18449 # Other targets (info, dvi, etc.)
18451 .PHONY: maybe-info-patch info-patch
18452 maybe-info-patch:
18453 @if patch
18454 maybe-info-patch: info-patch
18456 info-patch: \
18457 configure-patch
18458 @[ -f ./patch/Makefile ] || exit 0; \
18459 r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18461 $(HOST_EXPORTS) \
18462 for flag in $(EXTRA_HOST_FLAGS) ; do \
18463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18464 done; \
18465 echo "Doing info in patch" ; \
18466 (cd $(HOST_SUBDIR)/patch && \
18467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18469 "RANLIB=$${RANLIB}" \
18470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18471 info) \
18472 || exit 1
18474 @endif patch
18476 .PHONY: maybe-dvi-patch dvi-patch
18477 maybe-dvi-patch:
18478 @if patch
18479 maybe-dvi-patch: dvi-patch
18481 dvi-patch: \
18482 configure-patch
18483 @[ -f ./patch/Makefile ] || exit 0; \
18484 r=`${PWD_COMMAND}`; export r; \
18485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18486 $(HOST_EXPORTS) \
18487 for flag in $(EXTRA_HOST_FLAGS) ; do \
18488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18489 done; \
18490 echo "Doing dvi in patch" ; \
18491 (cd $(HOST_SUBDIR)/patch && \
18492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18494 "RANLIB=$${RANLIB}" \
18495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18496 dvi) \
18497 || exit 1
18499 @endif patch
18501 .PHONY: maybe-html-patch html-patch
18502 maybe-html-patch:
18503 @if patch
18504 maybe-html-patch: html-patch
18506 html-patch: \
18507 configure-patch
18508 @[ -f ./patch/Makefile ] || exit 0; \
18509 r=`${PWD_COMMAND}`; export r; \
18510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18511 $(HOST_EXPORTS) \
18512 for flag in $(EXTRA_HOST_FLAGS) ; do \
18513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18514 done; \
18515 echo "Doing html in patch" ; \
18516 (cd $(HOST_SUBDIR)/patch && \
18517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18519 "RANLIB=$${RANLIB}" \
18520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18521 html) \
18522 || exit 1
18524 @endif patch
18526 .PHONY: maybe-TAGS-patch TAGS-patch
18527 maybe-TAGS-patch:
18528 @if patch
18529 maybe-TAGS-patch: TAGS-patch
18531 TAGS-patch: \
18532 configure-patch
18533 @[ -f ./patch/Makefile ] || exit 0; \
18534 r=`${PWD_COMMAND}`; export r; \
18535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18536 $(HOST_EXPORTS) \
18537 for flag in $(EXTRA_HOST_FLAGS) ; do \
18538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18539 done; \
18540 echo "Doing TAGS in patch" ; \
18541 (cd $(HOST_SUBDIR)/patch && \
18542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18544 "RANLIB=$${RANLIB}" \
18545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18546 TAGS) \
18547 || exit 1
18549 @endif patch
18551 .PHONY: maybe-install-info-patch install-info-patch
18552 maybe-install-info-patch:
18553 @if patch
18554 maybe-install-info-patch: install-info-patch
18556 install-info-patch: \
18557 configure-patch \
18558 info-patch
18559 @[ -f ./patch/Makefile ] || exit 0; \
18560 r=`${PWD_COMMAND}`; export r; \
18561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18562 $(HOST_EXPORTS) \
18563 for flag in $(EXTRA_HOST_FLAGS) ; do \
18564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18565 done; \
18566 echo "Doing install-info in patch" ; \
18567 (cd $(HOST_SUBDIR)/patch && \
18568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18570 "RANLIB=$${RANLIB}" \
18571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18572 install-info) \
18573 || exit 1
18575 @endif patch
18577 .PHONY: maybe-installcheck-patch installcheck-patch
18578 maybe-installcheck-patch:
18579 @if patch
18580 maybe-installcheck-patch: installcheck-patch
18582 installcheck-patch: \
18583 configure-patch
18584 @[ -f ./patch/Makefile ] || exit 0; \
18585 r=`${PWD_COMMAND}`; export r; \
18586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587 $(HOST_EXPORTS) \
18588 for flag in $(EXTRA_HOST_FLAGS) ; do \
18589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18590 done; \
18591 echo "Doing installcheck in patch" ; \
18592 (cd $(HOST_SUBDIR)/patch && \
18593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18595 "RANLIB=$${RANLIB}" \
18596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18597 installcheck) \
18598 || exit 1
18600 @endif patch
18602 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
18603 maybe-mostlyclean-patch:
18604 @if patch
18605 maybe-mostlyclean-patch: mostlyclean-patch
18607 mostlyclean-patch:
18608 @[ -f ./patch/Makefile ] || exit 0; \
18609 r=`${PWD_COMMAND}`; export r; \
18610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18611 $(HOST_EXPORTS) \
18612 for flag in $(EXTRA_HOST_FLAGS) ; do \
18613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18614 done; \
18615 echo "Doing mostlyclean in patch" ; \
18616 (cd $(HOST_SUBDIR)/patch && \
18617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18619 "RANLIB=$${RANLIB}" \
18620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18621 mostlyclean) \
18622 || exit 1
18624 @endif patch
18626 .PHONY: maybe-clean-patch clean-patch
18627 maybe-clean-patch:
18628 @if patch
18629 maybe-clean-patch: clean-patch
18631 clean-patch:
18632 @[ -f ./patch/Makefile ] || exit 0; \
18633 r=`${PWD_COMMAND}`; export r; \
18634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18635 $(HOST_EXPORTS) \
18636 for flag in $(EXTRA_HOST_FLAGS) ; do \
18637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18638 done; \
18639 echo "Doing clean in patch" ; \
18640 (cd $(HOST_SUBDIR)/patch && \
18641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18643 "RANLIB=$${RANLIB}" \
18644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18645 clean) \
18646 || exit 1
18648 @endif patch
18650 .PHONY: maybe-distclean-patch distclean-patch
18651 maybe-distclean-patch:
18652 @if patch
18653 maybe-distclean-patch: distclean-patch
18655 distclean-patch:
18656 @[ -f ./patch/Makefile ] || exit 0; \
18657 r=`${PWD_COMMAND}`; export r; \
18658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18659 $(HOST_EXPORTS) \
18660 for flag in $(EXTRA_HOST_FLAGS) ; do \
18661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18662 done; \
18663 echo "Doing distclean in patch" ; \
18664 (cd $(HOST_SUBDIR)/patch && \
18665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18667 "RANLIB=$${RANLIB}" \
18668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18669 distclean) \
18670 || exit 1
18672 @endif patch
18674 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
18675 maybe-maintainer-clean-patch:
18676 @if patch
18677 maybe-maintainer-clean-patch: maintainer-clean-patch
18679 maintainer-clean-patch:
18680 @[ -f ./patch/Makefile ] || exit 0; \
18681 r=`${PWD_COMMAND}`; export r; \
18682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18683 $(HOST_EXPORTS) \
18684 for flag in $(EXTRA_HOST_FLAGS) ; do \
18685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18686 done; \
18687 echo "Doing maintainer-clean in patch" ; \
18688 (cd $(HOST_SUBDIR)/patch && \
18689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18691 "RANLIB=$${RANLIB}" \
18692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18693 maintainer-clean) \
18694 || exit 1
18696 @endif patch
18700 .PHONY: configure-perl maybe-configure-perl
18701 maybe-configure-perl:
18702 @if perl
18703 maybe-configure-perl: configure-perl
18704 configure-perl:
18705 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
18706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
18707 r=`${PWD_COMMAND}`; export r; \
18708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 $(HOST_EXPORTS) \
18710 echo Configuring in $(HOST_SUBDIR)/perl; \
18711 cd "$(HOST_SUBDIR)/perl" || exit 1; \
18712 case $(srcdir) in \
18713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18714 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
18715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18716 esac; \
18717 srcdiroption="--srcdir=$${topdir}/perl"; \
18718 libsrcdir="$$s/perl"; \
18719 $(SHELL) $${libsrcdir}/configure \
18720 $(HOST_CONFIGARGS) $${srcdiroption} \
18721 || exit 1
18722 @endif perl
18728 .PHONY: all-perl maybe-all-perl
18729 maybe-all-perl:
18730 @if perl
18731 TARGET-perl=all
18732 maybe-all-perl: all-perl
18733 all-perl: configure-perl
18734 @r=`${PWD_COMMAND}`; export r; \
18735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18736 $(HOST_EXPORTS) \
18737 (cd $(HOST_SUBDIR)/perl && \
18738 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
18739 @endif perl
18744 .PHONY: check-perl maybe-check-perl
18745 maybe-check-perl:
18746 @if perl
18747 maybe-check-perl: check-perl
18749 check-perl:
18750 @r=`${PWD_COMMAND}`; export r; \
18751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18752 $(HOST_EXPORTS) \
18753 (cd $(HOST_SUBDIR)/perl && \
18754 $(MAKE) $(FLAGS_TO_PASS) check)
18756 @endif perl
18758 .PHONY: install-perl maybe-install-perl
18759 maybe-install-perl:
18760 @if perl
18761 maybe-install-perl: install-perl
18763 install-perl: installdirs
18764 @r=`${PWD_COMMAND}`; export r; \
18765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18766 $(HOST_EXPORTS) \
18767 (cd $(HOST_SUBDIR)/perl && \
18768 $(MAKE) $(FLAGS_TO_PASS) install)
18770 @endif perl
18772 # Other targets (info, dvi, etc.)
18774 .PHONY: maybe-info-perl info-perl
18775 maybe-info-perl:
18776 @if perl
18777 maybe-info-perl: info-perl
18779 info-perl: \
18780 configure-perl
18781 @[ -f ./perl/Makefile ] || exit 0; \
18782 r=`${PWD_COMMAND}`; export r; \
18783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18784 $(HOST_EXPORTS) \
18785 for flag in $(EXTRA_HOST_FLAGS) ; do \
18786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18787 done; \
18788 echo "Doing info in perl" ; \
18789 (cd $(HOST_SUBDIR)/perl && \
18790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18792 "RANLIB=$${RANLIB}" \
18793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18794 info) \
18795 || exit 1
18797 @endif perl
18799 .PHONY: maybe-dvi-perl dvi-perl
18800 maybe-dvi-perl:
18801 @if perl
18802 maybe-dvi-perl: dvi-perl
18804 dvi-perl: \
18805 configure-perl
18806 @[ -f ./perl/Makefile ] || exit 0; \
18807 r=`${PWD_COMMAND}`; export r; \
18808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18809 $(HOST_EXPORTS) \
18810 for flag in $(EXTRA_HOST_FLAGS) ; do \
18811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18812 done; \
18813 echo "Doing dvi in perl" ; \
18814 (cd $(HOST_SUBDIR)/perl && \
18815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18817 "RANLIB=$${RANLIB}" \
18818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18819 dvi) \
18820 || exit 1
18822 @endif perl
18824 .PHONY: maybe-html-perl html-perl
18825 maybe-html-perl:
18826 @if perl
18827 maybe-html-perl: html-perl
18829 html-perl: \
18830 configure-perl
18831 @[ -f ./perl/Makefile ] || exit 0; \
18832 r=`${PWD_COMMAND}`; export r; \
18833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18834 $(HOST_EXPORTS) \
18835 for flag in $(EXTRA_HOST_FLAGS) ; do \
18836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18837 done; \
18838 echo "Doing html in perl" ; \
18839 (cd $(HOST_SUBDIR)/perl && \
18840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18842 "RANLIB=$${RANLIB}" \
18843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18844 html) \
18845 || exit 1
18847 @endif perl
18849 .PHONY: maybe-TAGS-perl TAGS-perl
18850 maybe-TAGS-perl:
18851 @if perl
18852 maybe-TAGS-perl: TAGS-perl
18854 TAGS-perl: \
18855 configure-perl
18856 @[ -f ./perl/Makefile ] || exit 0; \
18857 r=`${PWD_COMMAND}`; export r; \
18858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18859 $(HOST_EXPORTS) \
18860 for flag in $(EXTRA_HOST_FLAGS) ; do \
18861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18862 done; \
18863 echo "Doing TAGS in perl" ; \
18864 (cd $(HOST_SUBDIR)/perl && \
18865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18867 "RANLIB=$${RANLIB}" \
18868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18869 TAGS) \
18870 || exit 1
18872 @endif perl
18874 .PHONY: maybe-install-info-perl install-info-perl
18875 maybe-install-info-perl:
18876 @if perl
18877 maybe-install-info-perl: install-info-perl
18879 install-info-perl: \
18880 configure-perl \
18881 info-perl
18882 @[ -f ./perl/Makefile ] || exit 0; \
18883 r=`${PWD_COMMAND}`; export r; \
18884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18885 $(HOST_EXPORTS) \
18886 for flag in $(EXTRA_HOST_FLAGS) ; do \
18887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18888 done; \
18889 echo "Doing install-info in perl" ; \
18890 (cd $(HOST_SUBDIR)/perl && \
18891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18893 "RANLIB=$${RANLIB}" \
18894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18895 install-info) \
18896 || exit 1
18898 @endif perl
18900 .PHONY: maybe-installcheck-perl installcheck-perl
18901 maybe-installcheck-perl:
18902 @if perl
18903 maybe-installcheck-perl: installcheck-perl
18905 installcheck-perl: \
18906 configure-perl
18907 @[ -f ./perl/Makefile ] || exit 0; \
18908 r=`${PWD_COMMAND}`; export r; \
18909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 $(HOST_EXPORTS) \
18911 for flag in $(EXTRA_HOST_FLAGS) ; do \
18912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18913 done; \
18914 echo "Doing installcheck in perl" ; \
18915 (cd $(HOST_SUBDIR)/perl && \
18916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18918 "RANLIB=$${RANLIB}" \
18919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18920 installcheck) \
18921 || exit 1
18923 @endif perl
18925 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
18926 maybe-mostlyclean-perl:
18927 @if perl
18928 maybe-mostlyclean-perl: mostlyclean-perl
18930 mostlyclean-perl:
18931 @[ -f ./perl/Makefile ] || exit 0; \
18932 r=`${PWD_COMMAND}`; export r; \
18933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18934 $(HOST_EXPORTS) \
18935 for flag in $(EXTRA_HOST_FLAGS) ; do \
18936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18937 done; \
18938 echo "Doing mostlyclean in perl" ; \
18939 (cd $(HOST_SUBDIR)/perl && \
18940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18942 "RANLIB=$${RANLIB}" \
18943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18944 mostlyclean) \
18945 || exit 1
18947 @endif perl
18949 .PHONY: maybe-clean-perl clean-perl
18950 maybe-clean-perl:
18951 @if perl
18952 maybe-clean-perl: clean-perl
18954 clean-perl:
18955 @[ -f ./perl/Makefile ] || exit 0; \
18956 r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(HOST_EXPORTS) \
18959 for flag in $(EXTRA_HOST_FLAGS) ; do \
18960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18961 done; \
18962 echo "Doing clean in perl" ; \
18963 (cd $(HOST_SUBDIR)/perl && \
18964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18966 "RANLIB=$${RANLIB}" \
18967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18968 clean) \
18969 || exit 1
18971 @endif perl
18973 .PHONY: maybe-distclean-perl distclean-perl
18974 maybe-distclean-perl:
18975 @if perl
18976 maybe-distclean-perl: distclean-perl
18978 distclean-perl:
18979 @[ -f ./perl/Makefile ] || exit 0; \
18980 r=`${PWD_COMMAND}`; export r; \
18981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18982 $(HOST_EXPORTS) \
18983 for flag in $(EXTRA_HOST_FLAGS) ; do \
18984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18985 done; \
18986 echo "Doing distclean in perl" ; \
18987 (cd $(HOST_SUBDIR)/perl && \
18988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18990 "RANLIB=$${RANLIB}" \
18991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18992 distclean) \
18993 || exit 1
18995 @endif perl
18997 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
18998 maybe-maintainer-clean-perl:
18999 @if perl
19000 maybe-maintainer-clean-perl: maintainer-clean-perl
19002 maintainer-clean-perl:
19003 @[ -f ./perl/Makefile ] || exit 0; \
19004 r=`${PWD_COMMAND}`; export r; \
19005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19006 $(HOST_EXPORTS) \
19007 for flag in $(EXTRA_HOST_FLAGS) ; do \
19008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19009 done; \
19010 echo "Doing maintainer-clean in perl" ; \
19011 (cd $(HOST_SUBDIR)/perl && \
19012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19014 "RANLIB=$${RANLIB}" \
19015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19016 maintainer-clean) \
19017 || exit 1
19019 @endif perl
19023 .PHONY: configure-prms maybe-configure-prms
19024 maybe-configure-prms:
19025 @if prms
19026 maybe-configure-prms: configure-prms
19027 configure-prms:
19028 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
19029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
19030 r=`${PWD_COMMAND}`; export r; \
19031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19032 $(HOST_EXPORTS) \
19033 echo Configuring in $(HOST_SUBDIR)/prms; \
19034 cd "$(HOST_SUBDIR)/prms" || exit 1; \
19035 case $(srcdir) in \
19036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19037 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
19038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19039 esac; \
19040 srcdiroption="--srcdir=$${topdir}/prms"; \
19041 libsrcdir="$$s/prms"; \
19042 $(SHELL) $${libsrcdir}/configure \
19043 $(HOST_CONFIGARGS) $${srcdiroption} \
19044 || exit 1
19045 @endif prms
19051 .PHONY: all-prms maybe-all-prms
19052 maybe-all-prms:
19053 @if prms
19054 TARGET-prms=all
19055 maybe-all-prms: all-prms
19056 all-prms: configure-prms
19057 @r=`${PWD_COMMAND}`; export r; \
19058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19059 $(HOST_EXPORTS) \
19060 (cd $(HOST_SUBDIR)/prms && \
19061 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19062 @endif prms
19067 .PHONY: check-prms maybe-check-prms
19068 maybe-check-prms:
19069 @if prms
19070 maybe-check-prms: check-prms
19072 check-prms:
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 $(HOST_EXPORTS) \
19076 (cd $(HOST_SUBDIR)/prms && \
19077 $(MAKE) $(FLAGS_TO_PASS) check)
19079 @endif prms
19081 .PHONY: install-prms maybe-install-prms
19082 maybe-install-prms:
19083 @if prms
19084 maybe-install-prms: install-prms
19086 install-prms: installdirs
19087 @r=`${PWD_COMMAND}`; export r; \
19088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19089 $(HOST_EXPORTS) \
19090 (cd $(HOST_SUBDIR)/prms && \
19091 $(MAKE) $(FLAGS_TO_PASS) install)
19093 @endif prms
19095 # Other targets (info, dvi, etc.)
19097 .PHONY: maybe-info-prms info-prms
19098 maybe-info-prms:
19099 @if prms
19100 maybe-info-prms: info-prms
19102 info-prms: \
19103 configure-prms
19104 @[ -f ./prms/Makefile ] || exit 0; \
19105 r=`${PWD_COMMAND}`; export r; \
19106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19107 $(HOST_EXPORTS) \
19108 for flag in $(EXTRA_HOST_FLAGS) ; do \
19109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19110 done; \
19111 echo "Doing info in prms" ; \
19112 (cd $(HOST_SUBDIR)/prms && \
19113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19115 "RANLIB=$${RANLIB}" \
19116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19117 info) \
19118 || exit 1
19120 @endif prms
19122 .PHONY: maybe-dvi-prms dvi-prms
19123 maybe-dvi-prms:
19124 @if prms
19125 maybe-dvi-prms: dvi-prms
19127 dvi-prms: \
19128 configure-prms
19129 @[ -f ./prms/Makefile ] || exit 0; \
19130 r=`${PWD_COMMAND}`; export r; \
19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19132 $(HOST_EXPORTS) \
19133 for flag in $(EXTRA_HOST_FLAGS) ; do \
19134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19135 done; \
19136 echo "Doing dvi in prms" ; \
19137 (cd $(HOST_SUBDIR)/prms && \
19138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19140 "RANLIB=$${RANLIB}" \
19141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19142 dvi) \
19143 || exit 1
19145 @endif prms
19147 .PHONY: maybe-html-prms html-prms
19148 maybe-html-prms:
19149 @if prms
19150 maybe-html-prms: html-prms
19152 html-prms: \
19153 configure-prms
19154 @[ -f ./prms/Makefile ] || exit 0; \
19155 r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(HOST_EXPORTS) \
19158 for flag in $(EXTRA_HOST_FLAGS) ; do \
19159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19160 done; \
19161 echo "Doing html in prms" ; \
19162 (cd $(HOST_SUBDIR)/prms && \
19163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165 "RANLIB=$${RANLIB}" \
19166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19167 html) \
19168 || exit 1
19170 @endif prms
19172 .PHONY: maybe-TAGS-prms TAGS-prms
19173 maybe-TAGS-prms:
19174 @if prms
19175 maybe-TAGS-prms: TAGS-prms
19177 TAGS-prms: \
19178 configure-prms
19179 @[ -f ./prms/Makefile ] || exit 0; \
19180 r=`${PWD_COMMAND}`; export r; \
19181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19182 $(HOST_EXPORTS) \
19183 for flag in $(EXTRA_HOST_FLAGS) ; do \
19184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19185 done; \
19186 echo "Doing TAGS in prms" ; \
19187 (cd $(HOST_SUBDIR)/prms && \
19188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19190 "RANLIB=$${RANLIB}" \
19191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19192 TAGS) \
19193 || exit 1
19195 @endif prms
19197 .PHONY: maybe-install-info-prms install-info-prms
19198 maybe-install-info-prms:
19199 @if prms
19200 maybe-install-info-prms: install-info-prms
19202 install-info-prms: \
19203 configure-prms \
19204 info-prms
19205 @[ -f ./prms/Makefile ] || exit 0; \
19206 r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19208 $(HOST_EXPORTS) \
19209 for flag in $(EXTRA_HOST_FLAGS) ; do \
19210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19211 done; \
19212 echo "Doing install-info in prms" ; \
19213 (cd $(HOST_SUBDIR)/prms && \
19214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19216 "RANLIB=$${RANLIB}" \
19217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19218 install-info) \
19219 || exit 1
19221 @endif prms
19223 .PHONY: maybe-installcheck-prms installcheck-prms
19224 maybe-installcheck-prms:
19225 @if prms
19226 maybe-installcheck-prms: installcheck-prms
19228 installcheck-prms: \
19229 configure-prms
19230 @[ -f ./prms/Makefile ] || exit 0; \
19231 r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS) ; do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing installcheck in prms" ; \
19238 (cd $(HOST_SUBDIR)/prms && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19243 installcheck) \
19244 || exit 1
19246 @endif prms
19248 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19249 maybe-mostlyclean-prms:
19250 @if prms
19251 maybe-mostlyclean-prms: mostlyclean-prms
19253 mostlyclean-prms:
19254 @[ -f ./prms/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS) ; do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing mostlyclean in prms" ; \
19262 (cd $(HOST_SUBDIR)/prms && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19267 mostlyclean) \
19268 || exit 1
19270 @endif prms
19272 .PHONY: maybe-clean-prms clean-prms
19273 maybe-clean-prms:
19274 @if prms
19275 maybe-clean-prms: clean-prms
19277 clean-prms:
19278 @[ -f ./prms/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing clean in prms" ; \
19286 (cd $(HOST_SUBDIR)/prms && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19291 clean) \
19292 || exit 1
19294 @endif prms
19296 .PHONY: maybe-distclean-prms distclean-prms
19297 maybe-distclean-prms:
19298 @if prms
19299 maybe-distclean-prms: distclean-prms
19301 distclean-prms:
19302 @[ -f ./prms/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing distclean in prms" ; \
19310 (cd $(HOST_SUBDIR)/prms && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 distclean) \
19316 || exit 1
19318 @endif prms
19320 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
19321 maybe-maintainer-clean-prms:
19322 @if prms
19323 maybe-maintainer-clean-prms: maintainer-clean-prms
19325 maintainer-clean-prms:
19326 @[ -f ./prms/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 for flag in $(EXTRA_HOST_FLAGS) ; do \
19331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 done; \
19333 echo "Doing maintainer-clean in prms" ; \
19334 (cd $(HOST_SUBDIR)/prms && \
19335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19337 "RANLIB=$${RANLIB}" \
19338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19339 maintainer-clean) \
19340 || exit 1
19342 @endif prms
19346 .PHONY: configure-rcs maybe-configure-rcs
19347 maybe-configure-rcs:
19348 @if rcs
19349 maybe-configure-rcs: configure-rcs
19350 configure-rcs:
19351 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
19352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 echo Configuring in $(HOST_SUBDIR)/rcs; \
19357 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
19358 case $(srcdir) in \
19359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19360 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
19361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19362 esac; \
19363 srcdiroption="--srcdir=$${topdir}/rcs"; \
19364 libsrcdir="$$s/rcs"; \
19365 $(SHELL) $${libsrcdir}/configure \
19366 $(HOST_CONFIGARGS) $${srcdiroption} \
19367 || exit 1
19368 @endif rcs
19374 .PHONY: all-rcs maybe-all-rcs
19375 maybe-all-rcs:
19376 @if rcs
19377 TARGET-rcs=all
19378 maybe-all-rcs: all-rcs
19379 all-rcs: configure-rcs
19380 @r=`${PWD_COMMAND}`; export r; \
19381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19382 $(HOST_EXPORTS) \
19383 (cd $(HOST_SUBDIR)/rcs && \
19384 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
19385 @endif rcs
19390 .PHONY: check-rcs maybe-check-rcs
19391 maybe-check-rcs:
19392 @if rcs
19393 maybe-check-rcs: check-rcs
19395 check-rcs:
19396 @r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(HOST_EXPORTS) \
19399 (cd $(HOST_SUBDIR)/rcs && \
19400 $(MAKE) $(FLAGS_TO_PASS) check)
19402 @endif rcs
19404 .PHONY: install-rcs maybe-install-rcs
19405 maybe-install-rcs:
19406 @if rcs
19407 maybe-install-rcs: install-rcs
19409 install-rcs: installdirs
19410 @r=`${PWD_COMMAND}`; export r; \
19411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19412 $(HOST_EXPORTS) \
19413 (cd $(HOST_SUBDIR)/rcs && \
19414 $(MAKE) $(FLAGS_TO_PASS) install)
19416 @endif rcs
19418 # Other targets (info, dvi, etc.)
19420 .PHONY: maybe-info-rcs info-rcs
19421 maybe-info-rcs:
19422 @if rcs
19423 maybe-info-rcs: info-rcs
19425 info-rcs: \
19426 configure-rcs
19427 @[ -f ./rcs/Makefile ] || exit 0; \
19428 r=`${PWD_COMMAND}`; export r; \
19429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19430 $(HOST_EXPORTS) \
19431 for flag in $(EXTRA_HOST_FLAGS) ; do \
19432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19433 done; \
19434 echo "Doing info in rcs" ; \
19435 (cd $(HOST_SUBDIR)/rcs && \
19436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19438 "RANLIB=$${RANLIB}" \
19439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19440 info) \
19441 || exit 1
19443 @endif rcs
19445 .PHONY: maybe-dvi-rcs dvi-rcs
19446 maybe-dvi-rcs:
19447 @if rcs
19448 maybe-dvi-rcs: dvi-rcs
19450 dvi-rcs: \
19451 configure-rcs
19452 @[ -f ./rcs/Makefile ] || exit 0; \
19453 r=`${PWD_COMMAND}`; export r; \
19454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19455 $(HOST_EXPORTS) \
19456 for flag in $(EXTRA_HOST_FLAGS) ; do \
19457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19458 done; \
19459 echo "Doing dvi in rcs" ; \
19460 (cd $(HOST_SUBDIR)/rcs && \
19461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19463 "RANLIB=$${RANLIB}" \
19464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19465 dvi) \
19466 || exit 1
19468 @endif rcs
19470 .PHONY: maybe-html-rcs html-rcs
19471 maybe-html-rcs:
19472 @if rcs
19473 maybe-html-rcs: html-rcs
19475 html-rcs: \
19476 configure-rcs
19477 @[ -f ./rcs/Makefile ] || exit 0; \
19478 r=`${PWD_COMMAND}`; export r; \
19479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing html in rcs" ; \
19485 (cd $(HOST_SUBDIR)/rcs && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19490 html) \
19491 || exit 1
19493 @endif rcs
19495 .PHONY: maybe-TAGS-rcs TAGS-rcs
19496 maybe-TAGS-rcs:
19497 @if rcs
19498 maybe-TAGS-rcs: TAGS-rcs
19500 TAGS-rcs: \
19501 configure-rcs
19502 @[ -f ./rcs/Makefile ] || exit 0; \
19503 r=`${PWD_COMMAND}`; export r; \
19504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19505 $(HOST_EXPORTS) \
19506 for flag in $(EXTRA_HOST_FLAGS) ; do \
19507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19508 done; \
19509 echo "Doing TAGS in rcs" ; \
19510 (cd $(HOST_SUBDIR)/rcs && \
19511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19513 "RANLIB=$${RANLIB}" \
19514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19515 TAGS) \
19516 || exit 1
19518 @endif rcs
19520 .PHONY: maybe-install-info-rcs install-info-rcs
19521 maybe-install-info-rcs:
19522 @if rcs
19523 maybe-install-info-rcs: install-info-rcs
19525 install-info-rcs: \
19526 configure-rcs \
19527 info-rcs
19528 @[ -f ./rcs/Makefile ] || exit 0; \
19529 r=`${PWD_COMMAND}`; export r; \
19530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19531 $(HOST_EXPORTS) \
19532 for flag in $(EXTRA_HOST_FLAGS) ; do \
19533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19534 done; \
19535 echo "Doing install-info in rcs" ; \
19536 (cd $(HOST_SUBDIR)/rcs && \
19537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19539 "RANLIB=$${RANLIB}" \
19540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19541 install-info) \
19542 || exit 1
19544 @endif rcs
19546 .PHONY: maybe-installcheck-rcs installcheck-rcs
19547 maybe-installcheck-rcs:
19548 @if rcs
19549 maybe-installcheck-rcs: installcheck-rcs
19551 installcheck-rcs: \
19552 configure-rcs
19553 @[ -f ./rcs/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 $(HOST_EXPORTS) \
19557 for flag in $(EXTRA_HOST_FLAGS) ; do \
19558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19559 done; \
19560 echo "Doing installcheck in rcs" ; \
19561 (cd $(HOST_SUBDIR)/rcs && \
19562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19564 "RANLIB=$${RANLIB}" \
19565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19566 installcheck) \
19567 || exit 1
19569 @endif rcs
19571 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
19572 maybe-mostlyclean-rcs:
19573 @if rcs
19574 maybe-mostlyclean-rcs: mostlyclean-rcs
19576 mostlyclean-rcs:
19577 @[ -f ./rcs/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 $(HOST_EXPORTS) \
19581 for flag in $(EXTRA_HOST_FLAGS) ; do \
19582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19583 done; \
19584 echo "Doing mostlyclean in rcs" ; \
19585 (cd $(HOST_SUBDIR)/rcs && \
19586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19588 "RANLIB=$${RANLIB}" \
19589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19590 mostlyclean) \
19591 || exit 1
19593 @endif rcs
19595 .PHONY: maybe-clean-rcs clean-rcs
19596 maybe-clean-rcs:
19597 @if rcs
19598 maybe-clean-rcs: clean-rcs
19600 clean-rcs:
19601 @[ -f ./rcs/Makefile ] || exit 0; \
19602 r=`${PWD_COMMAND}`; export r; \
19603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19604 $(HOST_EXPORTS) \
19605 for flag in $(EXTRA_HOST_FLAGS) ; do \
19606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19607 done; \
19608 echo "Doing clean in rcs" ; \
19609 (cd $(HOST_SUBDIR)/rcs && \
19610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19612 "RANLIB=$${RANLIB}" \
19613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19614 clean) \
19615 || exit 1
19617 @endif rcs
19619 .PHONY: maybe-distclean-rcs distclean-rcs
19620 maybe-distclean-rcs:
19621 @if rcs
19622 maybe-distclean-rcs: distclean-rcs
19624 distclean-rcs:
19625 @[ -f ./rcs/Makefile ] || exit 0; \
19626 r=`${PWD_COMMAND}`; export r; \
19627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19628 $(HOST_EXPORTS) \
19629 for flag in $(EXTRA_HOST_FLAGS) ; do \
19630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19631 done; \
19632 echo "Doing distclean in rcs" ; \
19633 (cd $(HOST_SUBDIR)/rcs && \
19634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19636 "RANLIB=$${RANLIB}" \
19637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19638 distclean) \
19639 || exit 1
19641 @endif rcs
19643 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
19644 maybe-maintainer-clean-rcs:
19645 @if rcs
19646 maybe-maintainer-clean-rcs: maintainer-clean-rcs
19648 maintainer-clean-rcs:
19649 @[ -f ./rcs/Makefile ] || exit 0; \
19650 r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 for flag in $(EXTRA_HOST_FLAGS) ; do \
19654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19655 done; \
19656 echo "Doing maintainer-clean in rcs" ; \
19657 (cd $(HOST_SUBDIR)/rcs && \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19660 "RANLIB=$${RANLIB}" \
19661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19662 maintainer-clean) \
19663 || exit 1
19665 @endif rcs
19669 .PHONY: configure-readline maybe-configure-readline
19670 maybe-configure-readline:
19671 @if readline
19672 maybe-configure-readline: configure-readline
19673 configure-readline:
19674 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
19675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
19676 r=`${PWD_COMMAND}`; export r; \
19677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 $(HOST_EXPORTS) \
19679 echo Configuring in $(HOST_SUBDIR)/readline; \
19680 cd "$(HOST_SUBDIR)/readline" || exit 1; \
19681 case $(srcdir) in \
19682 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19683 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
19684 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19685 esac; \
19686 srcdiroption="--srcdir=$${topdir}/readline"; \
19687 libsrcdir="$$s/readline"; \
19688 $(SHELL) $${libsrcdir}/configure \
19689 $(HOST_CONFIGARGS) $${srcdiroption} \
19690 || exit 1
19691 @endif readline
19697 .PHONY: all-readline maybe-all-readline
19698 maybe-all-readline:
19699 @if readline
19700 TARGET-readline=all
19701 maybe-all-readline: all-readline
19702 all-readline: configure-readline
19703 @r=`${PWD_COMMAND}`; export r; \
19704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19705 $(HOST_EXPORTS) \
19706 (cd $(HOST_SUBDIR)/readline && \
19707 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
19708 @endif readline
19713 .PHONY: check-readline maybe-check-readline
19714 maybe-check-readline:
19715 @if readline
19716 maybe-check-readline: check-readline
19718 check-readline:
19719 @r=`${PWD_COMMAND}`; export r; \
19720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19721 $(HOST_EXPORTS) \
19722 (cd $(HOST_SUBDIR)/readline && \
19723 $(MAKE) $(FLAGS_TO_PASS) check)
19725 @endif readline
19727 .PHONY: install-readline maybe-install-readline
19728 maybe-install-readline:
19729 @if readline
19730 maybe-install-readline: install-readline
19732 install-readline: installdirs
19733 @r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(HOST_EXPORTS) \
19736 (cd $(HOST_SUBDIR)/readline && \
19737 $(MAKE) $(FLAGS_TO_PASS) install)
19739 @endif readline
19741 # Other targets (info, dvi, etc.)
19743 .PHONY: maybe-info-readline info-readline
19744 maybe-info-readline:
19745 @if readline
19746 maybe-info-readline: info-readline
19748 info-readline: \
19749 configure-readline
19750 @[ -f ./readline/Makefile ] || exit 0; \
19751 r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(HOST_EXPORTS) \
19754 for flag in $(EXTRA_HOST_FLAGS) ; do \
19755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19756 done; \
19757 echo "Doing info in readline" ; \
19758 (cd $(HOST_SUBDIR)/readline && \
19759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19761 "RANLIB=$${RANLIB}" \
19762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19763 info) \
19764 || exit 1
19766 @endif readline
19768 .PHONY: maybe-dvi-readline dvi-readline
19769 maybe-dvi-readline:
19770 @if readline
19771 maybe-dvi-readline: dvi-readline
19773 dvi-readline: \
19774 configure-readline
19775 @[ -f ./readline/Makefile ] || exit 0; \
19776 r=`${PWD_COMMAND}`; export r; \
19777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19778 $(HOST_EXPORTS) \
19779 for flag in $(EXTRA_HOST_FLAGS) ; do \
19780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19781 done; \
19782 echo "Doing dvi in readline" ; \
19783 (cd $(HOST_SUBDIR)/readline && \
19784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19786 "RANLIB=$${RANLIB}" \
19787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19788 dvi) \
19789 || exit 1
19791 @endif readline
19793 .PHONY: maybe-html-readline html-readline
19794 maybe-html-readline:
19795 @if readline
19796 maybe-html-readline: html-readline
19798 html-readline: \
19799 configure-readline
19800 @[ -f ./readline/Makefile ] || exit 0; \
19801 r=`${PWD_COMMAND}`; export r; \
19802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19803 $(HOST_EXPORTS) \
19804 for flag in $(EXTRA_HOST_FLAGS) ; do \
19805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19806 done; \
19807 echo "Doing html in readline" ; \
19808 (cd $(HOST_SUBDIR)/readline && \
19809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19811 "RANLIB=$${RANLIB}" \
19812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19813 html) \
19814 || exit 1
19816 @endif readline
19818 .PHONY: maybe-TAGS-readline TAGS-readline
19819 maybe-TAGS-readline:
19820 @if readline
19821 maybe-TAGS-readline: TAGS-readline
19823 TAGS-readline: \
19824 configure-readline
19825 @[ -f ./readline/Makefile ] || exit 0; \
19826 r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 $(HOST_EXPORTS) \
19829 for flag in $(EXTRA_HOST_FLAGS) ; do \
19830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19831 done; \
19832 echo "Doing TAGS in readline" ; \
19833 (cd $(HOST_SUBDIR)/readline && \
19834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19836 "RANLIB=$${RANLIB}" \
19837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19838 TAGS) \
19839 || exit 1
19841 @endif readline
19843 .PHONY: maybe-install-info-readline install-info-readline
19844 maybe-install-info-readline:
19845 @if readline
19846 maybe-install-info-readline: install-info-readline
19848 install-info-readline: \
19849 configure-readline \
19850 info-readline
19851 @[ -f ./readline/Makefile ] || exit 0; \
19852 r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 $(HOST_EXPORTS) \
19855 for flag in $(EXTRA_HOST_FLAGS) ; do \
19856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19857 done; \
19858 echo "Doing install-info in readline" ; \
19859 (cd $(HOST_SUBDIR)/readline && \
19860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19862 "RANLIB=$${RANLIB}" \
19863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19864 install-info) \
19865 || exit 1
19867 @endif readline
19869 .PHONY: maybe-installcheck-readline installcheck-readline
19870 maybe-installcheck-readline:
19871 @if readline
19872 maybe-installcheck-readline: installcheck-readline
19874 installcheck-readline: \
19875 configure-readline
19876 @[ -f ./readline/Makefile ] || exit 0; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 $(HOST_EXPORTS) \
19880 for flag in $(EXTRA_HOST_FLAGS) ; do \
19881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19882 done; \
19883 echo "Doing installcheck in readline" ; \
19884 (cd $(HOST_SUBDIR)/readline && \
19885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19887 "RANLIB=$${RANLIB}" \
19888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19889 installcheck) \
19890 || exit 1
19892 @endif readline
19894 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
19895 maybe-mostlyclean-readline:
19896 @if readline
19897 maybe-mostlyclean-readline: mostlyclean-readline
19899 mostlyclean-readline:
19900 @[ -f ./readline/Makefile ] || exit 0; \
19901 r=`${PWD_COMMAND}`; export r; \
19902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19903 $(HOST_EXPORTS) \
19904 for flag in $(EXTRA_HOST_FLAGS) ; do \
19905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19906 done; \
19907 echo "Doing mostlyclean in readline" ; \
19908 (cd $(HOST_SUBDIR)/readline && \
19909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19911 "RANLIB=$${RANLIB}" \
19912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19913 mostlyclean) \
19914 || exit 1
19916 @endif readline
19918 .PHONY: maybe-clean-readline clean-readline
19919 maybe-clean-readline:
19920 @if readline
19921 maybe-clean-readline: clean-readline
19923 clean-readline:
19924 @[ -f ./readline/Makefile ] || exit 0; \
19925 r=`${PWD_COMMAND}`; export r; \
19926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19927 $(HOST_EXPORTS) \
19928 for flag in $(EXTRA_HOST_FLAGS) ; do \
19929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19930 done; \
19931 echo "Doing clean in readline" ; \
19932 (cd $(HOST_SUBDIR)/readline && \
19933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19935 "RANLIB=$${RANLIB}" \
19936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19937 clean) \
19938 || exit 1
19940 @endif readline
19942 .PHONY: maybe-distclean-readline distclean-readline
19943 maybe-distclean-readline:
19944 @if readline
19945 maybe-distclean-readline: distclean-readline
19947 distclean-readline:
19948 @[ -f ./readline/Makefile ] || exit 0; \
19949 r=`${PWD_COMMAND}`; export r; \
19950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19951 $(HOST_EXPORTS) \
19952 for flag in $(EXTRA_HOST_FLAGS) ; do \
19953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19954 done; \
19955 echo "Doing distclean in readline" ; \
19956 (cd $(HOST_SUBDIR)/readline && \
19957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19959 "RANLIB=$${RANLIB}" \
19960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19961 distclean) \
19962 || exit 1
19964 @endif readline
19966 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
19967 maybe-maintainer-clean-readline:
19968 @if readline
19969 maybe-maintainer-clean-readline: maintainer-clean-readline
19971 maintainer-clean-readline:
19972 @[ -f ./readline/Makefile ] || exit 0; \
19973 r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 $(HOST_EXPORTS) \
19976 for flag in $(EXTRA_HOST_FLAGS) ; do \
19977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19978 done; \
19979 echo "Doing maintainer-clean in readline" ; \
19980 (cd $(HOST_SUBDIR)/readline && \
19981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19983 "RANLIB=$${RANLIB}" \
19984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19985 maintainer-clean) \
19986 || exit 1
19988 @endif readline
19992 .PHONY: configure-release maybe-configure-release
19993 maybe-configure-release:
19994 @if release
19995 maybe-configure-release: configure-release
19996 configure-release:
19997 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
19998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
19999 r=`${PWD_COMMAND}`; export r; \
20000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20001 $(HOST_EXPORTS) \
20002 echo Configuring in $(HOST_SUBDIR)/release; \
20003 cd "$(HOST_SUBDIR)/release" || exit 1; \
20004 case $(srcdir) in \
20005 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20006 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
20007 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20008 esac; \
20009 srcdiroption="--srcdir=$${topdir}/release"; \
20010 libsrcdir="$$s/release"; \
20011 $(SHELL) $${libsrcdir}/configure \
20012 $(HOST_CONFIGARGS) $${srcdiroption} \
20013 || exit 1
20014 @endif release
20020 .PHONY: all-release maybe-all-release
20021 maybe-all-release:
20022 @if release
20023 TARGET-release=all
20024 maybe-all-release: all-release
20025 all-release: configure-release
20026 @r=`${PWD_COMMAND}`; export r; \
20027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 $(HOST_EXPORTS) \
20029 (cd $(HOST_SUBDIR)/release && \
20030 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20031 @endif release
20036 .PHONY: check-release maybe-check-release
20037 maybe-check-release:
20038 @if release
20039 maybe-check-release: check-release
20041 check-release:
20043 @endif release
20045 .PHONY: install-release maybe-install-release
20046 maybe-install-release:
20047 @if release
20048 maybe-install-release: install-release
20050 install-release:
20052 @endif release
20054 # Other targets (info, dvi, etc.)
20056 .PHONY: maybe-info-release info-release
20057 maybe-info-release:
20058 @if release
20059 maybe-info-release: info-release
20061 info-release: \
20062 configure-release
20063 @[ -f ./release/Makefile ] || exit 0; \
20064 r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 $(HOST_EXPORTS) \
20067 for flag in $(EXTRA_HOST_FLAGS) ; do \
20068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20069 done; \
20070 echo "Doing info in release" ; \
20071 (cd $(HOST_SUBDIR)/release && \
20072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20074 "RANLIB=$${RANLIB}" \
20075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20076 info) \
20077 || exit 1
20079 @endif release
20081 .PHONY: maybe-dvi-release dvi-release
20082 maybe-dvi-release:
20083 @if release
20084 maybe-dvi-release: dvi-release
20086 dvi-release: \
20087 configure-release
20088 @[ -f ./release/Makefile ] || exit 0; \
20089 r=`${PWD_COMMAND}`; export r; \
20090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20091 $(HOST_EXPORTS) \
20092 for flag in $(EXTRA_HOST_FLAGS) ; do \
20093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20094 done; \
20095 echo "Doing dvi in release" ; \
20096 (cd $(HOST_SUBDIR)/release && \
20097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20099 "RANLIB=$${RANLIB}" \
20100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20101 dvi) \
20102 || exit 1
20104 @endif release
20106 .PHONY: maybe-html-release html-release
20107 maybe-html-release:
20108 @if release
20109 maybe-html-release: html-release
20111 html-release: \
20112 configure-release
20113 @[ -f ./release/Makefile ] || exit 0; \
20114 r=`${PWD_COMMAND}`; export r; \
20115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20116 $(HOST_EXPORTS) \
20117 for flag in $(EXTRA_HOST_FLAGS) ; do \
20118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20119 done; \
20120 echo "Doing html in release" ; \
20121 (cd $(HOST_SUBDIR)/release && \
20122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20124 "RANLIB=$${RANLIB}" \
20125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20126 html) \
20127 || exit 1
20129 @endif release
20131 .PHONY: maybe-TAGS-release TAGS-release
20132 maybe-TAGS-release:
20133 @if release
20134 maybe-TAGS-release: TAGS-release
20136 TAGS-release: \
20137 configure-release
20138 @[ -f ./release/Makefile ] || exit 0; \
20139 r=`${PWD_COMMAND}`; export r; \
20140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20141 $(HOST_EXPORTS) \
20142 for flag in $(EXTRA_HOST_FLAGS) ; do \
20143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20144 done; \
20145 echo "Doing TAGS in release" ; \
20146 (cd $(HOST_SUBDIR)/release && \
20147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20149 "RANLIB=$${RANLIB}" \
20150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20151 TAGS) \
20152 || exit 1
20154 @endif release
20156 .PHONY: maybe-install-info-release install-info-release
20157 maybe-install-info-release:
20158 @if release
20159 maybe-install-info-release: install-info-release
20161 install-info-release: \
20162 configure-release \
20163 info-release
20164 @[ -f ./release/Makefile ] || exit 0; \
20165 r=`${PWD_COMMAND}`; export r; \
20166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20167 $(HOST_EXPORTS) \
20168 for flag in $(EXTRA_HOST_FLAGS) ; do \
20169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20170 done; \
20171 echo "Doing install-info in release" ; \
20172 (cd $(HOST_SUBDIR)/release && \
20173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20175 "RANLIB=$${RANLIB}" \
20176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20177 install-info) \
20178 || exit 1
20180 @endif release
20182 .PHONY: maybe-installcheck-release installcheck-release
20183 maybe-installcheck-release:
20184 @if release
20185 maybe-installcheck-release: installcheck-release
20187 installcheck-release: \
20188 configure-release
20189 @[ -f ./release/Makefile ] || exit 0; \
20190 r=`${PWD_COMMAND}`; export r; \
20191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20192 $(HOST_EXPORTS) \
20193 for flag in $(EXTRA_HOST_FLAGS) ; do \
20194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20195 done; \
20196 echo "Doing installcheck in release" ; \
20197 (cd $(HOST_SUBDIR)/release && \
20198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20200 "RANLIB=$${RANLIB}" \
20201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20202 installcheck) \
20203 || exit 1
20205 @endif release
20207 .PHONY: maybe-mostlyclean-release mostlyclean-release
20208 maybe-mostlyclean-release:
20209 @if release
20210 maybe-mostlyclean-release: mostlyclean-release
20212 mostlyclean-release:
20213 @[ -f ./release/Makefile ] || exit 0; \
20214 r=`${PWD_COMMAND}`; export r; \
20215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20216 $(HOST_EXPORTS) \
20217 for flag in $(EXTRA_HOST_FLAGS) ; do \
20218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20219 done; \
20220 echo "Doing mostlyclean in release" ; \
20221 (cd $(HOST_SUBDIR)/release && \
20222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20224 "RANLIB=$${RANLIB}" \
20225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20226 mostlyclean) \
20227 || exit 1
20229 @endif release
20231 .PHONY: maybe-clean-release clean-release
20232 maybe-clean-release:
20233 @if release
20234 maybe-clean-release: clean-release
20236 clean-release:
20237 @[ -f ./release/Makefile ] || exit 0; \
20238 r=`${PWD_COMMAND}`; export r; \
20239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20240 $(HOST_EXPORTS) \
20241 for flag in $(EXTRA_HOST_FLAGS) ; do \
20242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20243 done; \
20244 echo "Doing clean in release" ; \
20245 (cd $(HOST_SUBDIR)/release && \
20246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20248 "RANLIB=$${RANLIB}" \
20249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20250 clean) \
20251 || exit 1
20253 @endif release
20255 .PHONY: maybe-distclean-release distclean-release
20256 maybe-distclean-release:
20257 @if release
20258 maybe-distclean-release: distclean-release
20260 distclean-release:
20261 @[ -f ./release/Makefile ] || exit 0; \
20262 r=`${PWD_COMMAND}`; export r; \
20263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 $(HOST_EXPORTS) \
20265 for flag in $(EXTRA_HOST_FLAGS) ; do \
20266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 done; \
20268 echo "Doing distclean in release" ; \
20269 (cd $(HOST_SUBDIR)/release && \
20270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20272 "RANLIB=$${RANLIB}" \
20273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20274 distclean) \
20275 || exit 1
20277 @endif release
20279 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
20280 maybe-maintainer-clean-release:
20281 @if release
20282 maybe-maintainer-clean-release: maintainer-clean-release
20284 maintainer-clean-release:
20285 @[ -f ./release/Makefile ] || exit 0; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 done; \
20292 echo "Doing maintainer-clean in release" ; \
20293 (cd $(HOST_SUBDIR)/release && \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20298 maintainer-clean) \
20299 || exit 1
20301 @endif release
20305 .PHONY: configure-recode maybe-configure-recode
20306 maybe-configure-recode:
20307 @if recode
20308 maybe-configure-recode: configure-recode
20309 configure-recode:
20310 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
20311 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
20312 r=`${PWD_COMMAND}`; export r; \
20313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 $(HOST_EXPORTS) \
20315 echo Configuring in $(HOST_SUBDIR)/recode; \
20316 cd "$(HOST_SUBDIR)/recode" || exit 1; \
20317 case $(srcdir) in \
20318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20319 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
20320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20321 esac; \
20322 srcdiroption="--srcdir=$${topdir}/recode"; \
20323 libsrcdir="$$s/recode"; \
20324 $(SHELL) $${libsrcdir}/configure \
20325 $(HOST_CONFIGARGS) $${srcdiroption} \
20326 || exit 1
20327 @endif recode
20333 .PHONY: all-recode maybe-all-recode
20334 maybe-all-recode:
20335 @if recode
20336 TARGET-recode=all
20337 maybe-all-recode: all-recode
20338 all-recode: configure-recode
20339 @r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 $(HOST_EXPORTS) \
20342 (cd $(HOST_SUBDIR)/recode && \
20343 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
20344 @endif recode
20349 .PHONY: check-recode maybe-check-recode
20350 maybe-check-recode:
20351 @if recode
20352 maybe-check-recode: check-recode
20354 check-recode:
20355 @r=`${PWD_COMMAND}`; export r; \
20356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20357 $(HOST_EXPORTS) \
20358 (cd $(HOST_SUBDIR)/recode && \
20359 $(MAKE) $(FLAGS_TO_PASS) check)
20361 @endif recode
20363 .PHONY: install-recode maybe-install-recode
20364 maybe-install-recode:
20365 @if recode
20366 maybe-install-recode: install-recode
20368 install-recode: installdirs
20369 @r=`${PWD_COMMAND}`; export r; \
20370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20371 $(HOST_EXPORTS) \
20372 (cd $(HOST_SUBDIR)/recode && \
20373 $(MAKE) $(FLAGS_TO_PASS) install)
20375 @endif recode
20377 # Other targets (info, dvi, etc.)
20379 .PHONY: maybe-info-recode info-recode
20380 maybe-info-recode:
20381 @if recode
20382 maybe-info-recode: info-recode
20384 info-recode: \
20385 configure-recode
20386 @[ -f ./recode/Makefile ] || exit 0; \
20387 r=`${PWD_COMMAND}`; export r; \
20388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20389 $(HOST_EXPORTS) \
20390 for flag in $(EXTRA_HOST_FLAGS) ; do \
20391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20392 done; \
20393 echo "Doing info in recode" ; \
20394 (cd $(HOST_SUBDIR)/recode && \
20395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20397 "RANLIB=$${RANLIB}" \
20398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20399 info) \
20400 || exit 1
20402 @endif recode
20404 .PHONY: maybe-dvi-recode dvi-recode
20405 maybe-dvi-recode:
20406 @if recode
20407 maybe-dvi-recode: dvi-recode
20409 dvi-recode: \
20410 configure-recode
20411 @[ -f ./recode/Makefile ] || exit 0; \
20412 r=`${PWD_COMMAND}`; export r; \
20413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20414 $(HOST_EXPORTS) \
20415 for flag in $(EXTRA_HOST_FLAGS) ; do \
20416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20417 done; \
20418 echo "Doing dvi in recode" ; \
20419 (cd $(HOST_SUBDIR)/recode && \
20420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20422 "RANLIB=$${RANLIB}" \
20423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20424 dvi) \
20425 || exit 1
20427 @endif recode
20429 .PHONY: maybe-html-recode html-recode
20430 maybe-html-recode:
20431 @if recode
20432 maybe-html-recode: html-recode
20434 html-recode: \
20435 configure-recode
20436 @[ -f ./recode/Makefile ] || exit 0; \
20437 r=`${PWD_COMMAND}`; export r; \
20438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20439 $(HOST_EXPORTS) \
20440 for flag in $(EXTRA_HOST_FLAGS) ; do \
20441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20442 done; \
20443 echo "Doing html in recode" ; \
20444 (cd $(HOST_SUBDIR)/recode && \
20445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20447 "RANLIB=$${RANLIB}" \
20448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20449 html) \
20450 || exit 1
20452 @endif recode
20454 .PHONY: maybe-TAGS-recode TAGS-recode
20455 maybe-TAGS-recode:
20456 @if recode
20457 maybe-TAGS-recode: TAGS-recode
20459 TAGS-recode: \
20460 configure-recode
20461 @[ -f ./recode/Makefile ] || exit 0; \
20462 r=`${PWD_COMMAND}`; export r; \
20463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20464 $(HOST_EXPORTS) \
20465 for flag in $(EXTRA_HOST_FLAGS) ; do \
20466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20467 done; \
20468 echo "Doing TAGS in recode" ; \
20469 (cd $(HOST_SUBDIR)/recode && \
20470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20472 "RANLIB=$${RANLIB}" \
20473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20474 TAGS) \
20475 || exit 1
20477 @endif recode
20479 .PHONY: maybe-install-info-recode install-info-recode
20480 maybe-install-info-recode:
20481 @if recode
20482 maybe-install-info-recode: install-info-recode
20484 install-info-recode: \
20485 configure-recode \
20486 info-recode
20487 @[ -f ./recode/Makefile ] || exit 0; \
20488 r=`${PWD_COMMAND}`; export r; \
20489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20490 $(HOST_EXPORTS) \
20491 for flag in $(EXTRA_HOST_FLAGS) ; do \
20492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20493 done; \
20494 echo "Doing install-info in recode" ; \
20495 (cd $(HOST_SUBDIR)/recode && \
20496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20498 "RANLIB=$${RANLIB}" \
20499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20500 install-info) \
20501 || exit 1
20503 @endif recode
20505 .PHONY: maybe-installcheck-recode installcheck-recode
20506 maybe-installcheck-recode:
20507 @if recode
20508 maybe-installcheck-recode: installcheck-recode
20510 installcheck-recode: \
20511 configure-recode
20512 @[ -f ./recode/Makefile ] || exit 0; \
20513 r=`${PWD_COMMAND}`; export r; \
20514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 $(HOST_EXPORTS) \
20516 for flag in $(EXTRA_HOST_FLAGS) ; do \
20517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518 done; \
20519 echo "Doing installcheck in recode" ; \
20520 (cd $(HOST_SUBDIR)/recode && \
20521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20523 "RANLIB=$${RANLIB}" \
20524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20525 installcheck) \
20526 || exit 1
20528 @endif recode
20530 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
20531 maybe-mostlyclean-recode:
20532 @if recode
20533 maybe-mostlyclean-recode: mostlyclean-recode
20535 mostlyclean-recode:
20536 @[ -f ./recode/Makefile ] || exit 0; \
20537 r=`${PWD_COMMAND}`; export r; \
20538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20539 $(HOST_EXPORTS) \
20540 for flag in $(EXTRA_HOST_FLAGS) ; do \
20541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20542 done; \
20543 echo "Doing mostlyclean in recode" ; \
20544 (cd $(HOST_SUBDIR)/recode && \
20545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20547 "RANLIB=$${RANLIB}" \
20548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20549 mostlyclean) \
20550 || exit 1
20552 @endif recode
20554 .PHONY: maybe-clean-recode clean-recode
20555 maybe-clean-recode:
20556 @if recode
20557 maybe-clean-recode: clean-recode
20559 clean-recode:
20560 @[ -f ./recode/Makefile ] || exit 0; \
20561 r=`${PWD_COMMAND}`; export r; \
20562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20563 $(HOST_EXPORTS) \
20564 for flag in $(EXTRA_HOST_FLAGS) ; do \
20565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20566 done; \
20567 echo "Doing clean in recode" ; \
20568 (cd $(HOST_SUBDIR)/recode && \
20569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20571 "RANLIB=$${RANLIB}" \
20572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20573 clean) \
20574 || exit 1
20576 @endif recode
20578 .PHONY: maybe-distclean-recode distclean-recode
20579 maybe-distclean-recode:
20580 @if recode
20581 maybe-distclean-recode: distclean-recode
20583 distclean-recode:
20584 @[ -f ./recode/Makefile ] || exit 0; \
20585 r=`${PWD_COMMAND}`; export r; \
20586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20587 $(HOST_EXPORTS) \
20588 for flag in $(EXTRA_HOST_FLAGS) ; do \
20589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20590 done; \
20591 echo "Doing distclean in recode" ; \
20592 (cd $(HOST_SUBDIR)/recode && \
20593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20595 "RANLIB=$${RANLIB}" \
20596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20597 distclean) \
20598 || exit 1
20600 @endif recode
20602 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
20603 maybe-maintainer-clean-recode:
20604 @if recode
20605 maybe-maintainer-clean-recode: maintainer-clean-recode
20607 maintainer-clean-recode:
20608 @[ -f ./recode/Makefile ] || exit 0; \
20609 r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 $(HOST_EXPORTS) \
20612 for flag in $(EXTRA_HOST_FLAGS) ; do \
20613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20614 done; \
20615 echo "Doing maintainer-clean in recode" ; \
20616 (cd $(HOST_SUBDIR)/recode && \
20617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20619 "RANLIB=$${RANLIB}" \
20620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20621 maintainer-clean) \
20622 || exit 1
20624 @endif recode
20628 .PHONY: configure-sed maybe-configure-sed
20629 maybe-configure-sed:
20630 @if sed
20631 maybe-configure-sed: configure-sed
20632 configure-sed:
20633 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
20634 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
20635 r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20637 $(HOST_EXPORTS) \
20638 echo Configuring in $(HOST_SUBDIR)/sed; \
20639 cd "$(HOST_SUBDIR)/sed" || exit 1; \
20640 case $(srcdir) in \
20641 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20642 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
20643 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20644 esac; \
20645 srcdiroption="--srcdir=$${topdir}/sed"; \
20646 libsrcdir="$$s/sed"; \
20647 $(SHELL) $${libsrcdir}/configure \
20648 $(HOST_CONFIGARGS) $${srcdiroption} \
20649 || exit 1
20650 @endif sed
20656 .PHONY: all-sed maybe-all-sed
20657 maybe-all-sed:
20658 @if sed
20659 TARGET-sed=all
20660 maybe-all-sed: all-sed
20661 all-sed: configure-sed
20662 @r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 $(HOST_EXPORTS) \
20665 (cd $(HOST_SUBDIR)/sed && \
20666 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
20667 @endif sed
20672 .PHONY: check-sed maybe-check-sed
20673 maybe-check-sed:
20674 @if sed
20675 maybe-check-sed: check-sed
20677 check-sed:
20678 @r=`${PWD_COMMAND}`; export r; \
20679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 $(HOST_EXPORTS) \
20681 (cd $(HOST_SUBDIR)/sed && \
20682 $(MAKE) $(FLAGS_TO_PASS) check)
20684 @endif sed
20686 .PHONY: install-sed maybe-install-sed
20687 maybe-install-sed:
20688 @if sed
20689 maybe-install-sed: install-sed
20691 install-sed: installdirs
20692 @r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 $(HOST_EXPORTS) \
20695 (cd $(HOST_SUBDIR)/sed && \
20696 $(MAKE) $(FLAGS_TO_PASS) install)
20698 @endif sed
20700 # Other targets (info, dvi, etc.)
20702 .PHONY: maybe-info-sed info-sed
20703 maybe-info-sed:
20704 @if sed
20705 maybe-info-sed: info-sed
20707 info-sed: \
20708 configure-sed
20709 @[ -f ./sed/Makefile ] || exit 0; \
20710 r=`${PWD_COMMAND}`; export r; \
20711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20712 $(HOST_EXPORTS) \
20713 for flag in $(EXTRA_HOST_FLAGS) ; do \
20714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20715 done; \
20716 echo "Doing info in sed" ; \
20717 (cd $(HOST_SUBDIR)/sed && \
20718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20720 "RANLIB=$${RANLIB}" \
20721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20722 info) \
20723 || exit 1
20725 @endif sed
20727 .PHONY: maybe-dvi-sed dvi-sed
20728 maybe-dvi-sed:
20729 @if sed
20730 maybe-dvi-sed: dvi-sed
20732 dvi-sed: \
20733 configure-sed
20734 @[ -f ./sed/Makefile ] || exit 0; \
20735 r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20737 $(HOST_EXPORTS) \
20738 for flag in $(EXTRA_HOST_FLAGS) ; do \
20739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20740 done; \
20741 echo "Doing dvi in sed" ; \
20742 (cd $(HOST_SUBDIR)/sed && \
20743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20745 "RANLIB=$${RANLIB}" \
20746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20747 dvi) \
20748 || exit 1
20750 @endif sed
20752 .PHONY: maybe-html-sed html-sed
20753 maybe-html-sed:
20754 @if sed
20755 maybe-html-sed: html-sed
20757 html-sed: \
20758 configure-sed
20759 @[ -f ./sed/Makefile ] || exit 0; \
20760 r=`${PWD_COMMAND}`; export r; \
20761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20762 $(HOST_EXPORTS) \
20763 for flag in $(EXTRA_HOST_FLAGS) ; do \
20764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20765 done; \
20766 echo "Doing html in sed" ; \
20767 (cd $(HOST_SUBDIR)/sed && \
20768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20770 "RANLIB=$${RANLIB}" \
20771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20772 html) \
20773 || exit 1
20775 @endif sed
20777 .PHONY: maybe-TAGS-sed TAGS-sed
20778 maybe-TAGS-sed:
20779 @if sed
20780 maybe-TAGS-sed: TAGS-sed
20782 TAGS-sed: \
20783 configure-sed
20784 @[ -f ./sed/Makefile ] || exit 0; \
20785 r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 $(HOST_EXPORTS) \
20788 for flag in $(EXTRA_HOST_FLAGS) ; do \
20789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20790 done; \
20791 echo "Doing TAGS in sed" ; \
20792 (cd $(HOST_SUBDIR)/sed && \
20793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795 "RANLIB=$${RANLIB}" \
20796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20797 TAGS) \
20798 || exit 1
20800 @endif sed
20802 .PHONY: maybe-install-info-sed install-info-sed
20803 maybe-install-info-sed:
20804 @if sed
20805 maybe-install-info-sed: install-info-sed
20807 install-info-sed: \
20808 configure-sed \
20809 info-sed
20810 @[ -f ./sed/Makefile ] || exit 0; \
20811 r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 $(HOST_EXPORTS) \
20814 for flag in $(EXTRA_HOST_FLAGS) ; do \
20815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 done; \
20817 echo "Doing install-info in sed" ; \
20818 (cd $(HOST_SUBDIR)/sed && \
20819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20821 "RANLIB=$${RANLIB}" \
20822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20823 install-info) \
20824 || exit 1
20826 @endif sed
20828 .PHONY: maybe-installcheck-sed installcheck-sed
20829 maybe-installcheck-sed:
20830 @if sed
20831 maybe-installcheck-sed: installcheck-sed
20833 installcheck-sed: \
20834 configure-sed
20835 @[ -f ./sed/Makefile ] || exit 0; \
20836 r=`${PWD_COMMAND}`; export r; \
20837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838 $(HOST_EXPORTS) \
20839 for flag in $(EXTRA_HOST_FLAGS) ; do \
20840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20841 done; \
20842 echo "Doing installcheck in sed" ; \
20843 (cd $(HOST_SUBDIR)/sed && \
20844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20846 "RANLIB=$${RANLIB}" \
20847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20848 installcheck) \
20849 || exit 1
20851 @endif sed
20853 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
20854 maybe-mostlyclean-sed:
20855 @if sed
20856 maybe-mostlyclean-sed: mostlyclean-sed
20858 mostlyclean-sed:
20859 @[ -f ./sed/Makefile ] || exit 0; \
20860 r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 $(HOST_EXPORTS) \
20863 for flag in $(EXTRA_HOST_FLAGS) ; do \
20864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20865 done; \
20866 echo "Doing mostlyclean in sed" ; \
20867 (cd $(HOST_SUBDIR)/sed && \
20868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20870 "RANLIB=$${RANLIB}" \
20871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20872 mostlyclean) \
20873 || exit 1
20875 @endif sed
20877 .PHONY: maybe-clean-sed clean-sed
20878 maybe-clean-sed:
20879 @if sed
20880 maybe-clean-sed: clean-sed
20882 clean-sed:
20883 @[ -f ./sed/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(HOST_EXPORTS) \
20887 for flag in $(EXTRA_HOST_FLAGS) ; do \
20888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20889 done; \
20890 echo "Doing clean in sed" ; \
20891 (cd $(HOST_SUBDIR)/sed && \
20892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20894 "RANLIB=$${RANLIB}" \
20895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20896 clean) \
20897 || exit 1
20899 @endif sed
20901 .PHONY: maybe-distclean-sed distclean-sed
20902 maybe-distclean-sed:
20903 @if sed
20904 maybe-distclean-sed: distclean-sed
20906 distclean-sed:
20907 @[ -f ./sed/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 for flag in $(EXTRA_HOST_FLAGS) ; do \
20912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 done; \
20914 echo "Doing distclean in sed" ; \
20915 (cd $(HOST_SUBDIR)/sed && \
20916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20918 "RANLIB=$${RANLIB}" \
20919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20920 distclean) \
20921 || exit 1
20923 @endif sed
20925 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
20926 maybe-maintainer-clean-sed:
20927 @if sed
20928 maybe-maintainer-clean-sed: maintainer-clean-sed
20930 maintainer-clean-sed:
20931 @[ -f ./sed/Makefile ] || exit 0; \
20932 r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 for flag in $(EXTRA_HOST_FLAGS) ; do \
20936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20937 done; \
20938 echo "Doing maintainer-clean in sed" ; \
20939 (cd $(HOST_SUBDIR)/sed && \
20940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20942 "RANLIB=$${RANLIB}" \
20943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20944 maintainer-clean) \
20945 || exit 1
20947 @endif sed
20951 .PHONY: configure-send-pr maybe-configure-send-pr
20952 maybe-configure-send-pr:
20953 @if send-pr
20954 maybe-configure-send-pr: configure-send-pr
20955 configure-send-pr:
20956 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
20957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
20958 r=`${PWD_COMMAND}`; export r; \
20959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20960 $(HOST_EXPORTS) \
20961 echo Configuring in $(HOST_SUBDIR)/send-pr; \
20962 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
20963 case $(srcdir) in \
20964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20965 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
20966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20967 esac; \
20968 srcdiroption="--srcdir=$${topdir}/send-pr"; \
20969 libsrcdir="$$s/send-pr"; \
20970 $(SHELL) $${libsrcdir}/configure \
20971 $(HOST_CONFIGARGS) $${srcdiroption} \
20972 || exit 1
20973 @endif send-pr
20979 .PHONY: all-send-pr maybe-all-send-pr
20980 maybe-all-send-pr:
20981 @if send-pr
20982 TARGET-send-pr=all
20983 maybe-all-send-pr: all-send-pr
20984 all-send-pr: configure-send-pr
20985 @r=`${PWD_COMMAND}`; export r; \
20986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20987 $(HOST_EXPORTS) \
20988 (cd $(HOST_SUBDIR)/send-pr && \
20989 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
20990 @endif send-pr
20995 .PHONY: check-send-pr maybe-check-send-pr
20996 maybe-check-send-pr:
20997 @if send-pr
20998 maybe-check-send-pr: check-send-pr
21000 check-send-pr:
21001 @r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 (cd $(HOST_SUBDIR)/send-pr && \
21005 $(MAKE) $(FLAGS_TO_PASS) check)
21007 @endif send-pr
21009 .PHONY: install-send-pr maybe-install-send-pr
21010 maybe-install-send-pr:
21011 @if send-pr
21012 maybe-install-send-pr: install-send-pr
21014 install-send-pr: installdirs
21015 @r=`${PWD_COMMAND}`; export r; \
21016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21017 $(HOST_EXPORTS) \
21018 (cd $(HOST_SUBDIR)/send-pr && \
21019 $(MAKE) $(FLAGS_TO_PASS) install)
21021 @endif send-pr
21023 # Other targets (info, dvi, etc.)
21025 .PHONY: maybe-info-send-pr info-send-pr
21026 maybe-info-send-pr:
21027 @if send-pr
21028 maybe-info-send-pr: info-send-pr
21030 info-send-pr: \
21031 configure-send-pr
21032 @[ -f ./send-pr/Makefile ] || exit 0; \
21033 r=`${PWD_COMMAND}`; export r; \
21034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 $(HOST_EXPORTS) \
21036 for flag in $(EXTRA_HOST_FLAGS) ; do \
21037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21038 done; \
21039 echo "Doing info in send-pr" ; \
21040 (cd $(HOST_SUBDIR)/send-pr && \
21041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21043 "RANLIB=$${RANLIB}" \
21044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21045 info) \
21046 || exit 1
21048 @endif send-pr
21050 .PHONY: maybe-dvi-send-pr dvi-send-pr
21051 maybe-dvi-send-pr:
21052 @if send-pr
21053 maybe-dvi-send-pr: dvi-send-pr
21055 dvi-send-pr: \
21056 configure-send-pr
21057 @[ -f ./send-pr/Makefile ] || exit 0; \
21058 r=`${PWD_COMMAND}`; export r; \
21059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21060 $(HOST_EXPORTS) \
21061 for flag in $(EXTRA_HOST_FLAGS) ; do \
21062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21063 done; \
21064 echo "Doing dvi in send-pr" ; \
21065 (cd $(HOST_SUBDIR)/send-pr && \
21066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21068 "RANLIB=$${RANLIB}" \
21069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21070 dvi) \
21071 || exit 1
21073 @endif send-pr
21075 .PHONY: maybe-html-send-pr html-send-pr
21076 maybe-html-send-pr:
21077 @if send-pr
21078 maybe-html-send-pr: html-send-pr
21080 html-send-pr: \
21081 configure-send-pr
21082 @[ -f ./send-pr/Makefile ] || exit 0; \
21083 r=`${PWD_COMMAND}`; export r; \
21084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 $(HOST_EXPORTS) \
21086 for flag in $(EXTRA_HOST_FLAGS) ; do \
21087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21088 done; \
21089 echo "Doing html in send-pr" ; \
21090 (cd $(HOST_SUBDIR)/send-pr && \
21091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21093 "RANLIB=$${RANLIB}" \
21094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21095 html) \
21096 || exit 1
21098 @endif send-pr
21100 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21101 maybe-TAGS-send-pr:
21102 @if send-pr
21103 maybe-TAGS-send-pr: TAGS-send-pr
21105 TAGS-send-pr: \
21106 configure-send-pr
21107 @[ -f ./send-pr/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(HOST_EXPORTS) \
21111 for flag in $(EXTRA_HOST_FLAGS) ; do \
21112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21113 done; \
21114 echo "Doing TAGS in send-pr" ; \
21115 (cd $(HOST_SUBDIR)/send-pr && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21118 "RANLIB=$${RANLIB}" \
21119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21120 TAGS) \
21121 || exit 1
21123 @endif send-pr
21125 .PHONY: maybe-install-info-send-pr install-info-send-pr
21126 maybe-install-info-send-pr:
21127 @if send-pr
21128 maybe-install-info-send-pr: install-info-send-pr
21130 install-info-send-pr: \
21131 configure-send-pr \
21132 info-send-pr
21133 @[ -f ./send-pr/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 $(HOST_EXPORTS) \
21137 for flag in $(EXTRA_HOST_FLAGS) ; do \
21138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21139 done; \
21140 echo "Doing install-info in send-pr" ; \
21141 (cd $(HOST_SUBDIR)/send-pr && \
21142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21144 "RANLIB=$${RANLIB}" \
21145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21146 install-info) \
21147 || exit 1
21149 @endif send-pr
21151 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21152 maybe-installcheck-send-pr:
21153 @if send-pr
21154 maybe-installcheck-send-pr: installcheck-send-pr
21156 installcheck-send-pr: \
21157 configure-send-pr
21158 @[ -f ./send-pr/Makefile ] || exit 0; \
21159 r=`${PWD_COMMAND}`; export r; \
21160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21161 $(HOST_EXPORTS) \
21162 for flag in $(EXTRA_HOST_FLAGS) ; do \
21163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21164 done; \
21165 echo "Doing installcheck in send-pr" ; \
21166 (cd $(HOST_SUBDIR)/send-pr && \
21167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21169 "RANLIB=$${RANLIB}" \
21170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21171 installcheck) \
21172 || exit 1
21174 @endif send-pr
21176 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21177 maybe-mostlyclean-send-pr:
21178 @if send-pr
21179 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21181 mostlyclean-send-pr:
21182 @[ -f ./send-pr/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(HOST_EXPORTS) \
21186 for flag in $(EXTRA_HOST_FLAGS) ; do \
21187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21188 done; \
21189 echo "Doing mostlyclean in send-pr" ; \
21190 (cd $(HOST_SUBDIR)/send-pr && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21195 mostlyclean) \
21196 || exit 1
21198 @endif send-pr
21200 .PHONY: maybe-clean-send-pr clean-send-pr
21201 maybe-clean-send-pr:
21202 @if send-pr
21203 maybe-clean-send-pr: clean-send-pr
21205 clean-send-pr:
21206 @[ -f ./send-pr/Makefile ] || exit 0; \
21207 r=`${PWD_COMMAND}`; export r; \
21208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21209 $(HOST_EXPORTS) \
21210 for flag in $(EXTRA_HOST_FLAGS) ; do \
21211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21212 done; \
21213 echo "Doing clean in send-pr" ; \
21214 (cd $(HOST_SUBDIR)/send-pr && \
21215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21217 "RANLIB=$${RANLIB}" \
21218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21219 clean) \
21220 || exit 1
21222 @endif send-pr
21224 .PHONY: maybe-distclean-send-pr distclean-send-pr
21225 maybe-distclean-send-pr:
21226 @if send-pr
21227 maybe-distclean-send-pr: distclean-send-pr
21229 distclean-send-pr:
21230 @[ -f ./send-pr/Makefile ] || exit 0; \
21231 r=`${PWD_COMMAND}`; export r; \
21232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21233 $(HOST_EXPORTS) \
21234 for flag in $(EXTRA_HOST_FLAGS) ; do \
21235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21236 done; \
21237 echo "Doing distclean in send-pr" ; \
21238 (cd $(HOST_SUBDIR)/send-pr && \
21239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21241 "RANLIB=$${RANLIB}" \
21242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21243 distclean) \
21244 || exit 1
21246 @endif send-pr
21248 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
21249 maybe-maintainer-clean-send-pr:
21250 @if send-pr
21251 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
21253 maintainer-clean-send-pr:
21254 @[ -f ./send-pr/Makefile ] || exit 0; \
21255 r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 $(HOST_EXPORTS) \
21258 for flag in $(EXTRA_HOST_FLAGS) ; do \
21259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21260 done; \
21261 echo "Doing maintainer-clean in send-pr" ; \
21262 (cd $(HOST_SUBDIR)/send-pr && \
21263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21265 "RANLIB=$${RANLIB}" \
21266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21267 maintainer-clean) \
21268 || exit 1
21270 @endif send-pr
21274 .PHONY: configure-shellutils maybe-configure-shellutils
21275 maybe-configure-shellutils:
21276 @if shellutils
21277 maybe-configure-shellutils: configure-shellutils
21278 configure-shellutils:
21279 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
21280 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
21281 r=`${PWD_COMMAND}`; export r; \
21282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21283 $(HOST_EXPORTS) \
21284 echo Configuring in $(HOST_SUBDIR)/shellutils; \
21285 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
21286 case $(srcdir) in \
21287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21288 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
21289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21290 esac; \
21291 srcdiroption="--srcdir=$${topdir}/shellutils"; \
21292 libsrcdir="$$s/shellutils"; \
21293 $(SHELL) $${libsrcdir}/configure \
21294 $(HOST_CONFIGARGS) $${srcdiroption} \
21295 || exit 1
21296 @endif shellutils
21302 .PHONY: all-shellutils maybe-all-shellutils
21303 maybe-all-shellutils:
21304 @if shellutils
21305 TARGET-shellutils=all
21306 maybe-all-shellutils: all-shellutils
21307 all-shellutils: configure-shellutils
21308 @r=`${PWD_COMMAND}`; export r; \
21309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 $(HOST_EXPORTS) \
21311 (cd $(HOST_SUBDIR)/shellutils && \
21312 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
21313 @endif shellutils
21318 .PHONY: check-shellutils maybe-check-shellutils
21319 maybe-check-shellutils:
21320 @if shellutils
21321 maybe-check-shellutils: check-shellutils
21323 check-shellutils:
21324 @r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(HOST_EXPORTS) \
21327 (cd $(HOST_SUBDIR)/shellutils && \
21328 $(MAKE) $(FLAGS_TO_PASS) check)
21330 @endif shellutils
21332 .PHONY: install-shellutils maybe-install-shellutils
21333 maybe-install-shellutils:
21334 @if shellutils
21335 maybe-install-shellutils: install-shellutils
21337 install-shellutils: installdirs
21338 @r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 $(HOST_EXPORTS) \
21341 (cd $(HOST_SUBDIR)/shellutils && \
21342 $(MAKE) $(FLAGS_TO_PASS) install)
21344 @endif shellutils
21346 # Other targets (info, dvi, etc.)
21348 .PHONY: maybe-info-shellutils info-shellutils
21349 maybe-info-shellutils:
21350 @if shellutils
21351 maybe-info-shellutils: info-shellutils
21353 info-shellutils: \
21354 configure-shellutils
21355 @[ -f ./shellutils/Makefile ] || exit 0; \
21356 r=`${PWD_COMMAND}`; export r; \
21357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21358 $(HOST_EXPORTS) \
21359 for flag in $(EXTRA_HOST_FLAGS) ; do \
21360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21361 done; \
21362 echo "Doing info in shellutils" ; \
21363 (cd $(HOST_SUBDIR)/shellutils && \
21364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21366 "RANLIB=$${RANLIB}" \
21367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21368 info) \
21369 || exit 1
21371 @endif shellutils
21373 .PHONY: maybe-dvi-shellutils dvi-shellutils
21374 maybe-dvi-shellutils:
21375 @if shellutils
21376 maybe-dvi-shellutils: dvi-shellutils
21378 dvi-shellutils: \
21379 configure-shellutils
21380 @[ -f ./shellutils/Makefile ] || exit 0; \
21381 r=`${PWD_COMMAND}`; export r; \
21382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21383 $(HOST_EXPORTS) \
21384 for flag in $(EXTRA_HOST_FLAGS) ; do \
21385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21386 done; \
21387 echo "Doing dvi in shellutils" ; \
21388 (cd $(HOST_SUBDIR)/shellutils && \
21389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21391 "RANLIB=$${RANLIB}" \
21392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21393 dvi) \
21394 || exit 1
21396 @endif shellutils
21398 .PHONY: maybe-html-shellutils html-shellutils
21399 maybe-html-shellutils:
21400 @if shellutils
21401 maybe-html-shellutils: html-shellutils
21403 html-shellutils: \
21404 configure-shellutils
21405 @[ -f ./shellutils/Makefile ] || exit 0; \
21406 r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 $(HOST_EXPORTS) \
21409 for flag in $(EXTRA_HOST_FLAGS) ; do \
21410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21411 done; \
21412 echo "Doing html in shellutils" ; \
21413 (cd $(HOST_SUBDIR)/shellutils && \
21414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21416 "RANLIB=$${RANLIB}" \
21417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21418 html) \
21419 || exit 1
21421 @endif shellutils
21423 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
21424 maybe-TAGS-shellutils:
21425 @if shellutils
21426 maybe-TAGS-shellutils: TAGS-shellutils
21428 TAGS-shellutils: \
21429 configure-shellutils
21430 @[ -f ./shellutils/Makefile ] || exit 0; \
21431 r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 $(HOST_EXPORTS) \
21434 for flag in $(EXTRA_HOST_FLAGS) ; do \
21435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21436 done; \
21437 echo "Doing TAGS in shellutils" ; \
21438 (cd $(HOST_SUBDIR)/shellutils && \
21439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21441 "RANLIB=$${RANLIB}" \
21442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21443 TAGS) \
21444 || exit 1
21446 @endif shellutils
21448 .PHONY: maybe-install-info-shellutils install-info-shellutils
21449 maybe-install-info-shellutils:
21450 @if shellutils
21451 maybe-install-info-shellutils: install-info-shellutils
21453 install-info-shellutils: \
21454 configure-shellutils \
21455 info-shellutils
21456 @[ -f ./shellutils/Makefile ] || exit 0; \
21457 r=`${PWD_COMMAND}`; export r; \
21458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21459 $(HOST_EXPORTS) \
21460 for flag in $(EXTRA_HOST_FLAGS) ; do \
21461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21462 done; \
21463 echo "Doing install-info in shellutils" ; \
21464 (cd $(HOST_SUBDIR)/shellutils && \
21465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21467 "RANLIB=$${RANLIB}" \
21468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21469 install-info) \
21470 || exit 1
21472 @endif shellutils
21474 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
21475 maybe-installcheck-shellutils:
21476 @if shellutils
21477 maybe-installcheck-shellutils: installcheck-shellutils
21479 installcheck-shellutils: \
21480 configure-shellutils
21481 @[ -f ./shellutils/Makefile ] || exit 0; \
21482 r=`${PWD_COMMAND}`; export r; \
21483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 $(HOST_EXPORTS) \
21485 for flag in $(EXTRA_HOST_FLAGS) ; do \
21486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21487 done; \
21488 echo "Doing installcheck in shellutils" ; \
21489 (cd $(HOST_SUBDIR)/shellutils && \
21490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21492 "RANLIB=$${RANLIB}" \
21493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21494 installcheck) \
21495 || exit 1
21497 @endif shellutils
21499 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
21500 maybe-mostlyclean-shellutils:
21501 @if shellutils
21502 maybe-mostlyclean-shellutils: mostlyclean-shellutils
21504 mostlyclean-shellutils:
21505 @[ -f ./shellutils/Makefile ] || exit 0; \
21506 r=`${PWD_COMMAND}`; export r; \
21507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 $(HOST_EXPORTS) \
21509 for flag in $(EXTRA_HOST_FLAGS) ; do \
21510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21511 done; \
21512 echo "Doing mostlyclean in shellutils" ; \
21513 (cd $(HOST_SUBDIR)/shellutils && \
21514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21516 "RANLIB=$${RANLIB}" \
21517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21518 mostlyclean) \
21519 || exit 1
21521 @endif shellutils
21523 .PHONY: maybe-clean-shellutils clean-shellutils
21524 maybe-clean-shellutils:
21525 @if shellutils
21526 maybe-clean-shellutils: clean-shellutils
21528 clean-shellutils:
21529 @[ -f ./shellutils/Makefile ] || exit 0; \
21530 r=`${PWD_COMMAND}`; export r; \
21531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 $(HOST_EXPORTS) \
21533 for flag in $(EXTRA_HOST_FLAGS) ; do \
21534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 done; \
21536 echo "Doing clean in shellutils" ; \
21537 (cd $(HOST_SUBDIR)/shellutils && \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21540 "RANLIB=$${RANLIB}" \
21541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21542 clean) \
21543 || exit 1
21545 @endif shellutils
21547 .PHONY: maybe-distclean-shellutils distclean-shellutils
21548 maybe-distclean-shellutils:
21549 @if shellutils
21550 maybe-distclean-shellutils: distclean-shellutils
21552 distclean-shellutils:
21553 @[ -f ./shellutils/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 $(HOST_EXPORTS) \
21557 for flag in $(EXTRA_HOST_FLAGS) ; do \
21558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21559 done; \
21560 echo "Doing distclean in shellutils" ; \
21561 (cd $(HOST_SUBDIR)/shellutils && \
21562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21564 "RANLIB=$${RANLIB}" \
21565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21566 distclean) \
21567 || exit 1
21569 @endif shellutils
21571 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
21572 maybe-maintainer-clean-shellutils:
21573 @if shellutils
21574 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
21576 maintainer-clean-shellutils:
21577 @[ -f ./shellutils/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing maintainer-clean in shellutils" ; \
21585 (cd $(HOST_SUBDIR)/shellutils && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21590 maintainer-clean) \
21591 || exit 1
21593 @endif shellutils
21597 .PHONY: configure-sid maybe-configure-sid
21598 maybe-configure-sid:
21599 @if sid
21600 maybe-configure-sid: configure-sid
21601 configure-sid:
21602 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
21603 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21606 $(HOST_EXPORTS) \
21607 echo Configuring in $(HOST_SUBDIR)/sid; \
21608 cd "$(HOST_SUBDIR)/sid" || exit 1; \
21609 case $(srcdir) in \
21610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21611 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
21612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21613 esac; \
21614 srcdiroption="--srcdir=$${topdir}/sid"; \
21615 libsrcdir="$$s/sid"; \
21616 $(SHELL) $${libsrcdir}/configure \
21617 $(HOST_CONFIGARGS) $${srcdiroption} \
21618 || exit 1
21619 @endif sid
21625 .PHONY: all-sid maybe-all-sid
21626 maybe-all-sid:
21627 @if sid
21628 TARGET-sid=all
21629 maybe-all-sid: all-sid
21630 all-sid: configure-sid
21631 @r=`${PWD_COMMAND}`; export r; \
21632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633 $(HOST_EXPORTS) \
21634 (cd $(HOST_SUBDIR)/sid && \
21635 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
21636 @endif sid
21641 .PHONY: check-sid maybe-check-sid
21642 maybe-check-sid:
21643 @if sid
21644 maybe-check-sid: check-sid
21646 check-sid:
21647 @r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649 $(HOST_EXPORTS) \
21650 (cd $(HOST_SUBDIR)/sid && \
21651 $(MAKE) $(FLAGS_TO_PASS) check)
21653 @endif sid
21655 .PHONY: install-sid maybe-install-sid
21656 maybe-install-sid:
21657 @if sid
21658 maybe-install-sid: install-sid
21660 install-sid: installdirs
21661 @r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663 $(HOST_EXPORTS) \
21664 (cd $(HOST_SUBDIR)/sid && \
21665 $(MAKE) $(FLAGS_TO_PASS) install)
21667 @endif sid
21669 # Other targets (info, dvi, etc.)
21671 .PHONY: maybe-info-sid info-sid
21672 maybe-info-sid:
21673 @if sid
21674 maybe-info-sid: info-sid
21676 info-sid: \
21677 configure-sid
21678 @[ -f ./sid/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(HOST_EXPORTS) \
21682 for flag in $(EXTRA_HOST_FLAGS) ; do \
21683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21684 done; \
21685 echo "Doing info in sid" ; \
21686 (cd $(HOST_SUBDIR)/sid && \
21687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21689 "RANLIB=$${RANLIB}" \
21690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21691 info) \
21692 || exit 1
21694 @endif sid
21696 .PHONY: maybe-dvi-sid dvi-sid
21697 maybe-dvi-sid:
21698 @if sid
21699 maybe-dvi-sid: dvi-sid
21701 dvi-sid: \
21702 configure-sid
21703 @[ -f ./sid/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing dvi in sid" ; \
21711 (cd $(HOST_SUBDIR)/sid && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21716 dvi) \
21717 || exit 1
21719 @endif sid
21721 .PHONY: maybe-html-sid html-sid
21722 maybe-html-sid:
21723 @if sid
21724 maybe-html-sid: html-sid
21726 html-sid: \
21727 configure-sid
21728 @[ -f ./sid/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(HOST_EXPORTS) \
21732 for flag in $(EXTRA_HOST_FLAGS) ; do \
21733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21734 done; \
21735 echo "Doing html in sid" ; \
21736 (cd $(HOST_SUBDIR)/sid && \
21737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21739 "RANLIB=$${RANLIB}" \
21740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21741 html) \
21742 || exit 1
21744 @endif sid
21746 .PHONY: maybe-TAGS-sid TAGS-sid
21747 maybe-TAGS-sid:
21748 @if sid
21749 maybe-TAGS-sid: TAGS-sid
21751 TAGS-sid: \
21752 configure-sid
21753 @[ -f ./sid/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(HOST_EXPORTS) \
21757 for flag in $(EXTRA_HOST_FLAGS) ; do \
21758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21759 done; \
21760 echo "Doing TAGS in sid" ; \
21761 (cd $(HOST_SUBDIR)/sid && \
21762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21764 "RANLIB=$${RANLIB}" \
21765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21766 TAGS) \
21767 || exit 1
21769 @endif sid
21771 .PHONY: maybe-install-info-sid install-info-sid
21772 maybe-install-info-sid:
21773 @if sid
21774 maybe-install-info-sid: install-info-sid
21776 install-info-sid: \
21777 configure-sid \
21778 info-sid
21779 @[ -f ./sid/Makefile ] || exit 0; \
21780 r=`${PWD_COMMAND}`; export r; \
21781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21782 $(HOST_EXPORTS) \
21783 for flag in $(EXTRA_HOST_FLAGS) ; do \
21784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21785 done; \
21786 echo "Doing install-info in sid" ; \
21787 (cd $(HOST_SUBDIR)/sid && \
21788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21790 "RANLIB=$${RANLIB}" \
21791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21792 install-info) \
21793 || exit 1
21795 @endif sid
21797 .PHONY: maybe-installcheck-sid installcheck-sid
21798 maybe-installcheck-sid:
21799 @if sid
21800 maybe-installcheck-sid: installcheck-sid
21802 installcheck-sid: \
21803 configure-sid
21804 @[ -f ./sid/Makefile ] || exit 0; \
21805 r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 $(HOST_EXPORTS) \
21808 for flag in $(EXTRA_HOST_FLAGS) ; do \
21809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21810 done; \
21811 echo "Doing installcheck in sid" ; \
21812 (cd $(HOST_SUBDIR)/sid && \
21813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21815 "RANLIB=$${RANLIB}" \
21816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21817 installcheck) \
21818 || exit 1
21820 @endif sid
21822 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
21823 maybe-mostlyclean-sid:
21824 @if sid
21825 maybe-mostlyclean-sid: mostlyclean-sid
21827 mostlyclean-sid:
21828 @[ -f ./sid/Makefile ] || exit 0; \
21829 r=`${PWD_COMMAND}`; export r; \
21830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 $(HOST_EXPORTS) \
21832 for flag in $(EXTRA_HOST_FLAGS) ; do \
21833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21834 done; \
21835 echo "Doing mostlyclean in sid" ; \
21836 (cd $(HOST_SUBDIR)/sid && \
21837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21839 "RANLIB=$${RANLIB}" \
21840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21841 mostlyclean) \
21842 || exit 1
21844 @endif sid
21846 .PHONY: maybe-clean-sid clean-sid
21847 maybe-clean-sid:
21848 @if sid
21849 maybe-clean-sid: clean-sid
21851 clean-sid:
21852 @[ -f ./sid/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing clean in sid" ; \
21860 (cd $(HOST_SUBDIR)/sid && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21865 clean) \
21866 || exit 1
21868 @endif sid
21870 .PHONY: maybe-distclean-sid distclean-sid
21871 maybe-distclean-sid:
21872 @if sid
21873 maybe-distclean-sid: distclean-sid
21875 distclean-sid:
21876 @[ -f ./sid/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing distclean in sid" ; \
21884 (cd $(HOST_SUBDIR)/sid && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21889 distclean) \
21890 || exit 1
21892 @endif sid
21894 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
21895 maybe-maintainer-clean-sid:
21896 @if sid
21897 maybe-maintainer-clean-sid: maintainer-clean-sid
21899 maintainer-clean-sid:
21900 @[ -f ./sid/Makefile ] || exit 0; \
21901 r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21903 $(HOST_EXPORTS) \
21904 for flag in $(EXTRA_HOST_FLAGS) ; do \
21905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21906 done; \
21907 echo "Doing maintainer-clean in sid" ; \
21908 (cd $(HOST_SUBDIR)/sid && \
21909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21911 "RANLIB=$${RANLIB}" \
21912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21913 maintainer-clean) \
21914 || exit 1
21916 @endif sid
21920 .PHONY: configure-sim maybe-configure-sim
21921 maybe-configure-sim:
21922 @if sim
21923 maybe-configure-sim: configure-sim
21924 configure-sim:
21925 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
21926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
21927 r=`${PWD_COMMAND}`; export r; \
21928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21929 $(HOST_EXPORTS) \
21930 echo Configuring in $(HOST_SUBDIR)/sim; \
21931 cd "$(HOST_SUBDIR)/sim" || exit 1; \
21932 case $(srcdir) in \
21933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21934 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
21935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21936 esac; \
21937 srcdiroption="--srcdir=$${topdir}/sim"; \
21938 libsrcdir="$$s/sim"; \
21939 $(SHELL) $${libsrcdir}/configure \
21940 $(HOST_CONFIGARGS) $${srcdiroption} \
21941 || exit 1
21942 @endif sim
21948 .PHONY: all-sim maybe-all-sim
21949 maybe-all-sim:
21950 @if sim
21951 TARGET-sim=all
21952 maybe-all-sim: all-sim
21953 all-sim: configure-sim
21954 @r=`${PWD_COMMAND}`; export r; \
21955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 $(HOST_EXPORTS) \
21957 (cd $(HOST_SUBDIR)/sim && \
21958 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
21959 @endif sim
21964 .PHONY: check-sim maybe-check-sim
21965 maybe-check-sim:
21966 @if sim
21967 maybe-check-sim: check-sim
21969 check-sim:
21970 @r=`${PWD_COMMAND}`; export r; \
21971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21972 $(HOST_EXPORTS) \
21973 (cd $(HOST_SUBDIR)/sim && \
21974 $(MAKE) $(FLAGS_TO_PASS) check)
21976 @endif sim
21978 .PHONY: install-sim maybe-install-sim
21979 maybe-install-sim:
21980 @if sim
21981 maybe-install-sim: install-sim
21983 install-sim: installdirs
21984 @r=`${PWD_COMMAND}`; export r; \
21985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21986 $(HOST_EXPORTS) \
21987 (cd $(HOST_SUBDIR)/sim && \
21988 $(MAKE) $(FLAGS_TO_PASS) install)
21990 @endif sim
21992 # Other targets (info, dvi, etc.)
21994 .PHONY: maybe-info-sim info-sim
21995 maybe-info-sim:
21996 @if sim
21997 maybe-info-sim: info-sim
21999 info-sim: \
22000 configure-sim
22001 @[ -f ./sim/Makefile ] || exit 0; \
22002 r=`${PWD_COMMAND}`; export r; \
22003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22004 $(HOST_EXPORTS) \
22005 for flag in $(EXTRA_HOST_FLAGS) ; do \
22006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22007 done; \
22008 echo "Doing info in sim" ; \
22009 (cd $(HOST_SUBDIR)/sim && \
22010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22012 "RANLIB=$${RANLIB}" \
22013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22014 info) \
22015 || exit 1
22017 @endif sim
22019 .PHONY: maybe-dvi-sim dvi-sim
22020 maybe-dvi-sim:
22021 @if sim
22022 maybe-dvi-sim: dvi-sim
22024 dvi-sim: \
22025 configure-sim
22026 @[ -f ./sim/Makefile ] || exit 0; \
22027 r=`${PWD_COMMAND}`; export r; \
22028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22029 $(HOST_EXPORTS) \
22030 for flag in $(EXTRA_HOST_FLAGS) ; do \
22031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22032 done; \
22033 echo "Doing dvi in sim" ; \
22034 (cd $(HOST_SUBDIR)/sim && \
22035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22037 "RANLIB=$${RANLIB}" \
22038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22039 dvi) \
22040 || exit 1
22042 @endif sim
22044 .PHONY: maybe-html-sim html-sim
22045 maybe-html-sim:
22046 @if sim
22047 maybe-html-sim: html-sim
22049 html-sim: \
22050 configure-sim
22051 @[ -f ./sim/Makefile ] || exit 0; \
22052 r=`${PWD_COMMAND}`; export r; \
22053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22054 $(HOST_EXPORTS) \
22055 for flag in $(EXTRA_HOST_FLAGS) ; do \
22056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22057 done; \
22058 echo "Doing html in sim" ; \
22059 (cd $(HOST_SUBDIR)/sim && \
22060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22062 "RANLIB=$${RANLIB}" \
22063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22064 html) \
22065 || exit 1
22067 @endif sim
22069 .PHONY: maybe-TAGS-sim TAGS-sim
22070 maybe-TAGS-sim:
22071 @if sim
22072 maybe-TAGS-sim: TAGS-sim
22074 TAGS-sim: \
22075 configure-sim
22076 @[ -f ./sim/Makefile ] || exit 0; \
22077 r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(HOST_EXPORTS) \
22080 for flag in $(EXTRA_HOST_FLAGS) ; do \
22081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22082 done; \
22083 echo "Doing TAGS in sim" ; \
22084 (cd $(HOST_SUBDIR)/sim && \
22085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22087 "RANLIB=$${RANLIB}" \
22088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22089 TAGS) \
22090 || exit 1
22092 @endif sim
22094 .PHONY: maybe-install-info-sim install-info-sim
22095 maybe-install-info-sim:
22096 @if sim
22097 maybe-install-info-sim: install-info-sim
22099 install-info-sim: \
22100 configure-sim \
22101 info-sim
22102 @[ -f ./sim/Makefile ] || exit 0; \
22103 r=`${PWD_COMMAND}`; export r; \
22104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22105 $(HOST_EXPORTS) \
22106 for flag in $(EXTRA_HOST_FLAGS) ; do \
22107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22108 done; \
22109 echo "Doing install-info in sim" ; \
22110 (cd $(HOST_SUBDIR)/sim && \
22111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22113 "RANLIB=$${RANLIB}" \
22114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22115 install-info) \
22116 || exit 1
22118 @endif sim
22120 .PHONY: maybe-installcheck-sim installcheck-sim
22121 maybe-installcheck-sim:
22122 @if sim
22123 maybe-installcheck-sim: installcheck-sim
22125 installcheck-sim: \
22126 configure-sim
22127 @[ -f ./sim/Makefile ] || exit 0; \
22128 r=`${PWD_COMMAND}`; export r; \
22129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22130 $(HOST_EXPORTS) \
22131 for flag in $(EXTRA_HOST_FLAGS) ; do \
22132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22133 done; \
22134 echo "Doing installcheck in sim" ; \
22135 (cd $(HOST_SUBDIR)/sim && \
22136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22138 "RANLIB=$${RANLIB}" \
22139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22140 installcheck) \
22141 || exit 1
22143 @endif sim
22145 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22146 maybe-mostlyclean-sim:
22147 @if sim
22148 maybe-mostlyclean-sim: mostlyclean-sim
22150 mostlyclean-sim:
22151 @[ -f ./sim/Makefile ] || exit 0; \
22152 r=`${PWD_COMMAND}`; export r; \
22153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22154 $(HOST_EXPORTS) \
22155 for flag in $(EXTRA_HOST_FLAGS) ; do \
22156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22157 done; \
22158 echo "Doing mostlyclean in sim" ; \
22159 (cd $(HOST_SUBDIR)/sim && \
22160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22162 "RANLIB=$${RANLIB}" \
22163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22164 mostlyclean) \
22165 || exit 1
22167 @endif sim
22169 .PHONY: maybe-clean-sim clean-sim
22170 maybe-clean-sim:
22171 @if sim
22172 maybe-clean-sim: clean-sim
22174 clean-sim:
22175 @[ -f ./sim/Makefile ] || exit 0; \
22176 r=`${PWD_COMMAND}`; export r; \
22177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22178 $(HOST_EXPORTS) \
22179 for flag in $(EXTRA_HOST_FLAGS) ; do \
22180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22181 done; \
22182 echo "Doing clean in sim" ; \
22183 (cd $(HOST_SUBDIR)/sim && \
22184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22186 "RANLIB=$${RANLIB}" \
22187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22188 clean) \
22189 || exit 1
22191 @endif sim
22193 .PHONY: maybe-distclean-sim distclean-sim
22194 maybe-distclean-sim:
22195 @if sim
22196 maybe-distclean-sim: distclean-sim
22198 distclean-sim:
22199 @[ -f ./sim/Makefile ] || exit 0; \
22200 r=`${PWD_COMMAND}`; export r; \
22201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22202 $(HOST_EXPORTS) \
22203 for flag in $(EXTRA_HOST_FLAGS) ; do \
22204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22205 done; \
22206 echo "Doing distclean in sim" ; \
22207 (cd $(HOST_SUBDIR)/sim && \
22208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22210 "RANLIB=$${RANLIB}" \
22211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22212 distclean) \
22213 || exit 1
22215 @endif sim
22217 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
22218 maybe-maintainer-clean-sim:
22219 @if sim
22220 maybe-maintainer-clean-sim: maintainer-clean-sim
22222 maintainer-clean-sim:
22223 @[ -f ./sim/Makefile ] || exit 0; \
22224 r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226 $(HOST_EXPORTS) \
22227 for flag in $(EXTRA_HOST_FLAGS) ; do \
22228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22229 done; \
22230 echo "Doing maintainer-clean in sim" ; \
22231 (cd $(HOST_SUBDIR)/sim && \
22232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22234 "RANLIB=$${RANLIB}" \
22235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22236 maintainer-clean) \
22237 || exit 1
22239 @endif sim
22243 .PHONY: configure-tar maybe-configure-tar
22244 maybe-configure-tar:
22245 @if tar
22246 maybe-configure-tar: configure-tar
22247 configure-tar:
22248 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
22249 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
22250 r=`${PWD_COMMAND}`; export r; \
22251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22252 $(HOST_EXPORTS) \
22253 echo Configuring in $(HOST_SUBDIR)/tar; \
22254 cd "$(HOST_SUBDIR)/tar" || exit 1; \
22255 case $(srcdir) in \
22256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22257 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
22258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22259 esac; \
22260 srcdiroption="--srcdir=$${topdir}/tar"; \
22261 libsrcdir="$$s/tar"; \
22262 $(SHELL) $${libsrcdir}/configure \
22263 $(HOST_CONFIGARGS) $${srcdiroption} \
22264 || exit 1
22265 @endif tar
22271 .PHONY: all-tar maybe-all-tar
22272 maybe-all-tar:
22273 @if tar
22274 TARGET-tar=all
22275 maybe-all-tar: all-tar
22276 all-tar: configure-tar
22277 @r=`${PWD_COMMAND}`; export r; \
22278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22279 $(HOST_EXPORTS) \
22280 (cd $(HOST_SUBDIR)/tar && \
22281 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
22282 @endif tar
22287 .PHONY: check-tar maybe-check-tar
22288 maybe-check-tar:
22289 @if tar
22290 maybe-check-tar: check-tar
22292 check-tar:
22293 @r=`${PWD_COMMAND}`; export r; \
22294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22295 $(HOST_EXPORTS) \
22296 (cd $(HOST_SUBDIR)/tar && \
22297 $(MAKE) $(FLAGS_TO_PASS) check)
22299 @endif tar
22301 .PHONY: install-tar maybe-install-tar
22302 maybe-install-tar:
22303 @if tar
22304 maybe-install-tar: install-tar
22306 install-tar: installdirs
22307 @r=`${PWD_COMMAND}`; export r; \
22308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22309 $(HOST_EXPORTS) \
22310 (cd $(HOST_SUBDIR)/tar && \
22311 $(MAKE) $(FLAGS_TO_PASS) install)
22313 @endif tar
22315 # Other targets (info, dvi, etc.)
22317 .PHONY: maybe-info-tar info-tar
22318 maybe-info-tar:
22319 @if tar
22320 maybe-info-tar: info-tar
22322 info-tar: \
22323 configure-tar
22324 @[ -f ./tar/Makefile ] || exit 0; \
22325 r=`${PWD_COMMAND}`; export r; \
22326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22327 $(HOST_EXPORTS) \
22328 for flag in $(EXTRA_HOST_FLAGS) ; do \
22329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22330 done; \
22331 echo "Doing info in tar" ; \
22332 (cd $(HOST_SUBDIR)/tar && \
22333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22335 "RANLIB=$${RANLIB}" \
22336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22337 info) \
22338 || exit 1
22340 @endif tar
22342 .PHONY: maybe-dvi-tar dvi-tar
22343 maybe-dvi-tar:
22344 @if tar
22345 maybe-dvi-tar: dvi-tar
22347 dvi-tar: \
22348 configure-tar
22349 @[ -f ./tar/Makefile ] || exit 0; \
22350 r=`${PWD_COMMAND}`; export r; \
22351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22352 $(HOST_EXPORTS) \
22353 for flag in $(EXTRA_HOST_FLAGS) ; do \
22354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22355 done; \
22356 echo "Doing dvi in tar" ; \
22357 (cd $(HOST_SUBDIR)/tar && \
22358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22360 "RANLIB=$${RANLIB}" \
22361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22362 dvi) \
22363 || exit 1
22365 @endif tar
22367 .PHONY: maybe-html-tar html-tar
22368 maybe-html-tar:
22369 @if tar
22370 maybe-html-tar: html-tar
22372 html-tar: \
22373 configure-tar
22374 @[ -f ./tar/Makefile ] || exit 0; \
22375 r=`${PWD_COMMAND}`; export r; \
22376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377 $(HOST_EXPORTS) \
22378 for flag in $(EXTRA_HOST_FLAGS) ; do \
22379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22380 done; \
22381 echo "Doing html in tar" ; \
22382 (cd $(HOST_SUBDIR)/tar && \
22383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22385 "RANLIB=$${RANLIB}" \
22386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22387 html) \
22388 || exit 1
22390 @endif tar
22392 .PHONY: maybe-TAGS-tar TAGS-tar
22393 maybe-TAGS-tar:
22394 @if tar
22395 maybe-TAGS-tar: TAGS-tar
22397 TAGS-tar: \
22398 configure-tar
22399 @[ -f ./tar/Makefile ] || exit 0; \
22400 r=`${PWD_COMMAND}`; export r; \
22401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22402 $(HOST_EXPORTS) \
22403 for flag in $(EXTRA_HOST_FLAGS) ; do \
22404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22405 done; \
22406 echo "Doing TAGS in tar" ; \
22407 (cd $(HOST_SUBDIR)/tar && \
22408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22410 "RANLIB=$${RANLIB}" \
22411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22412 TAGS) \
22413 || exit 1
22415 @endif tar
22417 .PHONY: maybe-install-info-tar install-info-tar
22418 maybe-install-info-tar:
22419 @if tar
22420 maybe-install-info-tar: install-info-tar
22422 install-info-tar: \
22423 configure-tar \
22424 info-tar
22425 @[ -f ./tar/Makefile ] || exit 0; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(HOST_EXPORTS) \
22429 for flag in $(EXTRA_HOST_FLAGS) ; do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22431 done; \
22432 echo "Doing install-info in tar" ; \
22433 (cd $(HOST_SUBDIR)/tar && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22438 install-info) \
22439 || exit 1
22441 @endif tar
22443 .PHONY: maybe-installcheck-tar installcheck-tar
22444 maybe-installcheck-tar:
22445 @if tar
22446 maybe-installcheck-tar: installcheck-tar
22448 installcheck-tar: \
22449 configure-tar
22450 @[ -f ./tar/Makefile ] || exit 0; \
22451 r=`${PWD_COMMAND}`; export r; \
22452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 $(HOST_EXPORTS) \
22454 for flag in $(EXTRA_HOST_FLAGS) ; do \
22455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22456 done; \
22457 echo "Doing installcheck in tar" ; \
22458 (cd $(HOST_SUBDIR)/tar && \
22459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22461 "RANLIB=$${RANLIB}" \
22462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22463 installcheck) \
22464 || exit 1
22466 @endif tar
22468 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
22469 maybe-mostlyclean-tar:
22470 @if tar
22471 maybe-mostlyclean-tar: mostlyclean-tar
22473 mostlyclean-tar:
22474 @[ -f ./tar/Makefile ] || exit 0; \
22475 r=`${PWD_COMMAND}`; export r; \
22476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22477 $(HOST_EXPORTS) \
22478 for flag in $(EXTRA_HOST_FLAGS) ; do \
22479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22480 done; \
22481 echo "Doing mostlyclean in tar" ; \
22482 (cd $(HOST_SUBDIR)/tar && \
22483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22485 "RANLIB=$${RANLIB}" \
22486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22487 mostlyclean) \
22488 || exit 1
22490 @endif tar
22492 .PHONY: maybe-clean-tar clean-tar
22493 maybe-clean-tar:
22494 @if tar
22495 maybe-clean-tar: clean-tar
22497 clean-tar:
22498 @[ -f ./tar/Makefile ] || exit 0; \
22499 r=`${PWD_COMMAND}`; export r; \
22500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22501 $(HOST_EXPORTS) \
22502 for flag in $(EXTRA_HOST_FLAGS) ; do \
22503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22504 done; \
22505 echo "Doing clean in tar" ; \
22506 (cd $(HOST_SUBDIR)/tar && \
22507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22509 "RANLIB=$${RANLIB}" \
22510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22511 clean) \
22512 || exit 1
22514 @endif tar
22516 .PHONY: maybe-distclean-tar distclean-tar
22517 maybe-distclean-tar:
22518 @if tar
22519 maybe-distclean-tar: distclean-tar
22521 distclean-tar:
22522 @[ -f ./tar/Makefile ] || exit 0; \
22523 r=`${PWD_COMMAND}`; export r; \
22524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22525 $(HOST_EXPORTS) \
22526 for flag in $(EXTRA_HOST_FLAGS) ; do \
22527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22528 done; \
22529 echo "Doing distclean in tar" ; \
22530 (cd $(HOST_SUBDIR)/tar && \
22531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22533 "RANLIB=$${RANLIB}" \
22534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22535 distclean) \
22536 || exit 1
22538 @endif tar
22540 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
22541 maybe-maintainer-clean-tar:
22542 @if tar
22543 maybe-maintainer-clean-tar: maintainer-clean-tar
22545 maintainer-clean-tar:
22546 @[ -f ./tar/Makefile ] || exit 0; \
22547 r=`${PWD_COMMAND}`; export r; \
22548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22549 $(HOST_EXPORTS) \
22550 for flag in $(EXTRA_HOST_FLAGS) ; do \
22551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22552 done; \
22553 echo "Doing maintainer-clean in tar" ; \
22554 (cd $(HOST_SUBDIR)/tar && \
22555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22557 "RANLIB=$${RANLIB}" \
22558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22559 maintainer-clean) \
22560 || exit 1
22562 @endif tar
22566 .PHONY: configure-texinfo maybe-configure-texinfo
22567 maybe-configure-texinfo:
22568 @if texinfo
22569 maybe-configure-texinfo: configure-texinfo
22570 configure-texinfo:
22571 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
22572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
22573 r=`${PWD_COMMAND}`; export r; \
22574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22575 $(HOST_EXPORTS) \
22576 echo Configuring in $(HOST_SUBDIR)/texinfo; \
22577 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
22578 case $(srcdir) in \
22579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22580 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
22581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22582 esac; \
22583 srcdiroption="--srcdir=$${topdir}/texinfo"; \
22584 libsrcdir="$$s/texinfo"; \
22585 $(SHELL) $${libsrcdir}/configure \
22586 $(HOST_CONFIGARGS) $${srcdiroption} \
22587 || exit 1
22588 @endif texinfo
22594 .PHONY: all-texinfo maybe-all-texinfo
22595 maybe-all-texinfo:
22596 @if texinfo
22597 TARGET-texinfo=all
22598 maybe-all-texinfo: all-texinfo
22599 all-texinfo: configure-texinfo
22600 @r=`${PWD_COMMAND}`; export r; \
22601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22602 $(HOST_EXPORTS) \
22603 (cd $(HOST_SUBDIR)/texinfo && \
22604 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
22605 @endif texinfo
22610 .PHONY: check-texinfo maybe-check-texinfo
22611 maybe-check-texinfo:
22612 @if texinfo
22613 maybe-check-texinfo: check-texinfo
22615 check-texinfo:
22616 @r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 $(HOST_EXPORTS) \
22619 (cd $(HOST_SUBDIR)/texinfo && \
22620 $(MAKE) $(FLAGS_TO_PASS) check)
22622 @endif texinfo
22624 .PHONY: install-texinfo maybe-install-texinfo
22625 maybe-install-texinfo:
22626 @if texinfo
22627 maybe-install-texinfo: install-texinfo
22629 install-texinfo:
22631 @endif texinfo
22633 # Other targets (info, dvi, etc.)
22635 .PHONY: maybe-info-texinfo info-texinfo
22636 maybe-info-texinfo:
22637 @if texinfo
22638 maybe-info-texinfo: info-texinfo
22640 info-texinfo: \
22641 configure-texinfo
22642 @[ -f ./texinfo/Makefile ] || exit 0; \
22643 r=`${PWD_COMMAND}`; export r; \
22644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22645 $(HOST_EXPORTS) \
22646 for flag in $(EXTRA_HOST_FLAGS) ; do \
22647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22648 done; \
22649 echo "Doing info in texinfo" ; \
22650 (cd $(HOST_SUBDIR)/texinfo && \
22651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22653 "RANLIB=$${RANLIB}" \
22654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22655 info) \
22656 || exit 1
22658 @endif texinfo
22660 .PHONY: maybe-dvi-texinfo dvi-texinfo
22661 maybe-dvi-texinfo:
22662 @if texinfo
22663 maybe-dvi-texinfo: dvi-texinfo
22665 dvi-texinfo: \
22666 configure-texinfo
22667 @[ -f ./texinfo/Makefile ] || exit 0; \
22668 r=`${PWD_COMMAND}`; export r; \
22669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22670 $(HOST_EXPORTS) \
22671 for flag in $(EXTRA_HOST_FLAGS) ; do \
22672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22673 done; \
22674 echo "Doing dvi in texinfo" ; \
22675 (cd $(HOST_SUBDIR)/texinfo && \
22676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22678 "RANLIB=$${RANLIB}" \
22679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22680 dvi) \
22681 || exit 1
22683 @endif texinfo
22685 .PHONY: maybe-html-texinfo html-texinfo
22686 maybe-html-texinfo:
22687 @if texinfo
22688 maybe-html-texinfo: html-texinfo
22690 html-texinfo: \
22691 configure-texinfo
22692 @[ -f ./texinfo/Makefile ] || exit 0; \
22693 r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 $(HOST_EXPORTS) \
22696 for flag in $(EXTRA_HOST_FLAGS) ; do \
22697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22698 done; \
22699 echo "Doing html in texinfo" ; \
22700 (cd $(HOST_SUBDIR)/texinfo && \
22701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22703 "RANLIB=$${RANLIB}" \
22704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22705 html) \
22706 || exit 1
22708 @endif texinfo
22710 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
22711 maybe-TAGS-texinfo:
22712 @if texinfo
22713 maybe-TAGS-texinfo: TAGS-texinfo
22715 TAGS-texinfo: \
22716 configure-texinfo
22717 @[ -f ./texinfo/Makefile ] || exit 0; \
22718 r=`${PWD_COMMAND}`; export r; \
22719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 $(HOST_EXPORTS) \
22721 for flag in $(EXTRA_HOST_FLAGS) ; do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723 done; \
22724 echo "Doing TAGS in texinfo" ; \
22725 (cd $(HOST_SUBDIR)/texinfo && \
22726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22728 "RANLIB=$${RANLIB}" \
22729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22730 TAGS) \
22731 || exit 1
22733 @endif texinfo
22735 .PHONY: maybe-install-info-texinfo install-info-texinfo
22736 maybe-install-info-texinfo:
22737 @if texinfo
22738 maybe-install-info-texinfo: install-info-texinfo
22740 install-info-texinfo: \
22741 configure-texinfo \
22742 info-texinfo
22743 @[ -f ./texinfo/Makefile ] || exit 0; \
22744 r=`${PWD_COMMAND}`; export r; \
22745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746 $(HOST_EXPORTS) \
22747 for flag in $(EXTRA_HOST_FLAGS) ; do \
22748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22749 done; \
22750 echo "Doing install-info in texinfo" ; \
22751 (cd $(HOST_SUBDIR)/texinfo && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22756 install-info) \
22757 || exit 1
22759 @endif texinfo
22761 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
22762 maybe-installcheck-texinfo:
22763 @if texinfo
22764 maybe-installcheck-texinfo: installcheck-texinfo
22766 installcheck-texinfo: \
22767 configure-texinfo
22768 @[ -f ./texinfo/Makefile ] || exit 0; \
22769 r=`${PWD_COMMAND}`; export r; \
22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 $(HOST_EXPORTS) \
22772 for flag in $(EXTRA_HOST_FLAGS) ; do \
22773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774 done; \
22775 echo "Doing installcheck in texinfo" ; \
22776 (cd $(HOST_SUBDIR)/texinfo && \
22777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22779 "RANLIB=$${RANLIB}" \
22780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22781 installcheck) \
22782 || exit 1
22784 @endif texinfo
22786 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
22787 maybe-mostlyclean-texinfo:
22788 @if texinfo
22789 maybe-mostlyclean-texinfo: mostlyclean-texinfo
22791 mostlyclean-texinfo:
22792 @[ -f ./texinfo/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 $(HOST_EXPORTS) \
22796 for flag in $(EXTRA_HOST_FLAGS) ; do \
22797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22798 done; \
22799 echo "Doing mostlyclean in texinfo" ; \
22800 (cd $(HOST_SUBDIR)/texinfo && \
22801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22803 "RANLIB=$${RANLIB}" \
22804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22805 mostlyclean) \
22806 || exit 1
22808 @endif texinfo
22810 .PHONY: maybe-clean-texinfo clean-texinfo
22811 maybe-clean-texinfo:
22812 @if texinfo
22813 maybe-clean-texinfo: clean-texinfo
22815 clean-texinfo:
22816 @[ -f ./texinfo/Makefile ] || exit 0; \
22817 r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 $(HOST_EXPORTS) \
22820 for flag in $(EXTRA_HOST_FLAGS) ; do \
22821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22822 done; \
22823 echo "Doing clean in texinfo" ; \
22824 (cd $(HOST_SUBDIR)/texinfo && \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22827 "RANLIB=$${RANLIB}" \
22828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22829 clean) \
22830 || exit 1
22832 @endif texinfo
22834 .PHONY: maybe-distclean-texinfo distclean-texinfo
22835 maybe-distclean-texinfo:
22836 @if texinfo
22837 maybe-distclean-texinfo: distclean-texinfo
22839 distclean-texinfo:
22840 @[ -f ./texinfo/Makefile ] || exit 0; \
22841 r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843 $(HOST_EXPORTS) \
22844 for flag in $(EXTRA_HOST_FLAGS) ; do \
22845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22846 done; \
22847 echo "Doing distclean in texinfo" ; \
22848 (cd $(HOST_SUBDIR)/texinfo && \
22849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22851 "RANLIB=$${RANLIB}" \
22852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22853 distclean) \
22854 || exit 1
22856 @endif texinfo
22858 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
22859 maybe-maintainer-clean-texinfo:
22860 @if texinfo
22861 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
22863 maintainer-clean-texinfo:
22864 @[ -f ./texinfo/Makefile ] || exit 0; \
22865 r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(HOST_EXPORTS) \
22868 for flag in $(EXTRA_HOST_FLAGS) ; do \
22869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22870 done; \
22871 echo "Doing maintainer-clean in texinfo" ; \
22872 (cd $(HOST_SUBDIR)/texinfo && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22875 "RANLIB=$${RANLIB}" \
22876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22877 maintainer-clean) \
22878 || exit 1
22880 @endif texinfo
22884 .PHONY: configure-textutils maybe-configure-textutils
22885 maybe-configure-textutils:
22886 @if textutils
22887 maybe-configure-textutils: configure-textutils
22888 configure-textutils:
22889 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
22890 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
22891 r=`${PWD_COMMAND}`; export r; \
22892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22893 $(HOST_EXPORTS) \
22894 echo Configuring in $(HOST_SUBDIR)/textutils; \
22895 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
22896 case $(srcdir) in \
22897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22898 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
22899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22900 esac; \
22901 srcdiroption="--srcdir=$${topdir}/textutils"; \
22902 libsrcdir="$$s/textutils"; \
22903 $(SHELL) $${libsrcdir}/configure \
22904 $(HOST_CONFIGARGS) $${srcdiroption} \
22905 || exit 1
22906 @endif textutils
22912 .PHONY: all-textutils maybe-all-textutils
22913 maybe-all-textutils:
22914 @if textutils
22915 TARGET-textutils=all
22916 maybe-all-textutils: all-textutils
22917 all-textutils: configure-textutils
22918 @r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22920 $(HOST_EXPORTS) \
22921 (cd $(HOST_SUBDIR)/textutils && \
22922 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
22923 @endif textutils
22928 .PHONY: check-textutils maybe-check-textutils
22929 maybe-check-textutils:
22930 @if textutils
22931 maybe-check-textutils: check-textutils
22933 check-textutils:
22934 @r=`${PWD_COMMAND}`; export r; \
22935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22936 $(HOST_EXPORTS) \
22937 (cd $(HOST_SUBDIR)/textutils && \
22938 $(MAKE) $(FLAGS_TO_PASS) check)
22940 @endif textutils
22942 .PHONY: install-textutils maybe-install-textutils
22943 maybe-install-textutils:
22944 @if textutils
22945 maybe-install-textutils: install-textutils
22947 install-textutils: installdirs
22948 @r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(HOST_EXPORTS) \
22951 (cd $(HOST_SUBDIR)/textutils && \
22952 $(MAKE) $(FLAGS_TO_PASS) install)
22954 @endif textutils
22956 # Other targets (info, dvi, etc.)
22958 .PHONY: maybe-info-textutils info-textutils
22959 maybe-info-textutils:
22960 @if textutils
22961 maybe-info-textutils: info-textutils
22963 info-textutils: \
22964 configure-textutils
22965 @[ -f ./textutils/Makefile ] || exit 0; \
22966 r=`${PWD_COMMAND}`; export r; \
22967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 $(HOST_EXPORTS) \
22969 for flag in $(EXTRA_HOST_FLAGS) ; do \
22970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22971 done; \
22972 echo "Doing info in textutils" ; \
22973 (cd $(HOST_SUBDIR)/textutils && \
22974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22976 "RANLIB=$${RANLIB}" \
22977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22978 info) \
22979 || exit 1
22981 @endif textutils
22983 .PHONY: maybe-dvi-textutils dvi-textutils
22984 maybe-dvi-textutils:
22985 @if textutils
22986 maybe-dvi-textutils: dvi-textutils
22988 dvi-textutils: \
22989 configure-textutils
22990 @[ -f ./textutils/Makefile ] || exit 0; \
22991 r=`${PWD_COMMAND}`; export r; \
22992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 $(HOST_EXPORTS) \
22994 for flag in $(EXTRA_HOST_FLAGS) ; do \
22995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22996 done; \
22997 echo "Doing dvi in textutils" ; \
22998 (cd $(HOST_SUBDIR)/textutils && \
22999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23001 "RANLIB=$${RANLIB}" \
23002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23003 dvi) \
23004 || exit 1
23006 @endif textutils
23008 .PHONY: maybe-html-textutils html-textutils
23009 maybe-html-textutils:
23010 @if textutils
23011 maybe-html-textutils: html-textutils
23013 html-textutils: \
23014 configure-textutils
23015 @[ -f ./textutils/Makefile ] || exit 0; \
23016 r=`${PWD_COMMAND}`; export r; \
23017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23018 $(HOST_EXPORTS) \
23019 for flag in $(EXTRA_HOST_FLAGS) ; do \
23020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23021 done; \
23022 echo "Doing html in textutils" ; \
23023 (cd $(HOST_SUBDIR)/textutils && \
23024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23026 "RANLIB=$${RANLIB}" \
23027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23028 html) \
23029 || exit 1
23031 @endif textutils
23033 .PHONY: maybe-TAGS-textutils TAGS-textutils
23034 maybe-TAGS-textutils:
23035 @if textutils
23036 maybe-TAGS-textutils: TAGS-textutils
23038 TAGS-textutils: \
23039 configure-textutils
23040 @[ -f ./textutils/Makefile ] || exit 0; \
23041 r=`${PWD_COMMAND}`; export r; \
23042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23043 $(HOST_EXPORTS) \
23044 for flag in $(EXTRA_HOST_FLAGS) ; do \
23045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23046 done; \
23047 echo "Doing TAGS in textutils" ; \
23048 (cd $(HOST_SUBDIR)/textutils && \
23049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23051 "RANLIB=$${RANLIB}" \
23052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23053 TAGS) \
23054 || exit 1
23056 @endif textutils
23058 .PHONY: maybe-install-info-textutils install-info-textutils
23059 maybe-install-info-textutils:
23060 @if textutils
23061 maybe-install-info-textutils: install-info-textutils
23063 install-info-textutils: \
23064 configure-textutils \
23065 info-textutils
23066 @[ -f ./textutils/Makefile ] || exit 0; \
23067 r=`${PWD_COMMAND}`; export r; \
23068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23069 $(HOST_EXPORTS) \
23070 for flag in $(EXTRA_HOST_FLAGS) ; do \
23071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23072 done; \
23073 echo "Doing install-info in textutils" ; \
23074 (cd $(HOST_SUBDIR)/textutils && \
23075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23077 "RANLIB=$${RANLIB}" \
23078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23079 install-info) \
23080 || exit 1
23082 @endif textutils
23084 .PHONY: maybe-installcheck-textutils installcheck-textutils
23085 maybe-installcheck-textutils:
23086 @if textutils
23087 maybe-installcheck-textutils: installcheck-textutils
23089 installcheck-textutils: \
23090 configure-textutils
23091 @[ -f ./textutils/Makefile ] || exit 0; \
23092 r=`${PWD_COMMAND}`; export r; \
23093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23094 $(HOST_EXPORTS) \
23095 for flag in $(EXTRA_HOST_FLAGS) ; do \
23096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23097 done; \
23098 echo "Doing installcheck in textutils" ; \
23099 (cd $(HOST_SUBDIR)/textutils && \
23100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23102 "RANLIB=$${RANLIB}" \
23103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23104 installcheck) \
23105 || exit 1
23107 @endif textutils
23109 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23110 maybe-mostlyclean-textutils:
23111 @if textutils
23112 maybe-mostlyclean-textutils: mostlyclean-textutils
23114 mostlyclean-textutils:
23115 @[ -f ./textutils/Makefile ] || exit 0; \
23116 r=`${PWD_COMMAND}`; export r; \
23117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23118 $(HOST_EXPORTS) \
23119 for flag in $(EXTRA_HOST_FLAGS) ; do \
23120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23121 done; \
23122 echo "Doing mostlyclean in textutils" ; \
23123 (cd $(HOST_SUBDIR)/textutils && \
23124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23126 "RANLIB=$${RANLIB}" \
23127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23128 mostlyclean) \
23129 || exit 1
23131 @endif textutils
23133 .PHONY: maybe-clean-textutils clean-textutils
23134 maybe-clean-textutils:
23135 @if textutils
23136 maybe-clean-textutils: clean-textutils
23138 clean-textutils:
23139 @[ -f ./textutils/Makefile ] || exit 0; \
23140 r=`${PWD_COMMAND}`; export r; \
23141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23142 $(HOST_EXPORTS) \
23143 for flag in $(EXTRA_HOST_FLAGS) ; do \
23144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23145 done; \
23146 echo "Doing clean in textutils" ; \
23147 (cd $(HOST_SUBDIR)/textutils && \
23148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23150 "RANLIB=$${RANLIB}" \
23151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23152 clean) \
23153 || exit 1
23155 @endif textutils
23157 .PHONY: maybe-distclean-textutils distclean-textutils
23158 maybe-distclean-textutils:
23159 @if textutils
23160 maybe-distclean-textutils: distclean-textutils
23162 distclean-textutils:
23163 @[ -f ./textutils/Makefile ] || exit 0; \
23164 r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(HOST_EXPORTS) \
23167 for flag in $(EXTRA_HOST_FLAGS) ; do \
23168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23169 done; \
23170 echo "Doing distclean in textutils" ; \
23171 (cd $(HOST_SUBDIR)/textutils && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23176 distclean) \
23177 || exit 1
23179 @endif textutils
23181 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
23182 maybe-maintainer-clean-textutils:
23183 @if textutils
23184 maybe-maintainer-clean-textutils: maintainer-clean-textutils
23186 maintainer-clean-textutils:
23187 @[ -f ./textutils/Makefile ] || exit 0; \
23188 r=`${PWD_COMMAND}`; export r; \
23189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23190 $(HOST_EXPORTS) \
23191 for flag in $(EXTRA_HOST_FLAGS) ; do \
23192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23193 done; \
23194 echo "Doing maintainer-clean in textutils" ; \
23195 (cd $(HOST_SUBDIR)/textutils && \
23196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23198 "RANLIB=$${RANLIB}" \
23199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23200 maintainer-clean) \
23201 || exit 1
23203 @endif textutils
23207 .PHONY: configure-time maybe-configure-time
23208 maybe-configure-time:
23209 @if time
23210 maybe-configure-time: configure-time
23211 configure-time:
23212 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
23213 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
23214 r=`${PWD_COMMAND}`; export r; \
23215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 $(HOST_EXPORTS) \
23217 echo Configuring in $(HOST_SUBDIR)/time; \
23218 cd "$(HOST_SUBDIR)/time" || exit 1; \
23219 case $(srcdir) in \
23220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23221 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
23222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23223 esac; \
23224 srcdiroption="--srcdir=$${topdir}/time"; \
23225 libsrcdir="$$s/time"; \
23226 $(SHELL) $${libsrcdir}/configure \
23227 $(HOST_CONFIGARGS) $${srcdiroption} \
23228 || exit 1
23229 @endif time
23235 .PHONY: all-time maybe-all-time
23236 maybe-all-time:
23237 @if time
23238 TARGET-time=all
23239 maybe-all-time: all-time
23240 all-time: configure-time
23241 @r=`${PWD_COMMAND}`; export r; \
23242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23243 $(HOST_EXPORTS) \
23244 (cd $(HOST_SUBDIR)/time && \
23245 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
23246 @endif time
23251 .PHONY: check-time maybe-check-time
23252 maybe-check-time:
23253 @if time
23254 maybe-check-time: check-time
23256 check-time:
23257 @r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(HOST_EXPORTS) \
23260 (cd $(HOST_SUBDIR)/time && \
23261 $(MAKE) $(FLAGS_TO_PASS) check)
23263 @endif time
23265 .PHONY: install-time maybe-install-time
23266 maybe-install-time:
23267 @if time
23268 maybe-install-time: install-time
23270 install-time: installdirs
23271 @r=`${PWD_COMMAND}`; export r; \
23272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23273 $(HOST_EXPORTS) \
23274 (cd $(HOST_SUBDIR)/time && \
23275 $(MAKE) $(FLAGS_TO_PASS) install)
23277 @endif time
23279 # Other targets (info, dvi, etc.)
23281 .PHONY: maybe-info-time info-time
23282 maybe-info-time:
23283 @if time
23284 maybe-info-time: info-time
23286 info-time: \
23287 configure-time
23288 @[ -f ./time/Makefile ] || exit 0; \
23289 r=`${PWD_COMMAND}`; export r; \
23290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23291 $(HOST_EXPORTS) \
23292 for flag in $(EXTRA_HOST_FLAGS) ; do \
23293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23294 done; \
23295 echo "Doing info in time" ; \
23296 (cd $(HOST_SUBDIR)/time && \
23297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23299 "RANLIB=$${RANLIB}" \
23300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23301 info) \
23302 || exit 1
23304 @endif time
23306 .PHONY: maybe-dvi-time dvi-time
23307 maybe-dvi-time:
23308 @if time
23309 maybe-dvi-time: dvi-time
23311 dvi-time: \
23312 configure-time
23313 @[ -f ./time/Makefile ] || exit 0; \
23314 r=`${PWD_COMMAND}`; export r; \
23315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23316 $(HOST_EXPORTS) \
23317 for flag in $(EXTRA_HOST_FLAGS) ; do \
23318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23319 done; \
23320 echo "Doing dvi in time" ; \
23321 (cd $(HOST_SUBDIR)/time && \
23322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23324 "RANLIB=$${RANLIB}" \
23325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23326 dvi) \
23327 || exit 1
23329 @endif time
23331 .PHONY: maybe-html-time html-time
23332 maybe-html-time:
23333 @if time
23334 maybe-html-time: html-time
23336 html-time: \
23337 configure-time
23338 @[ -f ./time/Makefile ] || exit 0; \
23339 r=`${PWD_COMMAND}`; export r; \
23340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23341 $(HOST_EXPORTS) \
23342 for flag in $(EXTRA_HOST_FLAGS) ; do \
23343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23344 done; \
23345 echo "Doing html in time" ; \
23346 (cd $(HOST_SUBDIR)/time && \
23347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23349 "RANLIB=$${RANLIB}" \
23350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23351 html) \
23352 || exit 1
23354 @endif time
23356 .PHONY: maybe-TAGS-time TAGS-time
23357 maybe-TAGS-time:
23358 @if time
23359 maybe-TAGS-time: TAGS-time
23361 TAGS-time: \
23362 configure-time
23363 @[ -f ./time/Makefile ] || exit 0; \
23364 r=`${PWD_COMMAND}`; export r; \
23365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23366 $(HOST_EXPORTS) \
23367 for flag in $(EXTRA_HOST_FLAGS) ; do \
23368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23369 done; \
23370 echo "Doing TAGS in time" ; \
23371 (cd $(HOST_SUBDIR)/time && \
23372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23374 "RANLIB=$${RANLIB}" \
23375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23376 TAGS) \
23377 || exit 1
23379 @endif time
23381 .PHONY: maybe-install-info-time install-info-time
23382 maybe-install-info-time:
23383 @if time
23384 maybe-install-info-time: install-info-time
23386 install-info-time: \
23387 configure-time \
23388 info-time
23389 @[ -f ./time/Makefile ] || exit 0; \
23390 r=`${PWD_COMMAND}`; export r; \
23391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23392 $(HOST_EXPORTS) \
23393 for flag in $(EXTRA_HOST_FLAGS) ; do \
23394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23395 done; \
23396 echo "Doing install-info in time" ; \
23397 (cd $(HOST_SUBDIR)/time && \
23398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23400 "RANLIB=$${RANLIB}" \
23401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23402 install-info) \
23403 || exit 1
23405 @endif time
23407 .PHONY: maybe-installcheck-time installcheck-time
23408 maybe-installcheck-time:
23409 @if time
23410 maybe-installcheck-time: installcheck-time
23412 installcheck-time: \
23413 configure-time
23414 @[ -f ./time/Makefile ] || exit 0; \
23415 r=`${PWD_COMMAND}`; export r; \
23416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23417 $(HOST_EXPORTS) \
23418 for flag in $(EXTRA_HOST_FLAGS) ; do \
23419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23420 done; \
23421 echo "Doing installcheck in time" ; \
23422 (cd $(HOST_SUBDIR)/time && \
23423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23425 "RANLIB=$${RANLIB}" \
23426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23427 installcheck) \
23428 || exit 1
23430 @endif time
23432 .PHONY: maybe-mostlyclean-time mostlyclean-time
23433 maybe-mostlyclean-time:
23434 @if time
23435 maybe-mostlyclean-time: mostlyclean-time
23437 mostlyclean-time:
23438 @[ -f ./time/Makefile ] || exit 0; \
23439 r=`${PWD_COMMAND}`; export r; \
23440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23441 $(HOST_EXPORTS) \
23442 for flag in $(EXTRA_HOST_FLAGS) ; do \
23443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23444 done; \
23445 echo "Doing mostlyclean in time" ; \
23446 (cd $(HOST_SUBDIR)/time && \
23447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23449 "RANLIB=$${RANLIB}" \
23450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23451 mostlyclean) \
23452 || exit 1
23454 @endif time
23456 .PHONY: maybe-clean-time clean-time
23457 maybe-clean-time:
23458 @if time
23459 maybe-clean-time: clean-time
23461 clean-time:
23462 @[ -f ./time/Makefile ] || exit 0; \
23463 r=`${PWD_COMMAND}`; export r; \
23464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23465 $(HOST_EXPORTS) \
23466 for flag in $(EXTRA_HOST_FLAGS) ; do \
23467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23468 done; \
23469 echo "Doing clean in time" ; \
23470 (cd $(HOST_SUBDIR)/time && \
23471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23473 "RANLIB=$${RANLIB}" \
23474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23475 clean) \
23476 || exit 1
23478 @endif time
23480 .PHONY: maybe-distclean-time distclean-time
23481 maybe-distclean-time:
23482 @if time
23483 maybe-distclean-time: distclean-time
23485 distclean-time:
23486 @[ -f ./time/Makefile ] || exit 0; \
23487 r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 $(HOST_EXPORTS) \
23490 for flag in $(EXTRA_HOST_FLAGS) ; do \
23491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23492 done; \
23493 echo "Doing distclean in time" ; \
23494 (cd $(HOST_SUBDIR)/time && \
23495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23497 "RANLIB=$${RANLIB}" \
23498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23499 distclean) \
23500 || exit 1
23502 @endif time
23504 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
23505 maybe-maintainer-clean-time:
23506 @if time
23507 maybe-maintainer-clean-time: maintainer-clean-time
23509 maintainer-clean-time:
23510 @[ -f ./time/Makefile ] || exit 0; \
23511 r=`${PWD_COMMAND}`; export r; \
23512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23513 $(HOST_EXPORTS) \
23514 for flag in $(EXTRA_HOST_FLAGS) ; do \
23515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23516 done; \
23517 echo "Doing maintainer-clean in time" ; \
23518 (cd $(HOST_SUBDIR)/time && \
23519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23521 "RANLIB=$${RANLIB}" \
23522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23523 maintainer-clean) \
23524 || exit 1
23526 @endif time
23530 .PHONY: configure-uudecode maybe-configure-uudecode
23531 maybe-configure-uudecode:
23532 @if uudecode
23533 maybe-configure-uudecode: configure-uudecode
23534 configure-uudecode:
23535 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
23536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
23537 r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23539 $(HOST_EXPORTS) \
23540 echo Configuring in $(HOST_SUBDIR)/uudecode; \
23541 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
23542 case $(srcdir) in \
23543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23544 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
23545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23546 esac; \
23547 srcdiroption="--srcdir=$${topdir}/uudecode"; \
23548 libsrcdir="$$s/uudecode"; \
23549 $(SHELL) $${libsrcdir}/configure \
23550 $(HOST_CONFIGARGS) $${srcdiroption} \
23551 || exit 1
23552 @endif uudecode
23558 .PHONY: all-uudecode maybe-all-uudecode
23559 maybe-all-uudecode:
23560 @if uudecode
23561 TARGET-uudecode=all
23562 maybe-all-uudecode: all-uudecode
23563 all-uudecode: configure-uudecode
23564 @r=`${PWD_COMMAND}`; export r; \
23565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23566 $(HOST_EXPORTS) \
23567 (cd $(HOST_SUBDIR)/uudecode && \
23568 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
23569 @endif uudecode
23574 .PHONY: check-uudecode maybe-check-uudecode
23575 maybe-check-uudecode:
23576 @if uudecode
23577 maybe-check-uudecode: check-uudecode
23579 check-uudecode:
23580 @r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 $(HOST_EXPORTS) \
23583 (cd $(HOST_SUBDIR)/uudecode && \
23584 $(MAKE) $(FLAGS_TO_PASS) check)
23586 @endif uudecode
23588 .PHONY: install-uudecode maybe-install-uudecode
23589 maybe-install-uudecode:
23590 @if uudecode
23591 maybe-install-uudecode: install-uudecode
23593 install-uudecode: installdirs
23594 @r=`${PWD_COMMAND}`; export r; \
23595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23596 $(HOST_EXPORTS) \
23597 (cd $(HOST_SUBDIR)/uudecode && \
23598 $(MAKE) $(FLAGS_TO_PASS) install)
23600 @endif uudecode
23602 # Other targets (info, dvi, etc.)
23604 .PHONY: maybe-info-uudecode info-uudecode
23605 maybe-info-uudecode:
23606 @if uudecode
23607 maybe-info-uudecode: info-uudecode
23609 info-uudecode: \
23610 configure-uudecode
23611 @[ -f ./uudecode/Makefile ] || exit 0; \
23612 r=`${PWD_COMMAND}`; export r; \
23613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(HOST_EXPORTS) \
23615 for flag in $(EXTRA_HOST_FLAGS) ; do \
23616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23617 done; \
23618 echo "Doing info in uudecode" ; \
23619 (cd $(HOST_SUBDIR)/uudecode && \
23620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23622 "RANLIB=$${RANLIB}" \
23623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23624 info) \
23625 || exit 1
23627 @endif uudecode
23629 .PHONY: maybe-dvi-uudecode dvi-uudecode
23630 maybe-dvi-uudecode:
23631 @if uudecode
23632 maybe-dvi-uudecode: dvi-uudecode
23634 dvi-uudecode: \
23635 configure-uudecode
23636 @[ -f ./uudecode/Makefile ] || exit 0; \
23637 r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23639 $(HOST_EXPORTS) \
23640 for flag in $(EXTRA_HOST_FLAGS) ; do \
23641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23642 done; \
23643 echo "Doing dvi in uudecode" ; \
23644 (cd $(HOST_SUBDIR)/uudecode && \
23645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23647 "RANLIB=$${RANLIB}" \
23648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23649 dvi) \
23650 || exit 1
23652 @endif uudecode
23654 .PHONY: maybe-html-uudecode html-uudecode
23655 maybe-html-uudecode:
23656 @if uudecode
23657 maybe-html-uudecode: html-uudecode
23659 html-uudecode: \
23660 configure-uudecode
23661 @[ -f ./uudecode/Makefile ] || exit 0; \
23662 r=`${PWD_COMMAND}`; export r; \
23663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 $(HOST_EXPORTS) \
23665 for flag in $(EXTRA_HOST_FLAGS) ; do \
23666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23667 done; \
23668 echo "Doing html in uudecode" ; \
23669 (cd $(HOST_SUBDIR)/uudecode && \
23670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23672 "RANLIB=$${RANLIB}" \
23673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23674 html) \
23675 || exit 1
23677 @endif uudecode
23679 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
23680 maybe-TAGS-uudecode:
23681 @if uudecode
23682 maybe-TAGS-uudecode: TAGS-uudecode
23684 TAGS-uudecode: \
23685 configure-uudecode
23686 @[ -f ./uudecode/Makefile ] || exit 0; \
23687 r=`${PWD_COMMAND}`; export r; \
23688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23689 $(HOST_EXPORTS) \
23690 for flag in $(EXTRA_HOST_FLAGS) ; do \
23691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23692 done; \
23693 echo "Doing TAGS in uudecode" ; \
23694 (cd $(HOST_SUBDIR)/uudecode && \
23695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23697 "RANLIB=$${RANLIB}" \
23698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23699 TAGS) \
23700 || exit 1
23702 @endif uudecode
23704 .PHONY: maybe-install-info-uudecode install-info-uudecode
23705 maybe-install-info-uudecode:
23706 @if uudecode
23707 maybe-install-info-uudecode: install-info-uudecode
23709 install-info-uudecode: \
23710 configure-uudecode \
23711 info-uudecode
23712 @[ -f ./uudecode/Makefile ] || exit 0; \
23713 r=`${PWD_COMMAND}`; export r; \
23714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23715 $(HOST_EXPORTS) \
23716 for flag in $(EXTRA_HOST_FLAGS) ; do \
23717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23718 done; \
23719 echo "Doing install-info in uudecode" ; \
23720 (cd $(HOST_SUBDIR)/uudecode && \
23721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23723 "RANLIB=$${RANLIB}" \
23724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23725 install-info) \
23726 || exit 1
23728 @endif uudecode
23730 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
23731 maybe-installcheck-uudecode:
23732 @if uudecode
23733 maybe-installcheck-uudecode: installcheck-uudecode
23735 installcheck-uudecode: \
23736 configure-uudecode
23737 @[ -f ./uudecode/Makefile ] || exit 0; \
23738 r=`${PWD_COMMAND}`; export r; \
23739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23740 $(HOST_EXPORTS) \
23741 for flag in $(EXTRA_HOST_FLAGS) ; do \
23742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23743 done; \
23744 echo "Doing installcheck in uudecode" ; \
23745 (cd $(HOST_SUBDIR)/uudecode && \
23746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23748 "RANLIB=$${RANLIB}" \
23749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23750 installcheck) \
23751 || exit 1
23753 @endif uudecode
23755 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
23756 maybe-mostlyclean-uudecode:
23757 @if uudecode
23758 maybe-mostlyclean-uudecode: mostlyclean-uudecode
23760 mostlyclean-uudecode:
23761 @[ -f ./uudecode/Makefile ] || exit 0; \
23762 r=`${PWD_COMMAND}`; export r; \
23763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23764 $(HOST_EXPORTS) \
23765 for flag in $(EXTRA_HOST_FLAGS) ; do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 echo "Doing mostlyclean in uudecode" ; \
23769 (cd $(HOST_SUBDIR)/uudecode && \
23770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23772 "RANLIB=$${RANLIB}" \
23773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23774 mostlyclean) \
23775 || exit 1
23777 @endif uudecode
23779 .PHONY: maybe-clean-uudecode clean-uudecode
23780 maybe-clean-uudecode:
23781 @if uudecode
23782 maybe-clean-uudecode: clean-uudecode
23784 clean-uudecode:
23785 @[ -f ./uudecode/Makefile ] || exit 0; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(HOST_EXPORTS) \
23789 for flag in $(EXTRA_HOST_FLAGS) ; do \
23790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23791 done; \
23792 echo "Doing clean in uudecode" ; \
23793 (cd $(HOST_SUBDIR)/uudecode && \
23794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23796 "RANLIB=$${RANLIB}" \
23797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23798 clean) \
23799 || exit 1
23801 @endif uudecode
23803 .PHONY: maybe-distclean-uudecode distclean-uudecode
23804 maybe-distclean-uudecode:
23805 @if uudecode
23806 maybe-distclean-uudecode: distclean-uudecode
23808 distclean-uudecode:
23809 @[ -f ./uudecode/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23812 $(HOST_EXPORTS) \
23813 for flag in $(EXTRA_HOST_FLAGS) ; do \
23814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23815 done; \
23816 echo "Doing distclean in uudecode" ; \
23817 (cd $(HOST_SUBDIR)/uudecode && \
23818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23820 "RANLIB=$${RANLIB}" \
23821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23822 distclean) \
23823 || exit 1
23825 @endif uudecode
23827 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
23828 maybe-maintainer-clean-uudecode:
23829 @if uudecode
23830 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
23832 maintainer-clean-uudecode:
23833 @[ -f ./uudecode/Makefile ] || exit 0; \
23834 r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 for flag in $(EXTRA_HOST_FLAGS) ; do \
23838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 done; \
23840 echo "Doing maintainer-clean in uudecode" ; \
23841 (cd $(HOST_SUBDIR)/uudecode && \
23842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23844 "RANLIB=$${RANLIB}" \
23845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23846 maintainer-clean) \
23847 || exit 1
23849 @endif uudecode
23853 .PHONY: configure-wdiff maybe-configure-wdiff
23854 maybe-configure-wdiff:
23855 @if wdiff
23856 maybe-configure-wdiff: configure-wdiff
23857 configure-wdiff:
23858 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
23859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23862 $(HOST_EXPORTS) \
23863 echo Configuring in $(HOST_SUBDIR)/wdiff; \
23864 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
23865 case $(srcdir) in \
23866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23867 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
23868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23869 esac; \
23870 srcdiroption="--srcdir=$${topdir}/wdiff"; \
23871 libsrcdir="$$s/wdiff"; \
23872 $(SHELL) $${libsrcdir}/configure \
23873 $(HOST_CONFIGARGS) $${srcdiroption} \
23874 || exit 1
23875 @endif wdiff
23881 .PHONY: all-wdiff maybe-all-wdiff
23882 maybe-all-wdiff:
23883 @if wdiff
23884 TARGET-wdiff=all
23885 maybe-all-wdiff: all-wdiff
23886 all-wdiff: configure-wdiff
23887 @r=`${PWD_COMMAND}`; export r; \
23888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 $(HOST_EXPORTS) \
23890 (cd $(HOST_SUBDIR)/wdiff && \
23891 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
23892 @endif wdiff
23897 .PHONY: check-wdiff maybe-check-wdiff
23898 maybe-check-wdiff:
23899 @if wdiff
23900 maybe-check-wdiff: check-wdiff
23902 check-wdiff:
23903 @r=`${PWD_COMMAND}`; export r; \
23904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23905 $(HOST_EXPORTS) \
23906 (cd $(HOST_SUBDIR)/wdiff && \
23907 $(MAKE) $(FLAGS_TO_PASS) check)
23909 @endif wdiff
23911 .PHONY: install-wdiff maybe-install-wdiff
23912 maybe-install-wdiff:
23913 @if wdiff
23914 maybe-install-wdiff: install-wdiff
23916 install-wdiff: installdirs
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(HOST_EXPORTS) \
23920 (cd $(HOST_SUBDIR)/wdiff && \
23921 $(MAKE) $(FLAGS_TO_PASS) install)
23923 @endif wdiff
23925 # Other targets (info, dvi, etc.)
23927 .PHONY: maybe-info-wdiff info-wdiff
23928 maybe-info-wdiff:
23929 @if wdiff
23930 maybe-info-wdiff: info-wdiff
23932 info-wdiff: \
23933 configure-wdiff
23934 @[ -f ./wdiff/Makefile ] || exit 0; \
23935 r=`${PWD_COMMAND}`; export r; \
23936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23937 $(HOST_EXPORTS) \
23938 for flag in $(EXTRA_HOST_FLAGS) ; do \
23939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 done; \
23941 echo "Doing info in wdiff" ; \
23942 (cd $(HOST_SUBDIR)/wdiff && \
23943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23945 "RANLIB=$${RANLIB}" \
23946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23947 info) \
23948 || exit 1
23950 @endif wdiff
23952 .PHONY: maybe-dvi-wdiff dvi-wdiff
23953 maybe-dvi-wdiff:
23954 @if wdiff
23955 maybe-dvi-wdiff: dvi-wdiff
23957 dvi-wdiff: \
23958 configure-wdiff
23959 @[ -f ./wdiff/Makefile ] || exit 0; \
23960 r=`${PWD_COMMAND}`; export r; \
23961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23962 $(HOST_EXPORTS) \
23963 for flag in $(EXTRA_HOST_FLAGS) ; do \
23964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23965 done; \
23966 echo "Doing dvi in wdiff" ; \
23967 (cd $(HOST_SUBDIR)/wdiff && \
23968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23970 "RANLIB=$${RANLIB}" \
23971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23972 dvi) \
23973 || exit 1
23975 @endif wdiff
23977 .PHONY: maybe-html-wdiff html-wdiff
23978 maybe-html-wdiff:
23979 @if wdiff
23980 maybe-html-wdiff: html-wdiff
23982 html-wdiff: \
23983 configure-wdiff
23984 @[ -f ./wdiff/Makefile ] || exit 0; \
23985 r=`${PWD_COMMAND}`; export r; \
23986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23987 $(HOST_EXPORTS) \
23988 for flag in $(EXTRA_HOST_FLAGS) ; do \
23989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23990 done; \
23991 echo "Doing html in wdiff" ; \
23992 (cd $(HOST_SUBDIR)/wdiff && \
23993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23995 "RANLIB=$${RANLIB}" \
23996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23997 html) \
23998 || exit 1
24000 @endif wdiff
24002 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24003 maybe-TAGS-wdiff:
24004 @if wdiff
24005 maybe-TAGS-wdiff: TAGS-wdiff
24007 TAGS-wdiff: \
24008 configure-wdiff
24009 @[ -f ./wdiff/Makefile ] || exit 0; \
24010 r=`${PWD_COMMAND}`; export r; \
24011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24012 $(HOST_EXPORTS) \
24013 for flag in $(EXTRA_HOST_FLAGS) ; do \
24014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24015 done; \
24016 echo "Doing TAGS in wdiff" ; \
24017 (cd $(HOST_SUBDIR)/wdiff && \
24018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24020 "RANLIB=$${RANLIB}" \
24021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 TAGS) \
24023 || exit 1
24025 @endif wdiff
24027 .PHONY: maybe-install-info-wdiff install-info-wdiff
24028 maybe-install-info-wdiff:
24029 @if wdiff
24030 maybe-install-info-wdiff: install-info-wdiff
24032 install-info-wdiff: \
24033 configure-wdiff \
24034 info-wdiff
24035 @[ -f ./wdiff/Makefile ] || exit 0; \
24036 r=`${PWD_COMMAND}`; export r; \
24037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24038 $(HOST_EXPORTS) \
24039 for flag in $(EXTRA_HOST_FLAGS) ; do \
24040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24041 done; \
24042 echo "Doing install-info in wdiff" ; \
24043 (cd $(HOST_SUBDIR)/wdiff && \
24044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24046 "RANLIB=$${RANLIB}" \
24047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24048 install-info) \
24049 || exit 1
24051 @endif wdiff
24053 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
24054 maybe-installcheck-wdiff:
24055 @if wdiff
24056 maybe-installcheck-wdiff: installcheck-wdiff
24058 installcheck-wdiff: \
24059 configure-wdiff
24060 @[ -f ./wdiff/Makefile ] || exit 0; \
24061 r=`${PWD_COMMAND}`; export r; \
24062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24063 $(HOST_EXPORTS) \
24064 for flag in $(EXTRA_HOST_FLAGS) ; do \
24065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24066 done; \
24067 echo "Doing installcheck in wdiff" ; \
24068 (cd $(HOST_SUBDIR)/wdiff && \
24069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24071 "RANLIB=$${RANLIB}" \
24072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24073 installcheck) \
24074 || exit 1
24076 @endif wdiff
24078 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
24079 maybe-mostlyclean-wdiff:
24080 @if wdiff
24081 maybe-mostlyclean-wdiff: mostlyclean-wdiff
24083 mostlyclean-wdiff:
24084 @[ -f ./wdiff/Makefile ] || exit 0; \
24085 r=`${PWD_COMMAND}`; export r; \
24086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24087 $(HOST_EXPORTS) \
24088 for flag in $(EXTRA_HOST_FLAGS) ; do \
24089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24090 done; \
24091 echo "Doing mostlyclean in wdiff" ; \
24092 (cd $(HOST_SUBDIR)/wdiff && \
24093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24095 "RANLIB=$${RANLIB}" \
24096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24097 mostlyclean) \
24098 || exit 1
24100 @endif wdiff
24102 .PHONY: maybe-clean-wdiff clean-wdiff
24103 maybe-clean-wdiff:
24104 @if wdiff
24105 maybe-clean-wdiff: clean-wdiff
24107 clean-wdiff:
24108 @[ -f ./wdiff/Makefile ] || exit 0; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(HOST_EXPORTS) \
24112 for flag in $(EXTRA_HOST_FLAGS) ; do \
24113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24114 done; \
24115 echo "Doing clean in wdiff" ; \
24116 (cd $(HOST_SUBDIR)/wdiff && \
24117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24119 "RANLIB=$${RANLIB}" \
24120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24121 clean) \
24122 || exit 1
24124 @endif wdiff
24126 .PHONY: maybe-distclean-wdiff distclean-wdiff
24127 maybe-distclean-wdiff:
24128 @if wdiff
24129 maybe-distclean-wdiff: distclean-wdiff
24131 distclean-wdiff:
24132 @[ -f ./wdiff/Makefile ] || exit 0; \
24133 r=`${PWD_COMMAND}`; export r; \
24134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24135 $(HOST_EXPORTS) \
24136 for flag in $(EXTRA_HOST_FLAGS) ; do \
24137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24138 done; \
24139 echo "Doing distclean in wdiff" ; \
24140 (cd $(HOST_SUBDIR)/wdiff && \
24141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24143 "RANLIB=$${RANLIB}" \
24144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24145 distclean) \
24146 || exit 1
24148 @endif wdiff
24150 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
24151 maybe-maintainer-clean-wdiff:
24152 @if wdiff
24153 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
24155 maintainer-clean-wdiff:
24156 @[ -f ./wdiff/Makefile ] || exit 0; \
24157 r=`${PWD_COMMAND}`; export r; \
24158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24159 $(HOST_EXPORTS) \
24160 for flag in $(EXTRA_HOST_FLAGS) ; do \
24161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24162 done; \
24163 echo "Doing maintainer-clean in wdiff" ; \
24164 (cd $(HOST_SUBDIR)/wdiff && \
24165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24167 "RANLIB=$${RANLIB}" \
24168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24169 maintainer-clean) \
24170 || exit 1
24172 @endif wdiff
24176 .PHONY: configure-zip maybe-configure-zip
24177 maybe-configure-zip:
24178 @if zip
24179 maybe-configure-zip: configure-zip
24180 configure-zip:
24181 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
24182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
24183 r=`${PWD_COMMAND}`; export r; \
24184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24185 $(HOST_EXPORTS) \
24186 echo Configuring in $(HOST_SUBDIR)/zip; \
24187 cd "$(HOST_SUBDIR)/zip" || exit 1; \
24188 case $(srcdir) in \
24189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24190 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
24191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24192 esac; \
24193 srcdiroption="--srcdir=$${topdir}/zip"; \
24194 libsrcdir="$$s/zip"; \
24195 $(SHELL) $${libsrcdir}/configure \
24196 $(HOST_CONFIGARGS) $${srcdiroption} \
24197 || exit 1
24198 @endif zip
24204 .PHONY: all-zip maybe-all-zip
24205 maybe-all-zip:
24206 @if zip
24207 TARGET-zip=all
24208 maybe-all-zip: all-zip
24209 all-zip: configure-zip
24210 @r=`${PWD_COMMAND}`; export r; \
24211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24212 $(HOST_EXPORTS) \
24213 (cd $(HOST_SUBDIR)/zip && \
24214 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
24215 @endif zip
24220 .PHONY: check-zip maybe-check-zip
24221 maybe-check-zip:
24222 @if zip
24223 maybe-check-zip: check-zip
24225 # This module is only tested in a native toolchain.
24226 check-zip:
24227 @if [ '$(host)' = '$(target)' ] ; then \
24228 r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 $(HOST_EXPORTS) \
24231 (cd $(HOST_SUBDIR)/zip && \
24232 $(MAKE) $(FLAGS_TO_PASS) check); \
24235 @endif zip
24237 .PHONY: install-zip maybe-install-zip
24238 maybe-install-zip:
24239 @if zip
24240 maybe-install-zip: install-zip
24242 install-zip: installdirs
24243 @r=`${PWD_COMMAND}`; export r; \
24244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 $(HOST_EXPORTS) \
24246 (cd $(HOST_SUBDIR)/zip && \
24247 $(MAKE) $(FLAGS_TO_PASS) install)
24249 @endif zip
24251 # Other targets (info, dvi, etc.)
24253 .PHONY: maybe-info-zip info-zip
24254 maybe-info-zip:
24255 @if zip
24256 maybe-info-zip: info-zip
24258 info-zip: \
24259 configure-zip
24260 @[ -f ./zip/Makefile ] || exit 0; \
24261 r=`${PWD_COMMAND}`; export r; \
24262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24263 $(HOST_EXPORTS) \
24264 for flag in $(EXTRA_HOST_FLAGS) ; do \
24265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24266 done; \
24267 echo "Doing info in zip" ; \
24268 (cd $(HOST_SUBDIR)/zip && \
24269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24271 "RANLIB=$${RANLIB}" \
24272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24273 info) \
24274 || exit 1
24276 @endif zip
24278 .PHONY: maybe-dvi-zip dvi-zip
24279 maybe-dvi-zip:
24280 @if zip
24281 maybe-dvi-zip: dvi-zip
24283 dvi-zip: \
24284 configure-zip
24285 @[ -f ./zip/Makefile ] || exit 0; \
24286 r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 $(HOST_EXPORTS) \
24289 for flag in $(EXTRA_HOST_FLAGS) ; do \
24290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24291 done; \
24292 echo "Doing dvi in zip" ; \
24293 (cd $(HOST_SUBDIR)/zip && \
24294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24296 "RANLIB=$${RANLIB}" \
24297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24298 dvi) \
24299 || exit 1
24301 @endif zip
24303 .PHONY: maybe-html-zip html-zip
24304 maybe-html-zip:
24305 @if zip
24306 maybe-html-zip: html-zip
24308 html-zip: \
24309 configure-zip
24310 @[ -f ./zip/Makefile ] || exit 0; \
24311 r=`${PWD_COMMAND}`; export r; \
24312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24313 $(HOST_EXPORTS) \
24314 for flag in $(EXTRA_HOST_FLAGS) ; do \
24315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24316 done; \
24317 echo "Doing html in zip" ; \
24318 (cd $(HOST_SUBDIR)/zip && \
24319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24321 "RANLIB=$${RANLIB}" \
24322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24323 html) \
24324 || exit 1
24326 @endif zip
24328 .PHONY: maybe-TAGS-zip TAGS-zip
24329 maybe-TAGS-zip:
24330 @if zip
24331 maybe-TAGS-zip: TAGS-zip
24333 TAGS-zip: \
24334 configure-zip
24335 @[ -f ./zip/Makefile ] || exit 0; \
24336 r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(HOST_EXPORTS) \
24339 for flag in $(EXTRA_HOST_FLAGS) ; do \
24340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24341 done; \
24342 echo "Doing TAGS in zip" ; \
24343 (cd $(HOST_SUBDIR)/zip && \
24344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24346 "RANLIB=$${RANLIB}" \
24347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24348 TAGS) \
24349 || exit 1
24351 @endif zip
24353 .PHONY: maybe-install-info-zip install-info-zip
24354 maybe-install-info-zip:
24355 @if zip
24356 maybe-install-info-zip: install-info-zip
24358 install-info-zip: \
24359 configure-zip \
24360 info-zip
24361 @[ -f ./zip/Makefile ] || exit 0; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(HOST_EXPORTS) \
24365 for flag in $(EXTRA_HOST_FLAGS) ; do \
24366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24367 done; \
24368 echo "Doing install-info in zip" ; \
24369 (cd $(HOST_SUBDIR)/zip && \
24370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24372 "RANLIB=$${RANLIB}" \
24373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24374 install-info) \
24375 || exit 1
24377 @endif zip
24379 .PHONY: maybe-installcheck-zip installcheck-zip
24380 maybe-installcheck-zip:
24381 @if zip
24382 maybe-installcheck-zip: installcheck-zip
24384 installcheck-zip: \
24385 configure-zip
24386 @[ -f ./zip/Makefile ] || exit 0; \
24387 r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 $(HOST_EXPORTS) \
24390 for flag in $(EXTRA_HOST_FLAGS) ; do \
24391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24392 done; \
24393 echo "Doing installcheck in zip" ; \
24394 (cd $(HOST_SUBDIR)/zip && \
24395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24397 "RANLIB=$${RANLIB}" \
24398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24399 installcheck) \
24400 || exit 1
24402 @endif zip
24404 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
24405 maybe-mostlyclean-zip:
24406 @if zip
24407 maybe-mostlyclean-zip: mostlyclean-zip
24409 mostlyclean-zip:
24410 @[ -f ./zip/Makefile ] || exit 0; \
24411 r=`${PWD_COMMAND}`; export r; \
24412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24413 $(HOST_EXPORTS) \
24414 for flag in $(EXTRA_HOST_FLAGS) ; do \
24415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24416 done; \
24417 echo "Doing mostlyclean in zip" ; \
24418 (cd $(HOST_SUBDIR)/zip && \
24419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24421 "RANLIB=$${RANLIB}" \
24422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24423 mostlyclean) \
24424 || exit 1
24426 @endif zip
24428 .PHONY: maybe-clean-zip clean-zip
24429 maybe-clean-zip:
24430 @if zip
24431 maybe-clean-zip: clean-zip
24433 clean-zip:
24434 @[ -f ./zip/Makefile ] || exit 0; \
24435 r=`${PWD_COMMAND}`; export r; \
24436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24437 $(HOST_EXPORTS) \
24438 for flag in $(EXTRA_HOST_FLAGS) ; do \
24439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24440 done; \
24441 echo "Doing clean in zip" ; \
24442 (cd $(HOST_SUBDIR)/zip && \
24443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24445 "RANLIB=$${RANLIB}" \
24446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24447 clean) \
24448 || exit 1
24450 @endif zip
24452 .PHONY: maybe-distclean-zip distclean-zip
24453 maybe-distclean-zip:
24454 @if zip
24455 maybe-distclean-zip: distclean-zip
24457 distclean-zip:
24458 @[ -f ./zip/Makefile ] || exit 0; \
24459 r=`${PWD_COMMAND}`; export r; \
24460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 $(HOST_EXPORTS) \
24462 for flag in $(EXTRA_HOST_FLAGS) ; do \
24463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24464 done; \
24465 echo "Doing distclean in zip" ; \
24466 (cd $(HOST_SUBDIR)/zip && \
24467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24469 "RANLIB=$${RANLIB}" \
24470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24471 distclean) \
24472 || exit 1
24474 @endif zip
24476 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
24477 maybe-maintainer-clean-zip:
24478 @if zip
24479 maybe-maintainer-clean-zip: maintainer-clean-zip
24481 maintainer-clean-zip:
24482 @[ -f ./zip/Makefile ] || exit 0; \
24483 r=`${PWD_COMMAND}`; export r; \
24484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24485 $(HOST_EXPORTS) \
24486 for flag in $(EXTRA_HOST_FLAGS) ; do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 done; \
24489 echo "Doing maintainer-clean in zip" ; \
24490 (cd $(HOST_SUBDIR)/zip && \
24491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24493 "RANLIB=$${RANLIB}" \
24494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24495 maintainer-clean) \
24496 || exit 1
24498 @endif zip
24502 .PHONY: configure-zlib maybe-configure-zlib
24503 maybe-configure-zlib:
24504 @if zlib
24505 maybe-configure-zlib: configure-zlib
24506 configure-zlib:
24507 @test -f stage_last && exit 0; \
24508 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
24509 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(HOST_EXPORTS) \
24513 echo Configuring in $(HOST_SUBDIR)/zlib; \
24514 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
24515 case $(srcdir) in \
24516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24517 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24519 esac; \
24520 srcdiroption="--srcdir=$${topdir}/zlib"; \
24521 libsrcdir="$$s/zlib"; \
24522 $(SHELL) $${libsrcdir}/configure \
24523 $(HOST_CONFIGARGS) $${srcdiroption} \
24524 || exit 1
24525 @endif zlib
24529 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
24530 maybe-configure-stage1-zlib:
24531 @if zlib-bootstrap
24532 maybe-configure-stage1-zlib: configure-stage1-zlib
24533 configure-stage1-zlib:
24534 @$(MAKE) stage1-start
24535 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24536 r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
24540 cd $(HOST_SUBDIR)/zlib || exit 1; \
24541 case $(srcdir) in \
24542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24543 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24545 esac; \
24546 srcdiroption="--srcdir=$${topdir}/zlib"; \
24547 libsrcdir="$$s/zlib"; \
24548 $(SHELL) $${libsrcdir}/configure \
24549 $(HOST_CONFIGARGS) $${srcdiroption} \
24550 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24551 @endif zlib-bootstrap
24553 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
24554 maybe-configure-stage2-zlib:
24555 @if zlib-bootstrap
24556 maybe-configure-stage2-zlib: configure-stage2-zlib
24557 configure-stage2-zlib:
24558 @$(MAKE) stage2-start
24559 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24560 r=`${PWD_COMMAND}`; export r; \
24561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24562 $(HOST_EXPORTS) \
24563 $(POSTSTAGE1_HOST_EXPORTS) \
24564 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
24565 cd $(HOST_SUBDIR)/zlib || exit 1; \
24566 case $(srcdir) in \
24567 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24568 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24569 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24570 esac; \
24571 srcdiroption="--srcdir=$${topdir}/zlib"; \
24572 libsrcdir="$$s/zlib"; \
24573 $(SHELL) $${libsrcdir}/configure \
24574 $(HOST_CONFIGARGS) $${srcdiroption} \
24575 @stage2_werror_flag@
24576 @endif zlib-bootstrap
24578 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
24579 maybe-configure-stage3-zlib:
24580 @if zlib-bootstrap
24581 maybe-configure-stage3-zlib: configure-stage3-zlib
24582 configure-stage3-zlib:
24583 @$(MAKE) stage3-start
24584 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24585 r=`${PWD_COMMAND}`; export r; \
24586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24587 $(HOST_EXPORTS) \
24588 $(POSTSTAGE1_HOST_EXPORTS) \
24589 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
24590 cd $(HOST_SUBDIR)/zlib || exit 1; \
24591 case $(srcdir) in \
24592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24593 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24595 esac; \
24596 srcdiroption="--srcdir=$${topdir}/zlib"; \
24597 libsrcdir="$$s/zlib"; \
24598 $(SHELL) $${libsrcdir}/configure \
24599 $(HOST_CONFIGARGS) $${srcdiroption} \
24600 @stage2_werror_flag@
24601 @endif zlib-bootstrap
24603 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
24604 maybe-configure-stage4-zlib:
24605 @if zlib-bootstrap
24606 maybe-configure-stage4-zlib: configure-stage4-zlib
24607 configure-stage4-zlib:
24608 @$(MAKE) stage4-start
24609 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24610 r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612 $(HOST_EXPORTS) \
24613 $(POSTSTAGE1_HOST_EXPORTS) \
24614 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
24615 cd $(HOST_SUBDIR)/zlib || exit 1; \
24616 case $(srcdir) in \
24617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24618 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24620 esac; \
24621 srcdiroption="--srcdir=$${topdir}/zlib"; \
24622 libsrcdir="$$s/zlib"; \
24623 $(SHELL) $${libsrcdir}/configure \
24624 $(HOST_CONFIGARGS) $${srcdiroption} \
24625 @stage2_werror_flag@
24626 @endif zlib-bootstrap
24628 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
24629 maybe-configure-stageprofile-zlib:
24630 @if zlib-bootstrap
24631 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
24632 configure-stageprofile-zlib:
24633 @$(MAKE) stageprofile-start
24634 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24635 r=`${PWD_COMMAND}`; export r; \
24636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24637 $(HOST_EXPORTS) \
24638 $(POSTSTAGE1_HOST_EXPORTS) \
24639 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
24640 cd $(HOST_SUBDIR)/zlib || exit 1; \
24641 case $(srcdir) in \
24642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24643 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24645 esac; \
24646 srcdiroption="--srcdir=$${topdir}/zlib"; \
24647 libsrcdir="$$s/zlib"; \
24648 $(SHELL) $${libsrcdir}/configure \
24649 $(HOST_CONFIGARGS) $${srcdiroption} \
24650 @stage2_werror_flag@
24651 @endif zlib-bootstrap
24653 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
24654 maybe-configure-stagefeedback-zlib:
24655 @if zlib-bootstrap
24656 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
24657 configure-stagefeedback-zlib:
24658 @$(MAKE) stagefeedback-start
24659 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24660 r=`${PWD_COMMAND}`; export r; \
24661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24662 $(HOST_EXPORTS) \
24663 $(POSTSTAGE1_HOST_EXPORTS) \
24664 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
24665 cd $(HOST_SUBDIR)/zlib || exit 1; \
24666 case $(srcdir) in \
24667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24668 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24670 esac; \
24671 srcdiroption="--srcdir=$${topdir}/zlib"; \
24672 libsrcdir="$$s/zlib"; \
24673 $(SHELL) $${libsrcdir}/configure \
24674 $(HOST_CONFIGARGS) $${srcdiroption} \
24675 @stage2_werror_flag@
24676 @endif zlib-bootstrap
24682 .PHONY: all-zlib maybe-all-zlib
24683 maybe-all-zlib:
24684 @if zlib
24685 TARGET-zlib=all
24686 maybe-all-zlib: all-zlib
24687 all-zlib: configure-zlib
24688 @test -f stage_last && exit 0; \
24689 r=`${PWD_COMMAND}`; export r; \
24690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(HOST_EXPORTS) \
24692 (cd $(HOST_SUBDIR)/zlib && \
24693 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
24694 @endif zlib
24698 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
24699 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
24700 maybe-all-stage1-zlib:
24701 maybe-clean-stage1-zlib:
24702 @if zlib-bootstrap
24703 maybe-all-stage1-zlib: all-stage1-zlib
24704 all-stage1: all-stage1-zlib
24705 all-stage1-zlib: configure-stage1-zlib
24706 @$(MAKE) stage1-start
24707 @r=`${PWD_COMMAND}`; export r; \
24708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24709 $(HOST_EXPORTS) \
24710 cd $(HOST_SUBDIR)/zlib && \
24711 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
24713 maybe-clean-stage1-zlib: clean-stage1-zlib
24714 clean-stage1: clean-stage1-zlib
24715 clean-stage1-zlib:
24716 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
24717 || exit 0 ; \
24718 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \
24719 cd $(HOST_SUBDIR)/zlib && \
24720 $(MAKE) $(FLAGS_TO_PASS) \
24721 CFLAGS="$(STAGE1_CFLAGS)" clean
24722 @endif zlib-bootstrap
24725 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
24726 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
24727 maybe-all-stage2-zlib:
24728 maybe-clean-stage2-zlib:
24729 @if zlib-bootstrap
24730 maybe-all-stage2-zlib: all-stage2-zlib
24731 all-stage2: all-stage2-zlib
24732 all-stage2-zlib: configure-stage2-zlib
24733 @$(MAKE) stage2-start
24734 @r=`${PWD_COMMAND}`; export r; \
24735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24736 $(HOST_EXPORTS) \
24737 $(POSTSTAGE1_HOST_EXPORTS) \
24738 cd $(HOST_SUBDIR)/zlib && \
24739 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24741 maybe-clean-stage2-zlib: clean-stage2-zlib
24742 clean-stage2: clean-stage2-zlib
24743 clean-stage2-zlib:
24744 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
24745 || exit 0 ; \
24746 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \
24747 cd $(HOST_SUBDIR)/zlib && \
24748 $(MAKE) $(FLAGS_TO_PASS) \
24749 $(POSTSTAGE1_FLAGS_TO_PASS) \
24750 clean
24751 @endif zlib-bootstrap
24754 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
24755 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
24756 maybe-all-stage3-zlib:
24757 maybe-clean-stage3-zlib:
24758 @if zlib-bootstrap
24759 maybe-all-stage3-zlib: all-stage3-zlib
24760 all-stage3: all-stage3-zlib
24761 all-stage3-zlib: configure-stage3-zlib
24762 @$(MAKE) stage3-start
24763 @r=`${PWD_COMMAND}`; export r; \
24764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765 $(HOST_EXPORTS) \
24766 $(POSTSTAGE1_HOST_EXPORTS) \
24767 cd $(HOST_SUBDIR)/zlib && \
24768 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24770 maybe-clean-stage3-zlib: clean-stage3-zlib
24771 clean-stage3: clean-stage3-zlib
24772 clean-stage3-zlib:
24773 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
24774 || exit 0 ; \
24775 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \
24776 cd $(HOST_SUBDIR)/zlib && \
24777 $(MAKE) $(FLAGS_TO_PASS) \
24778 $(POSTSTAGE1_FLAGS_TO_PASS) \
24779 clean
24780 @endif zlib-bootstrap
24783 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
24784 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
24785 maybe-all-stage4-zlib:
24786 maybe-clean-stage4-zlib:
24787 @if zlib-bootstrap
24788 maybe-all-stage4-zlib: all-stage4-zlib
24789 all-stage4: all-stage4-zlib
24790 all-stage4-zlib: configure-stage4-zlib
24791 @$(MAKE) stage4-start
24792 @r=`${PWD_COMMAND}`; export r; \
24793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24794 $(HOST_EXPORTS) \
24795 $(POSTSTAGE1_HOST_EXPORTS) \
24796 cd $(HOST_SUBDIR)/zlib && \
24797 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24799 maybe-clean-stage4-zlib: clean-stage4-zlib
24800 clean-stage4: clean-stage4-zlib
24801 clean-stage4-zlib:
24802 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
24803 || exit 0 ; \
24804 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \
24805 cd $(HOST_SUBDIR)/zlib && \
24806 $(MAKE) $(FLAGS_TO_PASS) \
24807 $(POSTSTAGE1_FLAGS_TO_PASS) \
24808 clean
24809 @endif zlib-bootstrap
24812 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
24813 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
24814 maybe-all-stageprofile-zlib:
24815 maybe-clean-stageprofile-zlib:
24816 @if zlib-bootstrap
24817 maybe-all-stageprofile-zlib: all-stageprofile-zlib
24818 all-stageprofile: all-stageprofile-zlib
24819 all-stageprofile-zlib: configure-stageprofile-zlib
24820 @$(MAKE) stageprofile-start
24821 @r=`${PWD_COMMAND}`; export r; \
24822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24823 $(HOST_EXPORTS) \
24824 $(POSTSTAGE1_HOST_EXPORTS) \
24825 cd $(HOST_SUBDIR)/zlib && \
24826 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
24828 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
24829 clean-stageprofile: clean-stageprofile-zlib
24830 clean-stageprofile-zlib:
24831 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
24832 || exit 0 ; \
24833 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \
24834 cd $(HOST_SUBDIR)/zlib && \
24835 $(MAKE) $(FLAGS_TO_PASS) \
24836 $(POSTSTAGE1_FLAGS_TO_PASS) \
24837 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
24838 @endif zlib-bootstrap
24841 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
24842 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
24843 maybe-all-stagefeedback-zlib:
24844 maybe-clean-stagefeedback-zlib:
24845 @if zlib-bootstrap
24846 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
24847 all-stagefeedback: all-stagefeedback-zlib
24848 all-stagefeedback-zlib: configure-stagefeedback-zlib
24849 @$(MAKE) stagefeedback-start
24850 @r=`${PWD_COMMAND}`; export r; \
24851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24852 $(HOST_EXPORTS) \
24853 $(POSTSTAGE1_HOST_EXPORTS) \
24854 cd $(HOST_SUBDIR)/zlib && \
24855 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
24857 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
24858 clean-stagefeedback: clean-stagefeedback-zlib
24859 clean-stagefeedback-zlib:
24860 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
24861 || exit 0 ; \
24862 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
24863 cd $(HOST_SUBDIR)/zlib && \
24864 $(MAKE) $(FLAGS_TO_PASS) \
24865 $(POSTSTAGE1_FLAGS_TO_PASS) \
24866 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
24867 @endif zlib-bootstrap
24873 .PHONY: check-zlib maybe-check-zlib
24874 maybe-check-zlib:
24875 @if zlib
24876 maybe-check-zlib: check-zlib
24878 check-zlib:
24880 @endif zlib
24882 .PHONY: install-zlib maybe-install-zlib
24883 maybe-install-zlib:
24884 @if zlib
24885 maybe-install-zlib: install-zlib
24887 install-zlib:
24889 @endif zlib
24891 # Other targets (info, dvi, etc.)
24893 .PHONY: maybe-info-zlib info-zlib
24894 maybe-info-zlib:
24895 @if zlib
24896 maybe-info-zlib: info-zlib
24898 info-zlib: \
24899 configure-zlib
24900 @[ -f ./zlib/Makefile ] || exit 0; \
24901 r=`${PWD_COMMAND}`; export r; \
24902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903 $(HOST_EXPORTS) \
24904 for flag in $(EXTRA_HOST_FLAGS) ; do \
24905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24906 done; \
24907 echo "Doing info in zlib" ; \
24908 (cd $(HOST_SUBDIR)/zlib && \
24909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24911 "RANLIB=$${RANLIB}" \
24912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24913 info) \
24914 || exit 1
24916 @endif zlib
24918 .PHONY: maybe-dvi-zlib dvi-zlib
24919 maybe-dvi-zlib:
24920 @if zlib
24921 maybe-dvi-zlib: dvi-zlib
24923 dvi-zlib: \
24924 configure-zlib
24925 @[ -f ./zlib/Makefile ] || exit 0; \
24926 r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 $(HOST_EXPORTS) \
24929 for flag in $(EXTRA_HOST_FLAGS) ; do \
24930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24931 done; \
24932 echo "Doing dvi in zlib" ; \
24933 (cd $(HOST_SUBDIR)/zlib && \
24934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24936 "RANLIB=$${RANLIB}" \
24937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24938 dvi) \
24939 || exit 1
24941 @endif zlib
24943 .PHONY: maybe-html-zlib html-zlib
24944 maybe-html-zlib:
24945 @if zlib
24946 maybe-html-zlib: html-zlib
24948 html-zlib: \
24949 configure-zlib
24950 @[ -f ./zlib/Makefile ] || exit 0; \
24951 r=`${PWD_COMMAND}`; export r; \
24952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24953 $(HOST_EXPORTS) \
24954 for flag in $(EXTRA_HOST_FLAGS) ; do \
24955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24956 done; \
24957 echo "Doing html in zlib" ; \
24958 (cd $(HOST_SUBDIR)/zlib && \
24959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24961 "RANLIB=$${RANLIB}" \
24962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24963 html) \
24964 || exit 1
24966 @endif zlib
24968 .PHONY: maybe-TAGS-zlib TAGS-zlib
24969 maybe-TAGS-zlib:
24970 @if zlib
24971 maybe-TAGS-zlib: TAGS-zlib
24973 TAGS-zlib: \
24974 configure-zlib
24975 @[ -f ./zlib/Makefile ] || exit 0; \
24976 r=`${PWD_COMMAND}`; export r; \
24977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24978 $(HOST_EXPORTS) \
24979 for flag in $(EXTRA_HOST_FLAGS) ; do \
24980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24981 done; \
24982 echo "Doing TAGS in zlib" ; \
24983 (cd $(HOST_SUBDIR)/zlib && \
24984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24986 "RANLIB=$${RANLIB}" \
24987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24988 TAGS) \
24989 || exit 1
24991 @endif zlib
24993 .PHONY: maybe-install-info-zlib install-info-zlib
24994 maybe-install-info-zlib:
24995 @if zlib
24996 maybe-install-info-zlib: install-info-zlib
24998 install-info-zlib: \
24999 configure-zlib \
25000 info-zlib
25001 @[ -f ./zlib/Makefile ] || exit 0; \
25002 r=`${PWD_COMMAND}`; export r; \
25003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004 $(HOST_EXPORTS) \
25005 for flag in $(EXTRA_HOST_FLAGS) ; do \
25006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25007 done; \
25008 echo "Doing install-info in zlib" ; \
25009 (cd $(HOST_SUBDIR)/zlib && \
25010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25012 "RANLIB=$${RANLIB}" \
25013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25014 install-info) \
25015 || exit 1
25017 @endif zlib
25019 .PHONY: maybe-installcheck-zlib installcheck-zlib
25020 maybe-installcheck-zlib:
25021 @if zlib
25022 maybe-installcheck-zlib: installcheck-zlib
25024 installcheck-zlib: \
25025 configure-zlib
25026 @[ -f ./zlib/Makefile ] || exit 0; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(HOST_EXPORTS) \
25030 for flag in $(EXTRA_HOST_FLAGS) ; do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032 done; \
25033 echo "Doing installcheck in zlib" ; \
25034 (cd $(HOST_SUBDIR)/zlib && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25039 installcheck) \
25040 || exit 1
25042 @endif zlib
25044 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
25045 maybe-mostlyclean-zlib:
25046 @if zlib
25047 maybe-mostlyclean-zlib: mostlyclean-zlib
25049 mostlyclean-zlib:
25050 @[ -f ./zlib/Makefile ] || exit 0; \
25051 r=`${PWD_COMMAND}`; export r; \
25052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25053 $(HOST_EXPORTS) \
25054 for flag in $(EXTRA_HOST_FLAGS) ; do \
25055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25056 done; \
25057 echo "Doing mostlyclean in zlib" ; \
25058 (cd $(HOST_SUBDIR)/zlib && \
25059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25061 "RANLIB=$${RANLIB}" \
25062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25063 mostlyclean) \
25064 || exit 1
25066 @endif zlib
25068 .PHONY: maybe-clean-zlib clean-zlib
25069 maybe-clean-zlib:
25070 @if zlib
25071 maybe-clean-zlib: clean-zlib
25073 clean-zlib:
25074 @[ -f ./zlib/Makefile ] || exit 0; \
25075 r=`${PWD_COMMAND}`; export r; \
25076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25077 $(HOST_EXPORTS) \
25078 for flag in $(EXTRA_HOST_FLAGS) ; do \
25079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25080 done; \
25081 echo "Doing clean in zlib" ; \
25082 (cd $(HOST_SUBDIR)/zlib && \
25083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25085 "RANLIB=$${RANLIB}" \
25086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25087 clean) \
25088 || exit 1
25090 @endif zlib
25092 .PHONY: maybe-distclean-zlib distclean-zlib
25093 maybe-distclean-zlib:
25094 @if zlib
25095 maybe-distclean-zlib: distclean-zlib
25097 distclean-zlib:
25098 @[ -f ./zlib/Makefile ] || exit 0; \
25099 r=`${PWD_COMMAND}`; export r; \
25100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25101 $(HOST_EXPORTS) \
25102 for flag in $(EXTRA_HOST_FLAGS) ; do \
25103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25104 done; \
25105 echo "Doing distclean in zlib" ; \
25106 (cd $(HOST_SUBDIR)/zlib && \
25107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25109 "RANLIB=$${RANLIB}" \
25110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25111 distclean) \
25112 || exit 1
25114 @endif zlib
25116 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
25117 maybe-maintainer-clean-zlib:
25118 @if zlib
25119 maybe-maintainer-clean-zlib: maintainer-clean-zlib
25121 maintainer-clean-zlib:
25122 @[ -f ./zlib/Makefile ] || exit 0; \
25123 r=`${PWD_COMMAND}`; export r; \
25124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25125 $(HOST_EXPORTS) \
25126 for flag in $(EXTRA_HOST_FLAGS) ; do \
25127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25128 done; \
25129 echo "Doing maintainer-clean in zlib" ; \
25130 (cd $(HOST_SUBDIR)/zlib && \
25131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25133 "RANLIB=$${RANLIB}" \
25134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25135 maintainer-clean) \
25136 || exit 1
25138 @endif zlib
25142 .PHONY: configure-gdb maybe-configure-gdb
25143 maybe-configure-gdb:
25144 @if gdb
25145 maybe-configure-gdb: configure-gdb
25146 configure-gdb:
25147 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
25148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
25149 r=`${PWD_COMMAND}`; export r; \
25150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25151 $(HOST_EXPORTS) \
25152 echo Configuring in $(HOST_SUBDIR)/gdb; \
25153 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
25154 case $(srcdir) in \
25155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25156 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
25157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25158 esac; \
25159 srcdiroption="--srcdir=$${topdir}/gdb"; \
25160 libsrcdir="$$s/gdb"; \
25161 $(SHELL) $${libsrcdir}/configure \
25162 $(HOST_CONFIGARGS) $${srcdiroption} \
25163 || exit 1
25164 @endif gdb
25170 .PHONY: all-gdb maybe-all-gdb
25171 maybe-all-gdb:
25172 @if gdb
25173 TARGET-gdb=all
25174 maybe-all-gdb: all-gdb
25175 all-gdb: configure-gdb
25176 @r=`${PWD_COMMAND}`; export r; \
25177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25178 $(HOST_EXPORTS) \
25179 (cd $(HOST_SUBDIR)/gdb && \
25180 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
25181 @endif gdb
25186 .PHONY: check-gdb maybe-check-gdb
25187 maybe-check-gdb:
25188 @if gdb
25189 maybe-check-gdb: check-gdb
25191 check-gdb:
25192 @r=`${PWD_COMMAND}`; export r; \
25193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25194 $(HOST_EXPORTS) \
25195 (cd $(HOST_SUBDIR)/gdb && \
25196 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25198 @endif gdb
25200 .PHONY: install-gdb maybe-install-gdb
25201 maybe-install-gdb:
25202 @if gdb
25203 maybe-install-gdb: install-gdb
25205 install-gdb: installdirs
25206 @r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(HOST_EXPORTS) \
25209 (cd $(HOST_SUBDIR)/gdb && \
25210 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25212 @endif gdb
25214 # Other targets (info, dvi, etc.)
25216 .PHONY: maybe-info-gdb info-gdb
25217 maybe-info-gdb:
25218 @if gdb
25219 maybe-info-gdb: info-gdb
25221 info-gdb: \
25222 configure-gdb
25223 @[ -f ./gdb/Makefile ] || exit 0; \
25224 r=`${PWD_COMMAND}`; export r; \
25225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25226 $(HOST_EXPORTS) \
25227 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25229 done; \
25230 echo "Doing info in gdb" ; \
25231 (cd $(HOST_SUBDIR)/gdb && \
25232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25234 "RANLIB=$${RANLIB}" \
25235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25236 info) \
25237 || exit 1
25239 @endif gdb
25241 .PHONY: maybe-dvi-gdb dvi-gdb
25242 maybe-dvi-gdb:
25243 @if gdb
25244 maybe-dvi-gdb: dvi-gdb
25246 dvi-gdb: \
25247 configure-gdb
25248 @[ -f ./gdb/Makefile ] || exit 0; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(HOST_EXPORTS) \
25252 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25254 done; \
25255 echo "Doing dvi in gdb" ; \
25256 (cd $(HOST_SUBDIR)/gdb && \
25257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25259 "RANLIB=$${RANLIB}" \
25260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25261 dvi) \
25262 || exit 1
25264 @endif gdb
25266 .PHONY: maybe-html-gdb html-gdb
25267 maybe-html-gdb:
25268 @if gdb
25269 maybe-html-gdb: html-gdb
25271 html-gdb: \
25272 configure-gdb
25273 @[ -f ./gdb/Makefile ] || exit 0; \
25274 r=`${PWD_COMMAND}`; export r; \
25275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25276 $(HOST_EXPORTS) \
25277 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25279 done; \
25280 echo "Doing html in gdb" ; \
25281 (cd $(HOST_SUBDIR)/gdb && \
25282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25284 "RANLIB=$${RANLIB}" \
25285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25286 html) \
25287 || exit 1
25289 @endif gdb
25291 .PHONY: maybe-TAGS-gdb TAGS-gdb
25292 maybe-TAGS-gdb:
25293 @if gdb
25294 maybe-TAGS-gdb: TAGS-gdb
25296 TAGS-gdb: \
25297 configure-gdb
25298 @[ -f ./gdb/Makefile ] || exit 0; \
25299 r=`${PWD_COMMAND}`; export r; \
25300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25301 $(HOST_EXPORTS) \
25302 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25304 done; \
25305 echo "Doing TAGS in gdb" ; \
25306 (cd $(HOST_SUBDIR)/gdb && \
25307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25309 "RANLIB=$${RANLIB}" \
25310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25311 TAGS) \
25312 || exit 1
25314 @endif gdb
25316 .PHONY: maybe-install-info-gdb install-info-gdb
25317 maybe-install-info-gdb:
25318 @if gdb
25319 maybe-install-info-gdb: install-info-gdb
25321 install-info-gdb: \
25322 configure-gdb \
25323 info-gdb
25324 @[ -f ./gdb/Makefile ] || exit 0; \
25325 r=`${PWD_COMMAND}`; export r; \
25326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25327 $(HOST_EXPORTS) \
25328 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25330 done; \
25331 echo "Doing install-info in gdb" ; \
25332 (cd $(HOST_SUBDIR)/gdb && \
25333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25335 "RANLIB=$${RANLIB}" \
25336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25337 install-info) \
25338 || exit 1
25340 @endif gdb
25342 .PHONY: maybe-installcheck-gdb installcheck-gdb
25343 maybe-installcheck-gdb:
25344 @if gdb
25345 maybe-installcheck-gdb: installcheck-gdb
25347 installcheck-gdb: \
25348 configure-gdb
25349 @[ -f ./gdb/Makefile ] || exit 0; \
25350 r=`${PWD_COMMAND}`; export r; \
25351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25352 $(HOST_EXPORTS) \
25353 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25355 done; \
25356 echo "Doing installcheck in gdb" ; \
25357 (cd $(HOST_SUBDIR)/gdb && \
25358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25360 "RANLIB=$${RANLIB}" \
25361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25362 installcheck) \
25363 || exit 1
25365 @endif gdb
25367 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
25368 maybe-mostlyclean-gdb:
25369 @if gdb
25370 maybe-mostlyclean-gdb: mostlyclean-gdb
25372 mostlyclean-gdb:
25373 @[ -f ./gdb/Makefile ] || exit 0; \
25374 r=`${PWD_COMMAND}`; export r; \
25375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25376 $(HOST_EXPORTS) \
25377 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25379 done; \
25380 echo "Doing mostlyclean in gdb" ; \
25381 (cd $(HOST_SUBDIR)/gdb && \
25382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25384 "RANLIB=$${RANLIB}" \
25385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25386 mostlyclean) \
25387 || exit 1
25389 @endif gdb
25391 .PHONY: maybe-clean-gdb clean-gdb
25392 maybe-clean-gdb:
25393 @if gdb
25394 maybe-clean-gdb: clean-gdb
25396 clean-gdb:
25397 @[ -f ./gdb/Makefile ] || exit 0; \
25398 r=`${PWD_COMMAND}`; export r; \
25399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25400 $(HOST_EXPORTS) \
25401 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25403 done; \
25404 echo "Doing clean in gdb" ; \
25405 (cd $(HOST_SUBDIR)/gdb && \
25406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25408 "RANLIB=$${RANLIB}" \
25409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25410 clean) \
25411 || exit 1
25413 @endif gdb
25415 .PHONY: maybe-distclean-gdb distclean-gdb
25416 maybe-distclean-gdb:
25417 @if gdb
25418 maybe-distclean-gdb: distclean-gdb
25420 distclean-gdb:
25421 @[ -f ./gdb/Makefile ] || exit 0; \
25422 r=`${PWD_COMMAND}`; export r; \
25423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25424 $(HOST_EXPORTS) \
25425 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25427 done; \
25428 echo "Doing distclean in gdb" ; \
25429 (cd $(HOST_SUBDIR)/gdb && \
25430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25432 "RANLIB=$${RANLIB}" \
25433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25434 distclean) \
25435 || exit 1
25437 @endif gdb
25439 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
25440 maybe-maintainer-clean-gdb:
25441 @if gdb
25442 maybe-maintainer-clean-gdb: maintainer-clean-gdb
25444 maintainer-clean-gdb:
25445 @[ -f ./gdb/Makefile ] || exit 0; \
25446 r=`${PWD_COMMAND}`; export r; \
25447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25448 $(HOST_EXPORTS) \
25449 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25451 done; \
25452 echo "Doing maintainer-clean in gdb" ; \
25453 (cd $(HOST_SUBDIR)/gdb && \
25454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25456 "RANLIB=$${RANLIB}" \
25457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25458 maintainer-clean) \
25459 || exit 1
25461 @endif gdb
25465 .PHONY: configure-expect maybe-configure-expect
25466 maybe-configure-expect:
25467 @if expect
25468 maybe-configure-expect: configure-expect
25469 configure-expect:
25470 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
25471 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
25472 r=`${PWD_COMMAND}`; export r; \
25473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25474 $(HOST_EXPORTS) \
25475 echo Configuring in $(HOST_SUBDIR)/expect; \
25476 cd "$(HOST_SUBDIR)/expect" || exit 1; \
25477 case $(srcdir) in \
25478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25479 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
25480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25481 esac; \
25482 srcdiroption="--srcdir=$${topdir}/expect"; \
25483 libsrcdir="$$s/expect"; \
25484 $(SHELL) $${libsrcdir}/configure \
25485 $(HOST_CONFIGARGS) $${srcdiroption} \
25486 || exit 1
25487 @endif expect
25493 .PHONY: all-expect maybe-all-expect
25494 maybe-all-expect:
25495 @if expect
25496 TARGET-expect=all
25497 maybe-all-expect: all-expect
25498 all-expect: configure-expect
25499 @r=`${PWD_COMMAND}`; export r; \
25500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25501 $(HOST_EXPORTS) \
25502 (cd $(HOST_SUBDIR)/expect && \
25503 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
25504 @endif expect
25509 .PHONY: check-expect maybe-check-expect
25510 maybe-check-expect:
25511 @if expect
25512 maybe-check-expect: check-expect
25514 check-expect:
25515 @r=`${PWD_COMMAND}`; export r; \
25516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25517 $(HOST_EXPORTS) \
25518 (cd $(HOST_SUBDIR)/expect && \
25519 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25521 @endif expect
25523 .PHONY: install-expect maybe-install-expect
25524 maybe-install-expect:
25525 @if expect
25526 maybe-install-expect: install-expect
25528 install-expect: installdirs
25529 @r=`${PWD_COMMAND}`; export r; \
25530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25531 $(HOST_EXPORTS) \
25532 (cd $(HOST_SUBDIR)/expect && \
25533 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25535 @endif expect
25537 # Other targets (info, dvi, etc.)
25539 .PHONY: maybe-info-expect info-expect
25540 maybe-info-expect:
25541 @if expect
25542 maybe-info-expect: info-expect
25544 info-expect: \
25545 configure-expect
25546 @[ -f ./expect/Makefile ] || exit 0; \
25547 r=`${PWD_COMMAND}`; export r; \
25548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 $(HOST_EXPORTS) \
25550 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 echo "Doing info in expect" ; \
25554 (cd $(HOST_SUBDIR)/expect && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25559 info) \
25560 || exit 1
25562 @endif expect
25564 .PHONY: maybe-dvi-expect dvi-expect
25565 maybe-dvi-expect:
25566 @if expect
25567 maybe-dvi-expect: dvi-expect
25569 dvi-expect: \
25570 configure-expect
25571 @[ -f ./expect/Makefile ] || exit 0; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(HOST_EXPORTS) \
25575 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 echo "Doing dvi in expect" ; \
25579 (cd $(HOST_SUBDIR)/expect && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 dvi) \
25585 || exit 1
25587 @endif expect
25589 .PHONY: maybe-html-expect html-expect
25590 maybe-html-expect:
25591 @if expect
25592 maybe-html-expect: html-expect
25594 html-expect: \
25595 configure-expect
25596 @[ -f ./expect/Makefile ] || exit 0; \
25597 r=`${PWD_COMMAND}`; export r; \
25598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25599 $(HOST_EXPORTS) \
25600 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25602 done; \
25603 echo "Doing html in expect" ; \
25604 (cd $(HOST_SUBDIR)/expect && \
25605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25607 "RANLIB=$${RANLIB}" \
25608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25609 html) \
25610 || exit 1
25612 @endif expect
25614 .PHONY: maybe-TAGS-expect TAGS-expect
25615 maybe-TAGS-expect:
25616 @if expect
25617 maybe-TAGS-expect: TAGS-expect
25619 TAGS-expect: \
25620 configure-expect
25621 @[ -f ./expect/Makefile ] || exit 0; \
25622 r=`${PWD_COMMAND}`; export r; \
25623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25624 $(HOST_EXPORTS) \
25625 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25627 done; \
25628 echo "Doing TAGS in expect" ; \
25629 (cd $(HOST_SUBDIR)/expect && \
25630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25632 "RANLIB=$${RANLIB}" \
25633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25634 TAGS) \
25635 || exit 1
25637 @endif expect
25639 .PHONY: maybe-install-info-expect install-info-expect
25640 maybe-install-info-expect:
25641 @if expect
25642 maybe-install-info-expect: install-info-expect
25644 install-info-expect: \
25645 configure-expect \
25646 info-expect
25647 @[ -f ./expect/Makefile ] || exit 0; \
25648 r=`${PWD_COMMAND}`; export r; \
25649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25650 $(HOST_EXPORTS) \
25651 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25653 done; \
25654 echo "Doing install-info in expect" ; \
25655 (cd $(HOST_SUBDIR)/expect && \
25656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25658 "RANLIB=$${RANLIB}" \
25659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25660 install-info) \
25661 || exit 1
25663 @endif expect
25665 .PHONY: maybe-installcheck-expect installcheck-expect
25666 maybe-installcheck-expect:
25667 @if expect
25668 maybe-installcheck-expect: installcheck-expect
25670 installcheck-expect: \
25671 configure-expect
25672 @[ -f ./expect/Makefile ] || exit 0; \
25673 r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25675 $(HOST_EXPORTS) \
25676 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25678 done; \
25679 echo "Doing installcheck in expect" ; \
25680 (cd $(HOST_SUBDIR)/expect && \
25681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25683 "RANLIB=$${RANLIB}" \
25684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25685 installcheck) \
25686 || exit 1
25688 @endif expect
25690 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
25691 maybe-mostlyclean-expect:
25692 @if expect
25693 maybe-mostlyclean-expect: mostlyclean-expect
25695 mostlyclean-expect:
25696 @[ -f ./expect/Makefile ] || exit 0; \
25697 r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(HOST_EXPORTS) \
25700 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25702 done; \
25703 echo "Doing mostlyclean in expect" ; \
25704 (cd $(HOST_SUBDIR)/expect && \
25705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25707 "RANLIB=$${RANLIB}" \
25708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25709 mostlyclean) \
25710 || exit 1
25712 @endif expect
25714 .PHONY: maybe-clean-expect clean-expect
25715 maybe-clean-expect:
25716 @if expect
25717 maybe-clean-expect: clean-expect
25719 clean-expect:
25720 @[ -f ./expect/Makefile ] || exit 0; \
25721 r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 $(HOST_EXPORTS) \
25724 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25726 done; \
25727 echo "Doing clean in expect" ; \
25728 (cd $(HOST_SUBDIR)/expect && \
25729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25731 "RANLIB=$${RANLIB}" \
25732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25733 clean) \
25734 || exit 1
25736 @endif expect
25738 .PHONY: maybe-distclean-expect distclean-expect
25739 maybe-distclean-expect:
25740 @if expect
25741 maybe-distclean-expect: distclean-expect
25743 distclean-expect:
25744 @[ -f ./expect/Makefile ] || exit 0; \
25745 r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(HOST_EXPORTS) \
25748 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25750 done; \
25751 echo "Doing distclean in expect" ; \
25752 (cd $(HOST_SUBDIR)/expect && \
25753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25755 "RANLIB=$${RANLIB}" \
25756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25757 distclean) \
25758 || exit 1
25760 @endif expect
25762 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
25763 maybe-maintainer-clean-expect:
25764 @if expect
25765 maybe-maintainer-clean-expect: maintainer-clean-expect
25767 maintainer-clean-expect:
25768 @[ -f ./expect/Makefile ] || exit 0; \
25769 r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25774 done; \
25775 echo "Doing maintainer-clean in expect" ; \
25776 (cd $(HOST_SUBDIR)/expect && \
25777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25779 "RANLIB=$${RANLIB}" \
25780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25781 maintainer-clean) \
25782 || exit 1
25784 @endif expect
25788 .PHONY: configure-guile maybe-configure-guile
25789 maybe-configure-guile:
25790 @if guile
25791 maybe-configure-guile: configure-guile
25792 configure-guile:
25793 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
25794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
25795 r=`${PWD_COMMAND}`; export r; \
25796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25797 $(HOST_EXPORTS) \
25798 echo Configuring in $(HOST_SUBDIR)/guile; \
25799 cd "$(HOST_SUBDIR)/guile" || exit 1; \
25800 case $(srcdir) in \
25801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25802 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
25803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25804 esac; \
25805 srcdiroption="--srcdir=$${topdir}/guile"; \
25806 libsrcdir="$$s/guile"; \
25807 $(SHELL) $${libsrcdir}/configure \
25808 $(HOST_CONFIGARGS) $${srcdiroption} \
25809 || exit 1
25810 @endif guile
25816 .PHONY: all-guile maybe-all-guile
25817 maybe-all-guile:
25818 @if guile
25819 TARGET-guile=all
25820 maybe-all-guile: all-guile
25821 all-guile: configure-guile
25822 @r=`${PWD_COMMAND}`; export r; \
25823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25824 $(HOST_EXPORTS) \
25825 (cd $(HOST_SUBDIR)/guile && \
25826 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
25827 @endif guile
25832 .PHONY: check-guile maybe-check-guile
25833 maybe-check-guile:
25834 @if guile
25835 maybe-check-guile: check-guile
25837 check-guile:
25838 @r=`${PWD_COMMAND}`; export r; \
25839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840 $(HOST_EXPORTS) \
25841 (cd $(HOST_SUBDIR)/guile && \
25842 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25844 @endif guile
25846 .PHONY: install-guile maybe-install-guile
25847 maybe-install-guile:
25848 @if guile
25849 maybe-install-guile: install-guile
25851 install-guile: installdirs
25852 @r=`${PWD_COMMAND}`; export r; \
25853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25854 $(HOST_EXPORTS) \
25855 (cd $(HOST_SUBDIR)/guile && \
25856 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25858 @endif guile
25860 # Other targets (info, dvi, etc.)
25862 .PHONY: maybe-info-guile info-guile
25863 maybe-info-guile:
25864 @if guile
25865 maybe-info-guile: info-guile
25867 info-guile: \
25868 configure-guile
25869 @[ -f ./guile/Makefile ] || exit 0; \
25870 r=`${PWD_COMMAND}`; export r; \
25871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25872 $(HOST_EXPORTS) \
25873 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25875 done; \
25876 echo "Doing info in guile" ; \
25877 (cd $(HOST_SUBDIR)/guile && \
25878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25880 "RANLIB=$${RANLIB}" \
25881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25882 info) \
25883 || exit 1
25885 @endif guile
25887 .PHONY: maybe-dvi-guile dvi-guile
25888 maybe-dvi-guile:
25889 @if guile
25890 maybe-dvi-guile: dvi-guile
25892 dvi-guile: \
25893 configure-guile
25894 @[ -f ./guile/Makefile ] || exit 0; \
25895 r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 $(HOST_EXPORTS) \
25898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25900 done; \
25901 echo "Doing dvi in guile" ; \
25902 (cd $(HOST_SUBDIR)/guile && \
25903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25905 "RANLIB=$${RANLIB}" \
25906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25907 dvi) \
25908 || exit 1
25910 @endif guile
25912 .PHONY: maybe-html-guile html-guile
25913 maybe-html-guile:
25914 @if guile
25915 maybe-html-guile: html-guile
25917 html-guile: \
25918 configure-guile
25919 @[ -f ./guile/Makefile ] || exit 0; \
25920 r=`${PWD_COMMAND}`; export r; \
25921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25922 $(HOST_EXPORTS) \
25923 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25925 done; \
25926 echo "Doing html in guile" ; \
25927 (cd $(HOST_SUBDIR)/guile && \
25928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25930 "RANLIB=$${RANLIB}" \
25931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25932 html) \
25933 || exit 1
25935 @endif guile
25937 .PHONY: maybe-TAGS-guile TAGS-guile
25938 maybe-TAGS-guile:
25939 @if guile
25940 maybe-TAGS-guile: TAGS-guile
25942 TAGS-guile: \
25943 configure-guile
25944 @[ -f ./guile/Makefile ] || exit 0; \
25945 r=`${PWD_COMMAND}`; export r; \
25946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25947 $(HOST_EXPORTS) \
25948 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25950 done; \
25951 echo "Doing TAGS in guile" ; \
25952 (cd $(HOST_SUBDIR)/guile && \
25953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25955 "RANLIB=$${RANLIB}" \
25956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25957 TAGS) \
25958 || exit 1
25960 @endif guile
25962 .PHONY: maybe-install-info-guile install-info-guile
25963 maybe-install-info-guile:
25964 @if guile
25965 maybe-install-info-guile: install-info-guile
25967 install-info-guile: \
25968 configure-guile \
25969 info-guile
25970 @[ -f ./guile/Makefile ] || exit 0; \
25971 r=`${PWD_COMMAND}`; export r; \
25972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25973 $(HOST_EXPORTS) \
25974 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25976 done; \
25977 echo "Doing install-info in guile" ; \
25978 (cd $(HOST_SUBDIR)/guile && \
25979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25981 "RANLIB=$${RANLIB}" \
25982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25983 install-info) \
25984 || exit 1
25986 @endif guile
25988 .PHONY: maybe-installcheck-guile installcheck-guile
25989 maybe-installcheck-guile:
25990 @if guile
25991 maybe-installcheck-guile: installcheck-guile
25993 installcheck-guile: \
25994 configure-guile
25995 @[ -f ./guile/Makefile ] || exit 0; \
25996 r=`${PWD_COMMAND}`; export r; \
25997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25998 $(HOST_EXPORTS) \
25999 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26001 done; \
26002 echo "Doing installcheck in guile" ; \
26003 (cd $(HOST_SUBDIR)/guile && \
26004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26006 "RANLIB=$${RANLIB}" \
26007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26008 installcheck) \
26009 || exit 1
26011 @endif guile
26013 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
26014 maybe-mostlyclean-guile:
26015 @if guile
26016 maybe-mostlyclean-guile: mostlyclean-guile
26018 mostlyclean-guile:
26019 @[ -f ./guile/Makefile ] || exit 0; \
26020 r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(HOST_EXPORTS) \
26023 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26025 done; \
26026 echo "Doing mostlyclean in guile" ; \
26027 (cd $(HOST_SUBDIR)/guile && \
26028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26030 "RANLIB=$${RANLIB}" \
26031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26032 mostlyclean) \
26033 || exit 1
26035 @endif guile
26037 .PHONY: maybe-clean-guile clean-guile
26038 maybe-clean-guile:
26039 @if guile
26040 maybe-clean-guile: clean-guile
26042 clean-guile:
26043 @[ -f ./guile/Makefile ] || exit 0; \
26044 r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 $(HOST_EXPORTS) \
26047 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26049 done; \
26050 echo "Doing clean in guile" ; \
26051 (cd $(HOST_SUBDIR)/guile && \
26052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26054 "RANLIB=$${RANLIB}" \
26055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26056 clean) \
26057 || exit 1
26059 @endif guile
26061 .PHONY: maybe-distclean-guile distclean-guile
26062 maybe-distclean-guile:
26063 @if guile
26064 maybe-distclean-guile: distclean-guile
26066 distclean-guile:
26067 @[ -f ./guile/Makefile ] || exit 0; \
26068 r=`${PWD_COMMAND}`; export r; \
26069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26070 $(HOST_EXPORTS) \
26071 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26073 done; \
26074 echo "Doing distclean in guile" ; \
26075 (cd $(HOST_SUBDIR)/guile && \
26076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26078 "RANLIB=$${RANLIB}" \
26079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26080 distclean) \
26081 || exit 1
26083 @endif guile
26085 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
26086 maybe-maintainer-clean-guile:
26087 @if guile
26088 maybe-maintainer-clean-guile: maintainer-clean-guile
26090 maintainer-clean-guile:
26091 @[ -f ./guile/Makefile ] || exit 0; \
26092 r=`${PWD_COMMAND}`; export r; \
26093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26094 $(HOST_EXPORTS) \
26095 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26097 done; \
26098 echo "Doing maintainer-clean in guile" ; \
26099 (cd $(HOST_SUBDIR)/guile && \
26100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26102 "RANLIB=$${RANLIB}" \
26103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26104 maintainer-clean) \
26105 || exit 1
26107 @endif guile
26111 .PHONY: configure-tk maybe-configure-tk
26112 maybe-configure-tk:
26113 @if tk
26114 maybe-configure-tk: configure-tk
26115 configure-tk:
26116 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
26117 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
26118 r=`${PWD_COMMAND}`; export r; \
26119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26120 $(HOST_EXPORTS) \
26121 echo Configuring in $(HOST_SUBDIR)/tk; \
26122 cd "$(HOST_SUBDIR)/tk" || exit 1; \
26123 case $(srcdir) in \
26124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26125 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
26126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26127 esac; \
26128 srcdiroption="--srcdir=$${topdir}/tk"; \
26129 libsrcdir="$$s/tk"; \
26130 $(SHELL) $${libsrcdir}/configure \
26131 $(HOST_CONFIGARGS) $${srcdiroption} \
26132 || exit 1
26133 @endif tk
26139 .PHONY: all-tk maybe-all-tk
26140 maybe-all-tk:
26141 @if tk
26142 TARGET-tk=all
26143 maybe-all-tk: all-tk
26144 all-tk: configure-tk
26145 @r=`${PWD_COMMAND}`; export r; \
26146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26147 $(HOST_EXPORTS) \
26148 (cd $(HOST_SUBDIR)/tk && \
26149 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
26150 @endif tk
26155 .PHONY: check-tk maybe-check-tk
26156 maybe-check-tk:
26157 @if tk
26158 maybe-check-tk: check-tk
26160 check-tk:
26161 @r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 $(HOST_EXPORTS) \
26164 (cd $(HOST_SUBDIR)/tk && \
26165 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26167 @endif tk
26169 .PHONY: install-tk maybe-install-tk
26170 maybe-install-tk:
26171 @if tk
26172 maybe-install-tk: install-tk
26174 install-tk: installdirs
26175 @r=`${PWD_COMMAND}`; export r; \
26176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26177 $(HOST_EXPORTS) \
26178 (cd $(HOST_SUBDIR)/tk && \
26179 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26181 @endif tk
26183 # Other targets (info, dvi, etc.)
26185 .PHONY: maybe-info-tk info-tk
26186 maybe-info-tk:
26187 @if tk
26188 maybe-info-tk: info-tk
26190 info-tk: \
26191 configure-tk
26192 @[ -f ./tk/Makefile ] || exit 0; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26198 done; \
26199 echo "Doing info in tk" ; \
26200 (cd $(HOST_SUBDIR)/tk && \
26201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26203 "RANLIB=$${RANLIB}" \
26204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26205 info) \
26206 || exit 1
26208 @endif tk
26210 .PHONY: maybe-dvi-tk dvi-tk
26211 maybe-dvi-tk:
26212 @if tk
26213 maybe-dvi-tk: dvi-tk
26215 dvi-tk: \
26216 configure-tk
26217 @[ -f ./tk/Makefile ] || exit 0; \
26218 r=`${PWD_COMMAND}`; export r; \
26219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26220 $(HOST_EXPORTS) \
26221 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26223 done; \
26224 echo "Doing dvi in tk" ; \
26225 (cd $(HOST_SUBDIR)/tk && \
26226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26228 "RANLIB=$${RANLIB}" \
26229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26230 dvi) \
26231 || exit 1
26233 @endif tk
26235 .PHONY: maybe-html-tk html-tk
26236 maybe-html-tk:
26237 @if tk
26238 maybe-html-tk: html-tk
26240 html-tk: \
26241 configure-tk
26242 @[ -f ./tk/Makefile ] || exit 0; \
26243 r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 $(HOST_EXPORTS) \
26246 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26248 done; \
26249 echo "Doing html in tk" ; \
26250 (cd $(HOST_SUBDIR)/tk && \
26251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26253 "RANLIB=$${RANLIB}" \
26254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26255 html) \
26256 || exit 1
26258 @endif tk
26260 .PHONY: maybe-TAGS-tk TAGS-tk
26261 maybe-TAGS-tk:
26262 @if tk
26263 maybe-TAGS-tk: TAGS-tk
26265 TAGS-tk: \
26266 configure-tk
26267 @[ -f ./tk/Makefile ] || exit 0; \
26268 r=`${PWD_COMMAND}`; export r; \
26269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 $(HOST_EXPORTS) \
26271 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26273 done; \
26274 echo "Doing TAGS in tk" ; \
26275 (cd $(HOST_SUBDIR)/tk && \
26276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26278 "RANLIB=$${RANLIB}" \
26279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26280 TAGS) \
26281 || exit 1
26283 @endif tk
26285 .PHONY: maybe-install-info-tk install-info-tk
26286 maybe-install-info-tk:
26287 @if tk
26288 maybe-install-info-tk: install-info-tk
26290 install-info-tk: \
26291 configure-tk \
26292 info-tk
26293 @[ -f ./tk/Makefile ] || exit 0; \
26294 r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26296 $(HOST_EXPORTS) \
26297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26299 done; \
26300 echo "Doing install-info in tk" ; \
26301 (cd $(HOST_SUBDIR)/tk && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26306 install-info) \
26307 || exit 1
26309 @endif tk
26311 .PHONY: maybe-installcheck-tk installcheck-tk
26312 maybe-installcheck-tk:
26313 @if tk
26314 maybe-installcheck-tk: installcheck-tk
26316 installcheck-tk: \
26317 configure-tk
26318 @[ -f ./tk/Makefile ] || exit 0; \
26319 r=`${PWD_COMMAND}`; export r; \
26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26321 $(HOST_EXPORTS) \
26322 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26324 done; \
26325 echo "Doing installcheck in tk" ; \
26326 (cd $(HOST_SUBDIR)/tk && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26331 installcheck) \
26332 || exit 1
26334 @endif tk
26336 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
26337 maybe-mostlyclean-tk:
26338 @if tk
26339 maybe-mostlyclean-tk: mostlyclean-tk
26341 mostlyclean-tk:
26342 @[ -f ./tk/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(HOST_EXPORTS) \
26346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26348 done; \
26349 echo "Doing mostlyclean in tk" ; \
26350 (cd $(HOST_SUBDIR)/tk && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26353 "RANLIB=$${RANLIB}" \
26354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 mostlyclean) \
26356 || exit 1
26358 @endif tk
26360 .PHONY: maybe-clean-tk clean-tk
26361 maybe-clean-tk:
26362 @if tk
26363 maybe-clean-tk: clean-tk
26365 clean-tk:
26366 @[ -f ./tk/Makefile ] || exit 0; \
26367 r=`${PWD_COMMAND}`; export r; \
26368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26369 $(HOST_EXPORTS) \
26370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26372 done; \
26373 echo "Doing clean in tk" ; \
26374 (cd $(HOST_SUBDIR)/tk && \
26375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26377 "RANLIB=$${RANLIB}" \
26378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26379 clean) \
26380 || exit 1
26382 @endif tk
26384 .PHONY: maybe-distclean-tk distclean-tk
26385 maybe-distclean-tk:
26386 @if tk
26387 maybe-distclean-tk: distclean-tk
26389 distclean-tk:
26390 @[ -f ./tk/Makefile ] || exit 0; \
26391 r=`${PWD_COMMAND}`; export r; \
26392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26393 $(HOST_EXPORTS) \
26394 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26396 done; \
26397 echo "Doing distclean in tk" ; \
26398 (cd $(HOST_SUBDIR)/tk && \
26399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26401 "RANLIB=$${RANLIB}" \
26402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26403 distclean) \
26404 || exit 1
26406 @endif tk
26408 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
26409 maybe-maintainer-clean-tk:
26410 @if tk
26411 maybe-maintainer-clean-tk: maintainer-clean-tk
26413 maintainer-clean-tk:
26414 @[ -f ./tk/Makefile ] || exit 0; \
26415 r=`${PWD_COMMAND}`; export r; \
26416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26417 $(HOST_EXPORTS) \
26418 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26420 done; \
26421 echo "Doing maintainer-clean in tk" ; \
26422 (cd $(HOST_SUBDIR)/tk && \
26423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26425 "RANLIB=$${RANLIB}" \
26426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26427 maintainer-clean) \
26428 || exit 1
26430 @endif tk
26434 .PHONY: configure-libtermcap maybe-configure-libtermcap
26435 maybe-configure-libtermcap:
26436 @if libtermcap
26437 maybe-configure-libtermcap: configure-libtermcap
26438 configure-libtermcap:
26439 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
26440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
26441 r=`${PWD_COMMAND}`; export r; \
26442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26443 $(HOST_EXPORTS) \
26444 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
26445 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
26446 case $(srcdir) in \
26447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26448 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
26449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26450 esac; \
26451 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26452 libsrcdir="$$s/libtermcap"; \
26453 $(SHELL) $${libsrcdir}/configure \
26454 $(HOST_CONFIGARGS) $${srcdiroption} \
26455 || exit 1
26456 @endif libtermcap
26462 .PHONY: all-libtermcap maybe-all-libtermcap
26463 maybe-all-libtermcap:
26464 @if libtermcap
26465 TARGET-libtermcap=all
26466 maybe-all-libtermcap: all-libtermcap
26467 all-libtermcap: configure-libtermcap
26468 @r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 $(HOST_EXPORTS) \
26471 (cd $(HOST_SUBDIR)/libtermcap && \
26472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
26473 @endif libtermcap
26478 .PHONY: check-libtermcap maybe-check-libtermcap
26479 maybe-check-libtermcap:
26480 @if libtermcap
26481 maybe-check-libtermcap: check-libtermcap
26483 check-libtermcap:
26485 @endif libtermcap
26487 .PHONY: install-libtermcap maybe-install-libtermcap
26488 maybe-install-libtermcap:
26489 @if libtermcap
26490 maybe-install-libtermcap: install-libtermcap
26492 install-libtermcap: installdirs
26493 @r=`${PWD_COMMAND}`; export r; \
26494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26495 $(HOST_EXPORTS) \
26496 (cd $(HOST_SUBDIR)/libtermcap && \
26497 $(MAKE) $(FLAGS_TO_PASS) install)
26499 @endif libtermcap
26501 # Other targets (info, dvi, etc.)
26503 .PHONY: maybe-info-libtermcap info-libtermcap
26504 maybe-info-libtermcap:
26505 @if libtermcap
26506 maybe-info-libtermcap: info-libtermcap
26508 info-libtermcap: \
26509 configure-libtermcap
26510 @[ -f ./libtermcap/Makefile ] || exit 0; \
26511 r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 $(HOST_EXPORTS) \
26514 for flag in $(EXTRA_HOST_FLAGS) ; do \
26515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26516 done; \
26517 echo "Doing info in libtermcap" ; \
26518 (cd $(HOST_SUBDIR)/libtermcap && \
26519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26521 "RANLIB=$${RANLIB}" \
26522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26523 info) \
26524 || exit 1
26526 @endif libtermcap
26528 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
26529 maybe-dvi-libtermcap:
26530 @if libtermcap
26531 maybe-dvi-libtermcap: dvi-libtermcap
26533 dvi-libtermcap: \
26534 configure-libtermcap
26535 @[ -f ./libtermcap/Makefile ] || exit 0; \
26536 r=`${PWD_COMMAND}`; export r; \
26537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26538 $(HOST_EXPORTS) \
26539 for flag in $(EXTRA_HOST_FLAGS) ; do \
26540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26541 done; \
26542 echo "Doing dvi in libtermcap" ; \
26543 (cd $(HOST_SUBDIR)/libtermcap && \
26544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26546 "RANLIB=$${RANLIB}" \
26547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26548 dvi) \
26549 || exit 1
26551 @endif libtermcap
26553 .PHONY: maybe-html-libtermcap html-libtermcap
26554 maybe-html-libtermcap:
26555 @if libtermcap
26556 maybe-html-libtermcap: html-libtermcap
26558 html-libtermcap: \
26559 configure-libtermcap
26560 @[ -f ./libtermcap/Makefile ] || exit 0; \
26561 r=`${PWD_COMMAND}`; export r; \
26562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26563 $(HOST_EXPORTS) \
26564 for flag in $(EXTRA_HOST_FLAGS) ; do \
26565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26566 done; \
26567 echo "Doing html in libtermcap" ; \
26568 (cd $(HOST_SUBDIR)/libtermcap && \
26569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26571 "RANLIB=$${RANLIB}" \
26572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26573 html) \
26574 || exit 1
26576 @endif libtermcap
26578 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
26579 maybe-TAGS-libtermcap:
26580 @if libtermcap
26581 maybe-TAGS-libtermcap: TAGS-libtermcap
26583 TAGS-libtermcap: \
26584 configure-libtermcap
26585 @[ -f ./libtermcap/Makefile ] || exit 0; \
26586 r=`${PWD_COMMAND}`; export r; \
26587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26588 $(HOST_EXPORTS) \
26589 for flag in $(EXTRA_HOST_FLAGS) ; do \
26590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26591 done; \
26592 echo "Doing TAGS in libtermcap" ; \
26593 (cd $(HOST_SUBDIR)/libtermcap && \
26594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26596 "RANLIB=$${RANLIB}" \
26597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26598 TAGS) \
26599 || exit 1
26601 @endif libtermcap
26603 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
26604 maybe-install-info-libtermcap:
26605 @if libtermcap
26606 maybe-install-info-libtermcap: install-info-libtermcap
26608 install-info-libtermcap: \
26609 configure-libtermcap \
26610 info-libtermcap
26611 @[ -f ./libtermcap/Makefile ] || exit 0; \
26612 r=`${PWD_COMMAND}`; export r; \
26613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26614 $(HOST_EXPORTS) \
26615 for flag in $(EXTRA_HOST_FLAGS) ; do \
26616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26617 done; \
26618 echo "Doing install-info in libtermcap" ; \
26619 (cd $(HOST_SUBDIR)/libtermcap && \
26620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26622 "RANLIB=$${RANLIB}" \
26623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26624 install-info) \
26625 || exit 1
26627 @endif libtermcap
26629 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
26630 maybe-installcheck-libtermcap:
26631 @if libtermcap
26632 maybe-installcheck-libtermcap: installcheck-libtermcap
26634 installcheck-libtermcap: \
26635 configure-libtermcap
26636 @[ -f ./libtermcap/Makefile ] || exit 0; \
26637 r=`${PWD_COMMAND}`; export r; \
26638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26639 $(HOST_EXPORTS) \
26640 for flag in $(EXTRA_HOST_FLAGS) ; do \
26641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26642 done; \
26643 echo "Doing installcheck in libtermcap" ; \
26644 (cd $(HOST_SUBDIR)/libtermcap && \
26645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26647 "RANLIB=$${RANLIB}" \
26648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26649 installcheck) \
26650 || exit 1
26652 @endif libtermcap
26654 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
26655 maybe-mostlyclean-libtermcap:
26656 @if libtermcap
26657 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
26659 # libtermcap doesn't support mostlyclean.
26660 mostlyclean-libtermcap:
26662 @endif libtermcap
26664 .PHONY: maybe-clean-libtermcap clean-libtermcap
26665 maybe-clean-libtermcap:
26666 @if libtermcap
26667 maybe-clean-libtermcap: clean-libtermcap
26669 # libtermcap doesn't support clean.
26670 clean-libtermcap:
26672 @endif libtermcap
26674 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
26675 maybe-distclean-libtermcap:
26676 @if libtermcap
26677 maybe-distclean-libtermcap: distclean-libtermcap
26679 # libtermcap doesn't support distclean.
26680 distclean-libtermcap:
26682 @endif libtermcap
26684 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
26685 maybe-maintainer-clean-libtermcap:
26686 @if libtermcap
26687 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
26689 # libtermcap doesn't support maintainer-clean.
26690 maintainer-clean-libtermcap:
26692 @endif libtermcap
26696 .PHONY: configure-utils maybe-configure-utils
26697 maybe-configure-utils:
26698 @if utils
26699 maybe-configure-utils: configure-utils
26700 configure-utils:
26701 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
26702 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
26703 r=`${PWD_COMMAND}`; export r; \
26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26705 $(HOST_EXPORTS) \
26706 echo Configuring in $(HOST_SUBDIR)/utils; \
26707 cd "$(HOST_SUBDIR)/utils" || exit 1; \
26708 case $(srcdir) in \
26709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26710 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
26711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26712 esac; \
26713 srcdiroption="--srcdir=$${topdir}/utils"; \
26714 libsrcdir="$$s/utils"; \
26715 $(SHELL) $${libsrcdir}/configure \
26716 $(HOST_CONFIGARGS) $${srcdiroption} \
26717 || exit 1
26718 @endif utils
26724 .PHONY: all-utils maybe-all-utils
26725 maybe-all-utils:
26726 @if utils
26727 TARGET-utils=all
26728 maybe-all-utils: all-utils
26729 all-utils: configure-utils
26730 @r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(HOST_EXPORTS) \
26733 (cd $(HOST_SUBDIR)/utils && \
26734 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
26735 @endif utils
26740 .PHONY: check-utils maybe-check-utils
26741 maybe-check-utils:
26742 @if utils
26743 maybe-check-utils: check-utils
26745 check-utils:
26747 @endif utils
26749 .PHONY: install-utils maybe-install-utils
26750 maybe-install-utils:
26751 @if utils
26752 maybe-install-utils: install-utils
26754 install-utils: installdirs
26755 @r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(HOST_EXPORTS) \
26758 (cd $(HOST_SUBDIR)/utils && \
26759 $(MAKE) $(FLAGS_TO_PASS) install)
26761 @endif utils
26763 # Other targets (info, dvi, etc.)
26765 .PHONY: maybe-info-utils info-utils
26766 maybe-info-utils:
26767 @if utils
26768 maybe-info-utils: info-utils
26770 info-utils: \
26771 configure-utils
26772 @[ -f ./utils/Makefile ] || exit 0; \
26773 r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(HOST_EXPORTS) \
26776 for flag in $(EXTRA_HOST_FLAGS) ; do \
26777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26778 done; \
26779 echo "Doing info in utils" ; \
26780 (cd $(HOST_SUBDIR)/utils && \
26781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26783 "RANLIB=$${RANLIB}" \
26784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26785 info) \
26786 || exit 1
26788 @endif utils
26790 .PHONY: maybe-dvi-utils dvi-utils
26791 maybe-dvi-utils:
26792 @if utils
26793 maybe-dvi-utils: dvi-utils
26795 dvi-utils: \
26796 configure-utils
26797 @[ -f ./utils/Makefile ] || exit 0; \
26798 r=`${PWD_COMMAND}`; export r; \
26799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26800 $(HOST_EXPORTS) \
26801 for flag in $(EXTRA_HOST_FLAGS) ; do \
26802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26803 done; \
26804 echo "Doing dvi in utils" ; \
26805 (cd $(HOST_SUBDIR)/utils && \
26806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26808 "RANLIB=$${RANLIB}" \
26809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26810 dvi) \
26811 || exit 1
26813 @endif utils
26815 .PHONY: maybe-html-utils html-utils
26816 maybe-html-utils:
26817 @if utils
26818 maybe-html-utils: html-utils
26820 html-utils: \
26821 configure-utils
26822 @[ -f ./utils/Makefile ] || exit 0; \
26823 r=`${PWD_COMMAND}`; export r; \
26824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26825 $(HOST_EXPORTS) \
26826 for flag in $(EXTRA_HOST_FLAGS) ; do \
26827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26828 done; \
26829 echo "Doing html in utils" ; \
26830 (cd $(HOST_SUBDIR)/utils && \
26831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26833 "RANLIB=$${RANLIB}" \
26834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26835 html) \
26836 || exit 1
26838 @endif utils
26840 .PHONY: maybe-TAGS-utils TAGS-utils
26841 maybe-TAGS-utils:
26842 @if utils
26843 maybe-TAGS-utils: TAGS-utils
26845 TAGS-utils: \
26846 configure-utils
26847 @[ -f ./utils/Makefile ] || exit 0; \
26848 r=`${PWD_COMMAND}`; export r; \
26849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26850 $(HOST_EXPORTS) \
26851 for flag in $(EXTRA_HOST_FLAGS) ; do \
26852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26853 done; \
26854 echo "Doing TAGS in utils" ; \
26855 (cd $(HOST_SUBDIR)/utils && \
26856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26858 "RANLIB=$${RANLIB}" \
26859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26860 TAGS) \
26861 || exit 1
26863 @endif utils
26865 .PHONY: maybe-install-info-utils install-info-utils
26866 maybe-install-info-utils:
26867 @if utils
26868 maybe-install-info-utils: install-info-utils
26870 install-info-utils: \
26871 configure-utils \
26872 info-utils
26873 @[ -f ./utils/Makefile ] || exit 0; \
26874 r=`${PWD_COMMAND}`; export r; \
26875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26876 $(HOST_EXPORTS) \
26877 for flag in $(EXTRA_HOST_FLAGS) ; do \
26878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26879 done; \
26880 echo "Doing install-info in utils" ; \
26881 (cd $(HOST_SUBDIR)/utils && \
26882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26884 "RANLIB=$${RANLIB}" \
26885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26886 install-info) \
26887 || exit 1
26889 @endif utils
26891 .PHONY: maybe-installcheck-utils installcheck-utils
26892 maybe-installcheck-utils:
26893 @if utils
26894 maybe-installcheck-utils: installcheck-utils
26896 installcheck-utils: \
26897 configure-utils
26898 @[ -f ./utils/Makefile ] || exit 0; \
26899 r=`${PWD_COMMAND}`; export r; \
26900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26901 $(HOST_EXPORTS) \
26902 for flag in $(EXTRA_HOST_FLAGS) ; do \
26903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26904 done; \
26905 echo "Doing installcheck in utils" ; \
26906 (cd $(HOST_SUBDIR)/utils && \
26907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26909 "RANLIB=$${RANLIB}" \
26910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26911 installcheck) \
26912 || exit 1
26914 @endif utils
26916 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
26917 maybe-mostlyclean-utils:
26918 @if utils
26919 maybe-mostlyclean-utils: mostlyclean-utils
26921 mostlyclean-utils:
26922 @[ -f ./utils/Makefile ] || exit 0; \
26923 r=`${PWD_COMMAND}`; export r; \
26924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26925 $(HOST_EXPORTS) \
26926 for flag in $(EXTRA_HOST_FLAGS) ; do \
26927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26928 done; \
26929 echo "Doing mostlyclean in utils" ; \
26930 (cd $(HOST_SUBDIR)/utils && \
26931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26933 "RANLIB=$${RANLIB}" \
26934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26935 mostlyclean) \
26936 || exit 1
26938 @endif utils
26940 .PHONY: maybe-clean-utils clean-utils
26941 maybe-clean-utils:
26942 @if utils
26943 maybe-clean-utils: clean-utils
26945 clean-utils:
26946 @[ -f ./utils/Makefile ] || exit 0; \
26947 r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(HOST_EXPORTS) \
26950 for flag in $(EXTRA_HOST_FLAGS) ; do \
26951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26952 done; \
26953 echo "Doing clean in utils" ; \
26954 (cd $(HOST_SUBDIR)/utils && \
26955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26957 "RANLIB=$${RANLIB}" \
26958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26959 clean) \
26960 || exit 1
26962 @endif utils
26964 .PHONY: maybe-distclean-utils distclean-utils
26965 maybe-distclean-utils:
26966 @if utils
26967 maybe-distclean-utils: distclean-utils
26969 distclean-utils:
26970 @[ -f ./utils/Makefile ] || exit 0; \
26971 r=`${PWD_COMMAND}`; export r; \
26972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26973 $(HOST_EXPORTS) \
26974 for flag in $(EXTRA_HOST_FLAGS) ; do \
26975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26976 done; \
26977 echo "Doing distclean in utils" ; \
26978 (cd $(HOST_SUBDIR)/utils && \
26979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26981 "RANLIB=$${RANLIB}" \
26982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26983 distclean) \
26984 || exit 1
26986 @endif utils
26988 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
26989 maybe-maintainer-clean-utils:
26990 @if utils
26991 maybe-maintainer-clean-utils: maintainer-clean-utils
26993 maintainer-clean-utils:
26994 @[ -f ./utils/Makefile ] || exit 0; \
26995 r=`${PWD_COMMAND}`; export r; \
26996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26997 $(HOST_EXPORTS) \
26998 for flag in $(EXTRA_HOST_FLAGS) ; do \
26999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27000 done; \
27001 echo "Doing maintainer-clean in utils" ; \
27002 (cd $(HOST_SUBDIR)/utils && \
27003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27005 "RANLIB=$${RANLIB}" \
27006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27007 maintainer-clean) \
27008 || exit 1
27010 @endif utils
27014 .PHONY: configure-gnattools maybe-configure-gnattools
27015 maybe-configure-gnattools:
27016 @if gnattools
27017 maybe-configure-gnattools: configure-gnattools
27018 configure-gnattools:
27019 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
27020 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
27021 r=`${PWD_COMMAND}`; export r; \
27022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27023 $(HOST_EXPORTS) \
27024 echo Configuring in $(HOST_SUBDIR)/gnattools; \
27025 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
27026 case $(srcdir) in \
27027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27028 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
27029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27030 esac; \
27031 srcdiroption="--srcdir=$${topdir}/gnattools"; \
27032 libsrcdir="$$s/gnattools"; \
27033 $(SHELL) $${libsrcdir}/configure \
27034 $(HOST_CONFIGARGS) $${srcdiroption} \
27035 || exit 1
27036 @endif gnattools
27042 .PHONY: all-gnattools maybe-all-gnattools
27043 maybe-all-gnattools:
27044 @if gnattools
27045 TARGET-gnattools=all
27046 maybe-all-gnattools: all-gnattools
27047 all-gnattools: configure-gnattools
27048 @r=`${PWD_COMMAND}`; export r; \
27049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27050 $(HOST_EXPORTS) \
27051 (cd $(HOST_SUBDIR)/gnattools && \
27052 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
27053 @endif gnattools
27058 .PHONY: check-gnattools maybe-check-gnattools
27059 maybe-check-gnattools:
27060 @if gnattools
27061 maybe-check-gnattools: check-gnattools
27063 check-gnattools:
27064 @r=`${PWD_COMMAND}`; export r; \
27065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27066 $(HOST_EXPORTS) \
27067 (cd $(HOST_SUBDIR)/gnattools && \
27068 $(MAKE) $(FLAGS_TO_PASS) check)
27070 @endif gnattools
27072 .PHONY: install-gnattools maybe-install-gnattools
27073 maybe-install-gnattools:
27074 @if gnattools
27075 maybe-install-gnattools: install-gnattools
27077 install-gnattools: installdirs
27078 @r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 $(HOST_EXPORTS) \
27081 (cd $(HOST_SUBDIR)/gnattools && \
27082 $(MAKE) $(FLAGS_TO_PASS) install)
27084 @endif gnattools
27086 # Other targets (info, dvi, etc.)
27088 .PHONY: maybe-info-gnattools info-gnattools
27089 maybe-info-gnattools:
27090 @if gnattools
27091 maybe-info-gnattools: info-gnattools
27093 info-gnattools: \
27094 configure-gnattools
27095 @[ -f ./gnattools/Makefile ] || exit 0; \
27096 r=`${PWD_COMMAND}`; export r; \
27097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27098 $(HOST_EXPORTS) \
27099 for flag in $(EXTRA_HOST_FLAGS) ; do \
27100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27101 done; \
27102 echo "Doing info in gnattools" ; \
27103 (cd $(HOST_SUBDIR)/gnattools && \
27104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27106 "RANLIB=$${RANLIB}" \
27107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27108 info) \
27109 || exit 1
27111 @endif gnattools
27113 .PHONY: maybe-dvi-gnattools dvi-gnattools
27114 maybe-dvi-gnattools:
27115 @if gnattools
27116 maybe-dvi-gnattools: dvi-gnattools
27118 dvi-gnattools: \
27119 configure-gnattools
27120 @[ -f ./gnattools/Makefile ] || exit 0; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27123 $(HOST_EXPORTS) \
27124 for flag in $(EXTRA_HOST_FLAGS) ; do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 echo "Doing dvi in gnattools" ; \
27128 (cd $(HOST_SUBDIR)/gnattools && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27133 dvi) \
27134 || exit 1
27136 @endif gnattools
27138 .PHONY: maybe-html-gnattools html-gnattools
27139 maybe-html-gnattools:
27140 @if gnattools
27141 maybe-html-gnattools: html-gnattools
27143 html-gnattools: \
27144 configure-gnattools
27145 @[ -f ./gnattools/Makefile ] || exit 0; \
27146 r=`${PWD_COMMAND}`; export r; \
27147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148 $(HOST_EXPORTS) \
27149 for flag in $(EXTRA_HOST_FLAGS) ; do \
27150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151 done; \
27152 echo "Doing html in gnattools" ; \
27153 (cd $(HOST_SUBDIR)/gnattools && \
27154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27156 "RANLIB=$${RANLIB}" \
27157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27158 html) \
27159 || exit 1
27161 @endif gnattools
27163 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
27164 maybe-TAGS-gnattools:
27165 @if gnattools
27166 maybe-TAGS-gnattools: TAGS-gnattools
27168 TAGS-gnattools: \
27169 configure-gnattools
27170 @[ -f ./gnattools/Makefile ] || exit 0; \
27171 r=`${PWD_COMMAND}`; export r; \
27172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27173 $(HOST_EXPORTS) \
27174 for flag in $(EXTRA_HOST_FLAGS) ; do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 done; \
27177 echo "Doing TAGS in gnattools" ; \
27178 (cd $(HOST_SUBDIR)/gnattools && \
27179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27181 "RANLIB=$${RANLIB}" \
27182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27183 TAGS) \
27184 || exit 1
27186 @endif gnattools
27188 .PHONY: maybe-install-info-gnattools install-info-gnattools
27189 maybe-install-info-gnattools:
27190 @if gnattools
27191 maybe-install-info-gnattools: install-info-gnattools
27193 install-info-gnattools: \
27194 configure-gnattools \
27195 info-gnattools
27196 @[ -f ./gnattools/Makefile ] || exit 0; \
27197 r=`${PWD_COMMAND}`; export r; \
27198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27199 $(HOST_EXPORTS) \
27200 for flag in $(EXTRA_HOST_FLAGS) ; do \
27201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27202 done; \
27203 echo "Doing install-info in gnattools" ; \
27204 (cd $(HOST_SUBDIR)/gnattools && \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207 "RANLIB=$${RANLIB}" \
27208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27209 install-info) \
27210 || exit 1
27212 @endif gnattools
27214 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
27215 maybe-installcheck-gnattools:
27216 @if gnattools
27217 maybe-installcheck-gnattools: installcheck-gnattools
27219 installcheck-gnattools: \
27220 configure-gnattools
27221 @[ -f ./gnattools/Makefile ] || exit 0; \
27222 r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224 $(HOST_EXPORTS) \
27225 for flag in $(EXTRA_HOST_FLAGS) ; do \
27226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27227 done; \
27228 echo "Doing installcheck in gnattools" ; \
27229 (cd $(HOST_SUBDIR)/gnattools && \
27230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27232 "RANLIB=$${RANLIB}" \
27233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27234 installcheck) \
27235 || exit 1
27237 @endif gnattools
27239 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
27240 maybe-mostlyclean-gnattools:
27241 @if gnattools
27242 maybe-mostlyclean-gnattools: mostlyclean-gnattools
27244 mostlyclean-gnattools:
27245 @[ -f ./gnattools/Makefile ] || exit 0; \
27246 r=`${PWD_COMMAND}`; export r; \
27247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27248 $(HOST_EXPORTS) \
27249 for flag in $(EXTRA_HOST_FLAGS) ; do \
27250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27251 done; \
27252 echo "Doing mostlyclean in gnattools" ; \
27253 (cd $(HOST_SUBDIR)/gnattools && \
27254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27256 "RANLIB=$${RANLIB}" \
27257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27258 mostlyclean) \
27259 || exit 1
27261 @endif gnattools
27263 .PHONY: maybe-clean-gnattools clean-gnattools
27264 maybe-clean-gnattools:
27265 @if gnattools
27266 maybe-clean-gnattools: clean-gnattools
27268 clean-gnattools:
27269 @[ -f ./gnattools/Makefile ] || exit 0; \
27270 r=`${PWD_COMMAND}`; export r; \
27271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 $(HOST_EXPORTS) \
27273 for flag in $(EXTRA_HOST_FLAGS) ; do \
27274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27275 done; \
27276 echo "Doing clean in gnattools" ; \
27277 (cd $(HOST_SUBDIR)/gnattools && \
27278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27280 "RANLIB=$${RANLIB}" \
27281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27282 clean) \
27283 || exit 1
27285 @endif gnattools
27287 .PHONY: maybe-distclean-gnattools distclean-gnattools
27288 maybe-distclean-gnattools:
27289 @if gnattools
27290 maybe-distclean-gnattools: distclean-gnattools
27292 distclean-gnattools:
27293 @[ -f ./gnattools/Makefile ] || exit 0; \
27294 r=`${PWD_COMMAND}`; export r; \
27295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27296 $(HOST_EXPORTS) \
27297 for flag in $(EXTRA_HOST_FLAGS) ; do \
27298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27299 done; \
27300 echo "Doing distclean in gnattools" ; \
27301 (cd $(HOST_SUBDIR)/gnattools && \
27302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27304 "RANLIB=$${RANLIB}" \
27305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27306 distclean) \
27307 || exit 1
27309 @endif gnattools
27311 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
27312 maybe-maintainer-clean-gnattools:
27313 @if gnattools
27314 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
27316 maintainer-clean-gnattools:
27317 @[ -f ./gnattools/Makefile ] || exit 0; \
27318 r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(HOST_EXPORTS) \
27321 for flag in $(EXTRA_HOST_FLAGS) ; do \
27322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27323 done; \
27324 echo "Doing maintainer-clean in gnattools" ; \
27325 (cd $(HOST_SUBDIR)/gnattools && \
27326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27328 "RANLIB=$${RANLIB}" \
27329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27330 maintainer-clean) \
27331 || exit 1
27333 @endif gnattools
27337 # ---------------------------------------
27338 # Modules which run on the target machine
27339 # ---------------------------------------
27342 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27343 @if target-libstdc++-v3
27344 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
27345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27346 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
27347 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27348 @endif target-libstdc++-v3
27352 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
27353 maybe-configure-target-libstdc++-v3:
27354 @if target-libstdc++-v3
27355 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
27356 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27357 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
27358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27359 r=`${PWD_COMMAND}`; export r; \
27360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27361 $(RAW_CXX_TARGET_EXPORTS) \
27362 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
27363 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
27364 case $(srcdir) in \
27365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27366 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
27367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27368 esac; \
27369 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
27370 libsrcdir="$$s/libstdc++-v3"; \
27371 rm -f no-such-file || : ; \
27372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27373 $(TARGET_CONFIGARGS) $${srcdiroption} \
27374 || exit 1
27375 @endif target-libstdc++-v3
27381 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
27382 maybe-all-target-libstdc++-v3:
27383 @if target-libstdc++-v3
27384 TARGET-target-libstdc++-v3=all
27385 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
27386 all-target-libstdc++-v3: configure-target-libstdc++-v3
27387 @r=`${PWD_COMMAND}`; export r; \
27388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27389 $(RAW_CXX_TARGET_EXPORTS) \
27390 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27391 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
27392 @endif target-libstdc++-v3
27398 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
27399 maybe-check-target-libstdc++-v3:
27400 @if target-libstdc++-v3
27401 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
27403 check-target-libstdc++-v3:
27404 @r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(RAW_CXX_TARGET_EXPORTS) \
27407 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27408 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27410 @endif target-libstdc++-v3
27412 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
27413 maybe-install-target-libstdc++-v3:
27414 @if target-libstdc++-v3
27415 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
27417 install-target-libstdc++-v3: installdirs
27418 @r=`${PWD_COMMAND}`; export r; \
27419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27420 $(RAW_CXX_TARGET_EXPORTS) \
27421 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27424 @endif target-libstdc++-v3
27426 # Other targets (info, dvi, etc.)
27428 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
27429 maybe-info-target-libstdc++-v3:
27430 @if target-libstdc++-v3
27431 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
27433 info-target-libstdc++-v3: \
27434 configure-target-libstdc++-v3
27435 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27436 r=`${PWD_COMMAND}`; export r; \
27437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27438 $(RAW_CXX_TARGET_EXPORTS) \
27439 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27440 for flag in $(EXTRA_TARGET_FLAGS); do \
27441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27442 done; \
27443 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27446 "RANLIB=$${RANLIB}" \
27447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27448 info) \
27449 || exit 1
27451 @endif target-libstdc++-v3
27453 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
27454 maybe-dvi-target-libstdc++-v3:
27455 @if target-libstdc++-v3
27456 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
27458 dvi-target-libstdc++-v3: \
27459 configure-target-libstdc++-v3
27460 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27461 r=`${PWD_COMMAND}`; export r; \
27462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27463 $(RAW_CXX_TARGET_EXPORTS) \
27464 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27465 for flag in $(EXTRA_TARGET_FLAGS); do \
27466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27467 done; \
27468 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27471 "RANLIB=$${RANLIB}" \
27472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27473 dvi) \
27474 || exit 1
27476 @endif target-libstdc++-v3
27478 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
27479 maybe-html-target-libstdc++-v3:
27480 @if target-libstdc++-v3
27481 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
27483 html-target-libstdc++-v3: \
27484 configure-target-libstdc++-v3
27485 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27486 r=`${PWD_COMMAND}`; export r; \
27487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27488 $(RAW_CXX_TARGET_EXPORTS) \
27489 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27490 for flag in $(EXTRA_TARGET_FLAGS); do \
27491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27492 done; \
27493 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27496 "RANLIB=$${RANLIB}" \
27497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27498 html) \
27499 || exit 1
27501 @endif target-libstdc++-v3
27503 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
27504 maybe-TAGS-target-libstdc++-v3:
27505 @if target-libstdc++-v3
27506 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
27508 TAGS-target-libstdc++-v3: \
27509 configure-target-libstdc++-v3
27510 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(RAW_CXX_TARGET_EXPORTS) \
27514 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27515 for flag in $(EXTRA_TARGET_FLAGS); do \
27516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27517 done; \
27518 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523 TAGS) \
27524 || exit 1
27526 @endif target-libstdc++-v3
27528 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
27529 maybe-install-info-target-libstdc++-v3:
27530 @if target-libstdc++-v3
27531 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
27533 install-info-target-libstdc++-v3: \
27534 configure-target-libstdc++-v3 \
27535 info-target-libstdc++-v3
27536 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27537 r=`${PWD_COMMAND}`; export r; \
27538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27539 $(RAW_CXX_TARGET_EXPORTS) \
27540 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27541 for flag in $(EXTRA_TARGET_FLAGS); do \
27542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27543 done; \
27544 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27547 "RANLIB=$${RANLIB}" \
27548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27549 install-info) \
27550 || exit 1
27552 @endif target-libstdc++-v3
27554 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
27555 maybe-installcheck-target-libstdc++-v3:
27556 @if target-libstdc++-v3
27557 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
27559 installcheck-target-libstdc++-v3: \
27560 configure-target-libstdc++-v3
27561 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27562 r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27564 $(RAW_CXX_TARGET_EXPORTS) \
27565 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27566 for flag in $(EXTRA_TARGET_FLAGS); do \
27567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27568 done; \
27569 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27572 "RANLIB=$${RANLIB}" \
27573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27574 installcheck) \
27575 || exit 1
27577 @endif target-libstdc++-v3
27579 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
27580 maybe-mostlyclean-target-libstdc++-v3:
27581 @if target-libstdc++-v3
27582 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
27584 mostlyclean-target-libstdc++-v3:
27585 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27586 r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 $(RAW_CXX_TARGET_EXPORTS) \
27589 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27590 for flag in $(EXTRA_TARGET_FLAGS); do \
27591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27592 done; \
27593 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27596 "RANLIB=$${RANLIB}" \
27597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27598 mostlyclean) \
27599 || exit 1
27601 @endif target-libstdc++-v3
27603 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
27604 maybe-clean-target-libstdc++-v3:
27605 @if target-libstdc++-v3
27606 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
27608 clean-target-libstdc++-v3:
27609 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27610 r=`${PWD_COMMAND}`; export r; \
27611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27612 $(RAW_CXX_TARGET_EXPORTS) \
27613 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27614 for flag in $(EXTRA_TARGET_FLAGS); do \
27615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27616 done; \
27617 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27620 "RANLIB=$${RANLIB}" \
27621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27622 clean) \
27623 || exit 1
27625 @endif target-libstdc++-v3
27627 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
27628 maybe-distclean-target-libstdc++-v3:
27629 @if target-libstdc++-v3
27630 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
27632 distclean-target-libstdc++-v3:
27633 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27634 r=`${PWD_COMMAND}`; export r; \
27635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27636 $(RAW_CXX_TARGET_EXPORTS) \
27637 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27638 for flag in $(EXTRA_TARGET_FLAGS); do \
27639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27640 done; \
27641 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27644 "RANLIB=$${RANLIB}" \
27645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27646 distclean) \
27647 || exit 1
27649 @endif target-libstdc++-v3
27651 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
27652 maybe-maintainer-clean-target-libstdc++-v3:
27653 @if target-libstdc++-v3
27654 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
27656 maintainer-clean-target-libstdc++-v3:
27657 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27658 r=`${PWD_COMMAND}`; export r; \
27659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27660 $(RAW_CXX_TARGET_EXPORTS) \
27661 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27662 for flag in $(EXTRA_TARGET_FLAGS); do \
27663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27664 done; \
27665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27668 "RANLIB=$${RANLIB}" \
27669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27670 maintainer-clean) \
27671 || exit 1
27673 @endif target-libstdc++-v3
27677 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27678 @if target-libmudflap
27679 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
27680 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27681 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
27682 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
27683 @endif target-libmudflap
27687 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
27688 maybe-configure-target-libmudflap:
27689 @if target-libmudflap
27690 maybe-configure-target-libmudflap: configure-target-libmudflap
27691 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
27692 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
27693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27694 r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27696 $(NORMAL_TARGET_EXPORTS) \
27697 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
27698 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
27699 case $(srcdir) in \
27700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27701 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
27702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27703 esac; \
27704 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
27705 libsrcdir="$$s/libmudflap"; \
27706 rm -f no-such-file || : ; \
27707 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27708 $(TARGET_CONFIGARGS) $${srcdiroption} \
27709 || exit 1
27710 @endif target-libmudflap
27716 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
27717 maybe-all-target-libmudflap:
27718 @if target-libmudflap
27719 TARGET-target-libmudflap=all
27720 maybe-all-target-libmudflap: all-target-libmudflap
27721 all-target-libmudflap: configure-target-libmudflap
27722 @r=`${PWD_COMMAND}`; export r; \
27723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 $(NORMAL_TARGET_EXPORTS) \
27725 (cd $(TARGET_SUBDIR)/libmudflap && \
27726 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
27727 @endif target-libmudflap
27733 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
27734 maybe-check-target-libmudflap:
27735 @if target-libmudflap
27736 maybe-check-target-libmudflap: check-target-libmudflap
27738 check-target-libmudflap:
27739 @r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 $(NORMAL_TARGET_EXPORTS) \
27742 (cd $(TARGET_SUBDIR)/libmudflap && \
27743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27745 @endif target-libmudflap
27747 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
27748 maybe-install-target-libmudflap:
27749 @if target-libmudflap
27750 maybe-install-target-libmudflap: install-target-libmudflap
27752 install-target-libmudflap: installdirs
27753 @r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(NORMAL_TARGET_EXPORTS) \
27756 (cd $(TARGET_SUBDIR)/libmudflap && \
27757 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27759 @endif target-libmudflap
27761 # Other targets (info, dvi, etc.)
27763 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
27764 maybe-info-target-libmudflap:
27765 @if target-libmudflap
27766 maybe-info-target-libmudflap: info-target-libmudflap
27768 info-target-libmudflap: \
27769 configure-target-libmudflap
27770 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27771 r=`${PWD_COMMAND}`; export r; \
27772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27773 $(NORMAL_TARGET_EXPORTS) \
27774 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
27775 for flag in $(EXTRA_TARGET_FLAGS); do \
27776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27777 done; \
27778 (cd $(TARGET_SUBDIR)/libmudflap && \
27779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27781 "RANLIB=$${RANLIB}" \
27782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27783 info) \
27784 || exit 1
27786 @endif target-libmudflap
27788 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
27789 maybe-dvi-target-libmudflap:
27790 @if target-libmudflap
27791 maybe-dvi-target-libmudflap: dvi-target-libmudflap
27793 dvi-target-libmudflap: \
27794 configure-target-libmudflap
27795 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27796 r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27798 $(NORMAL_TARGET_EXPORTS) \
27799 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
27800 for flag in $(EXTRA_TARGET_FLAGS); do \
27801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27802 done; \
27803 (cd $(TARGET_SUBDIR)/libmudflap && \
27804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27806 "RANLIB=$${RANLIB}" \
27807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27808 dvi) \
27809 || exit 1
27811 @endif target-libmudflap
27813 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
27814 maybe-html-target-libmudflap:
27815 @if target-libmudflap
27816 maybe-html-target-libmudflap: html-target-libmudflap
27818 html-target-libmudflap: \
27819 configure-target-libmudflap
27820 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27821 r=`${PWD_COMMAND}`; export r; \
27822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27823 $(NORMAL_TARGET_EXPORTS) \
27824 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
27825 for flag in $(EXTRA_TARGET_FLAGS); do \
27826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27827 done; \
27828 (cd $(TARGET_SUBDIR)/libmudflap && \
27829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27831 "RANLIB=$${RANLIB}" \
27832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27833 html) \
27834 || exit 1
27836 @endif target-libmudflap
27838 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
27839 maybe-TAGS-target-libmudflap:
27840 @if target-libmudflap
27841 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
27843 TAGS-target-libmudflap: \
27844 configure-target-libmudflap
27845 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(NORMAL_TARGET_EXPORTS) \
27849 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
27850 for flag in $(EXTRA_TARGET_FLAGS); do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 (cd $(TARGET_SUBDIR)/libmudflap && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27858 TAGS) \
27859 || exit 1
27861 @endif target-libmudflap
27863 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
27864 maybe-install-info-target-libmudflap:
27865 @if target-libmudflap
27866 maybe-install-info-target-libmudflap: install-info-target-libmudflap
27868 install-info-target-libmudflap: \
27869 configure-target-libmudflap \
27870 info-target-libmudflap
27871 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27872 r=`${PWD_COMMAND}`; export r; \
27873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27874 $(NORMAL_TARGET_EXPORTS) \
27875 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
27876 for flag in $(EXTRA_TARGET_FLAGS); do \
27877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27878 done; \
27879 (cd $(TARGET_SUBDIR)/libmudflap && \
27880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27882 "RANLIB=$${RANLIB}" \
27883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27884 install-info) \
27885 || exit 1
27887 @endif target-libmudflap
27889 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
27890 maybe-installcheck-target-libmudflap:
27891 @if target-libmudflap
27892 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
27894 installcheck-target-libmudflap: \
27895 configure-target-libmudflap
27896 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27897 r=`${PWD_COMMAND}`; export r; \
27898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27899 $(NORMAL_TARGET_EXPORTS) \
27900 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
27901 for flag in $(EXTRA_TARGET_FLAGS); do \
27902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27903 done; \
27904 (cd $(TARGET_SUBDIR)/libmudflap && \
27905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27907 "RANLIB=$${RANLIB}" \
27908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27909 installcheck) \
27910 || exit 1
27912 @endif target-libmudflap
27914 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
27915 maybe-mostlyclean-target-libmudflap:
27916 @if target-libmudflap
27917 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
27919 mostlyclean-target-libmudflap:
27920 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27921 r=`${PWD_COMMAND}`; export r; \
27922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27923 $(NORMAL_TARGET_EXPORTS) \
27924 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
27925 for flag in $(EXTRA_TARGET_FLAGS); do \
27926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27927 done; \
27928 (cd $(TARGET_SUBDIR)/libmudflap && \
27929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27931 "RANLIB=$${RANLIB}" \
27932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27933 mostlyclean) \
27934 || exit 1
27936 @endif target-libmudflap
27938 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
27939 maybe-clean-target-libmudflap:
27940 @if target-libmudflap
27941 maybe-clean-target-libmudflap: clean-target-libmudflap
27943 clean-target-libmudflap:
27944 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27945 r=`${PWD_COMMAND}`; export r; \
27946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27947 $(NORMAL_TARGET_EXPORTS) \
27948 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
27949 for flag in $(EXTRA_TARGET_FLAGS); do \
27950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27951 done; \
27952 (cd $(TARGET_SUBDIR)/libmudflap && \
27953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27955 "RANLIB=$${RANLIB}" \
27956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27957 clean) \
27958 || exit 1
27960 @endif target-libmudflap
27962 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
27963 maybe-distclean-target-libmudflap:
27964 @if target-libmudflap
27965 maybe-distclean-target-libmudflap: distclean-target-libmudflap
27967 distclean-target-libmudflap:
27968 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27969 r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27971 $(NORMAL_TARGET_EXPORTS) \
27972 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
27973 for flag in $(EXTRA_TARGET_FLAGS); do \
27974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27975 done; \
27976 (cd $(TARGET_SUBDIR)/libmudflap && \
27977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27979 "RANLIB=$${RANLIB}" \
27980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27981 distclean) \
27982 || exit 1
27984 @endif target-libmudflap
27986 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
27987 maybe-maintainer-clean-target-libmudflap:
27988 @if target-libmudflap
27989 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
27991 maintainer-clean-target-libmudflap:
27992 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27993 r=`${PWD_COMMAND}`; export r; \
27994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27995 $(NORMAL_TARGET_EXPORTS) \
27996 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
27997 for flag in $(EXTRA_TARGET_FLAGS); do \
27998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27999 done; \
28000 (cd $(TARGET_SUBDIR)/libmudflap && \
28001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28003 "RANLIB=$${RANLIB}" \
28004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28005 maintainer-clean) \
28006 || exit 1
28008 @endif target-libmudflap
28012 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28013 @if target-libssp
28014 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
28015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
28016 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
28017 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
28018 @endif target-libssp
28022 .PHONY: configure-target-libssp maybe-configure-target-libssp
28023 maybe-configure-target-libssp:
28024 @if target-libssp
28025 maybe-configure-target-libssp: configure-target-libssp
28026 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
28027 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
28028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
28029 r=`${PWD_COMMAND}`; export r; \
28030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28031 $(NORMAL_TARGET_EXPORTS) \
28032 echo Configuring in $(TARGET_SUBDIR)/libssp; \
28033 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
28034 case $(srcdir) in \
28035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28036 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
28037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28038 esac; \
28039 srcdiroption="--srcdir=$${topdir}/libssp"; \
28040 libsrcdir="$$s/libssp"; \
28041 rm -f no-such-file || : ; \
28042 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28043 $(TARGET_CONFIGARGS) $${srcdiroption} \
28044 || exit 1
28045 @endif target-libssp
28051 .PHONY: all-target-libssp maybe-all-target-libssp
28052 maybe-all-target-libssp:
28053 @if target-libssp
28054 TARGET-target-libssp=all
28055 maybe-all-target-libssp: all-target-libssp
28056 all-target-libssp: configure-target-libssp
28057 @r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(NORMAL_TARGET_EXPORTS) \
28060 (cd $(TARGET_SUBDIR)/libssp && \
28061 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
28062 @endif target-libssp
28068 .PHONY: check-target-libssp maybe-check-target-libssp
28069 maybe-check-target-libssp:
28070 @if target-libssp
28071 maybe-check-target-libssp: check-target-libssp
28073 check-target-libssp:
28074 @r=`${PWD_COMMAND}`; export r; \
28075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28076 $(NORMAL_TARGET_EXPORTS) \
28077 (cd $(TARGET_SUBDIR)/libssp && \
28078 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28080 @endif target-libssp
28082 .PHONY: install-target-libssp maybe-install-target-libssp
28083 maybe-install-target-libssp:
28084 @if target-libssp
28085 maybe-install-target-libssp: install-target-libssp
28087 install-target-libssp: installdirs
28088 @r=`${PWD_COMMAND}`; export r; \
28089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28090 $(NORMAL_TARGET_EXPORTS) \
28091 (cd $(TARGET_SUBDIR)/libssp && \
28092 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28094 @endif target-libssp
28096 # Other targets (info, dvi, etc.)
28098 .PHONY: maybe-info-target-libssp info-target-libssp
28099 maybe-info-target-libssp:
28100 @if target-libssp
28101 maybe-info-target-libssp: info-target-libssp
28103 info-target-libssp: \
28104 configure-target-libssp
28105 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28106 r=`${PWD_COMMAND}`; export r; \
28107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28108 $(NORMAL_TARGET_EXPORTS) \
28109 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
28110 for flag in $(EXTRA_TARGET_FLAGS); do \
28111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28112 done; \
28113 (cd $(TARGET_SUBDIR)/libssp && \
28114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28116 "RANLIB=$${RANLIB}" \
28117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28118 info) \
28119 || exit 1
28121 @endif target-libssp
28123 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
28124 maybe-dvi-target-libssp:
28125 @if target-libssp
28126 maybe-dvi-target-libssp: dvi-target-libssp
28128 dvi-target-libssp: \
28129 configure-target-libssp
28130 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28131 r=`${PWD_COMMAND}`; export r; \
28132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28133 $(NORMAL_TARGET_EXPORTS) \
28134 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
28135 for flag in $(EXTRA_TARGET_FLAGS); do \
28136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28137 done; \
28138 (cd $(TARGET_SUBDIR)/libssp && \
28139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28141 "RANLIB=$${RANLIB}" \
28142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28143 dvi) \
28144 || exit 1
28146 @endif target-libssp
28148 .PHONY: maybe-html-target-libssp html-target-libssp
28149 maybe-html-target-libssp:
28150 @if target-libssp
28151 maybe-html-target-libssp: html-target-libssp
28153 html-target-libssp: \
28154 configure-target-libssp
28155 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28156 r=`${PWD_COMMAND}`; export r; \
28157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28158 $(NORMAL_TARGET_EXPORTS) \
28159 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
28160 for flag in $(EXTRA_TARGET_FLAGS); do \
28161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28162 done; \
28163 (cd $(TARGET_SUBDIR)/libssp && \
28164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28166 "RANLIB=$${RANLIB}" \
28167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28168 html) \
28169 || exit 1
28171 @endif target-libssp
28173 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
28174 maybe-TAGS-target-libssp:
28175 @if target-libssp
28176 maybe-TAGS-target-libssp: TAGS-target-libssp
28178 TAGS-target-libssp: \
28179 configure-target-libssp
28180 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28181 r=`${PWD_COMMAND}`; export r; \
28182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28183 $(NORMAL_TARGET_EXPORTS) \
28184 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
28185 for flag in $(EXTRA_TARGET_FLAGS); do \
28186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28187 done; \
28188 (cd $(TARGET_SUBDIR)/libssp && \
28189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28191 "RANLIB=$${RANLIB}" \
28192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28193 TAGS) \
28194 || exit 1
28196 @endif target-libssp
28198 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
28199 maybe-install-info-target-libssp:
28200 @if target-libssp
28201 maybe-install-info-target-libssp: install-info-target-libssp
28203 install-info-target-libssp: \
28204 configure-target-libssp \
28205 info-target-libssp
28206 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28207 r=`${PWD_COMMAND}`; export r; \
28208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28209 $(NORMAL_TARGET_EXPORTS) \
28210 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
28211 for flag in $(EXTRA_TARGET_FLAGS); do \
28212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28213 done; \
28214 (cd $(TARGET_SUBDIR)/libssp && \
28215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28217 "RANLIB=$${RANLIB}" \
28218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28219 install-info) \
28220 || exit 1
28222 @endif target-libssp
28224 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
28225 maybe-installcheck-target-libssp:
28226 @if target-libssp
28227 maybe-installcheck-target-libssp: installcheck-target-libssp
28229 installcheck-target-libssp: \
28230 configure-target-libssp
28231 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28232 r=`${PWD_COMMAND}`; export r; \
28233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28234 $(NORMAL_TARGET_EXPORTS) \
28235 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
28236 for flag in $(EXTRA_TARGET_FLAGS); do \
28237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28238 done; \
28239 (cd $(TARGET_SUBDIR)/libssp && \
28240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28242 "RANLIB=$${RANLIB}" \
28243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28244 installcheck) \
28245 || exit 1
28247 @endif target-libssp
28249 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
28250 maybe-mostlyclean-target-libssp:
28251 @if target-libssp
28252 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
28254 mostlyclean-target-libssp:
28255 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28256 r=`${PWD_COMMAND}`; export r; \
28257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28258 $(NORMAL_TARGET_EXPORTS) \
28259 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
28260 for flag in $(EXTRA_TARGET_FLAGS); do \
28261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28262 done; \
28263 (cd $(TARGET_SUBDIR)/libssp && \
28264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28266 "RANLIB=$${RANLIB}" \
28267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28268 mostlyclean) \
28269 || exit 1
28271 @endif target-libssp
28273 .PHONY: maybe-clean-target-libssp clean-target-libssp
28274 maybe-clean-target-libssp:
28275 @if target-libssp
28276 maybe-clean-target-libssp: clean-target-libssp
28278 clean-target-libssp:
28279 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28280 r=`${PWD_COMMAND}`; export r; \
28281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28282 $(NORMAL_TARGET_EXPORTS) \
28283 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
28284 for flag in $(EXTRA_TARGET_FLAGS); do \
28285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28286 done; \
28287 (cd $(TARGET_SUBDIR)/libssp && \
28288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28290 "RANLIB=$${RANLIB}" \
28291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28292 clean) \
28293 || exit 1
28295 @endif target-libssp
28297 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
28298 maybe-distclean-target-libssp:
28299 @if target-libssp
28300 maybe-distclean-target-libssp: distclean-target-libssp
28302 distclean-target-libssp:
28303 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28304 r=`${PWD_COMMAND}`; export r; \
28305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28306 $(NORMAL_TARGET_EXPORTS) \
28307 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
28308 for flag in $(EXTRA_TARGET_FLAGS); do \
28309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28310 done; \
28311 (cd $(TARGET_SUBDIR)/libssp && \
28312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28314 "RANLIB=$${RANLIB}" \
28315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28316 distclean) \
28317 || exit 1
28319 @endif target-libssp
28321 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
28322 maybe-maintainer-clean-target-libssp:
28323 @if target-libssp
28324 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
28326 maintainer-clean-target-libssp:
28327 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28328 r=`${PWD_COMMAND}`; export r; \
28329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28330 $(NORMAL_TARGET_EXPORTS) \
28331 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
28332 for flag in $(EXTRA_TARGET_FLAGS); do \
28333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28334 done; \
28335 (cd $(TARGET_SUBDIR)/libssp && \
28336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28338 "RANLIB=$${RANLIB}" \
28339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28340 maintainer-clean) \
28341 || exit 1
28343 @endif target-libssp
28347 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28348 @if target-newlib
28349 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
28350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28351 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
28352 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
28353 @endif target-newlib
28357 .PHONY: configure-target-newlib maybe-configure-target-newlib
28358 maybe-configure-target-newlib:
28359 @if target-newlib
28360 maybe-configure-target-newlib: configure-target-newlib
28361 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
28362 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
28363 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28364 r=`${PWD_COMMAND}`; export r; \
28365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28366 $(NORMAL_TARGET_EXPORTS) \
28367 echo Configuring in $(TARGET_SUBDIR)/newlib; \
28368 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
28369 case $(srcdir) in \
28370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28371 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
28372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28373 esac; \
28374 srcdiroption="--srcdir=$${topdir}/newlib"; \
28375 libsrcdir="$$s/newlib"; \
28376 rm -f no-such-file || : ; \
28377 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28378 $(TARGET_CONFIGARGS) $${srcdiroption} \
28379 || exit 1
28380 @endif target-newlib
28386 .PHONY: all-target-newlib maybe-all-target-newlib
28387 maybe-all-target-newlib:
28388 @if target-newlib
28389 TARGET-target-newlib=all
28390 maybe-all-target-newlib: all-target-newlib
28391 all-target-newlib: configure-target-newlib
28392 @r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(NORMAL_TARGET_EXPORTS) \
28395 (cd $(TARGET_SUBDIR)/newlib && \
28396 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
28397 @endif target-newlib
28403 .PHONY: check-target-newlib maybe-check-target-newlib
28404 maybe-check-target-newlib:
28405 @if target-newlib
28406 maybe-check-target-newlib: check-target-newlib
28408 check-target-newlib:
28409 @r=`${PWD_COMMAND}`; export r; \
28410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28411 $(NORMAL_TARGET_EXPORTS) \
28412 (cd $(TARGET_SUBDIR)/newlib && \
28413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28415 @endif target-newlib
28417 .PHONY: install-target-newlib maybe-install-target-newlib
28418 maybe-install-target-newlib:
28419 @if target-newlib
28420 maybe-install-target-newlib: install-target-newlib
28422 install-target-newlib: installdirs
28423 @r=`${PWD_COMMAND}`; export r; \
28424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28425 $(NORMAL_TARGET_EXPORTS) \
28426 (cd $(TARGET_SUBDIR)/newlib && \
28427 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28429 @endif target-newlib
28431 # Other targets (info, dvi, etc.)
28433 .PHONY: maybe-info-target-newlib info-target-newlib
28434 maybe-info-target-newlib:
28435 @if target-newlib
28436 maybe-info-target-newlib: info-target-newlib
28438 info-target-newlib: \
28439 configure-target-newlib
28440 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28441 r=`${PWD_COMMAND}`; export r; \
28442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28443 $(NORMAL_TARGET_EXPORTS) \
28444 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
28445 for flag in $(EXTRA_TARGET_FLAGS); do \
28446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28447 done; \
28448 (cd $(TARGET_SUBDIR)/newlib && \
28449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28451 "RANLIB=$${RANLIB}" \
28452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28453 info) \
28454 || exit 1
28456 @endif target-newlib
28458 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
28459 maybe-dvi-target-newlib:
28460 @if target-newlib
28461 maybe-dvi-target-newlib: dvi-target-newlib
28463 dvi-target-newlib: \
28464 configure-target-newlib
28465 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28466 r=`${PWD_COMMAND}`; export r; \
28467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28468 $(NORMAL_TARGET_EXPORTS) \
28469 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
28470 for flag in $(EXTRA_TARGET_FLAGS); do \
28471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28472 done; \
28473 (cd $(TARGET_SUBDIR)/newlib && \
28474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28476 "RANLIB=$${RANLIB}" \
28477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28478 dvi) \
28479 || exit 1
28481 @endif target-newlib
28483 .PHONY: maybe-html-target-newlib html-target-newlib
28484 maybe-html-target-newlib:
28485 @if target-newlib
28486 maybe-html-target-newlib: html-target-newlib
28488 html-target-newlib: \
28489 configure-target-newlib
28490 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28491 r=`${PWD_COMMAND}`; export r; \
28492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28493 $(NORMAL_TARGET_EXPORTS) \
28494 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
28495 for flag in $(EXTRA_TARGET_FLAGS); do \
28496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28497 done; \
28498 (cd $(TARGET_SUBDIR)/newlib && \
28499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28501 "RANLIB=$${RANLIB}" \
28502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28503 html) \
28504 || exit 1
28506 @endif target-newlib
28508 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
28509 maybe-TAGS-target-newlib:
28510 @if target-newlib
28511 maybe-TAGS-target-newlib: TAGS-target-newlib
28513 TAGS-target-newlib: \
28514 configure-target-newlib
28515 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28516 r=`${PWD_COMMAND}`; export r; \
28517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28518 $(NORMAL_TARGET_EXPORTS) \
28519 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
28520 for flag in $(EXTRA_TARGET_FLAGS); do \
28521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28522 done; \
28523 (cd $(TARGET_SUBDIR)/newlib && \
28524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28526 "RANLIB=$${RANLIB}" \
28527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28528 TAGS) \
28529 || exit 1
28531 @endif target-newlib
28533 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
28534 maybe-install-info-target-newlib:
28535 @if target-newlib
28536 maybe-install-info-target-newlib: install-info-target-newlib
28538 install-info-target-newlib: \
28539 configure-target-newlib \
28540 info-target-newlib
28541 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28542 r=`${PWD_COMMAND}`; export r; \
28543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28544 $(NORMAL_TARGET_EXPORTS) \
28545 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
28546 for flag in $(EXTRA_TARGET_FLAGS); do \
28547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28548 done; \
28549 (cd $(TARGET_SUBDIR)/newlib && \
28550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28552 "RANLIB=$${RANLIB}" \
28553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28554 install-info) \
28555 || exit 1
28557 @endif target-newlib
28559 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
28560 maybe-installcheck-target-newlib:
28561 @if target-newlib
28562 maybe-installcheck-target-newlib: installcheck-target-newlib
28564 installcheck-target-newlib: \
28565 configure-target-newlib
28566 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28567 r=`${PWD_COMMAND}`; export r; \
28568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28569 $(NORMAL_TARGET_EXPORTS) \
28570 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
28571 for flag in $(EXTRA_TARGET_FLAGS); do \
28572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28573 done; \
28574 (cd $(TARGET_SUBDIR)/newlib && \
28575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28577 "RANLIB=$${RANLIB}" \
28578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28579 installcheck) \
28580 || exit 1
28582 @endif target-newlib
28584 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
28585 maybe-mostlyclean-target-newlib:
28586 @if target-newlib
28587 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
28589 mostlyclean-target-newlib:
28590 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28591 r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(NORMAL_TARGET_EXPORTS) \
28594 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
28595 for flag in $(EXTRA_TARGET_FLAGS); do \
28596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28597 done; \
28598 (cd $(TARGET_SUBDIR)/newlib && \
28599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28601 "RANLIB=$${RANLIB}" \
28602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28603 mostlyclean) \
28604 || exit 1
28606 @endif target-newlib
28608 .PHONY: maybe-clean-target-newlib clean-target-newlib
28609 maybe-clean-target-newlib:
28610 @if target-newlib
28611 maybe-clean-target-newlib: clean-target-newlib
28613 clean-target-newlib:
28614 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28615 r=`${PWD_COMMAND}`; export r; \
28616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28617 $(NORMAL_TARGET_EXPORTS) \
28618 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
28619 for flag in $(EXTRA_TARGET_FLAGS); do \
28620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28621 done; \
28622 (cd $(TARGET_SUBDIR)/newlib && \
28623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28625 "RANLIB=$${RANLIB}" \
28626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28627 clean) \
28628 || exit 1
28630 @endif target-newlib
28632 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
28633 maybe-distclean-target-newlib:
28634 @if target-newlib
28635 maybe-distclean-target-newlib: distclean-target-newlib
28637 distclean-target-newlib:
28638 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28639 r=`${PWD_COMMAND}`; export r; \
28640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28641 $(NORMAL_TARGET_EXPORTS) \
28642 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
28643 for flag in $(EXTRA_TARGET_FLAGS); do \
28644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28645 done; \
28646 (cd $(TARGET_SUBDIR)/newlib && \
28647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28649 "RANLIB=$${RANLIB}" \
28650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28651 distclean) \
28652 || exit 1
28654 @endif target-newlib
28656 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
28657 maybe-maintainer-clean-target-newlib:
28658 @if target-newlib
28659 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
28661 maintainer-clean-target-newlib:
28662 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28663 r=`${PWD_COMMAND}`; export r; \
28664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28665 $(NORMAL_TARGET_EXPORTS) \
28666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
28667 for flag in $(EXTRA_TARGET_FLAGS); do \
28668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28669 done; \
28670 (cd $(TARGET_SUBDIR)/newlib && \
28671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28673 "RANLIB=$${RANLIB}" \
28674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28675 maintainer-clean) \
28676 || exit 1
28678 @endif target-newlib
28682 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28683 @if target-libgfortran
28684 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
28685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28686 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
28687 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
28688 @endif target-libgfortran
28692 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
28693 maybe-configure-target-libgfortran:
28694 @if target-libgfortran
28695 maybe-configure-target-libgfortran: configure-target-libgfortran
28696 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
28697 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
28698 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28699 r=`${PWD_COMMAND}`; export r; \
28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(NORMAL_TARGET_EXPORTS) \
28702 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
28703 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
28704 case $(srcdir) in \
28705 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28706 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
28707 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28708 esac; \
28709 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
28710 libsrcdir="$$s/libgfortran"; \
28711 rm -f no-such-file || : ; \
28712 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28713 $(TARGET_CONFIGARGS) $${srcdiroption} \
28714 || exit 1
28715 @endif target-libgfortran
28721 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
28722 maybe-all-target-libgfortran:
28723 @if target-libgfortran
28724 TARGET-target-libgfortran=all
28725 maybe-all-target-libgfortran: all-target-libgfortran
28726 all-target-libgfortran: configure-target-libgfortran
28727 @r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(NORMAL_TARGET_EXPORTS) \
28730 (cd $(TARGET_SUBDIR)/libgfortran && \
28731 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
28732 @endif target-libgfortran
28738 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
28739 maybe-check-target-libgfortran:
28740 @if target-libgfortran
28741 maybe-check-target-libgfortran: check-target-libgfortran
28743 check-target-libgfortran:
28744 @r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(NORMAL_TARGET_EXPORTS) \
28747 (cd $(TARGET_SUBDIR)/libgfortran && \
28748 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28750 @endif target-libgfortran
28752 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
28753 maybe-install-target-libgfortran:
28754 @if target-libgfortran
28755 maybe-install-target-libgfortran: install-target-libgfortran
28757 install-target-libgfortran: installdirs
28758 @r=`${PWD_COMMAND}`; export r; \
28759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28760 $(NORMAL_TARGET_EXPORTS) \
28761 (cd $(TARGET_SUBDIR)/libgfortran && \
28762 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28764 @endif target-libgfortran
28766 # Other targets (info, dvi, etc.)
28768 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
28769 maybe-info-target-libgfortran:
28770 @if target-libgfortran
28771 maybe-info-target-libgfortran: info-target-libgfortran
28773 info-target-libgfortran: \
28774 configure-target-libgfortran
28775 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28776 r=`${PWD_COMMAND}`; export r; \
28777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28778 $(NORMAL_TARGET_EXPORTS) \
28779 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
28780 for flag in $(EXTRA_TARGET_FLAGS); do \
28781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28782 done; \
28783 (cd $(TARGET_SUBDIR)/libgfortran && \
28784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28786 "RANLIB=$${RANLIB}" \
28787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28788 info) \
28789 || exit 1
28791 @endif target-libgfortran
28793 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
28794 maybe-dvi-target-libgfortran:
28795 @if target-libgfortran
28796 maybe-dvi-target-libgfortran: dvi-target-libgfortran
28798 dvi-target-libgfortran: \
28799 configure-target-libgfortran
28800 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28801 r=`${PWD_COMMAND}`; export r; \
28802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28803 $(NORMAL_TARGET_EXPORTS) \
28804 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
28805 for flag in $(EXTRA_TARGET_FLAGS); do \
28806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28807 done; \
28808 (cd $(TARGET_SUBDIR)/libgfortran && \
28809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28811 "RANLIB=$${RANLIB}" \
28812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28813 dvi) \
28814 || exit 1
28816 @endif target-libgfortran
28818 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
28819 maybe-html-target-libgfortran:
28820 @if target-libgfortran
28821 maybe-html-target-libgfortran: html-target-libgfortran
28823 html-target-libgfortran: \
28824 configure-target-libgfortran
28825 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28826 r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(NORMAL_TARGET_EXPORTS) \
28829 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
28830 for flag in $(EXTRA_TARGET_FLAGS); do \
28831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28832 done; \
28833 (cd $(TARGET_SUBDIR)/libgfortran && \
28834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28836 "RANLIB=$${RANLIB}" \
28837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28838 html) \
28839 || exit 1
28841 @endif target-libgfortran
28843 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
28844 maybe-TAGS-target-libgfortran:
28845 @if target-libgfortran
28846 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
28848 TAGS-target-libgfortran: \
28849 configure-target-libgfortran
28850 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(NORMAL_TARGET_EXPORTS) \
28854 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
28855 for flag in $(EXTRA_TARGET_FLAGS); do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28857 done; \
28858 (cd $(TARGET_SUBDIR)/libgfortran && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28863 TAGS) \
28864 || exit 1
28866 @endif target-libgfortran
28868 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
28869 maybe-install-info-target-libgfortran:
28870 @if target-libgfortran
28871 maybe-install-info-target-libgfortran: install-info-target-libgfortran
28873 install-info-target-libgfortran: \
28874 configure-target-libgfortran \
28875 info-target-libgfortran
28876 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28877 r=`${PWD_COMMAND}`; export r; \
28878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28879 $(NORMAL_TARGET_EXPORTS) \
28880 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
28881 for flag in $(EXTRA_TARGET_FLAGS); do \
28882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28883 done; \
28884 (cd $(TARGET_SUBDIR)/libgfortran && \
28885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28887 "RANLIB=$${RANLIB}" \
28888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28889 install-info) \
28890 || exit 1
28892 @endif target-libgfortran
28894 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
28895 maybe-installcheck-target-libgfortran:
28896 @if target-libgfortran
28897 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
28899 installcheck-target-libgfortran: \
28900 configure-target-libgfortran
28901 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28902 r=`${PWD_COMMAND}`; export r; \
28903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28904 $(NORMAL_TARGET_EXPORTS) \
28905 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
28906 for flag in $(EXTRA_TARGET_FLAGS); do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28908 done; \
28909 (cd $(TARGET_SUBDIR)/libgfortran && \
28910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28912 "RANLIB=$${RANLIB}" \
28913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28914 installcheck) \
28915 || exit 1
28917 @endif target-libgfortran
28919 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
28920 maybe-mostlyclean-target-libgfortran:
28921 @if target-libgfortran
28922 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
28924 mostlyclean-target-libgfortran:
28925 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28926 r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928 $(NORMAL_TARGET_EXPORTS) \
28929 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
28930 for flag in $(EXTRA_TARGET_FLAGS); do \
28931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28932 done; \
28933 (cd $(TARGET_SUBDIR)/libgfortran && \
28934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28936 "RANLIB=$${RANLIB}" \
28937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28938 mostlyclean) \
28939 || exit 1
28941 @endif target-libgfortran
28943 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
28944 maybe-clean-target-libgfortran:
28945 @if target-libgfortran
28946 maybe-clean-target-libgfortran: clean-target-libgfortran
28948 clean-target-libgfortran:
28949 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28950 r=`${PWD_COMMAND}`; export r; \
28951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28952 $(NORMAL_TARGET_EXPORTS) \
28953 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
28954 for flag in $(EXTRA_TARGET_FLAGS); do \
28955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28956 done; \
28957 (cd $(TARGET_SUBDIR)/libgfortran && \
28958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28960 "RANLIB=$${RANLIB}" \
28961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28962 clean) \
28963 || exit 1
28965 @endif target-libgfortran
28967 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
28968 maybe-distclean-target-libgfortran:
28969 @if target-libgfortran
28970 maybe-distclean-target-libgfortran: distclean-target-libgfortran
28972 distclean-target-libgfortran:
28973 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28974 r=`${PWD_COMMAND}`; export r; \
28975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28976 $(NORMAL_TARGET_EXPORTS) \
28977 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
28978 for flag in $(EXTRA_TARGET_FLAGS); do \
28979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28980 done; \
28981 (cd $(TARGET_SUBDIR)/libgfortran && \
28982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28984 "RANLIB=$${RANLIB}" \
28985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28986 distclean) \
28987 || exit 1
28989 @endif target-libgfortran
28991 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
28992 maybe-maintainer-clean-target-libgfortran:
28993 @if target-libgfortran
28994 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
28996 maintainer-clean-target-libgfortran:
28997 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28998 r=`${PWD_COMMAND}`; export r; \
28999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29000 $(NORMAL_TARGET_EXPORTS) \
29001 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
29002 for flag in $(EXTRA_TARGET_FLAGS); do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 (cd $(TARGET_SUBDIR)/libgfortran && \
29006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29008 "RANLIB=$${RANLIB}" \
29009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29010 maintainer-clean) \
29011 || exit 1
29013 @endif target-libgfortran
29017 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29018 @if target-libobjc
29019 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
29020 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
29021 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
29022 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
29023 @endif target-libobjc
29027 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
29028 maybe-configure-target-libobjc:
29029 @if target-libobjc
29030 maybe-configure-target-libobjc: configure-target-libobjc
29031 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
29032 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
29033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
29034 r=`${PWD_COMMAND}`; export r; \
29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29036 $(NORMAL_TARGET_EXPORTS) \
29037 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
29038 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
29039 case $(srcdir) in \
29040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29041 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
29042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29043 esac; \
29044 srcdiroption="--srcdir=$${topdir}/libobjc"; \
29045 libsrcdir="$$s/libobjc"; \
29046 rm -f no-such-file || : ; \
29047 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29048 $(TARGET_CONFIGARGS) $${srcdiroption} \
29049 || exit 1
29050 @endif target-libobjc
29056 .PHONY: all-target-libobjc maybe-all-target-libobjc
29057 maybe-all-target-libobjc:
29058 @if target-libobjc
29059 TARGET-target-libobjc=all
29060 maybe-all-target-libobjc: all-target-libobjc
29061 all-target-libobjc: configure-target-libobjc
29062 @r=`${PWD_COMMAND}`; export r; \
29063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29064 $(NORMAL_TARGET_EXPORTS) \
29065 (cd $(TARGET_SUBDIR)/libobjc && \
29066 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
29067 @endif target-libobjc
29073 .PHONY: check-target-libobjc maybe-check-target-libobjc
29074 maybe-check-target-libobjc:
29075 @if target-libobjc
29076 maybe-check-target-libobjc: check-target-libobjc
29078 check-target-libobjc:
29079 @r=`${PWD_COMMAND}`; export r; \
29080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29081 $(NORMAL_TARGET_EXPORTS) \
29082 (cd $(TARGET_SUBDIR)/libobjc && \
29083 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29085 @endif target-libobjc
29087 .PHONY: install-target-libobjc maybe-install-target-libobjc
29088 maybe-install-target-libobjc:
29089 @if target-libobjc
29090 maybe-install-target-libobjc: install-target-libobjc
29092 install-target-libobjc: installdirs
29093 @r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(NORMAL_TARGET_EXPORTS) \
29096 (cd $(TARGET_SUBDIR)/libobjc && \
29097 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29099 @endif target-libobjc
29101 # Other targets (info, dvi, etc.)
29103 .PHONY: maybe-info-target-libobjc info-target-libobjc
29104 maybe-info-target-libobjc:
29105 @if target-libobjc
29106 maybe-info-target-libobjc: info-target-libobjc
29108 info-target-libobjc: \
29109 configure-target-libobjc
29110 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29111 r=`${PWD_COMMAND}`; export r; \
29112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29113 $(NORMAL_TARGET_EXPORTS) \
29114 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
29115 for flag in $(EXTRA_TARGET_FLAGS); do \
29116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29117 done; \
29118 (cd $(TARGET_SUBDIR)/libobjc && \
29119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29121 "RANLIB=$${RANLIB}" \
29122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29123 info) \
29124 || exit 1
29126 @endif target-libobjc
29128 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
29129 maybe-dvi-target-libobjc:
29130 @if target-libobjc
29131 maybe-dvi-target-libobjc: dvi-target-libobjc
29133 dvi-target-libobjc: \
29134 configure-target-libobjc
29135 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29136 r=`${PWD_COMMAND}`; export r; \
29137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29138 $(NORMAL_TARGET_EXPORTS) \
29139 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
29140 for flag in $(EXTRA_TARGET_FLAGS); do \
29141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29142 done; \
29143 (cd $(TARGET_SUBDIR)/libobjc && \
29144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29146 "RANLIB=$${RANLIB}" \
29147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29148 dvi) \
29149 || exit 1
29151 @endif target-libobjc
29153 .PHONY: maybe-html-target-libobjc html-target-libobjc
29154 maybe-html-target-libobjc:
29155 @if target-libobjc
29156 maybe-html-target-libobjc: html-target-libobjc
29158 html-target-libobjc: \
29159 configure-target-libobjc
29160 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29161 r=`${PWD_COMMAND}`; export r; \
29162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29163 $(NORMAL_TARGET_EXPORTS) \
29164 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
29165 for flag in $(EXTRA_TARGET_FLAGS); do \
29166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29167 done; \
29168 (cd $(TARGET_SUBDIR)/libobjc && \
29169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29171 "RANLIB=$${RANLIB}" \
29172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29173 html) \
29174 || exit 1
29176 @endif target-libobjc
29178 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
29179 maybe-TAGS-target-libobjc:
29180 @if target-libobjc
29181 maybe-TAGS-target-libobjc: TAGS-target-libobjc
29183 TAGS-target-libobjc: \
29184 configure-target-libobjc
29185 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29186 r=`${PWD_COMMAND}`; export r; \
29187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29188 $(NORMAL_TARGET_EXPORTS) \
29189 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
29190 for flag in $(EXTRA_TARGET_FLAGS); do \
29191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29192 done; \
29193 (cd $(TARGET_SUBDIR)/libobjc && \
29194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29196 "RANLIB=$${RANLIB}" \
29197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29198 TAGS) \
29199 || exit 1
29201 @endif target-libobjc
29203 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
29204 maybe-install-info-target-libobjc:
29205 @if target-libobjc
29206 maybe-install-info-target-libobjc: install-info-target-libobjc
29208 install-info-target-libobjc: \
29209 configure-target-libobjc \
29210 info-target-libobjc
29211 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29212 r=`${PWD_COMMAND}`; export r; \
29213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29214 $(NORMAL_TARGET_EXPORTS) \
29215 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
29216 for flag in $(EXTRA_TARGET_FLAGS); do \
29217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29218 done; \
29219 (cd $(TARGET_SUBDIR)/libobjc && \
29220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29222 "RANLIB=$${RANLIB}" \
29223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29224 install-info) \
29225 || exit 1
29227 @endif target-libobjc
29229 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
29230 maybe-installcheck-target-libobjc:
29231 @if target-libobjc
29232 maybe-installcheck-target-libobjc: installcheck-target-libobjc
29234 installcheck-target-libobjc: \
29235 configure-target-libobjc
29236 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29237 r=`${PWD_COMMAND}`; export r; \
29238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29239 $(NORMAL_TARGET_EXPORTS) \
29240 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
29241 for flag in $(EXTRA_TARGET_FLAGS); do \
29242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29243 done; \
29244 (cd $(TARGET_SUBDIR)/libobjc && \
29245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29247 "RANLIB=$${RANLIB}" \
29248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29249 installcheck) \
29250 || exit 1
29252 @endif target-libobjc
29254 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
29255 maybe-mostlyclean-target-libobjc:
29256 @if target-libobjc
29257 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
29259 mostlyclean-target-libobjc:
29260 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29261 r=`${PWD_COMMAND}`; export r; \
29262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29263 $(NORMAL_TARGET_EXPORTS) \
29264 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
29265 for flag in $(EXTRA_TARGET_FLAGS); do \
29266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29267 done; \
29268 (cd $(TARGET_SUBDIR)/libobjc && \
29269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29271 "RANLIB=$${RANLIB}" \
29272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29273 mostlyclean) \
29274 || exit 1
29276 @endif target-libobjc
29278 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
29279 maybe-clean-target-libobjc:
29280 @if target-libobjc
29281 maybe-clean-target-libobjc: clean-target-libobjc
29283 clean-target-libobjc:
29284 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29285 r=`${PWD_COMMAND}`; export r; \
29286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29287 $(NORMAL_TARGET_EXPORTS) \
29288 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
29289 for flag in $(EXTRA_TARGET_FLAGS); do \
29290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29291 done; \
29292 (cd $(TARGET_SUBDIR)/libobjc && \
29293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29295 "RANLIB=$${RANLIB}" \
29296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29297 clean) \
29298 || exit 1
29300 @endif target-libobjc
29302 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
29303 maybe-distclean-target-libobjc:
29304 @if target-libobjc
29305 maybe-distclean-target-libobjc: distclean-target-libobjc
29307 distclean-target-libobjc:
29308 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29309 r=`${PWD_COMMAND}`; export r; \
29310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29311 $(NORMAL_TARGET_EXPORTS) \
29312 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
29313 for flag in $(EXTRA_TARGET_FLAGS); do \
29314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29315 done; \
29316 (cd $(TARGET_SUBDIR)/libobjc && \
29317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29319 "RANLIB=$${RANLIB}" \
29320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29321 distclean) \
29322 || exit 1
29324 @endif target-libobjc
29326 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
29327 maybe-maintainer-clean-target-libobjc:
29328 @if target-libobjc
29329 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
29331 maintainer-clean-target-libobjc:
29332 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29333 r=`${PWD_COMMAND}`; export r; \
29334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29335 $(NORMAL_TARGET_EXPORTS) \
29336 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
29337 for flag in $(EXTRA_TARGET_FLAGS); do \
29338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29339 done; \
29340 (cd $(TARGET_SUBDIR)/libobjc && \
29341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29343 "RANLIB=$${RANLIB}" \
29344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29345 maintainer-clean) \
29346 || exit 1
29348 @endif target-libobjc
29352 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29353 @if target-libtermcap
29354 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
29355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29356 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
29357 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
29358 @endif target-libtermcap
29362 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
29363 maybe-configure-target-libtermcap:
29364 @if target-libtermcap
29365 maybe-configure-target-libtermcap: configure-target-libtermcap
29366 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
29367 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
29368 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29369 r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(NORMAL_TARGET_EXPORTS) \
29372 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
29373 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
29374 case $(srcdir) in \
29375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29376 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
29377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29378 esac; \
29379 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
29380 libsrcdir="$$s/libtermcap"; \
29381 rm -f no-such-file || : ; \
29382 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29383 $(TARGET_CONFIGARGS) $${srcdiroption} \
29384 || exit 1
29385 @endif target-libtermcap
29391 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
29392 maybe-all-target-libtermcap:
29393 @if target-libtermcap
29394 TARGET-target-libtermcap=all
29395 maybe-all-target-libtermcap: all-target-libtermcap
29396 all-target-libtermcap: configure-target-libtermcap
29397 @r=`${PWD_COMMAND}`; export r; \
29398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29399 $(NORMAL_TARGET_EXPORTS) \
29400 (cd $(TARGET_SUBDIR)/libtermcap && \
29401 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
29402 @endif target-libtermcap
29408 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
29409 maybe-check-target-libtermcap:
29410 @if target-libtermcap
29411 maybe-check-target-libtermcap: check-target-libtermcap
29413 # Dummy target for uncheckable module.
29414 check-target-libtermcap:
29416 @endif target-libtermcap
29418 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
29419 maybe-install-target-libtermcap:
29420 @if target-libtermcap
29421 maybe-install-target-libtermcap: install-target-libtermcap
29423 install-target-libtermcap: installdirs
29424 @r=`${PWD_COMMAND}`; export r; \
29425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29426 $(NORMAL_TARGET_EXPORTS) \
29427 (cd $(TARGET_SUBDIR)/libtermcap && \
29428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29430 @endif target-libtermcap
29432 # Other targets (info, dvi, etc.)
29434 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
29435 maybe-info-target-libtermcap:
29436 @if target-libtermcap
29437 maybe-info-target-libtermcap: info-target-libtermcap
29439 info-target-libtermcap: \
29440 configure-target-libtermcap
29441 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29442 r=`${PWD_COMMAND}`; export r; \
29443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29444 $(NORMAL_TARGET_EXPORTS) \
29445 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
29446 for flag in $(EXTRA_TARGET_FLAGS); do \
29447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29448 done; \
29449 (cd $(TARGET_SUBDIR)/libtermcap && \
29450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29452 "RANLIB=$${RANLIB}" \
29453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29454 info) \
29455 || exit 1
29457 @endif target-libtermcap
29459 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
29460 maybe-dvi-target-libtermcap:
29461 @if target-libtermcap
29462 maybe-dvi-target-libtermcap: dvi-target-libtermcap
29464 dvi-target-libtermcap: \
29465 configure-target-libtermcap
29466 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29467 r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 $(NORMAL_TARGET_EXPORTS) \
29470 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
29471 for flag in $(EXTRA_TARGET_FLAGS); do \
29472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29473 done; \
29474 (cd $(TARGET_SUBDIR)/libtermcap && \
29475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29477 "RANLIB=$${RANLIB}" \
29478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29479 dvi) \
29480 || exit 1
29482 @endif target-libtermcap
29484 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
29485 maybe-html-target-libtermcap:
29486 @if target-libtermcap
29487 maybe-html-target-libtermcap: html-target-libtermcap
29489 html-target-libtermcap: \
29490 configure-target-libtermcap
29491 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29492 r=`${PWD_COMMAND}`; export r; \
29493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29494 $(NORMAL_TARGET_EXPORTS) \
29495 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
29496 for flag in $(EXTRA_TARGET_FLAGS); do \
29497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29498 done; \
29499 (cd $(TARGET_SUBDIR)/libtermcap && \
29500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29502 "RANLIB=$${RANLIB}" \
29503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29504 html) \
29505 || exit 1
29507 @endif target-libtermcap
29509 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
29510 maybe-TAGS-target-libtermcap:
29511 @if target-libtermcap
29512 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
29514 TAGS-target-libtermcap: \
29515 configure-target-libtermcap
29516 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29517 r=`${PWD_COMMAND}`; export r; \
29518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29519 $(NORMAL_TARGET_EXPORTS) \
29520 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
29521 for flag in $(EXTRA_TARGET_FLAGS); do \
29522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29523 done; \
29524 (cd $(TARGET_SUBDIR)/libtermcap && \
29525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29527 "RANLIB=$${RANLIB}" \
29528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29529 TAGS) \
29530 || exit 1
29532 @endif target-libtermcap
29534 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
29535 maybe-install-info-target-libtermcap:
29536 @if target-libtermcap
29537 maybe-install-info-target-libtermcap: install-info-target-libtermcap
29539 install-info-target-libtermcap: \
29540 configure-target-libtermcap \
29541 info-target-libtermcap
29542 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29543 r=`${PWD_COMMAND}`; export r; \
29544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29545 $(NORMAL_TARGET_EXPORTS) \
29546 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
29547 for flag in $(EXTRA_TARGET_FLAGS); do \
29548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29549 done; \
29550 (cd $(TARGET_SUBDIR)/libtermcap && \
29551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29553 "RANLIB=$${RANLIB}" \
29554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29555 install-info) \
29556 || exit 1
29558 @endif target-libtermcap
29560 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
29561 maybe-installcheck-target-libtermcap:
29562 @if target-libtermcap
29563 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
29565 installcheck-target-libtermcap: \
29566 configure-target-libtermcap
29567 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29568 r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(NORMAL_TARGET_EXPORTS) \
29571 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
29572 for flag in $(EXTRA_TARGET_FLAGS); do \
29573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29574 done; \
29575 (cd $(TARGET_SUBDIR)/libtermcap && \
29576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29578 "RANLIB=$${RANLIB}" \
29579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29580 installcheck) \
29581 || exit 1
29583 @endif target-libtermcap
29585 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
29586 maybe-mostlyclean-target-libtermcap:
29587 @if target-libtermcap
29588 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
29590 # libtermcap doesn't support mostlyclean.
29591 mostlyclean-target-libtermcap:
29593 @endif target-libtermcap
29595 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
29596 maybe-clean-target-libtermcap:
29597 @if target-libtermcap
29598 maybe-clean-target-libtermcap: clean-target-libtermcap
29600 # libtermcap doesn't support clean.
29601 clean-target-libtermcap:
29603 @endif target-libtermcap
29605 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
29606 maybe-distclean-target-libtermcap:
29607 @if target-libtermcap
29608 maybe-distclean-target-libtermcap: distclean-target-libtermcap
29610 # libtermcap doesn't support distclean.
29611 distclean-target-libtermcap:
29613 @endif target-libtermcap
29615 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
29616 maybe-maintainer-clean-target-libtermcap:
29617 @if target-libtermcap
29618 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
29620 # libtermcap doesn't support maintainer-clean.
29621 maintainer-clean-target-libtermcap:
29623 @endif target-libtermcap
29627 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29628 @if target-winsup
29629 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
29630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29631 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
29632 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
29633 @endif target-winsup
29637 .PHONY: configure-target-winsup maybe-configure-target-winsup
29638 maybe-configure-target-winsup:
29639 @if target-winsup
29640 maybe-configure-target-winsup: configure-target-winsup
29641 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
29642 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
29643 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29644 r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(NORMAL_TARGET_EXPORTS) \
29647 echo Configuring in $(TARGET_SUBDIR)/winsup; \
29648 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
29649 case $(srcdir) in \
29650 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29651 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
29652 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29653 esac; \
29654 srcdiroption="--srcdir=$${topdir}/winsup"; \
29655 libsrcdir="$$s/winsup"; \
29656 rm -f no-such-file || : ; \
29657 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29658 $(TARGET_CONFIGARGS) $${srcdiroption} \
29659 || exit 1
29660 @endif target-winsup
29666 .PHONY: all-target-winsup maybe-all-target-winsup
29667 maybe-all-target-winsup:
29668 @if target-winsup
29669 TARGET-target-winsup=all
29670 maybe-all-target-winsup: all-target-winsup
29671 all-target-winsup: configure-target-winsup
29672 @r=`${PWD_COMMAND}`; export r; \
29673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29674 $(NORMAL_TARGET_EXPORTS) \
29675 (cd $(TARGET_SUBDIR)/winsup && \
29676 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
29677 @endif target-winsup
29683 .PHONY: check-target-winsup maybe-check-target-winsup
29684 maybe-check-target-winsup:
29685 @if target-winsup
29686 maybe-check-target-winsup: check-target-winsup
29688 check-target-winsup:
29689 @r=`${PWD_COMMAND}`; export r; \
29690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29691 $(NORMAL_TARGET_EXPORTS) \
29692 (cd $(TARGET_SUBDIR)/winsup && \
29693 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29695 @endif target-winsup
29697 .PHONY: install-target-winsup maybe-install-target-winsup
29698 maybe-install-target-winsup:
29699 @if target-winsup
29700 maybe-install-target-winsup: install-target-winsup
29702 install-target-winsup: installdirs
29703 @r=`${PWD_COMMAND}`; export r; \
29704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29705 $(NORMAL_TARGET_EXPORTS) \
29706 (cd $(TARGET_SUBDIR)/winsup && \
29707 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29709 @endif target-winsup
29711 # Other targets (info, dvi, etc.)
29713 .PHONY: maybe-info-target-winsup info-target-winsup
29714 maybe-info-target-winsup:
29715 @if target-winsup
29716 maybe-info-target-winsup: info-target-winsup
29718 info-target-winsup: \
29719 configure-target-winsup
29720 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29721 r=`${PWD_COMMAND}`; export r; \
29722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29723 $(NORMAL_TARGET_EXPORTS) \
29724 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
29725 for flag in $(EXTRA_TARGET_FLAGS); do \
29726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29727 done; \
29728 (cd $(TARGET_SUBDIR)/winsup && \
29729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29731 "RANLIB=$${RANLIB}" \
29732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29733 info) \
29734 || exit 1
29736 @endif target-winsup
29738 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
29739 maybe-dvi-target-winsup:
29740 @if target-winsup
29741 maybe-dvi-target-winsup: dvi-target-winsup
29743 dvi-target-winsup: \
29744 configure-target-winsup
29745 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29746 r=`${PWD_COMMAND}`; export r; \
29747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29748 $(NORMAL_TARGET_EXPORTS) \
29749 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
29750 for flag in $(EXTRA_TARGET_FLAGS); do \
29751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29752 done; \
29753 (cd $(TARGET_SUBDIR)/winsup && \
29754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29756 "RANLIB=$${RANLIB}" \
29757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29758 dvi) \
29759 || exit 1
29761 @endif target-winsup
29763 .PHONY: maybe-html-target-winsup html-target-winsup
29764 maybe-html-target-winsup:
29765 @if target-winsup
29766 maybe-html-target-winsup: html-target-winsup
29768 html-target-winsup: \
29769 configure-target-winsup
29770 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29773 $(NORMAL_TARGET_EXPORTS) \
29774 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
29775 for flag in $(EXTRA_TARGET_FLAGS); do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 done; \
29778 (cd $(TARGET_SUBDIR)/winsup && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29783 html) \
29784 || exit 1
29786 @endif target-winsup
29788 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
29789 maybe-TAGS-target-winsup:
29790 @if target-winsup
29791 maybe-TAGS-target-winsup: TAGS-target-winsup
29793 TAGS-target-winsup: \
29794 configure-target-winsup
29795 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29796 r=`${PWD_COMMAND}`; export r; \
29797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29798 $(NORMAL_TARGET_EXPORTS) \
29799 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
29800 for flag in $(EXTRA_TARGET_FLAGS); do \
29801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29802 done; \
29803 (cd $(TARGET_SUBDIR)/winsup && \
29804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29806 "RANLIB=$${RANLIB}" \
29807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29808 TAGS) \
29809 || exit 1
29811 @endif target-winsup
29813 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
29814 maybe-install-info-target-winsup:
29815 @if target-winsup
29816 maybe-install-info-target-winsup: install-info-target-winsup
29818 install-info-target-winsup: \
29819 configure-target-winsup \
29820 info-target-winsup
29821 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29822 r=`${PWD_COMMAND}`; export r; \
29823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29824 $(NORMAL_TARGET_EXPORTS) \
29825 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
29826 for flag in $(EXTRA_TARGET_FLAGS); do \
29827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29828 done; \
29829 (cd $(TARGET_SUBDIR)/winsup && \
29830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29832 "RANLIB=$${RANLIB}" \
29833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29834 install-info) \
29835 || exit 1
29837 @endif target-winsup
29839 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
29840 maybe-installcheck-target-winsup:
29841 @if target-winsup
29842 maybe-installcheck-target-winsup: installcheck-target-winsup
29844 installcheck-target-winsup: \
29845 configure-target-winsup
29846 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29847 r=`${PWD_COMMAND}`; export r; \
29848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29849 $(NORMAL_TARGET_EXPORTS) \
29850 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
29851 for flag in $(EXTRA_TARGET_FLAGS); do \
29852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29853 done; \
29854 (cd $(TARGET_SUBDIR)/winsup && \
29855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29857 "RANLIB=$${RANLIB}" \
29858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29859 installcheck) \
29860 || exit 1
29862 @endif target-winsup
29864 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
29865 maybe-mostlyclean-target-winsup:
29866 @if target-winsup
29867 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
29869 mostlyclean-target-winsup:
29870 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29871 r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(NORMAL_TARGET_EXPORTS) \
29874 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
29875 for flag in $(EXTRA_TARGET_FLAGS); do \
29876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29877 done; \
29878 (cd $(TARGET_SUBDIR)/winsup && \
29879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29881 "RANLIB=$${RANLIB}" \
29882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29883 mostlyclean) \
29884 || exit 1
29886 @endif target-winsup
29888 .PHONY: maybe-clean-target-winsup clean-target-winsup
29889 maybe-clean-target-winsup:
29890 @if target-winsup
29891 maybe-clean-target-winsup: clean-target-winsup
29893 clean-target-winsup:
29894 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(NORMAL_TARGET_EXPORTS) \
29898 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
29899 for flag in $(EXTRA_TARGET_FLAGS); do \
29900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29901 done; \
29902 (cd $(TARGET_SUBDIR)/winsup && \
29903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29905 "RANLIB=$${RANLIB}" \
29906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29907 clean) \
29908 || exit 1
29910 @endif target-winsup
29912 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
29913 maybe-distclean-target-winsup:
29914 @if target-winsup
29915 maybe-distclean-target-winsup: distclean-target-winsup
29917 distclean-target-winsup:
29918 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29919 r=`${PWD_COMMAND}`; export r; \
29920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29921 $(NORMAL_TARGET_EXPORTS) \
29922 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
29923 for flag in $(EXTRA_TARGET_FLAGS); do \
29924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29925 done; \
29926 (cd $(TARGET_SUBDIR)/winsup && \
29927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29929 "RANLIB=$${RANLIB}" \
29930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29931 distclean) \
29932 || exit 1
29934 @endif target-winsup
29936 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
29937 maybe-maintainer-clean-target-winsup:
29938 @if target-winsup
29939 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
29941 maintainer-clean-target-winsup:
29942 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29943 r=`${PWD_COMMAND}`; export r; \
29944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29945 $(NORMAL_TARGET_EXPORTS) \
29946 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
29947 for flag in $(EXTRA_TARGET_FLAGS); do \
29948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29949 done; \
29950 (cd $(TARGET_SUBDIR)/winsup && \
29951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29953 "RANLIB=$${RANLIB}" \
29954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29955 maintainer-clean) \
29956 || exit 1
29958 @endif target-winsup
29962 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29963 @if target-libgloss
29964 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
29965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29966 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
29967 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
29968 @endif target-libgloss
29972 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
29973 maybe-configure-target-libgloss:
29974 @if target-libgloss
29975 maybe-configure-target-libgloss: configure-target-libgloss
29976 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
29977 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
29978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29979 r=`${PWD_COMMAND}`; export r; \
29980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29981 $(NORMAL_TARGET_EXPORTS) \
29982 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
29983 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
29984 case $(srcdir) in \
29985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29986 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
29987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29988 esac; \
29989 srcdiroption="--srcdir=$${topdir}/libgloss"; \
29990 libsrcdir="$$s/libgloss"; \
29991 rm -f no-such-file || : ; \
29992 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29993 $(TARGET_CONFIGARGS) $${srcdiroption} \
29994 || exit 1
29995 @endif target-libgloss
30001 .PHONY: all-target-libgloss maybe-all-target-libgloss
30002 maybe-all-target-libgloss:
30003 @if target-libgloss
30004 TARGET-target-libgloss=all
30005 maybe-all-target-libgloss: all-target-libgloss
30006 all-target-libgloss: configure-target-libgloss
30007 @r=`${PWD_COMMAND}`; export r; \
30008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30009 $(NORMAL_TARGET_EXPORTS) \
30010 (cd $(TARGET_SUBDIR)/libgloss && \
30011 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
30012 @endif target-libgloss
30018 .PHONY: check-target-libgloss maybe-check-target-libgloss
30019 maybe-check-target-libgloss:
30020 @if target-libgloss
30021 maybe-check-target-libgloss: check-target-libgloss
30023 # Dummy target for uncheckable module.
30024 check-target-libgloss:
30026 @endif target-libgloss
30028 .PHONY: install-target-libgloss maybe-install-target-libgloss
30029 maybe-install-target-libgloss:
30030 @if target-libgloss
30031 maybe-install-target-libgloss: install-target-libgloss
30033 install-target-libgloss: installdirs
30034 @r=`${PWD_COMMAND}`; export r; \
30035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30036 $(NORMAL_TARGET_EXPORTS) \
30037 (cd $(TARGET_SUBDIR)/libgloss && \
30038 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30040 @endif target-libgloss
30042 # Other targets (info, dvi, etc.)
30044 .PHONY: maybe-info-target-libgloss info-target-libgloss
30045 maybe-info-target-libgloss:
30046 @if target-libgloss
30047 maybe-info-target-libgloss: info-target-libgloss
30049 info-target-libgloss: \
30050 configure-target-libgloss
30051 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30052 r=`${PWD_COMMAND}`; export r; \
30053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30054 $(NORMAL_TARGET_EXPORTS) \
30055 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
30056 for flag in $(EXTRA_TARGET_FLAGS); do \
30057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30058 done; \
30059 (cd $(TARGET_SUBDIR)/libgloss && \
30060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30062 "RANLIB=$${RANLIB}" \
30063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30064 info) \
30065 || exit 1
30067 @endif target-libgloss
30069 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
30070 maybe-dvi-target-libgloss:
30071 @if target-libgloss
30072 maybe-dvi-target-libgloss: dvi-target-libgloss
30074 dvi-target-libgloss: \
30075 configure-target-libgloss
30076 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30077 r=`${PWD_COMMAND}`; export r; \
30078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30079 $(NORMAL_TARGET_EXPORTS) \
30080 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
30081 for flag in $(EXTRA_TARGET_FLAGS); do \
30082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30083 done; \
30084 (cd $(TARGET_SUBDIR)/libgloss && \
30085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30087 "RANLIB=$${RANLIB}" \
30088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30089 dvi) \
30090 || exit 1
30092 @endif target-libgloss
30094 .PHONY: maybe-html-target-libgloss html-target-libgloss
30095 maybe-html-target-libgloss:
30096 @if target-libgloss
30097 maybe-html-target-libgloss: html-target-libgloss
30099 html-target-libgloss: \
30100 configure-target-libgloss
30101 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30102 r=`${PWD_COMMAND}`; export r; \
30103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30104 $(NORMAL_TARGET_EXPORTS) \
30105 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
30106 for flag in $(EXTRA_TARGET_FLAGS); do \
30107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30108 done; \
30109 (cd $(TARGET_SUBDIR)/libgloss && \
30110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30112 "RANLIB=$${RANLIB}" \
30113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30114 html) \
30115 || exit 1
30117 @endif target-libgloss
30119 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
30120 maybe-TAGS-target-libgloss:
30121 @if target-libgloss
30122 maybe-TAGS-target-libgloss: TAGS-target-libgloss
30124 TAGS-target-libgloss: \
30125 configure-target-libgloss
30126 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30127 r=`${PWD_COMMAND}`; export r; \
30128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30129 $(NORMAL_TARGET_EXPORTS) \
30130 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
30131 for flag in $(EXTRA_TARGET_FLAGS); do \
30132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30133 done; \
30134 (cd $(TARGET_SUBDIR)/libgloss && \
30135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30137 "RANLIB=$${RANLIB}" \
30138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30139 TAGS) \
30140 || exit 1
30142 @endif target-libgloss
30144 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
30145 maybe-install-info-target-libgloss:
30146 @if target-libgloss
30147 maybe-install-info-target-libgloss: install-info-target-libgloss
30149 install-info-target-libgloss: \
30150 configure-target-libgloss \
30151 info-target-libgloss
30152 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30153 r=`${PWD_COMMAND}`; export r; \
30154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30155 $(NORMAL_TARGET_EXPORTS) \
30156 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
30157 for flag in $(EXTRA_TARGET_FLAGS); do \
30158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30159 done; \
30160 (cd $(TARGET_SUBDIR)/libgloss && \
30161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30163 "RANLIB=$${RANLIB}" \
30164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30165 install-info) \
30166 || exit 1
30168 @endif target-libgloss
30170 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
30171 maybe-installcheck-target-libgloss:
30172 @if target-libgloss
30173 maybe-installcheck-target-libgloss: installcheck-target-libgloss
30175 installcheck-target-libgloss: \
30176 configure-target-libgloss
30177 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30178 r=`${PWD_COMMAND}`; export r; \
30179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30180 $(NORMAL_TARGET_EXPORTS) \
30181 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
30182 for flag in $(EXTRA_TARGET_FLAGS); do \
30183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30184 done; \
30185 (cd $(TARGET_SUBDIR)/libgloss && \
30186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30188 "RANLIB=$${RANLIB}" \
30189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30190 installcheck) \
30191 || exit 1
30193 @endif target-libgloss
30195 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
30196 maybe-mostlyclean-target-libgloss:
30197 @if target-libgloss
30198 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
30200 mostlyclean-target-libgloss:
30201 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30202 r=`${PWD_COMMAND}`; export r; \
30203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30204 $(NORMAL_TARGET_EXPORTS) \
30205 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
30206 for flag in $(EXTRA_TARGET_FLAGS); do \
30207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30208 done; \
30209 (cd $(TARGET_SUBDIR)/libgloss && \
30210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30212 "RANLIB=$${RANLIB}" \
30213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30214 mostlyclean) \
30215 || exit 1
30217 @endif target-libgloss
30219 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
30220 maybe-clean-target-libgloss:
30221 @if target-libgloss
30222 maybe-clean-target-libgloss: clean-target-libgloss
30224 clean-target-libgloss:
30225 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30226 r=`${PWD_COMMAND}`; export r; \
30227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30228 $(NORMAL_TARGET_EXPORTS) \
30229 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
30230 for flag in $(EXTRA_TARGET_FLAGS); do \
30231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30232 done; \
30233 (cd $(TARGET_SUBDIR)/libgloss && \
30234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30236 "RANLIB=$${RANLIB}" \
30237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30238 clean) \
30239 || exit 1
30241 @endif target-libgloss
30243 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
30244 maybe-distclean-target-libgloss:
30245 @if target-libgloss
30246 maybe-distclean-target-libgloss: distclean-target-libgloss
30248 distclean-target-libgloss:
30249 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30250 r=`${PWD_COMMAND}`; export r; \
30251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30252 $(NORMAL_TARGET_EXPORTS) \
30253 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
30254 for flag in $(EXTRA_TARGET_FLAGS); do \
30255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30256 done; \
30257 (cd $(TARGET_SUBDIR)/libgloss && \
30258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30260 "RANLIB=$${RANLIB}" \
30261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30262 distclean) \
30263 || exit 1
30265 @endif target-libgloss
30267 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
30268 maybe-maintainer-clean-target-libgloss:
30269 @if target-libgloss
30270 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
30272 maintainer-clean-target-libgloss:
30273 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30274 r=`${PWD_COMMAND}`; export r; \
30275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30276 $(NORMAL_TARGET_EXPORTS) \
30277 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
30278 for flag in $(EXTRA_TARGET_FLAGS); do \
30279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30280 done; \
30281 (cd $(TARGET_SUBDIR)/libgloss && \
30282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30284 "RANLIB=$${RANLIB}" \
30285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30286 maintainer-clean) \
30287 || exit 1
30289 @endif target-libgloss
30293 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30294 @if target-libiberty
30295 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
30296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30297 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
30298 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
30299 @endif target-libiberty
30303 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
30304 maybe-configure-target-libiberty:
30305 @if target-libiberty
30306 maybe-configure-target-libiberty: configure-target-libiberty
30307 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
30308 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
30309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30310 r=`${PWD_COMMAND}`; export r; \
30311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30312 $(NORMAL_TARGET_EXPORTS) \
30313 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
30314 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
30315 case $(srcdir) in \
30316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30317 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
30318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30319 esac; \
30320 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30321 libsrcdir="$$s/libiberty"; \
30322 rm -f no-such-file || : ; \
30323 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30324 $(TARGET_CONFIGARGS) $${srcdiroption} \
30325 || exit 1
30326 @endif target-libiberty
30332 .PHONY: all-target-libiberty maybe-all-target-libiberty
30333 maybe-all-target-libiberty:
30334 @if target-libiberty
30335 TARGET-target-libiberty=all
30336 maybe-all-target-libiberty: all-target-libiberty
30337 all-target-libiberty: configure-target-libiberty
30338 @r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30340 $(NORMAL_TARGET_EXPORTS) \
30341 (cd $(TARGET_SUBDIR)/libiberty && \
30342 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
30343 @endif target-libiberty
30349 .PHONY: check-target-libiberty maybe-check-target-libiberty
30350 maybe-check-target-libiberty:
30351 @if target-libiberty
30352 maybe-check-target-libiberty: check-target-libiberty
30354 check-target-libiberty:
30355 @r=`${PWD_COMMAND}`; export r; \
30356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30357 $(NORMAL_TARGET_EXPORTS) \
30358 (cd $(TARGET_SUBDIR)/libiberty && \
30359 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30361 @endif target-libiberty
30363 .PHONY: install-target-libiberty maybe-install-target-libiberty
30364 maybe-install-target-libiberty:
30365 @if target-libiberty
30366 maybe-install-target-libiberty: install-target-libiberty
30368 install-target-libiberty: installdirs
30369 @r=`${PWD_COMMAND}`; export r; \
30370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30371 $(NORMAL_TARGET_EXPORTS) \
30372 (cd $(TARGET_SUBDIR)/libiberty && \
30373 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30375 @endif target-libiberty
30377 # Other targets (info, dvi, etc.)
30379 .PHONY: maybe-info-target-libiberty info-target-libiberty
30380 maybe-info-target-libiberty:
30381 @if target-libiberty
30382 maybe-info-target-libiberty: info-target-libiberty
30384 info-target-libiberty: \
30385 configure-target-libiberty
30386 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30387 r=`${PWD_COMMAND}`; export r; \
30388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30389 $(NORMAL_TARGET_EXPORTS) \
30390 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
30391 for flag in $(EXTRA_TARGET_FLAGS); do \
30392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30393 done; \
30394 (cd $(TARGET_SUBDIR)/libiberty && \
30395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30397 "RANLIB=$${RANLIB}" \
30398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30399 info) \
30400 || exit 1
30402 @endif target-libiberty
30404 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
30405 maybe-dvi-target-libiberty:
30406 @if target-libiberty
30407 maybe-dvi-target-libiberty: dvi-target-libiberty
30409 dvi-target-libiberty: \
30410 configure-target-libiberty
30411 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(NORMAL_TARGET_EXPORTS) \
30415 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
30416 for flag in $(EXTRA_TARGET_FLAGS); do \
30417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30418 done; \
30419 (cd $(TARGET_SUBDIR)/libiberty && \
30420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30422 "RANLIB=$${RANLIB}" \
30423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30424 dvi) \
30425 || exit 1
30427 @endif target-libiberty
30429 .PHONY: maybe-html-target-libiberty html-target-libiberty
30430 maybe-html-target-libiberty:
30431 @if target-libiberty
30432 maybe-html-target-libiberty: html-target-libiberty
30434 html-target-libiberty: \
30435 configure-target-libiberty
30436 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30437 r=`${PWD_COMMAND}`; export r; \
30438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30439 $(NORMAL_TARGET_EXPORTS) \
30440 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
30441 for flag in $(EXTRA_TARGET_FLAGS); do \
30442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30443 done; \
30444 (cd $(TARGET_SUBDIR)/libiberty && \
30445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30447 "RANLIB=$${RANLIB}" \
30448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30449 html) \
30450 || exit 1
30452 @endif target-libiberty
30454 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
30455 maybe-TAGS-target-libiberty:
30456 @if target-libiberty
30457 maybe-TAGS-target-libiberty: TAGS-target-libiberty
30459 TAGS-target-libiberty: \
30460 configure-target-libiberty
30461 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30462 r=`${PWD_COMMAND}`; export r; \
30463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30464 $(NORMAL_TARGET_EXPORTS) \
30465 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
30466 for flag in $(EXTRA_TARGET_FLAGS); do \
30467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30468 done; \
30469 (cd $(TARGET_SUBDIR)/libiberty && \
30470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30472 "RANLIB=$${RANLIB}" \
30473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30474 TAGS) \
30475 || exit 1
30477 @endif target-libiberty
30479 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
30480 maybe-install-info-target-libiberty:
30481 @if target-libiberty
30482 maybe-install-info-target-libiberty: install-info-target-libiberty
30484 install-info-target-libiberty: \
30485 configure-target-libiberty \
30486 info-target-libiberty
30487 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30488 r=`${PWD_COMMAND}`; export r; \
30489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30490 $(NORMAL_TARGET_EXPORTS) \
30491 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
30492 for flag in $(EXTRA_TARGET_FLAGS); do \
30493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30494 done; \
30495 (cd $(TARGET_SUBDIR)/libiberty && \
30496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30498 "RANLIB=$${RANLIB}" \
30499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30500 install-info) \
30501 || exit 1
30503 @endif target-libiberty
30505 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
30506 maybe-installcheck-target-libiberty:
30507 @if target-libiberty
30508 maybe-installcheck-target-libiberty: installcheck-target-libiberty
30510 installcheck-target-libiberty: \
30511 configure-target-libiberty
30512 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30513 r=`${PWD_COMMAND}`; export r; \
30514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30515 $(NORMAL_TARGET_EXPORTS) \
30516 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
30517 for flag in $(EXTRA_TARGET_FLAGS); do \
30518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30519 done; \
30520 (cd $(TARGET_SUBDIR)/libiberty && \
30521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30523 "RANLIB=$${RANLIB}" \
30524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30525 installcheck) \
30526 || exit 1
30528 @endif target-libiberty
30530 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
30531 maybe-mostlyclean-target-libiberty:
30532 @if target-libiberty
30533 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
30535 mostlyclean-target-libiberty:
30536 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30537 r=`${PWD_COMMAND}`; export r; \
30538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30539 $(NORMAL_TARGET_EXPORTS) \
30540 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
30541 for flag in $(EXTRA_TARGET_FLAGS); do \
30542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30543 done; \
30544 (cd $(TARGET_SUBDIR)/libiberty && \
30545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30547 "RANLIB=$${RANLIB}" \
30548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30549 mostlyclean) \
30550 || exit 1
30552 @endif target-libiberty
30554 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
30555 maybe-clean-target-libiberty:
30556 @if target-libiberty
30557 maybe-clean-target-libiberty: clean-target-libiberty
30559 clean-target-libiberty:
30560 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30561 r=`${PWD_COMMAND}`; export r; \
30562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30563 $(NORMAL_TARGET_EXPORTS) \
30564 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
30565 for flag in $(EXTRA_TARGET_FLAGS); do \
30566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30567 done; \
30568 (cd $(TARGET_SUBDIR)/libiberty && \
30569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30571 "RANLIB=$${RANLIB}" \
30572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30573 clean) \
30574 || exit 1
30576 @endif target-libiberty
30578 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
30579 maybe-distclean-target-libiberty:
30580 @if target-libiberty
30581 maybe-distclean-target-libiberty: distclean-target-libiberty
30583 distclean-target-libiberty:
30584 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30585 r=`${PWD_COMMAND}`; export r; \
30586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30587 $(NORMAL_TARGET_EXPORTS) \
30588 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
30589 for flag in $(EXTRA_TARGET_FLAGS); do \
30590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30591 done; \
30592 (cd $(TARGET_SUBDIR)/libiberty && \
30593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30595 "RANLIB=$${RANLIB}" \
30596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30597 distclean) \
30598 || exit 1
30600 @endif target-libiberty
30602 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
30603 maybe-maintainer-clean-target-libiberty:
30604 @if target-libiberty
30605 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
30607 maintainer-clean-target-libiberty:
30608 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30609 r=`${PWD_COMMAND}`; export r; \
30610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30611 $(NORMAL_TARGET_EXPORTS) \
30612 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
30613 for flag in $(EXTRA_TARGET_FLAGS); do \
30614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30615 done; \
30616 (cd $(TARGET_SUBDIR)/libiberty && \
30617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30619 "RANLIB=$${RANLIB}" \
30620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30621 maintainer-clean) \
30622 || exit 1
30624 @endif target-libiberty
30628 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30629 @if target-gperf
30630 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
30631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30632 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
30633 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
30634 @endif target-gperf
30638 .PHONY: configure-target-gperf maybe-configure-target-gperf
30639 maybe-configure-target-gperf:
30640 @if target-gperf
30641 maybe-configure-target-gperf: configure-target-gperf
30642 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
30643 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
30644 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30645 r=`${PWD_COMMAND}`; export r; \
30646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30647 $(NORMAL_TARGET_EXPORTS) \
30648 echo Configuring in $(TARGET_SUBDIR)/gperf; \
30649 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
30650 case $(srcdir) in \
30651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30652 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
30653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30654 esac; \
30655 srcdiroption="--srcdir=$${topdir}/gperf"; \
30656 libsrcdir="$$s/gperf"; \
30657 rm -f no-such-file || : ; \
30658 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30659 $(TARGET_CONFIGARGS) $${srcdiroption} \
30660 || exit 1
30661 @endif target-gperf
30667 .PHONY: all-target-gperf maybe-all-target-gperf
30668 maybe-all-target-gperf:
30669 @if target-gperf
30670 TARGET-target-gperf=all
30671 maybe-all-target-gperf: all-target-gperf
30672 all-target-gperf: configure-target-gperf
30673 @r=`${PWD_COMMAND}`; export r; \
30674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30675 $(NORMAL_TARGET_EXPORTS) \
30676 (cd $(TARGET_SUBDIR)/gperf && \
30677 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
30678 @endif target-gperf
30684 .PHONY: check-target-gperf maybe-check-target-gperf
30685 maybe-check-target-gperf:
30686 @if target-gperf
30687 maybe-check-target-gperf: check-target-gperf
30689 check-target-gperf:
30690 @r=`${PWD_COMMAND}`; export r; \
30691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 $(NORMAL_TARGET_EXPORTS) \
30693 (cd $(TARGET_SUBDIR)/gperf && \
30694 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30696 @endif target-gperf
30698 .PHONY: install-target-gperf maybe-install-target-gperf
30699 maybe-install-target-gperf:
30700 @if target-gperf
30701 maybe-install-target-gperf: install-target-gperf
30703 install-target-gperf: installdirs
30704 @r=`${PWD_COMMAND}`; export r; \
30705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30706 $(NORMAL_TARGET_EXPORTS) \
30707 (cd $(TARGET_SUBDIR)/gperf && \
30708 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30710 @endif target-gperf
30712 # Other targets (info, dvi, etc.)
30714 .PHONY: maybe-info-target-gperf info-target-gperf
30715 maybe-info-target-gperf:
30716 @if target-gperf
30717 maybe-info-target-gperf: info-target-gperf
30719 info-target-gperf: \
30720 configure-target-gperf
30721 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30722 r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30724 $(NORMAL_TARGET_EXPORTS) \
30725 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
30726 for flag in $(EXTRA_TARGET_FLAGS); do \
30727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30728 done; \
30729 (cd $(TARGET_SUBDIR)/gperf && \
30730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30732 "RANLIB=$${RANLIB}" \
30733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30734 info) \
30735 || exit 1
30737 @endif target-gperf
30739 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
30740 maybe-dvi-target-gperf:
30741 @if target-gperf
30742 maybe-dvi-target-gperf: dvi-target-gperf
30744 dvi-target-gperf: \
30745 configure-target-gperf
30746 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30747 r=`${PWD_COMMAND}`; export r; \
30748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30749 $(NORMAL_TARGET_EXPORTS) \
30750 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
30751 for flag in $(EXTRA_TARGET_FLAGS); do \
30752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30753 done; \
30754 (cd $(TARGET_SUBDIR)/gperf && \
30755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30757 "RANLIB=$${RANLIB}" \
30758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30759 dvi) \
30760 || exit 1
30762 @endif target-gperf
30764 .PHONY: maybe-html-target-gperf html-target-gperf
30765 maybe-html-target-gperf:
30766 @if target-gperf
30767 maybe-html-target-gperf: html-target-gperf
30769 html-target-gperf: \
30770 configure-target-gperf
30771 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30774 $(NORMAL_TARGET_EXPORTS) \
30775 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
30776 for flag in $(EXTRA_TARGET_FLAGS); do \
30777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30778 done; \
30779 (cd $(TARGET_SUBDIR)/gperf && \
30780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30782 "RANLIB=$${RANLIB}" \
30783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30784 html) \
30785 || exit 1
30787 @endif target-gperf
30789 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
30790 maybe-TAGS-target-gperf:
30791 @if target-gperf
30792 maybe-TAGS-target-gperf: TAGS-target-gperf
30794 TAGS-target-gperf: \
30795 configure-target-gperf
30796 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30797 r=`${PWD_COMMAND}`; export r; \
30798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30799 $(NORMAL_TARGET_EXPORTS) \
30800 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
30801 for flag in $(EXTRA_TARGET_FLAGS); do \
30802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30803 done; \
30804 (cd $(TARGET_SUBDIR)/gperf && \
30805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30807 "RANLIB=$${RANLIB}" \
30808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30809 TAGS) \
30810 || exit 1
30812 @endif target-gperf
30814 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
30815 maybe-install-info-target-gperf:
30816 @if target-gperf
30817 maybe-install-info-target-gperf: install-info-target-gperf
30819 install-info-target-gperf: \
30820 configure-target-gperf \
30821 info-target-gperf
30822 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30823 r=`${PWD_COMMAND}`; export r; \
30824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30825 $(NORMAL_TARGET_EXPORTS) \
30826 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
30827 for flag in $(EXTRA_TARGET_FLAGS); do \
30828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30829 done; \
30830 (cd $(TARGET_SUBDIR)/gperf && \
30831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30833 "RANLIB=$${RANLIB}" \
30834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30835 install-info) \
30836 || exit 1
30838 @endif target-gperf
30840 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
30841 maybe-installcheck-target-gperf:
30842 @if target-gperf
30843 maybe-installcheck-target-gperf: installcheck-target-gperf
30845 installcheck-target-gperf: \
30846 configure-target-gperf
30847 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30848 r=`${PWD_COMMAND}`; export r; \
30849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30850 $(NORMAL_TARGET_EXPORTS) \
30851 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
30852 for flag in $(EXTRA_TARGET_FLAGS); do \
30853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30854 done; \
30855 (cd $(TARGET_SUBDIR)/gperf && \
30856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30858 "RANLIB=$${RANLIB}" \
30859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30860 installcheck) \
30861 || exit 1
30863 @endif target-gperf
30865 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
30866 maybe-mostlyclean-target-gperf:
30867 @if target-gperf
30868 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
30870 mostlyclean-target-gperf:
30871 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30872 r=`${PWD_COMMAND}`; export r; \
30873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30874 $(NORMAL_TARGET_EXPORTS) \
30875 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
30876 for flag in $(EXTRA_TARGET_FLAGS); do \
30877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30878 done; \
30879 (cd $(TARGET_SUBDIR)/gperf && \
30880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30882 "RANLIB=$${RANLIB}" \
30883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30884 mostlyclean) \
30885 || exit 1
30887 @endif target-gperf
30889 .PHONY: maybe-clean-target-gperf clean-target-gperf
30890 maybe-clean-target-gperf:
30891 @if target-gperf
30892 maybe-clean-target-gperf: clean-target-gperf
30894 clean-target-gperf:
30895 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30896 r=`${PWD_COMMAND}`; export r; \
30897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30898 $(NORMAL_TARGET_EXPORTS) \
30899 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
30900 for flag in $(EXTRA_TARGET_FLAGS); do \
30901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30902 done; \
30903 (cd $(TARGET_SUBDIR)/gperf && \
30904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30906 "RANLIB=$${RANLIB}" \
30907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30908 clean) \
30909 || exit 1
30911 @endif target-gperf
30913 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
30914 maybe-distclean-target-gperf:
30915 @if target-gperf
30916 maybe-distclean-target-gperf: distclean-target-gperf
30918 distclean-target-gperf:
30919 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30920 r=`${PWD_COMMAND}`; export r; \
30921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30922 $(NORMAL_TARGET_EXPORTS) \
30923 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
30924 for flag in $(EXTRA_TARGET_FLAGS); do \
30925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30926 done; \
30927 (cd $(TARGET_SUBDIR)/gperf && \
30928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30930 "RANLIB=$${RANLIB}" \
30931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30932 distclean) \
30933 || exit 1
30935 @endif target-gperf
30937 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
30938 maybe-maintainer-clean-target-gperf:
30939 @if target-gperf
30940 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
30942 maintainer-clean-target-gperf:
30943 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30944 r=`${PWD_COMMAND}`; export r; \
30945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30946 $(NORMAL_TARGET_EXPORTS) \
30947 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
30948 for flag in $(EXTRA_TARGET_FLAGS); do \
30949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30950 done; \
30951 (cd $(TARGET_SUBDIR)/gperf && \
30952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30954 "RANLIB=$${RANLIB}" \
30955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30956 maintainer-clean) \
30957 || exit 1
30959 @endif target-gperf
30963 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30964 @if target-examples
30965 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
30966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30967 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
30968 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
30969 @endif target-examples
30973 .PHONY: configure-target-examples maybe-configure-target-examples
30974 maybe-configure-target-examples:
30975 @if target-examples
30976 maybe-configure-target-examples: configure-target-examples
30977 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
30978 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
30979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30980 r=`${PWD_COMMAND}`; export r; \
30981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30982 $(NORMAL_TARGET_EXPORTS) \
30983 echo Configuring in $(TARGET_SUBDIR)/examples; \
30984 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
30985 case $(srcdir) in \
30986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30987 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
30988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30989 esac; \
30990 srcdiroption="--srcdir=$${topdir}/examples"; \
30991 libsrcdir="$$s/examples"; \
30992 rm -f no-such-file || : ; \
30993 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30994 $(TARGET_CONFIGARGS) $${srcdiroption} \
30995 || exit 1
30996 @endif target-examples
31002 .PHONY: all-target-examples maybe-all-target-examples
31003 maybe-all-target-examples:
31004 @if target-examples
31005 TARGET-target-examples=all
31006 maybe-all-target-examples: all-target-examples
31007 all-target-examples: configure-target-examples
31008 @r=`${PWD_COMMAND}`; export r; \
31009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31010 $(NORMAL_TARGET_EXPORTS) \
31011 (cd $(TARGET_SUBDIR)/examples && \
31012 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
31013 @endif target-examples
31019 .PHONY: check-target-examples maybe-check-target-examples
31020 maybe-check-target-examples:
31021 @if target-examples
31022 maybe-check-target-examples: check-target-examples
31024 # Dummy target for uncheckable module.
31025 check-target-examples:
31027 @endif target-examples
31029 .PHONY: install-target-examples maybe-install-target-examples
31030 maybe-install-target-examples:
31031 @if target-examples
31032 maybe-install-target-examples: install-target-examples
31034 # Dummy target for uninstallable.
31035 install-target-examples:
31037 @endif target-examples
31039 # Other targets (info, dvi, etc.)
31041 .PHONY: maybe-info-target-examples info-target-examples
31042 maybe-info-target-examples:
31043 @if target-examples
31044 maybe-info-target-examples: info-target-examples
31046 info-target-examples: \
31047 configure-target-examples
31048 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31049 r=`${PWD_COMMAND}`; export r; \
31050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31051 $(NORMAL_TARGET_EXPORTS) \
31052 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
31053 for flag in $(EXTRA_TARGET_FLAGS); do \
31054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31055 done; \
31056 (cd $(TARGET_SUBDIR)/examples && \
31057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31059 "RANLIB=$${RANLIB}" \
31060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31061 info) \
31062 || exit 1
31064 @endif target-examples
31066 .PHONY: maybe-dvi-target-examples dvi-target-examples
31067 maybe-dvi-target-examples:
31068 @if target-examples
31069 maybe-dvi-target-examples: dvi-target-examples
31071 dvi-target-examples: \
31072 configure-target-examples
31073 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31074 r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(NORMAL_TARGET_EXPORTS) \
31077 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
31078 for flag in $(EXTRA_TARGET_FLAGS); do \
31079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31080 done; \
31081 (cd $(TARGET_SUBDIR)/examples && \
31082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31084 "RANLIB=$${RANLIB}" \
31085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31086 dvi) \
31087 || exit 1
31089 @endif target-examples
31091 .PHONY: maybe-html-target-examples html-target-examples
31092 maybe-html-target-examples:
31093 @if target-examples
31094 maybe-html-target-examples: html-target-examples
31096 html-target-examples: \
31097 configure-target-examples
31098 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31099 r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(NORMAL_TARGET_EXPORTS) \
31102 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
31103 for flag in $(EXTRA_TARGET_FLAGS); do \
31104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31105 done; \
31106 (cd $(TARGET_SUBDIR)/examples && \
31107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31109 "RANLIB=$${RANLIB}" \
31110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31111 html) \
31112 || exit 1
31114 @endif target-examples
31116 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
31117 maybe-TAGS-target-examples:
31118 @if target-examples
31119 maybe-TAGS-target-examples: TAGS-target-examples
31121 TAGS-target-examples: \
31122 configure-target-examples
31123 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(NORMAL_TARGET_EXPORTS) \
31127 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
31128 for flag in $(EXTRA_TARGET_FLAGS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 (cd $(TARGET_SUBDIR)/examples && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31136 TAGS) \
31137 || exit 1
31139 @endif target-examples
31141 .PHONY: maybe-install-info-target-examples install-info-target-examples
31142 maybe-install-info-target-examples:
31143 @if target-examples
31144 maybe-install-info-target-examples: install-info-target-examples
31146 install-info-target-examples: \
31147 configure-target-examples \
31148 info-target-examples
31149 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31150 r=`${PWD_COMMAND}`; export r; \
31151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31152 $(NORMAL_TARGET_EXPORTS) \
31153 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
31154 for flag in $(EXTRA_TARGET_FLAGS); do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 (cd $(TARGET_SUBDIR)/examples && \
31158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31160 "RANLIB=$${RANLIB}" \
31161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31162 install-info) \
31163 || exit 1
31165 @endif target-examples
31167 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
31168 maybe-installcheck-target-examples:
31169 @if target-examples
31170 maybe-installcheck-target-examples: installcheck-target-examples
31172 installcheck-target-examples: \
31173 configure-target-examples
31174 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(NORMAL_TARGET_EXPORTS) \
31178 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
31179 for flag in $(EXTRA_TARGET_FLAGS); do \
31180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31181 done; \
31182 (cd $(TARGET_SUBDIR)/examples && \
31183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31185 "RANLIB=$${RANLIB}" \
31186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31187 installcheck) \
31188 || exit 1
31190 @endif target-examples
31192 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
31193 maybe-mostlyclean-target-examples:
31194 @if target-examples
31195 maybe-mostlyclean-target-examples: mostlyclean-target-examples
31197 mostlyclean-target-examples:
31198 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31199 r=`${PWD_COMMAND}`; export r; \
31200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(NORMAL_TARGET_EXPORTS) \
31202 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
31203 for flag in $(EXTRA_TARGET_FLAGS); do \
31204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31205 done; \
31206 (cd $(TARGET_SUBDIR)/examples && \
31207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31209 "RANLIB=$${RANLIB}" \
31210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31211 mostlyclean) \
31212 || exit 1
31214 @endif target-examples
31216 .PHONY: maybe-clean-target-examples clean-target-examples
31217 maybe-clean-target-examples:
31218 @if target-examples
31219 maybe-clean-target-examples: clean-target-examples
31221 clean-target-examples:
31222 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31223 r=`${PWD_COMMAND}`; export r; \
31224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31225 $(NORMAL_TARGET_EXPORTS) \
31226 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
31227 for flag in $(EXTRA_TARGET_FLAGS); do \
31228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31229 done; \
31230 (cd $(TARGET_SUBDIR)/examples && \
31231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31233 "RANLIB=$${RANLIB}" \
31234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31235 clean) \
31236 || exit 1
31238 @endif target-examples
31240 .PHONY: maybe-distclean-target-examples distclean-target-examples
31241 maybe-distclean-target-examples:
31242 @if target-examples
31243 maybe-distclean-target-examples: distclean-target-examples
31245 distclean-target-examples:
31246 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31247 r=`${PWD_COMMAND}`; export r; \
31248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31249 $(NORMAL_TARGET_EXPORTS) \
31250 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
31251 for flag in $(EXTRA_TARGET_FLAGS); do \
31252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31253 done; \
31254 (cd $(TARGET_SUBDIR)/examples && \
31255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31257 "RANLIB=$${RANLIB}" \
31258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31259 distclean) \
31260 || exit 1
31262 @endif target-examples
31264 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
31265 maybe-maintainer-clean-target-examples:
31266 @if target-examples
31267 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
31269 maintainer-clean-target-examples:
31270 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31271 r=`${PWD_COMMAND}`; export r; \
31272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31273 $(NORMAL_TARGET_EXPORTS) \
31274 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
31275 for flag in $(EXTRA_TARGET_FLAGS); do \
31276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31277 done; \
31278 (cd $(TARGET_SUBDIR)/examples && \
31279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31281 "RANLIB=$${RANLIB}" \
31282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31283 maintainer-clean) \
31284 || exit 1
31286 @endif target-examples
31290 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31291 @if target-libffi
31292 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
31293 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31294 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
31295 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
31296 @endif target-libffi
31300 .PHONY: configure-target-libffi maybe-configure-target-libffi
31301 maybe-configure-target-libffi:
31302 @if target-libffi
31303 maybe-configure-target-libffi: configure-target-libffi
31304 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
31305 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
31306 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31307 r=`${PWD_COMMAND}`; export r; \
31308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31309 $(NORMAL_TARGET_EXPORTS) \
31310 echo Configuring in $(TARGET_SUBDIR)/libffi; \
31311 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
31312 case $(srcdir) in \
31313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31314 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
31315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31316 esac; \
31317 srcdiroption="--srcdir=$${topdir}/libffi"; \
31318 libsrcdir="$$s/libffi"; \
31319 rm -f no-such-file || : ; \
31320 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31321 $(TARGET_CONFIGARGS) $${srcdiroption} \
31322 || exit 1
31323 @endif target-libffi
31329 .PHONY: all-target-libffi maybe-all-target-libffi
31330 maybe-all-target-libffi:
31331 @if target-libffi
31332 TARGET-target-libffi=all
31333 maybe-all-target-libffi: all-target-libffi
31334 all-target-libffi: configure-target-libffi
31335 @r=`${PWD_COMMAND}`; export r; \
31336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31337 $(NORMAL_TARGET_EXPORTS) \
31338 (cd $(TARGET_SUBDIR)/libffi && \
31339 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
31340 @endif target-libffi
31346 .PHONY: check-target-libffi maybe-check-target-libffi
31347 maybe-check-target-libffi:
31348 @if target-libffi
31349 maybe-check-target-libffi: check-target-libffi
31351 check-target-libffi:
31352 @r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(NORMAL_TARGET_EXPORTS) \
31355 (cd $(TARGET_SUBDIR)/libffi && \
31356 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31358 @endif target-libffi
31360 .PHONY: install-target-libffi maybe-install-target-libffi
31361 maybe-install-target-libffi:
31362 @if target-libffi
31363 maybe-install-target-libffi: install-target-libffi
31365 install-target-libffi: installdirs
31366 @r=`${PWD_COMMAND}`; export r; \
31367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31368 $(NORMAL_TARGET_EXPORTS) \
31369 (cd $(TARGET_SUBDIR)/libffi && \
31370 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31372 @endif target-libffi
31374 # Other targets (info, dvi, etc.)
31376 .PHONY: maybe-info-target-libffi info-target-libffi
31377 maybe-info-target-libffi:
31378 @if target-libffi
31379 maybe-info-target-libffi: info-target-libffi
31381 info-target-libffi: \
31382 configure-target-libffi
31383 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31384 r=`${PWD_COMMAND}`; export r; \
31385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31386 $(NORMAL_TARGET_EXPORTS) \
31387 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
31388 for flag in $(EXTRA_TARGET_FLAGS); do \
31389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31390 done; \
31391 (cd $(TARGET_SUBDIR)/libffi && \
31392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31394 "RANLIB=$${RANLIB}" \
31395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31396 info) \
31397 || exit 1
31399 @endif target-libffi
31401 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
31402 maybe-dvi-target-libffi:
31403 @if target-libffi
31404 maybe-dvi-target-libffi: dvi-target-libffi
31406 dvi-target-libffi: \
31407 configure-target-libffi
31408 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31409 r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(NORMAL_TARGET_EXPORTS) \
31412 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
31413 for flag in $(EXTRA_TARGET_FLAGS); do \
31414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31415 done; \
31416 (cd $(TARGET_SUBDIR)/libffi && \
31417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31419 "RANLIB=$${RANLIB}" \
31420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31421 dvi) \
31422 || exit 1
31424 @endif target-libffi
31426 .PHONY: maybe-html-target-libffi html-target-libffi
31427 maybe-html-target-libffi:
31428 @if target-libffi
31429 maybe-html-target-libffi: html-target-libffi
31431 html-target-libffi: \
31432 configure-target-libffi
31433 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31434 r=`${PWD_COMMAND}`; export r; \
31435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31436 $(NORMAL_TARGET_EXPORTS) \
31437 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
31438 for flag in $(EXTRA_TARGET_FLAGS); do \
31439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31440 done; \
31441 (cd $(TARGET_SUBDIR)/libffi && \
31442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31444 "RANLIB=$${RANLIB}" \
31445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31446 html) \
31447 || exit 1
31449 @endif target-libffi
31451 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
31452 maybe-TAGS-target-libffi:
31453 @if target-libffi
31454 maybe-TAGS-target-libffi: TAGS-target-libffi
31456 TAGS-target-libffi: \
31457 configure-target-libffi
31458 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31459 r=`${PWD_COMMAND}`; export r; \
31460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31461 $(NORMAL_TARGET_EXPORTS) \
31462 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
31463 for flag in $(EXTRA_TARGET_FLAGS); do \
31464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31465 done; \
31466 (cd $(TARGET_SUBDIR)/libffi && \
31467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31469 "RANLIB=$${RANLIB}" \
31470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31471 TAGS) \
31472 || exit 1
31474 @endif target-libffi
31476 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
31477 maybe-install-info-target-libffi:
31478 @if target-libffi
31479 maybe-install-info-target-libffi: install-info-target-libffi
31481 install-info-target-libffi: \
31482 configure-target-libffi \
31483 info-target-libffi
31484 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31485 r=`${PWD_COMMAND}`; export r; \
31486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31487 $(NORMAL_TARGET_EXPORTS) \
31488 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
31489 for flag in $(EXTRA_TARGET_FLAGS); do \
31490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31491 done; \
31492 (cd $(TARGET_SUBDIR)/libffi && \
31493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31495 "RANLIB=$${RANLIB}" \
31496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31497 install-info) \
31498 || exit 1
31500 @endif target-libffi
31502 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
31503 maybe-installcheck-target-libffi:
31504 @if target-libffi
31505 maybe-installcheck-target-libffi: installcheck-target-libffi
31507 installcheck-target-libffi: \
31508 configure-target-libffi
31509 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31510 r=`${PWD_COMMAND}`; export r; \
31511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31512 $(NORMAL_TARGET_EXPORTS) \
31513 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
31514 for flag in $(EXTRA_TARGET_FLAGS); do \
31515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31516 done; \
31517 (cd $(TARGET_SUBDIR)/libffi && \
31518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31520 "RANLIB=$${RANLIB}" \
31521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31522 installcheck) \
31523 || exit 1
31525 @endif target-libffi
31527 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
31528 maybe-mostlyclean-target-libffi:
31529 @if target-libffi
31530 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
31532 mostlyclean-target-libffi:
31533 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31534 r=`${PWD_COMMAND}`; export r; \
31535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31536 $(NORMAL_TARGET_EXPORTS) \
31537 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
31538 for flag in $(EXTRA_TARGET_FLAGS); do \
31539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31540 done; \
31541 (cd $(TARGET_SUBDIR)/libffi && \
31542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31544 "RANLIB=$${RANLIB}" \
31545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31546 mostlyclean) \
31547 || exit 1
31549 @endif target-libffi
31551 .PHONY: maybe-clean-target-libffi clean-target-libffi
31552 maybe-clean-target-libffi:
31553 @if target-libffi
31554 maybe-clean-target-libffi: clean-target-libffi
31556 clean-target-libffi:
31557 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31558 r=`${PWD_COMMAND}`; export r; \
31559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31560 $(NORMAL_TARGET_EXPORTS) \
31561 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
31562 for flag in $(EXTRA_TARGET_FLAGS); do \
31563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31564 done; \
31565 (cd $(TARGET_SUBDIR)/libffi && \
31566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31568 "RANLIB=$${RANLIB}" \
31569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31570 clean) \
31571 || exit 1
31573 @endif target-libffi
31575 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
31576 maybe-distclean-target-libffi:
31577 @if target-libffi
31578 maybe-distclean-target-libffi: distclean-target-libffi
31580 distclean-target-libffi:
31581 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31582 r=`${PWD_COMMAND}`; export r; \
31583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31584 $(NORMAL_TARGET_EXPORTS) \
31585 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
31586 for flag in $(EXTRA_TARGET_FLAGS); do \
31587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31588 done; \
31589 (cd $(TARGET_SUBDIR)/libffi && \
31590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31592 "RANLIB=$${RANLIB}" \
31593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31594 distclean) \
31595 || exit 1
31597 @endif target-libffi
31599 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
31600 maybe-maintainer-clean-target-libffi:
31601 @if target-libffi
31602 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
31604 maintainer-clean-target-libffi:
31605 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31606 r=`${PWD_COMMAND}`; export r; \
31607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31608 $(NORMAL_TARGET_EXPORTS) \
31609 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
31610 for flag in $(EXTRA_TARGET_FLAGS); do \
31611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31612 done; \
31613 (cd $(TARGET_SUBDIR)/libffi && \
31614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31616 "RANLIB=$${RANLIB}" \
31617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31618 maintainer-clean) \
31619 || exit 1
31621 @endif target-libffi
31625 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31626 @if target-libjava
31627 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
31628 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31629 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
31630 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
31631 @endif target-libjava
31635 .PHONY: configure-target-libjava maybe-configure-target-libjava
31636 maybe-configure-target-libjava:
31637 @if target-libjava
31638 maybe-configure-target-libjava: configure-target-libjava
31639 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
31640 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
31641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31642 r=`${PWD_COMMAND}`; export r; \
31643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31644 $(RAW_CXX_TARGET_EXPORTS) \
31645 echo Configuring in $(TARGET_SUBDIR)/libjava; \
31646 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
31647 case $(srcdir) in \
31648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31649 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
31650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31651 esac; \
31652 srcdiroption="--srcdir=$${topdir}/libjava"; \
31653 libsrcdir="$$s/libjava"; \
31654 rm -f no-such-file || : ; \
31655 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31656 $(TARGET_CONFIGARGS) $${srcdiroption} \
31657 || exit 1
31658 @endif target-libjava
31664 .PHONY: all-target-libjava maybe-all-target-libjava
31665 maybe-all-target-libjava:
31666 @if target-libjava
31667 TARGET-target-libjava=all
31668 maybe-all-target-libjava: all-target-libjava
31669 all-target-libjava: configure-target-libjava
31670 @r=`${PWD_COMMAND}`; export r; \
31671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31672 $(RAW_CXX_TARGET_EXPORTS) \
31673 (cd $(TARGET_SUBDIR)/libjava && \
31674 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
31675 @endif target-libjava
31681 .PHONY: check-target-libjava maybe-check-target-libjava
31682 maybe-check-target-libjava:
31683 @if target-libjava
31684 maybe-check-target-libjava: check-target-libjava
31686 check-target-libjava:
31687 @r=`${PWD_COMMAND}`; export r; \
31688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31689 $(RAW_CXX_TARGET_EXPORTS) \
31690 (cd $(TARGET_SUBDIR)/libjava && \
31691 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31693 @endif target-libjava
31695 .PHONY: install-target-libjava maybe-install-target-libjava
31696 maybe-install-target-libjava:
31697 @if target-libjava
31698 maybe-install-target-libjava: install-target-libjava
31700 install-target-libjava: installdirs
31701 @r=`${PWD_COMMAND}`; export r; \
31702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31703 $(RAW_CXX_TARGET_EXPORTS) \
31704 (cd $(TARGET_SUBDIR)/libjava && \
31705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31707 @endif target-libjava
31709 # Other targets (info, dvi, etc.)
31711 .PHONY: maybe-info-target-libjava info-target-libjava
31712 maybe-info-target-libjava:
31713 @if target-libjava
31714 maybe-info-target-libjava: info-target-libjava
31716 info-target-libjava: \
31717 configure-target-libjava
31718 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31719 r=`${PWD_COMMAND}`; export r; \
31720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31721 $(RAW_CXX_TARGET_EXPORTS) \
31722 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
31723 for flag in $(EXTRA_TARGET_FLAGS); do \
31724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31725 done; \
31726 (cd $(TARGET_SUBDIR)/libjava && \
31727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31729 "RANLIB=$${RANLIB}" \
31730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31731 info) \
31732 || exit 1
31734 @endif target-libjava
31736 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
31737 maybe-dvi-target-libjava:
31738 @if target-libjava
31739 maybe-dvi-target-libjava: dvi-target-libjava
31741 dvi-target-libjava: \
31742 configure-target-libjava
31743 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31744 r=`${PWD_COMMAND}`; export r; \
31745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31746 $(RAW_CXX_TARGET_EXPORTS) \
31747 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
31748 for flag in $(EXTRA_TARGET_FLAGS); do \
31749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31750 done; \
31751 (cd $(TARGET_SUBDIR)/libjava && \
31752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31754 "RANLIB=$${RANLIB}" \
31755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31756 dvi) \
31757 || exit 1
31759 @endif target-libjava
31761 .PHONY: maybe-html-target-libjava html-target-libjava
31762 maybe-html-target-libjava:
31763 @if target-libjava
31764 maybe-html-target-libjava: html-target-libjava
31766 html-target-libjava: \
31767 configure-target-libjava
31768 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31769 r=`${PWD_COMMAND}`; export r; \
31770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31771 $(RAW_CXX_TARGET_EXPORTS) \
31772 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
31773 for flag in $(EXTRA_TARGET_FLAGS); do \
31774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31775 done; \
31776 (cd $(TARGET_SUBDIR)/libjava && \
31777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31779 "RANLIB=$${RANLIB}" \
31780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31781 html) \
31782 || exit 1
31784 @endif target-libjava
31786 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
31787 maybe-TAGS-target-libjava:
31788 @if target-libjava
31789 maybe-TAGS-target-libjava: TAGS-target-libjava
31791 TAGS-target-libjava: \
31792 configure-target-libjava
31793 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31794 r=`${PWD_COMMAND}`; export r; \
31795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31796 $(RAW_CXX_TARGET_EXPORTS) \
31797 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
31798 for flag in $(EXTRA_TARGET_FLAGS); do \
31799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31800 done; \
31801 (cd $(TARGET_SUBDIR)/libjava && \
31802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31804 "RANLIB=$${RANLIB}" \
31805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31806 TAGS) \
31807 || exit 1
31809 @endif target-libjava
31811 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
31812 maybe-install-info-target-libjava:
31813 @if target-libjava
31814 maybe-install-info-target-libjava: install-info-target-libjava
31816 install-info-target-libjava: \
31817 configure-target-libjava \
31818 info-target-libjava
31819 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31820 r=`${PWD_COMMAND}`; export r; \
31821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31822 $(RAW_CXX_TARGET_EXPORTS) \
31823 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
31824 for flag in $(EXTRA_TARGET_FLAGS); do \
31825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31826 done; \
31827 (cd $(TARGET_SUBDIR)/libjava && \
31828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31830 "RANLIB=$${RANLIB}" \
31831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31832 install-info) \
31833 || exit 1
31835 @endif target-libjava
31837 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
31838 maybe-installcheck-target-libjava:
31839 @if target-libjava
31840 maybe-installcheck-target-libjava: installcheck-target-libjava
31842 installcheck-target-libjava: \
31843 configure-target-libjava
31844 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31845 r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(RAW_CXX_TARGET_EXPORTS) \
31848 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
31849 for flag in $(EXTRA_TARGET_FLAGS); do \
31850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31851 done; \
31852 (cd $(TARGET_SUBDIR)/libjava && \
31853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31855 "RANLIB=$${RANLIB}" \
31856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31857 installcheck) \
31858 || exit 1
31860 @endif target-libjava
31862 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
31863 maybe-mostlyclean-target-libjava:
31864 @if target-libjava
31865 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
31867 mostlyclean-target-libjava:
31868 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31869 r=`${PWD_COMMAND}`; export r; \
31870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31871 $(RAW_CXX_TARGET_EXPORTS) \
31872 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
31873 for flag in $(EXTRA_TARGET_FLAGS); do \
31874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31875 done; \
31876 (cd $(TARGET_SUBDIR)/libjava && \
31877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31879 "RANLIB=$${RANLIB}" \
31880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31881 mostlyclean) \
31882 || exit 1
31884 @endif target-libjava
31886 .PHONY: maybe-clean-target-libjava clean-target-libjava
31887 maybe-clean-target-libjava:
31888 @if target-libjava
31889 maybe-clean-target-libjava: clean-target-libjava
31891 clean-target-libjava:
31892 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31893 r=`${PWD_COMMAND}`; export r; \
31894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31895 $(RAW_CXX_TARGET_EXPORTS) \
31896 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
31897 for flag in $(EXTRA_TARGET_FLAGS); do \
31898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31899 done; \
31900 (cd $(TARGET_SUBDIR)/libjava && \
31901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31903 "RANLIB=$${RANLIB}" \
31904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31905 clean) \
31906 || exit 1
31908 @endif target-libjava
31910 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
31911 maybe-distclean-target-libjava:
31912 @if target-libjava
31913 maybe-distclean-target-libjava: distclean-target-libjava
31915 distclean-target-libjava:
31916 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31917 r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 $(RAW_CXX_TARGET_EXPORTS) \
31920 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
31921 for flag in $(EXTRA_TARGET_FLAGS); do \
31922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31923 done; \
31924 (cd $(TARGET_SUBDIR)/libjava && \
31925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31927 "RANLIB=$${RANLIB}" \
31928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31929 distclean) \
31930 || exit 1
31932 @endif target-libjava
31934 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
31935 maybe-maintainer-clean-target-libjava:
31936 @if target-libjava
31937 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
31939 maintainer-clean-target-libjava:
31940 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31941 r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 $(RAW_CXX_TARGET_EXPORTS) \
31944 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
31945 for flag in $(EXTRA_TARGET_FLAGS); do \
31946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31947 done; \
31948 (cd $(TARGET_SUBDIR)/libjava && \
31949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31951 "RANLIB=$${RANLIB}" \
31952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31953 maintainer-clean) \
31954 || exit 1
31956 @endif target-libjava
31960 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31961 @if target-zlib
31962 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
31963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31964 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
31965 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
31966 @endif target-zlib
31970 .PHONY: configure-target-zlib maybe-configure-target-zlib
31971 maybe-configure-target-zlib:
31972 @if target-zlib
31973 maybe-configure-target-zlib: configure-target-zlib
31974 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
31975 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
31976 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31977 r=`${PWD_COMMAND}`; export r; \
31978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31979 $(NORMAL_TARGET_EXPORTS) \
31980 echo Configuring in $(TARGET_SUBDIR)/zlib; \
31981 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
31982 case $(srcdir) in \
31983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31984 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
31985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31986 esac; \
31987 srcdiroption="--srcdir=$${topdir}/zlib"; \
31988 libsrcdir="$$s/zlib"; \
31989 rm -f no-such-file || : ; \
31990 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31991 $(TARGET_CONFIGARGS) $${srcdiroption} \
31992 || exit 1
31993 @endif target-zlib
31999 .PHONY: all-target-zlib maybe-all-target-zlib
32000 maybe-all-target-zlib:
32001 @if target-zlib
32002 TARGET-target-zlib=all
32003 maybe-all-target-zlib: all-target-zlib
32004 all-target-zlib: configure-target-zlib
32005 @r=`${PWD_COMMAND}`; export r; \
32006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32007 $(NORMAL_TARGET_EXPORTS) \
32008 (cd $(TARGET_SUBDIR)/zlib && \
32009 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
32010 @endif target-zlib
32016 .PHONY: check-target-zlib maybe-check-target-zlib
32017 maybe-check-target-zlib:
32018 @if target-zlib
32019 maybe-check-target-zlib: check-target-zlib
32021 check-target-zlib:
32022 @r=`${PWD_COMMAND}`; export r; \
32023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32024 $(NORMAL_TARGET_EXPORTS) \
32025 (cd $(TARGET_SUBDIR)/zlib && \
32026 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32028 @endif target-zlib
32030 .PHONY: install-target-zlib maybe-install-target-zlib
32031 maybe-install-target-zlib:
32032 @if target-zlib
32033 maybe-install-target-zlib: install-target-zlib
32035 install-target-zlib: installdirs
32036 @r=`${PWD_COMMAND}`; export r; \
32037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32038 $(NORMAL_TARGET_EXPORTS) \
32039 (cd $(TARGET_SUBDIR)/zlib && \
32040 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32042 @endif target-zlib
32044 # Other targets (info, dvi, etc.)
32046 .PHONY: maybe-info-target-zlib info-target-zlib
32047 maybe-info-target-zlib:
32048 @if target-zlib
32049 maybe-info-target-zlib: info-target-zlib
32051 info-target-zlib: \
32052 configure-target-zlib
32053 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32054 r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(NORMAL_TARGET_EXPORTS) \
32057 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
32058 for flag in $(EXTRA_TARGET_FLAGS); do \
32059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32060 done; \
32061 (cd $(TARGET_SUBDIR)/zlib && \
32062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32064 "RANLIB=$${RANLIB}" \
32065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32066 info) \
32067 || exit 1
32069 @endif target-zlib
32071 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
32072 maybe-dvi-target-zlib:
32073 @if target-zlib
32074 maybe-dvi-target-zlib: dvi-target-zlib
32076 dvi-target-zlib: \
32077 configure-target-zlib
32078 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32079 r=`${PWD_COMMAND}`; export r; \
32080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32081 $(NORMAL_TARGET_EXPORTS) \
32082 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
32083 for flag in $(EXTRA_TARGET_FLAGS); do \
32084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32085 done; \
32086 (cd $(TARGET_SUBDIR)/zlib && \
32087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32089 "RANLIB=$${RANLIB}" \
32090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32091 dvi) \
32092 || exit 1
32094 @endif target-zlib
32096 .PHONY: maybe-html-target-zlib html-target-zlib
32097 maybe-html-target-zlib:
32098 @if target-zlib
32099 maybe-html-target-zlib: html-target-zlib
32101 html-target-zlib: \
32102 configure-target-zlib
32103 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32104 r=`${PWD_COMMAND}`; export r; \
32105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32106 $(NORMAL_TARGET_EXPORTS) \
32107 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
32108 for flag in $(EXTRA_TARGET_FLAGS); do \
32109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32110 done; \
32111 (cd $(TARGET_SUBDIR)/zlib && \
32112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32114 "RANLIB=$${RANLIB}" \
32115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32116 html) \
32117 || exit 1
32119 @endif target-zlib
32121 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
32122 maybe-TAGS-target-zlib:
32123 @if target-zlib
32124 maybe-TAGS-target-zlib: TAGS-target-zlib
32126 TAGS-target-zlib: \
32127 configure-target-zlib
32128 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32129 r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(NORMAL_TARGET_EXPORTS) \
32132 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
32133 for flag in $(EXTRA_TARGET_FLAGS); do \
32134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32135 done; \
32136 (cd $(TARGET_SUBDIR)/zlib && \
32137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32139 "RANLIB=$${RANLIB}" \
32140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32141 TAGS) \
32142 || exit 1
32144 @endif target-zlib
32146 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
32147 maybe-install-info-target-zlib:
32148 @if target-zlib
32149 maybe-install-info-target-zlib: install-info-target-zlib
32151 install-info-target-zlib: \
32152 configure-target-zlib \
32153 info-target-zlib
32154 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32155 r=`${PWD_COMMAND}`; export r; \
32156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32157 $(NORMAL_TARGET_EXPORTS) \
32158 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
32159 for flag in $(EXTRA_TARGET_FLAGS); do \
32160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32161 done; \
32162 (cd $(TARGET_SUBDIR)/zlib && \
32163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32165 "RANLIB=$${RANLIB}" \
32166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32167 install-info) \
32168 || exit 1
32170 @endif target-zlib
32172 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
32173 maybe-installcheck-target-zlib:
32174 @if target-zlib
32175 maybe-installcheck-target-zlib: installcheck-target-zlib
32177 installcheck-target-zlib: \
32178 configure-target-zlib
32179 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32180 r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 $(NORMAL_TARGET_EXPORTS) \
32183 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
32184 for flag in $(EXTRA_TARGET_FLAGS); do \
32185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32186 done; \
32187 (cd $(TARGET_SUBDIR)/zlib && \
32188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32190 "RANLIB=$${RANLIB}" \
32191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32192 installcheck) \
32193 || exit 1
32195 @endif target-zlib
32197 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
32198 maybe-mostlyclean-target-zlib:
32199 @if target-zlib
32200 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
32202 mostlyclean-target-zlib:
32203 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32204 r=`${PWD_COMMAND}`; export r; \
32205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32206 $(NORMAL_TARGET_EXPORTS) \
32207 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
32208 for flag in $(EXTRA_TARGET_FLAGS); do \
32209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32210 done; \
32211 (cd $(TARGET_SUBDIR)/zlib && \
32212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32214 "RANLIB=$${RANLIB}" \
32215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32216 mostlyclean) \
32217 || exit 1
32219 @endif target-zlib
32221 .PHONY: maybe-clean-target-zlib clean-target-zlib
32222 maybe-clean-target-zlib:
32223 @if target-zlib
32224 maybe-clean-target-zlib: clean-target-zlib
32226 clean-target-zlib:
32227 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32228 r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 $(NORMAL_TARGET_EXPORTS) \
32231 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
32232 for flag in $(EXTRA_TARGET_FLAGS); do \
32233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32234 done; \
32235 (cd $(TARGET_SUBDIR)/zlib && \
32236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32238 "RANLIB=$${RANLIB}" \
32239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32240 clean) \
32241 || exit 1
32243 @endif target-zlib
32245 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
32246 maybe-distclean-target-zlib:
32247 @if target-zlib
32248 maybe-distclean-target-zlib: distclean-target-zlib
32250 distclean-target-zlib:
32251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32252 r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 $(NORMAL_TARGET_EXPORTS) \
32255 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
32256 for flag in $(EXTRA_TARGET_FLAGS); do \
32257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32258 done; \
32259 (cd $(TARGET_SUBDIR)/zlib && \
32260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32262 "RANLIB=$${RANLIB}" \
32263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32264 distclean) \
32265 || exit 1
32267 @endif target-zlib
32269 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
32270 maybe-maintainer-clean-target-zlib:
32271 @if target-zlib
32272 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
32274 maintainer-clean-target-zlib:
32275 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32276 r=`${PWD_COMMAND}`; export r; \
32277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32278 $(NORMAL_TARGET_EXPORTS) \
32279 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
32280 for flag in $(EXTRA_TARGET_FLAGS); do \
32281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32282 done; \
32283 (cd $(TARGET_SUBDIR)/zlib && \
32284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32286 "RANLIB=$${RANLIB}" \
32287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32288 maintainer-clean) \
32289 || exit 1
32291 @endif target-zlib
32295 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32296 @if target-boehm-gc
32297 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
32298 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32299 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
32300 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
32301 @endif target-boehm-gc
32305 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
32306 maybe-configure-target-boehm-gc:
32307 @if target-boehm-gc
32308 maybe-configure-target-boehm-gc: configure-target-boehm-gc
32309 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
32310 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
32311 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32312 r=`${PWD_COMMAND}`; export r; \
32313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32314 $(NORMAL_TARGET_EXPORTS) \
32315 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
32316 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
32317 case $(srcdir) in \
32318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32319 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
32320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32321 esac; \
32322 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
32323 libsrcdir="$$s/boehm-gc"; \
32324 rm -f no-such-file || : ; \
32325 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32326 $(TARGET_CONFIGARGS) $${srcdiroption} \
32327 || exit 1
32328 @endif target-boehm-gc
32334 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
32335 maybe-all-target-boehm-gc:
32336 @if target-boehm-gc
32337 TARGET-target-boehm-gc=all
32338 maybe-all-target-boehm-gc: all-target-boehm-gc
32339 all-target-boehm-gc: configure-target-boehm-gc
32340 @r=`${PWD_COMMAND}`; export r; \
32341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32342 $(NORMAL_TARGET_EXPORTS) \
32343 (cd $(TARGET_SUBDIR)/boehm-gc && \
32344 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
32345 @endif target-boehm-gc
32351 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
32352 maybe-check-target-boehm-gc:
32353 @if target-boehm-gc
32354 maybe-check-target-boehm-gc: check-target-boehm-gc
32356 check-target-boehm-gc:
32357 @r=`${PWD_COMMAND}`; export r; \
32358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32359 $(NORMAL_TARGET_EXPORTS) \
32360 (cd $(TARGET_SUBDIR)/boehm-gc && \
32361 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32363 @endif target-boehm-gc
32365 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
32366 maybe-install-target-boehm-gc:
32367 @if target-boehm-gc
32368 maybe-install-target-boehm-gc: install-target-boehm-gc
32370 install-target-boehm-gc: installdirs
32371 @r=`${PWD_COMMAND}`; export r; \
32372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32373 $(NORMAL_TARGET_EXPORTS) \
32374 (cd $(TARGET_SUBDIR)/boehm-gc && \
32375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32377 @endif target-boehm-gc
32379 # Other targets (info, dvi, etc.)
32381 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
32382 maybe-info-target-boehm-gc:
32383 @if target-boehm-gc
32384 maybe-info-target-boehm-gc: info-target-boehm-gc
32386 info-target-boehm-gc: \
32387 configure-target-boehm-gc
32388 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32389 r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 $(NORMAL_TARGET_EXPORTS) \
32392 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
32393 for flag in $(EXTRA_TARGET_FLAGS); do \
32394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32395 done; \
32396 (cd $(TARGET_SUBDIR)/boehm-gc && \
32397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32399 "RANLIB=$${RANLIB}" \
32400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32401 info) \
32402 || exit 1
32404 @endif target-boehm-gc
32406 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
32407 maybe-dvi-target-boehm-gc:
32408 @if target-boehm-gc
32409 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
32411 dvi-target-boehm-gc: \
32412 configure-target-boehm-gc
32413 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32414 r=`${PWD_COMMAND}`; export r; \
32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32416 $(NORMAL_TARGET_EXPORTS) \
32417 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
32418 for flag in $(EXTRA_TARGET_FLAGS); do \
32419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32420 done; \
32421 (cd $(TARGET_SUBDIR)/boehm-gc && \
32422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32424 "RANLIB=$${RANLIB}" \
32425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32426 dvi) \
32427 || exit 1
32429 @endif target-boehm-gc
32431 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
32432 maybe-html-target-boehm-gc:
32433 @if target-boehm-gc
32434 maybe-html-target-boehm-gc: html-target-boehm-gc
32436 html-target-boehm-gc: \
32437 configure-target-boehm-gc
32438 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32439 r=`${PWD_COMMAND}`; export r; \
32440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32441 $(NORMAL_TARGET_EXPORTS) \
32442 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
32443 for flag in $(EXTRA_TARGET_FLAGS); do \
32444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32445 done; \
32446 (cd $(TARGET_SUBDIR)/boehm-gc && \
32447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32449 "RANLIB=$${RANLIB}" \
32450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32451 html) \
32452 || exit 1
32454 @endif target-boehm-gc
32456 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
32457 maybe-TAGS-target-boehm-gc:
32458 @if target-boehm-gc
32459 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
32461 TAGS-target-boehm-gc: \
32462 configure-target-boehm-gc
32463 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32464 r=`${PWD_COMMAND}`; export r; \
32465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32466 $(NORMAL_TARGET_EXPORTS) \
32467 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
32468 for flag in $(EXTRA_TARGET_FLAGS); do \
32469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32470 done; \
32471 (cd $(TARGET_SUBDIR)/boehm-gc && \
32472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32474 "RANLIB=$${RANLIB}" \
32475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32476 TAGS) \
32477 || exit 1
32479 @endif target-boehm-gc
32481 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
32482 maybe-install-info-target-boehm-gc:
32483 @if target-boehm-gc
32484 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
32486 install-info-target-boehm-gc: \
32487 configure-target-boehm-gc \
32488 info-target-boehm-gc
32489 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32490 r=`${PWD_COMMAND}`; export r; \
32491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32492 $(NORMAL_TARGET_EXPORTS) \
32493 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
32494 for flag in $(EXTRA_TARGET_FLAGS); do \
32495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32496 done; \
32497 (cd $(TARGET_SUBDIR)/boehm-gc && \
32498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32500 "RANLIB=$${RANLIB}" \
32501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32502 install-info) \
32503 || exit 1
32505 @endif target-boehm-gc
32507 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
32508 maybe-installcheck-target-boehm-gc:
32509 @if target-boehm-gc
32510 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
32512 installcheck-target-boehm-gc: \
32513 configure-target-boehm-gc
32514 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32515 r=`${PWD_COMMAND}`; export r; \
32516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32517 $(NORMAL_TARGET_EXPORTS) \
32518 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
32519 for flag in $(EXTRA_TARGET_FLAGS); do \
32520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32521 done; \
32522 (cd $(TARGET_SUBDIR)/boehm-gc && \
32523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32525 "RANLIB=$${RANLIB}" \
32526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32527 installcheck) \
32528 || exit 1
32530 @endif target-boehm-gc
32532 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
32533 maybe-mostlyclean-target-boehm-gc:
32534 @if target-boehm-gc
32535 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
32537 mostlyclean-target-boehm-gc:
32538 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32539 r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 $(NORMAL_TARGET_EXPORTS) \
32542 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32543 for flag in $(EXTRA_TARGET_FLAGS); do \
32544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32545 done; \
32546 (cd $(TARGET_SUBDIR)/boehm-gc && \
32547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32549 "RANLIB=$${RANLIB}" \
32550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32551 mostlyclean) \
32552 || exit 1
32554 @endif target-boehm-gc
32556 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
32557 maybe-clean-target-boehm-gc:
32558 @if target-boehm-gc
32559 maybe-clean-target-boehm-gc: clean-target-boehm-gc
32561 clean-target-boehm-gc:
32562 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32563 r=`${PWD_COMMAND}`; export r; \
32564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32565 $(NORMAL_TARGET_EXPORTS) \
32566 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32567 for flag in $(EXTRA_TARGET_FLAGS); do \
32568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32569 done; \
32570 (cd $(TARGET_SUBDIR)/boehm-gc && \
32571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32573 "RANLIB=$${RANLIB}" \
32574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32575 clean) \
32576 || exit 1
32578 @endif target-boehm-gc
32580 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
32581 maybe-distclean-target-boehm-gc:
32582 @if target-boehm-gc
32583 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
32585 distclean-target-boehm-gc:
32586 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32587 r=`${PWD_COMMAND}`; export r; \
32588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32589 $(NORMAL_TARGET_EXPORTS) \
32590 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32591 for flag in $(EXTRA_TARGET_FLAGS); do \
32592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32593 done; \
32594 (cd $(TARGET_SUBDIR)/boehm-gc && \
32595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32597 "RANLIB=$${RANLIB}" \
32598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32599 distclean) \
32600 || exit 1
32602 @endif target-boehm-gc
32604 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
32605 maybe-maintainer-clean-target-boehm-gc:
32606 @if target-boehm-gc
32607 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
32609 maintainer-clean-target-boehm-gc:
32610 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32611 r=`${PWD_COMMAND}`; export r; \
32612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32613 $(NORMAL_TARGET_EXPORTS) \
32614 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32615 for flag in $(EXTRA_TARGET_FLAGS); do \
32616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32617 done; \
32618 (cd $(TARGET_SUBDIR)/boehm-gc && \
32619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32621 "RANLIB=$${RANLIB}" \
32622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32623 maintainer-clean) \
32624 || exit 1
32626 @endif target-boehm-gc
32630 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32631 @if target-qthreads
32632 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
32633 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32634 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
32635 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
32636 @endif target-qthreads
32640 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
32641 maybe-configure-target-qthreads:
32642 @if target-qthreads
32643 maybe-configure-target-qthreads: configure-target-qthreads
32644 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
32645 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
32646 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32647 r=`${PWD_COMMAND}`; export r; \
32648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32649 $(NORMAL_TARGET_EXPORTS) \
32650 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
32651 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
32652 case $(srcdir) in \
32653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32654 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
32655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32656 esac; \
32657 srcdiroption="--srcdir=$${topdir}/qthreads"; \
32658 libsrcdir="$$s/qthreads"; \
32659 rm -f no-such-file || : ; \
32660 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32661 $(TARGET_CONFIGARGS) $${srcdiroption} \
32662 || exit 1
32663 @endif target-qthreads
32669 .PHONY: all-target-qthreads maybe-all-target-qthreads
32670 maybe-all-target-qthreads:
32671 @if target-qthreads
32672 TARGET-target-qthreads=all
32673 maybe-all-target-qthreads: all-target-qthreads
32674 all-target-qthreads: configure-target-qthreads
32675 @r=`${PWD_COMMAND}`; export r; \
32676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32677 $(NORMAL_TARGET_EXPORTS) \
32678 (cd $(TARGET_SUBDIR)/qthreads && \
32679 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
32680 @endif target-qthreads
32686 .PHONY: check-target-qthreads maybe-check-target-qthreads
32687 maybe-check-target-qthreads:
32688 @if target-qthreads
32689 maybe-check-target-qthreads: check-target-qthreads
32691 check-target-qthreads:
32692 @r=`${PWD_COMMAND}`; export r; \
32693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32694 $(NORMAL_TARGET_EXPORTS) \
32695 (cd $(TARGET_SUBDIR)/qthreads && \
32696 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32698 @endif target-qthreads
32700 .PHONY: install-target-qthreads maybe-install-target-qthreads
32701 maybe-install-target-qthreads:
32702 @if target-qthreads
32703 maybe-install-target-qthreads: install-target-qthreads
32705 install-target-qthreads: installdirs
32706 @r=`${PWD_COMMAND}`; export r; \
32707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32708 $(NORMAL_TARGET_EXPORTS) \
32709 (cd $(TARGET_SUBDIR)/qthreads && \
32710 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32712 @endif target-qthreads
32714 # Other targets (info, dvi, etc.)
32716 .PHONY: maybe-info-target-qthreads info-target-qthreads
32717 maybe-info-target-qthreads:
32718 @if target-qthreads
32719 maybe-info-target-qthreads: info-target-qthreads
32721 info-target-qthreads: \
32722 configure-target-qthreads
32723 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32724 r=`${PWD_COMMAND}`; export r; \
32725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32726 $(NORMAL_TARGET_EXPORTS) \
32727 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
32728 for flag in $(EXTRA_TARGET_FLAGS); do \
32729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32730 done; \
32731 (cd $(TARGET_SUBDIR)/qthreads && \
32732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32734 "RANLIB=$${RANLIB}" \
32735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32736 info) \
32737 || exit 1
32739 @endif target-qthreads
32741 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
32742 maybe-dvi-target-qthreads:
32743 @if target-qthreads
32744 maybe-dvi-target-qthreads: dvi-target-qthreads
32746 dvi-target-qthreads: \
32747 configure-target-qthreads
32748 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32749 r=`${PWD_COMMAND}`; export r; \
32750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32751 $(NORMAL_TARGET_EXPORTS) \
32752 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
32753 for flag in $(EXTRA_TARGET_FLAGS); do \
32754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32755 done; \
32756 (cd $(TARGET_SUBDIR)/qthreads && \
32757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32759 "RANLIB=$${RANLIB}" \
32760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32761 dvi) \
32762 || exit 1
32764 @endif target-qthreads
32766 .PHONY: maybe-html-target-qthreads html-target-qthreads
32767 maybe-html-target-qthreads:
32768 @if target-qthreads
32769 maybe-html-target-qthreads: html-target-qthreads
32771 html-target-qthreads: \
32772 configure-target-qthreads
32773 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32774 r=`${PWD_COMMAND}`; export r; \
32775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32776 $(NORMAL_TARGET_EXPORTS) \
32777 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
32778 for flag in $(EXTRA_TARGET_FLAGS); do \
32779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32780 done; \
32781 (cd $(TARGET_SUBDIR)/qthreads && \
32782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32784 "RANLIB=$${RANLIB}" \
32785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32786 html) \
32787 || exit 1
32789 @endif target-qthreads
32791 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
32792 maybe-TAGS-target-qthreads:
32793 @if target-qthreads
32794 maybe-TAGS-target-qthreads: TAGS-target-qthreads
32796 TAGS-target-qthreads: \
32797 configure-target-qthreads
32798 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32799 r=`${PWD_COMMAND}`; export r; \
32800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32801 $(NORMAL_TARGET_EXPORTS) \
32802 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
32803 for flag in $(EXTRA_TARGET_FLAGS); do \
32804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32805 done; \
32806 (cd $(TARGET_SUBDIR)/qthreads && \
32807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32809 "RANLIB=$${RANLIB}" \
32810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32811 TAGS) \
32812 || exit 1
32814 @endif target-qthreads
32816 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
32817 maybe-install-info-target-qthreads:
32818 @if target-qthreads
32819 maybe-install-info-target-qthreads: install-info-target-qthreads
32821 install-info-target-qthreads: \
32822 configure-target-qthreads \
32823 info-target-qthreads
32824 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32825 r=`${PWD_COMMAND}`; export r; \
32826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32827 $(NORMAL_TARGET_EXPORTS) \
32828 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
32829 for flag in $(EXTRA_TARGET_FLAGS); do \
32830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32831 done; \
32832 (cd $(TARGET_SUBDIR)/qthreads && \
32833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32835 "RANLIB=$${RANLIB}" \
32836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32837 install-info) \
32838 || exit 1
32840 @endif target-qthreads
32842 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
32843 maybe-installcheck-target-qthreads:
32844 @if target-qthreads
32845 maybe-installcheck-target-qthreads: installcheck-target-qthreads
32847 installcheck-target-qthreads: \
32848 configure-target-qthreads
32849 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(NORMAL_TARGET_EXPORTS) \
32853 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
32854 for flag in $(EXTRA_TARGET_FLAGS); do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 (cd $(TARGET_SUBDIR)/qthreads && \
32858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32860 "RANLIB=$${RANLIB}" \
32861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32862 installcheck) \
32863 || exit 1
32865 @endif target-qthreads
32867 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
32868 maybe-mostlyclean-target-qthreads:
32869 @if target-qthreads
32870 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
32872 mostlyclean-target-qthreads:
32873 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32874 r=`${PWD_COMMAND}`; export r; \
32875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32876 $(NORMAL_TARGET_EXPORTS) \
32877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
32878 for flag in $(EXTRA_TARGET_FLAGS); do \
32879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32880 done; \
32881 (cd $(TARGET_SUBDIR)/qthreads && \
32882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32884 "RANLIB=$${RANLIB}" \
32885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32886 mostlyclean) \
32887 || exit 1
32889 @endif target-qthreads
32891 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
32892 maybe-clean-target-qthreads:
32893 @if target-qthreads
32894 maybe-clean-target-qthreads: clean-target-qthreads
32896 clean-target-qthreads:
32897 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32898 r=`${PWD_COMMAND}`; export r; \
32899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32900 $(NORMAL_TARGET_EXPORTS) \
32901 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
32902 for flag in $(EXTRA_TARGET_FLAGS); do \
32903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32904 done; \
32905 (cd $(TARGET_SUBDIR)/qthreads && \
32906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32908 "RANLIB=$${RANLIB}" \
32909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32910 clean) \
32911 || exit 1
32913 @endif target-qthreads
32915 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
32916 maybe-distclean-target-qthreads:
32917 @if target-qthreads
32918 maybe-distclean-target-qthreads: distclean-target-qthreads
32920 distclean-target-qthreads:
32921 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32922 r=`${PWD_COMMAND}`; export r; \
32923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32924 $(NORMAL_TARGET_EXPORTS) \
32925 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
32926 for flag in $(EXTRA_TARGET_FLAGS); do \
32927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32928 done; \
32929 (cd $(TARGET_SUBDIR)/qthreads && \
32930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32932 "RANLIB=$${RANLIB}" \
32933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32934 distclean) \
32935 || exit 1
32937 @endif target-qthreads
32939 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
32940 maybe-maintainer-clean-target-qthreads:
32941 @if target-qthreads
32942 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
32944 maintainer-clean-target-qthreads:
32945 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32946 r=`${PWD_COMMAND}`; export r; \
32947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32948 $(NORMAL_TARGET_EXPORTS) \
32949 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
32950 for flag in $(EXTRA_TARGET_FLAGS); do \
32951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32952 done; \
32953 (cd $(TARGET_SUBDIR)/qthreads && \
32954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32956 "RANLIB=$${RANLIB}" \
32957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32958 maintainer-clean) \
32959 || exit 1
32961 @endif target-qthreads
32965 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32966 @if target-rda
32967 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
32968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32969 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
32970 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
32971 @endif target-rda
32975 .PHONY: configure-target-rda maybe-configure-target-rda
32976 maybe-configure-target-rda:
32977 @if target-rda
32978 maybe-configure-target-rda: configure-target-rda
32979 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
32980 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
32981 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32982 r=`${PWD_COMMAND}`; export r; \
32983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32984 $(NORMAL_TARGET_EXPORTS) \
32985 echo Configuring in $(TARGET_SUBDIR)/rda; \
32986 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
32987 case $(srcdir) in \
32988 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32989 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
32990 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32991 esac; \
32992 srcdiroption="--srcdir=$${topdir}/rda"; \
32993 libsrcdir="$$s/rda"; \
32994 rm -f no-such-file || : ; \
32995 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32996 $(TARGET_CONFIGARGS) $${srcdiroption} \
32997 || exit 1
32998 @endif target-rda
33004 .PHONY: all-target-rda maybe-all-target-rda
33005 maybe-all-target-rda:
33006 @if target-rda
33007 TARGET-target-rda=all
33008 maybe-all-target-rda: all-target-rda
33009 all-target-rda: configure-target-rda
33010 @r=`${PWD_COMMAND}`; export r; \
33011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33012 $(NORMAL_TARGET_EXPORTS) \
33013 (cd $(TARGET_SUBDIR)/rda && \
33014 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
33015 @endif target-rda
33021 .PHONY: check-target-rda maybe-check-target-rda
33022 maybe-check-target-rda:
33023 @if target-rda
33024 maybe-check-target-rda: check-target-rda
33026 check-target-rda:
33027 @r=`${PWD_COMMAND}`; export r; \
33028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33029 $(NORMAL_TARGET_EXPORTS) \
33030 (cd $(TARGET_SUBDIR)/rda && \
33031 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33033 @endif target-rda
33035 .PHONY: install-target-rda maybe-install-target-rda
33036 maybe-install-target-rda:
33037 @if target-rda
33038 maybe-install-target-rda: install-target-rda
33040 install-target-rda: installdirs
33041 @r=`${PWD_COMMAND}`; export r; \
33042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33043 $(NORMAL_TARGET_EXPORTS) \
33044 (cd $(TARGET_SUBDIR)/rda && \
33045 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33047 @endif target-rda
33049 # Other targets (info, dvi, etc.)
33051 .PHONY: maybe-info-target-rda info-target-rda
33052 maybe-info-target-rda:
33053 @if target-rda
33054 maybe-info-target-rda: info-target-rda
33056 info-target-rda: \
33057 configure-target-rda
33058 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33059 r=`${PWD_COMMAND}`; export r; \
33060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33061 $(NORMAL_TARGET_EXPORTS) \
33062 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
33063 for flag in $(EXTRA_TARGET_FLAGS); do \
33064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33065 done; \
33066 (cd $(TARGET_SUBDIR)/rda && \
33067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33069 "RANLIB=$${RANLIB}" \
33070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33071 info) \
33072 || exit 1
33074 @endif target-rda
33076 .PHONY: maybe-dvi-target-rda dvi-target-rda
33077 maybe-dvi-target-rda:
33078 @if target-rda
33079 maybe-dvi-target-rda: dvi-target-rda
33081 dvi-target-rda: \
33082 configure-target-rda
33083 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(NORMAL_TARGET_EXPORTS) \
33087 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
33088 for flag in $(EXTRA_TARGET_FLAGS); do \
33089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33090 done; \
33091 (cd $(TARGET_SUBDIR)/rda && \
33092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33094 "RANLIB=$${RANLIB}" \
33095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33096 dvi) \
33097 || exit 1
33099 @endif target-rda
33101 .PHONY: maybe-html-target-rda html-target-rda
33102 maybe-html-target-rda:
33103 @if target-rda
33104 maybe-html-target-rda: html-target-rda
33106 html-target-rda: \
33107 configure-target-rda
33108 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33109 r=`${PWD_COMMAND}`; export r; \
33110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33111 $(NORMAL_TARGET_EXPORTS) \
33112 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
33113 for flag in $(EXTRA_TARGET_FLAGS); do \
33114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33115 done; \
33116 (cd $(TARGET_SUBDIR)/rda && \
33117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33119 "RANLIB=$${RANLIB}" \
33120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33121 html) \
33122 || exit 1
33124 @endif target-rda
33126 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
33127 maybe-TAGS-target-rda:
33128 @if target-rda
33129 maybe-TAGS-target-rda: TAGS-target-rda
33131 TAGS-target-rda: \
33132 configure-target-rda
33133 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33134 r=`${PWD_COMMAND}`; export r; \
33135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33136 $(NORMAL_TARGET_EXPORTS) \
33137 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
33138 for flag in $(EXTRA_TARGET_FLAGS); do \
33139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33140 done; \
33141 (cd $(TARGET_SUBDIR)/rda && \
33142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33144 "RANLIB=$${RANLIB}" \
33145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33146 TAGS) \
33147 || exit 1
33149 @endif target-rda
33151 .PHONY: maybe-install-info-target-rda install-info-target-rda
33152 maybe-install-info-target-rda:
33153 @if target-rda
33154 maybe-install-info-target-rda: install-info-target-rda
33156 install-info-target-rda: \
33157 configure-target-rda \
33158 info-target-rda
33159 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33160 r=`${PWD_COMMAND}`; export r; \
33161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33162 $(NORMAL_TARGET_EXPORTS) \
33163 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
33164 for flag in $(EXTRA_TARGET_FLAGS); do \
33165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33166 done; \
33167 (cd $(TARGET_SUBDIR)/rda && \
33168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33170 "RANLIB=$${RANLIB}" \
33171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33172 install-info) \
33173 || exit 1
33175 @endif target-rda
33177 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
33178 maybe-installcheck-target-rda:
33179 @if target-rda
33180 maybe-installcheck-target-rda: installcheck-target-rda
33182 installcheck-target-rda: \
33183 configure-target-rda
33184 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33185 r=`${PWD_COMMAND}`; export r; \
33186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33187 $(NORMAL_TARGET_EXPORTS) \
33188 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
33189 for flag in $(EXTRA_TARGET_FLAGS); do \
33190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33191 done; \
33192 (cd $(TARGET_SUBDIR)/rda && \
33193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33195 "RANLIB=$${RANLIB}" \
33196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33197 installcheck) \
33198 || exit 1
33200 @endif target-rda
33202 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
33203 maybe-mostlyclean-target-rda:
33204 @if target-rda
33205 maybe-mostlyclean-target-rda: mostlyclean-target-rda
33207 mostlyclean-target-rda:
33208 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33209 r=`${PWD_COMMAND}`; export r; \
33210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33211 $(NORMAL_TARGET_EXPORTS) \
33212 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
33213 for flag in $(EXTRA_TARGET_FLAGS); do \
33214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33215 done; \
33216 (cd $(TARGET_SUBDIR)/rda && \
33217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33219 "RANLIB=$${RANLIB}" \
33220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33221 mostlyclean) \
33222 || exit 1
33224 @endif target-rda
33226 .PHONY: maybe-clean-target-rda clean-target-rda
33227 maybe-clean-target-rda:
33228 @if target-rda
33229 maybe-clean-target-rda: clean-target-rda
33231 clean-target-rda:
33232 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33233 r=`${PWD_COMMAND}`; export r; \
33234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33235 $(NORMAL_TARGET_EXPORTS) \
33236 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
33237 for flag in $(EXTRA_TARGET_FLAGS); do \
33238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33239 done; \
33240 (cd $(TARGET_SUBDIR)/rda && \
33241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33243 "RANLIB=$${RANLIB}" \
33244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33245 clean) \
33246 || exit 1
33248 @endif target-rda
33250 .PHONY: maybe-distclean-target-rda distclean-target-rda
33251 maybe-distclean-target-rda:
33252 @if target-rda
33253 maybe-distclean-target-rda: distclean-target-rda
33255 distclean-target-rda:
33256 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33257 r=`${PWD_COMMAND}`; export r; \
33258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33259 $(NORMAL_TARGET_EXPORTS) \
33260 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
33261 for flag in $(EXTRA_TARGET_FLAGS); do \
33262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33263 done; \
33264 (cd $(TARGET_SUBDIR)/rda && \
33265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33267 "RANLIB=$${RANLIB}" \
33268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33269 distclean) \
33270 || exit 1
33272 @endif target-rda
33274 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
33275 maybe-maintainer-clean-target-rda:
33276 @if target-rda
33277 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
33279 maintainer-clean-target-rda:
33280 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33281 r=`${PWD_COMMAND}`; export r; \
33282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33283 $(NORMAL_TARGET_EXPORTS) \
33284 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
33285 for flag in $(EXTRA_TARGET_FLAGS); do \
33286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33287 done; \
33288 (cd $(TARGET_SUBDIR)/rda && \
33289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33291 "RANLIB=$${RANLIB}" \
33292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33293 maintainer-clean) \
33294 || exit 1
33296 @endif target-rda
33300 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33301 @if target-libada
33302 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
33303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33304 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
33305 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
33306 @endif target-libada
33310 .PHONY: configure-target-libada maybe-configure-target-libada
33311 maybe-configure-target-libada:
33312 @if target-libada
33313 maybe-configure-target-libada: configure-target-libada
33314 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
33315 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
33316 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33317 r=`${PWD_COMMAND}`; export r; \
33318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33319 $(NORMAL_TARGET_EXPORTS) \
33320 echo Configuring in $(TARGET_SUBDIR)/libada; \
33321 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
33322 case $(srcdir) in \
33323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33324 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
33325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33326 esac; \
33327 srcdiroption="--srcdir=$${topdir}/libada"; \
33328 libsrcdir="$$s/libada"; \
33329 rm -f no-such-file || : ; \
33330 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33331 $(TARGET_CONFIGARGS) $${srcdiroption} \
33332 || exit 1
33333 @endif target-libada
33339 .PHONY: all-target-libada maybe-all-target-libada
33340 maybe-all-target-libada:
33341 @if target-libada
33342 TARGET-target-libada=all
33343 maybe-all-target-libada: all-target-libada
33344 all-target-libada: configure-target-libada
33345 @r=`${PWD_COMMAND}`; export r; \
33346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33347 $(NORMAL_TARGET_EXPORTS) \
33348 (cd $(TARGET_SUBDIR)/libada && \
33349 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
33350 @endif target-libada
33356 .PHONY: check-target-libada maybe-check-target-libada
33357 maybe-check-target-libada:
33358 @if target-libada
33359 maybe-check-target-libada: check-target-libada
33361 check-target-libada:
33362 @r=`${PWD_COMMAND}`; export r; \
33363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33364 $(NORMAL_TARGET_EXPORTS) \
33365 (cd $(TARGET_SUBDIR)/libada && \
33366 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33368 @endif target-libada
33370 .PHONY: install-target-libada maybe-install-target-libada
33371 maybe-install-target-libada:
33372 @if target-libada
33373 maybe-install-target-libada: install-target-libada
33375 install-target-libada: installdirs
33376 @r=`${PWD_COMMAND}`; export r; \
33377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33378 $(NORMAL_TARGET_EXPORTS) \
33379 (cd $(TARGET_SUBDIR)/libada && \
33380 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33382 @endif target-libada
33384 # Other targets (info, dvi, etc.)
33386 .PHONY: maybe-info-target-libada info-target-libada
33387 maybe-info-target-libada:
33388 @if target-libada
33389 maybe-info-target-libada: info-target-libada
33391 info-target-libada: \
33392 configure-target-libada
33393 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33394 r=`${PWD_COMMAND}`; export r; \
33395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33396 $(NORMAL_TARGET_EXPORTS) \
33397 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
33398 for flag in $(EXTRA_TARGET_FLAGS); do \
33399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33400 done; \
33401 (cd $(TARGET_SUBDIR)/libada && \
33402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33404 "RANLIB=$${RANLIB}" \
33405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33406 info) \
33407 || exit 1
33409 @endif target-libada
33411 .PHONY: maybe-dvi-target-libada dvi-target-libada
33412 maybe-dvi-target-libada:
33413 @if target-libada
33414 maybe-dvi-target-libada: dvi-target-libada
33416 dvi-target-libada: \
33417 configure-target-libada
33418 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33419 r=`${PWD_COMMAND}`; export r; \
33420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33421 $(NORMAL_TARGET_EXPORTS) \
33422 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
33423 for flag in $(EXTRA_TARGET_FLAGS); do \
33424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33425 done; \
33426 (cd $(TARGET_SUBDIR)/libada && \
33427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33429 "RANLIB=$${RANLIB}" \
33430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33431 dvi) \
33432 || exit 1
33434 @endif target-libada
33436 .PHONY: maybe-html-target-libada html-target-libada
33437 maybe-html-target-libada:
33438 @if target-libada
33439 maybe-html-target-libada: html-target-libada
33441 html-target-libada: \
33442 configure-target-libada
33443 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33444 r=`${PWD_COMMAND}`; export r; \
33445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33446 $(NORMAL_TARGET_EXPORTS) \
33447 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
33448 for flag in $(EXTRA_TARGET_FLAGS); do \
33449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33450 done; \
33451 (cd $(TARGET_SUBDIR)/libada && \
33452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33454 "RANLIB=$${RANLIB}" \
33455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33456 html) \
33457 || exit 1
33459 @endif target-libada
33461 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
33462 maybe-TAGS-target-libada:
33463 @if target-libada
33464 maybe-TAGS-target-libada: TAGS-target-libada
33466 TAGS-target-libada: \
33467 configure-target-libada
33468 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33469 r=`${PWD_COMMAND}`; export r; \
33470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33471 $(NORMAL_TARGET_EXPORTS) \
33472 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
33473 for flag in $(EXTRA_TARGET_FLAGS); do \
33474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33475 done; \
33476 (cd $(TARGET_SUBDIR)/libada && \
33477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33479 "RANLIB=$${RANLIB}" \
33480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33481 TAGS) \
33482 || exit 1
33484 @endif target-libada
33486 .PHONY: maybe-install-info-target-libada install-info-target-libada
33487 maybe-install-info-target-libada:
33488 @if target-libada
33489 maybe-install-info-target-libada: install-info-target-libada
33491 install-info-target-libada: \
33492 configure-target-libada \
33493 info-target-libada
33494 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33495 r=`${PWD_COMMAND}`; export r; \
33496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33497 $(NORMAL_TARGET_EXPORTS) \
33498 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
33499 for flag in $(EXTRA_TARGET_FLAGS); do \
33500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33501 done; \
33502 (cd $(TARGET_SUBDIR)/libada && \
33503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33505 "RANLIB=$${RANLIB}" \
33506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33507 install-info) \
33508 || exit 1
33510 @endif target-libada
33512 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
33513 maybe-installcheck-target-libada:
33514 @if target-libada
33515 maybe-installcheck-target-libada: installcheck-target-libada
33517 installcheck-target-libada: \
33518 configure-target-libada
33519 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(NORMAL_TARGET_EXPORTS) \
33523 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
33524 for flag in $(EXTRA_TARGET_FLAGS); do \
33525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33526 done; \
33527 (cd $(TARGET_SUBDIR)/libada && \
33528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33530 "RANLIB=$${RANLIB}" \
33531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33532 installcheck) \
33533 || exit 1
33535 @endif target-libada
33537 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
33538 maybe-mostlyclean-target-libada:
33539 @if target-libada
33540 maybe-mostlyclean-target-libada: mostlyclean-target-libada
33542 mostlyclean-target-libada:
33543 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33544 r=`${PWD_COMMAND}`; export r; \
33545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33546 $(NORMAL_TARGET_EXPORTS) \
33547 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
33548 for flag in $(EXTRA_TARGET_FLAGS); do \
33549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33550 done; \
33551 (cd $(TARGET_SUBDIR)/libada && \
33552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33554 "RANLIB=$${RANLIB}" \
33555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33556 mostlyclean) \
33557 || exit 1
33559 @endif target-libada
33561 .PHONY: maybe-clean-target-libada clean-target-libada
33562 maybe-clean-target-libada:
33563 @if target-libada
33564 maybe-clean-target-libada: clean-target-libada
33566 clean-target-libada:
33567 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33568 r=`${PWD_COMMAND}`; export r; \
33569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33570 $(NORMAL_TARGET_EXPORTS) \
33571 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
33572 for flag in $(EXTRA_TARGET_FLAGS); do \
33573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33574 done; \
33575 (cd $(TARGET_SUBDIR)/libada && \
33576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33578 "RANLIB=$${RANLIB}" \
33579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33580 clean) \
33581 || exit 1
33583 @endif target-libada
33585 .PHONY: maybe-distclean-target-libada distclean-target-libada
33586 maybe-distclean-target-libada:
33587 @if target-libada
33588 maybe-distclean-target-libada: distclean-target-libada
33590 distclean-target-libada:
33591 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33592 r=`${PWD_COMMAND}`; export r; \
33593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33594 $(NORMAL_TARGET_EXPORTS) \
33595 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
33596 for flag in $(EXTRA_TARGET_FLAGS); do \
33597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33598 done; \
33599 (cd $(TARGET_SUBDIR)/libada && \
33600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33602 "RANLIB=$${RANLIB}" \
33603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33604 distclean) \
33605 || exit 1
33607 @endif target-libada
33609 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
33610 maybe-maintainer-clean-target-libada:
33611 @if target-libada
33612 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
33614 maintainer-clean-target-libada:
33615 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33616 r=`${PWD_COMMAND}`; export r; \
33617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33618 $(NORMAL_TARGET_EXPORTS) \
33619 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
33620 for flag in $(EXTRA_TARGET_FLAGS); do \
33621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33622 done; \
33623 (cd $(TARGET_SUBDIR)/libada && \
33624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33626 "RANLIB=$${RANLIB}" \
33627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33628 maintainer-clean) \
33629 || exit 1
33631 @endif target-libada
33635 # ----------
33636 # GCC module
33637 # ----------
33639 @if gcc-no-bootstrap
33640 # GCC has some more recursive targets, which trigger the old
33641 # (but still current, until the toplevel bootstrap project
33642 # is finished) compiler bootstrapping rules.
33644 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
33645 .PHONY: $(GCC_STRAP_TARGETS)
33646 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
33647 @r=`${PWD_COMMAND}`; export r; \
33648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33649 $(HOST_EXPORTS) \
33650 echo "Bootstrapping the compiler"; \
33651 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33652 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
33653 @r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 case "$@" in \
33656 *bootstrap4-lean ) \
33657 msg="Comparing stage3 and stage4 of the compiler"; \
33658 compare=compare3-lean ;; \
33659 *bootstrap4 ) \
33660 msg="Comparing stage3 and stage4 of the compiler"; \
33661 compare=compare3 ;; \
33662 *-lean ) \
33663 msg="Comparing stage2 and stage3 of the compiler"; \
33664 compare=compare-lean ;; \
33665 * ) \
33666 msg="Comparing stage2 and stage3 of the compiler"; \
33667 compare=compare ;; \
33668 esac; \
33669 $(HOST_EXPORTS) \
33670 echo "$$msg"; \
33671 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
33672 @r=`${PWD_COMMAND}`; export r; \
33673 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33674 echo "Building runtime libraries"; \
33675 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33677 profiledbootstrap: all-prebootstrap configure-gcc
33678 @r=`${PWD_COMMAND}`; export r; \
33679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33680 $(HOST_EXPORTS) \
33681 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33682 echo "Bootstrapping training compiler"; \
33683 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
33684 @r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(HOST_EXPORTS) \
33687 echo "Building feedback based compiler"; \
33688 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
33689 @r=`${PWD_COMMAND}`; export r; \
33690 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33691 echo "Building runtime libraries"; \
33692 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33694 .PHONY: cross
33695 cross: all-build all-gas all-ld
33696 @r=`${PWD_COMMAND}`; export r; \
33697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33698 $(HOST_EXPORTS) \
33699 echo "Building the C and C++ compiler"; \
33700 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
33701 @r=`${PWD_COMMAND}`; export r; \
33702 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33703 echo "Building runtime libraries"; \
33704 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
33705 @endif gcc-no-bootstrap
33707 @if gcc
33708 .PHONY: check-gcc-c++
33709 check-gcc-c++:
33710 @if [ -f ./gcc/Makefile ] ; then \
33711 r=`${PWD_COMMAND}`; export r; \
33712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33713 $(HOST_EXPORTS) \
33714 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
33715 else \
33716 true; \
33719 .PHONY: check-c++
33720 check-c++: check-target-libstdc++-v3 check-gcc-c++
33722 # Install the gcc headers files, but not the fixed include files,
33723 # which Cygnus is not allowed to distribute. This rule is very
33724 # dependent on the workings of the gcc Makefile.in.
33725 .PHONY: gcc-no-fixedincludes
33726 gcc-no-fixedincludes:
33727 @if [ -f ./gcc/Makefile ]; then \
33728 rm -rf gcc/tmp-include; \
33729 mv gcc/include gcc/tmp-include 2>/dev/null; \
33730 mkdir gcc/include; \
33731 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
33732 touch gcc/stmp-fixinc gcc/include/fixed; \
33733 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
33734 r=`${PWD_COMMAND}`; export r; \
33735 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33736 $(HOST_EXPORTS) \
33737 (cd ./gcc && \
33738 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
33739 rm -rf gcc/include; \
33740 mv gcc/tmp-include gcc/include 2>/dev/null; \
33741 else true; fi
33742 @endif gcc
33744 # ---------------------
33745 # GCC bootstrap support
33746 # ---------------------
33748 # We track the current stage (the one in 'gcc') in the stage_current file.
33749 # stage_last instead tracks the stage that was built last. These targets
33750 # are dummy when toplevel bootstrap is not active.
33752 .PHONY: unstage
33753 unstage:
33754 @if gcc-bootstrap
33755 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
33756 @endif gcc-bootstrap
33758 .PHONY: stage
33759 stage:
33760 @if gcc-bootstrap
33761 @$(MAKE) `cat stage_current`-end
33762 @endif gcc-bootstrap
33764 # We name the build directories for the various stages "stage1-gcc",
33765 # "stage2-gcc","stage3-gcc", etc.
33767 # Since the 'compare' process will fail (on debugging information) if any
33768 # directory names are different, we need to link the gcc directory for
33769 # the previous stage to a constant name ('gcc-prev'), and to make the name of
33770 # the build directories constant as well. For the latter, we use naked names
33771 # like 'gcc', because the scripts in that directory assume it. We use
33772 # mv on platforms where symlinks to directories do not work or are not
33773 # reliable.
33775 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
33776 # be kept, so that libraries can find it. Ick!
33778 # It would be best to preinstall gcc into a staging area (and in the
33779 # future, gather there all prebootstrap packages). This would allow
33780 # assemblers and linkers can be bootstrapped as well as the compiler
33781 # (both in a combined tree, or separately). This however requires some
33782 # change to the gcc driver, again in order to avoid comparison failures.
33784 # Bugs: This is crippled when doing parallel make, the `make all-host'
33785 # and `make all-target' phases can be parallelized.
33788 # 'touch' doesn't work right on some platforms.
33789 STAMP = echo timestamp >
33791 # Only build the C compiler for stage1, because that is the only one that
33792 # we can guarantee will build with the native compiler, and also it is the
33793 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
33794 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
33795 # overrideable (for a bootstrap build stage1 also builds gcc.info).
33797 STAGE1_CFLAGS=@stage1_cflags@
33798 STAGE1_LANGUAGES=@stage1_languages@
33800 # We only want to compare .o files, so set this!
33801 objext = .o
33803 # Flags to pass to stage2 and later makes.
33804 POSTSTAGE1_FLAGS_TO_PASS = \
33805 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
33806 STAGE_PREFIX=$$r/prev-gcc/ \
33807 CFLAGS="$(BOOT_CFLAGS)" \
33808 ADAC="\$$(CC)"
33810 # For stage 1:
33811 # * We force-disable intermodule optimizations, even if
33812 # --enable-intermodule was passed, since the installed compiler probably
33813 # can't handle them. Luckily, autoconf always respects
33814 # the last argument when conflicting --enable arguments are passed.
33815 # * Likewise, we force-disable coverage flags, since the installed compiler
33816 # probably has never heard of them.
33817 # * We build only C (and possibly Ada).
33820 .PHONY: stage1-start stage1-end
33822 stage1-start::
33823 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33824 echo stage1 > stage_current ; \
33825 echo stage1 > stage_last; \
33826 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33827 @if bfd
33828 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
33829 mkdir stage1-bfd; \
33830 set stage1-bfd bfd ; \
33831 @CREATE_LINK_TO_DIR@
33832 @endif bfd
33833 @if opcodes
33834 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
33835 mkdir stage1-opcodes; \
33836 set stage1-opcodes opcodes ; \
33837 @CREATE_LINK_TO_DIR@
33838 @endif opcodes
33839 @if binutils
33840 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
33841 mkdir stage1-binutils; \
33842 set stage1-binutils binutils ; \
33843 @CREATE_LINK_TO_DIR@
33844 @endif binutils
33845 @if gas
33846 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
33847 mkdir stage1-gas; \
33848 set stage1-gas gas ; \
33849 @CREATE_LINK_TO_DIR@
33850 @endif gas
33851 @if gcc
33852 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
33853 mkdir stage1-gcc; \
33854 set stage1-gcc gcc ; \
33855 @CREATE_LINK_TO_DIR@
33856 @endif gcc
33857 @if intl
33858 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
33859 mkdir stage1-intl; \
33860 set stage1-intl intl ; \
33861 @CREATE_LINK_TO_DIR@
33862 @endif intl
33863 @if ld
33864 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
33865 mkdir stage1-ld; \
33866 set stage1-ld ld ; \
33867 @CREATE_LINK_TO_DIR@
33868 @endif ld
33869 @if libcpp
33870 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
33871 mkdir stage1-libcpp; \
33872 set stage1-libcpp libcpp ; \
33873 @CREATE_LINK_TO_DIR@
33874 @endif libcpp
33875 @if libiberty
33876 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
33877 mkdir stage1-libiberty; \
33878 set stage1-libiberty libiberty ; \
33879 @CREATE_LINK_TO_DIR@
33880 @endif libiberty
33881 @if zlib
33882 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
33883 mkdir stage1-zlib; \
33884 set stage1-zlib zlib ; \
33885 @CREATE_LINK_TO_DIR@
33886 @endif zlib
33888 stage1-end::
33889 @rm -f stage_current
33890 @if bfd
33891 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
33892 @UNDO_LINK_TO_DIR@
33893 @endif bfd
33894 @if opcodes
33895 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
33896 @UNDO_LINK_TO_DIR@
33897 @endif opcodes
33898 @if binutils
33899 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
33900 @UNDO_LINK_TO_DIR@
33901 @endif binutils
33902 @if gas
33903 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
33904 @UNDO_LINK_TO_DIR@
33905 @endif gas
33906 @if gcc
33907 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
33908 @UNDO_LINK_TO_DIR@
33909 @endif gcc
33910 @if intl
33911 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
33912 @UNDO_LINK_TO_DIR@
33913 @endif intl
33914 @if ld
33915 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
33916 @UNDO_LINK_TO_DIR@
33917 @endif ld
33918 @if libcpp
33919 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
33920 @UNDO_LINK_TO_DIR@
33921 @endif libcpp
33922 @if libiberty
33923 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
33924 @UNDO_LINK_TO_DIR@
33925 @endif libiberty
33926 @if zlib
33927 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
33928 @UNDO_LINK_TO_DIR@
33929 @endif zlib
33931 # Bubble a bugfix through all the stages up to stage 1. They
33932 # are remade, but not reconfigured. The next stage (if any) will not
33933 # be reconfigured as well.
33934 .PHONY: stage1-bubble
33935 stage1-bubble::
33936 @if test -f stage1-lean ; then \
33937 echo Skipping rebuild of stage1 ; \
33938 else \
33939 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
33942 .PHONY: all-stage1 clean-stage1
33943 do-clean: clean-stage1
33945 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33946 # only possibility, but now it conflicts with no-bootstrap rules
33947 @if gcc-bootstrap
33952 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33954 .PHONY: distclean-stage1
33955 distclean-stage1::
33956 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33957 rm -rf stage1-*
33960 @endif gcc-bootstrap
33963 .PHONY: stage2-start stage2-end
33965 stage2-start::
33966 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33967 echo stage2 > stage_current ; \
33968 echo stage2 > stage_last; \
33969 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33970 @if bfd
33971 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
33972 mkdir stage2-bfd; \
33973 set stage2-bfd bfd ; \
33974 @CREATE_LINK_TO_DIR@ ; \
33975 set stage1-bfd prev-bfd ; \
33976 @CREATE_LINK_TO_DIR@
33977 @endif bfd
33978 @if opcodes
33979 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
33980 mkdir stage2-opcodes; \
33981 set stage2-opcodes opcodes ; \
33982 @CREATE_LINK_TO_DIR@ ; \
33983 set stage1-opcodes prev-opcodes ; \
33984 @CREATE_LINK_TO_DIR@
33985 @endif opcodes
33986 @if binutils
33987 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
33988 mkdir stage2-binutils; \
33989 set stage2-binutils binutils ; \
33990 @CREATE_LINK_TO_DIR@ ; \
33991 set stage1-binutils prev-binutils ; \
33992 @CREATE_LINK_TO_DIR@
33993 @endif binutils
33994 @if gas
33995 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
33996 mkdir stage2-gas; \
33997 set stage2-gas gas ; \
33998 @CREATE_LINK_TO_DIR@ ; \
33999 set stage1-gas prev-gas ; \
34000 @CREATE_LINK_TO_DIR@
34001 @endif gas
34002 @if gcc
34003 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
34004 mkdir stage2-gcc; \
34005 set stage2-gcc gcc ; \
34006 @CREATE_LINK_TO_DIR@ ; \
34007 set stage1-gcc prev-gcc ; \
34008 @CREATE_LINK_TO_DIR@
34009 @endif gcc
34010 @if intl
34011 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
34012 mkdir stage2-intl; \
34013 set stage2-intl intl ; \
34014 @CREATE_LINK_TO_DIR@ ; \
34015 set stage1-intl prev-intl ; \
34016 @CREATE_LINK_TO_DIR@
34017 @endif intl
34018 @if ld
34019 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
34020 mkdir stage2-ld; \
34021 set stage2-ld ld ; \
34022 @CREATE_LINK_TO_DIR@ ; \
34023 set stage1-ld prev-ld ; \
34024 @CREATE_LINK_TO_DIR@
34025 @endif ld
34026 @if libcpp
34027 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
34028 mkdir stage2-libcpp; \
34029 set stage2-libcpp libcpp ; \
34030 @CREATE_LINK_TO_DIR@ ; \
34031 set stage1-libcpp prev-libcpp ; \
34032 @CREATE_LINK_TO_DIR@
34033 @endif libcpp
34034 @if libiberty
34035 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
34036 mkdir stage2-libiberty; \
34037 set stage2-libiberty libiberty ; \
34038 @CREATE_LINK_TO_DIR@ ; \
34039 set stage1-libiberty prev-libiberty ; \
34040 @CREATE_LINK_TO_DIR@
34041 @endif libiberty
34042 @if zlib
34043 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
34044 mkdir stage2-zlib; \
34045 set stage2-zlib zlib ; \
34046 @CREATE_LINK_TO_DIR@ ; \
34047 set stage1-zlib prev-zlib ; \
34048 @CREATE_LINK_TO_DIR@
34049 @endif zlib
34051 stage2-end::
34052 @rm -f stage_current
34053 @if bfd
34054 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
34055 @UNDO_LINK_TO_DIR@ ; \
34056 set prev-bfd stage1-bfd ; \
34057 @UNDO_LINK_TO_DIR@
34058 @endif bfd
34059 @if opcodes
34060 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
34061 @UNDO_LINK_TO_DIR@ ; \
34062 set prev-opcodes stage1-opcodes ; \
34063 @UNDO_LINK_TO_DIR@
34064 @endif opcodes
34065 @if binutils
34066 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
34067 @UNDO_LINK_TO_DIR@ ; \
34068 set prev-binutils stage1-binutils ; \
34069 @UNDO_LINK_TO_DIR@
34070 @endif binutils
34071 @if gas
34072 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
34073 @UNDO_LINK_TO_DIR@ ; \
34074 set prev-gas stage1-gas ; \
34075 @UNDO_LINK_TO_DIR@
34076 @endif gas
34077 @if gcc
34078 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
34079 @UNDO_LINK_TO_DIR@ ; \
34080 set prev-gcc stage1-gcc ; \
34081 @UNDO_LINK_TO_DIR@
34082 @endif gcc
34083 @if intl
34084 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
34085 @UNDO_LINK_TO_DIR@ ; \
34086 set prev-intl stage1-intl ; \
34087 @UNDO_LINK_TO_DIR@
34088 @endif intl
34089 @if ld
34090 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
34091 @UNDO_LINK_TO_DIR@ ; \
34092 set prev-ld stage1-ld ; \
34093 @UNDO_LINK_TO_DIR@
34094 @endif ld
34095 @if libcpp
34096 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
34097 @UNDO_LINK_TO_DIR@ ; \
34098 set prev-libcpp stage1-libcpp ; \
34099 @UNDO_LINK_TO_DIR@
34100 @endif libcpp
34101 @if libiberty
34102 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
34103 @UNDO_LINK_TO_DIR@ ; \
34104 set prev-libiberty stage1-libiberty ; \
34105 @UNDO_LINK_TO_DIR@
34106 @endif libiberty
34107 @if zlib
34108 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
34109 @UNDO_LINK_TO_DIR@ ; \
34110 set prev-zlib stage1-zlib ; \
34111 @UNDO_LINK_TO_DIR@
34112 @endif zlib
34114 # Bubble a bugfix through all the stages up to stage 2. They
34115 # are remade, but not reconfigured. The next stage (if any) will not
34116 # be reconfigured as well.
34117 .PHONY: stage2-bubble
34118 stage2-bubble:: stage1-bubble
34119 @if test -f stage2-lean || test -f stage1-lean ; then \
34120 echo Skipping rebuild of stage2 ; \
34121 else \
34122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
34125 .PHONY: all-stage2 clean-stage2
34126 do-clean: clean-stage2
34128 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34129 # only possibility, but now it conflicts with no-bootstrap rules
34130 @if gcc-bootstrap
34134 .PHONY: bootstrap2
34135 bootstrap2: stage2-bubble all
34138 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34139 distclean-stage1:: distclean-stage2
34140 .PHONY: distclean-stage2
34141 distclean-stage2::
34142 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34143 rm -rf stage2-*
34146 @endif gcc-bootstrap
34149 .PHONY: stage3-start stage3-end
34151 stage3-start::
34152 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34153 echo stage3 > stage_current ; \
34154 echo stage3 > stage_last; \
34155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34156 @if bfd
34157 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
34158 mkdir stage3-bfd; \
34159 set stage3-bfd bfd ; \
34160 @CREATE_LINK_TO_DIR@ ; \
34161 set stage2-bfd prev-bfd ; \
34162 @CREATE_LINK_TO_DIR@
34163 @endif bfd
34164 @if opcodes
34165 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
34166 mkdir stage3-opcodes; \
34167 set stage3-opcodes opcodes ; \
34168 @CREATE_LINK_TO_DIR@ ; \
34169 set stage2-opcodes prev-opcodes ; \
34170 @CREATE_LINK_TO_DIR@
34171 @endif opcodes
34172 @if binutils
34173 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
34174 mkdir stage3-binutils; \
34175 set stage3-binutils binutils ; \
34176 @CREATE_LINK_TO_DIR@ ; \
34177 set stage2-binutils prev-binutils ; \
34178 @CREATE_LINK_TO_DIR@
34179 @endif binutils
34180 @if gas
34181 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
34182 mkdir stage3-gas; \
34183 set stage3-gas gas ; \
34184 @CREATE_LINK_TO_DIR@ ; \
34185 set stage2-gas prev-gas ; \
34186 @CREATE_LINK_TO_DIR@
34187 @endif gas
34188 @if gcc
34189 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
34190 mkdir stage3-gcc; \
34191 set stage3-gcc gcc ; \
34192 @CREATE_LINK_TO_DIR@ ; \
34193 set stage2-gcc prev-gcc ; \
34194 @CREATE_LINK_TO_DIR@
34195 @endif gcc
34196 @if intl
34197 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
34198 mkdir stage3-intl; \
34199 set stage3-intl intl ; \
34200 @CREATE_LINK_TO_DIR@ ; \
34201 set stage2-intl prev-intl ; \
34202 @CREATE_LINK_TO_DIR@
34203 @endif intl
34204 @if ld
34205 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
34206 mkdir stage3-ld; \
34207 set stage3-ld ld ; \
34208 @CREATE_LINK_TO_DIR@ ; \
34209 set stage2-ld prev-ld ; \
34210 @CREATE_LINK_TO_DIR@
34211 @endif ld
34212 @if libcpp
34213 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
34214 mkdir stage3-libcpp; \
34215 set stage3-libcpp libcpp ; \
34216 @CREATE_LINK_TO_DIR@ ; \
34217 set stage2-libcpp prev-libcpp ; \
34218 @CREATE_LINK_TO_DIR@
34219 @endif libcpp
34220 @if libiberty
34221 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
34222 mkdir stage3-libiberty; \
34223 set stage3-libiberty libiberty ; \
34224 @CREATE_LINK_TO_DIR@ ; \
34225 set stage2-libiberty prev-libiberty ; \
34226 @CREATE_LINK_TO_DIR@
34227 @endif libiberty
34228 @if zlib
34229 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
34230 mkdir stage3-zlib; \
34231 set stage3-zlib zlib ; \
34232 @CREATE_LINK_TO_DIR@ ; \
34233 set stage2-zlib prev-zlib ; \
34234 @CREATE_LINK_TO_DIR@
34235 @endif zlib
34237 stage3-end::
34238 @rm -f stage_current
34239 @if bfd
34240 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
34241 @UNDO_LINK_TO_DIR@ ; \
34242 set prev-bfd stage2-bfd ; \
34243 @UNDO_LINK_TO_DIR@
34244 @endif bfd
34245 @if opcodes
34246 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
34247 @UNDO_LINK_TO_DIR@ ; \
34248 set prev-opcodes stage2-opcodes ; \
34249 @UNDO_LINK_TO_DIR@
34250 @endif opcodes
34251 @if binutils
34252 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
34253 @UNDO_LINK_TO_DIR@ ; \
34254 set prev-binutils stage2-binutils ; \
34255 @UNDO_LINK_TO_DIR@
34256 @endif binutils
34257 @if gas
34258 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
34259 @UNDO_LINK_TO_DIR@ ; \
34260 set prev-gas stage2-gas ; \
34261 @UNDO_LINK_TO_DIR@
34262 @endif gas
34263 @if gcc
34264 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
34265 @UNDO_LINK_TO_DIR@ ; \
34266 set prev-gcc stage2-gcc ; \
34267 @UNDO_LINK_TO_DIR@
34268 @endif gcc
34269 @if intl
34270 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
34271 @UNDO_LINK_TO_DIR@ ; \
34272 set prev-intl stage2-intl ; \
34273 @UNDO_LINK_TO_DIR@
34274 @endif intl
34275 @if ld
34276 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
34277 @UNDO_LINK_TO_DIR@ ; \
34278 set prev-ld stage2-ld ; \
34279 @UNDO_LINK_TO_DIR@
34280 @endif ld
34281 @if libcpp
34282 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
34283 @UNDO_LINK_TO_DIR@ ; \
34284 set prev-libcpp stage2-libcpp ; \
34285 @UNDO_LINK_TO_DIR@
34286 @endif libcpp
34287 @if libiberty
34288 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
34289 @UNDO_LINK_TO_DIR@ ; \
34290 set prev-libiberty stage2-libiberty ; \
34291 @UNDO_LINK_TO_DIR@
34292 @endif libiberty
34293 @if zlib
34294 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
34295 @UNDO_LINK_TO_DIR@ ; \
34296 set prev-zlib stage2-zlib ; \
34297 @UNDO_LINK_TO_DIR@
34298 @endif zlib
34300 # Bubble a bugfix through all the stages up to stage 3. They
34301 # are remade, but not reconfigured. The next stage (if any) will not
34302 # be reconfigured as well.
34303 .PHONY: stage3-bubble
34304 stage3-bubble:: stage2-bubble
34305 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
34306 @if test -f stage3-lean || test -f stage2-lean ; then \
34307 echo Skipping rebuild of stage3 ; \
34308 else \
34309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
34312 .PHONY: all-stage3 clean-stage3
34313 do-clean: clean-stage3
34315 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34316 # only possibility, but now it conflicts with no-bootstrap rules
34317 @if gcc-bootstrap
34319 compare:
34320 @if test -f stage2-lean; then \
34321 echo Cannot compare object files as stage 2 was deleted. ; \
34322 exit 0 ; \
34323 fi; \
34324 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34325 @r=`${PWD_COMMAND}`; export r; \
34326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34327 rm -f .bad_compare ; \
34328 cd stage3-gcc; \
34329 files=`find . -name "*$(objext)" -print` ; \
34330 cd .. ; \
34331 for file in $${files} ; do \
34332 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
34333 @do_compare@ > /dev/null 2>&1; \
34334 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34335 done ; \
34336 if [ -f .bad_compare ]; then \
34337 echo "Bootstrap comparison failure!"; \
34338 cat .bad_compare; \
34339 exit 1; \
34340 else \
34341 true; \
34342 fi ; \
34343 $(STAMP) compare
34344 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34348 .PHONY: bootstrap
34349 bootstrap: stage3-bubble compare all
34352 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34353 distclean-stage2:: distclean-stage3
34354 .PHONY: distclean-stage3
34355 distclean-stage3::
34356 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34357 rm -rf stage3-* compare
34360 .PHONY: cleanstrap
34361 cleanstrap: distclean bootstrap
34363 @endif gcc-bootstrap
34366 .PHONY: stage4-start stage4-end
34368 stage4-start::
34369 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34370 echo stage4 > stage_current ; \
34371 echo stage4 > stage_last; \
34372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34373 @if bfd
34374 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
34375 mkdir stage4-bfd; \
34376 set stage4-bfd bfd ; \
34377 @CREATE_LINK_TO_DIR@ ; \
34378 set stage3-bfd prev-bfd ; \
34379 @CREATE_LINK_TO_DIR@
34380 @endif bfd
34381 @if opcodes
34382 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
34383 mkdir stage4-opcodes; \
34384 set stage4-opcodes opcodes ; \
34385 @CREATE_LINK_TO_DIR@ ; \
34386 set stage3-opcodes prev-opcodes ; \
34387 @CREATE_LINK_TO_DIR@
34388 @endif opcodes
34389 @if binutils
34390 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
34391 mkdir stage4-binutils; \
34392 set stage4-binutils binutils ; \
34393 @CREATE_LINK_TO_DIR@ ; \
34394 set stage3-binutils prev-binutils ; \
34395 @CREATE_LINK_TO_DIR@
34396 @endif binutils
34397 @if gas
34398 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
34399 mkdir stage4-gas; \
34400 set stage4-gas gas ; \
34401 @CREATE_LINK_TO_DIR@ ; \
34402 set stage3-gas prev-gas ; \
34403 @CREATE_LINK_TO_DIR@
34404 @endif gas
34405 @if gcc
34406 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
34407 mkdir stage4-gcc; \
34408 set stage4-gcc gcc ; \
34409 @CREATE_LINK_TO_DIR@ ; \
34410 set stage3-gcc prev-gcc ; \
34411 @CREATE_LINK_TO_DIR@
34412 @endif gcc
34413 @if intl
34414 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
34415 mkdir stage4-intl; \
34416 set stage4-intl intl ; \
34417 @CREATE_LINK_TO_DIR@ ; \
34418 set stage3-intl prev-intl ; \
34419 @CREATE_LINK_TO_DIR@
34420 @endif intl
34421 @if ld
34422 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
34423 mkdir stage4-ld; \
34424 set stage4-ld ld ; \
34425 @CREATE_LINK_TO_DIR@ ; \
34426 set stage3-ld prev-ld ; \
34427 @CREATE_LINK_TO_DIR@
34428 @endif ld
34429 @if libcpp
34430 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
34431 mkdir stage4-libcpp; \
34432 set stage4-libcpp libcpp ; \
34433 @CREATE_LINK_TO_DIR@ ; \
34434 set stage3-libcpp prev-libcpp ; \
34435 @CREATE_LINK_TO_DIR@
34436 @endif libcpp
34437 @if libiberty
34438 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
34439 mkdir stage4-libiberty; \
34440 set stage4-libiberty libiberty ; \
34441 @CREATE_LINK_TO_DIR@ ; \
34442 set stage3-libiberty prev-libiberty ; \
34443 @CREATE_LINK_TO_DIR@
34444 @endif libiberty
34445 @if zlib
34446 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
34447 mkdir stage4-zlib; \
34448 set stage4-zlib zlib ; \
34449 @CREATE_LINK_TO_DIR@ ; \
34450 set stage3-zlib prev-zlib ; \
34451 @CREATE_LINK_TO_DIR@
34452 @endif zlib
34454 stage4-end::
34455 @rm -f stage_current
34456 @if bfd
34457 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
34458 @UNDO_LINK_TO_DIR@ ; \
34459 set prev-bfd stage3-bfd ; \
34460 @UNDO_LINK_TO_DIR@
34461 @endif bfd
34462 @if opcodes
34463 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
34464 @UNDO_LINK_TO_DIR@ ; \
34465 set prev-opcodes stage3-opcodes ; \
34466 @UNDO_LINK_TO_DIR@
34467 @endif opcodes
34468 @if binutils
34469 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
34470 @UNDO_LINK_TO_DIR@ ; \
34471 set prev-binutils stage3-binutils ; \
34472 @UNDO_LINK_TO_DIR@
34473 @endif binutils
34474 @if gas
34475 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
34476 @UNDO_LINK_TO_DIR@ ; \
34477 set prev-gas stage3-gas ; \
34478 @UNDO_LINK_TO_DIR@
34479 @endif gas
34480 @if gcc
34481 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
34482 @UNDO_LINK_TO_DIR@ ; \
34483 set prev-gcc stage3-gcc ; \
34484 @UNDO_LINK_TO_DIR@
34485 @endif gcc
34486 @if intl
34487 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
34488 @UNDO_LINK_TO_DIR@ ; \
34489 set prev-intl stage3-intl ; \
34490 @UNDO_LINK_TO_DIR@
34491 @endif intl
34492 @if ld
34493 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
34494 @UNDO_LINK_TO_DIR@ ; \
34495 set prev-ld stage3-ld ; \
34496 @UNDO_LINK_TO_DIR@
34497 @endif ld
34498 @if libcpp
34499 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
34500 @UNDO_LINK_TO_DIR@ ; \
34501 set prev-libcpp stage3-libcpp ; \
34502 @UNDO_LINK_TO_DIR@
34503 @endif libcpp
34504 @if libiberty
34505 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
34506 @UNDO_LINK_TO_DIR@ ; \
34507 set prev-libiberty stage3-libiberty ; \
34508 @UNDO_LINK_TO_DIR@
34509 @endif libiberty
34510 @if zlib
34511 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
34512 @UNDO_LINK_TO_DIR@ ; \
34513 set prev-zlib stage3-zlib ; \
34514 @UNDO_LINK_TO_DIR@
34515 @endif zlib
34517 # Bubble a bugfix through all the stages up to stage 4. They
34518 # are remade, but not reconfigured. The next stage (if any) will not
34519 # be reconfigured as well.
34520 .PHONY: stage4-bubble
34521 stage4-bubble:: stage3-bubble
34522 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34523 @if test -f stage4-lean || test -f stage3-lean ; then \
34524 echo Skipping rebuild of stage4 ; \
34525 else \
34526 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
34529 .PHONY: all-stage4 clean-stage4
34530 do-clean: clean-stage4
34532 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34533 # only possibility, but now it conflicts with no-bootstrap rules
34534 @if gcc-bootstrap
34536 compare3:
34537 @if test -f stage3-lean; then \
34538 echo Cannot compare object files as stage 3 was deleted. ; \
34539 exit 0 ; \
34540 fi; \
34541 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34542 @r=`${PWD_COMMAND}`; export r; \
34543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34544 rm -f .bad_compare ; \
34545 cd stage4-gcc; \
34546 files=`find . -name "*$(objext)" -print` ; \
34547 cd .. ; \
34548 for file in $${files} ; do \
34549 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
34550 @do_compare@ > /dev/null 2>&1; \
34551 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34552 done ; \
34553 if [ -f .bad_compare ]; then \
34554 echo "Bootstrap comparison failure!"; \
34555 cat .bad_compare; \
34556 exit 1; \
34557 else \
34558 true; \
34559 fi ; \
34560 $(STAMP) compare3
34561 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
34565 .PHONY: bootstrap4
34566 bootstrap4: stage4-bubble compare3 all
34569 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34570 distclean-stage3:: distclean-stage4
34571 .PHONY: distclean-stage4
34572 distclean-stage4::
34573 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34574 rm -rf stage4-* compare3
34577 @endif gcc-bootstrap
34580 .PHONY: stageprofile-start stageprofile-end
34582 stageprofile-start::
34583 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34584 echo stageprofile > stage_current ; \
34585 echo stageprofile > stage_last; \
34586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34587 @if bfd
34588 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
34589 mkdir stageprofile-bfd; \
34590 set stageprofile-bfd bfd ; \
34591 @CREATE_LINK_TO_DIR@ ; \
34592 set stage1-bfd prev-bfd ; \
34593 @CREATE_LINK_TO_DIR@
34594 @endif bfd
34595 @if opcodes
34596 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
34597 mkdir stageprofile-opcodes; \
34598 set stageprofile-opcodes opcodes ; \
34599 @CREATE_LINK_TO_DIR@ ; \
34600 set stage1-opcodes prev-opcodes ; \
34601 @CREATE_LINK_TO_DIR@
34602 @endif opcodes
34603 @if binutils
34604 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
34605 mkdir stageprofile-binutils; \
34606 set stageprofile-binutils binutils ; \
34607 @CREATE_LINK_TO_DIR@ ; \
34608 set stage1-binutils prev-binutils ; \
34609 @CREATE_LINK_TO_DIR@
34610 @endif binutils
34611 @if gas
34612 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
34613 mkdir stageprofile-gas; \
34614 set stageprofile-gas gas ; \
34615 @CREATE_LINK_TO_DIR@ ; \
34616 set stage1-gas prev-gas ; \
34617 @CREATE_LINK_TO_DIR@
34618 @endif gas
34619 @if gcc
34620 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
34621 mkdir stageprofile-gcc; \
34622 set stageprofile-gcc gcc ; \
34623 @CREATE_LINK_TO_DIR@ ; \
34624 set stage1-gcc prev-gcc ; \
34625 @CREATE_LINK_TO_DIR@
34626 @endif gcc
34627 @if intl
34628 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
34629 mkdir stageprofile-intl; \
34630 set stageprofile-intl intl ; \
34631 @CREATE_LINK_TO_DIR@ ; \
34632 set stage1-intl prev-intl ; \
34633 @CREATE_LINK_TO_DIR@
34634 @endif intl
34635 @if ld
34636 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
34637 mkdir stageprofile-ld; \
34638 set stageprofile-ld ld ; \
34639 @CREATE_LINK_TO_DIR@ ; \
34640 set stage1-ld prev-ld ; \
34641 @CREATE_LINK_TO_DIR@
34642 @endif ld
34643 @if libcpp
34644 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
34645 mkdir stageprofile-libcpp; \
34646 set stageprofile-libcpp libcpp ; \
34647 @CREATE_LINK_TO_DIR@ ; \
34648 set stage1-libcpp prev-libcpp ; \
34649 @CREATE_LINK_TO_DIR@
34650 @endif libcpp
34651 @if libiberty
34652 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
34653 mkdir stageprofile-libiberty; \
34654 set stageprofile-libiberty libiberty ; \
34655 @CREATE_LINK_TO_DIR@ ; \
34656 set stage1-libiberty prev-libiberty ; \
34657 @CREATE_LINK_TO_DIR@
34658 @endif libiberty
34659 @if zlib
34660 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
34661 mkdir stageprofile-zlib; \
34662 set stageprofile-zlib zlib ; \
34663 @CREATE_LINK_TO_DIR@ ; \
34664 set stage1-zlib prev-zlib ; \
34665 @CREATE_LINK_TO_DIR@
34666 @endif zlib
34668 stageprofile-end::
34669 @rm -f stage_current
34670 @if bfd
34671 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
34672 @UNDO_LINK_TO_DIR@ ; \
34673 set prev-bfd stage1-bfd ; \
34674 @UNDO_LINK_TO_DIR@
34675 @endif bfd
34676 @if opcodes
34677 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
34678 @UNDO_LINK_TO_DIR@ ; \
34679 set prev-opcodes stage1-opcodes ; \
34680 @UNDO_LINK_TO_DIR@
34681 @endif opcodes
34682 @if binutils
34683 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
34684 @UNDO_LINK_TO_DIR@ ; \
34685 set prev-binutils stage1-binutils ; \
34686 @UNDO_LINK_TO_DIR@
34687 @endif binutils
34688 @if gas
34689 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
34690 @UNDO_LINK_TO_DIR@ ; \
34691 set prev-gas stage1-gas ; \
34692 @UNDO_LINK_TO_DIR@
34693 @endif gas
34694 @if gcc
34695 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
34696 @UNDO_LINK_TO_DIR@ ; \
34697 set prev-gcc stage1-gcc ; \
34698 @UNDO_LINK_TO_DIR@
34699 @endif gcc
34700 @if intl
34701 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
34702 @UNDO_LINK_TO_DIR@ ; \
34703 set prev-intl stage1-intl ; \
34704 @UNDO_LINK_TO_DIR@
34705 @endif intl
34706 @if ld
34707 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
34708 @UNDO_LINK_TO_DIR@ ; \
34709 set prev-ld stage1-ld ; \
34710 @UNDO_LINK_TO_DIR@
34711 @endif ld
34712 @if libcpp
34713 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
34714 @UNDO_LINK_TO_DIR@ ; \
34715 set prev-libcpp stage1-libcpp ; \
34716 @UNDO_LINK_TO_DIR@
34717 @endif libcpp
34718 @if libiberty
34719 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
34720 @UNDO_LINK_TO_DIR@ ; \
34721 set prev-libiberty stage1-libiberty ; \
34722 @UNDO_LINK_TO_DIR@
34723 @endif libiberty
34724 @if zlib
34725 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
34726 @UNDO_LINK_TO_DIR@ ; \
34727 set prev-zlib stage1-zlib ; \
34728 @UNDO_LINK_TO_DIR@
34729 @endif zlib
34731 # Bubble a bugfix through all the stages up to stage profile. They
34732 # are remade, but not reconfigured. The next stage (if any) will not
34733 # be reconfigured as well.
34734 .PHONY: stageprofile-bubble
34735 stageprofile-bubble:: stage1-bubble
34736 @if test -f stageprofile-lean || test -f stage1-lean ; then \
34737 echo Skipping rebuild of stageprofile ; \
34738 else \
34739 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
34742 .PHONY: all-stageprofile clean-stageprofile
34743 do-clean: clean-stageprofile
34745 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34746 # only possibility, but now it conflicts with no-bootstrap rules
34747 @if gcc-bootstrap
34752 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34753 distclean-stage1:: distclean-stageprofile
34754 .PHONY: distclean-stageprofile
34755 distclean-stageprofile::
34756 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34757 rm -rf stageprofile-*
34760 @endif gcc-bootstrap
34763 .PHONY: stagefeedback-start stagefeedback-end
34765 stagefeedback-start::
34766 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34767 echo stagefeedback > stage_current ; \
34768 echo stagefeedback > stage_last; \
34769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34770 @if bfd
34771 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34772 mkdir stagefeedback-bfd; \
34773 set stagefeedback-bfd bfd ; \
34774 @CREATE_LINK_TO_DIR@ ; \
34775 set stageprofile-bfd prev-bfd ; \
34776 @CREATE_LINK_TO_DIR@
34777 @endif bfd
34778 @if opcodes
34779 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34780 mkdir stagefeedback-opcodes; \
34781 set stagefeedback-opcodes opcodes ; \
34782 @CREATE_LINK_TO_DIR@ ; \
34783 set stageprofile-opcodes prev-opcodes ; \
34784 @CREATE_LINK_TO_DIR@
34785 @endif opcodes
34786 @if binutils
34787 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34788 mkdir stagefeedback-binutils; \
34789 set stagefeedback-binutils binutils ; \
34790 @CREATE_LINK_TO_DIR@ ; \
34791 set stageprofile-binutils prev-binutils ; \
34792 @CREATE_LINK_TO_DIR@
34793 @endif binutils
34794 @if gas
34795 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34796 mkdir stagefeedback-gas; \
34797 set stagefeedback-gas gas ; \
34798 @CREATE_LINK_TO_DIR@ ; \
34799 set stageprofile-gas prev-gas ; \
34800 @CREATE_LINK_TO_DIR@
34801 @endif gas
34802 @if gcc
34803 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34804 mkdir stagefeedback-gcc; \
34805 set stagefeedback-gcc gcc ; \
34806 @CREATE_LINK_TO_DIR@ ; \
34807 set stageprofile-gcc prev-gcc ; \
34808 @CREATE_LINK_TO_DIR@
34809 @endif gcc
34810 @if intl
34811 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34812 mkdir stagefeedback-intl; \
34813 set stagefeedback-intl intl ; \
34814 @CREATE_LINK_TO_DIR@ ; \
34815 set stageprofile-intl prev-intl ; \
34816 @CREATE_LINK_TO_DIR@
34817 @endif intl
34818 @if ld
34819 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34820 mkdir stagefeedback-ld; \
34821 set stagefeedback-ld ld ; \
34822 @CREATE_LINK_TO_DIR@ ; \
34823 set stageprofile-ld prev-ld ; \
34824 @CREATE_LINK_TO_DIR@
34825 @endif ld
34826 @if libcpp
34827 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34828 mkdir stagefeedback-libcpp; \
34829 set stagefeedback-libcpp libcpp ; \
34830 @CREATE_LINK_TO_DIR@ ; \
34831 set stageprofile-libcpp prev-libcpp ; \
34832 @CREATE_LINK_TO_DIR@
34833 @endif libcpp
34834 @if libiberty
34835 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34836 mkdir stagefeedback-libiberty; \
34837 set stagefeedback-libiberty libiberty ; \
34838 @CREATE_LINK_TO_DIR@ ; \
34839 set stageprofile-libiberty prev-libiberty ; \
34840 @CREATE_LINK_TO_DIR@
34841 @endif libiberty
34842 @if zlib
34843 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34844 mkdir stagefeedback-zlib; \
34845 set stagefeedback-zlib zlib ; \
34846 @CREATE_LINK_TO_DIR@ ; \
34847 set stageprofile-zlib prev-zlib ; \
34848 @CREATE_LINK_TO_DIR@
34849 @endif zlib
34851 stagefeedback-end::
34852 @rm -f stage_current
34853 @if bfd
34854 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34855 @UNDO_LINK_TO_DIR@ ; \
34856 set prev-bfd stageprofile-bfd ; \
34857 @UNDO_LINK_TO_DIR@
34858 @endif bfd
34859 @if opcodes
34860 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34861 @UNDO_LINK_TO_DIR@ ; \
34862 set prev-opcodes stageprofile-opcodes ; \
34863 @UNDO_LINK_TO_DIR@
34864 @endif opcodes
34865 @if binutils
34866 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34867 @UNDO_LINK_TO_DIR@ ; \
34868 set prev-binutils stageprofile-binutils ; \
34869 @UNDO_LINK_TO_DIR@
34870 @endif binutils
34871 @if gas
34872 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34873 @UNDO_LINK_TO_DIR@ ; \
34874 set prev-gas stageprofile-gas ; \
34875 @UNDO_LINK_TO_DIR@
34876 @endif gas
34877 @if gcc
34878 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34879 @UNDO_LINK_TO_DIR@ ; \
34880 set prev-gcc stageprofile-gcc ; \
34881 @UNDO_LINK_TO_DIR@
34882 @endif gcc
34883 @if intl
34884 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34885 @UNDO_LINK_TO_DIR@ ; \
34886 set prev-intl stageprofile-intl ; \
34887 @UNDO_LINK_TO_DIR@
34888 @endif intl
34889 @if ld
34890 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34891 @UNDO_LINK_TO_DIR@ ; \
34892 set prev-ld stageprofile-ld ; \
34893 @UNDO_LINK_TO_DIR@
34894 @endif ld
34895 @if libcpp
34896 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34897 @UNDO_LINK_TO_DIR@ ; \
34898 set prev-libcpp stageprofile-libcpp ; \
34899 @UNDO_LINK_TO_DIR@
34900 @endif libcpp
34901 @if libiberty
34902 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34903 @UNDO_LINK_TO_DIR@ ; \
34904 set prev-libiberty stageprofile-libiberty ; \
34905 @UNDO_LINK_TO_DIR@
34906 @endif libiberty
34907 @if zlib
34908 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34909 @UNDO_LINK_TO_DIR@ ; \
34910 set prev-zlib stageprofile-zlib ; \
34911 @UNDO_LINK_TO_DIR@
34912 @endif zlib
34914 # Bubble a bugfix through all the stages up to stage feedback. They
34915 # are remade, but not reconfigured. The next stage (if any) will not
34916 # be reconfigured as well.
34917 .PHONY: stagefeedback-bubble
34918 stagefeedback-bubble:: stageprofile-bubble
34919 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
34920 echo Skipping rebuild of stagefeedback ; \
34921 else \
34922 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34925 .PHONY: all-stagefeedback clean-stagefeedback
34926 do-clean: clean-stagefeedback
34928 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34929 # only possibility, but now it conflicts with no-bootstrap rules
34930 @if gcc-bootstrap
34934 .PHONY: profiledbootstrap
34935 profiledbootstrap: stagefeedback-bubble all
34938 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34939 distclean-stageprofile:: distclean-stagefeedback
34940 .PHONY: distclean-stagefeedback
34941 distclean-stagefeedback::
34942 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34943 rm -rf stagefeedback-*
34946 @endif gcc-bootstrap
34950 stageprofile-end::
34951 $(MAKE) distclean-stagefeedback
34953 stagefeedback-start::
34954 @r=`${PWD_COMMAND}`; export r; \
34955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34956 for i in prev-*; do \
34957 j=`echo $$i | sed s/^prev-//` ; \
34958 cd $$r/$$i && \
34959 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
34960 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
34961 done
34963 @if gcc-bootstrap
34964 NOTPARALLEL = .NOTPARALLEL
34965 $(NOTPARALLEL):
34966 do-distclean: distclean-stage1
34967 @endif gcc-bootstrap
34969 # --------------------------------------
34970 # Dependencies between different modules
34971 # --------------------------------------
34973 # Generic dependencies for target modules on host stuff, especially gcc
34975 configure-target-libstdc++-v3: maybe-all-gcc
34977 configure-target-libmudflap: maybe-all-gcc
34979 configure-target-libssp: maybe-all-gcc
34981 configure-target-newlib: maybe-all-gcc
34983 configure-target-libgfortran: maybe-all-gcc
34985 configure-target-libobjc: maybe-all-gcc
34987 configure-target-libtermcap: maybe-all-gcc
34989 configure-target-winsup: maybe-all-gcc
34991 configure-target-libgloss: maybe-all-gcc
34993 configure-target-libiberty: maybe-all-gcc
34995 configure-target-gperf: maybe-all-gcc
34997 configure-target-examples: maybe-all-gcc
34999 configure-target-libffi: maybe-all-gcc
35001 configure-target-libjava: maybe-all-gcc
35003 configure-target-zlib: maybe-all-gcc
35005 configure-target-boehm-gc: maybe-all-gcc
35007 configure-target-qthreads: maybe-all-gcc
35009 configure-target-rda: maybe-all-gcc
35011 configure-target-libada: maybe-all-gcc
35015 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
35017 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
35018 configure-target-gperf: maybe-all-target-libstdc++-v3
35020 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
35022 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
35024 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
35026 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
35027 configure-target-libjava: maybe-all-target-libstdc++-v3
35029 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
35031 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
35033 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
35035 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
35037 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
35039 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
35041 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
35043 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
35045 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35048 # There are two types of dependencies here: 'hard' dependencies, where one
35049 # module simply won't build without the other; and 'soft' dependencies, where
35050 # if the depended-on module is missing, the depending module will do without
35051 # or find a substitute somewhere (perhaps installed). Soft dependencies
35052 # are made here to depend on a 'maybe-' target. If you're not sure,
35053 # it's safer to use a soft dependency.
35060 # With all the machinery above in place, it is pretty easy to generate
35061 # dependencies. Host dependencies are a bit more complex because we have
35062 # to check for bootstrap/prebootstrap dependencies. To resolve
35063 # prebootstrap dependencies, prebootstrap modules are gathered in
35064 # a hash table.
35065 all-build-bison: maybe-all-build-texinfo
35066 all-build-byacc: maybe-all-build-texinfo
35067 all-build-flex: maybe-all-build-texinfo
35068 all-build-flex: maybe-all-build-bison
35069 all-build-flex: maybe-all-build-byacc
35070 all-build-flex: maybe-all-build-m4
35071 all-build-libiberty: maybe-all-build-texinfo
35072 all-build-m4: maybe-all-build-texinfo
35073 all-build-fixincludes: maybe-all-build-libiberty
35074 configure-gcc: maybe-configure-intl
35076 configure-stage1-gcc: maybe-configure-stage1-intl
35077 configure-stage2-gcc: maybe-configure-stage2-intl
35078 configure-stage3-gcc: maybe-configure-stage3-intl
35079 configure-stage4-gcc: maybe-configure-stage4-intl
35080 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35081 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35082 configure-gcc: maybe-all-binutils
35084 configure-stage1-gcc: maybe-all-stage1-binutils
35085 configure-stage2-gcc: maybe-all-stage2-binutils
35086 configure-stage3-gcc: maybe-all-stage3-binutils
35087 configure-stage4-gcc: maybe-all-stage4-binutils
35088 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
35089 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35090 configure-gcc: maybe-all-gas
35092 configure-stage1-gcc: maybe-all-stage1-gas
35093 configure-stage2-gcc: maybe-all-stage2-gas
35094 configure-stage3-gcc: maybe-all-stage3-gas
35095 configure-stage4-gcc: maybe-all-stage4-gas
35096 configure-stageprofile-gcc: maybe-all-stageprofile-gas
35097 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
35098 configure-gcc: maybe-all-ld
35100 configure-stage1-gcc: maybe-all-stage1-ld
35101 configure-stage2-gcc: maybe-all-stage2-ld
35102 configure-stage3-gcc: maybe-all-stage3-ld
35103 configure-stage4-gcc: maybe-all-stage4-ld
35104 configure-stageprofile-gcc: maybe-all-stageprofile-ld
35105 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
35106 all-gcc: all-libiberty
35108 all-stage1-gcc: all-stage1-libiberty
35109 all-stage2-gcc: all-stage2-libiberty
35110 all-stage3-gcc: all-stage3-libiberty
35111 all-stage4-gcc: all-stage4-libiberty
35112 all-stageprofile-gcc: all-stageprofile-libiberty
35113 all-stagefeedback-gcc: all-stagefeedback-libiberty
35114 all-gcc: maybe-all-intl
35116 all-stage1-gcc: maybe-all-stage1-intl
35117 all-stage2-gcc: maybe-all-stage2-intl
35118 all-stage3-gcc: maybe-all-stage3-intl
35119 all-stage4-gcc: maybe-all-stage4-intl
35120 all-stageprofile-gcc: maybe-all-stageprofile-intl
35121 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35122 all-gcc: maybe-all-build-texinfo
35124 all-stage1-gcc: maybe-all-build-texinfo
35125 all-stage2-gcc: maybe-all-build-texinfo
35126 all-stage3-gcc: maybe-all-build-texinfo
35127 all-stage4-gcc: maybe-all-build-texinfo
35128 all-stageprofile-gcc: maybe-all-build-texinfo
35129 all-stagefeedback-gcc: maybe-all-build-texinfo
35130 all-prebootstrap: maybe-all-build-texinfo
35131 all-gcc: maybe-all-build-bison
35133 all-stage1-gcc: maybe-all-build-bison
35134 all-stage2-gcc: maybe-all-build-bison
35135 all-stage3-gcc: maybe-all-build-bison
35136 all-stage4-gcc: maybe-all-build-bison
35137 all-stageprofile-gcc: maybe-all-build-bison
35138 all-stagefeedback-gcc: maybe-all-build-bison
35139 all-prebootstrap: maybe-all-build-bison
35140 all-gcc: maybe-all-build-byacc
35142 all-stage1-gcc: maybe-all-build-byacc
35143 all-stage2-gcc: maybe-all-build-byacc
35144 all-stage3-gcc: maybe-all-build-byacc
35145 all-stage4-gcc: maybe-all-build-byacc
35146 all-stageprofile-gcc: maybe-all-build-byacc
35147 all-stagefeedback-gcc: maybe-all-build-byacc
35148 all-prebootstrap: maybe-all-build-byacc
35149 all-gcc: maybe-all-build-flex
35151 all-stage1-gcc: maybe-all-build-flex
35152 all-stage2-gcc: maybe-all-build-flex
35153 all-stage3-gcc: maybe-all-build-flex
35154 all-stage4-gcc: maybe-all-build-flex
35155 all-stageprofile-gcc: maybe-all-build-flex
35156 all-stagefeedback-gcc: maybe-all-build-flex
35157 all-prebootstrap: maybe-all-build-flex
35158 all-gcc: maybe-all-build-libiberty
35160 all-stage1-gcc: maybe-all-build-libiberty
35161 all-stage2-gcc: maybe-all-build-libiberty
35162 all-stage3-gcc: maybe-all-build-libiberty
35163 all-stage4-gcc: maybe-all-build-libiberty
35164 all-stageprofile-gcc: maybe-all-build-libiberty
35165 all-stagefeedback-gcc: maybe-all-build-libiberty
35166 all-prebootstrap: maybe-all-build-libiberty
35167 all-gcc: maybe-all-build-fixincludes
35169 all-stage1-gcc: maybe-all-build-fixincludes
35170 all-stage2-gcc: maybe-all-build-fixincludes
35171 all-stage3-gcc: maybe-all-build-fixincludes
35172 all-stage4-gcc: maybe-all-build-fixincludes
35173 all-stageprofile-gcc: maybe-all-build-fixincludes
35174 all-stagefeedback-gcc: maybe-all-build-fixincludes
35175 all-prebootstrap: maybe-all-build-fixincludes
35176 all-gcc: maybe-all-zlib
35178 all-stage1-gcc: maybe-all-stage1-zlib
35179 all-stage2-gcc: maybe-all-stage2-zlib
35180 all-stage3-gcc: maybe-all-stage3-zlib
35181 all-stage4-gcc: maybe-all-stage4-zlib
35182 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35183 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35184 all-gcc: all-libcpp
35186 all-stage1-gcc: all-stage1-libcpp
35187 all-stage2-gcc: all-stage2-libcpp
35188 all-stage3-gcc: all-stage3-libcpp
35189 all-stage4-gcc: all-stage4-libcpp
35190 all-stageprofile-gcc: all-stageprofile-libcpp
35191 all-stagefeedback-gcc: all-stagefeedback-libcpp
35192 all-gcc: maybe-all-libiberty
35194 all-stage1-gcc: maybe-all-stage1-libiberty
35195 all-stage2-gcc: maybe-all-stage2-libiberty
35196 all-stage3-gcc: maybe-all-stage3-libiberty
35197 all-stage4-gcc: maybe-all-stage4-libiberty
35198 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35199 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35200 all-gcc: maybe-all-fixincludes
35201 install-gcc: maybe-install-fixincludes
35202 configure-libcpp: configure-libiberty
35204 configure-stage1-libcpp: configure-stage1-libiberty
35205 configure-stage2-libcpp: configure-stage2-libiberty
35206 configure-stage3-libcpp: configure-stage3-libiberty
35207 configure-stage4-libcpp: configure-stage4-libiberty
35208 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35209 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35210 configure-libcpp: maybe-configure-intl
35212 configure-stage1-libcpp: maybe-configure-stage1-intl
35213 configure-stage2-libcpp: maybe-configure-stage2-intl
35214 configure-stage3-libcpp: maybe-configure-stage3-intl
35215 configure-stage4-libcpp: maybe-configure-stage4-intl
35216 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35217 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35218 all-libcpp: all-libiberty
35220 all-stage1-libcpp: all-stage1-libiberty
35221 all-stage2-libcpp: all-stage2-libiberty
35222 all-stage3-libcpp: all-stage3-libiberty
35223 all-stage4-libcpp: all-stage4-libiberty
35224 all-stageprofile-libcpp: all-stageprofile-libiberty
35225 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35226 all-libcpp: maybe-all-intl
35228 all-stage1-libcpp: maybe-all-stage1-intl
35229 all-stage2-libcpp: maybe-all-stage2-intl
35230 all-stage3-libcpp: maybe-all-stage3-intl
35231 all-stage4-libcpp: maybe-all-stage4-intl
35232 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35233 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35234 all-fixincludes: maybe-all-libiberty
35235 all-gnattools: maybe-all-target-libada
35236 configure-gdb: maybe-configure-itcl
35237 configure-gdb: maybe-configure-tcl
35238 configure-gdb: maybe-configure-tk
35239 configure-gdb: maybe-configure-sim
35240 all-gdb: maybe-all-libiberty
35241 all-gdb: maybe-all-opcodes
35242 all-gdb: maybe-all-bfd
35243 all-gdb: maybe-all-readline
35244 all-gdb: maybe-all-build-bison
35245 all-gdb: maybe-all-build-byacc
35246 all-gdb: maybe-all-sim
35247 install-gdb: maybe-install-tcl
35248 install-gdb: maybe-install-tk
35249 install-gdb: maybe-install-itcl
35250 install-gdb: maybe-install-libgui
35251 configure-libgui: maybe-configure-tcl
35252 configure-libgui: maybe-configure-tk
35253 all-libgui: maybe-all-tcl
35254 all-libgui: maybe-all-tk
35255 all-libgui: maybe-all-itcl
35256 configure-bfd: configure-libiberty
35258 configure-stage1-bfd: configure-stage1-libiberty
35259 configure-stage2-bfd: configure-stage2-libiberty
35260 configure-stage3-bfd: configure-stage3-libiberty
35261 configure-stage4-bfd: configure-stage4-libiberty
35262 configure-stageprofile-bfd: configure-stageprofile-libiberty
35263 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35264 all-bfd: maybe-all-libiberty
35266 all-stage1-bfd: maybe-all-stage1-libiberty
35267 all-stage2-bfd: maybe-all-stage2-libiberty
35268 all-stage3-bfd: maybe-all-stage3-libiberty
35269 all-stage4-bfd: maybe-all-stage4-libiberty
35270 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35271 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35272 all-bfd: maybe-all-intl
35274 all-stage1-bfd: maybe-all-stage1-intl
35275 all-stage2-bfd: maybe-all-stage2-intl
35276 all-stage3-bfd: maybe-all-stage3-intl
35277 all-stage4-bfd: maybe-all-stage4-intl
35278 all-stageprofile-bfd: maybe-all-stageprofile-intl
35279 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35280 all-binutils: maybe-all-libiberty
35282 all-stage1-binutils: maybe-all-stage1-libiberty
35283 all-stage2-binutils: maybe-all-stage2-libiberty
35284 all-stage3-binutils: maybe-all-stage3-libiberty
35285 all-stage4-binutils: maybe-all-stage4-libiberty
35286 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35287 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35288 all-binutils: maybe-all-opcodes
35290 all-stage1-binutils: maybe-all-stage1-opcodes
35291 all-stage2-binutils: maybe-all-stage2-opcodes
35292 all-stage3-binutils: maybe-all-stage3-opcodes
35293 all-stage4-binutils: maybe-all-stage4-opcodes
35294 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35295 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35296 all-binutils: maybe-all-bfd
35298 all-stage1-binutils: maybe-all-stage1-bfd
35299 all-stage2-binutils: maybe-all-stage2-bfd
35300 all-stage3-binutils: maybe-all-stage3-bfd
35301 all-stage4-binutils: maybe-all-stage4-bfd
35302 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35303 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35304 all-binutils: maybe-all-build-flex
35306 all-stage1-binutils: maybe-all-build-flex
35307 all-stage2-binutils: maybe-all-build-flex
35308 all-stage3-binutils: maybe-all-build-flex
35309 all-stage4-binutils: maybe-all-build-flex
35310 all-stageprofile-binutils: maybe-all-build-flex
35311 all-stagefeedback-binutils: maybe-all-build-flex
35312 all-prebootstrap: maybe-all-build-flex
35313 all-binutils: maybe-all-build-bison
35315 all-stage1-binutils: maybe-all-build-bison
35316 all-stage2-binutils: maybe-all-build-bison
35317 all-stage3-binutils: maybe-all-build-bison
35318 all-stage4-binutils: maybe-all-build-bison
35319 all-stageprofile-binutils: maybe-all-build-bison
35320 all-stagefeedback-binutils: maybe-all-build-bison
35321 all-prebootstrap: maybe-all-build-bison
35322 all-binutils: maybe-all-build-byacc
35324 all-stage1-binutils: maybe-all-build-byacc
35325 all-stage2-binutils: maybe-all-build-byacc
35326 all-stage3-binutils: maybe-all-build-byacc
35327 all-stage4-binutils: maybe-all-build-byacc
35328 all-stageprofile-binutils: maybe-all-build-byacc
35329 all-stagefeedback-binutils: maybe-all-build-byacc
35330 all-prebootstrap: maybe-all-build-byacc
35331 all-binutils: maybe-all-intl
35333 all-stage1-binutils: maybe-all-stage1-intl
35334 all-stage2-binutils: maybe-all-stage2-intl
35335 all-stage3-binutils: maybe-all-stage3-intl
35336 all-stage4-binutils: maybe-all-stage4-intl
35337 all-stageprofile-binutils: maybe-all-stageprofile-intl
35338 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35339 install-binutils: maybe-install-opcodes
35340 install-opcodes: maybe-install-bfd
35341 all-gas: maybe-all-libiberty
35343 all-stage1-gas: maybe-all-stage1-libiberty
35344 all-stage2-gas: maybe-all-stage2-libiberty
35345 all-stage3-gas: maybe-all-stage3-libiberty
35346 all-stage4-gas: maybe-all-stage4-libiberty
35347 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35348 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35349 all-gas: maybe-all-opcodes
35351 all-stage1-gas: maybe-all-stage1-opcodes
35352 all-stage2-gas: maybe-all-stage2-opcodes
35353 all-stage3-gas: maybe-all-stage3-opcodes
35354 all-stage4-gas: maybe-all-stage4-opcodes
35355 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35356 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35357 all-gas: maybe-all-bfd
35359 all-stage1-gas: maybe-all-stage1-bfd
35360 all-stage2-gas: maybe-all-stage2-bfd
35361 all-stage3-gas: maybe-all-stage3-bfd
35362 all-stage4-gas: maybe-all-stage4-bfd
35363 all-stageprofile-gas: maybe-all-stageprofile-bfd
35364 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35365 all-gas: maybe-all-intl
35367 all-stage1-gas: maybe-all-stage1-intl
35368 all-stage2-gas: maybe-all-stage2-intl
35369 all-stage3-gas: maybe-all-stage3-intl
35370 all-stage4-gas: maybe-all-stage4-intl
35371 all-stageprofile-gas: maybe-all-stageprofile-intl
35372 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35373 all-gprof: maybe-all-libiberty
35374 all-gprof: maybe-all-bfd
35375 all-gprof: maybe-all-opcodes
35376 all-gprof: maybe-all-intl
35377 all-ld: maybe-all-libiberty
35379 all-stage1-ld: maybe-all-stage1-libiberty
35380 all-stage2-ld: maybe-all-stage2-libiberty
35381 all-stage3-ld: maybe-all-stage3-libiberty
35382 all-stage4-ld: maybe-all-stage4-libiberty
35383 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35384 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35385 all-ld: maybe-all-bfd
35387 all-stage1-ld: maybe-all-stage1-bfd
35388 all-stage2-ld: maybe-all-stage2-bfd
35389 all-stage3-ld: maybe-all-stage3-bfd
35390 all-stage4-ld: maybe-all-stage4-bfd
35391 all-stageprofile-ld: maybe-all-stageprofile-bfd
35392 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35393 all-ld: maybe-all-opcodes
35395 all-stage1-ld: maybe-all-stage1-opcodes
35396 all-stage2-ld: maybe-all-stage2-opcodes
35397 all-stage3-ld: maybe-all-stage3-opcodes
35398 all-stage4-ld: maybe-all-stage4-opcodes
35399 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35400 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35401 all-ld: maybe-all-build-bison
35403 all-stage1-ld: maybe-all-build-bison
35404 all-stage2-ld: maybe-all-build-bison
35405 all-stage3-ld: maybe-all-build-bison
35406 all-stage4-ld: maybe-all-build-bison
35407 all-stageprofile-ld: maybe-all-build-bison
35408 all-stagefeedback-ld: maybe-all-build-bison
35409 all-prebootstrap: maybe-all-build-bison
35410 all-ld: maybe-all-build-byacc
35412 all-stage1-ld: maybe-all-build-byacc
35413 all-stage2-ld: maybe-all-build-byacc
35414 all-stage3-ld: maybe-all-build-byacc
35415 all-stage4-ld: maybe-all-build-byacc
35416 all-stageprofile-ld: maybe-all-build-byacc
35417 all-stagefeedback-ld: maybe-all-build-byacc
35418 all-prebootstrap: maybe-all-build-byacc
35419 all-ld: maybe-all-build-flex
35421 all-stage1-ld: maybe-all-build-flex
35422 all-stage2-ld: maybe-all-build-flex
35423 all-stage3-ld: maybe-all-build-flex
35424 all-stage4-ld: maybe-all-build-flex
35425 all-stageprofile-ld: maybe-all-build-flex
35426 all-stagefeedback-ld: maybe-all-build-flex
35427 all-prebootstrap: maybe-all-build-flex
35428 all-ld: maybe-all-intl
35430 all-stage1-ld: maybe-all-stage1-intl
35431 all-stage2-ld: maybe-all-stage2-intl
35432 all-stage3-ld: maybe-all-stage3-intl
35433 all-stage4-ld: maybe-all-stage4-intl
35434 all-stageprofile-ld: maybe-all-stageprofile-intl
35435 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35436 all-opcodes: maybe-all-bfd
35438 all-stage1-opcodes: maybe-all-stage1-bfd
35439 all-stage2-opcodes: maybe-all-stage2-bfd
35440 all-stage3-opcodes: maybe-all-stage3-bfd
35441 all-stage4-opcodes: maybe-all-stage4-bfd
35442 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35443 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35444 all-opcodes: maybe-all-libiberty
35446 all-stage1-opcodes: maybe-all-stage1-libiberty
35447 all-stage2-opcodes: maybe-all-stage2-libiberty
35448 all-stage3-opcodes: maybe-all-stage3-libiberty
35449 all-stage4-opcodes: maybe-all-stage4-libiberty
35450 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35451 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35452 all-dejagnu: maybe-all-tcl
35453 all-dejagnu: maybe-all-expect
35454 all-dejagnu: maybe-all-tk
35455 configure-expect: maybe-configure-tcl
35456 configure-expect: maybe-configure-tk
35457 all-expect: maybe-all-tcl
35458 all-expect: maybe-all-tk
35459 configure-itcl: maybe-configure-tcl
35460 configure-itcl: maybe-configure-tk
35461 all-itcl: maybe-all-tcl
35462 all-itcl: maybe-all-tk
35463 install-itcl: maybe-install-tcl
35464 configure-tk: maybe-configure-tcl
35465 all-tk: maybe-all-tcl
35466 all-sid: maybe-all-libiberty
35467 all-sid: maybe-all-bfd
35468 all-sid: maybe-all-opcodes
35469 all-sid: maybe-all-tcl
35470 all-sid: maybe-all-tk
35471 install-sid: maybe-install-tcl
35472 install-sid: maybe-install-tk
35473 all-sim: maybe-all-libiberty
35474 all-sim: maybe-all-bfd
35475 all-sim: maybe-all-opcodes
35476 all-sim: maybe-all-readline
35477 all-sim: maybe-configure-gdb
35478 all-fastjar: maybe-all-zlib
35479 all-fastjar: maybe-all-build-texinfo
35480 all-fastjar: maybe-all-libiberty
35481 all-autoconf: maybe-all-m4
35482 all-autoconf: maybe-all-build-texinfo
35483 all-automake: maybe-all-m4
35484 all-automake: maybe-all-build-texinfo
35485 all-automake: maybe-all-autoconf
35486 all-bison: maybe-all-intl
35487 all-bison: maybe-all-build-texinfo
35488 all-diff: maybe-all-intl
35489 all-diff: maybe-all-build-texinfo
35490 all-fileutils: maybe-all-intl
35491 all-fileutils: maybe-all-build-texinfo
35492 all-flex: maybe-all-build-bison
35493 all-flex: maybe-all-build-byacc
35494 all-flex: maybe-all-intl
35495 all-flex: maybe-all-m4
35496 all-flex: maybe-all-build-texinfo
35497 all-gzip: maybe-all-intl
35498 all-gzip: maybe-all-zlib
35499 all-gzip: maybe-all-build-texinfo
35500 all-hello: maybe-all-intl
35501 all-hello: maybe-all-build-texinfo
35502 all-m4: maybe-all-intl
35503 all-m4: maybe-all-build-texinfo
35504 all-make: maybe-all-intl
35505 all-make: maybe-all-build-texinfo
35506 all-patch: maybe-all-build-texinfo
35507 all-make: maybe-all-build-texinfo
35508 all-prms: maybe-all-libiberty
35509 all-recode: maybe-all-build-texinfo
35510 all-sed: maybe-all-build-texinfo
35511 all-send-pr: maybe-all-prms
35512 all-tar: maybe-all-build-texinfo
35513 all-uudecode: maybe-all-build-texinfo
35514 configure-target-boehm-gc: maybe-configure-target-qthreads
35515 configure-target-fastjar: maybe-configure-target-zlib
35516 all-target-fastjar: maybe-all-target-zlib
35517 all-target-fastjar: maybe-all-target-libiberty
35518 configure-target-libjava: maybe-configure-target-zlib
35519 configure-target-libjava: maybe-configure-target-boehm-gc
35520 configure-target-libjava: maybe-configure-target-qthreads
35521 configure-target-libjava: maybe-configure-target-libffi
35522 all-target-libjava: maybe-all-fastjar
35523 all-target-libjava: maybe-all-target-zlib
35524 all-target-libjava: maybe-all-target-boehm-gc
35525 all-target-libjava: maybe-all-target-qthreads
35526 all-target-libjava: maybe-all-target-libffi
35527 all-target-libobjc: maybe-all-target-libiberty
35528 all-target-libstdc++-v3: maybe-all-target-libiberty
35529 all-target-libgloss: maybe-configure-target-newlib
35530 all-target-winsup: maybe-all-target-libiberty
35531 all-target-winsup: maybe-all-target-libtermcap
35534 # Non-toplevel bootstrap rules must depend on several packages, to be built
35535 # before gcc. Another wart that will go away, hopefully soon.
35536 @if gcc-no-bootstrap
35538 all-prebootstrap: maybe-all-bfd
35539 all-prebootstrap: maybe-all-opcodes
35540 all-prebootstrap: maybe-all-binutils
35541 all-prebootstrap: maybe-all-gas
35542 all-prebootstrap: maybe-all-intl
35543 all-prebootstrap: maybe-all-ld
35544 all-prebootstrap: maybe-all-libcpp
35545 all-prebootstrap: maybe-all-libiberty
35546 all-prebootstrap: maybe-all-zlib
35547 @endif gcc-no-bootstrap
35549 GDB_TK = @GDB_TK@
35550 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35552 # Serialization dependencies. Host configures don't work well in parallel to
35553 # each other, due to contention over config.cache. Target configures and
35554 # build configures are similar.
35555 @serialization_dependencies@
35557 # --------------------------------
35558 # Regenerating top level configury
35559 # --------------------------------
35561 # Multilib.out tells target dirs what multilibs they should build.
35562 # There is really only one copy. We use the 'timestamp' method to
35563 # work around various timestamp bugs on some systems.
35564 # We use move-if-change so that it's only considered updated when it
35565 # actually changes, because it has to depend on a phony target.
35566 multilib.out: maybe-all-gcc
35567 @r=`${PWD_COMMAND}`; export r; \
35568 echo "Checking multilib configuration..."; \
35569 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35570 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35572 # Rebuilding Makefile.in, using autogen.
35573 AUTOGEN = autogen
35574 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35575 cd $(srcdir) && $(AUTOGEN) Makefile.def
35577 # Rebuilding Makefile.
35578 Makefile: $(srcdir)/Makefile.in config.status
35579 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35581 config.status: configure
35582 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35584 # Rebuilding configure.
35585 AUTOCONF = autoconf
35586 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35587 cd $(srcdir) && $(AUTOCONF)
35589 # ------------------------------
35590 # Special directives to GNU Make
35591 # ------------------------------
35593 # Don't pass command-line variables to submakes.
35594 .NOEXPORT:
35595 MAKEOVERRIDES=
35597 # end of Makefile.in