2004-12-28 Paolo Bonzini <bonzini@gnu.org>
[binutils.git] / Makefile.in
blobd979b84e9d36bcf79aeefb31341a1aeb6864247f
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 @SET_GCC_LIB_PATH@ \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
118 # re-runs configure.
119 BASE_EXPORTS = \
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
129 BUILD_EXPORTS = \
130 $(BASE_EXPORTS) \
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
154 HOST_EXPORTS = \
155 $(BASE_EXPORTS) \
156 CC="$(CC)"; export CC; \
157 CFLAGS="$(CFLAGS)"; export CFLAGS; \
158 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159 CXX="$(CXX)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161 AR="$(AR)"; export AR; \
162 AS="$(AS)"; export AS; \
163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165 LD="$(LD)"; export LD; \
166 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167 NM="$(NM)"; export NM; \
168 RANLIB="$(RANLIB)"; export RANLIB; \
169 WINDRES="$(WINDRES)"; export WINDRES; \
170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
176 @SET_GCC_LIB_PATH@
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
180 $(HOST_EXPORTS) \
181 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195 $(BASE_EXPORTS) \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 NM="$(NM_FOR_TARGET)"; export NM; \
209 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
212 @SET_GCC_LIB_PATH@
214 RAW_CXX_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
219 NORMAL_TARGET_EXPORTS = \
220 $(BASE_TARGET_EXPORTS) \
221 CXX="$(CXX_FOR_TARGET)"; export CXX;
223 # Where to find GMP
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
231 SHELL = @config_shell@
233 # pwd command to use. Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters. The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
241 # compilers to use to create programs which must be run in the build
242 # environment.
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
246 CXX_FOR_BUILD = $(CXX)
248 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
253 # Flags to pass to stage2 and later makes. They are defined
254 # here so that they can be overridden by Makefile fragments.
255 BOOT_CFLAGS= -g -O2
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
260 else \
261 echo ${CONFIGURED_BISON} ; \
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
269 else \
270 echo ${CONFIGURED_YACC} ; \
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_FLEX} ; fi`
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281 else echo ${CONFIGURED_LEX} ; fi`
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286 else echo ${CONFIGURED_M4} ; fi`
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy. We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295 else if (${CONFIGURED_MAKEINFO} --version \
296 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes. It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306 then echo $$r/expect/expect ; \
307 else echo expect ; fi`
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310 then echo $$s/dejagnu/runtest ; \
311 else echo runtest ; fi`
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
321 AS = @AS@
323 AR = @AR@
324 AR_FLAGS = rc
326 CC = @CC@
327 CFLAGS = @CFLAGS@
328 LIBCFLAGS = $(CFLAGS)
330 CXX = @CXX@
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
334 DLLTOOL = @DLLTOOL@
336 NM = @NM@
338 LD = @LD@
339 LDFLAGS =
341 RANLIB = @RANLIB@
343 WINDRES = @WINDRES@
345 PICFLAG =
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360 if [ -f $$r/binutils/ar ] ; then \
361 echo $$r/binutils/ar ; \
362 else \
363 if [ '$(host)' = '$(target)' ] ; then \
364 echo $(AR); \
365 else \
366 echo $(CONFIGURED_AR_FOR_TARGET) ; \
367 fi; \
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373 if [ -f $$r/gas/as-new ] ; then \
374 echo $$r/gas/as-new ; \
375 elif [ -f $$r/gcc/xgcc ]; then \
376 $(CC_FOR_TARGET) -print-prog-name=as ; \
377 else \
378 if [ '$(host)' = '$(target)' ] ; then \
379 echo $(AS); \
380 else \
381 echo $(CONFIGURED_AS_FOR_TARGET) ; \
382 fi; \
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g. We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a. We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/binutils/dlltool ] ; then \
410 echo $$r/binutils/dlltool ; \
411 else \
412 if [ '$(host)' = '$(target)' ] ; then \
413 echo $(DLLTOOL); \
414 else \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
416 fi; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/ld/ld-new ] ; then \
426 echo $$r/ld/ld-new ; \
427 elif [ -f $$r/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
429 else \
430 if [ '$(host)' = '$(target)' ] ; then \
431 echo $(LD); \
432 else \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 fi; \
437 LDFLAGS_FOR_TARGET =
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/binutils/nm-new ] ; then \
443 echo $$r/binutils/nm-new ; \
444 elif [ -f $$r/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
446 else \
447 if [ '$(host)' = '$(target)' ] ; then \
448 echo $(NM); \
449 else \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
451 fi; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/binutils/ranlib ] ; then \
458 echo $$r/binutils/ranlib ; \
459 else \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
462 echo $(RANLIB); \
463 else \
464 echo ranlib; \
465 fi; \
466 else \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
468 fi; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/binutils/windres ] ; then \
475 echo $$r/binutils/windres ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(WINDRES); \
479 else \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 fi; \
484 PICFLAG_FOR_TARGET =
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
492 @default_target@:
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
496 @alphaieee_frag@
497 @ospace_frag@
498 @host_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506 "bindir=$(bindir)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
511 "libdir=$(libdir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "libstdcxx_incdir=$(libstdcxx_incdir)" \
515 "libsubdir=$(libsubdir)" \
516 "localstatedir=$(localstatedir)" \
517 "mandir=$(mandir)" \
518 "oldincludedir=$(oldincludedir)" \
519 "prefix=$(prefix)" \
520 "sbindir=$(sbindir)" \
521 "sharedstatedir=$(sharedstatedir)" \
522 "sysconfdir=$(sysconfdir)" \
523 "tooldir=$(tooldir)" \
524 "build_tooldir=$(build_tooldir)" \
525 "gxx_include_dir=$(gxx_include_dir)" \
526 "gcc_version=$(gcc_version)" \
527 "gcc_version_trigger=$(gcc_version_trigger)" \
528 "target_alias=$(target_alias)" \
529 "BISON=$(BISON)" \
530 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
532 "EXPECT=$(EXPECT)" \
533 "FLEX=$(FLEX)" \
534 "INSTALL=$(INSTALL)" \
535 "INSTALL_DATA=$(INSTALL_DATA)" \
536 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
538 "LEX=$(LEX)" \
539 "M4=$(M4)" \
540 "MAKE=$(MAKE)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
543 "SHELL=$(SHELL)" \
544 "YACC=$(YACC)" \
545 "AR_FLAGS=$(AR_FLAGS)" \
546 "CFLAGS=$(CFLAGS)" \
547 "CXXFLAGS=$(CXXFLAGS)" \
548 "LDFLAGS=$(LDFLAGS)" \
549 "LIBCFLAGS=$(LIBCFLAGS)" \
550 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566 "CONFIG_SHELL=$(SHELL)" \
567 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
569 # For any flags above that may contain shell code that varies from one
570 # target library to another. When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged. They must not contain
573 # single nor double quotes.
574 RECURSE_FLAGS = \
575 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
582 EXTRA_HOST_FLAGS = \
583 'AR=$(AR)' \
584 'AS=$(AS)' \
585 'CC=$(CC)' \
586 'CXX=$(CXX)' \
587 'DLLTOOL=$(DLLTOOL)' \
588 'LD=$(LD)' \
589 'NM=$(NM)' \
590 'RANLIB=$(RANLIB)' \
591 'WINDRES=$(WINDRES)'
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
595 # Flags that are concerned with the location of the X11 include files
596 # and library files
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories. Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
603 X11_FLAGS_TO_PASS = \
604 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611 'AR=$$(AR_FOR_TARGET)' \
612 'AS=$$(AS_FOR_TARGET)' \
613 'CC=$$(CC_FOR_TARGET)' \
614 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615 'CXX=$$(CXX_FOR_TARGET)' \
616 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618 'LD=$$(LD_FOR_TARGET)' \
619 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621 'NM=$$(NM_FOR_TARGET)' \
622 'RANLIB=$$(RANLIB_FOR_TARGET)' \
623 'WINDRES=$$(WINDRES_FOR_TARGET)'
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
627 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
629 # ranlib.
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
633 EXTRA_GCC_FLAGS = \
634 'BUILD_PREFIX=$(BUILD_PREFIX)' \
635 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
650 .PHONY: configure-host
651 configure-host: \
652 maybe-configure-ash \
653 maybe-configure-autoconf \
654 maybe-configure-automake \
655 maybe-configure-bash \
656 maybe-configure-bfd \
657 maybe-configure-opcodes \
658 maybe-configure-binutils \
659 maybe-configure-bison \
660 maybe-configure-byacc \
661 maybe-configure-bzip2 \
662 maybe-configure-dejagnu \
663 maybe-configure-diff \
664 maybe-configure-dosutils \
665 maybe-configure-etc \
666 maybe-configure-fastjar \
667 maybe-configure-fileutils \
668 maybe-configure-findutils \
669 maybe-configure-find \
670 maybe-configure-fixincludes \
671 maybe-configure-flex \
672 maybe-configure-gas \
673 maybe-configure-gcc \
674 maybe-configure-gawk \
675 maybe-configure-gettext \
676 maybe-configure-gnuserv \
677 maybe-configure-gprof \
678 maybe-configure-gzip \
679 maybe-configure-hello \
680 maybe-configure-indent \
681 maybe-configure-intl \
682 maybe-configure-tcl \
683 maybe-configure-itcl \
684 maybe-configure-ld \
685 maybe-configure-libcpp \
686 maybe-configure-libgui \
687 maybe-configure-libiberty \
688 maybe-configure-libtool \
689 maybe-configure-m4 \
690 maybe-configure-make \
691 maybe-configure-mmalloc \
692 maybe-configure-patch \
693 maybe-configure-perl \
694 maybe-configure-prms \
695 maybe-configure-rcs \
696 maybe-configure-readline \
697 maybe-configure-release \
698 maybe-configure-recode \
699 maybe-configure-sed \
700 maybe-configure-send-pr \
701 maybe-configure-shellutils \
702 maybe-configure-sid \
703 maybe-configure-sim \
704 maybe-configure-tar \
705 maybe-configure-texinfo \
706 maybe-configure-textutils \
707 maybe-configure-time \
708 maybe-configure-uudecode \
709 maybe-configure-wdiff \
710 maybe-configure-zip \
711 maybe-configure-zlib \
712 maybe-configure-gdb \
713 maybe-configure-expect \
714 maybe-configure-guile \
715 maybe-configure-tk \
716 maybe-configure-libtermcap \
717 maybe-configure-utils
718 .PHONY: configure-target
719 configure-target: \
720 maybe-configure-target-libstdc++-v3 \
721 maybe-configure-target-libmudflap \
722 maybe-configure-target-newlib \
723 maybe-configure-target-libgfortran \
724 maybe-configure-target-libobjc \
725 maybe-configure-target-libtermcap \
726 maybe-configure-target-winsup \
727 maybe-configure-target-libgloss \
728 maybe-configure-target-libiberty \
729 maybe-configure-target-gperf \
730 maybe-configure-target-examples \
731 maybe-configure-target-libffi \
732 maybe-configure-target-libjava \
733 maybe-configure-target-zlib \
734 maybe-configure-target-boehm-gc \
735 maybe-configure-target-qthreads \
736 maybe-configure-target-rda \
737 maybe-configure-target-libada
739 # The target built for a native non-bootstrap build.
740 .PHONY: all
741 all: unstage all-host all-target stage
743 .PHONY: all-build
744 all-build: \
745 maybe-all-build-libiberty \
746 maybe-all-build-bison \
747 maybe-all-build-byacc \
748 maybe-all-build-flex \
749 maybe-all-build-m4 \
750 maybe-all-build-texinfo \
751 maybe-all-build-fixincludes
752 .PHONY: all-host
753 all-host: \
754 maybe-all-ash \
755 maybe-all-autoconf \
756 maybe-all-automake \
757 maybe-all-bash \
758 maybe-all-bfd \
759 maybe-all-opcodes \
760 maybe-all-binutils \
761 maybe-all-bison \
762 maybe-all-byacc \
763 maybe-all-bzip2 \
764 maybe-all-dejagnu \
765 maybe-all-diff \
766 maybe-all-dosutils \
767 maybe-all-etc \
768 maybe-all-fastjar \
769 maybe-all-fileutils \
770 maybe-all-findutils \
771 maybe-all-find \
772 maybe-all-fixincludes \
773 maybe-all-flex \
774 maybe-all-gas \
775 maybe-all-gcc \
776 maybe-all-gawk \
777 maybe-all-gettext \
778 maybe-all-gnuserv \
779 maybe-all-gprof \
780 maybe-all-gzip \
781 maybe-all-hello \
782 maybe-all-indent \
783 maybe-all-intl \
784 maybe-all-tcl \
785 maybe-all-itcl \
786 maybe-all-ld \
787 maybe-all-libcpp \
788 maybe-all-libgui \
789 maybe-all-libiberty \
790 maybe-all-libtool \
791 maybe-all-m4 \
792 maybe-all-make \
793 maybe-all-mmalloc \
794 maybe-all-patch \
795 maybe-all-perl \
796 maybe-all-prms \
797 maybe-all-rcs \
798 maybe-all-readline \
799 maybe-all-release \
800 maybe-all-recode \
801 maybe-all-sed \
802 maybe-all-send-pr \
803 maybe-all-shellutils \
804 maybe-all-sid \
805 maybe-all-sim \
806 maybe-all-tar \
807 maybe-all-texinfo \
808 maybe-all-textutils \
809 maybe-all-time \
810 maybe-all-uudecode \
811 maybe-all-wdiff \
812 maybe-all-zip \
813 maybe-all-zlib \
814 maybe-all-gdb \
815 maybe-all-expect \
816 maybe-all-guile \
817 maybe-all-tk \
818 maybe-all-libtermcap \
819 maybe-all-utils
820 .PHONY: all-target
821 all-target: \
822 maybe-all-target-libstdc++-v3 \
823 maybe-all-target-libmudflap \
824 maybe-all-target-newlib \
825 maybe-all-target-libgfortran \
826 maybe-all-target-libobjc \
827 maybe-all-target-libtermcap \
828 maybe-all-target-winsup \
829 maybe-all-target-libgloss \
830 maybe-all-target-libiberty \
831 maybe-all-target-gperf \
832 maybe-all-target-examples \
833 maybe-all-target-libffi \
834 maybe-all-target-libjava \
835 maybe-all-target-zlib \
836 maybe-all-target-boehm-gc \
837 maybe-all-target-qthreads \
838 maybe-all-target-rda \
839 maybe-all-target-libada
841 # Do a target for all the subdirectories. A ``make do-X'' will do a
842 # ``make X'' in all subdirectories (because, in general, there is a
843 # dependency (below) of X upon do-X, a ``make X'' will also do this,
844 # but it may do additional work as well).
846 .PHONY: do-info
847 do-info: unstage info-host info-target stage
849 .PHONY: info-host
850 info-host: \
851 maybe-info-ash \
852 maybe-info-autoconf \
853 maybe-info-automake \
854 maybe-info-bash \
855 maybe-info-bfd \
856 maybe-info-opcodes \
857 maybe-info-binutils \
858 maybe-info-bison \
859 maybe-info-byacc \
860 maybe-info-bzip2 \
861 maybe-info-dejagnu \
862 maybe-info-diff \
863 maybe-info-dosutils \
864 maybe-info-etc \
865 maybe-info-fastjar \
866 maybe-info-fileutils \
867 maybe-info-findutils \
868 maybe-info-find \
869 maybe-info-fixincludes \
870 maybe-info-flex \
871 maybe-info-gas \
872 maybe-info-gcc \
873 maybe-info-gawk \
874 maybe-info-gettext \
875 maybe-info-gnuserv \
876 maybe-info-gprof \
877 maybe-info-gzip \
878 maybe-info-hello \
879 maybe-info-indent \
880 maybe-info-intl \
881 maybe-info-tcl \
882 maybe-info-itcl \
883 maybe-info-ld \
884 maybe-info-libcpp \
885 maybe-info-libgui \
886 maybe-info-libiberty \
887 maybe-info-libtool \
888 maybe-info-m4 \
889 maybe-info-make \
890 maybe-info-mmalloc \
891 maybe-info-patch \
892 maybe-info-perl \
893 maybe-info-prms \
894 maybe-info-rcs \
895 maybe-info-readline \
896 maybe-info-release \
897 maybe-info-recode \
898 maybe-info-sed \
899 maybe-info-send-pr \
900 maybe-info-shellutils \
901 maybe-info-sid \
902 maybe-info-sim \
903 maybe-info-tar \
904 maybe-info-texinfo \
905 maybe-info-textutils \
906 maybe-info-time \
907 maybe-info-uudecode \
908 maybe-info-wdiff \
909 maybe-info-zip \
910 maybe-info-zlib \
911 maybe-info-gdb \
912 maybe-info-expect \
913 maybe-info-guile \
914 maybe-info-tk \
915 maybe-info-libtermcap \
916 maybe-info-utils
918 .PHONY: info-target
919 info-target: \
920 maybe-info-target-libstdc++-v3 \
921 maybe-info-target-libmudflap \
922 maybe-info-target-newlib \
923 maybe-info-target-libgfortran \
924 maybe-info-target-libobjc \
925 maybe-info-target-libtermcap \
926 maybe-info-target-winsup \
927 maybe-info-target-libgloss \
928 maybe-info-target-libiberty \
929 maybe-info-target-gperf \
930 maybe-info-target-examples \
931 maybe-info-target-libffi \
932 maybe-info-target-libjava \
933 maybe-info-target-zlib \
934 maybe-info-target-boehm-gc \
935 maybe-info-target-qthreads \
936 maybe-info-target-rda \
937 maybe-info-target-libada
939 .PHONY: do-dvi
940 do-dvi: unstage dvi-host dvi-target stage
942 .PHONY: dvi-host
943 dvi-host: \
944 maybe-dvi-ash \
945 maybe-dvi-autoconf \
946 maybe-dvi-automake \
947 maybe-dvi-bash \
948 maybe-dvi-bfd \
949 maybe-dvi-opcodes \
950 maybe-dvi-binutils \
951 maybe-dvi-bison \
952 maybe-dvi-byacc \
953 maybe-dvi-bzip2 \
954 maybe-dvi-dejagnu \
955 maybe-dvi-diff \
956 maybe-dvi-dosutils \
957 maybe-dvi-etc \
958 maybe-dvi-fastjar \
959 maybe-dvi-fileutils \
960 maybe-dvi-findutils \
961 maybe-dvi-find \
962 maybe-dvi-fixincludes \
963 maybe-dvi-flex \
964 maybe-dvi-gas \
965 maybe-dvi-gcc \
966 maybe-dvi-gawk \
967 maybe-dvi-gettext \
968 maybe-dvi-gnuserv \
969 maybe-dvi-gprof \
970 maybe-dvi-gzip \
971 maybe-dvi-hello \
972 maybe-dvi-indent \
973 maybe-dvi-intl \
974 maybe-dvi-tcl \
975 maybe-dvi-itcl \
976 maybe-dvi-ld \
977 maybe-dvi-libcpp \
978 maybe-dvi-libgui \
979 maybe-dvi-libiberty \
980 maybe-dvi-libtool \
981 maybe-dvi-m4 \
982 maybe-dvi-make \
983 maybe-dvi-mmalloc \
984 maybe-dvi-patch \
985 maybe-dvi-perl \
986 maybe-dvi-prms \
987 maybe-dvi-rcs \
988 maybe-dvi-readline \
989 maybe-dvi-release \
990 maybe-dvi-recode \
991 maybe-dvi-sed \
992 maybe-dvi-send-pr \
993 maybe-dvi-shellutils \
994 maybe-dvi-sid \
995 maybe-dvi-sim \
996 maybe-dvi-tar \
997 maybe-dvi-texinfo \
998 maybe-dvi-textutils \
999 maybe-dvi-time \
1000 maybe-dvi-uudecode \
1001 maybe-dvi-wdiff \
1002 maybe-dvi-zip \
1003 maybe-dvi-zlib \
1004 maybe-dvi-gdb \
1005 maybe-dvi-expect \
1006 maybe-dvi-guile \
1007 maybe-dvi-tk \
1008 maybe-dvi-libtermcap \
1009 maybe-dvi-utils
1011 .PHONY: dvi-target
1012 dvi-target: \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1032 .PHONY: do-html
1033 do-html: unstage html-host html-target stage
1035 .PHONY: html-host
1036 html-host: \
1037 maybe-html-ash \
1038 maybe-html-autoconf \
1039 maybe-html-automake \
1040 maybe-html-bash \
1041 maybe-html-bfd \
1042 maybe-html-opcodes \
1043 maybe-html-binutils \
1044 maybe-html-bison \
1045 maybe-html-byacc \
1046 maybe-html-bzip2 \
1047 maybe-html-dejagnu \
1048 maybe-html-diff \
1049 maybe-html-dosutils \
1050 maybe-html-etc \
1051 maybe-html-fastjar \
1052 maybe-html-fileutils \
1053 maybe-html-findutils \
1054 maybe-html-find \
1055 maybe-html-fixincludes \
1056 maybe-html-flex \
1057 maybe-html-gas \
1058 maybe-html-gcc \
1059 maybe-html-gawk \
1060 maybe-html-gettext \
1061 maybe-html-gnuserv \
1062 maybe-html-gprof \
1063 maybe-html-gzip \
1064 maybe-html-hello \
1065 maybe-html-indent \
1066 maybe-html-intl \
1067 maybe-html-tcl \
1068 maybe-html-itcl \
1069 maybe-html-ld \
1070 maybe-html-libcpp \
1071 maybe-html-libgui \
1072 maybe-html-libiberty \
1073 maybe-html-libtool \
1074 maybe-html-m4 \
1075 maybe-html-make \
1076 maybe-html-mmalloc \
1077 maybe-html-patch \
1078 maybe-html-perl \
1079 maybe-html-prms \
1080 maybe-html-rcs \
1081 maybe-html-readline \
1082 maybe-html-release \
1083 maybe-html-recode \
1084 maybe-html-sed \
1085 maybe-html-send-pr \
1086 maybe-html-shellutils \
1087 maybe-html-sid \
1088 maybe-html-sim \
1089 maybe-html-tar \
1090 maybe-html-texinfo \
1091 maybe-html-textutils \
1092 maybe-html-time \
1093 maybe-html-uudecode \
1094 maybe-html-wdiff \
1095 maybe-html-zip \
1096 maybe-html-zlib \
1097 maybe-html-gdb \
1098 maybe-html-expect \
1099 maybe-html-guile \
1100 maybe-html-tk \
1101 maybe-html-libtermcap \
1102 maybe-html-utils
1104 .PHONY: html-target
1105 html-target: \
1106 maybe-html-target-libstdc++-v3 \
1107 maybe-html-target-libmudflap \
1108 maybe-html-target-newlib \
1109 maybe-html-target-libgfortran \
1110 maybe-html-target-libobjc \
1111 maybe-html-target-libtermcap \
1112 maybe-html-target-winsup \
1113 maybe-html-target-libgloss \
1114 maybe-html-target-libiberty \
1115 maybe-html-target-gperf \
1116 maybe-html-target-examples \
1117 maybe-html-target-libffi \
1118 maybe-html-target-libjava \
1119 maybe-html-target-zlib \
1120 maybe-html-target-boehm-gc \
1121 maybe-html-target-qthreads \
1122 maybe-html-target-rda \
1123 maybe-html-target-libada
1125 .PHONY: do-TAGS
1126 do-TAGS: unstage TAGS-host TAGS-target stage
1128 .PHONY: TAGS-host
1129 TAGS-host: \
1130 maybe-TAGS-ash \
1131 maybe-TAGS-autoconf \
1132 maybe-TAGS-automake \
1133 maybe-TAGS-bash \
1134 maybe-TAGS-bfd \
1135 maybe-TAGS-opcodes \
1136 maybe-TAGS-binutils \
1137 maybe-TAGS-bison \
1138 maybe-TAGS-byacc \
1139 maybe-TAGS-bzip2 \
1140 maybe-TAGS-dejagnu \
1141 maybe-TAGS-diff \
1142 maybe-TAGS-dosutils \
1143 maybe-TAGS-etc \
1144 maybe-TAGS-fastjar \
1145 maybe-TAGS-fileutils \
1146 maybe-TAGS-findutils \
1147 maybe-TAGS-find \
1148 maybe-TAGS-fixincludes \
1149 maybe-TAGS-flex \
1150 maybe-TAGS-gas \
1151 maybe-TAGS-gcc \
1152 maybe-TAGS-gawk \
1153 maybe-TAGS-gettext \
1154 maybe-TAGS-gnuserv \
1155 maybe-TAGS-gprof \
1156 maybe-TAGS-gzip \
1157 maybe-TAGS-hello \
1158 maybe-TAGS-indent \
1159 maybe-TAGS-intl \
1160 maybe-TAGS-tcl \
1161 maybe-TAGS-itcl \
1162 maybe-TAGS-ld \
1163 maybe-TAGS-libcpp \
1164 maybe-TAGS-libgui \
1165 maybe-TAGS-libiberty \
1166 maybe-TAGS-libtool \
1167 maybe-TAGS-m4 \
1168 maybe-TAGS-make \
1169 maybe-TAGS-mmalloc \
1170 maybe-TAGS-patch \
1171 maybe-TAGS-perl \
1172 maybe-TAGS-prms \
1173 maybe-TAGS-rcs \
1174 maybe-TAGS-readline \
1175 maybe-TAGS-release \
1176 maybe-TAGS-recode \
1177 maybe-TAGS-sed \
1178 maybe-TAGS-send-pr \
1179 maybe-TAGS-shellutils \
1180 maybe-TAGS-sid \
1181 maybe-TAGS-sim \
1182 maybe-TAGS-tar \
1183 maybe-TAGS-texinfo \
1184 maybe-TAGS-textutils \
1185 maybe-TAGS-time \
1186 maybe-TAGS-uudecode \
1187 maybe-TAGS-wdiff \
1188 maybe-TAGS-zip \
1189 maybe-TAGS-zlib \
1190 maybe-TAGS-gdb \
1191 maybe-TAGS-expect \
1192 maybe-TAGS-guile \
1193 maybe-TAGS-tk \
1194 maybe-TAGS-libtermcap \
1195 maybe-TAGS-utils
1197 .PHONY: TAGS-target
1198 TAGS-target: \
1199 maybe-TAGS-target-libstdc++-v3 \
1200 maybe-TAGS-target-libmudflap \
1201 maybe-TAGS-target-newlib \
1202 maybe-TAGS-target-libgfortran \
1203 maybe-TAGS-target-libobjc \
1204 maybe-TAGS-target-libtermcap \
1205 maybe-TAGS-target-winsup \
1206 maybe-TAGS-target-libgloss \
1207 maybe-TAGS-target-libiberty \
1208 maybe-TAGS-target-gperf \
1209 maybe-TAGS-target-examples \
1210 maybe-TAGS-target-libffi \
1211 maybe-TAGS-target-libjava \
1212 maybe-TAGS-target-zlib \
1213 maybe-TAGS-target-boehm-gc \
1214 maybe-TAGS-target-qthreads \
1215 maybe-TAGS-target-rda \
1216 maybe-TAGS-target-libada
1218 .PHONY: do-install-info
1219 do-install-info: unstage install-info-host install-info-target stage
1221 .PHONY: install-info-host
1222 install-info-host: \
1223 maybe-install-info-ash \
1224 maybe-install-info-autoconf \
1225 maybe-install-info-automake \
1226 maybe-install-info-bash \
1227 maybe-install-info-bfd \
1228 maybe-install-info-opcodes \
1229 maybe-install-info-binutils \
1230 maybe-install-info-bison \
1231 maybe-install-info-byacc \
1232 maybe-install-info-bzip2 \
1233 maybe-install-info-dejagnu \
1234 maybe-install-info-diff \
1235 maybe-install-info-dosutils \
1236 maybe-install-info-etc \
1237 maybe-install-info-fastjar \
1238 maybe-install-info-fileutils \
1239 maybe-install-info-findutils \
1240 maybe-install-info-find \
1241 maybe-install-info-fixincludes \
1242 maybe-install-info-flex \
1243 maybe-install-info-gas \
1244 maybe-install-info-gcc \
1245 maybe-install-info-gawk \
1246 maybe-install-info-gettext \
1247 maybe-install-info-gnuserv \
1248 maybe-install-info-gprof \
1249 maybe-install-info-gzip \
1250 maybe-install-info-hello \
1251 maybe-install-info-indent \
1252 maybe-install-info-intl \
1253 maybe-install-info-tcl \
1254 maybe-install-info-itcl \
1255 maybe-install-info-ld \
1256 maybe-install-info-libcpp \
1257 maybe-install-info-libgui \
1258 maybe-install-info-libiberty \
1259 maybe-install-info-libtool \
1260 maybe-install-info-m4 \
1261 maybe-install-info-make \
1262 maybe-install-info-mmalloc \
1263 maybe-install-info-patch \
1264 maybe-install-info-perl \
1265 maybe-install-info-prms \
1266 maybe-install-info-rcs \
1267 maybe-install-info-readline \
1268 maybe-install-info-release \
1269 maybe-install-info-recode \
1270 maybe-install-info-sed \
1271 maybe-install-info-send-pr \
1272 maybe-install-info-shellutils \
1273 maybe-install-info-sid \
1274 maybe-install-info-sim \
1275 maybe-install-info-tar \
1276 maybe-install-info-texinfo \
1277 maybe-install-info-textutils \
1278 maybe-install-info-time \
1279 maybe-install-info-uudecode \
1280 maybe-install-info-wdiff \
1281 maybe-install-info-zip \
1282 maybe-install-info-zlib \
1283 maybe-install-info-gdb \
1284 maybe-install-info-expect \
1285 maybe-install-info-guile \
1286 maybe-install-info-tk \
1287 maybe-install-info-libtermcap \
1288 maybe-install-info-utils
1290 .PHONY: install-info-target
1291 install-info-target: \
1292 maybe-install-info-target-libstdc++-v3 \
1293 maybe-install-info-target-libmudflap \
1294 maybe-install-info-target-newlib \
1295 maybe-install-info-target-libgfortran \
1296 maybe-install-info-target-libobjc \
1297 maybe-install-info-target-libtermcap \
1298 maybe-install-info-target-winsup \
1299 maybe-install-info-target-libgloss \
1300 maybe-install-info-target-libiberty \
1301 maybe-install-info-target-gperf \
1302 maybe-install-info-target-examples \
1303 maybe-install-info-target-libffi \
1304 maybe-install-info-target-libjava \
1305 maybe-install-info-target-zlib \
1306 maybe-install-info-target-boehm-gc \
1307 maybe-install-info-target-qthreads \
1308 maybe-install-info-target-rda \
1309 maybe-install-info-target-libada
1311 .PHONY: do-installcheck
1312 do-installcheck: unstage installcheck-host installcheck-target stage
1314 .PHONY: installcheck-host
1315 installcheck-host: \
1316 maybe-installcheck-ash \
1317 maybe-installcheck-autoconf \
1318 maybe-installcheck-automake \
1319 maybe-installcheck-bash \
1320 maybe-installcheck-bfd \
1321 maybe-installcheck-opcodes \
1322 maybe-installcheck-binutils \
1323 maybe-installcheck-bison \
1324 maybe-installcheck-byacc \
1325 maybe-installcheck-bzip2 \
1326 maybe-installcheck-dejagnu \
1327 maybe-installcheck-diff \
1328 maybe-installcheck-dosutils \
1329 maybe-installcheck-etc \
1330 maybe-installcheck-fastjar \
1331 maybe-installcheck-fileutils \
1332 maybe-installcheck-findutils \
1333 maybe-installcheck-find \
1334 maybe-installcheck-fixincludes \
1335 maybe-installcheck-flex \
1336 maybe-installcheck-gas \
1337 maybe-installcheck-gcc \
1338 maybe-installcheck-gawk \
1339 maybe-installcheck-gettext \
1340 maybe-installcheck-gnuserv \
1341 maybe-installcheck-gprof \
1342 maybe-installcheck-gzip \
1343 maybe-installcheck-hello \
1344 maybe-installcheck-indent \
1345 maybe-installcheck-intl \
1346 maybe-installcheck-tcl \
1347 maybe-installcheck-itcl \
1348 maybe-installcheck-ld \
1349 maybe-installcheck-libcpp \
1350 maybe-installcheck-libgui \
1351 maybe-installcheck-libiberty \
1352 maybe-installcheck-libtool \
1353 maybe-installcheck-m4 \
1354 maybe-installcheck-make \
1355 maybe-installcheck-mmalloc \
1356 maybe-installcheck-patch \
1357 maybe-installcheck-perl \
1358 maybe-installcheck-prms \
1359 maybe-installcheck-rcs \
1360 maybe-installcheck-readline \
1361 maybe-installcheck-release \
1362 maybe-installcheck-recode \
1363 maybe-installcheck-sed \
1364 maybe-installcheck-send-pr \
1365 maybe-installcheck-shellutils \
1366 maybe-installcheck-sid \
1367 maybe-installcheck-sim \
1368 maybe-installcheck-tar \
1369 maybe-installcheck-texinfo \
1370 maybe-installcheck-textutils \
1371 maybe-installcheck-time \
1372 maybe-installcheck-uudecode \
1373 maybe-installcheck-wdiff \
1374 maybe-installcheck-zip \
1375 maybe-installcheck-zlib \
1376 maybe-installcheck-gdb \
1377 maybe-installcheck-expect \
1378 maybe-installcheck-guile \
1379 maybe-installcheck-tk \
1380 maybe-installcheck-libtermcap \
1381 maybe-installcheck-utils
1383 .PHONY: installcheck-target
1384 installcheck-target: \
1385 maybe-installcheck-target-libstdc++-v3 \
1386 maybe-installcheck-target-libmudflap \
1387 maybe-installcheck-target-newlib \
1388 maybe-installcheck-target-libgfortran \
1389 maybe-installcheck-target-libobjc \
1390 maybe-installcheck-target-libtermcap \
1391 maybe-installcheck-target-winsup \
1392 maybe-installcheck-target-libgloss \
1393 maybe-installcheck-target-libiberty \
1394 maybe-installcheck-target-gperf \
1395 maybe-installcheck-target-examples \
1396 maybe-installcheck-target-libffi \
1397 maybe-installcheck-target-libjava \
1398 maybe-installcheck-target-zlib \
1399 maybe-installcheck-target-boehm-gc \
1400 maybe-installcheck-target-qthreads \
1401 maybe-installcheck-target-rda \
1402 maybe-installcheck-target-libada
1404 .PHONY: do-mostlyclean
1405 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1407 .PHONY: mostlyclean-host
1408 mostlyclean-host: \
1409 maybe-mostlyclean-ash \
1410 maybe-mostlyclean-autoconf \
1411 maybe-mostlyclean-automake \
1412 maybe-mostlyclean-bash \
1413 maybe-mostlyclean-bfd \
1414 maybe-mostlyclean-opcodes \
1415 maybe-mostlyclean-binutils \
1416 maybe-mostlyclean-bison \
1417 maybe-mostlyclean-byacc \
1418 maybe-mostlyclean-bzip2 \
1419 maybe-mostlyclean-dejagnu \
1420 maybe-mostlyclean-diff \
1421 maybe-mostlyclean-dosutils \
1422 maybe-mostlyclean-etc \
1423 maybe-mostlyclean-fastjar \
1424 maybe-mostlyclean-fileutils \
1425 maybe-mostlyclean-findutils \
1426 maybe-mostlyclean-find \
1427 maybe-mostlyclean-fixincludes \
1428 maybe-mostlyclean-flex \
1429 maybe-mostlyclean-gas \
1430 maybe-mostlyclean-gcc \
1431 maybe-mostlyclean-gawk \
1432 maybe-mostlyclean-gettext \
1433 maybe-mostlyclean-gnuserv \
1434 maybe-mostlyclean-gprof \
1435 maybe-mostlyclean-gzip \
1436 maybe-mostlyclean-hello \
1437 maybe-mostlyclean-indent \
1438 maybe-mostlyclean-intl \
1439 maybe-mostlyclean-tcl \
1440 maybe-mostlyclean-itcl \
1441 maybe-mostlyclean-ld \
1442 maybe-mostlyclean-libcpp \
1443 maybe-mostlyclean-libgui \
1444 maybe-mostlyclean-libiberty \
1445 maybe-mostlyclean-libtool \
1446 maybe-mostlyclean-m4 \
1447 maybe-mostlyclean-make \
1448 maybe-mostlyclean-mmalloc \
1449 maybe-mostlyclean-patch \
1450 maybe-mostlyclean-perl \
1451 maybe-mostlyclean-prms \
1452 maybe-mostlyclean-rcs \
1453 maybe-mostlyclean-readline \
1454 maybe-mostlyclean-release \
1455 maybe-mostlyclean-recode \
1456 maybe-mostlyclean-sed \
1457 maybe-mostlyclean-send-pr \
1458 maybe-mostlyclean-shellutils \
1459 maybe-mostlyclean-sid \
1460 maybe-mostlyclean-sim \
1461 maybe-mostlyclean-tar \
1462 maybe-mostlyclean-texinfo \
1463 maybe-mostlyclean-textutils \
1464 maybe-mostlyclean-time \
1465 maybe-mostlyclean-uudecode \
1466 maybe-mostlyclean-wdiff \
1467 maybe-mostlyclean-zip \
1468 maybe-mostlyclean-zlib \
1469 maybe-mostlyclean-gdb \
1470 maybe-mostlyclean-expect \
1471 maybe-mostlyclean-guile \
1472 maybe-mostlyclean-tk \
1473 maybe-mostlyclean-libtermcap \
1474 maybe-mostlyclean-utils
1476 .PHONY: mostlyclean-target
1477 mostlyclean-target: \
1478 maybe-mostlyclean-target-libstdc++-v3 \
1479 maybe-mostlyclean-target-libmudflap \
1480 maybe-mostlyclean-target-newlib \
1481 maybe-mostlyclean-target-libgfortran \
1482 maybe-mostlyclean-target-libobjc \
1483 maybe-mostlyclean-target-libtermcap \
1484 maybe-mostlyclean-target-winsup \
1485 maybe-mostlyclean-target-libgloss \
1486 maybe-mostlyclean-target-libiberty \
1487 maybe-mostlyclean-target-gperf \
1488 maybe-mostlyclean-target-examples \
1489 maybe-mostlyclean-target-libffi \
1490 maybe-mostlyclean-target-libjava \
1491 maybe-mostlyclean-target-zlib \
1492 maybe-mostlyclean-target-boehm-gc \
1493 maybe-mostlyclean-target-qthreads \
1494 maybe-mostlyclean-target-rda \
1495 maybe-mostlyclean-target-libada
1497 .PHONY: do-clean
1498 do-clean: unstage clean-host clean-target stage
1500 .PHONY: clean-host
1501 clean-host: \
1502 maybe-clean-ash \
1503 maybe-clean-autoconf \
1504 maybe-clean-automake \
1505 maybe-clean-bash \
1506 maybe-clean-bfd \
1507 maybe-clean-opcodes \
1508 maybe-clean-binutils \
1509 maybe-clean-bison \
1510 maybe-clean-byacc \
1511 maybe-clean-bzip2 \
1512 maybe-clean-dejagnu \
1513 maybe-clean-diff \
1514 maybe-clean-dosutils \
1515 maybe-clean-etc \
1516 maybe-clean-fastjar \
1517 maybe-clean-fileutils \
1518 maybe-clean-findutils \
1519 maybe-clean-find \
1520 maybe-clean-fixincludes \
1521 maybe-clean-flex \
1522 maybe-clean-gas \
1523 maybe-clean-gcc \
1524 maybe-clean-gawk \
1525 maybe-clean-gettext \
1526 maybe-clean-gnuserv \
1527 maybe-clean-gprof \
1528 maybe-clean-gzip \
1529 maybe-clean-hello \
1530 maybe-clean-indent \
1531 maybe-clean-intl \
1532 maybe-clean-tcl \
1533 maybe-clean-itcl \
1534 maybe-clean-ld \
1535 maybe-clean-libcpp \
1536 maybe-clean-libgui \
1537 maybe-clean-libiberty \
1538 maybe-clean-libtool \
1539 maybe-clean-m4 \
1540 maybe-clean-make \
1541 maybe-clean-mmalloc \
1542 maybe-clean-patch \
1543 maybe-clean-perl \
1544 maybe-clean-prms \
1545 maybe-clean-rcs \
1546 maybe-clean-readline \
1547 maybe-clean-release \
1548 maybe-clean-recode \
1549 maybe-clean-sed \
1550 maybe-clean-send-pr \
1551 maybe-clean-shellutils \
1552 maybe-clean-sid \
1553 maybe-clean-sim \
1554 maybe-clean-tar \
1555 maybe-clean-texinfo \
1556 maybe-clean-textutils \
1557 maybe-clean-time \
1558 maybe-clean-uudecode \
1559 maybe-clean-wdiff \
1560 maybe-clean-zip \
1561 maybe-clean-zlib \
1562 maybe-clean-gdb \
1563 maybe-clean-expect \
1564 maybe-clean-guile \
1565 maybe-clean-tk \
1566 maybe-clean-libtermcap \
1567 maybe-clean-utils
1569 .PHONY: clean-target
1570 clean-target: \
1571 maybe-clean-target-libstdc++-v3 \
1572 maybe-clean-target-libmudflap \
1573 maybe-clean-target-newlib \
1574 maybe-clean-target-libgfortran \
1575 maybe-clean-target-libobjc \
1576 maybe-clean-target-libtermcap \
1577 maybe-clean-target-winsup \
1578 maybe-clean-target-libgloss \
1579 maybe-clean-target-libiberty \
1580 maybe-clean-target-gperf \
1581 maybe-clean-target-examples \
1582 maybe-clean-target-libffi \
1583 maybe-clean-target-libjava \
1584 maybe-clean-target-zlib \
1585 maybe-clean-target-boehm-gc \
1586 maybe-clean-target-qthreads \
1587 maybe-clean-target-rda \
1588 maybe-clean-target-libada
1590 .PHONY: do-distclean
1591 do-distclean: unstage distclean-host distclean-target stage
1593 .PHONY: distclean-host
1594 distclean-host: \
1595 maybe-distclean-ash \
1596 maybe-distclean-autoconf \
1597 maybe-distclean-automake \
1598 maybe-distclean-bash \
1599 maybe-distclean-bfd \
1600 maybe-distclean-opcodes \
1601 maybe-distclean-binutils \
1602 maybe-distclean-bison \
1603 maybe-distclean-byacc \
1604 maybe-distclean-bzip2 \
1605 maybe-distclean-dejagnu \
1606 maybe-distclean-diff \
1607 maybe-distclean-dosutils \
1608 maybe-distclean-etc \
1609 maybe-distclean-fastjar \
1610 maybe-distclean-fileutils \
1611 maybe-distclean-findutils \
1612 maybe-distclean-find \
1613 maybe-distclean-fixincludes \
1614 maybe-distclean-flex \
1615 maybe-distclean-gas \
1616 maybe-distclean-gcc \
1617 maybe-distclean-gawk \
1618 maybe-distclean-gettext \
1619 maybe-distclean-gnuserv \
1620 maybe-distclean-gprof \
1621 maybe-distclean-gzip \
1622 maybe-distclean-hello \
1623 maybe-distclean-indent \
1624 maybe-distclean-intl \
1625 maybe-distclean-tcl \
1626 maybe-distclean-itcl \
1627 maybe-distclean-ld \
1628 maybe-distclean-libcpp \
1629 maybe-distclean-libgui \
1630 maybe-distclean-libiberty \
1631 maybe-distclean-libtool \
1632 maybe-distclean-m4 \
1633 maybe-distclean-make \
1634 maybe-distclean-mmalloc \
1635 maybe-distclean-patch \
1636 maybe-distclean-perl \
1637 maybe-distclean-prms \
1638 maybe-distclean-rcs \
1639 maybe-distclean-readline \
1640 maybe-distclean-release \
1641 maybe-distclean-recode \
1642 maybe-distclean-sed \
1643 maybe-distclean-send-pr \
1644 maybe-distclean-shellutils \
1645 maybe-distclean-sid \
1646 maybe-distclean-sim \
1647 maybe-distclean-tar \
1648 maybe-distclean-texinfo \
1649 maybe-distclean-textutils \
1650 maybe-distclean-time \
1651 maybe-distclean-uudecode \
1652 maybe-distclean-wdiff \
1653 maybe-distclean-zip \
1654 maybe-distclean-zlib \
1655 maybe-distclean-gdb \
1656 maybe-distclean-expect \
1657 maybe-distclean-guile \
1658 maybe-distclean-tk \
1659 maybe-distclean-libtermcap \
1660 maybe-distclean-utils
1662 .PHONY: distclean-target
1663 distclean-target: \
1664 maybe-distclean-target-libstdc++-v3 \
1665 maybe-distclean-target-libmudflap \
1666 maybe-distclean-target-newlib \
1667 maybe-distclean-target-libgfortran \
1668 maybe-distclean-target-libobjc \
1669 maybe-distclean-target-libtermcap \
1670 maybe-distclean-target-winsup \
1671 maybe-distclean-target-libgloss \
1672 maybe-distclean-target-libiberty \
1673 maybe-distclean-target-gperf \
1674 maybe-distclean-target-examples \
1675 maybe-distclean-target-libffi \
1676 maybe-distclean-target-libjava \
1677 maybe-distclean-target-zlib \
1678 maybe-distclean-target-boehm-gc \
1679 maybe-distclean-target-qthreads \
1680 maybe-distclean-target-rda \
1681 maybe-distclean-target-libada
1683 .PHONY: do-maintainer-clean
1684 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1686 .PHONY: maintainer-clean-host
1687 maintainer-clean-host: \
1688 maybe-maintainer-clean-ash \
1689 maybe-maintainer-clean-autoconf \
1690 maybe-maintainer-clean-automake \
1691 maybe-maintainer-clean-bash \
1692 maybe-maintainer-clean-bfd \
1693 maybe-maintainer-clean-opcodes \
1694 maybe-maintainer-clean-binutils \
1695 maybe-maintainer-clean-bison \
1696 maybe-maintainer-clean-byacc \
1697 maybe-maintainer-clean-bzip2 \
1698 maybe-maintainer-clean-dejagnu \
1699 maybe-maintainer-clean-diff \
1700 maybe-maintainer-clean-dosutils \
1701 maybe-maintainer-clean-etc \
1702 maybe-maintainer-clean-fastjar \
1703 maybe-maintainer-clean-fileutils \
1704 maybe-maintainer-clean-findutils \
1705 maybe-maintainer-clean-find \
1706 maybe-maintainer-clean-fixincludes \
1707 maybe-maintainer-clean-flex \
1708 maybe-maintainer-clean-gas \
1709 maybe-maintainer-clean-gcc \
1710 maybe-maintainer-clean-gawk \
1711 maybe-maintainer-clean-gettext \
1712 maybe-maintainer-clean-gnuserv \
1713 maybe-maintainer-clean-gprof \
1714 maybe-maintainer-clean-gzip \
1715 maybe-maintainer-clean-hello \
1716 maybe-maintainer-clean-indent \
1717 maybe-maintainer-clean-intl \
1718 maybe-maintainer-clean-tcl \
1719 maybe-maintainer-clean-itcl \
1720 maybe-maintainer-clean-ld \
1721 maybe-maintainer-clean-libcpp \
1722 maybe-maintainer-clean-libgui \
1723 maybe-maintainer-clean-libiberty \
1724 maybe-maintainer-clean-libtool \
1725 maybe-maintainer-clean-m4 \
1726 maybe-maintainer-clean-make \
1727 maybe-maintainer-clean-mmalloc \
1728 maybe-maintainer-clean-patch \
1729 maybe-maintainer-clean-perl \
1730 maybe-maintainer-clean-prms \
1731 maybe-maintainer-clean-rcs \
1732 maybe-maintainer-clean-readline \
1733 maybe-maintainer-clean-release \
1734 maybe-maintainer-clean-recode \
1735 maybe-maintainer-clean-sed \
1736 maybe-maintainer-clean-send-pr \
1737 maybe-maintainer-clean-shellutils \
1738 maybe-maintainer-clean-sid \
1739 maybe-maintainer-clean-sim \
1740 maybe-maintainer-clean-tar \
1741 maybe-maintainer-clean-texinfo \
1742 maybe-maintainer-clean-textutils \
1743 maybe-maintainer-clean-time \
1744 maybe-maintainer-clean-uudecode \
1745 maybe-maintainer-clean-wdiff \
1746 maybe-maintainer-clean-zip \
1747 maybe-maintainer-clean-zlib \
1748 maybe-maintainer-clean-gdb \
1749 maybe-maintainer-clean-expect \
1750 maybe-maintainer-clean-guile \
1751 maybe-maintainer-clean-tk \
1752 maybe-maintainer-clean-libtermcap \
1753 maybe-maintainer-clean-utils
1755 .PHONY: maintainer-clean-target
1756 maintainer-clean-target: \
1757 maybe-maintainer-clean-target-libstdc++-v3 \
1758 maybe-maintainer-clean-target-libmudflap \
1759 maybe-maintainer-clean-target-newlib \
1760 maybe-maintainer-clean-target-libgfortran \
1761 maybe-maintainer-clean-target-libobjc \
1762 maybe-maintainer-clean-target-libtermcap \
1763 maybe-maintainer-clean-target-winsup \
1764 maybe-maintainer-clean-target-libgloss \
1765 maybe-maintainer-clean-target-libiberty \
1766 maybe-maintainer-clean-target-gperf \
1767 maybe-maintainer-clean-target-examples \
1768 maybe-maintainer-clean-target-libffi \
1769 maybe-maintainer-clean-target-libjava \
1770 maybe-maintainer-clean-target-zlib \
1771 maybe-maintainer-clean-target-boehm-gc \
1772 maybe-maintainer-clean-target-qthreads \
1773 maybe-maintainer-clean-target-rda \
1774 maybe-maintainer-clean-target-libada
1777 # Here are the targets which correspond to the do-X targets.
1779 .PHONY: info installcheck dvi html install-info
1780 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1781 .PHONY: local-clean local-distclean local-maintainer-clean
1782 info: do-info
1783 installcheck: do-installcheck
1784 dvi: do-dvi
1785 html: do-html
1787 # Make sure makeinfo is built before we do a `make info', if we're
1788 # in fact building texinfo.
1789 do-info: maybe-all-texinfo
1791 install-info: do-install-info dir.info
1792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1793 if [ -f dir.info ] ; then \
1794 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1795 else true ; fi
1797 local-clean:
1798 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1800 local-distclean:
1801 -rm -f Makefile config.status config.cache mh-frag mt-frag
1802 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1803 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1804 rm -rf $(TARGET_SUBDIR); \
1805 else true; fi
1806 -rm -rf $(BUILD_SUBDIR)
1807 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1808 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1809 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1810 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1811 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1813 local-maintainer-clean:
1814 @echo "This command is intended for maintainers to use;"
1815 @echo "it deletes files that may require special tools to rebuild."
1817 clean: do-clean local-clean
1818 mostlyclean: do-mostlyclean local-clean
1819 distclean: do-distclean local-clean local-distclean
1820 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1821 maintainer-clean: local-distclean
1822 realclean: maintainer-clean
1824 # Extra dependency for clean-target, owing to the mixed nature of gcc
1825 clean-target: clean-target-libgcc
1826 clean-target-libgcc:
1827 test ! -d gcc/libgcc || \
1828 (cd gcc/libgcc && find . -type d -print) | \
1829 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1830 -rm -rf gcc/libgcc
1831 -rm -f gcc/stmp-dirs
1833 # Check target.
1835 .PHONY: check do-check
1836 check: do-check
1838 # Only include modules actually being configured and built.
1839 do-check: unstage \
1840 maybe-check-ash \
1841 maybe-check-autoconf \
1842 maybe-check-automake \
1843 maybe-check-bash \
1844 maybe-check-bfd \
1845 maybe-check-opcodes \
1846 maybe-check-binutils \
1847 maybe-check-bison \
1848 maybe-check-byacc \
1849 maybe-check-bzip2 \
1850 maybe-check-dejagnu \
1851 maybe-check-diff \
1852 maybe-check-dosutils \
1853 maybe-check-etc \
1854 maybe-check-fastjar \
1855 maybe-check-fileutils \
1856 maybe-check-findutils \
1857 maybe-check-find \
1858 maybe-check-fixincludes \
1859 maybe-check-flex \
1860 maybe-check-gas \
1861 maybe-check-gcc \
1862 maybe-check-gawk \
1863 maybe-check-gettext \
1864 maybe-check-gnuserv \
1865 maybe-check-gprof \
1866 maybe-check-gzip \
1867 maybe-check-hello \
1868 maybe-check-indent \
1869 maybe-check-intl \
1870 maybe-check-tcl \
1871 maybe-check-itcl \
1872 maybe-check-ld \
1873 maybe-check-libcpp \
1874 maybe-check-libgui \
1875 maybe-check-libiberty \
1876 maybe-check-libtool \
1877 maybe-check-m4 \
1878 maybe-check-make \
1879 maybe-check-mmalloc \
1880 maybe-check-patch \
1881 maybe-check-perl \
1882 maybe-check-prms \
1883 maybe-check-rcs \
1884 maybe-check-readline \
1885 maybe-check-release \
1886 maybe-check-recode \
1887 maybe-check-sed \
1888 maybe-check-send-pr \
1889 maybe-check-shellutils \
1890 maybe-check-sid \
1891 maybe-check-sim \
1892 maybe-check-tar \
1893 maybe-check-texinfo \
1894 maybe-check-textutils \
1895 maybe-check-time \
1896 maybe-check-uudecode \
1897 maybe-check-wdiff \
1898 maybe-check-zip \
1899 maybe-check-zlib \
1900 maybe-check-gdb \
1901 maybe-check-expect \
1902 maybe-check-guile \
1903 maybe-check-tk \
1904 maybe-check-libtermcap \
1905 maybe-check-utils \
1906 maybe-check-target-libstdc++-v3 \
1907 maybe-check-target-libmudflap \
1908 maybe-check-target-newlib \
1909 maybe-check-target-libgfortran \
1910 maybe-check-target-libobjc \
1911 maybe-check-target-libtermcap \
1912 maybe-check-target-winsup \
1913 maybe-check-target-libgloss \
1914 maybe-check-target-libiberty \
1915 maybe-check-target-gperf \
1916 maybe-check-target-examples \
1917 maybe-check-target-libffi \
1918 maybe-check-target-libjava \
1919 maybe-check-target-zlib \
1920 maybe-check-target-boehm-gc \
1921 maybe-check-target-qthreads \
1922 maybe-check-target-rda \
1923 maybe-check-target-libada stage
1925 # Automated reporting of test results.
1927 warning.log: build.log
1928 $(srcdir)/contrib/warn_summary build.log > $@
1930 mail-report.log:
1931 if test x'$(BOOT_CFLAGS)' != x''; then \
1932 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1933 fi; \
1934 $(srcdir)/contrib/test_summary -t >$@
1935 chmod +x $@
1936 echo If you really want to send e-mail, run ./$@ now
1938 mail-report-with-warnings.log: warning.log
1939 if test x'$(BOOT_CFLAGS)' != x''; then \
1940 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1941 fi; \
1942 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1943 chmod +x $@
1944 echo If you really want to send e-mail, run ./$@ now
1946 # Installation targets.
1948 .PHONY: install uninstall
1949 install: installdirs install-host install-target
1951 .PHONY: install-host-nogcc
1952 install-host-nogcc: \
1953 maybe-install-ash \
1954 maybe-install-autoconf \
1955 maybe-install-automake \
1956 maybe-install-bash \
1957 maybe-install-bfd \
1958 maybe-install-opcodes \
1959 maybe-install-binutils \
1960 maybe-install-bison \
1961 maybe-install-byacc \
1962 maybe-install-bzip2 \
1963 maybe-install-dejagnu \
1964 maybe-install-diff \
1965 maybe-install-dosutils \
1966 maybe-install-etc \
1967 maybe-install-fastjar \
1968 maybe-install-fileutils \
1969 maybe-install-findutils \
1970 maybe-install-find \
1971 maybe-install-fixincludes \
1972 maybe-install-flex \
1973 maybe-install-gas \
1974 maybe-install-gawk \
1975 maybe-install-gettext \
1976 maybe-install-gnuserv \
1977 maybe-install-gprof \
1978 maybe-install-gzip \
1979 maybe-install-hello \
1980 maybe-install-indent \
1981 maybe-install-intl \
1982 maybe-install-tcl \
1983 maybe-install-itcl \
1984 maybe-install-ld \
1985 maybe-install-libcpp \
1986 maybe-install-libgui \
1987 maybe-install-libiberty \
1988 maybe-install-libtool \
1989 maybe-install-m4 \
1990 maybe-install-make \
1991 maybe-install-mmalloc \
1992 maybe-install-patch \
1993 maybe-install-perl \
1994 maybe-install-prms \
1995 maybe-install-rcs \
1996 maybe-install-readline \
1997 maybe-install-release \
1998 maybe-install-recode \
1999 maybe-install-sed \
2000 maybe-install-send-pr \
2001 maybe-install-shellutils \
2002 maybe-install-sid \
2003 maybe-install-sim \
2004 maybe-install-tar \
2005 maybe-install-texinfo \
2006 maybe-install-textutils \
2007 maybe-install-time \
2008 maybe-install-uudecode \
2009 maybe-install-wdiff \
2010 maybe-install-zip \
2011 maybe-install-zlib \
2012 maybe-install-gdb \
2013 maybe-install-expect \
2014 maybe-install-guile \
2015 maybe-install-tk \
2016 maybe-install-libtermcap \
2017 maybe-install-utils
2019 .PHONY: install-host
2020 install-host: \
2021 maybe-install-ash \
2022 maybe-install-autoconf \
2023 maybe-install-automake \
2024 maybe-install-bash \
2025 maybe-install-bfd \
2026 maybe-install-opcodes \
2027 maybe-install-binutils \
2028 maybe-install-bison \
2029 maybe-install-byacc \
2030 maybe-install-bzip2 \
2031 maybe-install-dejagnu \
2032 maybe-install-diff \
2033 maybe-install-dosutils \
2034 maybe-install-etc \
2035 maybe-install-fastjar \
2036 maybe-install-fileutils \
2037 maybe-install-findutils \
2038 maybe-install-find \
2039 maybe-install-fixincludes \
2040 maybe-install-flex \
2041 maybe-install-gas \
2042 maybe-install-gcc \
2043 maybe-install-gawk \
2044 maybe-install-gettext \
2045 maybe-install-gnuserv \
2046 maybe-install-gprof \
2047 maybe-install-gzip \
2048 maybe-install-hello \
2049 maybe-install-indent \
2050 maybe-install-intl \
2051 maybe-install-tcl \
2052 maybe-install-itcl \
2053 maybe-install-ld \
2054 maybe-install-libcpp \
2055 maybe-install-libgui \
2056 maybe-install-libiberty \
2057 maybe-install-libtool \
2058 maybe-install-m4 \
2059 maybe-install-make \
2060 maybe-install-mmalloc \
2061 maybe-install-patch \
2062 maybe-install-perl \
2063 maybe-install-prms \
2064 maybe-install-rcs \
2065 maybe-install-readline \
2066 maybe-install-release \
2067 maybe-install-recode \
2068 maybe-install-sed \
2069 maybe-install-send-pr \
2070 maybe-install-shellutils \
2071 maybe-install-sid \
2072 maybe-install-sim \
2073 maybe-install-tar \
2074 maybe-install-texinfo \
2075 maybe-install-textutils \
2076 maybe-install-time \
2077 maybe-install-uudecode \
2078 maybe-install-wdiff \
2079 maybe-install-zip \
2080 maybe-install-zlib \
2081 maybe-install-gdb \
2082 maybe-install-expect \
2083 maybe-install-guile \
2084 maybe-install-tk \
2085 maybe-install-libtermcap \
2086 maybe-install-utils
2088 .PHONY: install-target
2089 install-target: \
2090 maybe-install-target-libstdc++-v3 \
2091 maybe-install-target-libmudflap \
2092 maybe-install-target-newlib \
2093 maybe-install-target-libgfortran \
2094 maybe-install-target-libobjc \
2095 maybe-install-target-libtermcap \
2096 maybe-install-target-winsup \
2097 maybe-install-target-libgloss \
2098 maybe-install-target-libiberty \
2099 maybe-install-target-gperf \
2100 maybe-install-target-examples \
2101 maybe-install-target-libffi \
2102 maybe-install-target-libjava \
2103 maybe-install-target-zlib \
2104 maybe-install-target-boehm-gc \
2105 maybe-install-target-qthreads \
2106 maybe-install-target-rda \
2107 maybe-install-target-libada
2109 uninstall:
2110 @echo "the uninstall target is not supported in this tree"
2112 .PHONY: install.all
2113 install.all: install-no-fixedincludes
2114 @if [ -f ./gcc/Makefile ] ; then \
2115 r=`${PWD_COMMAND}` ; export r ; \
2116 $(SET_LIB_PATH) \
2117 $(HOST_EXPORTS) \
2118 (cd ./gcc && \
2119 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2120 else \
2121 true ; \
2124 # install-no-fixedincludes is used because Cygnus can not distribute
2125 # the fixed header files.
2126 .PHONY: install-no-fixedincludes
2127 install-no-fixedincludes: installdirs install-host-nogcc \
2128 install-target gcc-no-fixedincludes
2130 ### other supporting targets
2132 MAKEDIRS= \
2133 $(DESTDIR)$(prefix) \
2134 $(DESTDIR)$(exec_prefix)
2135 .PHONY: installdirs
2136 installdirs: mkinstalldirs
2137 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2139 dir.info: do-install-info
2140 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2141 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2142 mv -f dir.info.new dir.info ; \
2143 else true ; \
2146 dist:
2147 @echo "Building a full distribution of this tree isn't done"
2148 @echo "via 'make dist'. Check out the etc/ subdirectory"
2150 etags tags: TAGS
2152 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2153 # ability to use several tags files at once, so there is probably no need
2154 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2155 # (if we felt like it) have this Makefile write a piece of elisp which
2156 # the user could load to tell emacs19 where all the TAGS files we just
2157 # built are.
2158 TAGS: do-TAGS
2160 # --------------------------------------
2161 # Modules which run on the build machine
2162 # --------------------------------------
2164 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2165 maybe-configure-build-libiberty:
2166 @if build-libiberty
2167 maybe-configure-build-libiberty: configure-build-libiberty
2168 configure-build-libiberty:
2169 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2170 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2171 r=`${PWD_COMMAND}`; export r; \
2172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2173 $(BUILD_EXPORTS) \
2174 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2175 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2176 case $(srcdir) in \
2177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2178 *) topdir="../../$(srcdir)" ;; \
2179 esac; \
2180 if [ "$(srcdir)" = "." ] ; then \
2181 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2182 if [ -f Makefile ]; then \
2183 if $(MAKE) distclean; then \
2184 true; \
2185 else \
2186 exit 1; \
2187 fi; \
2188 else \
2189 true; \
2190 fi; \
2191 else \
2192 exit 1; \
2193 fi; \
2194 if [ -d ../include ] ; then \
2195 true; \
2196 else \
2197 mkdir ../include; \
2198 cd ../include; \
2199 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2200 cd ../libiberty; \
2201 fi; \
2202 srcdiroption="--srcdir=."; \
2203 libsrcdir="."; \
2204 else \
2205 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2206 libsrcdir="$$s/libiberty"; \
2207 fi; \
2208 rm -f no-such-file || : ; \
2209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2210 $(BUILD_CONFIGARGS) $${srcdiroption} \
2211 --with-build-subdir="$(BUILD_SUBDIR)" \
2212 || exit 1
2213 @endif build-libiberty
2215 .PHONY: all-build-libiberty maybe-all-build-libiberty
2216 maybe-all-build-libiberty:
2217 @if build-libiberty
2218 TARGET-build-libiberty=all
2219 maybe-all-build-libiberty: all-build-libiberty
2220 all-build-libiberty: configure-build-libiberty
2221 @r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2223 $(BUILD_EXPORTS) \
2224 (cd $(BUILD_SUBDIR)/libiberty && \
2225 $(MAKE) $(TARGET-build-libiberty))
2226 @endif build-libiberty
2228 .PHONY: configure-build-bison maybe-configure-build-bison
2229 maybe-configure-build-bison:
2230 @if build-bison
2231 maybe-configure-build-bison: configure-build-bison
2232 configure-build-bison:
2233 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2234 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2235 r=`${PWD_COMMAND}`; export r; \
2236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2237 $(BUILD_EXPORTS) \
2238 echo Configuring in $(BUILD_SUBDIR)/bison; \
2239 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2240 case $(srcdir) in \
2241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2242 *) topdir="../../$(srcdir)" ;; \
2243 esac; \
2244 if [ "$(srcdir)" = "." ] ; then \
2245 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2246 if [ -f Makefile ]; then \
2247 if $(MAKE) distclean; then \
2248 true; \
2249 else \
2250 exit 1; \
2251 fi; \
2252 else \
2253 true; \
2254 fi; \
2255 else \
2256 exit 1; \
2257 fi; \
2258 if [ -d ../include ] ; then \
2259 true; \
2260 else \
2261 mkdir ../include; \
2262 cd ../include; \
2263 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2264 cd ../bison; \
2265 fi; \
2266 srcdiroption="--srcdir=."; \
2267 libsrcdir="."; \
2268 else \
2269 srcdiroption="--srcdir=$${topdir}/bison"; \
2270 libsrcdir="$$s/bison"; \
2271 fi; \
2272 rm -f no-such-file || : ; \
2273 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2274 $(BUILD_CONFIGARGS) $${srcdiroption} \
2275 --with-build-subdir="$(BUILD_SUBDIR)" \
2276 || exit 1
2277 @endif build-bison
2279 .PHONY: all-build-bison maybe-all-build-bison
2280 maybe-all-build-bison:
2281 @if build-bison
2282 TARGET-build-bison=all
2283 maybe-all-build-bison: all-build-bison
2284 all-build-bison: configure-build-bison
2285 @r=`${PWD_COMMAND}`; export r; \
2286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2287 $(BUILD_EXPORTS) \
2288 (cd $(BUILD_SUBDIR)/bison && \
2289 $(MAKE) $(TARGET-build-bison))
2290 @endif build-bison
2292 .PHONY: configure-build-byacc maybe-configure-build-byacc
2293 maybe-configure-build-byacc:
2294 @if build-byacc
2295 maybe-configure-build-byacc: configure-build-byacc
2296 configure-build-byacc:
2297 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2298 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2299 r=`${PWD_COMMAND}`; export r; \
2300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2301 $(BUILD_EXPORTS) \
2302 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2303 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2304 case $(srcdir) in \
2305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2306 *) topdir="../../$(srcdir)" ;; \
2307 esac; \
2308 if [ "$(srcdir)" = "." ] ; then \
2309 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2310 if [ -f Makefile ]; then \
2311 if $(MAKE) distclean; then \
2312 true; \
2313 else \
2314 exit 1; \
2315 fi; \
2316 else \
2317 true; \
2318 fi; \
2319 else \
2320 exit 1; \
2321 fi; \
2322 if [ -d ../include ] ; then \
2323 true; \
2324 else \
2325 mkdir ../include; \
2326 cd ../include; \
2327 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2328 cd ../byacc; \
2329 fi; \
2330 srcdiroption="--srcdir=."; \
2331 libsrcdir="."; \
2332 else \
2333 srcdiroption="--srcdir=$${topdir}/byacc"; \
2334 libsrcdir="$$s/byacc"; \
2335 fi; \
2336 rm -f no-such-file || : ; \
2337 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2338 $(BUILD_CONFIGARGS) $${srcdiroption} \
2339 --with-build-subdir="$(BUILD_SUBDIR)" \
2340 || exit 1
2341 @endif build-byacc
2343 .PHONY: all-build-byacc maybe-all-build-byacc
2344 maybe-all-build-byacc:
2345 @if build-byacc
2346 TARGET-build-byacc=all
2347 maybe-all-build-byacc: all-build-byacc
2348 all-build-byacc: configure-build-byacc
2349 @r=`${PWD_COMMAND}`; export r; \
2350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2351 $(BUILD_EXPORTS) \
2352 (cd $(BUILD_SUBDIR)/byacc && \
2353 $(MAKE) $(TARGET-build-byacc))
2354 @endif build-byacc
2356 .PHONY: configure-build-flex maybe-configure-build-flex
2357 maybe-configure-build-flex:
2358 @if build-flex
2359 maybe-configure-build-flex: configure-build-flex
2360 configure-build-flex:
2361 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2362 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2363 r=`${PWD_COMMAND}`; export r; \
2364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2365 $(BUILD_EXPORTS) \
2366 echo Configuring in $(BUILD_SUBDIR)/flex; \
2367 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2368 case $(srcdir) in \
2369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2370 *) topdir="../../$(srcdir)" ;; \
2371 esac; \
2372 if [ "$(srcdir)" = "." ] ; then \
2373 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2374 if [ -f Makefile ]; then \
2375 if $(MAKE) distclean; then \
2376 true; \
2377 else \
2378 exit 1; \
2379 fi; \
2380 else \
2381 true; \
2382 fi; \
2383 else \
2384 exit 1; \
2385 fi; \
2386 if [ -d ../include ] ; then \
2387 true; \
2388 else \
2389 mkdir ../include; \
2390 cd ../include; \
2391 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2392 cd ../flex; \
2393 fi; \
2394 srcdiroption="--srcdir=."; \
2395 libsrcdir="."; \
2396 else \
2397 srcdiroption="--srcdir=$${topdir}/flex"; \
2398 libsrcdir="$$s/flex"; \
2399 fi; \
2400 rm -f no-such-file || : ; \
2401 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2402 $(BUILD_CONFIGARGS) $${srcdiroption} \
2403 --with-build-subdir="$(BUILD_SUBDIR)" \
2404 || exit 1
2405 @endif build-flex
2407 .PHONY: all-build-flex maybe-all-build-flex
2408 maybe-all-build-flex:
2409 @if build-flex
2410 TARGET-build-flex=all
2411 maybe-all-build-flex: all-build-flex
2412 all-build-flex: configure-build-flex
2413 @r=`${PWD_COMMAND}`; export r; \
2414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2415 $(BUILD_EXPORTS) \
2416 (cd $(BUILD_SUBDIR)/flex && \
2417 $(MAKE) $(TARGET-build-flex))
2418 @endif build-flex
2420 .PHONY: configure-build-m4 maybe-configure-build-m4
2421 maybe-configure-build-m4:
2422 @if build-m4
2423 maybe-configure-build-m4: configure-build-m4
2424 configure-build-m4:
2425 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2426 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2427 r=`${PWD_COMMAND}`; export r; \
2428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2429 $(BUILD_EXPORTS) \
2430 echo Configuring in $(BUILD_SUBDIR)/m4; \
2431 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2432 case $(srcdir) in \
2433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2434 *) topdir="../../$(srcdir)" ;; \
2435 esac; \
2436 if [ "$(srcdir)" = "." ] ; then \
2437 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2438 if [ -f Makefile ]; then \
2439 if $(MAKE) distclean; then \
2440 true; \
2441 else \
2442 exit 1; \
2443 fi; \
2444 else \
2445 true; \
2446 fi; \
2447 else \
2448 exit 1; \
2449 fi; \
2450 if [ -d ../include ] ; then \
2451 true; \
2452 else \
2453 mkdir ../include; \
2454 cd ../include; \
2455 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2456 cd ../m4; \
2457 fi; \
2458 srcdiroption="--srcdir=."; \
2459 libsrcdir="."; \
2460 else \
2461 srcdiroption="--srcdir=$${topdir}/m4"; \
2462 libsrcdir="$$s/m4"; \
2463 fi; \
2464 rm -f no-such-file || : ; \
2465 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2466 $(BUILD_CONFIGARGS) $${srcdiroption} \
2467 --with-build-subdir="$(BUILD_SUBDIR)" \
2468 || exit 1
2469 @endif build-m4
2471 .PHONY: all-build-m4 maybe-all-build-m4
2472 maybe-all-build-m4:
2473 @if build-m4
2474 TARGET-build-m4=all
2475 maybe-all-build-m4: all-build-m4
2476 all-build-m4: configure-build-m4
2477 @r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479 $(BUILD_EXPORTS) \
2480 (cd $(BUILD_SUBDIR)/m4 && \
2481 $(MAKE) $(TARGET-build-m4))
2482 @endif build-m4
2484 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2485 maybe-configure-build-texinfo:
2486 @if build-texinfo
2487 maybe-configure-build-texinfo: configure-build-texinfo
2488 configure-build-texinfo:
2489 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2490 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2491 r=`${PWD_COMMAND}`; export r; \
2492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2493 $(BUILD_EXPORTS) \
2494 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2495 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2496 case $(srcdir) in \
2497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2498 *) topdir="../../$(srcdir)" ;; \
2499 esac; \
2500 if [ "$(srcdir)" = "." ] ; then \
2501 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2502 if [ -f Makefile ]; then \
2503 if $(MAKE) distclean; then \
2504 true; \
2505 else \
2506 exit 1; \
2507 fi; \
2508 else \
2509 true; \
2510 fi; \
2511 else \
2512 exit 1; \
2513 fi; \
2514 if [ -d ../include ] ; then \
2515 true; \
2516 else \
2517 mkdir ../include; \
2518 cd ../include; \
2519 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2520 cd ../texinfo; \
2521 fi; \
2522 srcdiroption="--srcdir=."; \
2523 libsrcdir="."; \
2524 else \
2525 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2526 libsrcdir="$$s/texinfo"; \
2527 fi; \
2528 rm -f no-such-file || : ; \
2529 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2530 $(BUILD_CONFIGARGS) $${srcdiroption} \
2531 --with-build-subdir="$(BUILD_SUBDIR)" \
2532 || exit 1
2533 @endif build-texinfo
2535 .PHONY: all-build-texinfo maybe-all-build-texinfo
2536 maybe-all-build-texinfo:
2537 @if build-texinfo
2538 TARGET-build-texinfo=all
2539 maybe-all-build-texinfo: all-build-texinfo
2540 all-build-texinfo: configure-build-texinfo
2541 @r=`${PWD_COMMAND}`; export r; \
2542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2543 $(BUILD_EXPORTS) \
2544 (cd $(BUILD_SUBDIR)/texinfo && \
2545 $(MAKE) $(TARGET-build-texinfo))
2546 @endif build-texinfo
2548 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2549 maybe-configure-build-fixincludes:
2550 @if build-fixincludes
2551 maybe-configure-build-fixincludes: configure-build-fixincludes
2552 configure-build-fixincludes:
2553 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2554 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2555 r=`${PWD_COMMAND}`; export r; \
2556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2557 $(BUILD_EXPORTS) \
2558 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2559 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2560 case $(srcdir) in \
2561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2562 *) topdir="../../$(srcdir)" ;; \
2563 esac; \
2564 if [ "$(srcdir)" = "." ] ; then \
2565 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2566 if [ -f Makefile ]; then \
2567 if $(MAKE) distclean; then \
2568 true; \
2569 else \
2570 exit 1; \
2571 fi; \
2572 else \
2573 true; \
2574 fi; \
2575 else \
2576 exit 1; \
2577 fi; \
2578 if [ -d ../include ] ; then \
2579 true; \
2580 else \
2581 mkdir ../include; \
2582 cd ../include; \
2583 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
2584 cd ../fixincludes; \
2585 fi; \
2586 srcdiroption="--srcdir=."; \
2587 libsrcdir="."; \
2588 else \
2589 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2590 libsrcdir="$$s/fixincludes"; \
2591 fi; \
2592 rm -f no-such-file || : ; \
2593 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2594 $(BUILD_CONFIGARGS) $${srcdiroption} \
2595 --with-build-subdir="$(BUILD_SUBDIR)" \
2596 || exit 1
2597 @endif build-fixincludes
2599 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2600 maybe-all-build-fixincludes:
2601 @if build-fixincludes
2602 TARGET-build-fixincludes=all
2603 maybe-all-build-fixincludes: all-build-fixincludes
2604 all-build-fixincludes: configure-build-fixincludes
2605 @r=`${PWD_COMMAND}`; export r; \
2606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2607 $(BUILD_EXPORTS) \
2608 (cd $(BUILD_SUBDIR)/fixincludes && \
2609 $(MAKE) $(TARGET-build-fixincludes))
2610 @endif build-fixincludes
2613 # --------------------------------------
2614 # Modules which run on the host machine
2615 # --------------------------------------
2617 .PHONY: configure-ash maybe-configure-ash
2618 maybe-configure-ash:
2619 @if ash
2620 maybe-configure-ash: configure-ash
2621 configure-ash:
2622 @test ! -f ash/Makefile || exit 0; \
2623 [ -d ash ] || mkdir ash; \
2624 r=`${PWD_COMMAND}`; export r; \
2625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2626 $(HOST_EXPORTS) \
2627 echo Configuring in ash; \
2628 cd ash || exit 1; \
2629 case $(srcdir) in \
2630 \.) \
2631 srcdiroption="--srcdir=."; \
2632 libsrcdir=".";; \
2633 /* | [A-Za-z]:[\\/]*) \
2634 srcdiroption="--srcdir=$(srcdir)/ash"; \
2635 libsrcdir="$$s/ash";; \
2636 *) \
2637 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2638 libsrcdir="$$s/ash";; \
2639 esac; \
2640 $(SHELL) $${libsrcdir}/configure \
2641 $(HOST_CONFIGARGS) $${srcdiroption} \
2642 || exit 1
2643 @endif ash
2645 .PHONY: all-ash maybe-all-ash
2646 maybe-all-ash:
2647 @if ash
2648 TARGET-ash=all
2649 maybe-all-ash: all-ash
2650 all-ash: configure-ash
2651 @r=`${PWD_COMMAND}`; export r; \
2652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2653 $(SET_LIB_PATH) \
2654 $(HOST_EXPORTS) \
2655 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2656 $(TARGET-ash))
2657 @endif ash
2659 .PHONY: check-ash maybe-check-ash
2660 maybe-check-ash:
2661 @if ash
2662 maybe-check-ash: check-ash
2664 check-ash:
2665 @r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 $(SET_LIB_PATH) \
2668 $(HOST_EXPORTS) \
2669 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2671 @endif ash
2673 .PHONY: install-ash maybe-install-ash
2674 maybe-install-ash:
2675 @if ash
2676 maybe-install-ash: install-ash
2678 install-ash: installdirs
2679 @r=`${PWD_COMMAND}`; export r; \
2680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 $(SET_LIB_PATH) \
2682 $(HOST_EXPORTS) \
2683 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2685 @endif ash
2687 # Other targets (info, dvi, etc.)
2689 .PHONY: maybe-info-ash info-ash
2690 maybe-info-ash:
2691 @if ash
2692 maybe-info-ash: info-ash
2694 info-ash: \
2695 configure-ash
2696 @[ -f ./ash/Makefile ] || exit 0; \
2697 r=`${PWD_COMMAND}`; export r; \
2698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2699 $(SET_LIB_PATH) \
2700 $(HOST_EXPORTS) \
2701 for flag in $(EXTRA_HOST_FLAGS) ; do \
2702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2703 done; \
2704 echo "Doing info in ash" ; \
2705 (cd ash && \
2706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2708 "RANLIB=$${RANLIB}" \
2709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2710 info) \
2711 || exit 1
2713 @endif ash
2715 .PHONY: maybe-dvi-ash dvi-ash
2716 maybe-dvi-ash:
2717 @if ash
2718 maybe-dvi-ash: dvi-ash
2720 dvi-ash: \
2721 configure-ash
2722 @[ -f ./ash/Makefile ] || exit 0; \
2723 r=`${PWD_COMMAND}`; export r; \
2724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2725 $(SET_LIB_PATH) \
2726 $(HOST_EXPORTS) \
2727 for flag in $(EXTRA_HOST_FLAGS) ; do \
2728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2729 done; \
2730 echo "Doing dvi in ash" ; \
2731 (cd ash && \
2732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2734 "RANLIB=$${RANLIB}" \
2735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 dvi) \
2737 || exit 1
2739 @endif ash
2741 .PHONY: maybe-html-ash html-ash
2742 maybe-html-ash:
2743 @if ash
2744 maybe-html-ash: html-ash
2746 html-ash: \
2747 configure-ash
2748 @[ -f ./ash/Makefile ] || exit 0; \
2749 r=`${PWD_COMMAND}`; export r; \
2750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2751 $(SET_LIB_PATH) \
2752 $(HOST_EXPORTS) \
2753 for flag in $(EXTRA_HOST_FLAGS) ; do \
2754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2755 done; \
2756 echo "Doing html in ash" ; \
2757 (cd ash && \
2758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2760 "RANLIB=$${RANLIB}" \
2761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2762 html) \
2763 || exit 1
2765 @endif ash
2767 .PHONY: maybe-TAGS-ash TAGS-ash
2768 maybe-TAGS-ash:
2769 @if ash
2770 maybe-TAGS-ash: TAGS-ash
2772 TAGS-ash: \
2773 configure-ash
2774 @[ -f ./ash/Makefile ] || exit 0; \
2775 r=`${PWD_COMMAND}`; export r; \
2776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777 $(SET_LIB_PATH) \
2778 $(HOST_EXPORTS) \
2779 for flag in $(EXTRA_HOST_FLAGS) ; do \
2780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2781 done; \
2782 echo "Doing TAGS in ash" ; \
2783 (cd ash && \
2784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2786 "RANLIB=$${RANLIB}" \
2787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2788 TAGS) \
2789 || exit 1
2791 @endif ash
2793 .PHONY: maybe-install-info-ash install-info-ash
2794 maybe-install-info-ash:
2795 @if ash
2796 maybe-install-info-ash: install-info-ash
2798 install-info-ash: \
2799 configure-ash \
2800 info-ash
2801 @[ -f ./ash/Makefile ] || exit 0; \
2802 r=`${PWD_COMMAND}`; export r; \
2803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 $(SET_LIB_PATH) \
2805 $(HOST_EXPORTS) \
2806 for flag in $(EXTRA_HOST_FLAGS) ; do \
2807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2808 done; \
2809 echo "Doing install-info in ash" ; \
2810 (cd ash && \
2811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2813 "RANLIB=$${RANLIB}" \
2814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2815 install-info) \
2816 || exit 1
2818 @endif ash
2820 .PHONY: maybe-installcheck-ash installcheck-ash
2821 maybe-installcheck-ash:
2822 @if ash
2823 maybe-installcheck-ash: installcheck-ash
2825 installcheck-ash: \
2826 configure-ash
2827 @[ -f ./ash/Makefile ] || exit 0; \
2828 r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2830 $(SET_LIB_PATH) \
2831 $(HOST_EXPORTS) \
2832 for flag in $(EXTRA_HOST_FLAGS) ; do \
2833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2834 done; \
2835 echo "Doing installcheck in ash" ; \
2836 (cd ash && \
2837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2839 "RANLIB=$${RANLIB}" \
2840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2841 installcheck) \
2842 || exit 1
2844 @endif ash
2846 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2847 maybe-mostlyclean-ash:
2848 @if ash
2849 maybe-mostlyclean-ash: mostlyclean-ash
2851 mostlyclean-ash:
2852 @[ -f ./ash/Makefile ] || exit 0; \
2853 r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(SET_LIB_PATH) \
2856 $(HOST_EXPORTS) \
2857 for flag in $(EXTRA_HOST_FLAGS) ; do \
2858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2859 done; \
2860 echo "Doing mostlyclean in ash" ; \
2861 (cd ash && \
2862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2864 "RANLIB=$${RANLIB}" \
2865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2866 mostlyclean) \
2867 || exit 1
2869 @endif ash
2871 .PHONY: maybe-clean-ash clean-ash
2872 maybe-clean-ash:
2873 @if ash
2874 maybe-clean-ash: clean-ash
2876 clean-ash:
2877 @[ -f ./ash/Makefile ] || exit 0; \
2878 r=`${PWD_COMMAND}`; export r; \
2879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2880 $(SET_LIB_PATH) \
2881 $(HOST_EXPORTS) \
2882 for flag in $(EXTRA_HOST_FLAGS) ; do \
2883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2884 done; \
2885 echo "Doing clean in ash" ; \
2886 (cd ash && \
2887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2889 "RANLIB=$${RANLIB}" \
2890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2891 clean) \
2892 || exit 1
2894 @endif ash
2896 .PHONY: maybe-distclean-ash distclean-ash
2897 maybe-distclean-ash:
2898 @if ash
2899 maybe-distclean-ash: distclean-ash
2901 distclean-ash:
2902 @[ -f ./ash/Makefile ] || exit 0; \
2903 r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(SET_LIB_PATH) \
2906 $(HOST_EXPORTS) \
2907 for flag in $(EXTRA_HOST_FLAGS) ; do \
2908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2909 done; \
2910 echo "Doing distclean in ash" ; \
2911 (cd ash && \
2912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2914 "RANLIB=$${RANLIB}" \
2915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2916 distclean) \
2917 || exit 1
2919 @endif ash
2921 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2922 maybe-maintainer-clean-ash:
2923 @if ash
2924 maybe-maintainer-clean-ash: maintainer-clean-ash
2926 maintainer-clean-ash:
2927 @[ -f ./ash/Makefile ] || exit 0; \
2928 r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 $(SET_LIB_PATH) \
2931 $(HOST_EXPORTS) \
2932 for flag in $(EXTRA_HOST_FLAGS) ; do \
2933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2934 done; \
2935 echo "Doing maintainer-clean in ash" ; \
2936 (cd ash && \
2937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2939 "RANLIB=$${RANLIB}" \
2940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2941 maintainer-clean) \
2942 || exit 1
2944 @endif ash
2947 .PHONY: configure-autoconf maybe-configure-autoconf
2948 maybe-configure-autoconf:
2949 @if autoconf
2950 maybe-configure-autoconf: configure-autoconf
2951 configure-autoconf:
2952 @test ! -f autoconf/Makefile || exit 0; \
2953 [ -d autoconf ] || mkdir autoconf; \
2954 r=`${PWD_COMMAND}`; export r; \
2955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2956 $(HOST_EXPORTS) \
2957 echo Configuring in autoconf; \
2958 cd autoconf || exit 1; \
2959 case $(srcdir) in \
2960 \.) \
2961 srcdiroption="--srcdir=."; \
2962 libsrcdir=".";; \
2963 /* | [A-Za-z]:[\\/]*) \
2964 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2965 libsrcdir="$$s/autoconf";; \
2966 *) \
2967 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2968 libsrcdir="$$s/autoconf";; \
2969 esac; \
2970 $(SHELL) $${libsrcdir}/configure \
2971 $(HOST_CONFIGARGS) $${srcdiroption} \
2972 || exit 1
2973 @endif autoconf
2975 .PHONY: all-autoconf maybe-all-autoconf
2976 maybe-all-autoconf:
2977 @if autoconf
2978 TARGET-autoconf=all
2979 maybe-all-autoconf: all-autoconf
2980 all-autoconf: configure-autoconf
2981 @r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 $(SET_LIB_PATH) \
2984 $(HOST_EXPORTS) \
2985 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2986 $(TARGET-autoconf))
2987 @endif autoconf
2989 .PHONY: check-autoconf maybe-check-autoconf
2990 maybe-check-autoconf:
2991 @if autoconf
2992 maybe-check-autoconf: check-autoconf
2994 check-autoconf:
2995 @r=`${PWD_COMMAND}`; export r; \
2996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2997 $(SET_LIB_PATH) \
2998 $(HOST_EXPORTS) \
2999 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3001 @endif autoconf
3003 .PHONY: install-autoconf maybe-install-autoconf
3004 maybe-install-autoconf:
3005 @if autoconf
3006 maybe-install-autoconf: install-autoconf
3008 install-autoconf: installdirs
3009 @r=`${PWD_COMMAND}`; export r; \
3010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3011 $(SET_LIB_PATH) \
3012 $(HOST_EXPORTS) \
3013 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3015 @endif autoconf
3017 # Other targets (info, dvi, etc.)
3019 .PHONY: maybe-info-autoconf info-autoconf
3020 maybe-info-autoconf:
3021 @if autoconf
3022 maybe-info-autoconf: info-autoconf
3024 info-autoconf: \
3025 configure-autoconf
3026 @[ -f ./autoconf/Makefile ] || exit 0; \
3027 r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 $(SET_LIB_PATH) \
3030 $(HOST_EXPORTS) \
3031 for flag in $(EXTRA_HOST_FLAGS) ; do \
3032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3033 done; \
3034 echo "Doing info in autoconf" ; \
3035 (cd autoconf && \
3036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3038 "RANLIB=$${RANLIB}" \
3039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 info) \
3041 || exit 1
3043 @endif autoconf
3045 .PHONY: maybe-dvi-autoconf dvi-autoconf
3046 maybe-dvi-autoconf:
3047 @if autoconf
3048 maybe-dvi-autoconf: dvi-autoconf
3050 dvi-autoconf: \
3051 configure-autoconf
3052 @[ -f ./autoconf/Makefile ] || exit 0; \
3053 r=`${PWD_COMMAND}`; export r; \
3054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3055 $(SET_LIB_PATH) \
3056 $(HOST_EXPORTS) \
3057 for flag in $(EXTRA_HOST_FLAGS) ; do \
3058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3059 done; \
3060 echo "Doing dvi in autoconf" ; \
3061 (cd autoconf && \
3062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3064 "RANLIB=$${RANLIB}" \
3065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3066 dvi) \
3067 || exit 1
3069 @endif autoconf
3071 .PHONY: maybe-html-autoconf html-autoconf
3072 maybe-html-autoconf:
3073 @if autoconf
3074 maybe-html-autoconf: html-autoconf
3076 html-autoconf: \
3077 configure-autoconf
3078 @[ -f ./autoconf/Makefile ] || exit 0; \
3079 r=`${PWD_COMMAND}`; export r; \
3080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3081 $(SET_LIB_PATH) \
3082 $(HOST_EXPORTS) \
3083 for flag in $(EXTRA_HOST_FLAGS) ; do \
3084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3085 done; \
3086 echo "Doing html in autoconf" ; \
3087 (cd autoconf && \
3088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3090 "RANLIB=$${RANLIB}" \
3091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3092 html) \
3093 || exit 1
3095 @endif autoconf
3097 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3098 maybe-TAGS-autoconf:
3099 @if autoconf
3100 maybe-TAGS-autoconf: TAGS-autoconf
3102 TAGS-autoconf: \
3103 configure-autoconf
3104 @[ -f ./autoconf/Makefile ] || exit 0; \
3105 r=`${PWD_COMMAND}`; export r; \
3106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3107 $(SET_LIB_PATH) \
3108 $(HOST_EXPORTS) \
3109 for flag in $(EXTRA_HOST_FLAGS) ; do \
3110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3111 done; \
3112 echo "Doing TAGS in autoconf" ; \
3113 (cd autoconf && \
3114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3116 "RANLIB=$${RANLIB}" \
3117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3118 TAGS) \
3119 || exit 1
3121 @endif autoconf
3123 .PHONY: maybe-install-info-autoconf install-info-autoconf
3124 maybe-install-info-autoconf:
3125 @if autoconf
3126 maybe-install-info-autoconf: install-info-autoconf
3128 install-info-autoconf: \
3129 configure-autoconf \
3130 info-autoconf
3131 @[ -f ./autoconf/Makefile ] || exit 0; \
3132 r=`${PWD_COMMAND}`; export r; \
3133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3134 $(SET_LIB_PATH) \
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 install-info in autoconf" ; \
3140 (cd 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 install-info) \
3146 || exit 1
3148 @endif autoconf
3150 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3151 maybe-installcheck-autoconf:
3152 @if autoconf
3153 maybe-installcheck-autoconf: installcheck-autoconf
3155 installcheck-autoconf: \
3156 configure-autoconf
3157 @[ -f ./autoconf/Makefile ] || exit 0; \
3158 r=`${PWD_COMMAND}`; export r; \
3159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 $(SET_LIB_PATH) \
3161 $(HOST_EXPORTS) \
3162 for flag in $(EXTRA_HOST_FLAGS) ; do \
3163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3164 done; \
3165 echo "Doing installcheck in autoconf" ; \
3166 (cd autoconf && \
3167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3169 "RANLIB=$${RANLIB}" \
3170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3171 installcheck) \
3172 || exit 1
3174 @endif autoconf
3176 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3177 maybe-mostlyclean-autoconf:
3178 @if autoconf
3179 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3181 mostlyclean-autoconf:
3182 @[ -f ./autoconf/Makefile ] || exit 0; \
3183 r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 $(SET_LIB_PATH) \
3186 $(HOST_EXPORTS) \
3187 for flag in $(EXTRA_HOST_FLAGS) ; do \
3188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3189 done; \
3190 echo "Doing mostlyclean in autoconf" ; \
3191 (cd autoconf && \
3192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3194 "RANLIB=$${RANLIB}" \
3195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3196 mostlyclean) \
3197 || exit 1
3199 @endif autoconf
3201 .PHONY: maybe-clean-autoconf clean-autoconf
3202 maybe-clean-autoconf:
3203 @if autoconf
3204 maybe-clean-autoconf: clean-autoconf
3206 clean-autoconf:
3207 @[ -f ./autoconf/Makefile ] || exit 0; \
3208 r=`${PWD_COMMAND}`; export r; \
3209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3210 $(SET_LIB_PATH) \
3211 $(HOST_EXPORTS) \
3212 for flag in $(EXTRA_HOST_FLAGS) ; do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3214 done; \
3215 echo "Doing clean in autoconf" ; \
3216 (cd autoconf && \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3221 clean) \
3222 || exit 1
3224 @endif autoconf
3226 .PHONY: maybe-distclean-autoconf distclean-autoconf
3227 maybe-distclean-autoconf:
3228 @if autoconf
3229 maybe-distclean-autoconf: distclean-autoconf
3231 distclean-autoconf:
3232 @[ -f ./autoconf/Makefile ] || exit 0; \
3233 r=`${PWD_COMMAND}`; export r; \
3234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3235 $(SET_LIB_PATH) \
3236 $(HOST_EXPORTS) \
3237 for flag in $(EXTRA_HOST_FLAGS) ; do \
3238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3239 done; \
3240 echo "Doing distclean in autoconf" ; \
3241 (cd autoconf && \
3242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3244 "RANLIB=$${RANLIB}" \
3245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3246 distclean) \
3247 || exit 1
3249 @endif autoconf
3251 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3252 maybe-maintainer-clean-autoconf:
3253 @if autoconf
3254 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3256 maintainer-clean-autoconf:
3257 @[ -f ./autoconf/Makefile ] || exit 0; \
3258 r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3260 $(SET_LIB_PATH) \
3261 $(HOST_EXPORTS) \
3262 for flag in $(EXTRA_HOST_FLAGS) ; do \
3263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3264 done; \
3265 echo "Doing maintainer-clean in autoconf" ; \
3266 (cd autoconf && \
3267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3269 "RANLIB=$${RANLIB}" \
3270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3271 maintainer-clean) \
3272 || exit 1
3274 @endif autoconf
3277 .PHONY: configure-automake maybe-configure-automake
3278 maybe-configure-automake:
3279 @if automake
3280 maybe-configure-automake: configure-automake
3281 configure-automake:
3282 @test ! -f automake/Makefile || exit 0; \
3283 [ -d automake ] || mkdir automake; \
3284 r=`${PWD_COMMAND}`; export r; \
3285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3286 $(HOST_EXPORTS) \
3287 echo Configuring in automake; \
3288 cd automake || exit 1; \
3289 case $(srcdir) in \
3290 \.) \
3291 srcdiroption="--srcdir=."; \
3292 libsrcdir=".";; \
3293 /* | [A-Za-z]:[\\/]*) \
3294 srcdiroption="--srcdir=$(srcdir)/automake"; \
3295 libsrcdir="$$s/automake";; \
3296 *) \
3297 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3298 libsrcdir="$$s/automake";; \
3299 esac; \
3300 $(SHELL) $${libsrcdir}/configure \
3301 $(HOST_CONFIGARGS) $${srcdiroption} \
3302 || exit 1
3303 @endif automake
3305 .PHONY: all-automake maybe-all-automake
3306 maybe-all-automake:
3307 @if automake
3308 TARGET-automake=all
3309 maybe-all-automake: all-automake
3310 all-automake: configure-automake
3311 @r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 $(SET_LIB_PATH) \
3314 $(HOST_EXPORTS) \
3315 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3316 $(TARGET-automake))
3317 @endif automake
3319 .PHONY: check-automake maybe-check-automake
3320 maybe-check-automake:
3321 @if automake
3322 maybe-check-automake: check-automake
3324 check-automake:
3325 @r=`${PWD_COMMAND}`; export r; \
3326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3327 $(SET_LIB_PATH) \
3328 $(HOST_EXPORTS) \
3329 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3331 @endif automake
3333 .PHONY: install-automake maybe-install-automake
3334 maybe-install-automake:
3335 @if automake
3336 maybe-install-automake: install-automake
3338 install-automake: installdirs
3339 @r=`${PWD_COMMAND}`; export r; \
3340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3341 $(SET_LIB_PATH) \
3342 $(HOST_EXPORTS) \
3343 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3345 @endif automake
3347 # Other targets (info, dvi, etc.)
3349 .PHONY: maybe-info-automake info-automake
3350 maybe-info-automake:
3351 @if automake
3352 maybe-info-automake: info-automake
3354 info-automake: \
3355 configure-automake
3356 @[ -f ./automake/Makefile ] || exit 0; \
3357 r=`${PWD_COMMAND}`; export r; \
3358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 $(SET_LIB_PATH) \
3360 $(HOST_EXPORTS) \
3361 for flag in $(EXTRA_HOST_FLAGS) ; do \
3362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3363 done; \
3364 echo "Doing info in automake" ; \
3365 (cd automake && \
3366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3368 "RANLIB=$${RANLIB}" \
3369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3370 info) \
3371 || exit 1
3373 @endif automake
3375 .PHONY: maybe-dvi-automake dvi-automake
3376 maybe-dvi-automake:
3377 @if automake
3378 maybe-dvi-automake: dvi-automake
3380 dvi-automake: \
3381 configure-automake
3382 @[ -f ./automake/Makefile ] || exit 0; \
3383 r=`${PWD_COMMAND}`; export r; \
3384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3385 $(SET_LIB_PATH) \
3386 $(HOST_EXPORTS) \
3387 for flag in $(EXTRA_HOST_FLAGS) ; do \
3388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3389 done; \
3390 echo "Doing dvi in automake" ; \
3391 (cd automake && \
3392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3394 "RANLIB=$${RANLIB}" \
3395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3396 dvi) \
3397 || exit 1
3399 @endif automake
3401 .PHONY: maybe-html-automake html-automake
3402 maybe-html-automake:
3403 @if automake
3404 maybe-html-automake: html-automake
3406 html-automake: \
3407 configure-automake
3408 @[ -f ./automake/Makefile ] || exit 0; \
3409 r=`${PWD_COMMAND}`; export r; \
3410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411 $(SET_LIB_PATH) \
3412 $(HOST_EXPORTS) \
3413 for flag in $(EXTRA_HOST_FLAGS) ; do \
3414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3415 done; \
3416 echo "Doing html in automake" ; \
3417 (cd automake && \
3418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3420 "RANLIB=$${RANLIB}" \
3421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3422 html) \
3423 || exit 1
3425 @endif automake
3427 .PHONY: maybe-TAGS-automake TAGS-automake
3428 maybe-TAGS-automake:
3429 @if automake
3430 maybe-TAGS-automake: TAGS-automake
3432 TAGS-automake: \
3433 configure-automake
3434 @[ -f ./automake/Makefile ] || exit 0; \
3435 r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 $(SET_LIB_PATH) \
3438 $(HOST_EXPORTS) \
3439 for flag in $(EXTRA_HOST_FLAGS) ; do \
3440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3441 done; \
3442 echo "Doing TAGS in automake" ; \
3443 (cd automake && \
3444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3446 "RANLIB=$${RANLIB}" \
3447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3448 TAGS) \
3449 || exit 1
3451 @endif automake
3453 .PHONY: maybe-install-info-automake install-info-automake
3454 maybe-install-info-automake:
3455 @if automake
3456 maybe-install-info-automake: install-info-automake
3458 install-info-automake: \
3459 configure-automake \
3460 info-automake
3461 @[ -f ./automake/Makefile ] || exit 0; \
3462 r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(SET_LIB_PATH) \
3465 $(HOST_EXPORTS) \
3466 for flag in $(EXTRA_HOST_FLAGS) ; do \
3467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3468 done; \
3469 echo "Doing install-info in automake" ; \
3470 (cd automake && \
3471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3473 "RANLIB=$${RANLIB}" \
3474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3475 install-info) \
3476 || exit 1
3478 @endif automake
3480 .PHONY: maybe-installcheck-automake installcheck-automake
3481 maybe-installcheck-automake:
3482 @if automake
3483 maybe-installcheck-automake: installcheck-automake
3485 installcheck-automake: \
3486 configure-automake
3487 @[ -f ./automake/Makefile ] || exit 0; \
3488 r=`${PWD_COMMAND}`; export r; \
3489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3490 $(SET_LIB_PATH) \
3491 $(HOST_EXPORTS) \
3492 for flag in $(EXTRA_HOST_FLAGS) ; do \
3493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3494 done; \
3495 echo "Doing installcheck in automake" ; \
3496 (cd automake && \
3497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3499 "RANLIB=$${RANLIB}" \
3500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3501 installcheck) \
3502 || exit 1
3504 @endif automake
3506 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3507 maybe-mostlyclean-automake:
3508 @if automake
3509 maybe-mostlyclean-automake: mostlyclean-automake
3511 mostlyclean-automake:
3512 @[ -f ./automake/Makefile ] || exit 0; \
3513 r=`${PWD_COMMAND}`; export r; \
3514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3515 $(SET_LIB_PATH) \
3516 $(HOST_EXPORTS) \
3517 for flag in $(EXTRA_HOST_FLAGS) ; do \
3518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3519 done; \
3520 echo "Doing mostlyclean in automake" ; \
3521 (cd automake && \
3522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3524 "RANLIB=$${RANLIB}" \
3525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3526 mostlyclean) \
3527 || exit 1
3529 @endif automake
3531 .PHONY: maybe-clean-automake clean-automake
3532 maybe-clean-automake:
3533 @if automake
3534 maybe-clean-automake: clean-automake
3536 clean-automake:
3537 @[ -f ./automake/Makefile ] || exit 0; \
3538 r=`${PWD_COMMAND}`; export r; \
3539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3540 $(SET_LIB_PATH) \
3541 $(HOST_EXPORTS) \
3542 for flag in $(EXTRA_HOST_FLAGS) ; do \
3543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3544 done; \
3545 echo "Doing clean in automake" ; \
3546 (cd automake && \
3547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3549 "RANLIB=$${RANLIB}" \
3550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3551 clean) \
3552 || exit 1
3554 @endif automake
3556 .PHONY: maybe-distclean-automake distclean-automake
3557 maybe-distclean-automake:
3558 @if automake
3559 maybe-distclean-automake: distclean-automake
3561 distclean-automake:
3562 @[ -f ./automake/Makefile ] || exit 0; \
3563 r=`${PWD_COMMAND}`; export r; \
3564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3565 $(SET_LIB_PATH) \
3566 $(HOST_EXPORTS) \
3567 for flag in $(EXTRA_HOST_FLAGS) ; do \
3568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3569 done; \
3570 echo "Doing distclean in automake" ; \
3571 (cd automake && \
3572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3574 "RANLIB=$${RANLIB}" \
3575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3576 distclean) \
3577 || exit 1
3579 @endif automake
3581 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3582 maybe-maintainer-clean-automake:
3583 @if automake
3584 maybe-maintainer-clean-automake: maintainer-clean-automake
3586 maintainer-clean-automake:
3587 @[ -f ./automake/Makefile ] || exit 0; \
3588 r=`${PWD_COMMAND}`; export r; \
3589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 $(SET_LIB_PATH) \
3591 $(HOST_EXPORTS) \
3592 for flag in $(EXTRA_HOST_FLAGS) ; do \
3593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3594 done; \
3595 echo "Doing maintainer-clean in automake" ; \
3596 (cd automake && \
3597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3599 "RANLIB=$${RANLIB}" \
3600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3601 maintainer-clean) \
3602 || exit 1
3604 @endif automake
3607 .PHONY: configure-bash maybe-configure-bash
3608 maybe-configure-bash:
3609 @if bash
3610 maybe-configure-bash: configure-bash
3611 configure-bash:
3612 @test ! -f bash/Makefile || exit 0; \
3613 [ -d bash ] || mkdir bash; \
3614 r=`${PWD_COMMAND}`; export r; \
3615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3616 $(HOST_EXPORTS) \
3617 echo Configuring in bash; \
3618 cd bash || exit 1; \
3619 case $(srcdir) in \
3620 \.) \
3621 srcdiroption="--srcdir=."; \
3622 libsrcdir=".";; \
3623 /* | [A-Za-z]:[\\/]*) \
3624 srcdiroption="--srcdir=$(srcdir)/bash"; \
3625 libsrcdir="$$s/bash";; \
3626 *) \
3627 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3628 libsrcdir="$$s/bash";; \
3629 esac; \
3630 $(SHELL) $${libsrcdir}/configure \
3631 $(HOST_CONFIGARGS) $${srcdiroption} \
3632 || exit 1
3633 @endif bash
3635 .PHONY: all-bash maybe-all-bash
3636 maybe-all-bash:
3637 @if bash
3638 TARGET-bash=all
3639 maybe-all-bash: all-bash
3640 all-bash: configure-bash
3641 @r=`${PWD_COMMAND}`; export r; \
3642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3643 $(SET_LIB_PATH) \
3644 $(HOST_EXPORTS) \
3645 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3646 $(TARGET-bash))
3647 @endif bash
3649 .PHONY: check-bash maybe-check-bash
3650 maybe-check-bash:
3651 @if bash
3652 maybe-check-bash: check-bash
3654 check-bash:
3655 @r=`${PWD_COMMAND}`; export r; \
3656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3657 $(SET_LIB_PATH) \
3658 $(HOST_EXPORTS) \
3659 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3661 @endif bash
3663 .PHONY: install-bash maybe-install-bash
3664 maybe-install-bash:
3665 @if bash
3666 maybe-install-bash: install-bash
3668 install-bash: installdirs
3669 @r=`${PWD_COMMAND}`; export r; \
3670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3671 $(SET_LIB_PATH) \
3672 $(HOST_EXPORTS) \
3673 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3675 @endif bash
3677 # Other targets (info, dvi, etc.)
3679 .PHONY: maybe-info-bash info-bash
3680 maybe-info-bash:
3681 @if bash
3682 maybe-info-bash: info-bash
3684 info-bash: \
3685 configure-bash
3686 @[ -f ./bash/Makefile ] || exit 0; \
3687 r=`${PWD_COMMAND}`; export r; \
3688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3689 $(SET_LIB_PATH) \
3690 $(HOST_EXPORTS) \
3691 for flag in $(EXTRA_HOST_FLAGS) ; do \
3692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3693 done; \
3694 echo "Doing info in bash" ; \
3695 (cd bash && \
3696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3698 "RANLIB=$${RANLIB}" \
3699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3700 info) \
3701 || exit 1
3703 @endif bash
3705 .PHONY: maybe-dvi-bash dvi-bash
3706 maybe-dvi-bash:
3707 @if bash
3708 maybe-dvi-bash: dvi-bash
3710 dvi-bash: \
3711 configure-bash
3712 @[ -f ./bash/Makefile ] || exit 0; \
3713 r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 $(SET_LIB_PATH) \
3716 $(HOST_EXPORTS) \
3717 for flag in $(EXTRA_HOST_FLAGS) ; do \
3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 done; \
3720 echo "Doing dvi in bash" ; \
3721 (cd bash && \
3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3724 "RANLIB=$${RANLIB}" \
3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3726 dvi) \
3727 || exit 1
3729 @endif bash
3731 .PHONY: maybe-html-bash html-bash
3732 maybe-html-bash:
3733 @if bash
3734 maybe-html-bash: html-bash
3736 html-bash: \
3737 configure-bash
3738 @[ -f ./bash/Makefile ] || exit 0; \
3739 r=`${PWD_COMMAND}`; export r; \
3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3741 $(SET_LIB_PATH) \
3742 $(HOST_EXPORTS) \
3743 for flag in $(EXTRA_HOST_FLAGS) ; do \
3744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3745 done; \
3746 echo "Doing html in bash" ; \
3747 (cd bash && \
3748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3750 "RANLIB=$${RANLIB}" \
3751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3752 html) \
3753 || exit 1
3755 @endif bash
3757 .PHONY: maybe-TAGS-bash TAGS-bash
3758 maybe-TAGS-bash:
3759 @if bash
3760 maybe-TAGS-bash: TAGS-bash
3762 TAGS-bash: \
3763 configure-bash
3764 @[ -f ./bash/Makefile ] || exit 0; \
3765 r=`${PWD_COMMAND}`; export r; \
3766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3767 $(SET_LIB_PATH) \
3768 $(HOST_EXPORTS) \
3769 for flag in $(EXTRA_HOST_FLAGS) ; do \
3770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3771 done; \
3772 echo "Doing TAGS in bash" ; \
3773 (cd bash && \
3774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3776 "RANLIB=$${RANLIB}" \
3777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3778 TAGS) \
3779 || exit 1
3781 @endif bash
3783 .PHONY: maybe-install-info-bash install-info-bash
3784 maybe-install-info-bash:
3785 @if bash
3786 maybe-install-info-bash: install-info-bash
3788 install-info-bash: \
3789 configure-bash \
3790 info-bash
3791 @[ -f ./bash/Makefile ] || exit 0; \
3792 r=`${PWD_COMMAND}`; export r; \
3793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3794 $(SET_LIB_PATH) \
3795 $(HOST_EXPORTS) \
3796 for flag in $(EXTRA_HOST_FLAGS) ; do \
3797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3798 done; \
3799 echo "Doing install-info in bash" ; \
3800 (cd bash && \
3801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3803 "RANLIB=$${RANLIB}" \
3804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3805 install-info) \
3806 || exit 1
3808 @endif bash
3810 .PHONY: maybe-installcheck-bash installcheck-bash
3811 maybe-installcheck-bash:
3812 @if bash
3813 maybe-installcheck-bash: installcheck-bash
3815 installcheck-bash: \
3816 configure-bash
3817 @[ -f ./bash/Makefile ] || exit 0; \
3818 r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3820 $(SET_LIB_PATH) \
3821 $(HOST_EXPORTS) \
3822 for flag in $(EXTRA_HOST_FLAGS) ; do \
3823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3824 done; \
3825 echo "Doing installcheck in bash" ; \
3826 (cd bash && \
3827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3829 "RANLIB=$${RANLIB}" \
3830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3831 installcheck) \
3832 || exit 1
3834 @endif bash
3836 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3837 maybe-mostlyclean-bash:
3838 @if bash
3839 maybe-mostlyclean-bash: mostlyclean-bash
3841 mostlyclean-bash:
3842 @[ -f ./bash/Makefile ] || exit 0; \
3843 r=`${PWD_COMMAND}`; export r; \
3844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3845 $(SET_LIB_PATH) \
3846 $(HOST_EXPORTS) \
3847 for flag in $(EXTRA_HOST_FLAGS) ; do \
3848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3849 done; \
3850 echo "Doing mostlyclean in bash" ; \
3851 (cd bash && \
3852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3854 "RANLIB=$${RANLIB}" \
3855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3856 mostlyclean) \
3857 || exit 1
3859 @endif bash
3861 .PHONY: maybe-clean-bash clean-bash
3862 maybe-clean-bash:
3863 @if bash
3864 maybe-clean-bash: clean-bash
3866 clean-bash:
3867 @[ -f ./bash/Makefile ] || exit 0; \
3868 r=`${PWD_COMMAND}`; export r; \
3869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3870 $(SET_LIB_PATH) \
3871 $(HOST_EXPORTS) \
3872 for flag in $(EXTRA_HOST_FLAGS) ; do \
3873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3874 done; \
3875 echo "Doing clean in bash" ; \
3876 (cd bash && \
3877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3879 "RANLIB=$${RANLIB}" \
3880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3881 clean) \
3882 || exit 1
3884 @endif bash
3886 .PHONY: maybe-distclean-bash distclean-bash
3887 maybe-distclean-bash:
3888 @if bash
3889 maybe-distclean-bash: distclean-bash
3891 distclean-bash:
3892 @[ -f ./bash/Makefile ] || exit 0; \
3893 r=`${PWD_COMMAND}`; export r; \
3894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3895 $(SET_LIB_PATH) \
3896 $(HOST_EXPORTS) \
3897 for flag in $(EXTRA_HOST_FLAGS) ; do \
3898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3899 done; \
3900 echo "Doing distclean in bash" ; \
3901 (cd bash && \
3902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3904 "RANLIB=$${RANLIB}" \
3905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3906 distclean) \
3907 || exit 1
3909 @endif bash
3911 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3912 maybe-maintainer-clean-bash:
3913 @if bash
3914 maybe-maintainer-clean-bash: maintainer-clean-bash
3916 maintainer-clean-bash:
3917 @[ -f ./bash/Makefile ] || exit 0; \
3918 r=`${PWD_COMMAND}`; export r; \
3919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3920 $(SET_LIB_PATH) \
3921 $(HOST_EXPORTS) \
3922 for flag in $(EXTRA_HOST_FLAGS) ; do \
3923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3924 done; \
3925 echo "Doing maintainer-clean in bash" ; \
3926 (cd bash && \
3927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3929 "RANLIB=$${RANLIB}" \
3930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3931 maintainer-clean) \
3932 || exit 1
3934 @endif bash
3937 .PHONY: configure-bfd maybe-configure-bfd
3938 maybe-configure-bfd:
3939 @if bfd
3940 maybe-configure-bfd: configure-bfd
3941 configure-bfd:
3942 @test -f stage_last && exit 0; \
3943 test ! -f bfd/Makefile || exit 0; \
3944 [ -d bfd ] || mkdir bfd; \
3945 r=`${PWD_COMMAND}`; export r; \
3946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3947 $(HOST_EXPORTS) \
3948 echo Configuring in bfd; \
3949 cd bfd || exit 1; \
3950 case $(srcdir) in \
3951 \.) \
3952 srcdiroption="--srcdir=."; \
3953 libsrcdir=".";; \
3954 /* | [A-Za-z]:[\\/]*) \
3955 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3956 libsrcdir="$$s/bfd";; \
3957 *) \
3958 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3959 libsrcdir="$$s/bfd";; \
3960 esac; \
3961 $(SHELL) $${libsrcdir}/configure \
3962 $(HOST_CONFIGARGS) $${srcdiroption} \
3963 || exit 1
3964 @endif bfd
3966 .PHONY: all-bfd maybe-all-bfd
3967 maybe-all-bfd:
3968 @if bfd
3969 TARGET-bfd=all
3970 maybe-all-bfd: all-bfd
3971 all-bfd: configure-bfd
3972 @test -f stage_last && exit 0; \
3973 r=`${PWD_COMMAND}`; export r; \
3974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3975 $(SET_LIB_PATH) \
3976 $(HOST_EXPORTS) \
3977 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3978 $(TARGET-bfd))
3979 @endif bfd
3981 .PHONY: check-bfd maybe-check-bfd
3982 maybe-check-bfd:
3983 @if bfd
3984 maybe-check-bfd: check-bfd
3986 check-bfd:
3987 @r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(SET_LIB_PATH) \
3990 $(HOST_EXPORTS) \
3991 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3993 @endif bfd
3995 .PHONY: install-bfd maybe-install-bfd
3996 maybe-install-bfd:
3997 @if bfd
3998 maybe-install-bfd: install-bfd
4000 install-bfd: installdirs
4001 @r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 $(SET_LIB_PATH) \
4004 $(HOST_EXPORTS) \
4005 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4007 @endif bfd
4009 # Other targets (info, dvi, etc.)
4011 .PHONY: maybe-info-bfd info-bfd
4012 maybe-info-bfd:
4013 @if bfd
4014 maybe-info-bfd: info-bfd
4016 info-bfd: \
4017 configure-bfd
4018 @[ -f ./bfd/Makefile ] || exit 0; \
4019 r=`${PWD_COMMAND}`; export r; \
4020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4021 $(SET_LIB_PATH) \
4022 $(HOST_EXPORTS) \
4023 for flag in $(EXTRA_HOST_FLAGS) ; do \
4024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4025 done; \
4026 echo "Doing info in bfd" ; \
4027 (cd bfd && \
4028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4030 "RANLIB=$${RANLIB}" \
4031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4032 info) \
4033 || exit 1
4035 @endif bfd
4037 .PHONY: maybe-dvi-bfd dvi-bfd
4038 maybe-dvi-bfd:
4039 @if bfd
4040 maybe-dvi-bfd: dvi-bfd
4042 dvi-bfd: \
4043 configure-bfd
4044 @[ -f ./bfd/Makefile ] || exit 0; \
4045 r=`${PWD_COMMAND}`; export r; \
4046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4047 $(SET_LIB_PATH) \
4048 $(HOST_EXPORTS) \
4049 for flag in $(EXTRA_HOST_FLAGS) ; do \
4050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4051 done; \
4052 echo "Doing dvi in bfd" ; \
4053 (cd bfd && \
4054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4056 "RANLIB=$${RANLIB}" \
4057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4058 dvi) \
4059 || exit 1
4061 @endif bfd
4063 .PHONY: maybe-html-bfd html-bfd
4064 maybe-html-bfd:
4065 @if bfd
4066 maybe-html-bfd: html-bfd
4068 html-bfd: \
4069 configure-bfd
4070 @[ -f ./bfd/Makefile ] || exit 0; \
4071 r=`${PWD_COMMAND}`; export r; \
4072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4073 $(SET_LIB_PATH) \
4074 $(HOST_EXPORTS) \
4075 for flag in $(EXTRA_HOST_FLAGS) ; do \
4076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4077 done; \
4078 echo "Doing html in bfd" ; \
4079 (cd bfd && \
4080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4082 "RANLIB=$${RANLIB}" \
4083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4084 html) \
4085 || exit 1
4087 @endif bfd
4089 .PHONY: maybe-TAGS-bfd TAGS-bfd
4090 maybe-TAGS-bfd:
4091 @if bfd
4092 maybe-TAGS-bfd: TAGS-bfd
4094 TAGS-bfd: \
4095 configure-bfd
4096 @[ -f ./bfd/Makefile ] || exit 0; \
4097 r=`${PWD_COMMAND}`; export r; \
4098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4099 $(SET_LIB_PATH) \
4100 $(HOST_EXPORTS) \
4101 for flag in $(EXTRA_HOST_FLAGS) ; do \
4102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4103 done; \
4104 echo "Doing TAGS in bfd" ; \
4105 (cd bfd && \
4106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4108 "RANLIB=$${RANLIB}" \
4109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4110 TAGS) \
4111 || exit 1
4113 @endif bfd
4115 .PHONY: maybe-install-info-bfd install-info-bfd
4116 maybe-install-info-bfd:
4117 @if bfd
4118 maybe-install-info-bfd: install-info-bfd
4120 install-info-bfd: \
4121 configure-bfd \
4122 info-bfd
4123 @[ -f ./bfd/Makefile ] || exit 0; \
4124 r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126 $(SET_LIB_PATH) \
4127 $(HOST_EXPORTS) \
4128 for flag in $(EXTRA_HOST_FLAGS) ; do \
4129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130 done; \
4131 echo "Doing install-info in bfd" ; \
4132 (cd bfd && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135 "RANLIB=$${RANLIB}" \
4136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137 install-info) \
4138 || exit 1
4140 @endif bfd
4142 .PHONY: maybe-installcheck-bfd installcheck-bfd
4143 maybe-installcheck-bfd:
4144 @if bfd
4145 maybe-installcheck-bfd: installcheck-bfd
4147 installcheck-bfd: \
4148 configure-bfd
4149 @[ -f ./bfd/Makefile ] || exit 0; \
4150 r=`${PWD_COMMAND}`; export r; \
4151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4152 $(SET_LIB_PATH) \
4153 $(HOST_EXPORTS) \
4154 for flag in $(EXTRA_HOST_FLAGS) ; do \
4155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4156 done; \
4157 echo "Doing installcheck in bfd" ; \
4158 (cd bfd && \
4159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4161 "RANLIB=$${RANLIB}" \
4162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4163 installcheck) \
4164 || exit 1
4166 @endif bfd
4168 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4169 maybe-mostlyclean-bfd:
4170 @if bfd
4171 maybe-mostlyclean-bfd: mostlyclean-bfd
4173 mostlyclean-bfd:
4174 @[ -f ./bfd/Makefile ] || exit 0; \
4175 r=`${PWD_COMMAND}`; export r; \
4176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4177 $(SET_LIB_PATH) \
4178 $(HOST_EXPORTS) \
4179 for flag in $(EXTRA_HOST_FLAGS) ; do \
4180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4181 done; \
4182 echo "Doing mostlyclean in bfd" ; \
4183 (cd bfd && \
4184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4186 "RANLIB=$${RANLIB}" \
4187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4188 mostlyclean) \
4189 || exit 1
4191 @endif bfd
4193 .PHONY: maybe-clean-bfd clean-bfd
4194 maybe-clean-bfd:
4195 @if bfd
4196 maybe-clean-bfd: clean-bfd
4198 clean-bfd:
4199 @[ -f ./bfd/Makefile ] || exit 0; \
4200 r=`${PWD_COMMAND}`; export r; \
4201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4202 $(SET_LIB_PATH) \
4203 $(HOST_EXPORTS) \
4204 for flag in $(EXTRA_HOST_FLAGS) ; do \
4205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4206 done; \
4207 echo "Doing clean in bfd" ; \
4208 (cd bfd && \
4209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4211 "RANLIB=$${RANLIB}" \
4212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4213 clean) \
4214 || exit 1
4216 @endif bfd
4218 .PHONY: maybe-distclean-bfd distclean-bfd
4219 maybe-distclean-bfd:
4220 @if bfd
4221 maybe-distclean-bfd: distclean-bfd
4223 distclean-bfd:
4224 @[ -f ./bfd/Makefile ] || exit 0; \
4225 r=`${PWD_COMMAND}`; export r; \
4226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4227 $(SET_LIB_PATH) \
4228 $(HOST_EXPORTS) \
4229 for flag in $(EXTRA_HOST_FLAGS) ; do \
4230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4231 done; \
4232 echo "Doing distclean in bfd" ; \
4233 (cd bfd && \
4234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4236 "RANLIB=$${RANLIB}" \
4237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4238 distclean) \
4239 || exit 1
4241 @endif bfd
4243 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4244 maybe-maintainer-clean-bfd:
4245 @if bfd
4246 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4248 maintainer-clean-bfd:
4249 @[ -f ./bfd/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 $(SET_LIB_PATH) \
4253 $(HOST_EXPORTS) \
4254 for flag in $(EXTRA_HOST_FLAGS) ; do \
4255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4256 done; \
4257 echo "Doing maintainer-clean in bfd" ; \
4258 (cd bfd && \
4259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4261 "RANLIB=$${RANLIB}" \
4262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4263 maintainer-clean) \
4264 || exit 1
4266 @endif bfd
4269 .PHONY: configure-opcodes maybe-configure-opcodes
4270 maybe-configure-opcodes:
4271 @if opcodes
4272 maybe-configure-opcodes: configure-opcodes
4273 configure-opcodes:
4274 @test -f stage_last && exit 0; \
4275 test ! -f opcodes/Makefile || exit 0; \
4276 [ -d opcodes ] || mkdir opcodes; \
4277 r=`${PWD_COMMAND}`; export r; \
4278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4279 $(HOST_EXPORTS) \
4280 echo Configuring in opcodes; \
4281 cd opcodes || exit 1; \
4282 case $(srcdir) in \
4283 \.) \
4284 srcdiroption="--srcdir=."; \
4285 libsrcdir=".";; \
4286 /* | [A-Za-z]:[\\/]*) \
4287 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4288 libsrcdir="$$s/opcodes";; \
4289 *) \
4290 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4291 libsrcdir="$$s/opcodes";; \
4292 esac; \
4293 $(SHELL) $${libsrcdir}/configure \
4294 $(HOST_CONFIGARGS) $${srcdiroption} \
4295 || exit 1
4296 @endif opcodes
4298 .PHONY: all-opcodes maybe-all-opcodes
4299 maybe-all-opcodes:
4300 @if opcodes
4301 TARGET-opcodes=all
4302 maybe-all-opcodes: all-opcodes
4303 all-opcodes: configure-opcodes
4304 @test -f stage_last && exit 0; \
4305 r=`${PWD_COMMAND}`; export r; \
4306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4307 $(SET_LIB_PATH) \
4308 $(HOST_EXPORTS) \
4309 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4310 $(TARGET-opcodes))
4311 @endif opcodes
4313 .PHONY: check-opcodes maybe-check-opcodes
4314 maybe-check-opcodes:
4315 @if opcodes
4316 maybe-check-opcodes: check-opcodes
4318 check-opcodes:
4319 @r=`${PWD_COMMAND}`; export r; \
4320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4321 $(SET_LIB_PATH) \
4322 $(HOST_EXPORTS) \
4323 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4325 @endif opcodes
4327 .PHONY: install-opcodes maybe-install-opcodes
4328 maybe-install-opcodes:
4329 @if opcodes
4330 maybe-install-opcodes: install-opcodes
4332 install-opcodes: installdirs
4333 @r=`${PWD_COMMAND}`; export r; \
4334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4335 $(SET_LIB_PATH) \
4336 $(HOST_EXPORTS) \
4337 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4339 @endif opcodes
4341 # Other targets (info, dvi, etc.)
4343 .PHONY: maybe-info-opcodes info-opcodes
4344 maybe-info-opcodes:
4345 @if opcodes
4346 maybe-info-opcodes: info-opcodes
4348 info-opcodes: \
4349 configure-opcodes
4350 @[ -f ./opcodes/Makefile ] || exit 0; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(SET_LIB_PATH) \
4354 $(HOST_EXPORTS) \
4355 for flag in $(EXTRA_HOST_FLAGS) ; do \
4356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4357 done; \
4358 echo "Doing info in opcodes" ; \
4359 (cd opcodes && \
4360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4362 "RANLIB=$${RANLIB}" \
4363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4364 info) \
4365 || exit 1
4367 @endif opcodes
4369 .PHONY: maybe-dvi-opcodes dvi-opcodes
4370 maybe-dvi-opcodes:
4371 @if opcodes
4372 maybe-dvi-opcodes: dvi-opcodes
4374 dvi-opcodes: \
4375 configure-opcodes
4376 @[ -f ./opcodes/Makefile ] || exit 0; \
4377 r=`${PWD_COMMAND}`; export r; \
4378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4379 $(SET_LIB_PATH) \
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 dvi in opcodes" ; \
4385 (cd opcodes && \
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 dvi) \
4391 || exit 1
4393 @endif opcodes
4395 .PHONY: maybe-html-opcodes html-opcodes
4396 maybe-html-opcodes:
4397 @if opcodes
4398 maybe-html-opcodes: html-opcodes
4400 html-opcodes: \
4401 configure-opcodes
4402 @[ -f ./opcodes/Makefile ] || exit 0; \
4403 r=`${PWD_COMMAND}`; export r; \
4404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405 $(SET_LIB_PATH) \
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 html in opcodes" ; \
4411 (cd opcodes && \
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 html) \
4417 || exit 1
4419 @endif opcodes
4421 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4422 maybe-TAGS-opcodes:
4423 @if opcodes
4424 maybe-TAGS-opcodes: TAGS-opcodes
4426 TAGS-opcodes: \
4427 configure-opcodes
4428 @[ -f ./opcodes/Makefile ] || exit 0; \
4429 r=`${PWD_COMMAND}`; export r; \
4430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4431 $(SET_LIB_PATH) \
4432 $(HOST_EXPORTS) \
4433 for flag in $(EXTRA_HOST_FLAGS) ; do \
4434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4435 done; \
4436 echo "Doing TAGS in opcodes" ; \
4437 (cd opcodes && \
4438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4440 "RANLIB=$${RANLIB}" \
4441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4442 TAGS) \
4443 || exit 1
4445 @endif opcodes
4447 .PHONY: maybe-install-info-opcodes install-info-opcodes
4448 maybe-install-info-opcodes:
4449 @if opcodes
4450 maybe-install-info-opcodes: install-info-opcodes
4452 install-info-opcodes: \
4453 configure-opcodes \
4454 info-opcodes
4455 @[ -f ./opcodes/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4458 $(SET_LIB_PATH) \
4459 $(HOST_EXPORTS) \
4460 for flag in $(EXTRA_HOST_FLAGS) ; do \
4461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4462 done; \
4463 echo "Doing install-info in opcodes" ; \
4464 (cd opcodes && \
4465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4467 "RANLIB=$${RANLIB}" \
4468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4469 install-info) \
4470 || exit 1
4472 @endif opcodes
4474 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4475 maybe-installcheck-opcodes:
4476 @if opcodes
4477 maybe-installcheck-opcodes: installcheck-opcodes
4479 installcheck-opcodes: \
4480 configure-opcodes
4481 @[ -f ./opcodes/Makefile ] || exit 0; \
4482 r=`${PWD_COMMAND}`; export r; \
4483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4484 $(SET_LIB_PATH) \
4485 $(HOST_EXPORTS) \
4486 for flag in $(EXTRA_HOST_FLAGS) ; do \
4487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4488 done; \
4489 echo "Doing installcheck in opcodes" ; \
4490 (cd opcodes && \
4491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4493 "RANLIB=$${RANLIB}" \
4494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4495 installcheck) \
4496 || exit 1
4498 @endif opcodes
4500 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4501 maybe-mostlyclean-opcodes:
4502 @if opcodes
4503 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4505 mostlyclean-opcodes:
4506 @[ -f ./opcodes/Makefile ] || exit 0; \
4507 r=`${PWD_COMMAND}`; export r; \
4508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 $(SET_LIB_PATH) \
4510 $(HOST_EXPORTS) \
4511 for flag in $(EXTRA_HOST_FLAGS) ; do \
4512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4513 done; \
4514 echo "Doing mostlyclean in opcodes" ; \
4515 (cd opcodes && \
4516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4518 "RANLIB=$${RANLIB}" \
4519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4520 mostlyclean) \
4521 || exit 1
4523 @endif opcodes
4525 .PHONY: maybe-clean-opcodes clean-opcodes
4526 maybe-clean-opcodes:
4527 @if opcodes
4528 maybe-clean-opcodes: clean-opcodes
4530 clean-opcodes:
4531 @[ -f ./opcodes/Makefile ] || exit 0; \
4532 r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(SET_LIB_PATH) \
4535 $(HOST_EXPORTS) \
4536 for flag in $(EXTRA_HOST_FLAGS) ; do \
4537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4538 done; \
4539 echo "Doing clean in opcodes" ; \
4540 (cd opcodes && \
4541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4543 "RANLIB=$${RANLIB}" \
4544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4545 clean) \
4546 || exit 1
4548 @endif opcodes
4550 .PHONY: maybe-distclean-opcodes distclean-opcodes
4551 maybe-distclean-opcodes:
4552 @if opcodes
4553 maybe-distclean-opcodes: distclean-opcodes
4555 distclean-opcodes:
4556 @[ -f ./opcodes/Makefile ] || exit 0; \
4557 r=`${PWD_COMMAND}`; export r; \
4558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4559 $(SET_LIB_PATH) \
4560 $(HOST_EXPORTS) \
4561 for flag in $(EXTRA_HOST_FLAGS) ; do \
4562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4563 done; \
4564 echo "Doing distclean in opcodes" ; \
4565 (cd opcodes && \
4566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4568 "RANLIB=$${RANLIB}" \
4569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4570 distclean) \
4571 || exit 1
4573 @endif opcodes
4575 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4576 maybe-maintainer-clean-opcodes:
4577 @if opcodes
4578 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4580 maintainer-clean-opcodes:
4581 @[ -f ./opcodes/Makefile ] || exit 0; \
4582 r=`${PWD_COMMAND}`; export r; \
4583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4584 $(SET_LIB_PATH) \
4585 $(HOST_EXPORTS) \
4586 for flag in $(EXTRA_HOST_FLAGS) ; do \
4587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4588 done; \
4589 echo "Doing maintainer-clean in opcodes" ; \
4590 (cd opcodes && \
4591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4593 "RANLIB=$${RANLIB}" \
4594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4595 maintainer-clean) \
4596 || exit 1
4598 @endif opcodes
4601 .PHONY: configure-binutils maybe-configure-binutils
4602 maybe-configure-binutils:
4603 @if binutils
4604 maybe-configure-binutils: configure-binutils
4605 configure-binutils:
4606 @test -f stage_last && exit 0; \
4607 test ! -f binutils/Makefile || exit 0; \
4608 [ -d binutils ] || mkdir binutils; \
4609 r=`${PWD_COMMAND}`; export r; \
4610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4611 $(HOST_EXPORTS) \
4612 echo Configuring in binutils; \
4613 cd binutils || exit 1; \
4614 case $(srcdir) in \
4615 \.) \
4616 srcdiroption="--srcdir=."; \
4617 libsrcdir=".";; \
4618 /* | [A-Za-z]:[\\/]*) \
4619 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4620 libsrcdir="$$s/binutils";; \
4621 *) \
4622 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4623 libsrcdir="$$s/binutils";; \
4624 esac; \
4625 $(SHELL) $${libsrcdir}/configure \
4626 $(HOST_CONFIGARGS) $${srcdiroption} \
4627 || exit 1
4628 @endif binutils
4630 .PHONY: all-binutils maybe-all-binutils
4631 maybe-all-binutils:
4632 @if binutils
4633 TARGET-binutils=all
4634 maybe-all-binutils: all-binutils
4635 all-binutils: configure-binutils
4636 @test -f stage_last && exit 0; \
4637 r=`${PWD_COMMAND}`; export r; \
4638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4639 $(SET_LIB_PATH) \
4640 $(HOST_EXPORTS) \
4641 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4642 $(TARGET-binutils))
4643 @endif binutils
4645 .PHONY: check-binutils maybe-check-binutils
4646 maybe-check-binutils:
4647 @if binutils
4648 maybe-check-binutils: check-binutils
4650 check-binutils:
4651 @r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 $(SET_LIB_PATH) \
4654 $(HOST_EXPORTS) \
4655 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4657 @endif binutils
4659 .PHONY: install-binutils maybe-install-binutils
4660 maybe-install-binutils:
4661 @if binutils
4662 maybe-install-binutils: install-binutils
4664 install-binutils: installdirs
4665 @r=`${PWD_COMMAND}`; export r; \
4666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4667 $(SET_LIB_PATH) \
4668 $(HOST_EXPORTS) \
4669 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4671 @endif binutils
4673 # Other targets (info, dvi, etc.)
4675 .PHONY: maybe-info-binutils info-binutils
4676 maybe-info-binutils:
4677 @if binutils
4678 maybe-info-binutils: info-binutils
4680 info-binutils: \
4681 configure-binutils
4682 @[ -f ./binutils/Makefile ] || exit 0; \
4683 r=`${PWD_COMMAND}`; export r; \
4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685 $(SET_LIB_PATH) \
4686 $(HOST_EXPORTS) \
4687 for flag in $(EXTRA_HOST_FLAGS) ; do \
4688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4689 done; \
4690 echo "Doing info in binutils" ; \
4691 (cd binutils && \
4692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4694 "RANLIB=$${RANLIB}" \
4695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4696 info) \
4697 || exit 1
4699 @endif binutils
4701 .PHONY: maybe-dvi-binutils dvi-binutils
4702 maybe-dvi-binutils:
4703 @if binutils
4704 maybe-dvi-binutils: dvi-binutils
4706 dvi-binutils: \
4707 configure-binutils
4708 @[ -f ./binutils/Makefile ] || exit 0; \
4709 r=`${PWD_COMMAND}`; export r; \
4710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4711 $(SET_LIB_PATH) \
4712 $(HOST_EXPORTS) \
4713 for flag in $(EXTRA_HOST_FLAGS) ; do \
4714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4715 done; \
4716 echo "Doing dvi in binutils" ; \
4717 (cd binutils && \
4718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4720 "RANLIB=$${RANLIB}" \
4721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4722 dvi) \
4723 || exit 1
4725 @endif binutils
4727 .PHONY: maybe-html-binutils html-binutils
4728 maybe-html-binutils:
4729 @if binutils
4730 maybe-html-binutils: html-binutils
4732 html-binutils: \
4733 configure-binutils
4734 @[ -f ./binutils/Makefile ] || exit 0; \
4735 r=`${PWD_COMMAND}`; export r; \
4736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4737 $(SET_LIB_PATH) \
4738 $(HOST_EXPORTS) \
4739 for flag in $(EXTRA_HOST_FLAGS) ; do \
4740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4741 done; \
4742 echo "Doing html in binutils" ; \
4743 (cd binutils && \
4744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4746 "RANLIB=$${RANLIB}" \
4747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4748 html) \
4749 || exit 1
4751 @endif binutils
4753 .PHONY: maybe-TAGS-binutils TAGS-binutils
4754 maybe-TAGS-binutils:
4755 @if binutils
4756 maybe-TAGS-binutils: TAGS-binutils
4758 TAGS-binutils: \
4759 configure-binutils
4760 @[ -f ./binutils/Makefile ] || exit 0; \
4761 r=`${PWD_COMMAND}`; export r; \
4762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4763 $(SET_LIB_PATH) \
4764 $(HOST_EXPORTS) \
4765 for flag in $(EXTRA_HOST_FLAGS) ; do \
4766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4767 done; \
4768 echo "Doing TAGS in binutils" ; \
4769 (cd binutils && \
4770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4772 "RANLIB=$${RANLIB}" \
4773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4774 TAGS) \
4775 || exit 1
4777 @endif binutils
4779 .PHONY: maybe-install-info-binutils install-info-binutils
4780 maybe-install-info-binutils:
4781 @if binutils
4782 maybe-install-info-binutils: install-info-binutils
4784 install-info-binutils: \
4785 configure-binutils \
4786 info-binutils
4787 @[ -f ./binutils/Makefile ] || exit 0; \
4788 r=`${PWD_COMMAND}`; export r; \
4789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4790 $(SET_LIB_PATH) \
4791 $(HOST_EXPORTS) \
4792 for flag in $(EXTRA_HOST_FLAGS) ; do \
4793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4794 done; \
4795 echo "Doing install-info in binutils" ; \
4796 (cd binutils && \
4797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4799 "RANLIB=$${RANLIB}" \
4800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4801 install-info) \
4802 || exit 1
4804 @endif binutils
4806 .PHONY: maybe-installcheck-binutils installcheck-binutils
4807 maybe-installcheck-binutils:
4808 @if binutils
4809 maybe-installcheck-binutils: installcheck-binutils
4811 installcheck-binutils: \
4812 configure-binutils
4813 @[ -f ./binutils/Makefile ] || exit 0; \
4814 r=`${PWD_COMMAND}`; export r; \
4815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4816 $(SET_LIB_PATH) \
4817 $(HOST_EXPORTS) \
4818 for flag in $(EXTRA_HOST_FLAGS) ; do \
4819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4820 done; \
4821 echo "Doing installcheck in binutils" ; \
4822 (cd binutils && \
4823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4825 "RANLIB=$${RANLIB}" \
4826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4827 installcheck) \
4828 || exit 1
4830 @endif binutils
4832 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4833 maybe-mostlyclean-binutils:
4834 @if binutils
4835 maybe-mostlyclean-binutils: mostlyclean-binutils
4837 mostlyclean-binutils:
4838 @[ -f ./binutils/Makefile ] || exit 0; \
4839 r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(SET_LIB_PATH) \
4842 $(HOST_EXPORTS) \
4843 for flag in $(EXTRA_HOST_FLAGS) ; do \
4844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4845 done; \
4846 echo "Doing mostlyclean in binutils" ; \
4847 (cd binutils && \
4848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4850 "RANLIB=$${RANLIB}" \
4851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4852 mostlyclean) \
4853 || exit 1
4855 @endif binutils
4857 .PHONY: maybe-clean-binutils clean-binutils
4858 maybe-clean-binutils:
4859 @if binutils
4860 maybe-clean-binutils: clean-binutils
4862 clean-binutils:
4863 @[ -f ./binutils/Makefile ] || exit 0; \
4864 r=`${PWD_COMMAND}`; export r; \
4865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4866 $(SET_LIB_PATH) \
4867 $(HOST_EXPORTS) \
4868 for flag in $(EXTRA_HOST_FLAGS) ; do \
4869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4870 done; \
4871 echo "Doing clean in binutils" ; \
4872 (cd binutils && \
4873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4875 "RANLIB=$${RANLIB}" \
4876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4877 clean) \
4878 || exit 1
4880 @endif binutils
4882 .PHONY: maybe-distclean-binutils distclean-binutils
4883 maybe-distclean-binutils:
4884 @if binutils
4885 maybe-distclean-binutils: distclean-binutils
4887 distclean-binutils:
4888 @[ -f ./binutils/Makefile ] || exit 0; \
4889 r=`${PWD_COMMAND}`; export r; \
4890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4891 $(SET_LIB_PATH) \
4892 $(HOST_EXPORTS) \
4893 for flag in $(EXTRA_HOST_FLAGS) ; do \
4894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4895 done; \
4896 echo "Doing distclean in binutils" ; \
4897 (cd binutils && \
4898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4900 "RANLIB=$${RANLIB}" \
4901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4902 distclean) \
4903 || exit 1
4905 @endif binutils
4907 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4908 maybe-maintainer-clean-binutils:
4909 @if binutils
4910 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4912 maintainer-clean-binutils:
4913 @[ -f ./binutils/Makefile ] || exit 0; \
4914 r=`${PWD_COMMAND}`; export r; \
4915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4916 $(SET_LIB_PATH) \
4917 $(HOST_EXPORTS) \
4918 for flag in $(EXTRA_HOST_FLAGS) ; do \
4919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4920 done; \
4921 echo "Doing maintainer-clean in binutils" ; \
4922 (cd binutils && \
4923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4925 "RANLIB=$${RANLIB}" \
4926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4927 maintainer-clean) \
4928 || exit 1
4930 @endif binutils
4933 .PHONY: configure-bison maybe-configure-bison
4934 maybe-configure-bison:
4935 @if bison
4936 maybe-configure-bison: configure-bison
4937 configure-bison:
4938 @test ! -f bison/Makefile || exit 0; \
4939 [ -d bison ] || mkdir bison; \
4940 r=`${PWD_COMMAND}`; export r; \
4941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4942 $(HOST_EXPORTS) \
4943 echo Configuring in bison; \
4944 cd bison || exit 1; \
4945 case $(srcdir) in \
4946 \.) \
4947 srcdiroption="--srcdir=."; \
4948 libsrcdir=".";; \
4949 /* | [A-Za-z]:[\\/]*) \
4950 srcdiroption="--srcdir=$(srcdir)/bison"; \
4951 libsrcdir="$$s/bison";; \
4952 *) \
4953 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4954 libsrcdir="$$s/bison";; \
4955 esac; \
4956 $(SHELL) $${libsrcdir}/configure \
4957 $(HOST_CONFIGARGS) $${srcdiroption} \
4958 || exit 1
4959 @endif bison
4961 .PHONY: all-bison maybe-all-bison
4962 maybe-all-bison:
4963 @if bison
4964 TARGET-bison=all
4965 maybe-all-bison: all-bison
4966 all-bison: configure-bison
4967 @r=`${PWD_COMMAND}`; export r; \
4968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4969 $(SET_LIB_PATH) \
4970 $(HOST_EXPORTS) \
4971 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4972 $(TARGET-bison))
4973 @endif bison
4975 .PHONY: check-bison maybe-check-bison
4976 maybe-check-bison:
4977 @if bison
4978 maybe-check-bison: check-bison
4980 # This module is only tested in a native toolchain.
4981 check-bison:
4982 @if [ '$(host)' = '$(target)' ] ; then \
4983 r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4985 $(SET_LIB_PATH) \
4986 $(HOST_EXPORTS) \
4987 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4990 @endif bison
4992 .PHONY: install-bison maybe-install-bison
4993 maybe-install-bison:
4994 @if bison
4995 maybe-install-bison: install-bison
4997 install-bison: installdirs
4998 @r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000 $(SET_LIB_PATH) \
5001 $(HOST_EXPORTS) \
5002 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5004 @endif bison
5006 # Other targets (info, dvi, etc.)
5008 .PHONY: maybe-info-bison info-bison
5009 maybe-info-bison:
5010 @if bison
5011 maybe-info-bison: info-bison
5013 info-bison: \
5014 configure-bison
5015 @[ -f ./bison/Makefile ] || exit 0; \
5016 r=`${PWD_COMMAND}`; export r; \
5017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5018 $(SET_LIB_PATH) \
5019 $(HOST_EXPORTS) \
5020 for flag in $(EXTRA_HOST_FLAGS) ; do \
5021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5022 done; \
5023 echo "Doing info in bison" ; \
5024 (cd bison && \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027 "RANLIB=$${RANLIB}" \
5028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5029 info) \
5030 || exit 1
5032 @endif bison
5034 .PHONY: maybe-dvi-bison dvi-bison
5035 maybe-dvi-bison:
5036 @if bison
5037 maybe-dvi-bison: dvi-bison
5039 dvi-bison: \
5040 configure-bison
5041 @[ -f ./bison/Makefile ] || exit 0; \
5042 r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 $(SET_LIB_PATH) \
5045 $(HOST_EXPORTS) \
5046 for flag in $(EXTRA_HOST_FLAGS) ; do \
5047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5048 done; \
5049 echo "Doing dvi in bison" ; \
5050 (cd bison && \
5051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5053 "RANLIB=$${RANLIB}" \
5054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5055 dvi) \
5056 || exit 1
5058 @endif bison
5060 .PHONY: maybe-html-bison html-bison
5061 maybe-html-bison:
5062 @if bison
5063 maybe-html-bison: html-bison
5065 html-bison: \
5066 configure-bison
5067 @[ -f ./bison/Makefile ] || exit 0; \
5068 r=`${PWD_COMMAND}`; export r; \
5069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5070 $(SET_LIB_PATH) \
5071 $(HOST_EXPORTS) \
5072 for flag in $(EXTRA_HOST_FLAGS) ; do \
5073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5074 done; \
5075 echo "Doing html in bison" ; \
5076 (cd bison && \
5077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5079 "RANLIB=$${RANLIB}" \
5080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5081 html) \
5082 || exit 1
5084 @endif bison
5086 .PHONY: maybe-TAGS-bison TAGS-bison
5087 maybe-TAGS-bison:
5088 @if bison
5089 maybe-TAGS-bison: TAGS-bison
5091 TAGS-bison: \
5092 configure-bison
5093 @[ -f ./bison/Makefile ] || exit 0; \
5094 r=`${PWD_COMMAND}`; export r; \
5095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5096 $(SET_LIB_PATH) \
5097 $(HOST_EXPORTS) \
5098 for flag in $(EXTRA_HOST_FLAGS) ; do \
5099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5100 done; \
5101 echo "Doing TAGS in bison" ; \
5102 (cd bison && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5105 "RANLIB=$${RANLIB}" \
5106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5107 TAGS) \
5108 || exit 1
5110 @endif bison
5112 .PHONY: maybe-install-info-bison install-info-bison
5113 maybe-install-info-bison:
5114 @if bison
5115 maybe-install-info-bison: install-info-bison
5117 install-info-bison: \
5118 configure-bison \
5119 info-bison
5120 @[ -f ./bison/Makefile ] || exit 0; \
5121 r=`${PWD_COMMAND}`; export r; \
5122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123 $(SET_LIB_PATH) \
5124 $(HOST_EXPORTS) \
5125 for flag in $(EXTRA_HOST_FLAGS) ; do \
5126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5127 done; \
5128 echo "Doing install-info in bison" ; \
5129 (cd bison && \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5132 "RANLIB=$${RANLIB}" \
5133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5134 install-info) \
5135 || exit 1
5137 @endif bison
5139 .PHONY: maybe-installcheck-bison installcheck-bison
5140 maybe-installcheck-bison:
5141 @if bison
5142 maybe-installcheck-bison: installcheck-bison
5144 installcheck-bison: \
5145 configure-bison
5146 @[ -f ./bison/Makefile ] || exit 0; \
5147 r=`${PWD_COMMAND}`; export r; \
5148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5149 $(SET_LIB_PATH) \
5150 $(HOST_EXPORTS) \
5151 for flag in $(EXTRA_HOST_FLAGS) ; do \
5152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5153 done; \
5154 echo "Doing installcheck in bison" ; \
5155 (cd bison && \
5156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5158 "RANLIB=$${RANLIB}" \
5159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5160 installcheck) \
5161 || exit 1
5163 @endif bison
5165 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5166 maybe-mostlyclean-bison:
5167 @if bison
5168 maybe-mostlyclean-bison: mostlyclean-bison
5170 mostlyclean-bison:
5171 @[ -f ./bison/Makefile ] || exit 0; \
5172 r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 $(SET_LIB_PATH) \
5175 $(HOST_EXPORTS) \
5176 for flag in $(EXTRA_HOST_FLAGS) ; do \
5177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 done; \
5179 echo "Doing mostlyclean in bison" ; \
5180 (cd bison && \
5181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5183 "RANLIB=$${RANLIB}" \
5184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5185 mostlyclean) \
5186 || exit 1
5188 @endif bison
5190 .PHONY: maybe-clean-bison clean-bison
5191 maybe-clean-bison:
5192 @if bison
5193 maybe-clean-bison: clean-bison
5195 clean-bison:
5196 @[ -f ./bison/Makefile ] || exit 0; \
5197 r=`${PWD_COMMAND}`; export r; \
5198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5199 $(SET_LIB_PATH) \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing clean in bison" ; \
5205 (cd bison && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5210 clean) \
5211 || exit 1
5213 @endif bison
5215 .PHONY: maybe-distclean-bison distclean-bison
5216 maybe-distclean-bison:
5217 @if bison
5218 maybe-distclean-bison: distclean-bison
5220 distclean-bison:
5221 @[ -f ./bison/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(SET_LIB_PATH) \
5225 $(HOST_EXPORTS) \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 done; \
5229 echo "Doing distclean in bison" ; \
5230 (cd bison && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5235 distclean) \
5236 || exit 1
5238 @endif bison
5240 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5241 maybe-maintainer-clean-bison:
5242 @if bison
5243 maybe-maintainer-clean-bison: maintainer-clean-bison
5245 maintainer-clean-bison:
5246 @[ -f ./bison/Makefile ] || exit 0; \
5247 r=`${PWD_COMMAND}`; export r; \
5248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5249 $(SET_LIB_PATH) \
5250 $(HOST_EXPORTS) \
5251 for flag in $(EXTRA_HOST_FLAGS) ; do \
5252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5253 done; \
5254 echo "Doing maintainer-clean in bison" ; \
5255 (cd bison && \
5256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5258 "RANLIB=$${RANLIB}" \
5259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5260 maintainer-clean) \
5261 || exit 1
5263 @endif bison
5266 .PHONY: configure-byacc maybe-configure-byacc
5267 maybe-configure-byacc:
5268 @if byacc
5269 maybe-configure-byacc: configure-byacc
5270 configure-byacc:
5271 @test ! -f byacc/Makefile || exit 0; \
5272 [ -d byacc ] || mkdir byacc; \
5273 r=`${PWD_COMMAND}`; export r; \
5274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275 $(HOST_EXPORTS) \
5276 echo Configuring in byacc; \
5277 cd byacc || exit 1; \
5278 case $(srcdir) in \
5279 \.) \
5280 srcdiroption="--srcdir=."; \
5281 libsrcdir=".";; \
5282 /* | [A-Za-z]:[\\/]*) \
5283 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5284 libsrcdir="$$s/byacc";; \
5285 *) \
5286 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5287 libsrcdir="$$s/byacc";; \
5288 esac; \
5289 $(SHELL) $${libsrcdir}/configure \
5290 $(HOST_CONFIGARGS) $${srcdiroption} \
5291 || exit 1
5292 @endif byacc
5294 .PHONY: all-byacc maybe-all-byacc
5295 maybe-all-byacc:
5296 @if byacc
5297 TARGET-byacc=all
5298 maybe-all-byacc: all-byacc
5299 all-byacc: configure-byacc
5300 @r=`${PWD_COMMAND}`; export r; \
5301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5302 $(SET_LIB_PATH) \
5303 $(HOST_EXPORTS) \
5304 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5305 $(TARGET-byacc))
5306 @endif byacc
5308 .PHONY: check-byacc maybe-check-byacc
5309 maybe-check-byacc:
5310 @if byacc
5311 maybe-check-byacc: check-byacc
5313 # This module is only tested in a native toolchain.
5314 check-byacc:
5315 @if [ '$(host)' = '$(target)' ] ; then \
5316 r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 $(SET_LIB_PATH) \
5319 $(HOST_EXPORTS) \
5320 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5323 @endif byacc
5325 .PHONY: install-byacc maybe-install-byacc
5326 maybe-install-byacc:
5327 @if byacc
5328 maybe-install-byacc: install-byacc
5330 install-byacc: installdirs
5331 @r=`${PWD_COMMAND}`; export r; \
5332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5333 $(SET_LIB_PATH) \
5334 $(HOST_EXPORTS) \
5335 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5337 @endif byacc
5339 # Other targets (info, dvi, etc.)
5341 .PHONY: maybe-info-byacc info-byacc
5342 maybe-info-byacc:
5343 @if byacc
5344 maybe-info-byacc: info-byacc
5346 info-byacc: \
5347 configure-byacc
5348 @[ -f ./byacc/Makefile ] || exit 0; \
5349 r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 $(SET_LIB_PATH) \
5352 $(HOST_EXPORTS) \
5353 for flag in $(EXTRA_HOST_FLAGS) ; do \
5354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5355 done; \
5356 echo "Doing info in byacc" ; \
5357 (cd byacc && \
5358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5360 "RANLIB=$${RANLIB}" \
5361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5362 info) \
5363 || exit 1
5365 @endif byacc
5367 .PHONY: maybe-dvi-byacc dvi-byacc
5368 maybe-dvi-byacc:
5369 @if byacc
5370 maybe-dvi-byacc: dvi-byacc
5372 dvi-byacc: \
5373 configure-byacc
5374 @[ -f ./byacc/Makefile ] || exit 0; \
5375 r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 $(SET_LIB_PATH) \
5378 $(HOST_EXPORTS) \
5379 for flag in $(EXTRA_HOST_FLAGS) ; do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381 done; \
5382 echo "Doing dvi in byacc" ; \
5383 (cd byacc && \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5388 dvi) \
5389 || exit 1
5391 @endif byacc
5393 .PHONY: maybe-html-byacc html-byacc
5394 maybe-html-byacc:
5395 @if byacc
5396 maybe-html-byacc: html-byacc
5398 html-byacc: \
5399 configure-byacc
5400 @[ -f ./byacc/Makefile ] || exit 0; \
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5403 $(SET_LIB_PATH) \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing html in byacc" ; \
5409 (cd byacc && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414 html) \
5415 || exit 1
5417 @endif byacc
5419 .PHONY: maybe-TAGS-byacc TAGS-byacc
5420 maybe-TAGS-byacc:
5421 @if byacc
5422 maybe-TAGS-byacc: TAGS-byacc
5424 TAGS-byacc: \
5425 configure-byacc
5426 @[ -f ./byacc/Makefile ] || exit 0; \
5427 r=`${PWD_COMMAND}`; export r; \
5428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5429 $(SET_LIB_PATH) \
5430 $(HOST_EXPORTS) \
5431 for flag in $(EXTRA_HOST_FLAGS) ; do \
5432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5433 done; \
5434 echo "Doing TAGS in byacc" ; \
5435 (cd byacc && \
5436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5438 "RANLIB=$${RANLIB}" \
5439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5440 TAGS) \
5441 || exit 1
5443 @endif byacc
5445 .PHONY: maybe-install-info-byacc install-info-byacc
5446 maybe-install-info-byacc:
5447 @if byacc
5448 maybe-install-info-byacc: install-info-byacc
5450 install-info-byacc: \
5451 configure-byacc \
5452 info-byacc
5453 @[ -f ./byacc/Makefile ] || exit 0; \
5454 r=`${PWD_COMMAND}`; export r; \
5455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5456 $(SET_LIB_PATH) \
5457 $(HOST_EXPORTS) \
5458 for flag in $(EXTRA_HOST_FLAGS) ; do \
5459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5460 done; \
5461 echo "Doing install-info in byacc" ; \
5462 (cd byacc && \
5463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5465 "RANLIB=$${RANLIB}" \
5466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5467 install-info) \
5468 || exit 1
5470 @endif byacc
5472 .PHONY: maybe-installcheck-byacc installcheck-byacc
5473 maybe-installcheck-byacc:
5474 @if byacc
5475 maybe-installcheck-byacc: installcheck-byacc
5477 installcheck-byacc: \
5478 configure-byacc
5479 @[ -f ./byacc/Makefile ] || exit 0; \
5480 r=`${PWD_COMMAND}`; export r; \
5481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5482 $(SET_LIB_PATH) \
5483 $(HOST_EXPORTS) \
5484 for flag in $(EXTRA_HOST_FLAGS) ; do \
5485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5486 done; \
5487 echo "Doing installcheck in byacc" ; \
5488 (cd byacc && \
5489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5491 "RANLIB=$${RANLIB}" \
5492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5493 installcheck) \
5494 || exit 1
5496 @endif byacc
5498 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5499 maybe-mostlyclean-byacc:
5500 @if byacc
5501 maybe-mostlyclean-byacc: mostlyclean-byacc
5503 mostlyclean-byacc:
5504 @[ -f ./byacc/Makefile ] || exit 0; \
5505 r=`${PWD_COMMAND}`; export r; \
5506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5507 $(SET_LIB_PATH) \
5508 $(HOST_EXPORTS) \
5509 for flag in $(EXTRA_HOST_FLAGS) ; do \
5510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5511 done; \
5512 echo "Doing mostlyclean in byacc" ; \
5513 (cd byacc && \
5514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5516 "RANLIB=$${RANLIB}" \
5517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5518 mostlyclean) \
5519 || exit 1
5521 @endif byacc
5523 .PHONY: maybe-clean-byacc clean-byacc
5524 maybe-clean-byacc:
5525 @if byacc
5526 maybe-clean-byacc: clean-byacc
5528 clean-byacc:
5529 @[ -f ./byacc/Makefile ] || exit 0; \
5530 r=`${PWD_COMMAND}`; export r; \
5531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5532 $(SET_LIB_PATH) \
5533 $(HOST_EXPORTS) \
5534 for flag in $(EXTRA_HOST_FLAGS) ; do \
5535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5536 done; \
5537 echo "Doing clean in byacc" ; \
5538 (cd byacc && \
5539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5541 "RANLIB=$${RANLIB}" \
5542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5543 clean) \
5544 || exit 1
5546 @endif byacc
5548 .PHONY: maybe-distclean-byacc distclean-byacc
5549 maybe-distclean-byacc:
5550 @if byacc
5551 maybe-distclean-byacc: distclean-byacc
5553 distclean-byacc:
5554 @[ -f ./byacc/Makefile ] || exit 0; \
5555 r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 $(SET_LIB_PATH) \
5558 $(HOST_EXPORTS) \
5559 for flag in $(EXTRA_HOST_FLAGS) ; do \
5560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5561 done; \
5562 echo "Doing distclean in byacc" ; \
5563 (cd byacc && \
5564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5566 "RANLIB=$${RANLIB}" \
5567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5568 distclean) \
5569 || exit 1
5571 @endif byacc
5573 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5574 maybe-maintainer-clean-byacc:
5575 @if byacc
5576 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5578 maintainer-clean-byacc:
5579 @[ -f ./byacc/Makefile ] || exit 0; \
5580 r=`${PWD_COMMAND}`; export r; \
5581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5582 $(SET_LIB_PATH) \
5583 $(HOST_EXPORTS) \
5584 for flag in $(EXTRA_HOST_FLAGS) ; do \
5585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5586 done; \
5587 echo "Doing maintainer-clean in byacc" ; \
5588 (cd byacc && \
5589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5591 "RANLIB=$${RANLIB}" \
5592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5593 maintainer-clean) \
5594 || exit 1
5596 @endif byacc
5599 .PHONY: configure-bzip2 maybe-configure-bzip2
5600 maybe-configure-bzip2:
5601 @if bzip2
5602 maybe-configure-bzip2: configure-bzip2
5603 configure-bzip2:
5604 @test ! -f bzip2/Makefile || exit 0; \
5605 [ -d bzip2 ] || mkdir bzip2; \
5606 r=`${PWD_COMMAND}`; export r; \
5607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5608 $(HOST_EXPORTS) \
5609 echo Configuring in bzip2; \
5610 cd bzip2 || exit 1; \
5611 case $(srcdir) in \
5612 \.) \
5613 srcdiroption="--srcdir=."; \
5614 libsrcdir=".";; \
5615 /* | [A-Za-z]:[\\/]*) \
5616 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5617 libsrcdir="$$s/bzip2";; \
5618 *) \
5619 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5620 libsrcdir="$$s/bzip2";; \
5621 esac; \
5622 $(SHELL) $${libsrcdir}/configure \
5623 $(HOST_CONFIGARGS) $${srcdiroption} \
5624 || exit 1
5625 @endif bzip2
5627 .PHONY: all-bzip2 maybe-all-bzip2
5628 maybe-all-bzip2:
5629 @if bzip2
5630 TARGET-bzip2=all
5631 maybe-all-bzip2: all-bzip2
5632 all-bzip2: configure-bzip2
5633 @r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5635 $(SET_LIB_PATH) \
5636 $(HOST_EXPORTS) \
5637 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5638 $(TARGET-bzip2))
5639 @endif bzip2
5641 .PHONY: check-bzip2 maybe-check-bzip2
5642 maybe-check-bzip2:
5643 @if bzip2
5644 maybe-check-bzip2: check-bzip2
5646 check-bzip2:
5647 @r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 $(SET_LIB_PATH) \
5650 $(HOST_EXPORTS) \
5651 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5653 @endif bzip2
5655 .PHONY: install-bzip2 maybe-install-bzip2
5656 maybe-install-bzip2:
5657 @if bzip2
5658 maybe-install-bzip2: install-bzip2
5660 install-bzip2: installdirs
5661 @r=`${PWD_COMMAND}`; export r; \
5662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5663 $(SET_LIB_PATH) \
5664 $(HOST_EXPORTS) \
5665 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5667 @endif bzip2
5669 # Other targets (info, dvi, etc.)
5671 .PHONY: maybe-info-bzip2 info-bzip2
5672 maybe-info-bzip2:
5673 @if bzip2
5674 maybe-info-bzip2: info-bzip2
5676 info-bzip2: \
5677 configure-bzip2
5678 @[ -f ./bzip2/Makefile ] || exit 0; \
5679 r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5681 $(SET_LIB_PATH) \
5682 $(HOST_EXPORTS) \
5683 for flag in $(EXTRA_HOST_FLAGS) ; do \
5684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5685 done; \
5686 echo "Doing info in bzip2" ; \
5687 (cd bzip2 && \
5688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5690 "RANLIB=$${RANLIB}" \
5691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5692 info) \
5693 || exit 1
5695 @endif bzip2
5697 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5698 maybe-dvi-bzip2:
5699 @if bzip2
5700 maybe-dvi-bzip2: dvi-bzip2
5702 dvi-bzip2: \
5703 configure-bzip2
5704 @[ -f ./bzip2/Makefile ] || exit 0; \
5705 r=`${PWD_COMMAND}`; export r; \
5706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5707 $(SET_LIB_PATH) \
5708 $(HOST_EXPORTS) \
5709 for flag in $(EXTRA_HOST_FLAGS) ; do \
5710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5711 done; \
5712 echo "Doing dvi in bzip2" ; \
5713 (cd bzip2 && \
5714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5716 "RANLIB=$${RANLIB}" \
5717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5718 dvi) \
5719 || exit 1
5721 @endif bzip2
5723 .PHONY: maybe-html-bzip2 html-bzip2
5724 maybe-html-bzip2:
5725 @if bzip2
5726 maybe-html-bzip2: html-bzip2
5728 html-bzip2: \
5729 configure-bzip2
5730 @[ -f ./bzip2/Makefile ] || exit 0; \
5731 r=`${PWD_COMMAND}`; export r; \
5732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 $(SET_LIB_PATH) \
5734 $(HOST_EXPORTS) \
5735 for flag in $(EXTRA_HOST_FLAGS) ; do \
5736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5737 done; \
5738 echo "Doing html in bzip2" ; \
5739 (cd bzip2 && \
5740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5742 "RANLIB=$${RANLIB}" \
5743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5744 html) \
5745 || exit 1
5747 @endif bzip2
5749 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5750 maybe-TAGS-bzip2:
5751 @if bzip2
5752 maybe-TAGS-bzip2: TAGS-bzip2
5754 TAGS-bzip2: \
5755 configure-bzip2
5756 @[ -f ./bzip2/Makefile ] || exit 0; \
5757 r=`${PWD_COMMAND}`; export r; \
5758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759 $(SET_LIB_PATH) \
5760 $(HOST_EXPORTS) \
5761 for flag in $(EXTRA_HOST_FLAGS) ; do \
5762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5763 done; \
5764 echo "Doing TAGS in bzip2" ; \
5765 (cd bzip2 && \
5766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5768 "RANLIB=$${RANLIB}" \
5769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5770 TAGS) \
5771 || exit 1
5773 @endif bzip2
5775 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5776 maybe-install-info-bzip2:
5777 @if bzip2
5778 maybe-install-info-bzip2: install-info-bzip2
5780 install-info-bzip2: \
5781 configure-bzip2 \
5782 info-bzip2
5783 @[ -f ./bzip2/Makefile ] || exit 0; \
5784 r=`${PWD_COMMAND}`; export r; \
5785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5786 $(SET_LIB_PATH) \
5787 $(HOST_EXPORTS) \
5788 for flag in $(EXTRA_HOST_FLAGS) ; do \
5789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5790 done; \
5791 echo "Doing install-info in bzip2" ; \
5792 (cd bzip2 && \
5793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795 "RANLIB=$${RANLIB}" \
5796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5797 install-info) \
5798 || exit 1
5800 @endif bzip2
5802 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5803 maybe-installcheck-bzip2:
5804 @if bzip2
5805 maybe-installcheck-bzip2: installcheck-bzip2
5807 installcheck-bzip2: \
5808 configure-bzip2
5809 @[ -f ./bzip2/Makefile ] || exit 0; \
5810 r=`${PWD_COMMAND}`; export r; \
5811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5812 $(SET_LIB_PATH) \
5813 $(HOST_EXPORTS) \
5814 for flag in $(EXTRA_HOST_FLAGS) ; do \
5815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5816 done; \
5817 echo "Doing installcheck in bzip2" ; \
5818 (cd bzip2 && \
5819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5821 "RANLIB=$${RANLIB}" \
5822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 installcheck) \
5824 || exit 1
5826 @endif bzip2
5828 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5829 maybe-mostlyclean-bzip2:
5830 @if bzip2
5831 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5833 mostlyclean-bzip2:
5834 @[ -f ./bzip2/Makefile ] || exit 0; \
5835 r=`${PWD_COMMAND}`; export r; \
5836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5837 $(SET_LIB_PATH) \
5838 $(HOST_EXPORTS) \
5839 for flag in $(EXTRA_HOST_FLAGS) ; do \
5840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5841 done; \
5842 echo "Doing mostlyclean in bzip2" ; \
5843 (cd bzip2 && \
5844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5846 "RANLIB=$${RANLIB}" \
5847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5848 mostlyclean) \
5849 || exit 1
5851 @endif bzip2
5853 .PHONY: maybe-clean-bzip2 clean-bzip2
5854 maybe-clean-bzip2:
5855 @if bzip2
5856 maybe-clean-bzip2: clean-bzip2
5858 clean-bzip2:
5859 @[ -f ./bzip2/Makefile ] || exit 0; \
5860 r=`${PWD_COMMAND}`; export r; \
5861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5862 $(SET_LIB_PATH) \
5863 $(HOST_EXPORTS) \
5864 for flag in $(EXTRA_HOST_FLAGS) ; do \
5865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5866 done; \
5867 echo "Doing clean in bzip2" ; \
5868 (cd bzip2 && \
5869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5871 "RANLIB=$${RANLIB}" \
5872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5873 clean) \
5874 || exit 1
5876 @endif bzip2
5878 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5879 maybe-distclean-bzip2:
5880 @if bzip2
5881 maybe-distclean-bzip2: distclean-bzip2
5883 distclean-bzip2:
5884 @[ -f ./bzip2/Makefile ] || exit 0; \
5885 r=`${PWD_COMMAND}`; export r; \
5886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5887 $(SET_LIB_PATH) \
5888 $(HOST_EXPORTS) \
5889 for flag in $(EXTRA_HOST_FLAGS) ; do \
5890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5891 done; \
5892 echo "Doing distclean in bzip2" ; \
5893 (cd bzip2 && \
5894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5896 "RANLIB=$${RANLIB}" \
5897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5898 distclean) \
5899 || exit 1
5901 @endif bzip2
5903 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5904 maybe-maintainer-clean-bzip2:
5905 @if bzip2
5906 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5908 maintainer-clean-bzip2:
5909 @[ -f ./bzip2/Makefile ] || exit 0; \
5910 r=`${PWD_COMMAND}`; export r; \
5911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5912 $(SET_LIB_PATH) \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing maintainer-clean in bzip2" ; \
5918 (cd bzip2 && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5923 maintainer-clean) \
5924 || exit 1
5926 @endif bzip2
5929 .PHONY: configure-dejagnu maybe-configure-dejagnu
5930 maybe-configure-dejagnu:
5931 @if dejagnu
5932 maybe-configure-dejagnu: configure-dejagnu
5933 configure-dejagnu:
5934 @test ! -f dejagnu/Makefile || exit 0; \
5935 [ -d dejagnu ] || mkdir dejagnu; \
5936 r=`${PWD_COMMAND}`; export r; \
5937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5938 $(HOST_EXPORTS) \
5939 echo Configuring in dejagnu; \
5940 cd dejagnu || exit 1; \
5941 case $(srcdir) in \
5942 \.) \
5943 srcdiroption="--srcdir=."; \
5944 libsrcdir=".";; \
5945 /* | [A-Za-z]:[\\/]*) \
5946 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5947 libsrcdir="$$s/dejagnu";; \
5948 *) \
5949 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5950 libsrcdir="$$s/dejagnu";; \
5951 esac; \
5952 $(SHELL) $${libsrcdir}/configure \
5953 $(HOST_CONFIGARGS) $${srcdiroption} \
5954 || exit 1
5955 @endif dejagnu
5957 .PHONY: all-dejagnu maybe-all-dejagnu
5958 maybe-all-dejagnu:
5959 @if dejagnu
5960 TARGET-dejagnu=all
5961 maybe-all-dejagnu: all-dejagnu
5962 all-dejagnu: configure-dejagnu
5963 @r=`${PWD_COMMAND}`; export r; \
5964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5965 $(SET_LIB_PATH) \
5966 $(HOST_EXPORTS) \
5967 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5968 $(TARGET-dejagnu))
5969 @endif dejagnu
5971 .PHONY: check-dejagnu maybe-check-dejagnu
5972 maybe-check-dejagnu:
5973 @if dejagnu
5974 maybe-check-dejagnu: check-dejagnu
5976 check-dejagnu:
5977 @r=`${PWD_COMMAND}`; export r; \
5978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5979 $(SET_LIB_PATH) \
5980 $(HOST_EXPORTS) \
5981 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5983 @endif dejagnu
5985 .PHONY: install-dejagnu maybe-install-dejagnu
5986 maybe-install-dejagnu:
5987 @if dejagnu
5988 maybe-install-dejagnu: install-dejagnu
5990 install-dejagnu: installdirs
5991 @r=`${PWD_COMMAND}`; export r; \
5992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5993 $(SET_LIB_PATH) \
5994 $(HOST_EXPORTS) \
5995 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5997 @endif dejagnu
5999 # Other targets (info, dvi, etc.)
6001 .PHONY: maybe-info-dejagnu info-dejagnu
6002 maybe-info-dejagnu:
6003 @if dejagnu
6004 maybe-info-dejagnu: info-dejagnu
6006 info-dejagnu: \
6007 configure-dejagnu
6008 @[ -f ./dejagnu/Makefile ] || exit 0; \
6009 r=`${PWD_COMMAND}`; export r; \
6010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6011 $(SET_LIB_PATH) \
6012 $(HOST_EXPORTS) \
6013 for flag in $(EXTRA_HOST_FLAGS) ; do \
6014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6015 done; \
6016 echo "Doing info in dejagnu" ; \
6017 (cd dejagnu && \
6018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6020 "RANLIB=$${RANLIB}" \
6021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6022 info) \
6023 || exit 1
6025 @endif dejagnu
6027 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6028 maybe-dvi-dejagnu:
6029 @if dejagnu
6030 maybe-dvi-dejagnu: dvi-dejagnu
6032 dvi-dejagnu: \
6033 configure-dejagnu
6034 @[ -f ./dejagnu/Makefile ] || exit 0; \
6035 r=`${PWD_COMMAND}`; export r; \
6036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6037 $(SET_LIB_PATH) \
6038 $(HOST_EXPORTS) \
6039 for flag in $(EXTRA_HOST_FLAGS) ; do \
6040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6041 done; \
6042 echo "Doing dvi in dejagnu" ; \
6043 (cd dejagnu && \
6044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6046 "RANLIB=$${RANLIB}" \
6047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6048 dvi) \
6049 || exit 1
6051 @endif dejagnu
6053 .PHONY: maybe-html-dejagnu html-dejagnu
6054 maybe-html-dejagnu:
6055 @if dejagnu
6056 maybe-html-dejagnu: html-dejagnu
6058 html-dejagnu: \
6059 configure-dejagnu
6060 @[ -f ./dejagnu/Makefile ] || exit 0; \
6061 r=`${PWD_COMMAND}`; export r; \
6062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6063 $(SET_LIB_PATH) \
6064 $(HOST_EXPORTS) \
6065 for flag in $(EXTRA_HOST_FLAGS) ; do \
6066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6067 done; \
6068 echo "Doing html in dejagnu" ; \
6069 (cd dejagnu && \
6070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6072 "RANLIB=$${RANLIB}" \
6073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6074 html) \
6075 || exit 1
6077 @endif dejagnu
6079 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6080 maybe-TAGS-dejagnu:
6081 @if dejagnu
6082 maybe-TAGS-dejagnu: TAGS-dejagnu
6084 TAGS-dejagnu: \
6085 configure-dejagnu
6086 @[ -f ./dejagnu/Makefile ] || exit 0; \
6087 r=`${PWD_COMMAND}`; export r; \
6088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6089 $(SET_LIB_PATH) \
6090 $(HOST_EXPORTS) \
6091 for flag in $(EXTRA_HOST_FLAGS) ; do \
6092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6093 done; \
6094 echo "Doing TAGS in dejagnu" ; \
6095 (cd dejagnu && \
6096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6098 "RANLIB=$${RANLIB}" \
6099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6100 TAGS) \
6101 || exit 1
6103 @endif dejagnu
6105 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6106 maybe-install-info-dejagnu:
6107 @if dejagnu
6108 maybe-install-info-dejagnu: install-info-dejagnu
6110 install-info-dejagnu: \
6111 configure-dejagnu \
6112 info-dejagnu
6113 @[ -f ./dejagnu/Makefile ] || exit 0; \
6114 r=`${PWD_COMMAND}`; export r; \
6115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6116 $(SET_LIB_PATH) \
6117 $(HOST_EXPORTS) \
6118 for flag in $(EXTRA_HOST_FLAGS) ; do \
6119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6120 done; \
6121 echo "Doing install-info in dejagnu" ; \
6122 (cd dejagnu && \
6123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6125 "RANLIB=$${RANLIB}" \
6126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6127 install-info) \
6128 || exit 1
6130 @endif dejagnu
6132 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6133 maybe-installcheck-dejagnu:
6134 @if dejagnu
6135 maybe-installcheck-dejagnu: installcheck-dejagnu
6137 installcheck-dejagnu: \
6138 configure-dejagnu
6139 @[ -f ./dejagnu/Makefile ] || exit 0; \
6140 r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142 $(SET_LIB_PATH) \
6143 $(HOST_EXPORTS) \
6144 for flag in $(EXTRA_HOST_FLAGS) ; do \
6145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6146 done; \
6147 echo "Doing installcheck in dejagnu" ; \
6148 (cd dejagnu && \
6149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6151 "RANLIB=$${RANLIB}" \
6152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6153 installcheck) \
6154 || exit 1
6156 @endif dejagnu
6158 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6159 maybe-mostlyclean-dejagnu:
6160 @if dejagnu
6161 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6163 mostlyclean-dejagnu:
6164 @[ -f ./dejagnu/Makefile ] || exit 0; \
6165 r=`${PWD_COMMAND}`; export r; \
6166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6167 $(SET_LIB_PATH) \
6168 $(HOST_EXPORTS) \
6169 for flag in $(EXTRA_HOST_FLAGS) ; do \
6170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6171 done; \
6172 echo "Doing mostlyclean in dejagnu" ; \
6173 (cd dejagnu && \
6174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6176 "RANLIB=$${RANLIB}" \
6177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6178 mostlyclean) \
6179 || exit 1
6181 @endif dejagnu
6183 .PHONY: maybe-clean-dejagnu clean-dejagnu
6184 maybe-clean-dejagnu:
6185 @if dejagnu
6186 maybe-clean-dejagnu: clean-dejagnu
6188 clean-dejagnu:
6189 @[ -f ./dejagnu/Makefile ] || exit 0; \
6190 r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(SET_LIB_PATH) \
6193 $(HOST_EXPORTS) \
6194 for flag in $(EXTRA_HOST_FLAGS) ; do \
6195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6196 done; \
6197 echo "Doing clean in dejagnu" ; \
6198 (cd dejagnu && \
6199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6201 "RANLIB=$${RANLIB}" \
6202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6203 clean) \
6204 || exit 1
6206 @endif dejagnu
6208 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6209 maybe-distclean-dejagnu:
6210 @if dejagnu
6211 maybe-distclean-dejagnu: distclean-dejagnu
6213 distclean-dejagnu:
6214 @[ -f ./dejagnu/Makefile ] || exit 0; \
6215 r=`${PWD_COMMAND}`; export r; \
6216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 $(SET_LIB_PATH) \
6218 $(HOST_EXPORTS) \
6219 for flag in $(EXTRA_HOST_FLAGS) ; do \
6220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6221 done; \
6222 echo "Doing distclean in dejagnu" ; \
6223 (cd dejagnu && \
6224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6226 "RANLIB=$${RANLIB}" \
6227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6228 distclean) \
6229 || exit 1
6231 @endif dejagnu
6233 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6234 maybe-maintainer-clean-dejagnu:
6235 @if dejagnu
6236 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6238 maintainer-clean-dejagnu:
6239 @[ -f ./dejagnu/Makefile ] || exit 0; \
6240 r=`${PWD_COMMAND}`; export r; \
6241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6242 $(SET_LIB_PATH) \
6243 $(HOST_EXPORTS) \
6244 for flag in $(EXTRA_HOST_FLAGS) ; do \
6245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 done; \
6247 echo "Doing maintainer-clean in dejagnu" ; \
6248 (cd dejagnu && \
6249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6251 "RANLIB=$${RANLIB}" \
6252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6253 maintainer-clean) \
6254 || exit 1
6256 @endif dejagnu
6259 .PHONY: configure-diff maybe-configure-diff
6260 maybe-configure-diff:
6261 @if diff
6262 maybe-configure-diff: configure-diff
6263 configure-diff:
6264 @test ! -f diff/Makefile || exit 0; \
6265 [ -d diff ] || mkdir diff; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 echo Configuring in diff; \
6270 cd diff || exit 1; \
6271 case $(srcdir) in \
6272 \.) \
6273 srcdiroption="--srcdir=."; \
6274 libsrcdir=".";; \
6275 /* | [A-Za-z]:[\\/]*) \
6276 srcdiroption="--srcdir=$(srcdir)/diff"; \
6277 libsrcdir="$$s/diff";; \
6278 *) \
6279 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6280 libsrcdir="$$s/diff";; \
6281 esac; \
6282 $(SHELL) $${libsrcdir}/configure \
6283 $(HOST_CONFIGARGS) $${srcdiroption} \
6284 || exit 1
6285 @endif diff
6287 .PHONY: all-diff maybe-all-diff
6288 maybe-all-diff:
6289 @if diff
6290 TARGET-diff=all
6291 maybe-all-diff: all-diff
6292 all-diff: configure-diff
6293 @r=`${PWD_COMMAND}`; export r; \
6294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295 $(SET_LIB_PATH) \
6296 $(HOST_EXPORTS) \
6297 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6298 $(TARGET-diff))
6299 @endif diff
6301 .PHONY: check-diff maybe-check-diff
6302 maybe-check-diff:
6303 @if diff
6304 maybe-check-diff: check-diff
6306 check-diff:
6307 @r=`${PWD_COMMAND}`; export r; \
6308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6309 $(SET_LIB_PATH) \
6310 $(HOST_EXPORTS) \
6311 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6313 @endif diff
6315 .PHONY: install-diff maybe-install-diff
6316 maybe-install-diff:
6317 @if diff
6318 maybe-install-diff: install-diff
6320 install-diff: installdirs
6321 @r=`${PWD_COMMAND}`; export r; \
6322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6323 $(SET_LIB_PATH) \
6324 $(HOST_EXPORTS) \
6325 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6327 @endif diff
6329 # Other targets (info, dvi, etc.)
6331 .PHONY: maybe-info-diff info-diff
6332 maybe-info-diff:
6333 @if diff
6334 maybe-info-diff: info-diff
6336 info-diff: \
6337 configure-diff
6338 @[ -f ./diff/Makefile ] || exit 0; \
6339 r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6341 $(SET_LIB_PATH) \
6342 $(HOST_EXPORTS) \
6343 for flag in $(EXTRA_HOST_FLAGS) ; do \
6344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6345 done; \
6346 echo "Doing info in diff" ; \
6347 (cd diff && \
6348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6350 "RANLIB=$${RANLIB}" \
6351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6352 info) \
6353 || exit 1
6355 @endif diff
6357 .PHONY: maybe-dvi-diff dvi-diff
6358 maybe-dvi-diff:
6359 @if diff
6360 maybe-dvi-diff: dvi-diff
6362 dvi-diff: \
6363 configure-diff
6364 @[ -f ./diff/Makefile ] || exit 0; \
6365 r=`${PWD_COMMAND}`; export r; \
6366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6367 $(SET_LIB_PATH) \
6368 $(HOST_EXPORTS) \
6369 for flag in $(EXTRA_HOST_FLAGS) ; do \
6370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6371 done; \
6372 echo "Doing dvi in diff" ; \
6373 (cd diff && \
6374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6376 "RANLIB=$${RANLIB}" \
6377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6378 dvi) \
6379 || exit 1
6381 @endif diff
6383 .PHONY: maybe-html-diff html-diff
6384 maybe-html-diff:
6385 @if diff
6386 maybe-html-diff: html-diff
6388 html-diff: \
6389 configure-diff
6390 @[ -f ./diff/Makefile ] || exit 0; \
6391 r=`${PWD_COMMAND}`; export r; \
6392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6393 $(SET_LIB_PATH) \
6394 $(HOST_EXPORTS) \
6395 for flag in $(EXTRA_HOST_FLAGS) ; do \
6396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6397 done; \
6398 echo "Doing html in diff" ; \
6399 (cd diff && \
6400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6402 "RANLIB=$${RANLIB}" \
6403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6404 html) \
6405 || exit 1
6407 @endif diff
6409 .PHONY: maybe-TAGS-diff TAGS-diff
6410 maybe-TAGS-diff:
6411 @if diff
6412 maybe-TAGS-diff: TAGS-diff
6414 TAGS-diff: \
6415 configure-diff
6416 @[ -f ./diff/Makefile ] || exit 0; \
6417 r=`${PWD_COMMAND}`; export r; \
6418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6419 $(SET_LIB_PATH) \
6420 $(HOST_EXPORTS) \
6421 for flag in $(EXTRA_HOST_FLAGS) ; do \
6422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6423 done; \
6424 echo "Doing TAGS in diff" ; \
6425 (cd diff && \
6426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6428 "RANLIB=$${RANLIB}" \
6429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6430 TAGS) \
6431 || exit 1
6433 @endif diff
6435 .PHONY: maybe-install-info-diff install-info-diff
6436 maybe-install-info-diff:
6437 @if diff
6438 maybe-install-info-diff: install-info-diff
6440 install-info-diff: \
6441 configure-diff \
6442 info-diff
6443 @[ -f ./diff/Makefile ] || exit 0; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(SET_LIB_PATH) \
6447 $(HOST_EXPORTS) \
6448 for flag in $(EXTRA_HOST_FLAGS) ; do \
6449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6450 done; \
6451 echo "Doing install-info in diff" ; \
6452 (cd diff && \
6453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6455 "RANLIB=$${RANLIB}" \
6456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6457 install-info) \
6458 || exit 1
6460 @endif diff
6462 .PHONY: maybe-installcheck-diff installcheck-diff
6463 maybe-installcheck-diff:
6464 @if diff
6465 maybe-installcheck-diff: installcheck-diff
6467 installcheck-diff: \
6468 configure-diff
6469 @[ -f ./diff/Makefile ] || exit 0; \
6470 r=`${PWD_COMMAND}`; export r; \
6471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6472 $(SET_LIB_PATH) \
6473 $(HOST_EXPORTS) \
6474 for flag in $(EXTRA_HOST_FLAGS) ; do \
6475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6476 done; \
6477 echo "Doing installcheck in diff" ; \
6478 (cd diff && \
6479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6481 "RANLIB=$${RANLIB}" \
6482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6483 installcheck) \
6484 || exit 1
6486 @endif diff
6488 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6489 maybe-mostlyclean-diff:
6490 @if diff
6491 maybe-mostlyclean-diff: mostlyclean-diff
6493 mostlyclean-diff:
6494 @[ -f ./diff/Makefile ] || exit 0; \
6495 r=`${PWD_COMMAND}`; export r; \
6496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6497 $(SET_LIB_PATH) \
6498 $(HOST_EXPORTS) \
6499 for flag in $(EXTRA_HOST_FLAGS) ; do \
6500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6501 done; \
6502 echo "Doing mostlyclean in diff" ; \
6503 (cd diff && \
6504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6506 "RANLIB=$${RANLIB}" \
6507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6508 mostlyclean) \
6509 || exit 1
6511 @endif diff
6513 .PHONY: maybe-clean-diff clean-diff
6514 maybe-clean-diff:
6515 @if diff
6516 maybe-clean-diff: clean-diff
6518 clean-diff:
6519 @[ -f ./diff/Makefile ] || exit 0; \
6520 r=`${PWD_COMMAND}`; export r; \
6521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6522 $(SET_LIB_PATH) \
6523 $(HOST_EXPORTS) \
6524 for flag in $(EXTRA_HOST_FLAGS) ; do \
6525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6526 done; \
6527 echo "Doing clean in diff" ; \
6528 (cd diff && \
6529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6531 "RANLIB=$${RANLIB}" \
6532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6533 clean) \
6534 || exit 1
6536 @endif diff
6538 .PHONY: maybe-distclean-diff distclean-diff
6539 maybe-distclean-diff:
6540 @if diff
6541 maybe-distclean-diff: distclean-diff
6543 distclean-diff:
6544 @[ -f ./diff/Makefile ] || exit 0; \
6545 r=`${PWD_COMMAND}`; export r; \
6546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6547 $(SET_LIB_PATH) \
6548 $(HOST_EXPORTS) \
6549 for flag in $(EXTRA_HOST_FLAGS) ; do \
6550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6551 done; \
6552 echo "Doing distclean in diff" ; \
6553 (cd diff && \
6554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6556 "RANLIB=$${RANLIB}" \
6557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6558 distclean) \
6559 || exit 1
6561 @endif diff
6563 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6564 maybe-maintainer-clean-diff:
6565 @if diff
6566 maybe-maintainer-clean-diff: maintainer-clean-diff
6568 maintainer-clean-diff:
6569 @[ -f ./diff/Makefile ] || exit 0; \
6570 r=`${PWD_COMMAND}`; export r; \
6571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 $(SET_LIB_PATH) \
6573 $(HOST_EXPORTS) \
6574 for flag in $(EXTRA_HOST_FLAGS) ; do \
6575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6576 done; \
6577 echo "Doing maintainer-clean in diff" ; \
6578 (cd diff && \
6579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6581 "RANLIB=$${RANLIB}" \
6582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6583 maintainer-clean) \
6584 || exit 1
6586 @endif diff
6589 .PHONY: configure-dosutils maybe-configure-dosutils
6590 maybe-configure-dosutils:
6591 @if dosutils
6592 maybe-configure-dosutils: configure-dosutils
6593 configure-dosutils:
6594 @test ! -f dosutils/Makefile || exit 0; \
6595 [ -d dosutils ] || mkdir dosutils; \
6596 r=`${PWD_COMMAND}`; export r; \
6597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6598 $(HOST_EXPORTS) \
6599 echo Configuring in dosutils; \
6600 cd dosutils || exit 1; \
6601 case $(srcdir) in \
6602 \.) \
6603 srcdiroption="--srcdir=."; \
6604 libsrcdir=".";; \
6605 /* | [A-Za-z]:[\\/]*) \
6606 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6607 libsrcdir="$$s/dosutils";; \
6608 *) \
6609 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6610 libsrcdir="$$s/dosutils";; \
6611 esac; \
6612 $(SHELL) $${libsrcdir}/configure \
6613 $(HOST_CONFIGARGS) $${srcdiroption} \
6614 || exit 1
6615 @endif dosutils
6617 .PHONY: all-dosutils maybe-all-dosutils
6618 maybe-all-dosutils:
6619 @if dosutils
6620 TARGET-dosutils=all
6621 maybe-all-dosutils: all-dosutils
6622 all-dosutils: configure-dosutils
6623 @r=`${PWD_COMMAND}`; export r; \
6624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6625 $(SET_LIB_PATH) \
6626 $(HOST_EXPORTS) \
6627 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6628 $(TARGET-dosutils))
6629 @endif dosutils
6631 .PHONY: check-dosutils maybe-check-dosutils
6632 maybe-check-dosutils:
6633 @if dosutils
6634 maybe-check-dosutils: check-dosutils
6636 check-dosutils:
6638 @endif dosutils
6640 .PHONY: install-dosutils maybe-install-dosutils
6641 maybe-install-dosutils:
6642 @if dosutils
6643 maybe-install-dosutils: install-dosutils
6645 install-dosutils: installdirs
6646 @r=`${PWD_COMMAND}`; export r; \
6647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6648 $(SET_LIB_PATH) \
6649 $(HOST_EXPORTS) \
6650 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6652 @endif dosutils
6654 # Other targets (info, dvi, etc.)
6656 .PHONY: maybe-info-dosutils info-dosutils
6657 maybe-info-dosutils:
6658 @if dosutils
6659 maybe-info-dosutils: info-dosutils
6661 info-dosutils: \
6662 configure-dosutils
6663 @[ -f ./dosutils/Makefile ] || exit 0; \
6664 r=`${PWD_COMMAND}`; export r; \
6665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6666 $(SET_LIB_PATH) \
6667 $(HOST_EXPORTS) \
6668 for flag in $(EXTRA_HOST_FLAGS) ; do \
6669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6670 done; \
6671 echo "Doing info in dosutils" ; \
6672 (cd dosutils && \
6673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6675 "RANLIB=$${RANLIB}" \
6676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6677 info) \
6678 || exit 1
6680 @endif dosutils
6682 .PHONY: maybe-dvi-dosutils dvi-dosutils
6683 maybe-dvi-dosutils:
6684 @if dosutils
6685 maybe-dvi-dosutils: dvi-dosutils
6687 dvi-dosutils: \
6688 configure-dosutils
6689 @[ -f ./dosutils/Makefile ] || exit 0; \
6690 r=`${PWD_COMMAND}`; export r; \
6691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6692 $(SET_LIB_PATH) \
6693 $(HOST_EXPORTS) \
6694 for flag in $(EXTRA_HOST_FLAGS) ; do \
6695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6696 done; \
6697 echo "Doing dvi in dosutils" ; \
6698 (cd dosutils && \
6699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6701 "RANLIB=$${RANLIB}" \
6702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6703 dvi) \
6704 || exit 1
6706 @endif dosutils
6708 .PHONY: maybe-html-dosutils html-dosutils
6709 maybe-html-dosutils:
6710 @if dosutils
6711 maybe-html-dosutils: html-dosutils
6713 html-dosutils: \
6714 configure-dosutils
6715 @[ -f ./dosutils/Makefile ] || exit 0; \
6716 r=`${PWD_COMMAND}`; export r; \
6717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6718 $(SET_LIB_PATH) \
6719 $(HOST_EXPORTS) \
6720 for flag in $(EXTRA_HOST_FLAGS) ; do \
6721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6722 done; \
6723 echo "Doing html in dosutils" ; \
6724 (cd dosutils && \
6725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6727 "RANLIB=$${RANLIB}" \
6728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6729 html) \
6730 || exit 1
6732 @endif dosutils
6734 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6735 maybe-TAGS-dosutils:
6736 @if dosutils
6737 maybe-TAGS-dosutils: TAGS-dosutils
6739 TAGS-dosutils: \
6740 configure-dosutils
6741 @[ -f ./dosutils/Makefile ] || exit 0; \
6742 r=`${PWD_COMMAND}`; export r; \
6743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6744 $(SET_LIB_PATH) \
6745 $(HOST_EXPORTS) \
6746 for flag in $(EXTRA_HOST_FLAGS) ; do \
6747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6748 done; \
6749 echo "Doing TAGS in dosutils" ; \
6750 (cd dosutils && \
6751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6753 "RANLIB=$${RANLIB}" \
6754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6755 TAGS) \
6756 || exit 1
6758 @endif dosutils
6760 .PHONY: maybe-install-info-dosutils install-info-dosutils
6761 maybe-install-info-dosutils:
6762 @if dosutils
6763 maybe-install-info-dosutils: install-info-dosutils
6765 install-info-dosutils: \
6766 configure-dosutils \
6767 info-dosutils
6768 @[ -f ./dosutils/Makefile ] || exit 0; \
6769 r=`${PWD_COMMAND}`; export r; \
6770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6771 $(SET_LIB_PATH) \
6772 $(HOST_EXPORTS) \
6773 for flag in $(EXTRA_HOST_FLAGS) ; do \
6774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6775 done; \
6776 echo "Doing install-info in dosutils" ; \
6777 (cd dosutils && \
6778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6780 "RANLIB=$${RANLIB}" \
6781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6782 install-info) \
6783 || exit 1
6785 @endif dosutils
6787 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6788 maybe-installcheck-dosutils:
6789 @if dosutils
6790 maybe-installcheck-dosutils: installcheck-dosutils
6792 installcheck-dosutils: \
6793 configure-dosutils
6794 @[ -f ./dosutils/Makefile ] || exit 0; \
6795 r=`${PWD_COMMAND}`; export r; \
6796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6797 $(SET_LIB_PATH) \
6798 $(HOST_EXPORTS) \
6799 for flag in $(EXTRA_HOST_FLAGS) ; do \
6800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6801 done; \
6802 echo "Doing installcheck in dosutils" ; \
6803 (cd dosutils && \
6804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6806 "RANLIB=$${RANLIB}" \
6807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6808 installcheck) \
6809 || exit 1
6811 @endif dosutils
6813 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6814 maybe-mostlyclean-dosutils:
6815 @if dosutils
6816 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6818 mostlyclean-dosutils:
6819 @[ -f ./dosutils/Makefile ] || exit 0; \
6820 r=`${PWD_COMMAND}`; export r; \
6821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6822 $(SET_LIB_PATH) \
6823 $(HOST_EXPORTS) \
6824 for flag in $(EXTRA_HOST_FLAGS) ; do \
6825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6826 done; \
6827 echo "Doing mostlyclean in dosutils" ; \
6828 (cd dosutils && \
6829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831 "RANLIB=$${RANLIB}" \
6832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6833 mostlyclean) \
6834 || exit 1
6836 @endif dosutils
6838 .PHONY: maybe-clean-dosutils clean-dosutils
6839 maybe-clean-dosutils:
6840 @if dosutils
6841 maybe-clean-dosutils: clean-dosutils
6843 clean-dosutils:
6844 @[ -f ./dosutils/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(SET_LIB_PATH) \
6848 $(HOST_EXPORTS) \
6849 for flag in $(EXTRA_HOST_FLAGS) ; do \
6850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6851 done; \
6852 echo "Doing clean in dosutils" ; \
6853 (cd dosutils && \
6854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6856 "RANLIB=$${RANLIB}" \
6857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6858 clean) \
6859 || exit 1
6861 @endif dosutils
6863 .PHONY: maybe-distclean-dosutils distclean-dosutils
6864 maybe-distclean-dosutils:
6865 @if dosutils
6866 maybe-distclean-dosutils: distclean-dosutils
6868 distclean-dosutils:
6869 @[ -f ./dosutils/Makefile ] || exit 0; \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(SET_LIB_PATH) \
6873 $(HOST_EXPORTS) \
6874 for flag in $(EXTRA_HOST_FLAGS) ; do \
6875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6876 done; \
6877 echo "Doing distclean in dosutils" ; \
6878 (cd dosutils && \
6879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6881 "RANLIB=$${RANLIB}" \
6882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6883 distclean) \
6884 || exit 1
6886 @endif dosutils
6888 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6889 maybe-maintainer-clean-dosutils:
6890 @if dosutils
6891 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6893 maintainer-clean-dosutils:
6894 @[ -f ./dosutils/Makefile ] || exit 0; \
6895 r=`${PWD_COMMAND}`; export r; \
6896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 $(SET_LIB_PATH) \
6898 $(HOST_EXPORTS) \
6899 for flag in $(EXTRA_HOST_FLAGS) ; do \
6900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6901 done; \
6902 echo "Doing maintainer-clean in dosutils" ; \
6903 (cd dosutils && \
6904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6906 "RANLIB=$${RANLIB}" \
6907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6908 maintainer-clean) \
6909 || exit 1
6911 @endif dosutils
6914 .PHONY: configure-etc maybe-configure-etc
6915 maybe-configure-etc:
6916 @if etc
6917 maybe-configure-etc: configure-etc
6918 configure-etc:
6919 @test ! -f etc/Makefile || exit 0; \
6920 [ -d etc ] || mkdir etc; \
6921 r=`${PWD_COMMAND}`; export r; \
6922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6923 $(HOST_EXPORTS) \
6924 echo Configuring in etc; \
6925 cd etc || exit 1; \
6926 case $(srcdir) in \
6927 \.) \
6928 srcdiroption="--srcdir=."; \
6929 libsrcdir=".";; \
6930 /* | [A-Za-z]:[\\/]*) \
6931 srcdiroption="--srcdir=$(srcdir)/etc"; \
6932 libsrcdir="$$s/etc";; \
6933 *) \
6934 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6935 libsrcdir="$$s/etc";; \
6936 esac; \
6937 $(SHELL) $${libsrcdir}/configure \
6938 $(HOST_CONFIGARGS) $${srcdiroption} \
6939 || exit 1
6940 @endif etc
6942 .PHONY: all-etc maybe-all-etc
6943 maybe-all-etc:
6944 @if etc
6945 TARGET-etc=all
6946 maybe-all-etc: all-etc
6947 all-etc: configure-etc
6948 @r=`${PWD_COMMAND}`; export r; \
6949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6950 $(SET_LIB_PATH) \
6951 $(HOST_EXPORTS) \
6952 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6953 $(TARGET-etc))
6954 @endif etc
6956 .PHONY: check-etc maybe-check-etc
6957 maybe-check-etc:
6958 @if etc
6959 maybe-check-etc: check-etc
6961 check-etc:
6962 @r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 $(SET_LIB_PATH) \
6965 $(HOST_EXPORTS) \
6966 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6968 @endif etc
6970 .PHONY: install-etc maybe-install-etc
6971 maybe-install-etc:
6972 @if etc
6973 maybe-install-etc: install-etc
6975 install-etc: installdirs
6976 @r=`${PWD_COMMAND}`; export r; \
6977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6978 $(SET_LIB_PATH) \
6979 $(HOST_EXPORTS) \
6980 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6982 @endif etc
6984 # Other targets (info, dvi, etc.)
6986 .PHONY: maybe-info-etc info-etc
6987 maybe-info-etc:
6988 @if etc
6989 maybe-info-etc: info-etc
6991 info-etc: \
6992 configure-etc
6993 @[ -f ./etc/Makefile ] || exit 0; \
6994 r=`${PWD_COMMAND}`; export r; \
6995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6996 $(SET_LIB_PATH) \
6997 $(HOST_EXPORTS) \
6998 for flag in $(EXTRA_HOST_FLAGS) ; do \
6999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7000 done; \
7001 echo "Doing info in etc" ; \
7002 (cd etc && \
7003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7005 "RANLIB=$${RANLIB}" \
7006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7007 info) \
7008 || exit 1
7010 @endif etc
7012 .PHONY: maybe-dvi-etc dvi-etc
7013 maybe-dvi-etc:
7014 @if etc
7015 maybe-dvi-etc: dvi-etc
7017 dvi-etc: \
7018 configure-etc
7019 @[ -f ./etc/Makefile ] || exit 0; \
7020 r=`${PWD_COMMAND}`; export r; \
7021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7022 $(SET_LIB_PATH) \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing dvi in etc" ; \
7028 (cd etc && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7033 dvi) \
7034 || exit 1
7036 @endif etc
7038 .PHONY: maybe-html-etc html-etc
7039 maybe-html-etc:
7040 @if etc
7041 maybe-html-etc: html-etc
7043 html-etc: \
7044 configure-etc
7045 @[ -f ./etc/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 $(SET_LIB_PATH) \
7049 $(HOST_EXPORTS) \
7050 for flag in $(EXTRA_HOST_FLAGS) ; do \
7051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7052 done; \
7053 echo "Doing html in etc" ; \
7054 (cd etc && \
7055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7057 "RANLIB=$${RANLIB}" \
7058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7059 html) \
7060 || exit 1
7062 @endif etc
7064 .PHONY: maybe-TAGS-etc TAGS-etc
7065 maybe-TAGS-etc:
7066 @if etc
7067 maybe-TAGS-etc: TAGS-etc
7069 TAGS-etc: \
7070 configure-etc
7071 @[ -f ./etc/Makefile ] || exit 0; \
7072 r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(SET_LIB_PATH) \
7075 $(HOST_EXPORTS) \
7076 for flag in $(EXTRA_HOST_FLAGS) ; do \
7077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7078 done; \
7079 echo "Doing TAGS in etc" ; \
7080 (cd etc && \
7081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7083 "RANLIB=$${RANLIB}" \
7084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7085 TAGS) \
7086 || exit 1
7088 @endif etc
7090 .PHONY: maybe-install-info-etc install-info-etc
7091 maybe-install-info-etc:
7092 @if etc
7093 maybe-install-info-etc: install-info-etc
7095 install-info-etc: \
7096 configure-etc \
7097 info-etc
7098 @[ -f ./etc/Makefile ] || exit 0; \
7099 r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(SET_LIB_PATH) \
7102 $(HOST_EXPORTS) \
7103 for flag in $(EXTRA_HOST_FLAGS) ; do \
7104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7105 done; \
7106 echo "Doing install-info in etc" ; \
7107 (cd etc && \
7108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7110 "RANLIB=$${RANLIB}" \
7111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7112 install-info) \
7113 || exit 1
7115 @endif etc
7117 .PHONY: maybe-installcheck-etc installcheck-etc
7118 maybe-installcheck-etc:
7119 @if etc
7120 maybe-installcheck-etc: installcheck-etc
7122 installcheck-etc: \
7123 configure-etc
7124 @[ -f ./etc/Makefile ] || exit 0; \
7125 r=`${PWD_COMMAND}`; export r; \
7126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7127 $(SET_LIB_PATH) \
7128 $(HOST_EXPORTS) \
7129 for flag in $(EXTRA_HOST_FLAGS) ; do \
7130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7131 done; \
7132 echo "Doing installcheck in etc" ; \
7133 (cd etc && \
7134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7136 "RANLIB=$${RANLIB}" \
7137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7138 installcheck) \
7139 || exit 1
7141 @endif etc
7143 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7144 maybe-mostlyclean-etc:
7145 @if etc
7146 maybe-mostlyclean-etc: mostlyclean-etc
7148 mostlyclean-etc:
7149 @[ -f ./etc/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(SET_LIB_PATH) \
7153 $(HOST_EXPORTS) \
7154 for flag in $(EXTRA_HOST_FLAGS) ; do \
7155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7156 done; \
7157 echo "Doing mostlyclean in etc" ; \
7158 (cd etc && \
7159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7161 "RANLIB=$${RANLIB}" \
7162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7163 mostlyclean) \
7164 || exit 1
7166 @endif etc
7168 .PHONY: maybe-clean-etc clean-etc
7169 maybe-clean-etc:
7170 @if etc
7171 maybe-clean-etc: clean-etc
7173 clean-etc:
7174 @[ -f ./etc/Makefile ] || exit 0; \
7175 r=`${PWD_COMMAND}`; export r; \
7176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7177 $(SET_LIB_PATH) \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing clean in etc" ; \
7183 (cd etc && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7188 clean) \
7189 || exit 1
7191 @endif etc
7193 .PHONY: maybe-distclean-etc distclean-etc
7194 maybe-distclean-etc:
7195 @if etc
7196 maybe-distclean-etc: distclean-etc
7198 distclean-etc:
7199 @[ -f ./etc/Makefile ] || exit 0; \
7200 r=`${PWD_COMMAND}`; export r; \
7201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7202 $(SET_LIB_PATH) \
7203 $(HOST_EXPORTS) \
7204 for flag in $(EXTRA_HOST_FLAGS) ; do \
7205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7206 done; \
7207 echo "Doing distclean in etc" ; \
7208 (cd etc && \
7209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7211 "RANLIB=$${RANLIB}" \
7212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7213 distclean) \
7214 || exit 1
7216 @endif etc
7218 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7219 maybe-maintainer-clean-etc:
7220 @if etc
7221 maybe-maintainer-clean-etc: maintainer-clean-etc
7223 maintainer-clean-etc:
7224 @[ -f ./etc/Makefile ] || exit 0; \
7225 r=`${PWD_COMMAND}`; export r; \
7226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7227 $(SET_LIB_PATH) \
7228 $(HOST_EXPORTS) \
7229 for flag in $(EXTRA_HOST_FLAGS) ; do \
7230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7231 done; \
7232 echo "Doing maintainer-clean in etc" ; \
7233 (cd etc && \
7234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7236 "RANLIB=$${RANLIB}" \
7237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7238 maintainer-clean) \
7239 || exit 1
7241 @endif etc
7244 .PHONY: configure-fastjar maybe-configure-fastjar
7245 maybe-configure-fastjar:
7246 @if fastjar
7247 maybe-configure-fastjar: configure-fastjar
7248 configure-fastjar:
7249 @test ! -f fastjar/Makefile || exit 0; \
7250 [ -d fastjar ] || mkdir fastjar; \
7251 r=`${PWD_COMMAND}`; export r; \
7252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7253 $(HOST_EXPORTS) \
7254 echo Configuring in fastjar; \
7255 cd fastjar || exit 1; \
7256 case $(srcdir) in \
7257 \.) \
7258 srcdiroption="--srcdir=."; \
7259 libsrcdir=".";; \
7260 /* | [A-Za-z]:[\\/]*) \
7261 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7262 libsrcdir="$$s/fastjar";; \
7263 *) \
7264 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7265 libsrcdir="$$s/fastjar";; \
7266 esac; \
7267 $(SHELL) $${libsrcdir}/configure \
7268 $(HOST_CONFIGARGS) $${srcdiroption} \
7269 || exit 1
7270 @endif fastjar
7272 .PHONY: all-fastjar maybe-all-fastjar
7273 maybe-all-fastjar:
7274 @if fastjar
7275 TARGET-fastjar=all
7276 maybe-all-fastjar: all-fastjar
7277 all-fastjar: configure-fastjar
7278 @r=`${PWD_COMMAND}`; export r; \
7279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7280 $(SET_LIB_PATH) \
7281 $(HOST_EXPORTS) \
7282 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7283 $(TARGET-fastjar))
7284 @endif fastjar
7286 .PHONY: check-fastjar maybe-check-fastjar
7287 maybe-check-fastjar:
7288 @if fastjar
7289 maybe-check-fastjar: check-fastjar
7291 # This module is only tested in a native toolchain.
7292 check-fastjar:
7293 @if [ '$(host)' = '$(target)' ] ; then \
7294 r=`${PWD_COMMAND}`; export r; \
7295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7296 $(SET_LIB_PATH) \
7297 $(HOST_EXPORTS) \
7298 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7301 @endif fastjar
7303 .PHONY: install-fastjar maybe-install-fastjar
7304 maybe-install-fastjar:
7305 @if fastjar
7306 maybe-install-fastjar: install-fastjar
7308 install-fastjar: installdirs
7309 @r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 $(SET_LIB_PATH) \
7312 $(HOST_EXPORTS) \
7313 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7315 @endif fastjar
7317 # Other targets (info, dvi, etc.)
7319 .PHONY: maybe-info-fastjar info-fastjar
7320 maybe-info-fastjar:
7321 @if fastjar
7322 maybe-info-fastjar: info-fastjar
7324 info-fastjar: \
7325 configure-fastjar
7326 @[ -f ./fastjar/Makefile ] || exit 0; \
7327 r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(SET_LIB_PATH) \
7330 $(HOST_EXPORTS) \
7331 for flag in $(EXTRA_HOST_FLAGS) ; do \
7332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7333 done; \
7334 echo "Doing info in fastjar" ; \
7335 (cd fastjar && \
7336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7338 "RANLIB=$${RANLIB}" \
7339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7340 info) \
7341 || exit 1
7343 @endif fastjar
7345 .PHONY: maybe-dvi-fastjar dvi-fastjar
7346 maybe-dvi-fastjar:
7347 @if fastjar
7348 maybe-dvi-fastjar: dvi-fastjar
7350 dvi-fastjar: \
7351 configure-fastjar
7352 @[ -f ./fastjar/Makefile ] || exit 0; \
7353 r=`${PWD_COMMAND}`; export r; \
7354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7355 $(SET_LIB_PATH) \
7356 $(HOST_EXPORTS) \
7357 for flag in $(EXTRA_HOST_FLAGS) ; do \
7358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7359 done; \
7360 echo "Doing dvi in fastjar" ; \
7361 (cd fastjar && \
7362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7364 "RANLIB=$${RANLIB}" \
7365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7366 dvi) \
7367 || exit 1
7369 @endif fastjar
7371 .PHONY: maybe-html-fastjar html-fastjar
7372 maybe-html-fastjar:
7373 @if fastjar
7374 maybe-html-fastjar: html-fastjar
7376 html-fastjar: \
7377 configure-fastjar
7378 @[ -f ./fastjar/Makefile ] || exit 0; \
7379 r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7381 $(SET_LIB_PATH) \
7382 $(HOST_EXPORTS) \
7383 for flag in $(EXTRA_HOST_FLAGS) ; do \
7384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7385 done; \
7386 echo "Doing html in fastjar" ; \
7387 (cd fastjar && \
7388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7390 "RANLIB=$${RANLIB}" \
7391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7392 html) \
7393 || exit 1
7395 @endif fastjar
7397 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7398 maybe-TAGS-fastjar:
7399 @if fastjar
7400 maybe-TAGS-fastjar: TAGS-fastjar
7402 TAGS-fastjar: \
7403 configure-fastjar
7404 @[ -f ./fastjar/Makefile ] || exit 0; \
7405 r=`${PWD_COMMAND}`; export r; \
7406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7407 $(SET_LIB_PATH) \
7408 $(HOST_EXPORTS) \
7409 for flag in $(EXTRA_HOST_FLAGS) ; do \
7410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7411 done; \
7412 echo "Doing TAGS in fastjar" ; \
7413 (cd fastjar && \
7414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7416 "RANLIB=$${RANLIB}" \
7417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7418 TAGS) \
7419 || exit 1
7421 @endif fastjar
7423 .PHONY: maybe-install-info-fastjar install-info-fastjar
7424 maybe-install-info-fastjar:
7425 @if fastjar
7426 maybe-install-info-fastjar: install-info-fastjar
7428 install-info-fastjar: \
7429 configure-fastjar \
7430 info-fastjar
7431 @[ -f ./fastjar/Makefile ] || exit 0; \
7432 r=`${PWD_COMMAND}`; export r; \
7433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 $(SET_LIB_PATH) \
7435 $(HOST_EXPORTS) \
7436 for flag in $(EXTRA_HOST_FLAGS) ; do \
7437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7438 done; \
7439 echo "Doing install-info in fastjar" ; \
7440 (cd fastjar && \
7441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7443 "RANLIB=$${RANLIB}" \
7444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7445 install-info) \
7446 || exit 1
7448 @endif fastjar
7450 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7451 maybe-installcheck-fastjar:
7452 @if fastjar
7453 maybe-installcheck-fastjar: installcheck-fastjar
7455 installcheck-fastjar: \
7456 configure-fastjar
7457 @[ -f ./fastjar/Makefile ] || exit 0; \
7458 r=`${PWD_COMMAND}`; export r; \
7459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7460 $(SET_LIB_PATH) \
7461 $(HOST_EXPORTS) \
7462 for flag in $(EXTRA_HOST_FLAGS) ; do \
7463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7464 done; \
7465 echo "Doing installcheck in fastjar" ; \
7466 (cd fastjar && \
7467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7469 "RANLIB=$${RANLIB}" \
7470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7471 installcheck) \
7472 || exit 1
7474 @endif fastjar
7476 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7477 maybe-mostlyclean-fastjar:
7478 @if fastjar
7479 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7481 mostlyclean-fastjar:
7482 @[ -f ./fastjar/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(SET_LIB_PATH) \
7486 $(HOST_EXPORTS) \
7487 for flag in $(EXTRA_HOST_FLAGS) ; do \
7488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7489 done; \
7490 echo "Doing mostlyclean in fastjar" ; \
7491 (cd fastjar && \
7492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7494 "RANLIB=$${RANLIB}" \
7495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7496 mostlyclean) \
7497 || exit 1
7499 @endif fastjar
7501 .PHONY: maybe-clean-fastjar clean-fastjar
7502 maybe-clean-fastjar:
7503 @if fastjar
7504 maybe-clean-fastjar: clean-fastjar
7506 clean-fastjar:
7507 @[ -f ./fastjar/Makefile ] || exit 0; \
7508 r=`${PWD_COMMAND}`; export r; \
7509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7510 $(SET_LIB_PATH) \
7511 $(HOST_EXPORTS) \
7512 for flag in $(EXTRA_HOST_FLAGS) ; do \
7513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7514 done; \
7515 echo "Doing clean in fastjar" ; \
7516 (cd fastjar && \
7517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7519 "RANLIB=$${RANLIB}" \
7520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7521 clean) \
7522 || exit 1
7524 @endif fastjar
7526 .PHONY: maybe-distclean-fastjar distclean-fastjar
7527 maybe-distclean-fastjar:
7528 @if fastjar
7529 maybe-distclean-fastjar: distclean-fastjar
7531 distclean-fastjar:
7532 @[ -f ./fastjar/Makefile ] || exit 0; \
7533 r=`${PWD_COMMAND}`; export r; \
7534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7535 $(SET_LIB_PATH) \
7536 $(HOST_EXPORTS) \
7537 for flag in $(EXTRA_HOST_FLAGS) ; do \
7538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7539 done; \
7540 echo "Doing distclean in fastjar" ; \
7541 (cd fastjar && \
7542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7544 "RANLIB=$${RANLIB}" \
7545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7546 distclean) \
7547 || exit 1
7549 @endif fastjar
7551 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7552 maybe-maintainer-clean-fastjar:
7553 @if fastjar
7554 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7556 maintainer-clean-fastjar:
7557 @[ -f ./fastjar/Makefile ] || exit 0; \
7558 r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 $(SET_LIB_PATH) \
7561 $(HOST_EXPORTS) \
7562 for flag in $(EXTRA_HOST_FLAGS) ; do \
7563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7564 done; \
7565 echo "Doing maintainer-clean in fastjar" ; \
7566 (cd fastjar && \
7567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7569 "RANLIB=$${RANLIB}" \
7570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7571 maintainer-clean) \
7572 || exit 1
7574 @endif fastjar
7577 .PHONY: configure-fileutils maybe-configure-fileutils
7578 maybe-configure-fileutils:
7579 @if fileutils
7580 maybe-configure-fileutils: configure-fileutils
7581 configure-fileutils:
7582 @test ! -f fileutils/Makefile || exit 0; \
7583 [ -d fileutils ] || mkdir fileutils; \
7584 r=`${PWD_COMMAND}`; export r; \
7585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7586 $(HOST_EXPORTS) \
7587 echo Configuring in fileutils; \
7588 cd fileutils || exit 1; \
7589 case $(srcdir) in \
7590 \.) \
7591 srcdiroption="--srcdir=."; \
7592 libsrcdir=".";; \
7593 /* | [A-Za-z]:[\\/]*) \
7594 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7595 libsrcdir="$$s/fileutils";; \
7596 *) \
7597 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7598 libsrcdir="$$s/fileutils";; \
7599 esac; \
7600 $(SHELL) $${libsrcdir}/configure \
7601 $(HOST_CONFIGARGS) $${srcdiroption} \
7602 || exit 1
7603 @endif fileutils
7605 .PHONY: all-fileutils maybe-all-fileutils
7606 maybe-all-fileutils:
7607 @if fileutils
7608 TARGET-fileutils=all
7609 maybe-all-fileutils: all-fileutils
7610 all-fileutils: configure-fileutils
7611 @r=`${PWD_COMMAND}`; export r; \
7612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7613 $(SET_LIB_PATH) \
7614 $(HOST_EXPORTS) \
7615 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7616 $(TARGET-fileutils))
7617 @endif fileutils
7619 .PHONY: check-fileutils maybe-check-fileutils
7620 maybe-check-fileutils:
7621 @if fileutils
7622 maybe-check-fileutils: check-fileutils
7624 check-fileutils:
7625 @r=`${PWD_COMMAND}`; export r; \
7626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7627 $(SET_LIB_PATH) \
7628 $(HOST_EXPORTS) \
7629 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7631 @endif fileutils
7633 .PHONY: install-fileutils maybe-install-fileutils
7634 maybe-install-fileutils:
7635 @if fileutils
7636 maybe-install-fileutils: install-fileutils
7638 install-fileutils: installdirs
7639 @r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641 $(SET_LIB_PATH) \
7642 $(HOST_EXPORTS) \
7643 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7645 @endif fileutils
7647 # Other targets (info, dvi, etc.)
7649 .PHONY: maybe-info-fileutils info-fileutils
7650 maybe-info-fileutils:
7651 @if fileutils
7652 maybe-info-fileutils: info-fileutils
7654 info-fileutils: \
7655 configure-fileutils
7656 @[ -f ./fileutils/Makefile ] || exit 0; \
7657 r=`${PWD_COMMAND}`; export r; \
7658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7659 $(SET_LIB_PATH) \
7660 $(HOST_EXPORTS) \
7661 for flag in $(EXTRA_HOST_FLAGS) ; do \
7662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7663 done; \
7664 echo "Doing info in fileutils" ; \
7665 (cd fileutils && \
7666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7668 "RANLIB=$${RANLIB}" \
7669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7670 info) \
7671 || exit 1
7673 @endif fileutils
7675 .PHONY: maybe-dvi-fileutils dvi-fileutils
7676 maybe-dvi-fileutils:
7677 @if fileutils
7678 maybe-dvi-fileutils: dvi-fileutils
7680 dvi-fileutils: \
7681 configure-fileutils
7682 @[ -f ./fileutils/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(SET_LIB_PATH) \
7686 $(HOST_EXPORTS) \
7687 for flag in $(EXTRA_HOST_FLAGS) ; do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing dvi in fileutils" ; \
7691 (cd fileutils && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696 dvi) \
7697 || exit 1
7699 @endif fileutils
7701 .PHONY: maybe-html-fileutils html-fileutils
7702 maybe-html-fileutils:
7703 @if fileutils
7704 maybe-html-fileutils: html-fileutils
7706 html-fileutils: \
7707 configure-fileutils
7708 @[ -f ./fileutils/Makefile ] || exit 0; \
7709 r=`${PWD_COMMAND}`; export r; \
7710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7711 $(SET_LIB_PATH) \
7712 $(HOST_EXPORTS) \
7713 for flag in $(EXTRA_HOST_FLAGS) ; do \
7714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7715 done; \
7716 echo "Doing html in fileutils" ; \
7717 (cd fileutils && \
7718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7720 "RANLIB=$${RANLIB}" \
7721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7722 html) \
7723 || exit 1
7725 @endif fileutils
7727 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7728 maybe-TAGS-fileutils:
7729 @if fileutils
7730 maybe-TAGS-fileutils: TAGS-fileutils
7732 TAGS-fileutils: \
7733 configure-fileutils
7734 @[ -f ./fileutils/Makefile ] || exit 0; \
7735 r=`${PWD_COMMAND}`; export r; \
7736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7737 $(SET_LIB_PATH) \
7738 $(HOST_EXPORTS) \
7739 for flag in $(EXTRA_HOST_FLAGS) ; do \
7740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7741 done; \
7742 echo "Doing TAGS in fileutils" ; \
7743 (cd fileutils && \
7744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7746 "RANLIB=$${RANLIB}" \
7747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7748 TAGS) \
7749 || exit 1
7751 @endif fileutils
7753 .PHONY: maybe-install-info-fileutils install-info-fileutils
7754 maybe-install-info-fileutils:
7755 @if fileutils
7756 maybe-install-info-fileutils: install-info-fileutils
7758 install-info-fileutils: \
7759 configure-fileutils \
7760 info-fileutils
7761 @[ -f ./fileutils/Makefile ] || exit 0; \
7762 r=`${PWD_COMMAND}`; export r; \
7763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7764 $(SET_LIB_PATH) \
7765 $(HOST_EXPORTS) \
7766 for flag in $(EXTRA_HOST_FLAGS) ; do \
7767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7768 done; \
7769 echo "Doing install-info in fileutils" ; \
7770 (cd fileutils && \
7771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7773 "RANLIB=$${RANLIB}" \
7774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7775 install-info) \
7776 || exit 1
7778 @endif fileutils
7780 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7781 maybe-installcheck-fileutils:
7782 @if fileutils
7783 maybe-installcheck-fileutils: installcheck-fileutils
7785 installcheck-fileutils: \
7786 configure-fileutils
7787 @[ -f ./fileutils/Makefile ] || exit 0; \
7788 r=`${PWD_COMMAND}`; export r; \
7789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7790 $(SET_LIB_PATH) \
7791 $(HOST_EXPORTS) \
7792 for flag in $(EXTRA_HOST_FLAGS) ; do \
7793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7794 done; \
7795 echo "Doing installcheck in fileutils" ; \
7796 (cd fileutils && \
7797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7799 "RANLIB=$${RANLIB}" \
7800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7801 installcheck) \
7802 || exit 1
7804 @endif fileutils
7806 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7807 maybe-mostlyclean-fileutils:
7808 @if fileutils
7809 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7811 mostlyclean-fileutils:
7812 @[ -f ./fileutils/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 $(SET_LIB_PATH) \
7816 $(HOST_EXPORTS) \
7817 for flag in $(EXTRA_HOST_FLAGS) ; do \
7818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7819 done; \
7820 echo "Doing mostlyclean in fileutils" ; \
7821 (cd fileutils && \
7822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7824 "RANLIB=$${RANLIB}" \
7825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7826 mostlyclean) \
7827 || exit 1
7829 @endif fileutils
7831 .PHONY: maybe-clean-fileutils clean-fileutils
7832 maybe-clean-fileutils:
7833 @if fileutils
7834 maybe-clean-fileutils: clean-fileutils
7836 clean-fileutils:
7837 @[ -f ./fileutils/Makefile ] || exit 0; \
7838 r=`${PWD_COMMAND}`; export r; \
7839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7840 $(SET_LIB_PATH) \
7841 $(HOST_EXPORTS) \
7842 for flag in $(EXTRA_HOST_FLAGS) ; do \
7843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7844 done; \
7845 echo "Doing clean in fileutils" ; \
7846 (cd fileutils && \
7847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7849 "RANLIB=$${RANLIB}" \
7850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7851 clean) \
7852 || exit 1
7854 @endif fileutils
7856 .PHONY: maybe-distclean-fileutils distclean-fileutils
7857 maybe-distclean-fileutils:
7858 @if fileutils
7859 maybe-distclean-fileutils: distclean-fileutils
7861 distclean-fileutils:
7862 @[ -f ./fileutils/Makefile ] || exit 0; \
7863 r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(SET_LIB_PATH) \
7866 $(HOST_EXPORTS) \
7867 for flag in $(EXTRA_HOST_FLAGS) ; do \
7868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7869 done; \
7870 echo "Doing distclean in fileutils" ; \
7871 (cd fileutils && \
7872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7874 "RANLIB=$${RANLIB}" \
7875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7876 distclean) \
7877 || exit 1
7879 @endif fileutils
7881 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7882 maybe-maintainer-clean-fileutils:
7883 @if fileutils
7884 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7886 maintainer-clean-fileutils:
7887 @[ -f ./fileutils/Makefile ] || exit 0; \
7888 r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7890 $(SET_LIB_PATH) \
7891 $(HOST_EXPORTS) \
7892 for flag in $(EXTRA_HOST_FLAGS) ; do \
7893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 done; \
7895 echo "Doing maintainer-clean in fileutils" ; \
7896 (cd fileutils && \
7897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7899 "RANLIB=$${RANLIB}" \
7900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7901 maintainer-clean) \
7902 || exit 1
7904 @endif fileutils
7907 .PHONY: configure-findutils maybe-configure-findutils
7908 maybe-configure-findutils:
7909 @if findutils
7910 maybe-configure-findutils: configure-findutils
7911 configure-findutils:
7912 @test ! -f findutils/Makefile || exit 0; \
7913 [ -d findutils ] || mkdir findutils; \
7914 r=`${PWD_COMMAND}`; export r; \
7915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7916 $(HOST_EXPORTS) \
7917 echo Configuring in findutils; \
7918 cd findutils || exit 1; \
7919 case $(srcdir) in \
7920 \.) \
7921 srcdiroption="--srcdir=."; \
7922 libsrcdir=".";; \
7923 /* | [A-Za-z]:[\\/]*) \
7924 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7925 libsrcdir="$$s/findutils";; \
7926 *) \
7927 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7928 libsrcdir="$$s/findutils";; \
7929 esac; \
7930 $(SHELL) $${libsrcdir}/configure \
7931 $(HOST_CONFIGARGS) $${srcdiroption} \
7932 || exit 1
7933 @endif findutils
7935 .PHONY: all-findutils maybe-all-findutils
7936 maybe-all-findutils:
7937 @if findutils
7938 TARGET-findutils=all
7939 maybe-all-findutils: all-findutils
7940 all-findutils: configure-findutils
7941 @r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(SET_LIB_PATH) \
7944 $(HOST_EXPORTS) \
7945 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7946 $(TARGET-findutils))
7947 @endif findutils
7949 .PHONY: check-findutils maybe-check-findutils
7950 maybe-check-findutils:
7951 @if findutils
7952 maybe-check-findutils: check-findutils
7954 check-findutils:
7955 @r=`${PWD_COMMAND}`; export r; \
7956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7957 $(SET_LIB_PATH) \
7958 $(HOST_EXPORTS) \
7959 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7961 @endif findutils
7963 .PHONY: install-findutils maybe-install-findutils
7964 maybe-install-findutils:
7965 @if findutils
7966 maybe-install-findutils: install-findutils
7968 install-findutils: installdirs
7969 @r=`${PWD_COMMAND}`; export r; \
7970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7971 $(SET_LIB_PATH) \
7972 $(HOST_EXPORTS) \
7973 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7975 @endif findutils
7977 # Other targets (info, dvi, etc.)
7979 .PHONY: maybe-info-findutils info-findutils
7980 maybe-info-findutils:
7981 @if findutils
7982 maybe-info-findutils: info-findutils
7984 info-findutils: \
7985 configure-findutils
7986 @[ -f ./findutils/Makefile ] || exit 0; \
7987 r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7989 $(SET_LIB_PATH) \
7990 $(HOST_EXPORTS) \
7991 for flag in $(EXTRA_HOST_FLAGS) ; do \
7992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7993 done; \
7994 echo "Doing info in findutils" ; \
7995 (cd findutils && \
7996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7998 "RANLIB=$${RANLIB}" \
7999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8000 info) \
8001 || exit 1
8003 @endif findutils
8005 .PHONY: maybe-dvi-findutils dvi-findutils
8006 maybe-dvi-findutils:
8007 @if findutils
8008 maybe-dvi-findutils: dvi-findutils
8010 dvi-findutils: \
8011 configure-findutils
8012 @[ -f ./findutils/Makefile ] || exit 0; \
8013 r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(SET_LIB_PATH) \
8016 $(HOST_EXPORTS) \
8017 for flag in $(EXTRA_HOST_FLAGS) ; do \
8018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8019 done; \
8020 echo "Doing dvi in findutils" ; \
8021 (cd findutils && \
8022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024 "RANLIB=$${RANLIB}" \
8025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8026 dvi) \
8027 || exit 1
8029 @endif findutils
8031 .PHONY: maybe-html-findutils html-findutils
8032 maybe-html-findutils:
8033 @if findutils
8034 maybe-html-findutils: html-findutils
8036 html-findutils: \
8037 configure-findutils
8038 @[ -f ./findutils/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 $(SET_LIB_PATH) \
8042 $(HOST_EXPORTS) \
8043 for flag in $(EXTRA_HOST_FLAGS) ; do \
8044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8045 done; \
8046 echo "Doing html in findutils" ; \
8047 (cd findutils && \
8048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8050 "RANLIB=$${RANLIB}" \
8051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8052 html) \
8053 || exit 1
8055 @endif findutils
8057 .PHONY: maybe-TAGS-findutils TAGS-findutils
8058 maybe-TAGS-findutils:
8059 @if findutils
8060 maybe-TAGS-findutils: TAGS-findutils
8062 TAGS-findutils: \
8063 configure-findutils
8064 @[ -f ./findutils/Makefile ] || exit 0; \
8065 r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 $(SET_LIB_PATH) \
8068 $(HOST_EXPORTS) \
8069 for flag in $(EXTRA_HOST_FLAGS) ; do \
8070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8071 done; \
8072 echo "Doing TAGS in findutils" ; \
8073 (cd findutils && \
8074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8076 "RANLIB=$${RANLIB}" \
8077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8078 TAGS) \
8079 || exit 1
8081 @endif findutils
8083 .PHONY: maybe-install-info-findutils install-info-findutils
8084 maybe-install-info-findutils:
8085 @if findutils
8086 maybe-install-info-findutils: install-info-findutils
8088 install-info-findutils: \
8089 configure-findutils \
8090 info-findutils
8091 @[ -f ./findutils/Makefile ] || exit 0; \
8092 r=`${PWD_COMMAND}`; export r; \
8093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8094 $(SET_LIB_PATH) \
8095 $(HOST_EXPORTS) \
8096 for flag in $(EXTRA_HOST_FLAGS) ; do \
8097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8098 done; \
8099 echo "Doing install-info in findutils" ; \
8100 (cd findutils && \
8101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8103 "RANLIB=$${RANLIB}" \
8104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8105 install-info) \
8106 || exit 1
8108 @endif findutils
8110 .PHONY: maybe-installcheck-findutils installcheck-findutils
8111 maybe-installcheck-findutils:
8112 @if findutils
8113 maybe-installcheck-findutils: installcheck-findutils
8115 installcheck-findutils: \
8116 configure-findutils
8117 @[ -f ./findutils/Makefile ] || exit 0; \
8118 r=`${PWD_COMMAND}`; export r; \
8119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8120 $(SET_LIB_PATH) \
8121 $(HOST_EXPORTS) \
8122 for flag in $(EXTRA_HOST_FLAGS) ; do \
8123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8124 done; \
8125 echo "Doing installcheck in findutils" ; \
8126 (cd findutils && \
8127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8129 "RANLIB=$${RANLIB}" \
8130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8131 installcheck) \
8132 || exit 1
8134 @endif findutils
8136 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8137 maybe-mostlyclean-findutils:
8138 @if findutils
8139 maybe-mostlyclean-findutils: mostlyclean-findutils
8141 mostlyclean-findutils:
8142 @[ -f ./findutils/Makefile ] || exit 0; \
8143 r=`${PWD_COMMAND}`; export r; \
8144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8145 $(SET_LIB_PATH) \
8146 $(HOST_EXPORTS) \
8147 for flag in $(EXTRA_HOST_FLAGS) ; do \
8148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8149 done; \
8150 echo "Doing mostlyclean in findutils" ; \
8151 (cd findutils && \
8152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8154 "RANLIB=$${RANLIB}" \
8155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8156 mostlyclean) \
8157 || exit 1
8159 @endif findutils
8161 .PHONY: maybe-clean-findutils clean-findutils
8162 maybe-clean-findutils:
8163 @if findutils
8164 maybe-clean-findutils: clean-findutils
8166 clean-findutils:
8167 @[ -f ./findutils/Makefile ] || exit 0; \
8168 r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170 $(SET_LIB_PATH) \
8171 $(HOST_EXPORTS) \
8172 for flag in $(EXTRA_HOST_FLAGS) ; do \
8173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8174 done; \
8175 echo "Doing clean in findutils" ; \
8176 (cd findutils && \
8177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8179 "RANLIB=$${RANLIB}" \
8180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8181 clean) \
8182 || exit 1
8184 @endif findutils
8186 .PHONY: maybe-distclean-findutils distclean-findutils
8187 maybe-distclean-findutils:
8188 @if findutils
8189 maybe-distclean-findutils: distclean-findutils
8191 distclean-findutils:
8192 @[ -f ./findutils/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(SET_LIB_PATH) \
8196 $(HOST_EXPORTS) \
8197 for flag in $(EXTRA_HOST_FLAGS) ; do \
8198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 done; \
8200 echo "Doing distclean in findutils" ; \
8201 (cd findutils && \
8202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8204 "RANLIB=$${RANLIB}" \
8205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8206 distclean) \
8207 || exit 1
8209 @endif findutils
8211 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8212 maybe-maintainer-clean-findutils:
8213 @if findutils
8214 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8216 maintainer-clean-findutils:
8217 @[ -f ./findutils/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(SET_LIB_PATH) \
8221 $(HOST_EXPORTS) \
8222 for flag in $(EXTRA_HOST_FLAGS) ; do \
8223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8224 done; \
8225 echo "Doing maintainer-clean in findutils" ; \
8226 (cd findutils && \
8227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8229 "RANLIB=$${RANLIB}" \
8230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8231 maintainer-clean) \
8232 || exit 1
8234 @endif findutils
8237 .PHONY: configure-find maybe-configure-find
8238 maybe-configure-find:
8239 @if find
8240 maybe-configure-find: configure-find
8241 configure-find:
8242 @test ! -f find/Makefile || exit 0; \
8243 [ -d find ] || mkdir find; \
8244 r=`${PWD_COMMAND}`; export r; \
8245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8246 $(HOST_EXPORTS) \
8247 echo Configuring in find; \
8248 cd find || exit 1; \
8249 case $(srcdir) in \
8250 \.) \
8251 srcdiroption="--srcdir=."; \
8252 libsrcdir=".";; \
8253 /* | [A-Za-z]:[\\/]*) \
8254 srcdiroption="--srcdir=$(srcdir)/find"; \
8255 libsrcdir="$$s/find";; \
8256 *) \
8257 srcdiroption="--srcdir=../$(srcdir)/find"; \
8258 libsrcdir="$$s/find";; \
8259 esac; \
8260 $(SHELL) $${libsrcdir}/configure \
8261 $(HOST_CONFIGARGS) $${srcdiroption} \
8262 || exit 1
8263 @endif find
8265 .PHONY: all-find maybe-all-find
8266 maybe-all-find:
8267 @if find
8268 TARGET-find=all
8269 maybe-all-find: all-find
8270 all-find: configure-find
8271 @r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8273 $(SET_LIB_PATH) \
8274 $(HOST_EXPORTS) \
8275 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8276 $(TARGET-find))
8277 @endif find
8279 .PHONY: check-find maybe-check-find
8280 maybe-check-find:
8281 @if find
8282 maybe-check-find: check-find
8284 check-find:
8285 @r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8287 $(SET_LIB_PATH) \
8288 $(HOST_EXPORTS) \
8289 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8291 @endif find
8293 .PHONY: install-find maybe-install-find
8294 maybe-install-find:
8295 @if find
8296 maybe-install-find: install-find
8298 install-find: installdirs
8299 @r=`${PWD_COMMAND}`; export r; \
8300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8301 $(SET_LIB_PATH) \
8302 $(HOST_EXPORTS) \
8303 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8305 @endif find
8307 # Other targets (info, dvi, etc.)
8309 .PHONY: maybe-info-find info-find
8310 maybe-info-find:
8311 @if find
8312 maybe-info-find: info-find
8314 info-find: \
8315 configure-find
8316 @[ -f ./find/Makefile ] || exit 0; \
8317 r=`${PWD_COMMAND}`; export r; \
8318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 $(SET_LIB_PATH) \
8320 $(HOST_EXPORTS) \
8321 for flag in $(EXTRA_HOST_FLAGS) ; do \
8322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8323 done; \
8324 echo "Doing info in find" ; \
8325 (cd find && \
8326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8328 "RANLIB=$${RANLIB}" \
8329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8330 info) \
8331 || exit 1
8333 @endif find
8335 .PHONY: maybe-dvi-find dvi-find
8336 maybe-dvi-find:
8337 @if find
8338 maybe-dvi-find: dvi-find
8340 dvi-find: \
8341 configure-find
8342 @[ -f ./find/Makefile ] || exit 0; \
8343 r=`${PWD_COMMAND}`; export r; \
8344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8345 $(SET_LIB_PATH) \
8346 $(HOST_EXPORTS) \
8347 for flag in $(EXTRA_HOST_FLAGS) ; do \
8348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8349 done; \
8350 echo "Doing dvi in find" ; \
8351 (cd find && \
8352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354 "RANLIB=$${RANLIB}" \
8355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8356 dvi) \
8357 || exit 1
8359 @endif find
8361 .PHONY: maybe-html-find html-find
8362 maybe-html-find:
8363 @if find
8364 maybe-html-find: html-find
8366 html-find: \
8367 configure-find
8368 @[ -f ./find/Makefile ] || exit 0; \
8369 r=`${PWD_COMMAND}`; export r; \
8370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 $(SET_LIB_PATH) \
8372 $(HOST_EXPORTS) \
8373 for flag in $(EXTRA_HOST_FLAGS) ; do \
8374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8375 done; \
8376 echo "Doing html in find" ; \
8377 (cd find && \
8378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8380 "RANLIB=$${RANLIB}" \
8381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8382 html) \
8383 || exit 1
8385 @endif find
8387 .PHONY: maybe-TAGS-find TAGS-find
8388 maybe-TAGS-find:
8389 @if find
8390 maybe-TAGS-find: TAGS-find
8392 TAGS-find: \
8393 configure-find
8394 @[ -f ./find/Makefile ] || exit 0; \
8395 r=`${PWD_COMMAND}`; export r; \
8396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8397 $(SET_LIB_PATH) \
8398 $(HOST_EXPORTS) \
8399 for flag in $(EXTRA_HOST_FLAGS) ; do \
8400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8401 done; \
8402 echo "Doing TAGS in find" ; \
8403 (cd find && \
8404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8406 "RANLIB=$${RANLIB}" \
8407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8408 TAGS) \
8409 || exit 1
8411 @endif find
8413 .PHONY: maybe-install-info-find install-info-find
8414 maybe-install-info-find:
8415 @if find
8416 maybe-install-info-find: install-info-find
8418 install-info-find: \
8419 configure-find \
8420 info-find
8421 @[ -f ./find/Makefile ] || exit 0; \
8422 r=`${PWD_COMMAND}`; export r; \
8423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 $(SET_LIB_PATH) \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing install-info in find" ; \
8430 (cd find && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 install-info) \
8436 || exit 1
8438 @endif find
8440 .PHONY: maybe-installcheck-find installcheck-find
8441 maybe-installcheck-find:
8442 @if find
8443 maybe-installcheck-find: installcheck-find
8445 installcheck-find: \
8446 configure-find
8447 @[ -f ./find/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(SET_LIB_PATH) \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing installcheck in find" ; \
8456 (cd find && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 installcheck) \
8462 || exit 1
8464 @endif find
8466 .PHONY: maybe-mostlyclean-find mostlyclean-find
8467 maybe-mostlyclean-find:
8468 @if find
8469 maybe-mostlyclean-find: mostlyclean-find
8471 mostlyclean-find:
8472 @[ -f ./find/Makefile ] || exit 0; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(SET_LIB_PATH) \
8476 $(HOST_EXPORTS) \
8477 for flag in $(EXTRA_HOST_FLAGS) ; do \
8478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8479 done; \
8480 echo "Doing mostlyclean in find" ; \
8481 (cd find && \
8482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8484 "RANLIB=$${RANLIB}" \
8485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8486 mostlyclean) \
8487 || exit 1
8489 @endif find
8491 .PHONY: maybe-clean-find clean-find
8492 maybe-clean-find:
8493 @if find
8494 maybe-clean-find: clean-find
8496 clean-find:
8497 @[ -f ./find/Makefile ] || exit 0; \
8498 r=`${PWD_COMMAND}`; export r; \
8499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8500 $(SET_LIB_PATH) \
8501 $(HOST_EXPORTS) \
8502 for flag in $(EXTRA_HOST_FLAGS) ; do \
8503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8504 done; \
8505 echo "Doing clean in find" ; \
8506 (cd find && \
8507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8509 "RANLIB=$${RANLIB}" \
8510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8511 clean) \
8512 || exit 1
8514 @endif find
8516 .PHONY: maybe-distclean-find distclean-find
8517 maybe-distclean-find:
8518 @if find
8519 maybe-distclean-find: distclean-find
8521 distclean-find:
8522 @[ -f ./find/Makefile ] || exit 0; \
8523 r=`${PWD_COMMAND}`; export r; \
8524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 $(SET_LIB_PATH) \
8526 $(HOST_EXPORTS) \
8527 for flag in $(EXTRA_HOST_FLAGS) ; do \
8528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8529 done; \
8530 echo "Doing distclean in find" ; \
8531 (cd find && \
8532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8534 "RANLIB=$${RANLIB}" \
8535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8536 distclean) \
8537 || exit 1
8539 @endif find
8541 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8542 maybe-maintainer-clean-find:
8543 @if find
8544 maybe-maintainer-clean-find: maintainer-clean-find
8546 maintainer-clean-find:
8547 @[ -f ./find/Makefile ] || exit 0; \
8548 r=`${PWD_COMMAND}`; export r; \
8549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 $(SET_LIB_PATH) \
8551 $(HOST_EXPORTS) \
8552 for flag in $(EXTRA_HOST_FLAGS) ; do \
8553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8554 done; \
8555 echo "Doing maintainer-clean in find" ; \
8556 (cd find && \
8557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8559 "RANLIB=$${RANLIB}" \
8560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8561 maintainer-clean) \
8562 || exit 1
8564 @endif find
8567 .PHONY: configure-fixincludes maybe-configure-fixincludes
8568 maybe-configure-fixincludes:
8569 @if fixincludes
8570 maybe-configure-fixincludes: configure-fixincludes
8571 configure-fixincludes:
8572 @test ! -f fixincludes/Makefile || exit 0; \
8573 [ -d fixincludes ] || mkdir fixincludes; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 $(HOST_EXPORTS) \
8577 echo Configuring in fixincludes; \
8578 cd fixincludes || exit 1; \
8579 case $(srcdir) in \
8580 \.) \
8581 srcdiroption="--srcdir=."; \
8582 libsrcdir=".";; \
8583 /* | [A-Za-z]:[\\/]*) \
8584 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8585 libsrcdir="$$s/fixincludes";; \
8586 *) \
8587 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8588 libsrcdir="$$s/fixincludes";; \
8589 esac; \
8590 $(SHELL) $${libsrcdir}/configure \
8591 $(HOST_CONFIGARGS) $${srcdiroption} \
8592 || exit 1
8593 @endif fixincludes
8595 .PHONY: all-fixincludes maybe-all-fixincludes
8596 maybe-all-fixincludes:
8597 @if fixincludes
8598 TARGET-fixincludes=all
8599 maybe-all-fixincludes: all-fixincludes
8600 all-fixincludes: configure-fixincludes
8601 @r=`${PWD_COMMAND}`; export r; \
8602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 $(SET_LIB_PATH) \
8604 $(HOST_EXPORTS) \
8605 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8606 $(TARGET-fixincludes))
8607 @endif fixincludes
8609 .PHONY: check-fixincludes maybe-check-fixincludes
8610 maybe-check-fixincludes:
8611 @if fixincludes
8612 maybe-check-fixincludes: check-fixincludes
8614 check-fixincludes:
8615 @r=`${PWD_COMMAND}`; export r; \
8616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8617 $(SET_LIB_PATH) \
8618 $(HOST_EXPORTS) \
8619 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8621 @endif fixincludes
8623 .PHONY: install-fixincludes maybe-install-fixincludes
8624 maybe-install-fixincludes:
8625 @if fixincludes
8626 maybe-install-fixincludes: install-fixincludes
8628 install-fixincludes: installdirs
8629 @r=`${PWD_COMMAND}`; export r; \
8630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8631 $(SET_LIB_PATH) \
8632 $(HOST_EXPORTS) \
8633 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8635 @endif fixincludes
8637 # Other targets (info, dvi, etc.)
8639 .PHONY: maybe-info-fixincludes info-fixincludes
8640 maybe-info-fixincludes:
8641 @if fixincludes
8642 maybe-info-fixincludes: info-fixincludes
8644 # fixincludes doesn't support info.
8645 info-fixincludes:
8647 @endif fixincludes
8649 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8650 maybe-dvi-fixincludes:
8651 @if fixincludes
8652 maybe-dvi-fixincludes: dvi-fixincludes
8654 # fixincludes doesn't support dvi.
8655 dvi-fixincludes:
8657 @endif fixincludes
8659 .PHONY: maybe-html-fixincludes html-fixincludes
8660 maybe-html-fixincludes:
8661 @if fixincludes
8662 maybe-html-fixincludes: html-fixincludes
8664 html-fixincludes: \
8665 configure-fixincludes
8666 @[ -f ./fixincludes/Makefile ] || exit 0; \
8667 r=`${PWD_COMMAND}`; export r; \
8668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8669 $(SET_LIB_PATH) \
8670 $(HOST_EXPORTS) \
8671 for flag in $(EXTRA_HOST_FLAGS) ; do \
8672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8673 done; \
8674 echo "Doing html in fixincludes" ; \
8675 (cd fixincludes && \
8676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8678 "RANLIB=$${RANLIB}" \
8679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8680 html) \
8681 || exit 1
8683 @endif fixincludes
8685 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8686 maybe-TAGS-fixincludes:
8687 @if fixincludes
8688 maybe-TAGS-fixincludes: TAGS-fixincludes
8690 # fixincludes doesn't support TAGS.
8691 TAGS-fixincludes:
8693 @endif fixincludes
8695 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8696 maybe-install-info-fixincludes:
8697 @if fixincludes
8698 maybe-install-info-fixincludes: install-info-fixincludes
8700 # fixincludes doesn't support install-info.
8701 install-info-fixincludes:
8703 @endif fixincludes
8705 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8706 maybe-installcheck-fixincludes:
8707 @if fixincludes
8708 maybe-installcheck-fixincludes: installcheck-fixincludes
8710 # fixincludes doesn't support installcheck.
8711 installcheck-fixincludes:
8713 @endif fixincludes
8715 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8716 maybe-mostlyclean-fixincludes:
8717 @if fixincludes
8718 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8720 mostlyclean-fixincludes:
8721 @[ -f ./fixincludes/Makefile ] || exit 0; \
8722 r=`${PWD_COMMAND}`; export r; \
8723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8724 $(SET_LIB_PATH) \
8725 $(HOST_EXPORTS) \
8726 for flag in $(EXTRA_HOST_FLAGS) ; do \
8727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8728 done; \
8729 echo "Doing mostlyclean in fixincludes" ; \
8730 (cd fixincludes && \
8731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8733 "RANLIB=$${RANLIB}" \
8734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8735 mostlyclean) \
8736 || exit 1
8738 @endif fixincludes
8740 .PHONY: maybe-clean-fixincludes clean-fixincludes
8741 maybe-clean-fixincludes:
8742 @if fixincludes
8743 maybe-clean-fixincludes: clean-fixincludes
8745 clean-fixincludes:
8746 @[ -f ./fixincludes/Makefile ] || exit 0; \
8747 r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 $(SET_LIB_PATH) \
8750 $(HOST_EXPORTS) \
8751 for flag in $(EXTRA_HOST_FLAGS) ; do \
8752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8753 done; \
8754 echo "Doing clean in fixincludes" ; \
8755 (cd fixincludes && \
8756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8758 "RANLIB=$${RANLIB}" \
8759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8760 clean) \
8761 || exit 1
8763 @endif fixincludes
8765 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8766 maybe-distclean-fixincludes:
8767 @if fixincludes
8768 maybe-distclean-fixincludes: distclean-fixincludes
8770 distclean-fixincludes:
8771 @[ -f ./fixincludes/Makefile ] || exit 0; \
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8774 $(SET_LIB_PATH) \
8775 $(HOST_EXPORTS) \
8776 for flag in $(EXTRA_HOST_FLAGS) ; do \
8777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8778 done; \
8779 echo "Doing distclean in fixincludes" ; \
8780 (cd fixincludes && \
8781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8783 "RANLIB=$${RANLIB}" \
8784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8785 distclean) \
8786 || exit 1
8788 @endif fixincludes
8790 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8791 maybe-maintainer-clean-fixincludes:
8792 @if fixincludes
8793 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8795 maintainer-clean-fixincludes:
8796 @[ -f ./fixincludes/Makefile ] || exit 0; \
8797 r=`${PWD_COMMAND}`; export r; \
8798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799 $(SET_LIB_PATH) \
8800 $(HOST_EXPORTS) \
8801 for flag in $(EXTRA_HOST_FLAGS) ; do \
8802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8803 done; \
8804 echo "Doing maintainer-clean in fixincludes" ; \
8805 (cd fixincludes && \
8806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808 "RANLIB=$${RANLIB}" \
8809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8810 maintainer-clean) \
8811 || exit 1
8813 @endif fixincludes
8816 .PHONY: configure-flex maybe-configure-flex
8817 maybe-configure-flex:
8818 @if flex
8819 maybe-configure-flex: configure-flex
8820 configure-flex:
8821 @test ! -f flex/Makefile || exit 0; \
8822 [ -d flex ] || mkdir flex; \
8823 r=`${PWD_COMMAND}`; export r; \
8824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8825 $(HOST_EXPORTS) \
8826 echo Configuring in flex; \
8827 cd flex || exit 1; \
8828 case $(srcdir) in \
8829 \.) \
8830 srcdiroption="--srcdir=."; \
8831 libsrcdir=".";; \
8832 /* | [A-Za-z]:[\\/]*) \
8833 srcdiroption="--srcdir=$(srcdir)/flex"; \
8834 libsrcdir="$$s/flex";; \
8835 *) \
8836 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8837 libsrcdir="$$s/flex";; \
8838 esac; \
8839 $(SHELL) $${libsrcdir}/configure \
8840 $(HOST_CONFIGARGS) $${srcdiroption} \
8841 || exit 1
8842 @endif flex
8844 .PHONY: all-flex maybe-all-flex
8845 maybe-all-flex:
8846 @if flex
8847 TARGET-flex=all
8848 maybe-all-flex: all-flex
8849 all-flex: configure-flex
8850 @r=`${PWD_COMMAND}`; export r; \
8851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8852 $(SET_LIB_PATH) \
8853 $(HOST_EXPORTS) \
8854 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8855 $(TARGET-flex))
8856 @endif flex
8858 .PHONY: check-flex maybe-check-flex
8859 maybe-check-flex:
8860 @if flex
8861 maybe-check-flex: check-flex
8863 # This module is only tested in a native toolchain.
8864 check-flex:
8865 @if [ '$(host)' = '$(target)' ] ; then \
8866 r=`${PWD_COMMAND}`; export r; \
8867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8868 $(SET_LIB_PATH) \
8869 $(HOST_EXPORTS) \
8870 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8873 @endif flex
8875 .PHONY: install-flex maybe-install-flex
8876 maybe-install-flex:
8877 @if flex
8878 maybe-install-flex: install-flex
8880 install-flex: installdirs
8881 @r=`${PWD_COMMAND}`; export r; \
8882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8883 $(SET_LIB_PATH) \
8884 $(HOST_EXPORTS) \
8885 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8887 @endif flex
8889 # Other targets (info, dvi, etc.)
8891 .PHONY: maybe-info-flex info-flex
8892 maybe-info-flex:
8893 @if flex
8894 maybe-info-flex: info-flex
8896 info-flex: \
8897 configure-flex
8898 @[ -f ./flex/Makefile ] || exit 0; \
8899 r=`${PWD_COMMAND}`; export r; \
8900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8901 $(SET_LIB_PATH) \
8902 $(HOST_EXPORTS) \
8903 for flag in $(EXTRA_HOST_FLAGS) ; do \
8904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8905 done; \
8906 echo "Doing info in flex" ; \
8907 (cd flex && \
8908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8910 "RANLIB=$${RANLIB}" \
8911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8912 info) \
8913 || exit 1
8915 @endif flex
8917 .PHONY: maybe-dvi-flex dvi-flex
8918 maybe-dvi-flex:
8919 @if flex
8920 maybe-dvi-flex: dvi-flex
8922 dvi-flex: \
8923 configure-flex
8924 @[ -f ./flex/Makefile ] || exit 0; \
8925 r=`${PWD_COMMAND}`; export r; \
8926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8927 $(SET_LIB_PATH) \
8928 $(HOST_EXPORTS) \
8929 for flag in $(EXTRA_HOST_FLAGS) ; do \
8930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8931 done; \
8932 echo "Doing dvi in flex" ; \
8933 (cd flex && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8936 "RANLIB=$${RANLIB}" \
8937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8938 dvi) \
8939 || exit 1
8941 @endif flex
8943 .PHONY: maybe-html-flex html-flex
8944 maybe-html-flex:
8945 @if flex
8946 maybe-html-flex: html-flex
8948 html-flex: \
8949 configure-flex
8950 @[ -f ./flex/Makefile ] || exit 0; \
8951 r=`${PWD_COMMAND}`; export r; \
8952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8953 $(SET_LIB_PATH) \
8954 $(HOST_EXPORTS) \
8955 for flag in $(EXTRA_HOST_FLAGS) ; do \
8956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8957 done; \
8958 echo "Doing html in flex" ; \
8959 (cd flex && \
8960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8962 "RANLIB=$${RANLIB}" \
8963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8964 html) \
8965 || exit 1
8967 @endif flex
8969 .PHONY: maybe-TAGS-flex TAGS-flex
8970 maybe-TAGS-flex:
8971 @if flex
8972 maybe-TAGS-flex: TAGS-flex
8974 TAGS-flex: \
8975 configure-flex
8976 @[ -f ./flex/Makefile ] || exit 0; \
8977 r=`${PWD_COMMAND}`; export r; \
8978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8979 $(SET_LIB_PATH) \
8980 $(HOST_EXPORTS) \
8981 for flag in $(EXTRA_HOST_FLAGS) ; do \
8982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8983 done; \
8984 echo "Doing TAGS in flex" ; \
8985 (cd flex && \
8986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8988 "RANLIB=$${RANLIB}" \
8989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8990 TAGS) \
8991 || exit 1
8993 @endif flex
8995 .PHONY: maybe-install-info-flex install-info-flex
8996 maybe-install-info-flex:
8997 @if flex
8998 maybe-install-info-flex: install-info-flex
9000 install-info-flex: \
9001 configure-flex \
9002 info-flex
9003 @[ -f ./flex/Makefile ] || exit 0; \
9004 r=`${PWD_COMMAND}`; export r; \
9005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9006 $(SET_LIB_PATH) \
9007 $(HOST_EXPORTS) \
9008 for flag in $(EXTRA_HOST_FLAGS) ; do \
9009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9010 done; \
9011 echo "Doing install-info in flex" ; \
9012 (cd flex && \
9013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9015 "RANLIB=$${RANLIB}" \
9016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9017 install-info) \
9018 || exit 1
9020 @endif flex
9022 .PHONY: maybe-installcheck-flex installcheck-flex
9023 maybe-installcheck-flex:
9024 @if flex
9025 maybe-installcheck-flex: installcheck-flex
9027 installcheck-flex: \
9028 configure-flex
9029 @[ -f ./flex/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(SET_LIB_PATH) \
9033 $(HOST_EXPORTS) \
9034 for flag in $(EXTRA_HOST_FLAGS) ; do \
9035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9036 done; \
9037 echo "Doing installcheck in flex" ; \
9038 (cd flex && \
9039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9041 "RANLIB=$${RANLIB}" \
9042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9043 installcheck) \
9044 || exit 1
9046 @endif flex
9048 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9049 maybe-mostlyclean-flex:
9050 @if flex
9051 maybe-mostlyclean-flex: mostlyclean-flex
9053 mostlyclean-flex:
9054 @[ -f ./flex/Makefile ] || exit 0; \
9055 r=`${PWD_COMMAND}`; export r; \
9056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 $(SET_LIB_PATH) \
9058 $(HOST_EXPORTS) \
9059 for flag in $(EXTRA_HOST_FLAGS) ; do \
9060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9061 done; \
9062 echo "Doing mostlyclean in flex" ; \
9063 (cd flex && \
9064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9066 "RANLIB=$${RANLIB}" \
9067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9068 mostlyclean) \
9069 || exit 1
9071 @endif flex
9073 .PHONY: maybe-clean-flex clean-flex
9074 maybe-clean-flex:
9075 @if flex
9076 maybe-clean-flex: clean-flex
9078 clean-flex:
9079 @[ -f ./flex/Makefile ] || exit 0; \
9080 r=`${PWD_COMMAND}`; export r; \
9081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9082 $(SET_LIB_PATH) \
9083 $(HOST_EXPORTS) \
9084 for flag in $(EXTRA_HOST_FLAGS) ; do \
9085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9086 done; \
9087 echo "Doing clean in flex" ; \
9088 (cd flex && \
9089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9091 "RANLIB=$${RANLIB}" \
9092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9093 clean) \
9094 || exit 1
9096 @endif flex
9098 .PHONY: maybe-distclean-flex distclean-flex
9099 maybe-distclean-flex:
9100 @if flex
9101 maybe-distclean-flex: distclean-flex
9103 distclean-flex:
9104 @[ -f ./flex/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(SET_LIB_PATH) \
9108 $(HOST_EXPORTS) \
9109 for flag in $(EXTRA_HOST_FLAGS) ; do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 done; \
9112 echo "Doing distclean in flex" ; \
9113 (cd flex && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 distclean) \
9119 || exit 1
9121 @endif flex
9123 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9124 maybe-maintainer-clean-flex:
9125 @if flex
9126 maybe-maintainer-clean-flex: maintainer-clean-flex
9128 maintainer-clean-flex:
9129 @[ -f ./flex/Makefile ] || exit 0; \
9130 r=`${PWD_COMMAND}`; export r; \
9131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9132 $(SET_LIB_PATH) \
9133 $(HOST_EXPORTS) \
9134 for flag in $(EXTRA_HOST_FLAGS) ; do \
9135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9136 done; \
9137 echo "Doing maintainer-clean in flex" ; \
9138 (cd flex && \
9139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9141 "RANLIB=$${RANLIB}" \
9142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9143 maintainer-clean) \
9144 || exit 1
9146 @endif flex
9149 .PHONY: configure-gas maybe-configure-gas
9150 maybe-configure-gas:
9151 @if gas
9152 maybe-configure-gas: configure-gas
9153 configure-gas:
9154 @test -f stage_last && exit 0; \
9155 test ! -f gas/Makefile || exit 0; \
9156 [ -d gas ] || mkdir gas; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 echo Configuring in gas; \
9161 cd gas || exit 1; \
9162 case $(srcdir) in \
9163 \.) \
9164 srcdiroption="--srcdir=."; \
9165 libsrcdir=".";; \
9166 /* | [A-Za-z]:[\\/]*) \
9167 srcdiroption="--srcdir=$(srcdir)/gas"; \
9168 libsrcdir="$$s/gas";; \
9169 *) \
9170 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9171 libsrcdir="$$s/gas";; \
9172 esac; \
9173 $(SHELL) $${libsrcdir}/configure \
9174 $(HOST_CONFIGARGS) $${srcdiroption} \
9175 || exit 1
9176 @endif gas
9178 .PHONY: all-gas maybe-all-gas
9179 maybe-all-gas:
9180 @if gas
9181 TARGET-gas=all
9182 maybe-all-gas: all-gas
9183 all-gas: configure-gas
9184 @test -f stage_last && exit 0; \
9185 r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 $(SET_LIB_PATH) \
9188 $(HOST_EXPORTS) \
9189 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9190 $(TARGET-gas))
9191 @endif gas
9193 .PHONY: check-gas maybe-check-gas
9194 maybe-check-gas:
9195 @if gas
9196 maybe-check-gas: check-gas
9198 check-gas:
9199 @r=`${PWD_COMMAND}`; export r; \
9200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 $(SET_LIB_PATH) \
9202 $(HOST_EXPORTS) \
9203 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9205 @endif gas
9207 .PHONY: install-gas maybe-install-gas
9208 maybe-install-gas:
9209 @if gas
9210 maybe-install-gas: install-gas
9212 install-gas: installdirs
9213 @r=`${PWD_COMMAND}`; export r; \
9214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9215 $(SET_LIB_PATH) \
9216 $(HOST_EXPORTS) \
9217 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9219 @endif gas
9221 # Other targets (info, dvi, etc.)
9223 .PHONY: maybe-info-gas info-gas
9224 maybe-info-gas:
9225 @if gas
9226 maybe-info-gas: info-gas
9228 info-gas: \
9229 configure-gas
9230 @[ -f ./gas/Makefile ] || exit 0; \
9231 r=`${PWD_COMMAND}`; export r; \
9232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9233 $(SET_LIB_PATH) \
9234 $(HOST_EXPORTS) \
9235 for flag in $(EXTRA_HOST_FLAGS) ; do \
9236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9237 done; \
9238 echo "Doing info in gas" ; \
9239 (cd gas && \
9240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9242 "RANLIB=$${RANLIB}" \
9243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9244 info) \
9245 || exit 1
9247 @endif gas
9249 .PHONY: maybe-dvi-gas dvi-gas
9250 maybe-dvi-gas:
9251 @if gas
9252 maybe-dvi-gas: dvi-gas
9254 dvi-gas: \
9255 configure-gas
9256 @[ -f ./gas/Makefile ] || exit 0; \
9257 r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259 $(SET_LIB_PATH) \
9260 $(HOST_EXPORTS) \
9261 for flag in $(EXTRA_HOST_FLAGS) ; do \
9262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 done; \
9264 echo "Doing dvi in gas" ; \
9265 (cd gas && \
9266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9268 "RANLIB=$${RANLIB}" \
9269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9270 dvi) \
9271 || exit 1
9273 @endif gas
9275 .PHONY: maybe-html-gas html-gas
9276 maybe-html-gas:
9277 @if gas
9278 maybe-html-gas: html-gas
9280 html-gas: \
9281 configure-gas
9282 @[ -f ./gas/Makefile ] || exit 0; \
9283 r=`${PWD_COMMAND}`; export r; \
9284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9285 $(SET_LIB_PATH) \
9286 $(HOST_EXPORTS) \
9287 for flag in $(EXTRA_HOST_FLAGS) ; do \
9288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9289 done; \
9290 echo "Doing html in gas" ; \
9291 (cd gas && \
9292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9294 "RANLIB=$${RANLIB}" \
9295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9296 html) \
9297 || exit 1
9299 @endif gas
9301 .PHONY: maybe-TAGS-gas TAGS-gas
9302 maybe-TAGS-gas:
9303 @if gas
9304 maybe-TAGS-gas: TAGS-gas
9306 TAGS-gas: \
9307 configure-gas
9308 @[ -f ./gas/Makefile ] || exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9311 $(SET_LIB_PATH) \
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 TAGS in gas" ; \
9317 (cd gas && \
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 TAGS) \
9323 || exit 1
9325 @endif gas
9327 .PHONY: maybe-install-info-gas install-info-gas
9328 maybe-install-info-gas:
9329 @if gas
9330 maybe-install-info-gas: install-info-gas
9332 install-info-gas: \
9333 configure-gas \
9334 info-gas
9335 @[ -f ./gas/Makefile ] || exit 0; \
9336 r=`${PWD_COMMAND}`; export r; \
9337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338 $(SET_LIB_PATH) \
9339 $(HOST_EXPORTS) \
9340 for flag in $(EXTRA_HOST_FLAGS) ; do \
9341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9342 done; \
9343 echo "Doing install-info in gas" ; \
9344 (cd gas && \
9345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9347 "RANLIB=$${RANLIB}" \
9348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9349 install-info) \
9350 || exit 1
9352 @endif gas
9354 .PHONY: maybe-installcheck-gas installcheck-gas
9355 maybe-installcheck-gas:
9356 @if gas
9357 maybe-installcheck-gas: installcheck-gas
9359 installcheck-gas: \
9360 configure-gas
9361 @[ -f ./gas/Makefile ] || exit 0; \
9362 r=`${PWD_COMMAND}`; export r; \
9363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9364 $(SET_LIB_PATH) \
9365 $(HOST_EXPORTS) \
9366 for flag in $(EXTRA_HOST_FLAGS) ; do \
9367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9368 done; \
9369 echo "Doing installcheck in gas" ; \
9370 (cd gas && \
9371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9373 "RANLIB=$${RANLIB}" \
9374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9375 installcheck) \
9376 || exit 1
9378 @endif gas
9380 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9381 maybe-mostlyclean-gas:
9382 @if gas
9383 maybe-mostlyclean-gas: mostlyclean-gas
9385 mostlyclean-gas:
9386 @[ -f ./gas/Makefile ] || exit 0; \
9387 r=`${PWD_COMMAND}`; export r; \
9388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9389 $(SET_LIB_PATH) \
9390 $(HOST_EXPORTS) \
9391 for flag in $(EXTRA_HOST_FLAGS) ; do \
9392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9393 done; \
9394 echo "Doing mostlyclean in gas" ; \
9395 (cd gas && \
9396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9398 "RANLIB=$${RANLIB}" \
9399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9400 mostlyclean) \
9401 || exit 1
9403 @endif gas
9405 .PHONY: maybe-clean-gas clean-gas
9406 maybe-clean-gas:
9407 @if gas
9408 maybe-clean-gas: clean-gas
9410 clean-gas:
9411 @[ -f ./gas/Makefile ] || exit 0; \
9412 r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 $(SET_LIB_PATH) \
9415 $(HOST_EXPORTS) \
9416 for flag in $(EXTRA_HOST_FLAGS) ; do \
9417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9418 done; \
9419 echo "Doing clean in gas" ; \
9420 (cd gas && \
9421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9423 "RANLIB=$${RANLIB}" \
9424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9425 clean) \
9426 || exit 1
9428 @endif gas
9430 .PHONY: maybe-distclean-gas distclean-gas
9431 maybe-distclean-gas:
9432 @if gas
9433 maybe-distclean-gas: distclean-gas
9435 distclean-gas:
9436 @[ -f ./gas/Makefile ] || exit 0; \
9437 r=`${PWD_COMMAND}`; export r; \
9438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9439 $(SET_LIB_PATH) \
9440 $(HOST_EXPORTS) \
9441 for flag in $(EXTRA_HOST_FLAGS) ; do \
9442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9443 done; \
9444 echo "Doing distclean in gas" ; \
9445 (cd gas && \
9446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9448 "RANLIB=$${RANLIB}" \
9449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9450 distclean) \
9451 || exit 1
9453 @endif gas
9455 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9456 maybe-maintainer-clean-gas:
9457 @if gas
9458 maybe-maintainer-clean-gas: maintainer-clean-gas
9460 maintainer-clean-gas:
9461 @[ -f ./gas/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9464 $(SET_LIB_PATH) \
9465 $(HOST_EXPORTS) \
9466 for flag in $(EXTRA_HOST_FLAGS) ; do \
9467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9468 done; \
9469 echo "Doing maintainer-clean in gas" ; \
9470 (cd gas && \
9471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9473 "RANLIB=$${RANLIB}" \
9474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9475 maintainer-clean) \
9476 || exit 1
9478 @endif gas
9481 .PHONY: configure-gcc maybe-configure-gcc
9482 maybe-configure-gcc:
9483 @if gcc
9484 maybe-configure-gcc: configure-gcc
9485 configure-gcc:
9486 @test -f stage_last && exit 0; \
9487 test ! -f gcc/Makefile || exit 0; \
9488 [ -d gcc ] || mkdir gcc; \
9489 r=`${PWD_COMMAND}`; export r; \
9490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 $(HOST_EXPORTS) \
9492 echo Configuring in gcc; \
9493 cd gcc || exit 1; \
9494 case $(srcdir) in \
9495 \.) \
9496 srcdiroption="--srcdir=."; \
9497 libsrcdir=".";; \
9498 /* | [A-Za-z]:[\\/]*) \
9499 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9500 libsrcdir="$$s/gcc";; \
9501 *) \
9502 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9503 libsrcdir="$$s/gcc";; \
9504 esac; \
9505 $(SHELL) $${libsrcdir}/configure \
9506 $(HOST_CONFIGARGS) $${srcdiroption} \
9507 || exit 1
9508 @endif gcc
9510 .PHONY: all-gcc maybe-all-gcc
9511 maybe-all-gcc:
9512 @if gcc
9513 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9514 maybe-all-gcc: all-gcc
9515 all-gcc: configure-gcc
9516 @test -f stage_last && exit 0; \
9517 r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519 $(SET_LIB_PATH) \
9520 $(HOST_EXPORTS) \
9521 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9522 $(TARGET-gcc))
9523 @endif gcc
9525 .PHONY: check-gcc maybe-check-gcc
9526 maybe-check-gcc:
9527 @if gcc
9528 maybe-check-gcc: check-gcc
9530 check-gcc:
9531 @r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 $(SET_LIB_PATH) \
9534 $(HOST_EXPORTS) \
9535 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9537 @endif gcc
9539 .PHONY: install-gcc maybe-install-gcc
9540 maybe-install-gcc:
9541 @if gcc
9542 maybe-install-gcc: install-gcc
9544 install-gcc: installdirs
9545 @r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547 $(SET_LIB_PATH) \
9548 $(HOST_EXPORTS) \
9549 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9551 @endif gcc
9553 # Other targets (info, dvi, etc.)
9555 .PHONY: maybe-info-gcc info-gcc
9556 maybe-info-gcc:
9557 @if gcc
9558 maybe-info-gcc: info-gcc
9560 info-gcc: \
9561 configure-gcc
9562 @[ -f ./gcc/Makefile ] || exit 0; \
9563 r=`${PWD_COMMAND}`; export r; \
9564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9565 $(SET_LIB_PATH) \
9566 $(HOST_EXPORTS) \
9567 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9569 done; \
9570 echo "Doing info in gcc" ; \
9571 (cd gcc && \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9576 info) \
9577 || exit 1
9579 @endif gcc
9581 .PHONY: maybe-dvi-gcc dvi-gcc
9582 maybe-dvi-gcc:
9583 @if gcc
9584 maybe-dvi-gcc: dvi-gcc
9586 dvi-gcc: \
9587 configure-gcc
9588 @[ -f ./gcc/Makefile ] || exit 0; \
9589 r=`${PWD_COMMAND}`; export r; \
9590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9591 $(SET_LIB_PATH) \
9592 $(HOST_EXPORTS) \
9593 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 done; \
9596 echo "Doing dvi in gcc" ; \
9597 (cd gcc && \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9602 dvi) \
9603 || exit 1
9605 @endif gcc
9607 .PHONY: maybe-html-gcc html-gcc
9608 maybe-html-gcc:
9609 @if gcc
9610 maybe-html-gcc: html-gcc
9612 html-gcc: \
9613 configure-gcc
9614 @[ -f ./gcc/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 $(SET_LIB_PATH) \
9618 $(HOST_EXPORTS) \
9619 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621 done; \
9622 echo "Doing html in gcc" ; \
9623 (cd gcc && \
9624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626 "RANLIB=$${RANLIB}" \
9627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9628 html) \
9629 || exit 1
9631 @endif gcc
9633 .PHONY: maybe-TAGS-gcc TAGS-gcc
9634 maybe-TAGS-gcc:
9635 @if gcc
9636 maybe-TAGS-gcc: TAGS-gcc
9638 TAGS-gcc: \
9639 configure-gcc
9640 @[ -f ./gcc/Makefile ] || exit 0; \
9641 r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 $(SET_LIB_PATH) \
9644 $(HOST_EXPORTS) \
9645 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9647 done; \
9648 echo "Doing TAGS in gcc" ; \
9649 (cd gcc && \
9650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9652 "RANLIB=$${RANLIB}" \
9653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9654 TAGS) \
9655 || exit 1
9657 @endif gcc
9659 .PHONY: maybe-install-info-gcc install-info-gcc
9660 maybe-install-info-gcc:
9661 @if gcc
9662 maybe-install-info-gcc: install-info-gcc
9664 install-info-gcc: \
9665 configure-gcc \
9666 info-gcc
9667 @[ -f ./gcc/Makefile ] || exit 0; \
9668 r=`${PWD_COMMAND}`; export r; \
9669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670 $(SET_LIB_PATH) \
9671 $(HOST_EXPORTS) \
9672 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9674 done; \
9675 echo "Doing install-info in gcc" ; \
9676 (cd gcc && \
9677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9679 "RANLIB=$${RANLIB}" \
9680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9681 install-info) \
9682 || exit 1
9684 @endif gcc
9686 .PHONY: maybe-installcheck-gcc installcheck-gcc
9687 maybe-installcheck-gcc:
9688 @if gcc
9689 maybe-installcheck-gcc: installcheck-gcc
9691 installcheck-gcc: \
9692 configure-gcc
9693 @[ -f ./gcc/Makefile ] || exit 0; \
9694 r=`${PWD_COMMAND}`; export r; \
9695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9696 $(SET_LIB_PATH) \
9697 $(HOST_EXPORTS) \
9698 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9700 done; \
9701 echo "Doing installcheck in gcc" ; \
9702 (cd gcc && \
9703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9705 "RANLIB=$${RANLIB}" \
9706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9707 installcheck) \
9708 || exit 1
9710 @endif gcc
9712 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9713 maybe-mostlyclean-gcc:
9714 @if gcc
9715 maybe-mostlyclean-gcc: mostlyclean-gcc
9717 mostlyclean-gcc:
9718 @[ -f ./gcc/Makefile ] || exit 0; \
9719 r=`${PWD_COMMAND}`; export r; \
9720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9721 $(SET_LIB_PATH) \
9722 $(HOST_EXPORTS) \
9723 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9725 done; \
9726 echo "Doing mostlyclean in gcc" ; \
9727 (cd gcc && \
9728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9730 "RANLIB=$${RANLIB}" \
9731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9732 mostlyclean) \
9733 || exit 1
9735 @endif gcc
9737 .PHONY: maybe-clean-gcc clean-gcc
9738 maybe-clean-gcc:
9739 @if gcc
9740 maybe-clean-gcc: clean-gcc
9742 clean-gcc:
9743 @[ -f ./gcc/Makefile ] || exit 0; \
9744 r=`${PWD_COMMAND}`; export r; \
9745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9746 $(SET_LIB_PATH) \
9747 $(HOST_EXPORTS) \
9748 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9750 done; \
9751 echo "Doing clean in gcc" ; \
9752 (cd gcc && \
9753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9755 "RANLIB=$${RANLIB}" \
9756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9757 clean) \
9758 || exit 1
9760 @endif gcc
9762 .PHONY: maybe-distclean-gcc distclean-gcc
9763 maybe-distclean-gcc:
9764 @if gcc
9765 maybe-distclean-gcc: distclean-gcc
9767 distclean-gcc:
9768 @[ -f ./gcc/Makefile ] || exit 0; \
9769 r=`${PWD_COMMAND}`; export r; \
9770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9771 $(SET_LIB_PATH) \
9772 $(HOST_EXPORTS) \
9773 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9775 done; \
9776 echo "Doing distclean in gcc" ; \
9777 (cd gcc && \
9778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9780 "RANLIB=$${RANLIB}" \
9781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9782 distclean) \
9783 || exit 1
9785 @endif gcc
9787 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9788 maybe-maintainer-clean-gcc:
9789 @if gcc
9790 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9792 maintainer-clean-gcc:
9793 @[ -f ./gcc/Makefile ] || exit 0; \
9794 r=`${PWD_COMMAND}`; export r; \
9795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9796 $(SET_LIB_PATH) \
9797 $(HOST_EXPORTS) \
9798 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9800 done; \
9801 echo "Doing maintainer-clean in gcc" ; \
9802 (cd gcc && \
9803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9805 "RANLIB=$${RANLIB}" \
9806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9807 maintainer-clean) \
9808 || exit 1
9810 @endif gcc
9813 .PHONY: configure-gawk maybe-configure-gawk
9814 maybe-configure-gawk:
9815 @if gawk
9816 maybe-configure-gawk: configure-gawk
9817 configure-gawk:
9818 @test ! -f gawk/Makefile || exit 0; \
9819 [ -d gawk ] || mkdir gawk; \
9820 r=`${PWD_COMMAND}`; export r; \
9821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822 $(HOST_EXPORTS) \
9823 echo Configuring in gawk; \
9824 cd gawk || exit 1; \
9825 case $(srcdir) in \
9826 \.) \
9827 srcdiroption="--srcdir=."; \
9828 libsrcdir=".";; \
9829 /* | [A-Za-z]:[\\/]*) \
9830 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9831 libsrcdir="$$s/gawk";; \
9832 *) \
9833 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9834 libsrcdir="$$s/gawk";; \
9835 esac; \
9836 $(SHELL) $${libsrcdir}/configure \
9837 $(HOST_CONFIGARGS) $${srcdiroption} \
9838 || exit 1
9839 @endif gawk
9841 .PHONY: all-gawk maybe-all-gawk
9842 maybe-all-gawk:
9843 @if gawk
9844 TARGET-gawk=all
9845 maybe-all-gawk: all-gawk
9846 all-gawk: configure-gawk
9847 @r=`${PWD_COMMAND}`; export r; \
9848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9849 $(SET_LIB_PATH) \
9850 $(HOST_EXPORTS) \
9851 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9852 $(TARGET-gawk))
9853 @endif gawk
9855 .PHONY: check-gawk maybe-check-gawk
9856 maybe-check-gawk:
9857 @if gawk
9858 maybe-check-gawk: check-gawk
9860 check-gawk:
9861 @r=`${PWD_COMMAND}`; export r; \
9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9863 $(SET_LIB_PATH) \
9864 $(HOST_EXPORTS) \
9865 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9867 @endif gawk
9869 .PHONY: install-gawk maybe-install-gawk
9870 maybe-install-gawk:
9871 @if gawk
9872 maybe-install-gawk: install-gawk
9874 install-gawk: installdirs
9875 @r=`${PWD_COMMAND}`; export r; \
9876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9877 $(SET_LIB_PATH) \
9878 $(HOST_EXPORTS) \
9879 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9881 @endif gawk
9883 # Other targets (info, dvi, etc.)
9885 .PHONY: maybe-info-gawk info-gawk
9886 maybe-info-gawk:
9887 @if gawk
9888 maybe-info-gawk: info-gawk
9890 info-gawk: \
9891 configure-gawk
9892 @[ -f ./gawk/Makefile ] || exit 0; \
9893 r=`${PWD_COMMAND}`; export r; \
9894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9895 $(SET_LIB_PATH) \
9896 $(HOST_EXPORTS) \
9897 for flag in $(EXTRA_HOST_FLAGS) ; do \
9898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9899 done; \
9900 echo "Doing info in gawk" ; \
9901 (cd gawk && \
9902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9904 "RANLIB=$${RANLIB}" \
9905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9906 info) \
9907 || exit 1
9909 @endif gawk
9911 .PHONY: maybe-dvi-gawk dvi-gawk
9912 maybe-dvi-gawk:
9913 @if gawk
9914 maybe-dvi-gawk: dvi-gawk
9916 dvi-gawk: \
9917 configure-gawk
9918 @[ -f ./gawk/Makefile ] || exit 0; \
9919 r=`${PWD_COMMAND}`; export r; \
9920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9921 $(SET_LIB_PATH) \
9922 $(HOST_EXPORTS) \
9923 for flag in $(EXTRA_HOST_FLAGS) ; do \
9924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9925 done; \
9926 echo "Doing dvi in gawk" ; \
9927 (cd gawk && \
9928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9930 "RANLIB=$${RANLIB}" \
9931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9932 dvi) \
9933 || exit 1
9935 @endif gawk
9937 .PHONY: maybe-html-gawk html-gawk
9938 maybe-html-gawk:
9939 @if gawk
9940 maybe-html-gawk: html-gawk
9942 html-gawk: \
9943 configure-gawk
9944 @[ -f ./gawk/Makefile ] || exit 0; \
9945 r=`${PWD_COMMAND}`; export r; \
9946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9947 $(SET_LIB_PATH) \
9948 $(HOST_EXPORTS) \
9949 for flag in $(EXTRA_HOST_FLAGS) ; do \
9950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9951 done; \
9952 echo "Doing html in gawk" ; \
9953 (cd gawk && \
9954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9956 "RANLIB=$${RANLIB}" \
9957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9958 html) \
9959 || exit 1
9961 @endif gawk
9963 .PHONY: maybe-TAGS-gawk TAGS-gawk
9964 maybe-TAGS-gawk:
9965 @if gawk
9966 maybe-TAGS-gawk: TAGS-gawk
9968 TAGS-gawk: \
9969 configure-gawk
9970 @[ -f ./gawk/Makefile ] || exit 0; \
9971 r=`${PWD_COMMAND}`; export r; \
9972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9973 $(SET_LIB_PATH) \
9974 $(HOST_EXPORTS) \
9975 for flag in $(EXTRA_HOST_FLAGS) ; do \
9976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9977 done; \
9978 echo "Doing TAGS in gawk" ; \
9979 (cd gawk && \
9980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9982 "RANLIB=$${RANLIB}" \
9983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9984 TAGS) \
9985 || exit 1
9987 @endif gawk
9989 .PHONY: maybe-install-info-gawk install-info-gawk
9990 maybe-install-info-gawk:
9991 @if gawk
9992 maybe-install-info-gawk: install-info-gawk
9994 install-info-gawk: \
9995 configure-gawk \
9996 info-gawk
9997 @[ -f ./gawk/Makefile ] || exit 0; \
9998 r=`${PWD_COMMAND}`; export r; \
9999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 $(SET_LIB_PATH) \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing install-info in gawk" ; \
10006 (cd gawk && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 install-info) \
10012 || exit 1
10014 @endif gawk
10016 .PHONY: maybe-installcheck-gawk installcheck-gawk
10017 maybe-installcheck-gawk:
10018 @if gawk
10019 maybe-installcheck-gawk: installcheck-gawk
10021 installcheck-gawk: \
10022 configure-gawk
10023 @[ -f ./gawk/Makefile ] || exit 0; \
10024 r=`${PWD_COMMAND}`; export r; \
10025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10026 $(SET_LIB_PATH) \
10027 $(HOST_EXPORTS) \
10028 for flag in $(EXTRA_HOST_FLAGS) ; do \
10029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10030 done; \
10031 echo "Doing installcheck in gawk" ; \
10032 (cd gawk && \
10033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10035 "RANLIB=$${RANLIB}" \
10036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10037 installcheck) \
10038 || exit 1
10040 @endif gawk
10042 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10043 maybe-mostlyclean-gawk:
10044 @if gawk
10045 maybe-mostlyclean-gawk: mostlyclean-gawk
10047 mostlyclean-gawk:
10048 @[ -f ./gawk/Makefile ] || exit 0; \
10049 r=`${PWD_COMMAND}`; export r; \
10050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10051 $(SET_LIB_PATH) \
10052 $(HOST_EXPORTS) \
10053 for flag in $(EXTRA_HOST_FLAGS) ; do \
10054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10055 done; \
10056 echo "Doing mostlyclean in gawk" ; \
10057 (cd gawk && \
10058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10060 "RANLIB=$${RANLIB}" \
10061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10062 mostlyclean) \
10063 || exit 1
10065 @endif gawk
10067 .PHONY: maybe-clean-gawk clean-gawk
10068 maybe-clean-gawk:
10069 @if gawk
10070 maybe-clean-gawk: clean-gawk
10072 clean-gawk:
10073 @[ -f ./gawk/Makefile ] || exit 0; \
10074 r=`${PWD_COMMAND}`; export r; \
10075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10076 $(SET_LIB_PATH) \
10077 $(HOST_EXPORTS) \
10078 for flag in $(EXTRA_HOST_FLAGS) ; do \
10079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 done; \
10081 echo "Doing clean in gawk" ; \
10082 (cd gawk && \
10083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10085 "RANLIB=$${RANLIB}" \
10086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10087 clean) \
10088 || exit 1
10090 @endif gawk
10092 .PHONY: maybe-distclean-gawk distclean-gawk
10093 maybe-distclean-gawk:
10094 @if gawk
10095 maybe-distclean-gawk: distclean-gawk
10097 distclean-gawk:
10098 @[ -f ./gawk/Makefile ] || exit 0; \
10099 r=`${PWD_COMMAND}`; export r; \
10100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10101 $(SET_LIB_PATH) \
10102 $(HOST_EXPORTS) \
10103 for flag in $(EXTRA_HOST_FLAGS) ; do \
10104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10105 done; \
10106 echo "Doing distclean in gawk" ; \
10107 (cd gawk && \
10108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10110 "RANLIB=$${RANLIB}" \
10111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10112 distclean) \
10113 || exit 1
10115 @endif gawk
10117 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10118 maybe-maintainer-clean-gawk:
10119 @if gawk
10120 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10122 maintainer-clean-gawk:
10123 @[ -f ./gawk/Makefile ] || exit 0; \
10124 r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126 $(SET_LIB_PATH) \
10127 $(HOST_EXPORTS) \
10128 for flag in $(EXTRA_HOST_FLAGS) ; do \
10129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10130 done; \
10131 echo "Doing maintainer-clean in gawk" ; \
10132 (cd gawk && \
10133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10135 "RANLIB=$${RANLIB}" \
10136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10137 maintainer-clean) \
10138 || exit 1
10140 @endif gawk
10143 .PHONY: configure-gettext maybe-configure-gettext
10144 maybe-configure-gettext:
10145 @if gettext
10146 maybe-configure-gettext: configure-gettext
10147 configure-gettext:
10148 @test ! -f gettext/Makefile || exit 0; \
10149 [ -d gettext ] || mkdir gettext; \
10150 r=`${PWD_COMMAND}`; export r; \
10151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 $(HOST_EXPORTS) \
10153 echo Configuring in gettext; \
10154 cd gettext || exit 1; \
10155 case $(srcdir) in \
10156 \.) \
10157 srcdiroption="--srcdir=."; \
10158 libsrcdir=".";; \
10159 /* | [A-Za-z]:[\\/]*) \
10160 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10161 libsrcdir="$$s/gettext";; \
10162 *) \
10163 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10164 libsrcdir="$$s/gettext";; \
10165 esac; \
10166 $(SHELL) $${libsrcdir}/configure \
10167 $(HOST_CONFIGARGS) $${srcdiroption} \
10168 || exit 1
10169 @endif gettext
10171 .PHONY: all-gettext maybe-all-gettext
10172 maybe-all-gettext:
10173 @if gettext
10174 TARGET-gettext=all
10175 maybe-all-gettext: all-gettext
10176 all-gettext: configure-gettext
10177 @r=`${PWD_COMMAND}`; export r; \
10178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10179 $(SET_LIB_PATH) \
10180 $(HOST_EXPORTS) \
10181 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10182 $(TARGET-gettext))
10183 @endif gettext
10185 .PHONY: check-gettext maybe-check-gettext
10186 maybe-check-gettext:
10187 @if gettext
10188 maybe-check-gettext: check-gettext
10190 check-gettext:
10191 @r=`${PWD_COMMAND}`; export r; \
10192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10193 $(SET_LIB_PATH) \
10194 $(HOST_EXPORTS) \
10195 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10197 @endif gettext
10199 .PHONY: install-gettext maybe-install-gettext
10200 maybe-install-gettext:
10201 @if gettext
10202 maybe-install-gettext: install-gettext
10204 install-gettext: installdirs
10205 @r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 $(SET_LIB_PATH) \
10208 $(HOST_EXPORTS) \
10209 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10211 @endif gettext
10213 # Other targets (info, dvi, etc.)
10215 .PHONY: maybe-info-gettext info-gettext
10216 maybe-info-gettext:
10217 @if gettext
10218 maybe-info-gettext: info-gettext
10220 info-gettext: \
10221 configure-gettext
10222 @[ -f ./gettext/Makefile ] || exit 0; \
10223 r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10225 $(SET_LIB_PATH) \
10226 $(HOST_EXPORTS) \
10227 for flag in $(EXTRA_HOST_FLAGS) ; do \
10228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 done; \
10230 echo "Doing info in gettext" ; \
10231 (cd gettext && \
10232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10234 "RANLIB=$${RANLIB}" \
10235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10236 info) \
10237 || exit 1
10239 @endif gettext
10241 .PHONY: maybe-dvi-gettext dvi-gettext
10242 maybe-dvi-gettext:
10243 @if gettext
10244 maybe-dvi-gettext: dvi-gettext
10246 dvi-gettext: \
10247 configure-gettext
10248 @[ -f ./gettext/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10251 $(SET_LIB_PATH) \
10252 $(HOST_EXPORTS) \
10253 for flag in $(EXTRA_HOST_FLAGS) ; do \
10254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10255 done; \
10256 echo "Doing dvi in gettext" ; \
10257 (cd gettext && \
10258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10260 "RANLIB=$${RANLIB}" \
10261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10262 dvi) \
10263 || exit 1
10265 @endif gettext
10267 .PHONY: maybe-html-gettext html-gettext
10268 maybe-html-gettext:
10269 @if gettext
10270 maybe-html-gettext: html-gettext
10272 html-gettext: \
10273 configure-gettext
10274 @[ -f ./gettext/Makefile ] || exit 0; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 $(SET_LIB_PATH) \
10278 $(HOST_EXPORTS) \
10279 for flag in $(EXTRA_HOST_FLAGS) ; do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10281 done; \
10282 echo "Doing html in gettext" ; \
10283 (cd gettext && \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10288 html) \
10289 || exit 1
10291 @endif gettext
10293 .PHONY: maybe-TAGS-gettext TAGS-gettext
10294 maybe-TAGS-gettext:
10295 @if gettext
10296 maybe-TAGS-gettext: TAGS-gettext
10298 TAGS-gettext: \
10299 configure-gettext
10300 @[ -f ./gettext/Makefile ] || exit 0; \
10301 r=`${PWD_COMMAND}`; export r; \
10302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10303 $(SET_LIB_PATH) \
10304 $(HOST_EXPORTS) \
10305 for flag in $(EXTRA_HOST_FLAGS) ; do \
10306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10307 done; \
10308 echo "Doing TAGS in gettext" ; \
10309 (cd gettext && \
10310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10312 "RANLIB=$${RANLIB}" \
10313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10314 TAGS) \
10315 || exit 1
10317 @endif gettext
10319 .PHONY: maybe-install-info-gettext install-info-gettext
10320 maybe-install-info-gettext:
10321 @if gettext
10322 maybe-install-info-gettext: install-info-gettext
10324 install-info-gettext: \
10325 configure-gettext \
10326 info-gettext
10327 @[ -f ./gettext/Makefile ] || exit 0; \
10328 r=`${PWD_COMMAND}`; export r; \
10329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10330 $(SET_LIB_PATH) \
10331 $(HOST_EXPORTS) \
10332 for flag in $(EXTRA_HOST_FLAGS) ; do \
10333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10334 done; \
10335 echo "Doing install-info in gettext" ; \
10336 (cd gettext && \
10337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10339 "RANLIB=$${RANLIB}" \
10340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10341 install-info) \
10342 || exit 1
10344 @endif gettext
10346 .PHONY: maybe-installcheck-gettext installcheck-gettext
10347 maybe-installcheck-gettext:
10348 @if gettext
10349 maybe-installcheck-gettext: installcheck-gettext
10351 installcheck-gettext: \
10352 configure-gettext
10353 @[ -f ./gettext/Makefile ] || exit 0; \
10354 r=`${PWD_COMMAND}`; export r; \
10355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 $(SET_LIB_PATH) \
10357 $(HOST_EXPORTS) \
10358 for flag in $(EXTRA_HOST_FLAGS) ; do \
10359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10360 done; \
10361 echo "Doing installcheck in gettext" ; \
10362 (cd gettext && \
10363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10365 "RANLIB=$${RANLIB}" \
10366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10367 installcheck) \
10368 || exit 1
10370 @endif gettext
10372 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10373 maybe-mostlyclean-gettext:
10374 @if gettext
10375 maybe-mostlyclean-gettext: mostlyclean-gettext
10377 mostlyclean-gettext:
10378 @[ -f ./gettext/Makefile ] || exit 0; \
10379 r=`${PWD_COMMAND}`; export r; \
10380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10381 $(SET_LIB_PATH) \
10382 $(HOST_EXPORTS) \
10383 for flag in $(EXTRA_HOST_FLAGS) ; do \
10384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10385 done; \
10386 echo "Doing mostlyclean in gettext" ; \
10387 (cd gettext && \
10388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10390 "RANLIB=$${RANLIB}" \
10391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10392 mostlyclean) \
10393 || exit 1
10395 @endif gettext
10397 .PHONY: maybe-clean-gettext clean-gettext
10398 maybe-clean-gettext:
10399 @if gettext
10400 maybe-clean-gettext: clean-gettext
10402 clean-gettext:
10403 @[ -f ./gettext/Makefile ] || exit 0; \
10404 r=`${PWD_COMMAND}`; export r; \
10405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10406 $(SET_LIB_PATH) \
10407 $(HOST_EXPORTS) \
10408 for flag in $(EXTRA_HOST_FLAGS) ; do \
10409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10410 done; \
10411 echo "Doing clean in gettext" ; \
10412 (cd gettext && \
10413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10415 "RANLIB=$${RANLIB}" \
10416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10417 clean) \
10418 || exit 1
10420 @endif gettext
10422 .PHONY: maybe-distclean-gettext distclean-gettext
10423 maybe-distclean-gettext:
10424 @if gettext
10425 maybe-distclean-gettext: distclean-gettext
10427 distclean-gettext:
10428 @[ -f ./gettext/Makefile ] || exit 0; \
10429 r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10431 $(SET_LIB_PATH) \
10432 $(HOST_EXPORTS) \
10433 for flag in $(EXTRA_HOST_FLAGS) ; do \
10434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10435 done; \
10436 echo "Doing distclean in gettext" ; \
10437 (cd gettext && \
10438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10440 "RANLIB=$${RANLIB}" \
10441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10442 distclean) \
10443 || exit 1
10445 @endif gettext
10447 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10448 maybe-maintainer-clean-gettext:
10449 @if gettext
10450 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10452 maintainer-clean-gettext:
10453 @[ -f ./gettext/Makefile ] || exit 0; \
10454 r=`${PWD_COMMAND}`; export r; \
10455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10456 $(SET_LIB_PATH) \
10457 $(HOST_EXPORTS) \
10458 for flag in $(EXTRA_HOST_FLAGS) ; do \
10459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10460 done; \
10461 echo "Doing maintainer-clean in gettext" ; \
10462 (cd gettext && \
10463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10465 "RANLIB=$${RANLIB}" \
10466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10467 maintainer-clean) \
10468 || exit 1
10470 @endif gettext
10473 .PHONY: configure-gnuserv maybe-configure-gnuserv
10474 maybe-configure-gnuserv:
10475 @if gnuserv
10476 maybe-configure-gnuserv: configure-gnuserv
10477 configure-gnuserv:
10478 @test ! -f gnuserv/Makefile || exit 0; \
10479 [ -d gnuserv ] || mkdir gnuserv; \
10480 r=`${PWD_COMMAND}`; export r; \
10481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10482 $(HOST_EXPORTS) \
10483 echo Configuring in gnuserv; \
10484 cd gnuserv || exit 1; \
10485 case $(srcdir) in \
10486 \.) \
10487 srcdiroption="--srcdir=."; \
10488 libsrcdir=".";; \
10489 /* | [A-Za-z]:[\\/]*) \
10490 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10491 libsrcdir="$$s/gnuserv";; \
10492 *) \
10493 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10494 libsrcdir="$$s/gnuserv";; \
10495 esac; \
10496 $(SHELL) $${libsrcdir}/configure \
10497 $(HOST_CONFIGARGS) $${srcdiroption} \
10498 || exit 1
10499 @endif gnuserv
10501 .PHONY: all-gnuserv maybe-all-gnuserv
10502 maybe-all-gnuserv:
10503 @if gnuserv
10504 TARGET-gnuserv=all
10505 maybe-all-gnuserv: all-gnuserv
10506 all-gnuserv: configure-gnuserv
10507 @r=`${PWD_COMMAND}`; export r; \
10508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10509 $(SET_LIB_PATH) \
10510 $(HOST_EXPORTS) \
10511 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10512 $(TARGET-gnuserv))
10513 @endif gnuserv
10515 .PHONY: check-gnuserv maybe-check-gnuserv
10516 maybe-check-gnuserv:
10517 @if gnuserv
10518 maybe-check-gnuserv: check-gnuserv
10520 check-gnuserv:
10521 @r=`${PWD_COMMAND}`; export r; \
10522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10523 $(SET_LIB_PATH) \
10524 $(HOST_EXPORTS) \
10525 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10527 @endif gnuserv
10529 .PHONY: install-gnuserv maybe-install-gnuserv
10530 maybe-install-gnuserv:
10531 @if gnuserv
10532 maybe-install-gnuserv: install-gnuserv
10534 install-gnuserv: installdirs
10535 @r=`${PWD_COMMAND}`; export r; \
10536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10537 $(SET_LIB_PATH) \
10538 $(HOST_EXPORTS) \
10539 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10541 @endif gnuserv
10543 # Other targets (info, dvi, etc.)
10545 .PHONY: maybe-info-gnuserv info-gnuserv
10546 maybe-info-gnuserv:
10547 @if gnuserv
10548 maybe-info-gnuserv: info-gnuserv
10550 info-gnuserv: \
10551 configure-gnuserv
10552 @[ -f ./gnuserv/Makefile ] || exit 0; \
10553 r=`${PWD_COMMAND}`; export r; \
10554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10555 $(SET_LIB_PATH) \
10556 $(HOST_EXPORTS) \
10557 for flag in $(EXTRA_HOST_FLAGS) ; do \
10558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10559 done; \
10560 echo "Doing info in gnuserv" ; \
10561 (cd gnuserv && \
10562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10564 "RANLIB=$${RANLIB}" \
10565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10566 info) \
10567 || exit 1
10569 @endif gnuserv
10571 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10572 maybe-dvi-gnuserv:
10573 @if gnuserv
10574 maybe-dvi-gnuserv: dvi-gnuserv
10576 dvi-gnuserv: \
10577 configure-gnuserv
10578 @[ -f ./gnuserv/Makefile ] || exit 0; \
10579 r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(SET_LIB_PATH) \
10582 $(HOST_EXPORTS) \
10583 for flag in $(EXTRA_HOST_FLAGS) ; do \
10584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10585 done; \
10586 echo "Doing dvi in gnuserv" ; \
10587 (cd gnuserv && \
10588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10590 "RANLIB=$${RANLIB}" \
10591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10592 dvi) \
10593 || exit 1
10595 @endif gnuserv
10597 .PHONY: maybe-html-gnuserv html-gnuserv
10598 maybe-html-gnuserv:
10599 @if gnuserv
10600 maybe-html-gnuserv: html-gnuserv
10602 html-gnuserv: \
10603 configure-gnuserv
10604 @[ -f ./gnuserv/Makefile ] || exit 0; \
10605 r=`${PWD_COMMAND}`; export r; \
10606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10607 $(SET_LIB_PATH) \
10608 $(HOST_EXPORTS) \
10609 for flag in $(EXTRA_HOST_FLAGS) ; do \
10610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10611 done; \
10612 echo "Doing html in gnuserv" ; \
10613 (cd gnuserv && \
10614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10616 "RANLIB=$${RANLIB}" \
10617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10618 html) \
10619 || exit 1
10621 @endif gnuserv
10623 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10624 maybe-TAGS-gnuserv:
10625 @if gnuserv
10626 maybe-TAGS-gnuserv: TAGS-gnuserv
10628 TAGS-gnuserv: \
10629 configure-gnuserv
10630 @[ -f ./gnuserv/Makefile ] || exit 0; \
10631 r=`${PWD_COMMAND}`; export r; \
10632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10633 $(SET_LIB_PATH) \
10634 $(HOST_EXPORTS) \
10635 for flag in $(EXTRA_HOST_FLAGS) ; do \
10636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10637 done; \
10638 echo "Doing TAGS in gnuserv" ; \
10639 (cd gnuserv && \
10640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10642 "RANLIB=$${RANLIB}" \
10643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10644 TAGS) \
10645 || exit 1
10647 @endif gnuserv
10649 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10650 maybe-install-info-gnuserv:
10651 @if gnuserv
10652 maybe-install-info-gnuserv: install-info-gnuserv
10654 install-info-gnuserv: \
10655 configure-gnuserv \
10656 info-gnuserv
10657 @[ -f ./gnuserv/Makefile ] || exit 0; \
10658 r=`${PWD_COMMAND}`; export r; \
10659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10660 $(SET_LIB_PATH) \
10661 $(HOST_EXPORTS) \
10662 for flag in $(EXTRA_HOST_FLAGS) ; do \
10663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10664 done; \
10665 echo "Doing install-info in gnuserv" ; \
10666 (cd gnuserv && \
10667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10669 "RANLIB=$${RANLIB}" \
10670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10671 install-info) \
10672 || exit 1
10674 @endif gnuserv
10676 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10677 maybe-installcheck-gnuserv:
10678 @if gnuserv
10679 maybe-installcheck-gnuserv: installcheck-gnuserv
10681 installcheck-gnuserv: \
10682 configure-gnuserv
10683 @[ -f ./gnuserv/Makefile ] || exit 0; \
10684 r=`${PWD_COMMAND}`; export r; \
10685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10686 $(SET_LIB_PATH) \
10687 $(HOST_EXPORTS) \
10688 for flag in $(EXTRA_HOST_FLAGS) ; do \
10689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10690 done; \
10691 echo "Doing installcheck in gnuserv" ; \
10692 (cd gnuserv && \
10693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10695 "RANLIB=$${RANLIB}" \
10696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10697 installcheck) \
10698 || exit 1
10700 @endif gnuserv
10702 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10703 maybe-mostlyclean-gnuserv:
10704 @if gnuserv
10705 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10707 mostlyclean-gnuserv:
10708 @[ -f ./gnuserv/Makefile ] || exit 0; \
10709 r=`${PWD_COMMAND}`; export r; \
10710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10711 $(SET_LIB_PATH) \
10712 $(HOST_EXPORTS) \
10713 for flag in $(EXTRA_HOST_FLAGS) ; do \
10714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10715 done; \
10716 echo "Doing mostlyclean in gnuserv" ; \
10717 (cd gnuserv && \
10718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10720 "RANLIB=$${RANLIB}" \
10721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10722 mostlyclean) \
10723 || exit 1
10725 @endif gnuserv
10727 .PHONY: maybe-clean-gnuserv clean-gnuserv
10728 maybe-clean-gnuserv:
10729 @if gnuserv
10730 maybe-clean-gnuserv: clean-gnuserv
10732 clean-gnuserv:
10733 @[ -f ./gnuserv/Makefile ] || exit 0; \
10734 r=`${PWD_COMMAND}`; export r; \
10735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10736 $(SET_LIB_PATH) \
10737 $(HOST_EXPORTS) \
10738 for flag in $(EXTRA_HOST_FLAGS) ; do \
10739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10740 done; \
10741 echo "Doing clean in gnuserv" ; \
10742 (cd gnuserv && \
10743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10745 "RANLIB=$${RANLIB}" \
10746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10747 clean) \
10748 || exit 1
10750 @endif gnuserv
10752 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10753 maybe-distclean-gnuserv:
10754 @if gnuserv
10755 maybe-distclean-gnuserv: distclean-gnuserv
10757 distclean-gnuserv:
10758 @[ -f ./gnuserv/Makefile ] || exit 0; \
10759 r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10761 $(SET_LIB_PATH) \
10762 $(HOST_EXPORTS) \
10763 for flag in $(EXTRA_HOST_FLAGS) ; do \
10764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10765 done; \
10766 echo "Doing distclean in gnuserv" ; \
10767 (cd gnuserv && \
10768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10770 "RANLIB=$${RANLIB}" \
10771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10772 distclean) \
10773 || exit 1
10775 @endif gnuserv
10777 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10778 maybe-maintainer-clean-gnuserv:
10779 @if gnuserv
10780 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10782 maintainer-clean-gnuserv:
10783 @[ -f ./gnuserv/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10786 $(SET_LIB_PATH) \
10787 $(HOST_EXPORTS) \
10788 for flag in $(EXTRA_HOST_FLAGS) ; do \
10789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10790 done; \
10791 echo "Doing maintainer-clean in gnuserv" ; \
10792 (cd gnuserv && \
10793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10795 "RANLIB=$${RANLIB}" \
10796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10797 maintainer-clean) \
10798 || exit 1
10800 @endif gnuserv
10803 .PHONY: configure-gprof maybe-configure-gprof
10804 maybe-configure-gprof:
10805 @if gprof
10806 maybe-configure-gprof: configure-gprof
10807 configure-gprof:
10808 @test ! -f gprof/Makefile || exit 0; \
10809 [ -d gprof ] || mkdir gprof; \
10810 r=`${PWD_COMMAND}`; export r; \
10811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10812 $(HOST_EXPORTS) \
10813 echo Configuring in gprof; \
10814 cd gprof || exit 1; \
10815 case $(srcdir) in \
10816 \.) \
10817 srcdiroption="--srcdir=."; \
10818 libsrcdir=".";; \
10819 /* | [A-Za-z]:[\\/]*) \
10820 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10821 libsrcdir="$$s/gprof";; \
10822 *) \
10823 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10824 libsrcdir="$$s/gprof";; \
10825 esac; \
10826 $(SHELL) $${libsrcdir}/configure \
10827 $(HOST_CONFIGARGS) $${srcdiroption} \
10828 || exit 1
10829 @endif gprof
10831 .PHONY: all-gprof maybe-all-gprof
10832 maybe-all-gprof:
10833 @if gprof
10834 TARGET-gprof=all
10835 maybe-all-gprof: all-gprof
10836 all-gprof: configure-gprof
10837 @r=`${PWD_COMMAND}`; export r; \
10838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10839 $(SET_LIB_PATH) \
10840 $(HOST_EXPORTS) \
10841 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10842 $(TARGET-gprof))
10843 @endif gprof
10845 .PHONY: check-gprof maybe-check-gprof
10846 maybe-check-gprof:
10847 @if gprof
10848 maybe-check-gprof: check-gprof
10850 check-gprof:
10851 @r=`${PWD_COMMAND}`; export r; \
10852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 $(SET_LIB_PATH) \
10854 $(HOST_EXPORTS) \
10855 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10857 @endif gprof
10859 .PHONY: install-gprof maybe-install-gprof
10860 maybe-install-gprof:
10861 @if gprof
10862 maybe-install-gprof: install-gprof
10864 install-gprof: installdirs
10865 @r=`${PWD_COMMAND}`; export r; \
10866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10867 $(SET_LIB_PATH) \
10868 $(HOST_EXPORTS) \
10869 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10871 @endif gprof
10873 # Other targets (info, dvi, etc.)
10875 .PHONY: maybe-info-gprof info-gprof
10876 maybe-info-gprof:
10877 @if gprof
10878 maybe-info-gprof: info-gprof
10880 info-gprof: \
10881 configure-gprof
10882 @[ -f ./gprof/Makefile ] || exit 0; \
10883 r=`${PWD_COMMAND}`; export r; \
10884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10885 $(SET_LIB_PATH) \
10886 $(HOST_EXPORTS) \
10887 for flag in $(EXTRA_HOST_FLAGS) ; do \
10888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 done; \
10890 echo "Doing info in gprof" ; \
10891 (cd gprof && \
10892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10894 "RANLIB=$${RANLIB}" \
10895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10896 info) \
10897 || exit 1
10899 @endif gprof
10901 .PHONY: maybe-dvi-gprof dvi-gprof
10902 maybe-dvi-gprof:
10903 @if gprof
10904 maybe-dvi-gprof: dvi-gprof
10906 dvi-gprof: \
10907 configure-gprof
10908 @[ -f ./gprof/Makefile ] || exit 0; \
10909 r=`${PWD_COMMAND}`; export r; \
10910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10911 $(SET_LIB_PATH) \
10912 $(HOST_EXPORTS) \
10913 for flag in $(EXTRA_HOST_FLAGS) ; do \
10914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10915 done; \
10916 echo "Doing dvi in gprof" ; \
10917 (cd gprof && \
10918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10920 "RANLIB=$${RANLIB}" \
10921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10922 dvi) \
10923 || exit 1
10925 @endif gprof
10927 .PHONY: maybe-html-gprof html-gprof
10928 maybe-html-gprof:
10929 @if gprof
10930 maybe-html-gprof: html-gprof
10932 html-gprof: \
10933 configure-gprof
10934 @[ -f ./gprof/Makefile ] || exit 0; \
10935 r=`${PWD_COMMAND}`; export r; \
10936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10937 $(SET_LIB_PATH) \
10938 $(HOST_EXPORTS) \
10939 for flag in $(EXTRA_HOST_FLAGS) ; do \
10940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10941 done; \
10942 echo "Doing html in gprof" ; \
10943 (cd gprof && \
10944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10946 "RANLIB=$${RANLIB}" \
10947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10948 html) \
10949 || exit 1
10951 @endif gprof
10953 .PHONY: maybe-TAGS-gprof TAGS-gprof
10954 maybe-TAGS-gprof:
10955 @if gprof
10956 maybe-TAGS-gprof: TAGS-gprof
10958 TAGS-gprof: \
10959 configure-gprof
10960 @[ -f ./gprof/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(SET_LIB_PATH) \
10964 $(HOST_EXPORTS) \
10965 for flag in $(EXTRA_HOST_FLAGS) ; do \
10966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10967 done; \
10968 echo "Doing TAGS in gprof" ; \
10969 (cd gprof && \
10970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10972 "RANLIB=$${RANLIB}" \
10973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10974 TAGS) \
10975 || exit 1
10977 @endif gprof
10979 .PHONY: maybe-install-info-gprof install-info-gprof
10980 maybe-install-info-gprof:
10981 @if gprof
10982 maybe-install-info-gprof: install-info-gprof
10984 install-info-gprof: \
10985 configure-gprof \
10986 info-gprof
10987 @[ -f ./gprof/Makefile ] || exit 0; \
10988 r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 $(SET_LIB_PATH) \
10991 $(HOST_EXPORTS) \
10992 for flag in $(EXTRA_HOST_FLAGS) ; do \
10993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10994 done; \
10995 echo "Doing install-info in gprof" ; \
10996 (cd gprof && \
10997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10999 "RANLIB=$${RANLIB}" \
11000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11001 install-info) \
11002 || exit 1
11004 @endif gprof
11006 .PHONY: maybe-installcheck-gprof installcheck-gprof
11007 maybe-installcheck-gprof:
11008 @if gprof
11009 maybe-installcheck-gprof: installcheck-gprof
11011 installcheck-gprof: \
11012 configure-gprof
11013 @[ -f ./gprof/Makefile ] || exit 0; \
11014 r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 $(SET_LIB_PATH) \
11017 $(HOST_EXPORTS) \
11018 for flag in $(EXTRA_HOST_FLAGS) ; do \
11019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11020 done; \
11021 echo "Doing installcheck in gprof" ; \
11022 (cd gprof && \
11023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11025 "RANLIB=$${RANLIB}" \
11026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11027 installcheck) \
11028 || exit 1
11030 @endif gprof
11032 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11033 maybe-mostlyclean-gprof:
11034 @if gprof
11035 maybe-mostlyclean-gprof: mostlyclean-gprof
11037 mostlyclean-gprof:
11038 @[ -f ./gprof/Makefile ] || exit 0; \
11039 r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 $(SET_LIB_PATH) \
11042 $(HOST_EXPORTS) \
11043 for flag in $(EXTRA_HOST_FLAGS) ; do \
11044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11045 done; \
11046 echo "Doing mostlyclean in gprof" ; \
11047 (cd gprof && \
11048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11050 "RANLIB=$${RANLIB}" \
11051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11052 mostlyclean) \
11053 || exit 1
11055 @endif gprof
11057 .PHONY: maybe-clean-gprof clean-gprof
11058 maybe-clean-gprof:
11059 @if gprof
11060 maybe-clean-gprof: clean-gprof
11062 clean-gprof:
11063 @[ -f ./gprof/Makefile ] || exit 0; \
11064 r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11066 $(SET_LIB_PATH) \
11067 $(HOST_EXPORTS) \
11068 for flag in $(EXTRA_HOST_FLAGS) ; do \
11069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11070 done; \
11071 echo "Doing clean in gprof" ; \
11072 (cd gprof && \
11073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11075 "RANLIB=$${RANLIB}" \
11076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11077 clean) \
11078 || exit 1
11080 @endif gprof
11082 .PHONY: maybe-distclean-gprof distclean-gprof
11083 maybe-distclean-gprof:
11084 @if gprof
11085 maybe-distclean-gprof: distclean-gprof
11087 distclean-gprof:
11088 @[ -f ./gprof/Makefile ] || exit 0; \
11089 r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11091 $(SET_LIB_PATH) \
11092 $(HOST_EXPORTS) \
11093 for flag in $(EXTRA_HOST_FLAGS) ; do \
11094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11095 done; \
11096 echo "Doing distclean in gprof" ; \
11097 (cd gprof && \
11098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11100 "RANLIB=$${RANLIB}" \
11101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11102 distclean) \
11103 || exit 1
11105 @endif gprof
11107 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11108 maybe-maintainer-clean-gprof:
11109 @if gprof
11110 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11112 maintainer-clean-gprof:
11113 @[ -f ./gprof/Makefile ] || exit 0; \
11114 r=`${PWD_COMMAND}`; export r; \
11115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11116 $(SET_LIB_PATH) \
11117 $(HOST_EXPORTS) \
11118 for flag in $(EXTRA_HOST_FLAGS) ; do \
11119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11120 done; \
11121 echo "Doing maintainer-clean in gprof" ; \
11122 (cd gprof && \
11123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11125 "RANLIB=$${RANLIB}" \
11126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11127 maintainer-clean) \
11128 || exit 1
11130 @endif gprof
11133 .PHONY: configure-gzip maybe-configure-gzip
11134 maybe-configure-gzip:
11135 @if gzip
11136 maybe-configure-gzip: configure-gzip
11137 configure-gzip:
11138 @test ! -f gzip/Makefile || exit 0; \
11139 [ -d gzip ] || mkdir gzip; \
11140 r=`${PWD_COMMAND}`; export r; \
11141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 $(HOST_EXPORTS) \
11143 echo Configuring in gzip; \
11144 cd gzip || exit 1; \
11145 case $(srcdir) in \
11146 \.) \
11147 srcdiroption="--srcdir=."; \
11148 libsrcdir=".";; \
11149 /* | [A-Za-z]:[\\/]*) \
11150 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11151 libsrcdir="$$s/gzip";; \
11152 *) \
11153 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11154 libsrcdir="$$s/gzip";; \
11155 esac; \
11156 $(SHELL) $${libsrcdir}/configure \
11157 $(HOST_CONFIGARGS) $${srcdiroption} \
11158 || exit 1
11159 @endif gzip
11161 .PHONY: all-gzip maybe-all-gzip
11162 maybe-all-gzip:
11163 @if gzip
11164 TARGET-gzip=all
11165 maybe-all-gzip: all-gzip
11166 all-gzip: configure-gzip
11167 @r=`${PWD_COMMAND}`; export r; \
11168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11169 $(SET_LIB_PATH) \
11170 $(HOST_EXPORTS) \
11171 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11172 $(TARGET-gzip))
11173 @endif gzip
11175 .PHONY: check-gzip maybe-check-gzip
11176 maybe-check-gzip:
11177 @if gzip
11178 maybe-check-gzip: check-gzip
11180 check-gzip:
11181 @r=`${PWD_COMMAND}`; export r; \
11182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 $(SET_LIB_PATH) \
11184 $(HOST_EXPORTS) \
11185 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11187 @endif gzip
11189 .PHONY: install-gzip maybe-install-gzip
11190 maybe-install-gzip:
11191 @if gzip
11192 maybe-install-gzip: install-gzip
11194 install-gzip: installdirs
11195 @r=`${PWD_COMMAND}`; export r; \
11196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11197 $(SET_LIB_PATH) \
11198 $(HOST_EXPORTS) \
11199 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11201 @endif gzip
11203 # Other targets (info, dvi, etc.)
11205 .PHONY: maybe-info-gzip info-gzip
11206 maybe-info-gzip:
11207 @if gzip
11208 maybe-info-gzip: info-gzip
11210 info-gzip: \
11211 configure-gzip
11212 @[ -f ./gzip/Makefile ] || exit 0; \
11213 r=`${PWD_COMMAND}`; export r; \
11214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11215 $(SET_LIB_PATH) \
11216 $(HOST_EXPORTS) \
11217 for flag in $(EXTRA_HOST_FLAGS) ; do \
11218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11219 done; \
11220 echo "Doing info in gzip" ; \
11221 (cd gzip && \
11222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11224 "RANLIB=$${RANLIB}" \
11225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11226 info) \
11227 || exit 1
11229 @endif gzip
11231 .PHONY: maybe-dvi-gzip dvi-gzip
11232 maybe-dvi-gzip:
11233 @if gzip
11234 maybe-dvi-gzip: dvi-gzip
11236 dvi-gzip: \
11237 configure-gzip
11238 @[ -f ./gzip/Makefile ] || exit 0; \
11239 r=`${PWD_COMMAND}`; export r; \
11240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11241 $(SET_LIB_PATH) \
11242 $(HOST_EXPORTS) \
11243 for flag in $(EXTRA_HOST_FLAGS) ; do \
11244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11245 done; \
11246 echo "Doing dvi in gzip" ; \
11247 (cd gzip && \
11248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11250 "RANLIB=$${RANLIB}" \
11251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11252 dvi) \
11253 || exit 1
11255 @endif gzip
11257 .PHONY: maybe-html-gzip html-gzip
11258 maybe-html-gzip:
11259 @if gzip
11260 maybe-html-gzip: html-gzip
11262 html-gzip: \
11263 configure-gzip
11264 @[ -f ./gzip/Makefile ] || exit 0; \
11265 r=`${PWD_COMMAND}`; export r; \
11266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11267 $(SET_LIB_PATH) \
11268 $(HOST_EXPORTS) \
11269 for flag in $(EXTRA_HOST_FLAGS) ; do \
11270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11271 done; \
11272 echo "Doing html in gzip" ; \
11273 (cd gzip && \
11274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11276 "RANLIB=$${RANLIB}" \
11277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11278 html) \
11279 || exit 1
11281 @endif gzip
11283 .PHONY: maybe-TAGS-gzip TAGS-gzip
11284 maybe-TAGS-gzip:
11285 @if gzip
11286 maybe-TAGS-gzip: TAGS-gzip
11288 TAGS-gzip: \
11289 configure-gzip
11290 @[ -f ./gzip/Makefile ] || exit 0; \
11291 r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11293 $(SET_LIB_PATH) \
11294 $(HOST_EXPORTS) \
11295 for flag in $(EXTRA_HOST_FLAGS) ; do \
11296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11297 done; \
11298 echo "Doing TAGS in gzip" ; \
11299 (cd gzip && \
11300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11302 "RANLIB=$${RANLIB}" \
11303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11304 TAGS) \
11305 || exit 1
11307 @endif gzip
11309 .PHONY: maybe-install-info-gzip install-info-gzip
11310 maybe-install-info-gzip:
11311 @if gzip
11312 maybe-install-info-gzip: install-info-gzip
11314 install-info-gzip: \
11315 configure-gzip \
11316 info-gzip
11317 @[ -f ./gzip/Makefile ] || exit 0; \
11318 r=`${PWD_COMMAND}`; export r; \
11319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11320 $(SET_LIB_PATH) \
11321 $(HOST_EXPORTS) \
11322 for flag in $(EXTRA_HOST_FLAGS) ; do \
11323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11324 done; \
11325 echo "Doing install-info in gzip" ; \
11326 (cd gzip && \
11327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11329 "RANLIB=$${RANLIB}" \
11330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11331 install-info) \
11332 || exit 1
11334 @endif gzip
11336 .PHONY: maybe-installcheck-gzip installcheck-gzip
11337 maybe-installcheck-gzip:
11338 @if gzip
11339 maybe-installcheck-gzip: installcheck-gzip
11341 installcheck-gzip: \
11342 configure-gzip
11343 @[ -f ./gzip/Makefile ] || exit 0; \
11344 r=`${PWD_COMMAND}`; export r; \
11345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11346 $(SET_LIB_PATH) \
11347 $(HOST_EXPORTS) \
11348 for flag in $(EXTRA_HOST_FLAGS) ; do \
11349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11350 done; \
11351 echo "Doing installcheck in gzip" ; \
11352 (cd gzip && \
11353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11355 "RANLIB=$${RANLIB}" \
11356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11357 installcheck) \
11358 || exit 1
11360 @endif gzip
11362 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11363 maybe-mostlyclean-gzip:
11364 @if gzip
11365 maybe-mostlyclean-gzip: mostlyclean-gzip
11367 mostlyclean-gzip:
11368 @[ -f ./gzip/Makefile ] || exit 0; \
11369 r=`${PWD_COMMAND}`; export r; \
11370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11371 $(SET_LIB_PATH) \
11372 $(HOST_EXPORTS) \
11373 for flag in $(EXTRA_HOST_FLAGS) ; do \
11374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11375 done; \
11376 echo "Doing mostlyclean in gzip" ; \
11377 (cd gzip && \
11378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11380 "RANLIB=$${RANLIB}" \
11381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11382 mostlyclean) \
11383 || exit 1
11385 @endif gzip
11387 .PHONY: maybe-clean-gzip clean-gzip
11388 maybe-clean-gzip:
11389 @if gzip
11390 maybe-clean-gzip: clean-gzip
11392 clean-gzip:
11393 @[ -f ./gzip/Makefile ] || exit 0; \
11394 r=`${PWD_COMMAND}`; export r; \
11395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11396 $(SET_LIB_PATH) \
11397 $(HOST_EXPORTS) \
11398 for flag in $(EXTRA_HOST_FLAGS) ; do \
11399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11400 done; \
11401 echo "Doing clean in gzip" ; \
11402 (cd gzip && \
11403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11405 "RANLIB=$${RANLIB}" \
11406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11407 clean) \
11408 || exit 1
11410 @endif gzip
11412 .PHONY: maybe-distclean-gzip distclean-gzip
11413 maybe-distclean-gzip:
11414 @if gzip
11415 maybe-distclean-gzip: distclean-gzip
11417 distclean-gzip:
11418 @[ -f ./gzip/Makefile ] || exit 0; \
11419 r=`${PWD_COMMAND}`; export r; \
11420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11421 $(SET_LIB_PATH) \
11422 $(HOST_EXPORTS) \
11423 for flag in $(EXTRA_HOST_FLAGS) ; do \
11424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11425 done; \
11426 echo "Doing distclean in gzip" ; \
11427 (cd gzip && \
11428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11430 "RANLIB=$${RANLIB}" \
11431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11432 distclean) \
11433 || exit 1
11435 @endif gzip
11437 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11438 maybe-maintainer-clean-gzip:
11439 @if gzip
11440 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11442 maintainer-clean-gzip:
11443 @[ -f ./gzip/Makefile ] || exit 0; \
11444 r=`${PWD_COMMAND}`; export r; \
11445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11446 $(SET_LIB_PATH) \
11447 $(HOST_EXPORTS) \
11448 for flag in $(EXTRA_HOST_FLAGS) ; do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 done; \
11451 echo "Doing maintainer-clean in gzip" ; \
11452 (cd gzip && \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11457 maintainer-clean) \
11458 || exit 1
11460 @endif gzip
11463 .PHONY: configure-hello maybe-configure-hello
11464 maybe-configure-hello:
11465 @if hello
11466 maybe-configure-hello: configure-hello
11467 configure-hello:
11468 @test ! -f hello/Makefile || exit 0; \
11469 [ -d hello ] || mkdir hello; \
11470 r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 $(HOST_EXPORTS) \
11473 echo Configuring in hello; \
11474 cd hello || exit 1; \
11475 case $(srcdir) in \
11476 \.) \
11477 srcdiroption="--srcdir=."; \
11478 libsrcdir=".";; \
11479 /* | [A-Za-z]:[\\/]*) \
11480 srcdiroption="--srcdir=$(srcdir)/hello"; \
11481 libsrcdir="$$s/hello";; \
11482 *) \
11483 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11484 libsrcdir="$$s/hello";; \
11485 esac; \
11486 $(SHELL) $${libsrcdir}/configure \
11487 $(HOST_CONFIGARGS) $${srcdiroption} \
11488 || exit 1
11489 @endif hello
11491 .PHONY: all-hello maybe-all-hello
11492 maybe-all-hello:
11493 @if hello
11494 TARGET-hello=all
11495 maybe-all-hello: all-hello
11496 all-hello: configure-hello
11497 @r=`${PWD_COMMAND}`; export r; \
11498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11499 $(SET_LIB_PATH) \
11500 $(HOST_EXPORTS) \
11501 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11502 $(TARGET-hello))
11503 @endif hello
11505 .PHONY: check-hello maybe-check-hello
11506 maybe-check-hello:
11507 @if hello
11508 maybe-check-hello: check-hello
11510 check-hello:
11511 @r=`${PWD_COMMAND}`; export r; \
11512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11513 $(SET_LIB_PATH) \
11514 $(HOST_EXPORTS) \
11515 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11517 @endif hello
11519 .PHONY: install-hello maybe-install-hello
11520 maybe-install-hello:
11521 @if hello
11522 maybe-install-hello: install-hello
11524 install-hello: installdirs
11525 @r=`${PWD_COMMAND}`; export r; \
11526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 $(SET_LIB_PATH) \
11528 $(HOST_EXPORTS) \
11529 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11531 @endif hello
11533 # Other targets (info, dvi, etc.)
11535 .PHONY: maybe-info-hello info-hello
11536 maybe-info-hello:
11537 @if hello
11538 maybe-info-hello: info-hello
11540 info-hello: \
11541 configure-hello
11542 @[ -f ./hello/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(SET_LIB_PATH) \
11546 $(HOST_EXPORTS) \
11547 for flag in $(EXTRA_HOST_FLAGS) ; do \
11548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11549 done; \
11550 echo "Doing info in hello" ; \
11551 (cd hello && \
11552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11554 "RANLIB=$${RANLIB}" \
11555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11556 info) \
11557 || exit 1
11559 @endif hello
11561 .PHONY: maybe-dvi-hello dvi-hello
11562 maybe-dvi-hello:
11563 @if hello
11564 maybe-dvi-hello: dvi-hello
11566 dvi-hello: \
11567 configure-hello
11568 @[ -f ./hello/Makefile ] || exit 0; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(SET_LIB_PATH) \
11572 $(HOST_EXPORTS) \
11573 for flag in $(EXTRA_HOST_FLAGS) ; do \
11574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11575 done; \
11576 echo "Doing dvi in hello" ; \
11577 (cd hello && \
11578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11580 "RANLIB=$${RANLIB}" \
11581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11582 dvi) \
11583 || exit 1
11585 @endif hello
11587 .PHONY: maybe-html-hello html-hello
11588 maybe-html-hello:
11589 @if hello
11590 maybe-html-hello: html-hello
11592 html-hello: \
11593 configure-hello
11594 @[ -f ./hello/Makefile ] || exit 0; \
11595 r=`${PWD_COMMAND}`; export r; \
11596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11597 $(SET_LIB_PATH) \
11598 $(HOST_EXPORTS) \
11599 for flag in $(EXTRA_HOST_FLAGS) ; do \
11600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11601 done; \
11602 echo "Doing html in hello" ; \
11603 (cd hello && \
11604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11606 "RANLIB=$${RANLIB}" \
11607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11608 html) \
11609 || exit 1
11611 @endif hello
11613 .PHONY: maybe-TAGS-hello TAGS-hello
11614 maybe-TAGS-hello:
11615 @if hello
11616 maybe-TAGS-hello: TAGS-hello
11618 TAGS-hello: \
11619 configure-hello
11620 @[ -f ./hello/Makefile ] || exit 0; \
11621 r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 $(SET_LIB_PATH) \
11624 $(HOST_EXPORTS) \
11625 for flag in $(EXTRA_HOST_FLAGS) ; do \
11626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11627 done; \
11628 echo "Doing TAGS in hello" ; \
11629 (cd hello && \
11630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11632 "RANLIB=$${RANLIB}" \
11633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11634 TAGS) \
11635 || exit 1
11637 @endif hello
11639 .PHONY: maybe-install-info-hello install-info-hello
11640 maybe-install-info-hello:
11641 @if hello
11642 maybe-install-info-hello: install-info-hello
11644 install-info-hello: \
11645 configure-hello \
11646 info-hello
11647 @[ -f ./hello/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(SET_LIB_PATH) \
11651 $(HOST_EXPORTS) \
11652 for flag in $(EXTRA_HOST_FLAGS) ; do \
11653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11654 done; \
11655 echo "Doing install-info in hello" ; \
11656 (cd hello && \
11657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11659 "RANLIB=$${RANLIB}" \
11660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11661 install-info) \
11662 || exit 1
11664 @endif hello
11666 .PHONY: maybe-installcheck-hello installcheck-hello
11667 maybe-installcheck-hello:
11668 @if hello
11669 maybe-installcheck-hello: installcheck-hello
11671 installcheck-hello: \
11672 configure-hello
11673 @[ -f ./hello/Makefile ] || exit 0; \
11674 r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 $(SET_LIB_PATH) \
11677 $(HOST_EXPORTS) \
11678 for flag in $(EXTRA_HOST_FLAGS) ; do \
11679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11680 done; \
11681 echo "Doing installcheck in hello" ; \
11682 (cd hello && \
11683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11685 "RANLIB=$${RANLIB}" \
11686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11687 installcheck) \
11688 || exit 1
11690 @endif hello
11692 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11693 maybe-mostlyclean-hello:
11694 @if hello
11695 maybe-mostlyclean-hello: mostlyclean-hello
11697 mostlyclean-hello:
11698 @[ -f ./hello/Makefile ] || exit 0; \
11699 r=`${PWD_COMMAND}`; export r; \
11700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11701 $(SET_LIB_PATH) \
11702 $(HOST_EXPORTS) \
11703 for flag in $(EXTRA_HOST_FLAGS) ; do \
11704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11705 done; \
11706 echo "Doing mostlyclean in hello" ; \
11707 (cd hello && \
11708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11710 "RANLIB=$${RANLIB}" \
11711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11712 mostlyclean) \
11713 || exit 1
11715 @endif hello
11717 .PHONY: maybe-clean-hello clean-hello
11718 maybe-clean-hello:
11719 @if hello
11720 maybe-clean-hello: clean-hello
11722 clean-hello:
11723 @[ -f ./hello/Makefile ] || exit 0; \
11724 r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 $(SET_LIB_PATH) \
11727 $(HOST_EXPORTS) \
11728 for flag in $(EXTRA_HOST_FLAGS) ; do \
11729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11730 done; \
11731 echo "Doing clean in hello" ; \
11732 (cd hello && \
11733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11735 "RANLIB=$${RANLIB}" \
11736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11737 clean) \
11738 || exit 1
11740 @endif hello
11742 .PHONY: maybe-distclean-hello distclean-hello
11743 maybe-distclean-hello:
11744 @if hello
11745 maybe-distclean-hello: distclean-hello
11747 distclean-hello:
11748 @[ -f ./hello/Makefile ] || exit 0; \
11749 r=`${PWD_COMMAND}`; export r; \
11750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11751 $(SET_LIB_PATH) \
11752 $(HOST_EXPORTS) \
11753 for flag in $(EXTRA_HOST_FLAGS) ; do \
11754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11755 done; \
11756 echo "Doing distclean in hello" ; \
11757 (cd hello && \
11758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11760 "RANLIB=$${RANLIB}" \
11761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11762 distclean) \
11763 || exit 1
11765 @endif hello
11767 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11768 maybe-maintainer-clean-hello:
11769 @if hello
11770 maybe-maintainer-clean-hello: maintainer-clean-hello
11772 maintainer-clean-hello:
11773 @[ -f ./hello/Makefile ] || exit 0; \
11774 r=`${PWD_COMMAND}`; export r; \
11775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11776 $(SET_LIB_PATH) \
11777 $(HOST_EXPORTS) \
11778 for flag in $(EXTRA_HOST_FLAGS) ; do \
11779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11780 done; \
11781 echo "Doing maintainer-clean in hello" ; \
11782 (cd hello && \
11783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11785 "RANLIB=$${RANLIB}" \
11786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11787 maintainer-clean) \
11788 || exit 1
11790 @endif hello
11793 .PHONY: configure-indent maybe-configure-indent
11794 maybe-configure-indent:
11795 @if indent
11796 maybe-configure-indent: configure-indent
11797 configure-indent:
11798 @test ! -f indent/Makefile || exit 0; \
11799 [ -d indent ] || mkdir indent; \
11800 r=`${PWD_COMMAND}`; export r; \
11801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11802 $(HOST_EXPORTS) \
11803 echo Configuring in indent; \
11804 cd indent || exit 1; \
11805 case $(srcdir) in \
11806 \.) \
11807 srcdiroption="--srcdir=."; \
11808 libsrcdir=".";; \
11809 /* | [A-Za-z]:[\\/]*) \
11810 srcdiroption="--srcdir=$(srcdir)/indent"; \
11811 libsrcdir="$$s/indent";; \
11812 *) \
11813 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11814 libsrcdir="$$s/indent";; \
11815 esac; \
11816 $(SHELL) $${libsrcdir}/configure \
11817 $(HOST_CONFIGARGS) $${srcdiroption} \
11818 || exit 1
11819 @endif indent
11821 .PHONY: all-indent maybe-all-indent
11822 maybe-all-indent:
11823 @if indent
11824 TARGET-indent=all
11825 maybe-all-indent: all-indent
11826 all-indent: configure-indent
11827 @r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 $(SET_LIB_PATH) \
11830 $(HOST_EXPORTS) \
11831 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11832 $(TARGET-indent))
11833 @endif indent
11835 .PHONY: check-indent maybe-check-indent
11836 maybe-check-indent:
11837 @if indent
11838 maybe-check-indent: check-indent
11840 check-indent:
11841 @r=`${PWD_COMMAND}`; export r; \
11842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11843 $(SET_LIB_PATH) \
11844 $(HOST_EXPORTS) \
11845 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11847 @endif indent
11849 .PHONY: install-indent maybe-install-indent
11850 maybe-install-indent:
11851 @if indent
11852 maybe-install-indent: install-indent
11854 install-indent: installdirs
11855 @r=`${PWD_COMMAND}`; export r; \
11856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857 $(SET_LIB_PATH) \
11858 $(HOST_EXPORTS) \
11859 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11861 @endif indent
11863 # Other targets (info, dvi, etc.)
11865 .PHONY: maybe-info-indent info-indent
11866 maybe-info-indent:
11867 @if indent
11868 maybe-info-indent: info-indent
11870 info-indent: \
11871 configure-indent
11872 @[ -f ./indent/Makefile ] || exit 0; \
11873 r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 $(SET_LIB_PATH) \
11876 $(HOST_EXPORTS) \
11877 for flag in $(EXTRA_HOST_FLAGS) ; do \
11878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11879 done; \
11880 echo "Doing info in indent" ; \
11881 (cd indent && \
11882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11884 "RANLIB=$${RANLIB}" \
11885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11886 info) \
11887 || exit 1
11889 @endif indent
11891 .PHONY: maybe-dvi-indent dvi-indent
11892 maybe-dvi-indent:
11893 @if indent
11894 maybe-dvi-indent: dvi-indent
11896 dvi-indent: \
11897 configure-indent
11898 @[ -f ./indent/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 $(SET_LIB_PATH) \
11902 $(HOST_EXPORTS) \
11903 for flag in $(EXTRA_HOST_FLAGS) ; do \
11904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11905 done; \
11906 echo "Doing dvi in indent" ; \
11907 (cd indent && \
11908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11910 "RANLIB=$${RANLIB}" \
11911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11912 dvi) \
11913 || exit 1
11915 @endif indent
11917 .PHONY: maybe-html-indent html-indent
11918 maybe-html-indent:
11919 @if indent
11920 maybe-html-indent: html-indent
11922 html-indent: \
11923 configure-indent
11924 @[ -f ./indent/Makefile ] || exit 0; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(SET_LIB_PATH) \
11928 $(HOST_EXPORTS) \
11929 for flag in $(EXTRA_HOST_FLAGS) ; do \
11930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11931 done; \
11932 echo "Doing html in indent" ; \
11933 (cd indent && \
11934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11936 "RANLIB=$${RANLIB}" \
11937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11938 html) \
11939 || exit 1
11941 @endif indent
11943 .PHONY: maybe-TAGS-indent TAGS-indent
11944 maybe-TAGS-indent:
11945 @if indent
11946 maybe-TAGS-indent: TAGS-indent
11948 TAGS-indent: \
11949 configure-indent
11950 @[ -f ./indent/Makefile ] || exit 0; \
11951 r=`${PWD_COMMAND}`; export r; \
11952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 $(SET_LIB_PATH) \
11954 $(HOST_EXPORTS) \
11955 for flag in $(EXTRA_HOST_FLAGS) ; do \
11956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11957 done; \
11958 echo "Doing TAGS in indent" ; \
11959 (cd indent && \
11960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11962 "RANLIB=$${RANLIB}" \
11963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11964 TAGS) \
11965 || exit 1
11967 @endif indent
11969 .PHONY: maybe-install-info-indent install-info-indent
11970 maybe-install-info-indent:
11971 @if indent
11972 maybe-install-info-indent: install-info-indent
11974 install-info-indent: \
11975 configure-indent \
11976 info-indent
11977 @[ -f ./indent/Makefile ] || exit 0; \
11978 r=`${PWD_COMMAND}`; export r; \
11979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11980 $(SET_LIB_PATH) \
11981 $(HOST_EXPORTS) \
11982 for flag in $(EXTRA_HOST_FLAGS) ; do \
11983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11984 done; \
11985 echo "Doing install-info in indent" ; \
11986 (cd indent && \
11987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11989 "RANLIB=$${RANLIB}" \
11990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11991 install-info) \
11992 || exit 1
11994 @endif indent
11996 .PHONY: maybe-installcheck-indent installcheck-indent
11997 maybe-installcheck-indent:
11998 @if indent
11999 maybe-installcheck-indent: installcheck-indent
12001 installcheck-indent: \
12002 configure-indent
12003 @[ -f ./indent/Makefile ] || exit 0; \
12004 r=`${PWD_COMMAND}`; export r; \
12005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12006 $(SET_LIB_PATH) \
12007 $(HOST_EXPORTS) \
12008 for flag in $(EXTRA_HOST_FLAGS) ; do \
12009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12010 done; \
12011 echo "Doing installcheck in indent" ; \
12012 (cd indent && \
12013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12015 "RANLIB=$${RANLIB}" \
12016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12017 installcheck) \
12018 || exit 1
12020 @endif indent
12022 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12023 maybe-mostlyclean-indent:
12024 @if indent
12025 maybe-mostlyclean-indent: mostlyclean-indent
12027 mostlyclean-indent:
12028 @[ -f ./indent/Makefile ] || exit 0; \
12029 r=`${PWD_COMMAND}`; export r; \
12030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12031 $(SET_LIB_PATH) \
12032 $(HOST_EXPORTS) \
12033 for flag in $(EXTRA_HOST_FLAGS) ; do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing mostlyclean in indent" ; \
12037 (cd indent && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12042 mostlyclean) \
12043 || exit 1
12045 @endif indent
12047 .PHONY: maybe-clean-indent clean-indent
12048 maybe-clean-indent:
12049 @if indent
12050 maybe-clean-indent: clean-indent
12052 clean-indent:
12053 @[ -f ./indent/Makefile ] || exit 0; \
12054 r=`${PWD_COMMAND}`; export r; \
12055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12056 $(SET_LIB_PATH) \
12057 $(HOST_EXPORTS) \
12058 for flag in $(EXTRA_HOST_FLAGS) ; do \
12059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12060 done; \
12061 echo "Doing clean in indent" ; \
12062 (cd indent && \
12063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12065 "RANLIB=$${RANLIB}" \
12066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12067 clean) \
12068 || exit 1
12070 @endif indent
12072 .PHONY: maybe-distclean-indent distclean-indent
12073 maybe-distclean-indent:
12074 @if indent
12075 maybe-distclean-indent: distclean-indent
12077 distclean-indent:
12078 @[ -f ./indent/Makefile ] || exit 0; \
12079 r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 $(SET_LIB_PATH) \
12082 $(HOST_EXPORTS) \
12083 for flag in $(EXTRA_HOST_FLAGS) ; do \
12084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12085 done; \
12086 echo "Doing distclean in indent" ; \
12087 (cd indent && \
12088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12090 "RANLIB=$${RANLIB}" \
12091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12092 distclean) \
12093 || exit 1
12095 @endif indent
12097 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12098 maybe-maintainer-clean-indent:
12099 @if indent
12100 maybe-maintainer-clean-indent: maintainer-clean-indent
12102 maintainer-clean-indent:
12103 @[ -f ./indent/Makefile ] || exit 0; \
12104 r=`${PWD_COMMAND}`; export r; \
12105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12106 $(SET_LIB_PATH) \
12107 $(HOST_EXPORTS) \
12108 for flag in $(EXTRA_HOST_FLAGS) ; do \
12109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12110 done; \
12111 echo "Doing maintainer-clean in indent" ; \
12112 (cd indent && \
12113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12115 "RANLIB=$${RANLIB}" \
12116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12117 maintainer-clean) \
12118 || exit 1
12120 @endif indent
12123 .PHONY: configure-intl maybe-configure-intl
12124 maybe-configure-intl:
12125 @if intl
12126 maybe-configure-intl: configure-intl
12127 configure-intl:
12128 @test -f stage_last && exit 0; \
12129 test ! -f intl/Makefile || exit 0; \
12130 [ -d intl ] || mkdir intl; \
12131 r=`${PWD_COMMAND}`; export r; \
12132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 $(HOST_EXPORTS) \
12134 echo Configuring in intl; \
12135 cd intl || exit 1; \
12136 case $(srcdir) in \
12137 \.) \
12138 srcdiroption="--srcdir=."; \
12139 libsrcdir=".";; \
12140 /* | [A-Za-z]:[\\/]*) \
12141 srcdiroption="--srcdir=$(srcdir)/intl"; \
12142 libsrcdir="$$s/intl";; \
12143 *) \
12144 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12145 libsrcdir="$$s/intl";; \
12146 esac; \
12147 $(SHELL) $${libsrcdir}/configure \
12148 $(HOST_CONFIGARGS) $${srcdiroption} \
12149 || exit 1
12150 @endif intl
12152 .PHONY: all-intl maybe-all-intl
12153 maybe-all-intl:
12154 @if intl
12155 TARGET-intl=all
12156 maybe-all-intl: all-intl
12157 all-intl: configure-intl
12158 @test -f stage_last && exit 0; \
12159 r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 $(SET_LIB_PATH) \
12162 $(HOST_EXPORTS) \
12163 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12164 $(TARGET-intl))
12165 @endif intl
12167 .PHONY: check-intl maybe-check-intl
12168 maybe-check-intl:
12169 @if intl
12170 maybe-check-intl: check-intl
12172 check-intl:
12173 @r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12175 $(SET_LIB_PATH) \
12176 $(HOST_EXPORTS) \
12177 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12179 @endif intl
12181 .PHONY: install-intl maybe-install-intl
12182 maybe-install-intl:
12183 @if intl
12184 maybe-install-intl: install-intl
12186 install-intl: installdirs
12187 @r=`${PWD_COMMAND}`; export r; \
12188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12189 $(SET_LIB_PATH) \
12190 $(HOST_EXPORTS) \
12191 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12193 @endif intl
12195 # Other targets (info, dvi, etc.)
12197 .PHONY: maybe-info-intl info-intl
12198 maybe-info-intl:
12199 @if intl
12200 maybe-info-intl: info-intl
12202 info-intl: \
12203 configure-intl
12204 @[ -f ./intl/Makefile ] || exit 0; \
12205 r=`${PWD_COMMAND}`; export r; \
12206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12207 $(SET_LIB_PATH) \
12208 $(HOST_EXPORTS) \
12209 for flag in $(EXTRA_HOST_FLAGS) ; do \
12210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12211 done; \
12212 echo "Doing info in intl" ; \
12213 (cd intl && \
12214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216 "RANLIB=$${RANLIB}" \
12217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12218 info) \
12219 || exit 1
12221 @endif intl
12223 .PHONY: maybe-dvi-intl dvi-intl
12224 maybe-dvi-intl:
12225 @if intl
12226 maybe-dvi-intl: dvi-intl
12228 dvi-intl: \
12229 configure-intl
12230 @[ -f ./intl/Makefile ] || exit 0; \
12231 r=`${PWD_COMMAND}`; export r; \
12232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12233 $(SET_LIB_PATH) \
12234 $(HOST_EXPORTS) \
12235 for flag in $(EXTRA_HOST_FLAGS) ; do \
12236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12237 done; \
12238 echo "Doing dvi in intl" ; \
12239 (cd intl && \
12240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12242 "RANLIB=$${RANLIB}" \
12243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12244 dvi) \
12245 || exit 1
12247 @endif intl
12249 .PHONY: maybe-html-intl html-intl
12250 maybe-html-intl:
12251 @if intl
12252 maybe-html-intl: html-intl
12254 html-intl: \
12255 configure-intl
12256 @[ -f ./intl/Makefile ] || exit 0; \
12257 r=`${PWD_COMMAND}`; export r; \
12258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12259 $(SET_LIB_PATH) \
12260 $(HOST_EXPORTS) \
12261 for flag in $(EXTRA_HOST_FLAGS) ; do \
12262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12263 done; \
12264 echo "Doing html in intl" ; \
12265 (cd intl && \
12266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12268 "RANLIB=$${RANLIB}" \
12269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 html) \
12271 || exit 1
12273 @endif intl
12275 .PHONY: maybe-TAGS-intl TAGS-intl
12276 maybe-TAGS-intl:
12277 @if intl
12278 maybe-TAGS-intl: TAGS-intl
12280 TAGS-intl: \
12281 configure-intl
12282 @[ -f ./intl/Makefile ] || exit 0; \
12283 r=`${PWD_COMMAND}`; export r; \
12284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12285 $(SET_LIB_PATH) \
12286 $(HOST_EXPORTS) \
12287 for flag in $(EXTRA_HOST_FLAGS) ; do \
12288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12289 done; \
12290 echo "Doing TAGS in intl" ; \
12291 (cd intl && \
12292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12294 "RANLIB=$${RANLIB}" \
12295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12296 TAGS) \
12297 || exit 1
12299 @endif intl
12301 .PHONY: maybe-install-info-intl install-info-intl
12302 maybe-install-info-intl:
12303 @if intl
12304 maybe-install-info-intl: install-info-intl
12306 install-info-intl: \
12307 configure-intl \
12308 info-intl
12309 @[ -f ./intl/Makefile ] || exit 0; \
12310 r=`${PWD_COMMAND}`; export r; \
12311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12312 $(SET_LIB_PATH) \
12313 $(HOST_EXPORTS) \
12314 for flag in $(EXTRA_HOST_FLAGS) ; do \
12315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12316 done; \
12317 echo "Doing install-info in intl" ; \
12318 (cd intl && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12321 "RANLIB=$${RANLIB}" \
12322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12323 install-info) \
12324 || exit 1
12326 @endif intl
12328 .PHONY: maybe-installcheck-intl installcheck-intl
12329 maybe-installcheck-intl:
12330 @if intl
12331 maybe-installcheck-intl: installcheck-intl
12333 installcheck-intl: \
12334 configure-intl
12335 @[ -f ./intl/Makefile ] || exit 0; \
12336 r=`${PWD_COMMAND}`; export r; \
12337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12338 $(SET_LIB_PATH) \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing installcheck in intl" ; \
12344 (cd intl && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12349 installcheck) \
12350 || exit 1
12352 @endif intl
12354 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12355 maybe-mostlyclean-intl:
12356 @if intl
12357 maybe-mostlyclean-intl: mostlyclean-intl
12359 mostlyclean-intl:
12360 @[ -f ./intl/Makefile ] || exit 0; \
12361 r=`${PWD_COMMAND}`; export r; \
12362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12363 $(SET_LIB_PATH) \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing mostlyclean in intl" ; \
12369 (cd intl && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12374 mostlyclean) \
12375 || exit 1
12377 @endif intl
12379 .PHONY: maybe-clean-intl clean-intl
12380 maybe-clean-intl:
12381 @if intl
12382 maybe-clean-intl: clean-intl
12384 clean-intl:
12385 @[ -f ./intl/Makefile ] || exit 0; \
12386 r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(SET_LIB_PATH) \
12389 $(HOST_EXPORTS) \
12390 for flag in $(EXTRA_HOST_FLAGS) ; do \
12391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12392 done; \
12393 echo "Doing clean in intl" ; \
12394 (cd intl && \
12395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12397 "RANLIB=$${RANLIB}" \
12398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12399 clean) \
12400 || exit 1
12402 @endif intl
12404 .PHONY: maybe-distclean-intl distclean-intl
12405 maybe-distclean-intl:
12406 @if intl
12407 maybe-distclean-intl: distclean-intl
12409 distclean-intl:
12410 @[ -f ./intl/Makefile ] || exit 0; \
12411 r=`${PWD_COMMAND}`; export r; \
12412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12413 $(SET_LIB_PATH) \
12414 $(HOST_EXPORTS) \
12415 for flag in $(EXTRA_HOST_FLAGS) ; do \
12416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12417 done; \
12418 echo "Doing distclean in intl" ; \
12419 (cd intl && \
12420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12422 "RANLIB=$${RANLIB}" \
12423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12424 distclean) \
12425 || exit 1
12427 @endif intl
12429 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12430 maybe-maintainer-clean-intl:
12431 @if intl
12432 maybe-maintainer-clean-intl: maintainer-clean-intl
12434 maintainer-clean-intl:
12435 @[ -f ./intl/Makefile ] || exit 0; \
12436 r=`${PWD_COMMAND}`; export r; \
12437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12438 $(SET_LIB_PATH) \
12439 $(HOST_EXPORTS) \
12440 for flag in $(EXTRA_HOST_FLAGS) ; do \
12441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12442 done; \
12443 echo "Doing maintainer-clean in intl" ; \
12444 (cd intl && \
12445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12447 "RANLIB=$${RANLIB}" \
12448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12449 maintainer-clean) \
12450 || exit 1
12452 @endif intl
12455 .PHONY: configure-tcl maybe-configure-tcl
12456 maybe-configure-tcl:
12457 @if tcl
12458 maybe-configure-tcl: configure-tcl
12459 configure-tcl:
12460 @test ! -f tcl/Makefile || exit 0; \
12461 [ -d tcl ] || mkdir tcl; \
12462 r=`${PWD_COMMAND}`; export r; \
12463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12464 $(HOST_EXPORTS) \
12465 echo Configuring in tcl; \
12466 cd tcl || exit 1; \
12467 case $(srcdir) in \
12468 \.) \
12469 srcdiroption="--srcdir=."; \
12470 libsrcdir=".";; \
12471 /* | [A-Za-z]:[\\/]*) \
12472 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12473 libsrcdir="$$s/tcl";; \
12474 *) \
12475 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12476 libsrcdir="$$s/tcl";; \
12477 esac; \
12478 $(SHELL) $${libsrcdir}/configure \
12479 $(HOST_CONFIGARGS) $${srcdiroption} \
12480 || exit 1
12481 @endif tcl
12483 .PHONY: all-tcl maybe-all-tcl
12484 maybe-all-tcl:
12485 @if tcl
12486 TARGET-tcl=all
12487 maybe-all-tcl: all-tcl
12488 all-tcl: configure-tcl
12489 @r=`${PWD_COMMAND}`; export r; \
12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12491 $(SET_LIB_PATH) \
12492 $(HOST_EXPORTS) \
12493 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12494 $(TARGET-tcl))
12495 @endif tcl
12497 .PHONY: check-tcl maybe-check-tcl
12498 maybe-check-tcl:
12499 @if tcl
12500 maybe-check-tcl: check-tcl
12502 check-tcl:
12503 @r=`${PWD_COMMAND}`; export r; \
12504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12505 $(SET_LIB_PATH) \
12506 $(HOST_EXPORTS) \
12507 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12509 @endif tcl
12511 .PHONY: install-tcl maybe-install-tcl
12512 maybe-install-tcl:
12513 @if tcl
12514 maybe-install-tcl: install-tcl
12516 install-tcl: installdirs
12517 @r=`${PWD_COMMAND}`; export r; \
12518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 $(SET_LIB_PATH) \
12520 $(HOST_EXPORTS) \
12521 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12523 @endif tcl
12525 # Other targets (info, dvi, etc.)
12527 .PHONY: maybe-info-tcl info-tcl
12528 maybe-info-tcl:
12529 @if tcl
12530 maybe-info-tcl: info-tcl
12532 info-tcl: \
12533 configure-tcl
12534 @[ -f ./tcl/Makefile ] || exit 0; \
12535 r=`${PWD_COMMAND}`; export r; \
12536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12537 $(SET_LIB_PATH) \
12538 $(HOST_EXPORTS) \
12539 for flag in $(EXTRA_HOST_FLAGS) ; do \
12540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12541 done; \
12542 echo "Doing info in tcl" ; \
12543 (cd tcl && \
12544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12546 "RANLIB=$${RANLIB}" \
12547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12548 info) \
12549 || exit 1
12551 @endif tcl
12553 .PHONY: maybe-dvi-tcl dvi-tcl
12554 maybe-dvi-tcl:
12555 @if tcl
12556 maybe-dvi-tcl: dvi-tcl
12558 dvi-tcl: \
12559 configure-tcl
12560 @[ -f ./tcl/Makefile ] || exit 0; \
12561 r=`${PWD_COMMAND}`; export r; \
12562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12563 $(SET_LIB_PATH) \
12564 $(HOST_EXPORTS) \
12565 for flag in $(EXTRA_HOST_FLAGS) ; do \
12566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12567 done; \
12568 echo "Doing dvi in tcl" ; \
12569 (cd tcl && \
12570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12572 "RANLIB=$${RANLIB}" \
12573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12574 dvi) \
12575 || exit 1
12577 @endif tcl
12579 .PHONY: maybe-html-tcl html-tcl
12580 maybe-html-tcl:
12581 @if tcl
12582 maybe-html-tcl: html-tcl
12584 html-tcl: \
12585 configure-tcl
12586 @[ -f ./tcl/Makefile ] || exit 0; \
12587 r=`${PWD_COMMAND}`; export r; \
12588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12589 $(SET_LIB_PATH) \
12590 $(HOST_EXPORTS) \
12591 for flag in $(EXTRA_HOST_FLAGS) ; do \
12592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12593 done; \
12594 echo "Doing html in tcl" ; \
12595 (cd tcl && \
12596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12598 "RANLIB=$${RANLIB}" \
12599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12600 html) \
12601 || exit 1
12603 @endif tcl
12605 .PHONY: maybe-TAGS-tcl TAGS-tcl
12606 maybe-TAGS-tcl:
12607 @if tcl
12608 maybe-TAGS-tcl: TAGS-tcl
12610 TAGS-tcl: \
12611 configure-tcl
12612 @[ -f ./tcl/Makefile ] || exit 0; \
12613 r=`${PWD_COMMAND}`; export r; \
12614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12615 $(SET_LIB_PATH) \
12616 $(HOST_EXPORTS) \
12617 for flag in $(EXTRA_HOST_FLAGS) ; do \
12618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12619 done; \
12620 echo "Doing TAGS in tcl" ; \
12621 (cd tcl && \
12622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12624 "RANLIB=$${RANLIB}" \
12625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12626 TAGS) \
12627 || exit 1
12629 @endif tcl
12631 .PHONY: maybe-install-info-tcl install-info-tcl
12632 maybe-install-info-tcl:
12633 @if tcl
12634 maybe-install-info-tcl: install-info-tcl
12636 install-info-tcl: \
12637 configure-tcl \
12638 info-tcl
12639 @[ -f ./tcl/Makefile ] || exit 0; \
12640 r=`${PWD_COMMAND}`; export r; \
12641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12642 $(SET_LIB_PATH) \
12643 $(HOST_EXPORTS) \
12644 for flag in $(EXTRA_HOST_FLAGS) ; do \
12645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12646 done; \
12647 echo "Doing install-info in tcl" ; \
12648 (cd tcl && \
12649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12651 "RANLIB=$${RANLIB}" \
12652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12653 install-info) \
12654 || exit 1
12656 @endif tcl
12658 .PHONY: maybe-installcheck-tcl installcheck-tcl
12659 maybe-installcheck-tcl:
12660 @if tcl
12661 maybe-installcheck-tcl: installcheck-tcl
12663 installcheck-tcl: \
12664 configure-tcl
12665 @[ -f ./tcl/Makefile ] || exit 0; \
12666 r=`${PWD_COMMAND}`; export r; \
12667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12668 $(SET_LIB_PATH) \
12669 $(HOST_EXPORTS) \
12670 for flag in $(EXTRA_HOST_FLAGS) ; do \
12671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12672 done; \
12673 echo "Doing installcheck in tcl" ; \
12674 (cd tcl && \
12675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12677 "RANLIB=$${RANLIB}" \
12678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12679 installcheck) \
12680 || exit 1
12682 @endif tcl
12684 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12685 maybe-mostlyclean-tcl:
12686 @if tcl
12687 maybe-mostlyclean-tcl: mostlyclean-tcl
12689 # tcl doesn't support mostlyclean.
12690 mostlyclean-tcl:
12692 @endif tcl
12694 .PHONY: maybe-clean-tcl clean-tcl
12695 maybe-clean-tcl:
12696 @if tcl
12697 maybe-clean-tcl: clean-tcl
12699 clean-tcl:
12700 @[ -f ./tcl/Makefile ] || exit 0; \
12701 r=`${PWD_COMMAND}`; export r; \
12702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12703 $(SET_LIB_PATH) \
12704 $(HOST_EXPORTS) \
12705 for flag in $(EXTRA_HOST_FLAGS) ; do \
12706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12707 done; \
12708 echo "Doing clean in tcl" ; \
12709 (cd tcl && \
12710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12712 "RANLIB=$${RANLIB}" \
12713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12714 clean) \
12715 || exit 1
12717 @endif tcl
12719 .PHONY: maybe-distclean-tcl distclean-tcl
12720 maybe-distclean-tcl:
12721 @if tcl
12722 maybe-distclean-tcl: distclean-tcl
12724 distclean-tcl:
12725 @[ -f ./tcl/Makefile ] || exit 0; \
12726 r=`${PWD_COMMAND}`; export r; \
12727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12728 $(SET_LIB_PATH) \
12729 $(HOST_EXPORTS) \
12730 for flag in $(EXTRA_HOST_FLAGS) ; do \
12731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12732 done; \
12733 echo "Doing distclean in tcl" ; \
12734 (cd tcl && \
12735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12737 "RANLIB=$${RANLIB}" \
12738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12739 distclean) \
12740 || exit 1
12742 @endif tcl
12744 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12745 maybe-maintainer-clean-tcl:
12746 @if tcl
12747 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12749 maintainer-clean-tcl:
12750 @[ -f ./tcl/Makefile ] || exit 0; \
12751 r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(SET_LIB_PATH) \
12754 $(HOST_EXPORTS) \
12755 for flag in $(EXTRA_HOST_FLAGS) ; do \
12756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12757 done; \
12758 echo "Doing maintainer-clean in tcl" ; \
12759 (cd tcl && \
12760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12762 "RANLIB=$${RANLIB}" \
12763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12764 maintainer-clean) \
12765 || exit 1
12767 @endif tcl
12770 .PHONY: configure-itcl maybe-configure-itcl
12771 maybe-configure-itcl:
12772 @if itcl
12773 maybe-configure-itcl: configure-itcl
12774 configure-itcl:
12775 @test ! -f itcl/Makefile || exit 0; \
12776 [ -d itcl ] || mkdir itcl; \
12777 r=`${PWD_COMMAND}`; export r; \
12778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12779 $(HOST_EXPORTS) \
12780 echo Configuring in itcl; \
12781 cd itcl || exit 1; \
12782 case $(srcdir) in \
12783 \.) \
12784 srcdiroption="--srcdir=."; \
12785 libsrcdir=".";; \
12786 /* | [A-Za-z]:[\\/]*) \
12787 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12788 libsrcdir="$$s/itcl";; \
12789 *) \
12790 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12791 libsrcdir="$$s/itcl";; \
12792 esac; \
12793 $(SHELL) $${libsrcdir}/configure \
12794 $(HOST_CONFIGARGS) $${srcdiroption} \
12795 || exit 1
12796 @endif itcl
12798 .PHONY: all-itcl maybe-all-itcl
12799 maybe-all-itcl:
12800 @if itcl
12801 TARGET-itcl=all
12802 maybe-all-itcl: all-itcl
12803 all-itcl: configure-itcl
12804 @r=`${PWD_COMMAND}`; export r; \
12805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12806 $(SET_LIB_PATH) \
12807 $(HOST_EXPORTS) \
12808 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12809 $(TARGET-itcl))
12810 @endif itcl
12812 .PHONY: check-itcl maybe-check-itcl
12813 maybe-check-itcl:
12814 @if itcl
12815 maybe-check-itcl: check-itcl
12817 check-itcl:
12818 @r=`${PWD_COMMAND}`; export r; \
12819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12820 $(SET_LIB_PATH) \
12821 $(HOST_EXPORTS) \
12822 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12824 @endif itcl
12826 .PHONY: install-itcl maybe-install-itcl
12827 maybe-install-itcl:
12828 @if itcl
12829 maybe-install-itcl: install-itcl
12831 install-itcl: installdirs
12832 @r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(SET_LIB_PATH) \
12835 $(HOST_EXPORTS) \
12836 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12838 @endif itcl
12840 # Other targets (info, dvi, etc.)
12842 .PHONY: maybe-info-itcl info-itcl
12843 maybe-info-itcl:
12844 @if itcl
12845 maybe-info-itcl: info-itcl
12847 info-itcl: \
12848 configure-itcl
12849 @[ -f ./itcl/Makefile ] || exit 0; \
12850 r=`${PWD_COMMAND}`; export r; \
12851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12852 $(SET_LIB_PATH) \
12853 $(HOST_EXPORTS) \
12854 for flag in $(EXTRA_HOST_FLAGS) ; do \
12855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12856 done; \
12857 echo "Doing info in itcl" ; \
12858 (cd itcl && \
12859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12861 "RANLIB=$${RANLIB}" \
12862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12863 info) \
12864 || exit 1
12866 @endif itcl
12868 .PHONY: maybe-dvi-itcl dvi-itcl
12869 maybe-dvi-itcl:
12870 @if itcl
12871 maybe-dvi-itcl: dvi-itcl
12873 dvi-itcl: \
12874 configure-itcl
12875 @[ -f ./itcl/Makefile ] || exit 0; \
12876 r=`${PWD_COMMAND}`; export r; \
12877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878 $(SET_LIB_PATH) \
12879 $(HOST_EXPORTS) \
12880 for flag in $(EXTRA_HOST_FLAGS) ; do \
12881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 done; \
12883 echo "Doing dvi in itcl" ; \
12884 (cd itcl && \
12885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12887 "RANLIB=$${RANLIB}" \
12888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12889 dvi) \
12890 || exit 1
12892 @endif itcl
12894 .PHONY: maybe-html-itcl html-itcl
12895 maybe-html-itcl:
12896 @if itcl
12897 maybe-html-itcl: html-itcl
12899 html-itcl: \
12900 configure-itcl
12901 @[ -f ./itcl/Makefile ] || exit 0; \
12902 r=`${PWD_COMMAND}`; export r; \
12903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 $(SET_LIB_PATH) \
12905 $(HOST_EXPORTS) \
12906 for flag in $(EXTRA_HOST_FLAGS) ; do \
12907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12908 done; \
12909 echo "Doing html in itcl" ; \
12910 (cd itcl && \
12911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12913 "RANLIB=$${RANLIB}" \
12914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12915 html) \
12916 || exit 1
12918 @endif itcl
12920 .PHONY: maybe-TAGS-itcl TAGS-itcl
12921 maybe-TAGS-itcl:
12922 @if itcl
12923 maybe-TAGS-itcl: TAGS-itcl
12925 TAGS-itcl: \
12926 configure-itcl
12927 @[ -f ./itcl/Makefile ] || exit 0; \
12928 r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 $(SET_LIB_PATH) \
12931 $(HOST_EXPORTS) \
12932 for flag in $(EXTRA_HOST_FLAGS) ; do \
12933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12934 done; \
12935 echo "Doing TAGS in itcl" ; \
12936 (cd itcl && \
12937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12939 "RANLIB=$${RANLIB}" \
12940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12941 TAGS) \
12942 || exit 1
12944 @endif itcl
12946 .PHONY: maybe-install-info-itcl install-info-itcl
12947 maybe-install-info-itcl:
12948 @if itcl
12949 maybe-install-info-itcl: install-info-itcl
12951 install-info-itcl: \
12952 configure-itcl \
12953 info-itcl
12954 @[ -f ./itcl/Makefile ] || exit 0; \
12955 r=`${PWD_COMMAND}`; export r; \
12956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 $(SET_LIB_PATH) \
12958 $(HOST_EXPORTS) \
12959 for flag in $(EXTRA_HOST_FLAGS) ; do \
12960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12961 done; \
12962 echo "Doing install-info in itcl" ; \
12963 (cd itcl && \
12964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12966 "RANLIB=$${RANLIB}" \
12967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12968 install-info) \
12969 || exit 1
12971 @endif itcl
12973 .PHONY: maybe-installcheck-itcl installcheck-itcl
12974 maybe-installcheck-itcl:
12975 @if itcl
12976 maybe-installcheck-itcl: installcheck-itcl
12978 installcheck-itcl: \
12979 configure-itcl
12980 @[ -f ./itcl/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(SET_LIB_PATH) \
12984 $(HOST_EXPORTS) \
12985 for flag in $(EXTRA_HOST_FLAGS) ; do \
12986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 done; \
12988 echo "Doing installcheck in itcl" ; \
12989 (cd itcl && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12992 "RANLIB=$${RANLIB}" \
12993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12994 installcheck) \
12995 || exit 1
12997 @endif itcl
12999 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13000 maybe-mostlyclean-itcl:
13001 @if itcl
13002 maybe-mostlyclean-itcl: mostlyclean-itcl
13004 mostlyclean-itcl:
13005 @[ -f ./itcl/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(SET_LIB_PATH) \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing mostlyclean in itcl" ; \
13014 (cd itcl && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 mostlyclean) \
13020 || exit 1
13022 @endif itcl
13024 .PHONY: maybe-clean-itcl clean-itcl
13025 maybe-clean-itcl:
13026 @if itcl
13027 maybe-clean-itcl: clean-itcl
13029 clean-itcl:
13030 @[ -f ./itcl/Makefile ] || exit 0; \
13031 r=`${PWD_COMMAND}`; export r; \
13032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13033 $(SET_LIB_PATH) \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) ; do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing clean in itcl" ; \
13039 (cd itcl && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13044 clean) \
13045 || exit 1
13047 @endif itcl
13049 .PHONY: maybe-distclean-itcl distclean-itcl
13050 maybe-distclean-itcl:
13051 @if itcl
13052 maybe-distclean-itcl: distclean-itcl
13054 distclean-itcl:
13055 @[ -f ./itcl/Makefile ] || exit 0; \
13056 r=`${PWD_COMMAND}`; export r; \
13057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13058 $(SET_LIB_PATH) \
13059 $(HOST_EXPORTS) \
13060 for flag in $(EXTRA_HOST_FLAGS) ; do \
13061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13062 done; \
13063 echo "Doing distclean in itcl" ; \
13064 (cd itcl && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13067 "RANLIB=$${RANLIB}" \
13068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13069 distclean) \
13070 || exit 1
13072 @endif itcl
13074 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13075 maybe-maintainer-clean-itcl:
13076 @if itcl
13077 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13079 maintainer-clean-itcl:
13080 @[ -f ./itcl/Makefile ] || exit 0; \
13081 r=`${PWD_COMMAND}`; export r; \
13082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13083 $(SET_LIB_PATH) \
13084 $(HOST_EXPORTS) \
13085 for flag in $(EXTRA_HOST_FLAGS) ; do \
13086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13087 done; \
13088 echo "Doing maintainer-clean in itcl" ; \
13089 (cd itcl && \
13090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13092 "RANLIB=$${RANLIB}" \
13093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13094 maintainer-clean) \
13095 || exit 1
13097 @endif itcl
13100 .PHONY: configure-ld maybe-configure-ld
13101 maybe-configure-ld:
13102 @if ld
13103 maybe-configure-ld: configure-ld
13104 configure-ld:
13105 @test -f stage_last && exit 0; \
13106 test ! -f ld/Makefile || exit 0; \
13107 [ -d ld ] || mkdir ld; \
13108 r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(HOST_EXPORTS) \
13111 echo Configuring in ld; \
13112 cd ld || exit 1; \
13113 case $(srcdir) in \
13114 \.) \
13115 srcdiroption="--srcdir=."; \
13116 libsrcdir=".";; \
13117 /* | [A-Za-z]:[\\/]*) \
13118 srcdiroption="--srcdir=$(srcdir)/ld"; \
13119 libsrcdir="$$s/ld";; \
13120 *) \
13121 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13122 libsrcdir="$$s/ld";; \
13123 esac; \
13124 $(SHELL) $${libsrcdir}/configure \
13125 $(HOST_CONFIGARGS) $${srcdiroption} \
13126 || exit 1
13127 @endif ld
13129 .PHONY: all-ld maybe-all-ld
13130 maybe-all-ld:
13131 @if ld
13132 TARGET-ld=all
13133 maybe-all-ld: all-ld
13134 all-ld: configure-ld
13135 @test -f stage_last && exit 0; \
13136 r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 $(SET_LIB_PATH) \
13139 $(HOST_EXPORTS) \
13140 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13141 $(TARGET-ld))
13142 @endif ld
13144 .PHONY: check-ld maybe-check-ld
13145 maybe-check-ld:
13146 @if ld
13147 maybe-check-ld: check-ld
13149 check-ld:
13150 @r=`${PWD_COMMAND}`; export r; \
13151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13152 $(SET_LIB_PATH) \
13153 $(HOST_EXPORTS) \
13154 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13156 @endif ld
13158 .PHONY: install-ld maybe-install-ld
13159 maybe-install-ld:
13160 @if ld
13161 maybe-install-ld: install-ld
13163 install-ld: installdirs
13164 @r=`${PWD_COMMAND}`; export r; \
13165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13166 $(SET_LIB_PATH) \
13167 $(HOST_EXPORTS) \
13168 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13170 @endif ld
13172 # Other targets (info, dvi, etc.)
13174 .PHONY: maybe-info-ld info-ld
13175 maybe-info-ld:
13176 @if ld
13177 maybe-info-ld: info-ld
13179 info-ld: \
13180 configure-ld
13181 @[ -f ./ld/Makefile ] || exit 0; \
13182 r=`${PWD_COMMAND}`; export r; \
13183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 $(SET_LIB_PATH) \
13185 $(HOST_EXPORTS) \
13186 for flag in $(EXTRA_HOST_FLAGS) ; do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13188 done; \
13189 echo "Doing info in ld" ; \
13190 (cd ld && \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13195 info) \
13196 || exit 1
13198 @endif ld
13200 .PHONY: maybe-dvi-ld dvi-ld
13201 maybe-dvi-ld:
13202 @if ld
13203 maybe-dvi-ld: dvi-ld
13205 dvi-ld: \
13206 configure-ld
13207 @[ -f ./ld/Makefile ] || exit 0; \
13208 r=`${PWD_COMMAND}`; export r; \
13209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13210 $(SET_LIB_PATH) \
13211 $(HOST_EXPORTS) \
13212 for flag in $(EXTRA_HOST_FLAGS) ; do \
13213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13214 done; \
13215 echo "Doing dvi in ld" ; \
13216 (cd ld && \
13217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13219 "RANLIB=$${RANLIB}" \
13220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13221 dvi) \
13222 || exit 1
13224 @endif ld
13226 .PHONY: maybe-html-ld html-ld
13227 maybe-html-ld:
13228 @if ld
13229 maybe-html-ld: html-ld
13231 html-ld: \
13232 configure-ld
13233 @[ -f ./ld/Makefile ] || exit 0; \
13234 r=`${PWD_COMMAND}`; export r; \
13235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13236 $(SET_LIB_PATH) \
13237 $(HOST_EXPORTS) \
13238 for flag in $(EXTRA_HOST_FLAGS) ; do \
13239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 done; \
13241 echo "Doing html in ld" ; \
13242 (cd ld && \
13243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13245 "RANLIB=$${RANLIB}" \
13246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13247 html) \
13248 || exit 1
13250 @endif ld
13252 .PHONY: maybe-TAGS-ld TAGS-ld
13253 maybe-TAGS-ld:
13254 @if ld
13255 maybe-TAGS-ld: TAGS-ld
13257 TAGS-ld: \
13258 configure-ld
13259 @[ -f ./ld/Makefile ] || exit 0; \
13260 r=`${PWD_COMMAND}`; export r; \
13261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13262 $(SET_LIB_PATH) \
13263 $(HOST_EXPORTS) \
13264 for flag in $(EXTRA_HOST_FLAGS) ; do \
13265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13266 done; \
13267 echo "Doing TAGS in ld" ; \
13268 (cd ld && \
13269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13271 "RANLIB=$${RANLIB}" \
13272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13273 TAGS) \
13274 || exit 1
13276 @endif ld
13278 .PHONY: maybe-install-info-ld install-info-ld
13279 maybe-install-info-ld:
13280 @if ld
13281 maybe-install-info-ld: install-info-ld
13283 install-info-ld: \
13284 configure-ld \
13285 info-ld
13286 @[ -f ./ld/Makefile ] || exit 0; \
13287 r=`${PWD_COMMAND}`; export r; \
13288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 $(SET_LIB_PATH) \
13290 $(HOST_EXPORTS) \
13291 for flag in $(EXTRA_HOST_FLAGS) ; do \
13292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13293 done; \
13294 echo "Doing install-info in ld" ; \
13295 (cd ld && \
13296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13298 "RANLIB=$${RANLIB}" \
13299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13300 install-info) \
13301 || exit 1
13303 @endif ld
13305 .PHONY: maybe-installcheck-ld installcheck-ld
13306 maybe-installcheck-ld:
13307 @if ld
13308 maybe-installcheck-ld: installcheck-ld
13310 installcheck-ld: \
13311 configure-ld
13312 @[ -f ./ld/Makefile ] || exit 0; \
13313 r=`${PWD_COMMAND}`; export r; \
13314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13315 $(SET_LIB_PATH) \
13316 $(HOST_EXPORTS) \
13317 for flag in $(EXTRA_HOST_FLAGS) ; do \
13318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13319 done; \
13320 echo "Doing installcheck in ld" ; \
13321 (cd ld && \
13322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13324 "RANLIB=$${RANLIB}" \
13325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13326 installcheck) \
13327 || exit 1
13329 @endif ld
13331 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13332 maybe-mostlyclean-ld:
13333 @if ld
13334 maybe-mostlyclean-ld: mostlyclean-ld
13336 mostlyclean-ld:
13337 @[ -f ./ld/Makefile ] || exit 0; \
13338 r=`${PWD_COMMAND}`; export r; \
13339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13340 $(SET_LIB_PATH) \
13341 $(HOST_EXPORTS) \
13342 for flag in $(EXTRA_HOST_FLAGS) ; do \
13343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13344 done; \
13345 echo "Doing mostlyclean in ld" ; \
13346 (cd ld && \
13347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13349 "RANLIB=$${RANLIB}" \
13350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13351 mostlyclean) \
13352 || exit 1
13354 @endif ld
13356 .PHONY: maybe-clean-ld clean-ld
13357 maybe-clean-ld:
13358 @if ld
13359 maybe-clean-ld: clean-ld
13361 clean-ld:
13362 @[ -f ./ld/Makefile ] || exit 0; \
13363 r=`${PWD_COMMAND}`; export r; \
13364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 $(SET_LIB_PATH) \
13366 $(HOST_EXPORTS) \
13367 for flag in $(EXTRA_HOST_FLAGS) ; do \
13368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13369 done; \
13370 echo "Doing clean in ld" ; \
13371 (cd ld && \
13372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13374 "RANLIB=$${RANLIB}" \
13375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13376 clean) \
13377 || exit 1
13379 @endif ld
13381 .PHONY: maybe-distclean-ld distclean-ld
13382 maybe-distclean-ld:
13383 @if ld
13384 maybe-distclean-ld: distclean-ld
13386 distclean-ld:
13387 @[ -f ./ld/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(SET_LIB_PATH) \
13391 $(HOST_EXPORTS) \
13392 for flag in $(EXTRA_HOST_FLAGS) ; do \
13393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13394 done; \
13395 echo "Doing distclean in ld" ; \
13396 (cd ld && \
13397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13399 "RANLIB=$${RANLIB}" \
13400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13401 distclean) \
13402 || exit 1
13404 @endif ld
13406 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13407 maybe-maintainer-clean-ld:
13408 @if ld
13409 maybe-maintainer-clean-ld: maintainer-clean-ld
13411 maintainer-clean-ld:
13412 @[ -f ./ld/Makefile ] || exit 0; \
13413 r=`${PWD_COMMAND}`; export r; \
13414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13415 $(SET_LIB_PATH) \
13416 $(HOST_EXPORTS) \
13417 for flag in $(EXTRA_HOST_FLAGS) ; do \
13418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13419 done; \
13420 echo "Doing maintainer-clean in ld" ; \
13421 (cd ld && \
13422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13424 "RANLIB=$${RANLIB}" \
13425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13426 maintainer-clean) \
13427 || exit 1
13429 @endif ld
13432 .PHONY: configure-libcpp maybe-configure-libcpp
13433 maybe-configure-libcpp:
13434 @if libcpp
13435 maybe-configure-libcpp: configure-libcpp
13436 configure-libcpp:
13437 @test -f stage_last && exit 0; \
13438 test ! -f libcpp/Makefile || exit 0; \
13439 [ -d libcpp ] || mkdir libcpp; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13442 $(HOST_EXPORTS) \
13443 echo Configuring in libcpp; \
13444 cd libcpp || exit 1; \
13445 case $(srcdir) in \
13446 \.) \
13447 srcdiroption="--srcdir=."; \
13448 libsrcdir=".";; \
13449 /* | [A-Za-z]:[\\/]*) \
13450 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13451 libsrcdir="$$s/libcpp";; \
13452 *) \
13453 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13454 libsrcdir="$$s/libcpp";; \
13455 esac; \
13456 $(SHELL) $${libsrcdir}/configure \
13457 $(HOST_CONFIGARGS) $${srcdiroption} \
13458 || exit 1
13459 @endif libcpp
13461 .PHONY: all-libcpp maybe-all-libcpp
13462 maybe-all-libcpp:
13463 @if libcpp
13464 TARGET-libcpp=all
13465 maybe-all-libcpp: all-libcpp
13466 all-libcpp: configure-libcpp
13467 @test -f stage_last && exit 0; \
13468 r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 $(SET_LIB_PATH) \
13471 $(HOST_EXPORTS) \
13472 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13473 $(TARGET-libcpp))
13474 @endif libcpp
13476 .PHONY: check-libcpp maybe-check-libcpp
13477 maybe-check-libcpp:
13478 @if libcpp
13479 maybe-check-libcpp: check-libcpp
13481 check-libcpp:
13482 @r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13484 $(SET_LIB_PATH) \
13485 $(HOST_EXPORTS) \
13486 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13488 @endif libcpp
13490 .PHONY: install-libcpp maybe-install-libcpp
13491 maybe-install-libcpp:
13492 @if libcpp
13493 maybe-install-libcpp: install-libcpp
13495 install-libcpp: installdirs
13496 @r=`${PWD_COMMAND}`; export r; \
13497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13498 $(SET_LIB_PATH) \
13499 $(HOST_EXPORTS) \
13500 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13502 @endif libcpp
13504 # Other targets (info, dvi, etc.)
13506 .PHONY: maybe-info-libcpp info-libcpp
13507 maybe-info-libcpp:
13508 @if libcpp
13509 maybe-info-libcpp: info-libcpp
13511 info-libcpp: \
13512 configure-libcpp
13513 @[ -f ./libcpp/Makefile ] || exit 0; \
13514 r=`${PWD_COMMAND}`; export r; \
13515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13516 $(SET_LIB_PATH) \
13517 $(HOST_EXPORTS) \
13518 for flag in $(EXTRA_HOST_FLAGS) ; do \
13519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13520 done; \
13521 echo "Doing info in libcpp" ; \
13522 (cd libcpp && \
13523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13525 "RANLIB=$${RANLIB}" \
13526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13527 info) \
13528 || exit 1
13530 @endif libcpp
13532 .PHONY: maybe-dvi-libcpp dvi-libcpp
13533 maybe-dvi-libcpp:
13534 @if libcpp
13535 maybe-dvi-libcpp: dvi-libcpp
13537 dvi-libcpp: \
13538 configure-libcpp
13539 @[ -f ./libcpp/Makefile ] || exit 0; \
13540 r=`${PWD_COMMAND}`; export r; \
13541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13542 $(SET_LIB_PATH) \
13543 $(HOST_EXPORTS) \
13544 for flag in $(EXTRA_HOST_FLAGS) ; do \
13545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13546 done; \
13547 echo "Doing dvi in libcpp" ; \
13548 (cd libcpp && \
13549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13551 "RANLIB=$${RANLIB}" \
13552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13553 dvi) \
13554 || exit 1
13556 @endif libcpp
13558 .PHONY: maybe-html-libcpp html-libcpp
13559 maybe-html-libcpp:
13560 @if libcpp
13561 maybe-html-libcpp: html-libcpp
13563 html-libcpp: \
13564 configure-libcpp
13565 @[ -f ./libcpp/Makefile ] || exit 0; \
13566 r=`${PWD_COMMAND}`; export r; \
13567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 $(SET_LIB_PATH) \
13569 $(HOST_EXPORTS) \
13570 for flag in $(EXTRA_HOST_FLAGS) ; do \
13571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13572 done; \
13573 echo "Doing html in libcpp" ; \
13574 (cd libcpp && \
13575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13577 "RANLIB=$${RANLIB}" \
13578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13579 html) \
13580 || exit 1
13582 @endif libcpp
13584 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13585 maybe-TAGS-libcpp:
13586 @if libcpp
13587 maybe-TAGS-libcpp: TAGS-libcpp
13589 TAGS-libcpp: \
13590 configure-libcpp
13591 @[ -f ./libcpp/Makefile ] || exit 0; \
13592 r=`${PWD_COMMAND}`; export r; \
13593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13594 $(SET_LIB_PATH) \
13595 $(HOST_EXPORTS) \
13596 for flag in $(EXTRA_HOST_FLAGS) ; do \
13597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13598 done; \
13599 echo "Doing TAGS in libcpp" ; \
13600 (cd libcpp && \
13601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13603 "RANLIB=$${RANLIB}" \
13604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13605 TAGS) \
13606 || exit 1
13608 @endif libcpp
13610 .PHONY: maybe-install-info-libcpp install-info-libcpp
13611 maybe-install-info-libcpp:
13612 @if libcpp
13613 maybe-install-info-libcpp: install-info-libcpp
13615 install-info-libcpp: \
13616 configure-libcpp \
13617 info-libcpp
13618 @[ -f ./libcpp/Makefile ] || exit 0; \
13619 r=`${PWD_COMMAND}`; export r; \
13620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13621 $(SET_LIB_PATH) \
13622 $(HOST_EXPORTS) \
13623 for flag in $(EXTRA_HOST_FLAGS) ; do \
13624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13625 done; \
13626 echo "Doing install-info in libcpp" ; \
13627 (cd libcpp && \
13628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630 "RANLIB=$${RANLIB}" \
13631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13632 install-info) \
13633 || exit 1
13635 @endif libcpp
13637 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13638 maybe-installcheck-libcpp:
13639 @if libcpp
13640 maybe-installcheck-libcpp: installcheck-libcpp
13642 installcheck-libcpp: \
13643 configure-libcpp
13644 @[ -f ./libcpp/Makefile ] || exit 0; \
13645 r=`${PWD_COMMAND}`; export r; \
13646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13647 $(SET_LIB_PATH) \
13648 $(HOST_EXPORTS) \
13649 for flag in $(EXTRA_HOST_FLAGS) ; do \
13650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13651 done; \
13652 echo "Doing installcheck in libcpp" ; \
13653 (cd libcpp && \
13654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13656 "RANLIB=$${RANLIB}" \
13657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13658 installcheck) \
13659 || exit 1
13661 @endif libcpp
13663 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13664 maybe-mostlyclean-libcpp:
13665 @if libcpp
13666 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13668 mostlyclean-libcpp:
13669 @[ -f ./libcpp/Makefile ] || exit 0; \
13670 r=`${PWD_COMMAND}`; export r; \
13671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13672 $(SET_LIB_PATH) \
13673 $(HOST_EXPORTS) \
13674 for flag in $(EXTRA_HOST_FLAGS) ; do \
13675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13676 done; \
13677 echo "Doing mostlyclean in libcpp" ; \
13678 (cd libcpp && \
13679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13681 "RANLIB=$${RANLIB}" \
13682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13683 mostlyclean) \
13684 || exit 1
13686 @endif libcpp
13688 .PHONY: maybe-clean-libcpp clean-libcpp
13689 maybe-clean-libcpp:
13690 @if libcpp
13691 maybe-clean-libcpp: clean-libcpp
13693 clean-libcpp:
13694 @[ -f ./libcpp/Makefile ] || exit 0; \
13695 r=`${PWD_COMMAND}`; export r; \
13696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13697 $(SET_LIB_PATH) \
13698 $(HOST_EXPORTS) \
13699 for flag in $(EXTRA_HOST_FLAGS) ; do \
13700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13701 done; \
13702 echo "Doing clean in libcpp" ; \
13703 (cd libcpp && \
13704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13706 "RANLIB=$${RANLIB}" \
13707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13708 clean) \
13709 || exit 1
13711 @endif libcpp
13713 .PHONY: maybe-distclean-libcpp distclean-libcpp
13714 maybe-distclean-libcpp:
13715 @if libcpp
13716 maybe-distclean-libcpp: distclean-libcpp
13718 distclean-libcpp:
13719 @[ -f ./libcpp/Makefile ] || exit 0; \
13720 r=`${PWD_COMMAND}`; export r; \
13721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722 $(SET_LIB_PATH) \
13723 $(HOST_EXPORTS) \
13724 for flag in $(EXTRA_HOST_FLAGS) ; do \
13725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13726 done; \
13727 echo "Doing distclean in libcpp" ; \
13728 (cd libcpp && \
13729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13731 "RANLIB=$${RANLIB}" \
13732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13733 distclean) \
13734 || exit 1
13736 @endif libcpp
13738 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13739 maybe-maintainer-clean-libcpp:
13740 @if libcpp
13741 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13743 maintainer-clean-libcpp:
13744 @[ -f ./libcpp/Makefile ] || exit 0; \
13745 r=`${PWD_COMMAND}`; export r; \
13746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13747 $(SET_LIB_PATH) \
13748 $(HOST_EXPORTS) \
13749 for flag in $(EXTRA_HOST_FLAGS) ; do \
13750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13751 done; \
13752 echo "Doing maintainer-clean in libcpp" ; \
13753 (cd libcpp && \
13754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13756 "RANLIB=$${RANLIB}" \
13757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13758 maintainer-clean) \
13759 || exit 1
13761 @endif libcpp
13764 .PHONY: configure-libgui maybe-configure-libgui
13765 maybe-configure-libgui:
13766 @if libgui
13767 maybe-configure-libgui: configure-libgui
13768 configure-libgui:
13769 @test ! -f libgui/Makefile || exit 0; \
13770 [ -d libgui ] || mkdir libgui; \
13771 r=`${PWD_COMMAND}`; export r; \
13772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13773 $(HOST_EXPORTS) \
13774 echo Configuring in libgui; \
13775 cd libgui || exit 1; \
13776 case $(srcdir) in \
13777 \.) \
13778 srcdiroption="--srcdir=."; \
13779 libsrcdir=".";; \
13780 /* | [A-Za-z]:[\\/]*) \
13781 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13782 libsrcdir="$$s/libgui";; \
13783 *) \
13784 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13785 libsrcdir="$$s/libgui";; \
13786 esac; \
13787 $(SHELL) $${libsrcdir}/configure \
13788 $(HOST_CONFIGARGS) $${srcdiroption} \
13789 || exit 1
13790 @endif libgui
13792 .PHONY: all-libgui maybe-all-libgui
13793 maybe-all-libgui:
13794 @if libgui
13795 TARGET-libgui=all
13796 maybe-all-libgui: all-libgui
13797 all-libgui: configure-libgui
13798 @r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 $(SET_LIB_PATH) \
13801 $(HOST_EXPORTS) \
13802 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13803 $(TARGET-libgui))
13804 @endif libgui
13806 .PHONY: check-libgui maybe-check-libgui
13807 maybe-check-libgui:
13808 @if libgui
13809 maybe-check-libgui: check-libgui
13811 check-libgui:
13812 @r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 $(SET_LIB_PATH) \
13815 $(HOST_EXPORTS) \
13816 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13818 @endif libgui
13820 .PHONY: install-libgui maybe-install-libgui
13821 maybe-install-libgui:
13822 @if libgui
13823 maybe-install-libgui: install-libgui
13825 install-libgui: installdirs
13826 @r=`${PWD_COMMAND}`; export r; \
13827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13828 $(SET_LIB_PATH) \
13829 $(HOST_EXPORTS) \
13830 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13832 @endif libgui
13834 # Other targets (info, dvi, etc.)
13836 .PHONY: maybe-info-libgui info-libgui
13837 maybe-info-libgui:
13838 @if libgui
13839 maybe-info-libgui: info-libgui
13841 info-libgui: \
13842 configure-libgui
13843 @[ -f ./libgui/Makefile ] || exit 0; \
13844 r=`${PWD_COMMAND}`; export r; \
13845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13846 $(SET_LIB_PATH) \
13847 $(HOST_EXPORTS) \
13848 for flag in $(EXTRA_HOST_FLAGS) ; do \
13849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13850 done; \
13851 echo "Doing info in libgui" ; \
13852 (cd libgui && \
13853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13855 "RANLIB=$${RANLIB}" \
13856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13857 info) \
13858 || exit 1
13860 @endif libgui
13862 .PHONY: maybe-dvi-libgui dvi-libgui
13863 maybe-dvi-libgui:
13864 @if libgui
13865 maybe-dvi-libgui: dvi-libgui
13867 dvi-libgui: \
13868 configure-libgui
13869 @[ -f ./libgui/Makefile ] || exit 0; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872 $(SET_LIB_PATH) \
13873 $(HOST_EXPORTS) \
13874 for flag in $(EXTRA_HOST_FLAGS) ; do \
13875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13876 done; \
13877 echo "Doing dvi in libgui" ; \
13878 (cd libgui && \
13879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13881 "RANLIB=$${RANLIB}" \
13882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13883 dvi) \
13884 || exit 1
13886 @endif libgui
13888 .PHONY: maybe-html-libgui html-libgui
13889 maybe-html-libgui:
13890 @if libgui
13891 maybe-html-libgui: html-libgui
13893 html-libgui: \
13894 configure-libgui
13895 @[ -f ./libgui/Makefile ] || exit 0; \
13896 r=`${PWD_COMMAND}`; export r; \
13897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 $(SET_LIB_PATH) \
13899 $(HOST_EXPORTS) \
13900 for flag in $(EXTRA_HOST_FLAGS) ; do \
13901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13902 done; \
13903 echo "Doing html in libgui" ; \
13904 (cd libgui && \
13905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13907 "RANLIB=$${RANLIB}" \
13908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13909 html) \
13910 || exit 1
13912 @endif libgui
13914 .PHONY: maybe-TAGS-libgui TAGS-libgui
13915 maybe-TAGS-libgui:
13916 @if libgui
13917 maybe-TAGS-libgui: TAGS-libgui
13919 TAGS-libgui: \
13920 configure-libgui
13921 @[ -f ./libgui/Makefile ] || exit 0; \
13922 r=`${PWD_COMMAND}`; export r; \
13923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13924 $(SET_LIB_PATH) \
13925 $(HOST_EXPORTS) \
13926 for flag in $(EXTRA_HOST_FLAGS) ; do \
13927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13928 done; \
13929 echo "Doing TAGS in libgui" ; \
13930 (cd libgui && \
13931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13933 "RANLIB=$${RANLIB}" \
13934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13935 TAGS) \
13936 || exit 1
13938 @endif libgui
13940 .PHONY: maybe-install-info-libgui install-info-libgui
13941 maybe-install-info-libgui:
13942 @if libgui
13943 maybe-install-info-libgui: install-info-libgui
13945 install-info-libgui: \
13946 configure-libgui \
13947 info-libgui
13948 @[ -f ./libgui/Makefile ] || exit 0; \
13949 r=`${PWD_COMMAND}`; export r; \
13950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13951 $(SET_LIB_PATH) \
13952 $(HOST_EXPORTS) \
13953 for flag in $(EXTRA_HOST_FLAGS) ; do \
13954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13955 done; \
13956 echo "Doing install-info in libgui" ; \
13957 (cd libgui && \
13958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13960 "RANLIB=$${RANLIB}" \
13961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13962 install-info) \
13963 || exit 1
13965 @endif libgui
13967 .PHONY: maybe-installcheck-libgui installcheck-libgui
13968 maybe-installcheck-libgui:
13969 @if libgui
13970 maybe-installcheck-libgui: installcheck-libgui
13972 installcheck-libgui: \
13973 configure-libgui
13974 @[ -f ./libgui/Makefile ] || exit 0; \
13975 r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13977 $(SET_LIB_PATH) \
13978 $(HOST_EXPORTS) \
13979 for flag in $(EXTRA_HOST_FLAGS) ; do \
13980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13981 done; \
13982 echo "Doing installcheck in libgui" ; \
13983 (cd libgui && \
13984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13986 "RANLIB=$${RANLIB}" \
13987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13988 installcheck) \
13989 || exit 1
13991 @endif libgui
13993 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13994 maybe-mostlyclean-libgui:
13995 @if libgui
13996 maybe-mostlyclean-libgui: mostlyclean-libgui
13998 mostlyclean-libgui:
13999 @[ -f ./libgui/Makefile ] || exit 0; \
14000 r=`${PWD_COMMAND}`; export r; \
14001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14002 $(SET_LIB_PATH) \
14003 $(HOST_EXPORTS) \
14004 for flag in $(EXTRA_HOST_FLAGS) ; do \
14005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14006 done; \
14007 echo "Doing mostlyclean in libgui" ; \
14008 (cd libgui && \
14009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14011 "RANLIB=$${RANLIB}" \
14012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14013 mostlyclean) \
14014 || exit 1
14016 @endif libgui
14018 .PHONY: maybe-clean-libgui clean-libgui
14019 maybe-clean-libgui:
14020 @if libgui
14021 maybe-clean-libgui: clean-libgui
14023 clean-libgui:
14024 @[ -f ./libgui/Makefile ] || exit 0; \
14025 r=`${PWD_COMMAND}`; export r; \
14026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14027 $(SET_LIB_PATH) \
14028 $(HOST_EXPORTS) \
14029 for flag in $(EXTRA_HOST_FLAGS) ; do \
14030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14031 done; \
14032 echo "Doing clean in libgui" ; \
14033 (cd libgui && \
14034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14036 "RANLIB=$${RANLIB}" \
14037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14038 clean) \
14039 || exit 1
14041 @endif libgui
14043 .PHONY: maybe-distclean-libgui distclean-libgui
14044 maybe-distclean-libgui:
14045 @if libgui
14046 maybe-distclean-libgui: distclean-libgui
14048 distclean-libgui:
14049 @[ -f ./libgui/Makefile ] || exit 0; \
14050 r=`${PWD_COMMAND}`; export r; \
14051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14052 $(SET_LIB_PATH) \
14053 $(HOST_EXPORTS) \
14054 for flag in $(EXTRA_HOST_FLAGS) ; do \
14055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14056 done; \
14057 echo "Doing distclean in libgui" ; \
14058 (cd libgui && \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14061 "RANLIB=$${RANLIB}" \
14062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14063 distclean) \
14064 || exit 1
14066 @endif libgui
14068 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14069 maybe-maintainer-clean-libgui:
14070 @if libgui
14071 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14073 maintainer-clean-libgui:
14074 @[ -f ./libgui/Makefile ] || exit 0; \
14075 r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 $(SET_LIB_PATH) \
14078 $(HOST_EXPORTS) \
14079 for flag in $(EXTRA_HOST_FLAGS) ; do \
14080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14081 done; \
14082 echo "Doing maintainer-clean in libgui" ; \
14083 (cd libgui && \
14084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14086 "RANLIB=$${RANLIB}" \
14087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14088 maintainer-clean) \
14089 || exit 1
14091 @endif libgui
14094 .PHONY: configure-libiberty maybe-configure-libiberty
14095 maybe-configure-libiberty:
14096 @if libiberty
14097 maybe-configure-libiberty: configure-libiberty
14098 configure-libiberty:
14099 @test -f stage_last && exit 0; \
14100 test ! -f libiberty/Makefile || exit 0; \
14101 [ -d libiberty ] || mkdir libiberty; \
14102 r=`${PWD_COMMAND}`; export r; \
14103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14104 $(HOST_EXPORTS) \
14105 echo Configuring in libiberty; \
14106 cd libiberty || exit 1; \
14107 case $(srcdir) in \
14108 \.) \
14109 srcdiroption="--srcdir=."; \
14110 libsrcdir=".";; \
14111 /* | [A-Za-z]:[\\/]*) \
14112 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14113 libsrcdir="$$s/libiberty";; \
14114 *) \
14115 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14116 libsrcdir="$$s/libiberty";; \
14117 esac; \
14118 $(SHELL) $${libsrcdir}/configure \
14119 $(HOST_CONFIGARGS) $${srcdiroption} \
14120 || exit 1
14121 @endif libiberty
14123 .PHONY: all-libiberty maybe-all-libiberty
14124 maybe-all-libiberty:
14125 @if libiberty
14126 TARGET-libiberty=all
14127 maybe-all-libiberty: all-libiberty
14128 all-libiberty: configure-libiberty
14129 @test -f stage_last && exit 0; \
14130 r=`${PWD_COMMAND}`; export r; \
14131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14132 $(SET_LIB_PATH) \
14133 $(HOST_EXPORTS) \
14134 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14135 $(TARGET-libiberty))
14136 @endif libiberty
14138 .PHONY: check-libiberty maybe-check-libiberty
14139 maybe-check-libiberty:
14140 @if libiberty
14141 maybe-check-libiberty: check-libiberty
14143 check-libiberty:
14144 @r=`${PWD_COMMAND}`; export r; \
14145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14146 $(SET_LIB_PATH) \
14147 $(HOST_EXPORTS) \
14148 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14150 @endif libiberty
14152 .PHONY: install-libiberty maybe-install-libiberty
14153 maybe-install-libiberty:
14154 @if libiberty
14155 maybe-install-libiberty: install-libiberty
14157 install-libiberty: installdirs
14158 @r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 $(SET_LIB_PATH) \
14161 $(HOST_EXPORTS) \
14162 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14164 @endif libiberty
14166 # Other targets (info, dvi, etc.)
14168 .PHONY: maybe-info-libiberty info-libiberty
14169 maybe-info-libiberty:
14170 @if libiberty
14171 maybe-info-libiberty: info-libiberty
14173 info-libiberty: \
14174 configure-libiberty
14175 @[ -f ./libiberty/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(SET_LIB_PATH) \
14179 $(HOST_EXPORTS) \
14180 for flag in $(EXTRA_HOST_FLAGS) ; do \
14181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14182 done; \
14183 echo "Doing info in libiberty" ; \
14184 (cd libiberty && \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14187 "RANLIB=$${RANLIB}" \
14188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14189 info) \
14190 || exit 1
14192 @endif libiberty
14194 .PHONY: maybe-dvi-libiberty dvi-libiberty
14195 maybe-dvi-libiberty:
14196 @if libiberty
14197 maybe-dvi-libiberty: dvi-libiberty
14199 dvi-libiberty: \
14200 configure-libiberty
14201 @[ -f ./libiberty/Makefile ] || exit 0; \
14202 r=`${PWD_COMMAND}`; export r; \
14203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14204 $(SET_LIB_PATH) \
14205 $(HOST_EXPORTS) \
14206 for flag in $(EXTRA_HOST_FLAGS) ; do \
14207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14208 done; \
14209 echo "Doing dvi in libiberty" ; \
14210 (cd libiberty && \
14211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14213 "RANLIB=$${RANLIB}" \
14214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14215 dvi) \
14216 || exit 1
14218 @endif libiberty
14220 .PHONY: maybe-html-libiberty html-libiberty
14221 maybe-html-libiberty:
14222 @if libiberty
14223 maybe-html-libiberty: html-libiberty
14225 html-libiberty: \
14226 configure-libiberty
14227 @[ -f ./libiberty/Makefile ] || exit 0; \
14228 r=`${PWD_COMMAND}`; export r; \
14229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14230 $(SET_LIB_PATH) \
14231 $(HOST_EXPORTS) \
14232 for flag in $(EXTRA_HOST_FLAGS) ; do \
14233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14234 done; \
14235 echo "Doing html in libiberty" ; \
14236 (cd libiberty && \
14237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14239 "RANLIB=$${RANLIB}" \
14240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14241 html) \
14242 || exit 1
14244 @endif libiberty
14246 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14247 maybe-TAGS-libiberty:
14248 @if libiberty
14249 maybe-TAGS-libiberty: TAGS-libiberty
14251 TAGS-libiberty: \
14252 configure-libiberty
14253 @[ -f ./libiberty/Makefile ] || exit 0; \
14254 r=`${PWD_COMMAND}`; export r; \
14255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14256 $(SET_LIB_PATH) \
14257 $(HOST_EXPORTS) \
14258 for flag in $(EXTRA_HOST_FLAGS) ; do \
14259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14260 done; \
14261 echo "Doing TAGS in libiberty" ; \
14262 (cd libiberty && \
14263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14265 "RANLIB=$${RANLIB}" \
14266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14267 TAGS) \
14268 || exit 1
14270 @endif libiberty
14272 .PHONY: maybe-install-info-libiberty install-info-libiberty
14273 maybe-install-info-libiberty:
14274 @if libiberty
14275 maybe-install-info-libiberty: install-info-libiberty
14277 install-info-libiberty: \
14278 configure-libiberty \
14279 info-libiberty
14280 @[ -f ./libiberty/Makefile ] || exit 0; \
14281 r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 $(SET_LIB_PATH) \
14284 $(HOST_EXPORTS) \
14285 for flag in $(EXTRA_HOST_FLAGS) ; do \
14286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14287 done; \
14288 echo "Doing install-info in libiberty" ; \
14289 (cd libiberty && \
14290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14292 "RANLIB=$${RANLIB}" \
14293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14294 install-info) \
14295 || exit 1
14297 @endif libiberty
14299 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14300 maybe-installcheck-libiberty:
14301 @if libiberty
14302 maybe-installcheck-libiberty: installcheck-libiberty
14304 installcheck-libiberty: \
14305 configure-libiberty
14306 @[ -f ./libiberty/Makefile ] || exit 0; \
14307 r=`${PWD_COMMAND}`; export r; \
14308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14309 $(SET_LIB_PATH) \
14310 $(HOST_EXPORTS) \
14311 for flag in $(EXTRA_HOST_FLAGS) ; do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313 done; \
14314 echo "Doing installcheck in libiberty" ; \
14315 (cd libiberty && \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14320 installcheck) \
14321 || exit 1
14323 @endif libiberty
14325 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14326 maybe-mostlyclean-libiberty:
14327 @if libiberty
14328 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14330 mostlyclean-libiberty:
14331 @[ -f ./libiberty/Makefile ] || exit 0; \
14332 r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(SET_LIB_PATH) \
14335 $(HOST_EXPORTS) \
14336 for flag in $(EXTRA_HOST_FLAGS) ; do \
14337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14338 done; \
14339 echo "Doing mostlyclean in libiberty" ; \
14340 (cd libiberty && \
14341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14343 "RANLIB=$${RANLIB}" \
14344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14345 mostlyclean) \
14346 || exit 1
14348 @endif libiberty
14350 .PHONY: maybe-clean-libiberty clean-libiberty
14351 maybe-clean-libiberty:
14352 @if libiberty
14353 maybe-clean-libiberty: clean-libiberty
14355 clean-libiberty:
14356 @[ -f ./libiberty/Makefile ] || exit 0; \
14357 r=`${PWD_COMMAND}`; export r; \
14358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14359 $(SET_LIB_PATH) \
14360 $(HOST_EXPORTS) \
14361 for flag in $(EXTRA_HOST_FLAGS) ; do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14363 done; \
14364 echo "Doing clean in libiberty" ; \
14365 (cd libiberty && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14370 clean) \
14371 || exit 1
14373 @endif libiberty
14375 .PHONY: maybe-distclean-libiberty distclean-libiberty
14376 maybe-distclean-libiberty:
14377 @if libiberty
14378 maybe-distclean-libiberty: distclean-libiberty
14380 distclean-libiberty:
14381 @[ -f ./libiberty/Makefile ] || exit 0; \
14382 r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384 $(SET_LIB_PATH) \
14385 $(HOST_EXPORTS) \
14386 for flag in $(EXTRA_HOST_FLAGS) ; do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing distclean in libiberty" ; \
14390 (cd libiberty && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 distclean) \
14396 || exit 1
14398 @endif libiberty
14400 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14401 maybe-maintainer-clean-libiberty:
14402 @if libiberty
14403 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14405 maintainer-clean-libiberty:
14406 @[ -f ./libiberty/Makefile ] || exit 0; \
14407 r=`${PWD_COMMAND}`; export r; \
14408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14409 $(SET_LIB_PATH) \
14410 $(HOST_EXPORTS) \
14411 for flag in $(EXTRA_HOST_FLAGS) ; do \
14412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14413 done; \
14414 echo "Doing maintainer-clean in libiberty" ; \
14415 (cd libiberty && \
14416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14418 "RANLIB=$${RANLIB}" \
14419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14420 maintainer-clean) \
14421 || exit 1
14423 @endif libiberty
14426 .PHONY: configure-libtool maybe-configure-libtool
14427 maybe-configure-libtool:
14428 @if libtool
14429 maybe-configure-libtool: configure-libtool
14430 configure-libtool:
14431 @test ! -f libtool/Makefile || exit 0; \
14432 [ -d libtool ] || mkdir libtool; \
14433 r=`${PWD_COMMAND}`; export r; \
14434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 $(HOST_EXPORTS) \
14436 echo Configuring in libtool; \
14437 cd libtool || exit 1; \
14438 case $(srcdir) in \
14439 \.) \
14440 srcdiroption="--srcdir=."; \
14441 libsrcdir=".";; \
14442 /* | [A-Za-z]:[\\/]*) \
14443 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14444 libsrcdir="$$s/libtool";; \
14445 *) \
14446 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14447 libsrcdir="$$s/libtool";; \
14448 esac; \
14449 $(SHELL) $${libsrcdir}/configure \
14450 $(HOST_CONFIGARGS) $${srcdiroption} \
14451 || exit 1
14452 @endif libtool
14454 .PHONY: all-libtool maybe-all-libtool
14455 maybe-all-libtool:
14456 @if libtool
14457 TARGET-libtool=all
14458 maybe-all-libtool: all-libtool
14459 all-libtool: configure-libtool
14460 @r=`${PWD_COMMAND}`; export r; \
14461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14462 $(SET_LIB_PATH) \
14463 $(HOST_EXPORTS) \
14464 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14465 $(TARGET-libtool))
14466 @endif libtool
14468 .PHONY: check-libtool maybe-check-libtool
14469 maybe-check-libtool:
14470 @if libtool
14471 maybe-check-libtool: check-libtool
14473 check-libtool:
14474 @r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 $(SET_LIB_PATH) \
14477 $(HOST_EXPORTS) \
14478 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14480 @endif libtool
14482 .PHONY: install-libtool maybe-install-libtool
14483 maybe-install-libtool:
14484 @if libtool
14485 maybe-install-libtool: install-libtool
14487 install-libtool: installdirs
14488 @r=`${PWD_COMMAND}`; export r; \
14489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14490 $(SET_LIB_PATH) \
14491 $(HOST_EXPORTS) \
14492 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14494 @endif libtool
14496 # Other targets (info, dvi, etc.)
14498 .PHONY: maybe-info-libtool info-libtool
14499 maybe-info-libtool:
14500 @if libtool
14501 maybe-info-libtool: info-libtool
14503 info-libtool: \
14504 configure-libtool
14505 @[ -f ./libtool/Makefile ] || exit 0; \
14506 r=`${PWD_COMMAND}`; export r; \
14507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14508 $(SET_LIB_PATH) \
14509 $(HOST_EXPORTS) \
14510 for flag in $(EXTRA_HOST_FLAGS) ; do \
14511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14512 done; \
14513 echo "Doing info in libtool" ; \
14514 (cd libtool && \
14515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14517 "RANLIB=$${RANLIB}" \
14518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14519 info) \
14520 || exit 1
14522 @endif libtool
14524 .PHONY: maybe-dvi-libtool dvi-libtool
14525 maybe-dvi-libtool:
14526 @if libtool
14527 maybe-dvi-libtool: dvi-libtool
14529 dvi-libtool: \
14530 configure-libtool
14531 @[ -f ./libtool/Makefile ] || exit 0; \
14532 r=`${PWD_COMMAND}`; export r; \
14533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14534 $(SET_LIB_PATH) \
14535 $(HOST_EXPORTS) \
14536 for flag in $(EXTRA_HOST_FLAGS) ; do \
14537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14538 done; \
14539 echo "Doing dvi in libtool" ; \
14540 (cd libtool && \
14541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14543 "RANLIB=$${RANLIB}" \
14544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14545 dvi) \
14546 || exit 1
14548 @endif libtool
14550 .PHONY: maybe-html-libtool html-libtool
14551 maybe-html-libtool:
14552 @if libtool
14553 maybe-html-libtool: html-libtool
14555 html-libtool: \
14556 configure-libtool
14557 @[ -f ./libtool/Makefile ] || exit 0; \
14558 r=`${PWD_COMMAND}`; export r; \
14559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14560 $(SET_LIB_PATH) \
14561 $(HOST_EXPORTS) \
14562 for flag in $(EXTRA_HOST_FLAGS) ; do \
14563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14564 done; \
14565 echo "Doing html in libtool" ; \
14566 (cd libtool && \
14567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14569 "RANLIB=$${RANLIB}" \
14570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14571 html) \
14572 || exit 1
14574 @endif libtool
14576 .PHONY: maybe-TAGS-libtool TAGS-libtool
14577 maybe-TAGS-libtool:
14578 @if libtool
14579 maybe-TAGS-libtool: TAGS-libtool
14581 TAGS-libtool: \
14582 configure-libtool
14583 @[ -f ./libtool/Makefile ] || exit 0; \
14584 r=`${PWD_COMMAND}`; export r; \
14585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14586 $(SET_LIB_PATH) \
14587 $(HOST_EXPORTS) \
14588 for flag in $(EXTRA_HOST_FLAGS) ; do \
14589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14590 done; \
14591 echo "Doing TAGS in libtool" ; \
14592 (cd libtool && \
14593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14595 "RANLIB=$${RANLIB}" \
14596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14597 TAGS) \
14598 || exit 1
14600 @endif libtool
14602 .PHONY: maybe-install-info-libtool install-info-libtool
14603 maybe-install-info-libtool:
14604 @if libtool
14605 maybe-install-info-libtool: install-info-libtool
14607 install-info-libtool: \
14608 configure-libtool \
14609 info-libtool
14610 @[ -f ./libtool/Makefile ] || exit 0; \
14611 r=`${PWD_COMMAND}`; export r; \
14612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14613 $(SET_LIB_PATH) \
14614 $(HOST_EXPORTS) \
14615 for flag in $(EXTRA_HOST_FLAGS) ; do \
14616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14617 done; \
14618 echo "Doing install-info in libtool" ; \
14619 (cd libtool && \
14620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14622 "RANLIB=$${RANLIB}" \
14623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14624 install-info) \
14625 || exit 1
14627 @endif libtool
14629 .PHONY: maybe-installcheck-libtool installcheck-libtool
14630 maybe-installcheck-libtool:
14631 @if libtool
14632 maybe-installcheck-libtool: installcheck-libtool
14634 installcheck-libtool: \
14635 configure-libtool
14636 @[ -f ./libtool/Makefile ] || exit 0; \
14637 r=`${PWD_COMMAND}`; export r; \
14638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14639 $(SET_LIB_PATH) \
14640 $(HOST_EXPORTS) \
14641 for flag in $(EXTRA_HOST_FLAGS) ; do \
14642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14643 done; \
14644 echo "Doing installcheck in libtool" ; \
14645 (cd libtool && \
14646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14648 "RANLIB=$${RANLIB}" \
14649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14650 installcheck) \
14651 || exit 1
14653 @endif libtool
14655 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14656 maybe-mostlyclean-libtool:
14657 @if libtool
14658 maybe-mostlyclean-libtool: mostlyclean-libtool
14660 mostlyclean-libtool:
14661 @[ -f ./libtool/Makefile ] || exit 0; \
14662 r=`${PWD_COMMAND}`; export r; \
14663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14664 $(SET_LIB_PATH) \
14665 $(HOST_EXPORTS) \
14666 for flag in $(EXTRA_HOST_FLAGS) ; do \
14667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14668 done; \
14669 echo "Doing mostlyclean in libtool" ; \
14670 (cd libtool && \
14671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14673 "RANLIB=$${RANLIB}" \
14674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14675 mostlyclean) \
14676 || exit 1
14678 @endif libtool
14680 .PHONY: maybe-clean-libtool clean-libtool
14681 maybe-clean-libtool:
14682 @if libtool
14683 maybe-clean-libtool: clean-libtool
14685 clean-libtool:
14686 @[ -f ./libtool/Makefile ] || exit 0; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 $(SET_LIB_PATH) \
14690 $(HOST_EXPORTS) \
14691 for flag in $(EXTRA_HOST_FLAGS) ; do \
14692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14693 done; \
14694 echo "Doing clean in libtool" ; \
14695 (cd libtool && \
14696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14698 "RANLIB=$${RANLIB}" \
14699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14700 clean) \
14701 || exit 1
14703 @endif libtool
14705 .PHONY: maybe-distclean-libtool distclean-libtool
14706 maybe-distclean-libtool:
14707 @if libtool
14708 maybe-distclean-libtool: distclean-libtool
14710 distclean-libtool:
14711 @[ -f ./libtool/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(SET_LIB_PATH) \
14715 $(HOST_EXPORTS) \
14716 for flag in $(EXTRA_HOST_FLAGS) ; do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14718 done; \
14719 echo "Doing distclean in libtool" ; \
14720 (cd libtool && \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14725 distclean) \
14726 || exit 1
14728 @endif libtool
14730 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14731 maybe-maintainer-clean-libtool:
14732 @if libtool
14733 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14735 maintainer-clean-libtool:
14736 @[ -f ./libtool/Makefile ] || exit 0; \
14737 r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(SET_LIB_PATH) \
14740 $(HOST_EXPORTS) \
14741 for flag in $(EXTRA_HOST_FLAGS) ; do \
14742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14743 done; \
14744 echo "Doing maintainer-clean in libtool" ; \
14745 (cd libtool && \
14746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14748 "RANLIB=$${RANLIB}" \
14749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14750 maintainer-clean) \
14751 || exit 1
14753 @endif libtool
14756 .PHONY: configure-m4 maybe-configure-m4
14757 maybe-configure-m4:
14758 @if m4
14759 maybe-configure-m4: configure-m4
14760 configure-m4:
14761 @test ! -f m4/Makefile || exit 0; \
14762 [ -d m4 ] || mkdir m4; \
14763 r=`${PWD_COMMAND}`; export r; \
14764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14765 $(HOST_EXPORTS) \
14766 echo Configuring in m4; \
14767 cd m4 || exit 1; \
14768 case $(srcdir) in \
14769 \.) \
14770 srcdiroption="--srcdir=."; \
14771 libsrcdir=".";; \
14772 /* | [A-Za-z]:[\\/]*) \
14773 srcdiroption="--srcdir=$(srcdir)/m4"; \
14774 libsrcdir="$$s/m4";; \
14775 *) \
14776 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14777 libsrcdir="$$s/m4";; \
14778 esac; \
14779 $(SHELL) $${libsrcdir}/configure \
14780 $(HOST_CONFIGARGS) $${srcdiroption} \
14781 || exit 1
14782 @endif m4
14784 .PHONY: all-m4 maybe-all-m4
14785 maybe-all-m4:
14786 @if m4
14787 TARGET-m4=all
14788 maybe-all-m4: all-m4
14789 all-m4: configure-m4
14790 @r=`${PWD_COMMAND}`; export r; \
14791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14792 $(SET_LIB_PATH) \
14793 $(HOST_EXPORTS) \
14794 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14795 $(TARGET-m4))
14796 @endif m4
14798 .PHONY: check-m4 maybe-check-m4
14799 maybe-check-m4:
14800 @if m4
14801 maybe-check-m4: check-m4
14803 check-m4:
14804 @r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14806 $(SET_LIB_PATH) \
14807 $(HOST_EXPORTS) \
14808 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14810 @endif m4
14812 .PHONY: install-m4 maybe-install-m4
14813 maybe-install-m4:
14814 @if m4
14815 maybe-install-m4: install-m4
14817 install-m4: installdirs
14818 @r=`${PWD_COMMAND}`; export r; \
14819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 $(SET_LIB_PATH) \
14821 $(HOST_EXPORTS) \
14822 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14824 @endif m4
14826 # Other targets (info, dvi, etc.)
14828 .PHONY: maybe-info-m4 info-m4
14829 maybe-info-m4:
14830 @if m4
14831 maybe-info-m4: info-m4
14833 info-m4: \
14834 configure-m4
14835 @[ -f ./m4/Makefile ] || exit 0; \
14836 r=`${PWD_COMMAND}`; export r; \
14837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14838 $(SET_LIB_PATH) \
14839 $(HOST_EXPORTS) \
14840 for flag in $(EXTRA_HOST_FLAGS) ; do \
14841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14842 done; \
14843 echo "Doing info in m4" ; \
14844 (cd m4 && \
14845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14847 "RANLIB=$${RANLIB}" \
14848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14849 info) \
14850 || exit 1
14852 @endif m4
14854 .PHONY: maybe-dvi-m4 dvi-m4
14855 maybe-dvi-m4:
14856 @if m4
14857 maybe-dvi-m4: dvi-m4
14859 dvi-m4: \
14860 configure-m4
14861 @[ -f ./m4/Makefile ] || exit 0; \
14862 r=`${PWD_COMMAND}`; export r; \
14863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14864 $(SET_LIB_PATH) \
14865 $(HOST_EXPORTS) \
14866 for flag in $(EXTRA_HOST_FLAGS) ; do \
14867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14868 done; \
14869 echo "Doing dvi in m4" ; \
14870 (cd m4 && \
14871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14873 "RANLIB=$${RANLIB}" \
14874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14875 dvi) \
14876 || exit 1
14878 @endif m4
14880 .PHONY: maybe-html-m4 html-m4
14881 maybe-html-m4:
14882 @if m4
14883 maybe-html-m4: html-m4
14885 html-m4: \
14886 configure-m4
14887 @[ -f ./m4/Makefile ] || exit 0; \
14888 r=`${PWD_COMMAND}`; export r; \
14889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14890 $(SET_LIB_PATH) \
14891 $(HOST_EXPORTS) \
14892 for flag in $(EXTRA_HOST_FLAGS) ; do \
14893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14894 done; \
14895 echo "Doing html in m4" ; \
14896 (cd m4 && \
14897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14899 "RANLIB=$${RANLIB}" \
14900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14901 html) \
14902 || exit 1
14904 @endif m4
14906 .PHONY: maybe-TAGS-m4 TAGS-m4
14907 maybe-TAGS-m4:
14908 @if m4
14909 maybe-TAGS-m4: TAGS-m4
14911 TAGS-m4: \
14912 configure-m4
14913 @[ -f ./m4/Makefile ] || exit 0; \
14914 r=`${PWD_COMMAND}`; export r; \
14915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14916 $(SET_LIB_PATH) \
14917 $(HOST_EXPORTS) \
14918 for flag in $(EXTRA_HOST_FLAGS) ; do \
14919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14920 done; \
14921 echo "Doing TAGS in m4" ; \
14922 (cd m4 && \
14923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14925 "RANLIB=$${RANLIB}" \
14926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14927 TAGS) \
14928 || exit 1
14930 @endif m4
14932 .PHONY: maybe-install-info-m4 install-info-m4
14933 maybe-install-info-m4:
14934 @if m4
14935 maybe-install-info-m4: install-info-m4
14937 install-info-m4: \
14938 configure-m4 \
14939 info-m4
14940 @[ -f ./m4/Makefile ] || exit 0; \
14941 r=`${PWD_COMMAND}`; export r; \
14942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14943 $(SET_LIB_PATH) \
14944 $(HOST_EXPORTS) \
14945 for flag in $(EXTRA_HOST_FLAGS) ; do \
14946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14947 done; \
14948 echo "Doing install-info in m4" ; \
14949 (cd m4 && \
14950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14952 "RANLIB=$${RANLIB}" \
14953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14954 install-info) \
14955 || exit 1
14957 @endif m4
14959 .PHONY: maybe-installcheck-m4 installcheck-m4
14960 maybe-installcheck-m4:
14961 @if m4
14962 maybe-installcheck-m4: installcheck-m4
14964 installcheck-m4: \
14965 configure-m4
14966 @[ -f ./m4/Makefile ] || exit 0; \
14967 r=`${PWD_COMMAND}`; export r; \
14968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14969 $(SET_LIB_PATH) \
14970 $(HOST_EXPORTS) \
14971 for flag in $(EXTRA_HOST_FLAGS) ; do \
14972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14973 done; \
14974 echo "Doing installcheck in m4" ; \
14975 (cd m4 && \
14976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14978 "RANLIB=$${RANLIB}" \
14979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14980 installcheck) \
14981 || exit 1
14983 @endif m4
14985 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14986 maybe-mostlyclean-m4:
14987 @if m4
14988 maybe-mostlyclean-m4: mostlyclean-m4
14990 mostlyclean-m4:
14991 @[ -f ./m4/Makefile ] || exit 0; \
14992 r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 $(SET_LIB_PATH) \
14995 $(HOST_EXPORTS) \
14996 for flag in $(EXTRA_HOST_FLAGS) ; do \
14997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14998 done; \
14999 echo "Doing mostlyclean in m4" ; \
15000 (cd m4 && \
15001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15003 "RANLIB=$${RANLIB}" \
15004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15005 mostlyclean) \
15006 || exit 1
15008 @endif m4
15010 .PHONY: maybe-clean-m4 clean-m4
15011 maybe-clean-m4:
15012 @if m4
15013 maybe-clean-m4: clean-m4
15015 clean-m4:
15016 @[ -f ./m4/Makefile ] || exit 0; \
15017 r=`${PWD_COMMAND}`; export r; \
15018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 $(SET_LIB_PATH) \
15020 $(HOST_EXPORTS) \
15021 for flag in $(EXTRA_HOST_FLAGS) ; do \
15022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15023 done; \
15024 echo "Doing clean in m4" ; \
15025 (cd m4 && \
15026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15028 "RANLIB=$${RANLIB}" \
15029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15030 clean) \
15031 || exit 1
15033 @endif m4
15035 .PHONY: maybe-distclean-m4 distclean-m4
15036 maybe-distclean-m4:
15037 @if m4
15038 maybe-distclean-m4: distclean-m4
15040 distclean-m4:
15041 @[ -f ./m4/Makefile ] || exit 0; \
15042 r=`${PWD_COMMAND}`; export r; \
15043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15044 $(SET_LIB_PATH) \
15045 $(HOST_EXPORTS) \
15046 for flag in $(EXTRA_HOST_FLAGS) ; do \
15047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15048 done; \
15049 echo "Doing distclean in m4" ; \
15050 (cd m4 && \
15051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15053 "RANLIB=$${RANLIB}" \
15054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15055 distclean) \
15056 || exit 1
15058 @endif m4
15060 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15061 maybe-maintainer-clean-m4:
15062 @if m4
15063 maybe-maintainer-clean-m4: maintainer-clean-m4
15065 maintainer-clean-m4:
15066 @[ -f ./m4/Makefile ] || exit 0; \
15067 r=`${PWD_COMMAND}`; export r; \
15068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15069 $(SET_LIB_PATH) \
15070 $(HOST_EXPORTS) \
15071 for flag in $(EXTRA_HOST_FLAGS) ; do \
15072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15073 done; \
15074 echo "Doing maintainer-clean in m4" ; \
15075 (cd m4 && \
15076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15078 "RANLIB=$${RANLIB}" \
15079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15080 maintainer-clean) \
15081 || exit 1
15083 @endif m4
15086 .PHONY: configure-make maybe-configure-make
15087 maybe-configure-make:
15088 @if make
15089 maybe-configure-make: configure-make
15090 configure-make:
15091 @test ! -f make/Makefile || exit 0; \
15092 [ -d make ] || mkdir make; \
15093 r=`${PWD_COMMAND}`; export r; \
15094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15095 $(HOST_EXPORTS) \
15096 echo Configuring in make; \
15097 cd make || exit 1; \
15098 case $(srcdir) in \
15099 \.) \
15100 srcdiroption="--srcdir=."; \
15101 libsrcdir=".";; \
15102 /* | [A-Za-z]:[\\/]*) \
15103 srcdiroption="--srcdir=$(srcdir)/make"; \
15104 libsrcdir="$$s/make";; \
15105 *) \
15106 srcdiroption="--srcdir=../$(srcdir)/make"; \
15107 libsrcdir="$$s/make";; \
15108 esac; \
15109 $(SHELL) $${libsrcdir}/configure \
15110 $(HOST_CONFIGARGS) $${srcdiroption} \
15111 || exit 1
15112 @endif make
15114 .PHONY: all-make maybe-all-make
15115 maybe-all-make:
15116 @if make
15117 TARGET-make=all
15118 maybe-all-make: all-make
15119 all-make: configure-make
15120 @r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(SET_LIB_PATH) \
15123 $(HOST_EXPORTS) \
15124 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15125 $(TARGET-make))
15126 @endif make
15128 .PHONY: check-make maybe-check-make
15129 maybe-check-make:
15130 @if make
15131 maybe-check-make: check-make
15133 check-make:
15134 @r=`${PWD_COMMAND}`; export r; \
15135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15136 $(SET_LIB_PATH) \
15137 $(HOST_EXPORTS) \
15138 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15140 @endif make
15142 .PHONY: install-make maybe-install-make
15143 maybe-install-make:
15144 @if make
15145 maybe-install-make: install-make
15147 install-make: installdirs
15148 @r=`${PWD_COMMAND}`; export r; \
15149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15150 $(SET_LIB_PATH) \
15151 $(HOST_EXPORTS) \
15152 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15154 @endif make
15156 # Other targets (info, dvi, etc.)
15158 .PHONY: maybe-info-make info-make
15159 maybe-info-make:
15160 @if make
15161 maybe-info-make: info-make
15163 info-make: \
15164 configure-make
15165 @[ -f ./make/Makefile ] || exit 0; \
15166 r=`${PWD_COMMAND}`; export r; \
15167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15168 $(SET_LIB_PATH) \
15169 $(HOST_EXPORTS) \
15170 for flag in $(EXTRA_HOST_FLAGS) ; do \
15171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15172 done; \
15173 echo "Doing info in make" ; \
15174 (cd make && \
15175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15177 "RANLIB=$${RANLIB}" \
15178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15179 info) \
15180 || exit 1
15182 @endif make
15184 .PHONY: maybe-dvi-make dvi-make
15185 maybe-dvi-make:
15186 @if make
15187 maybe-dvi-make: dvi-make
15189 dvi-make: \
15190 configure-make
15191 @[ -f ./make/Makefile ] || exit 0; \
15192 r=`${PWD_COMMAND}`; export r; \
15193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15194 $(SET_LIB_PATH) \
15195 $(HOST_EXPORTS) \
15196 for flag in $(EXTRA_HOST_FLAGS) ; do \
15197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15198 done; \
15199 echo "Doing dvi in make" ; \
15200 (cd make && \
15201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15203 "RANLIB=$${RANLIB}" \
15204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15205 dvi) \
15206 || exit 1
15208 @endif make
15210 .PHONY: maybe-html-make html-make
15211 maybe-html-make:
15212 @if make
15213 maybe-html-make: html-make
15215 html-make: \
15216 configure-make
15217 @[ -f ./make/Makefile ] || exit 0; \
15218 r=`${PWD_COMMAND}`; export r; \
15219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15220 $(SET_LIB_PATH) \
15221 $(HOST_EXPORTS) \
15222 for flag in $(EXTRA_HOST_FLAGS) ; do \
15223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15224 done; \
15225 echo "Doing html in make" ; \
15226 (cd make && \
15227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15229 "RANLIB=$${RANLIB}" \
15230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15231 html) \
15232 || exit 1
15234 @endif make
15236 .PHONY: maybe-TAGS-make TAGS-make
15237 maybe-TAGS-make:
15238 @if make
15239 maybe-TAGS-make: TAGS-make
15241 TAGS-make: \
15242 configure-make
15243 @[ -f ./make/Makefile ] || exit 0; \
15244 r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 $(SET_LIB_PATH) \
15247 $(HOST_EXPORTS) \
15248 for flag in $(EXTRA_HOST_FLAGS) ; do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250 done; \
15251 echo "Doing TAGS in make" ; \
15252 (cd make && \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15257 TAGS) \
15258 || exit 1
15260 @endif make
15262 .PHONY: maybe-install-info-make install-info-make
15263 maybe-install-info-make:
15264 @if make
15265 maybe-install-info-make: install-info-make
15267 install-info-make: \
15268 configure-make \
15269 info-make
15270 @[ -f ./make/Makefile ] || exit 0; \
15271 r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 $(SET_LIB_PATH) \
15274 $(HOST_EXPORTS) \
15275 for flag in $(EXTRA_HOST_FLAGS) ; do \
15276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15277 done; \
15278 echo "Doing install-info in make" ; \
15279 (cd make && \
15280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15282 "RANLIB=$${RANLIB}" \
15283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15284 install-info) \
15285 || exit 1
15287 @endif make
15289 .PHONY: maybe-installcheck-make installcheck-make
15290 maybe-installcheck-make:
15291 @if make
15292 maybe-installcheck-make: installcheck-make
15294 installcheck-make: \
15295 configure-make
15296 @[ -f ./make/Makefile ] || exit 0; \
15297 r=`${PWD_COMMAND}`; export r; \
15298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15299 $(SET_LIB_PATH) \
15300 $(HOST_EXPORTS) \
15301 for flag in $(EXTRA_HOST_FLAGS) ; do \
15302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15303 done; \
15304 echo "Doing installcheck in make" ; \
15305 (cd make && \
15306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15308 "RANLIB=$${RANLIB}" \
15309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15310 installcheck) \
15311 || exit 1
15313 @endif make
15315 .PHONY: maybe-mostlyclean-make mostlyclean-make
15316 maybe-mostlyclean-make:
15317 @if make
15318 maybe-mostlyclean-make: mostlyclean-make
15320 mostlyclean-make:
15321 @[ -f ./make/Makefile ] || exit 0; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324 $(SET_LIB_PATH) \
15325 $(HOST_EXPORTS) \
15326 for flag in $(EXTRA_HOST_FLAGS) ; do \
15327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15328 done; \
15329 echo "Doing mostlyclean in make" ; \
15330 (cd make && \
15331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15333 "RANLIB=$${RANLIB}" \
15334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15335 mostlyclean) \
15336 || exit 1
15338 @endif make
15340 .PHONY: maybe-clean-make clean-make
15341 maybe-clean-make:
15342 @if make
15343 maybe-clean-make: clean-make
15345 clean-make:
15346 @[ -f ./make/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(SET_LIB_PATH) \
15350 $(HOST_EXPORTS) \
15351 for flag in $(EXTRA_HOST_FLAGS) ; do \
15352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15353 done; \
15354 echo "Doing clean in make" ; \
15355 (cd make && \
15356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15358 "RANLIB=$${RANLIB}" \
15359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15360 clean) \
15361 || exit 1
15363 @endif make
15365 .PHONY: maybe-distclean-make distclean-make
15366 maybe-distclean-make:
15367 @if make
15368 maybe-distclean-make: distclean-make
15370 distclean-make:
15371 @[ -f ./make/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 $(SET_LIB_PATH) \
15375 $(HOST_EXPORTS) \
15376 for flag in $(EXTRA_HOST_FLAGS) ; do \
15377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15378 done; \
15379 echo "Doing distclean in make" ; \
15380 (cd make && \
15381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15383 "RANLIB=$${RANLIB}" \
15384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15385 distclean) \
15386 || exit 1
15388 @endif make
15390 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15391 maybe-maintainer-clean-make:
15392 @if make
15393 maybe-maintainer-clean-make: maintainer-clean-make
15395 maintainer-clean-make:
15396 @[ -f ./make/Makefile ] || exit 0; \
15397 r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 $(SET_LIB_PATH) \
15400 $(HOST_EXPORTS) \
15401 for flag in $(EXTRA_HOST_FLAGS) ; do \
15402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15403 done; \
15404 echo "Doing maintainer-clean in make" ; \
15405 (cd make && \
15406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15408 "RANLIB=$${RANLIB}" \
15409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15410 maintainer-clean) \
15411 || exit 1
15413 @endif make
15416 .PHONY: configure-mmalloc maybe-configure-mmalloc
15417 maybe-configure-mmalloc:
15418 @if mmalloc
15419 maybe-configure-mmalloc: configure-mmalloc
15420 configure-mmalloc:
15421 @test ! -f mmalloc/Makefile || exit 0; \
15422 [ -d mmalloc ] || mkdir mmalloc; \
15423 r=`${PWD_COMMAND}`; export r; \
15424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15425 $(HOST_EXPORTS) \
15426 echo Configuring in mmalloc; \
15427 cd mmalloc || exit 1; \
15428 case $(srcdir) in \
15429 \.) \
15430 srcdiroption="--srcdir=."; \
15431 libsrcdir=".";; \
15432 /* | [A-Za-z]:[\\/]*) \
15433 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15434 libsrcdir="$$s/mmalloc";; \
15435 *) \
15436 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15437 libsrcdir="$$s/mmalloc";; \
15438 esac; \
15439 $(SHELL) $${libsrcdir}/configure \
15440 $(HOST_CONFIGARGS) $${srcdiroption} \
15441 || exit 1
15442 @endif mmalloc
15444 .PHONY: all-mmalloc maybe-all-mmalloc
15445 maybe-all-mmalloc:
15446 @if mmalloc
15447 TARGET-mmalloc=all
15448 maybe-all-mmalloc: all-mmalloc
15449 all-mmalloc: configure-mmalloc
15450 @r=`${PWD_COMMAND}`; export r; \
15451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15452 $(SET_LIB_PATH) \
15453 $(HOST_EXPORTS) \
15454 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15455 $(TARGET-mmalloc))
15456 @endif mmalloc
15458 .PHONY: check-mmalloc maybe-check-mmalloc
15459 maybe-check-mmalloc:
15460 @if mmalloc
15461 maybe-check-mmalloc: check-mmalloc
15463 check-mmalloc:
15465 @endif mmalloc
15467 .PHONY: install-mmalloc maybe-install-mmalloc
15468 maybe-install-mmalloc:
15469 @if mmalloc
15470 maybe-install-mmalloc: install-mmalloc
15472 install-mmalloc: installdirs
15473 @r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 $(SET_LIB_PATH) \
15476 $(HOST_EXPORTS) \
15477 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15479 @endif mmalloc
15481 # Other targets (info, dvi, etc.)
15483 .PHONY: maybe-info-mmalloc info-mmalloc
15484 maybe-info-mmalloc:
15485 @if mmalloc
15486 maybe-info-mmalloc: info-mmalloc
15488 info-mmalloc: \
15489 configure-mmalloc
15490 @[ -f ./mmalloc/Makefile ] || exit 0; \
15491 r=`${PWD_COMMAND}`; export r; \
15492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15493 $(SET_LIB_PATH) \
15494 $(HOST_EXPORTS) \
15495 for flag in $(EXTRA_HOST_FLAGS) ; do \
15496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15497 done; \
15498 echo "Doing info in mmalloc" ; \
15499 (cd mmalloc && \
15500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15502 "RANLIB=$${RANLIB}" \
15503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15504 info) \
15505 || exit 1
15507 @endif mmalloc
15509 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15510 maybe-dvi-mmalloc:
15511 @if mmalloc
15512 maybe-dvi-mmalloc: dvi-mmalloc
15514 dvi-mmalloc: \
15515 configure-mmalloc
15516 @[ -f ./mmalloc/Makefile ] || exit 0; \
15517 r=`${PWD_COMMAND}`; export r; \
15518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15519 $(SET_LIB_PATH) \
15520 $(HOST_EXPORTS) \
15521 for flag in $(EXTRA_HOST_FLAGS) ; do \
15522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15523 done; \
15524 echo "Doing dvi in mmalloc" ; \
15525 (cd mmalloc && \
15526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15528 "RANLIB=$${RANLIB}" \
15529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15530 dvi) \
15531 || exit 1
15533 @endif mmalloc
15535 .PHONY: maybe-html-mmalloc html-mmalloc
15536 maybe-html-mmalloc:
15537 @if mmalloc
15538 maybe-html-mmalloc: html-mmalloc
15540 html-mmalloc: \
15541 configure-mmalloc
15542 @[ -f ./mmalloc/Makefile ] || exit 0; \
15543 r=`${PWD_COMMAND}`; export r; \
15544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15545 $(SET_LIB_PATH) \
15546 $(HOST_EXPORTS) \
15547 for flag in $(EXTRA_HOST_FLAGS) ; do \
15548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15549 done; \
15550 echo "Doing html in mmalloc" ; \
15551 (cd mmalloc && \
15552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15554 "RANLIB=$${RANLIB}" \
15555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15556 html) \
15557 || exit 1
15559 @endif mmalloc
15561 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15562 maybe-TAGS-mmalloc:
15563 @if mmalloc
15564 maybe-TAGS-mmalloc: TAGS-mmalloc
15566 TAGS-mmalloc: \
15567 configure-mmalloc
15568 @[ -f ./mmalloc/Makefile ] || exit 0; \
15569 r=`${PWD_COMMAND}`; export r; \
15570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15571 $(SET_LIB_PATH) \
15572 $(HOST_EXPORTS) \
15573 for flag in $(EXTRA_HOST_FLAGS) ; do \
15574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15575 done; \
15576 echo "Doing TAGS in mmalloc" ; \
15577 (cd mmalloc && \
15578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15580 "RANLIB=$${RANLIB}" \
15581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15582 TAGS) \
15583 || exit 1
15585 @endif mmalloc
15587 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15588 maybe-install-info-mmalloc:
15589 @if mmalloc
15590 maybe-install-info-mmalloc: install-info-mmalloc
15592 install-info-mmalloc: \
15593 configure-mmalloc \
15594 info-mmalloc
15595 @[ -f ./mmalloc/Makefile ] || exit 0; \
15596 r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 $(SET_LIB_PATH) \
15599 $(HOST_EXPORTS) \
15600 for flag in $(EXTRA_HOST_FLAGS) ; do \
15601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15602 done; \
15603 echo "Doing install-info in mmalloc" ; \
15604 (cd mmalloc && \
15605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15607 "RANLIB=$${RANLIB}" \
15608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15609 install-info) \
15610 || exit 1
15612 @endif mmalloc
15614 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15615 maybe-installcheck-mmalloc:
15616 @if mmalloc
15617 maybe-installcheck-mmalloc: installcheck-mmalloc
15619 installcheck-mmalloc: \
15620 configure-mmalloc
15621 @[ -f ./mmalloc/Makefile ] || exit 0; \
15622 r=`${PWD_COMMAND}`; export r; \
15623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15624 $(SET_LIB_PATH) \
15625 $(HOST_EXPORTS) \
15626 for flag in $(EXTRA_HOST_FLAGS) ; do \
15627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15628 done; \
15629 echo "Doing installcheck in mmalloc" ; \
15630 (cd mmalloc && \
15631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15633 "RANLIB=$${RANLIB}" \
15634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15635 installcheck) \
15636 || exit 1
15638 @endif mmalloc
15640 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15641 maybe-mostlyclean-mmalloc:
15642 @if mmalloc
15643 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15645 mostlyclean-mmalloc:
15646 @[ -f ./mmalloc/Makefile ] || exit 0; \
15647 r=`${PWD_COMMAND}`; export r; \
15648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15649 $(SET_LIB_PATH) \
15650 $(HOST_EXPORTS) \
15651 for flag in $(EXTRA_HOST_FLAGS) ; do \
15652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15653 done; \
15654 echo "Doing mostlyclean in mmalloc" ; \
15655 (cd mmalloc && \
15656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15658 "RANLIB=$${RANLIB}" \
15659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15660 mostlyclean) \
15661 || exit 1
15663 @endif mmalloc
15665 .PHONY: maybe-clean-mmalloc clean-mmalloc
15666 maybe-clean-mmalloc:
15667 @if mmalloc
15668 maybe-clean-mmalloc: clean-mmalloc
15670 clean-mmalloc:
15671 @[ -f ./mmalloc/Makefile ] || exit 0; \
15672 r=`${PWD_COMMAND}`; export r; \
15673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674 $(SET_LIB_PATH) \
15675 $(HOST_EXPORTS) \
15676 for flag in $(EXTRA_HOST_FLAGS) ; do \
15677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15678 done; \
15679 echo "Doing clean in mmalloc" ; \
15680 (cd mmalloc && \
15681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15683 "RANLIB=$${RANLIB}" \
15684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15685 clean) \
15686 || exit 1
15688 @endif mmalloc
15690 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15691 maybe-distclean-mmalloc:
15692 @if mmalloc
15693 maybe-distclean-mmalloc: distclean-mmalloc
15695 distclean-mmalloc:
15696 @[ -f ./mmalloc/Makefile ] || exit 0; \
15697 r=`${PWD_COMMAND}`; export r; \
15698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15699 $(SET_LIB_PATH) \
15700 $(HOST_EXPORTS) \
15701 for flag in $(EXTRA_HOST_FLAGS) ; do \
15702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15703 done; \
15704 echo "Doing distclean in mmalloc" ; \
15705 (cd mmalloc && \
15706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15708 "RANLIB=$${RANLIB}" \
15709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15710 distclean) \
15711 || exit 1
15713 @endif mmalloc
15715 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15716 maybe-maintainer-clean-mmalloc:
15717 @if mmalloc
15718 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15720 maintainer-clean-mmalloc:
15721 @[ -f ./mmalloc/Makefile ] || exit 0; \
15722 r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 $(SET_LIB_PATH) \
15725 $(HOST_EXPORTS) \
15726 for flag in $(EXTRA_HOST_FLAGS) ; do \
15727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15728 done; \
15729 echo "Doing maintainer-clean in mmalloc" ; \
15730 (cd mmalloc && \
15731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15733 "RANLIB=$${RANLIB}" \
15734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15735 maintainer-clean) \
15736 || exit 1
15738 @endif mmalloc
15741 .PHONY: configure-patch maybe-configure-patch
15742 maybe-configure-patch:
15743 @if patch
15744 maybe-configure-patch: configure-patch
15745 configure-patch:
15746 @test ! -f patch/Makefile || exit 0; \
15747 [ -d patch ] || mkdir patch; \
15748 r=`${PWD_COMMAND}`; export r; \
15749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15750 $(HOST_EXPORTS) \
15751 echo Configuring in patch; \
15752 cd patch || exit 1; \
15753 case $(srcdir) in \
15754 \.) \
15755 srcdiroption="--srcdir=."; \
15756 libsrcdir=".";; \
15757 /* | [A-Za-z]:[\\/]*) \
15758 srcdiroption="--srcdir=$(srcdir)/patch"; \
15759 libsrcdir="$$s/patch";; \
15760 *) \
15761 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15762 libsrcdir="$$s/patch";; \
15763 esac; \
15764 $(SHELL) $${libsrcdir}/configure \
15765 $(HOST_CONFIGARGS) $${srcdiroption} \
15766 || exit 1
15767 @endif patch
15769 .PHONY: all-patch maybe-all-patch
15770 maybe-all-patch:
15771 @if patch
15772 TARGET-patch=all
15773 maybe-all-patch: all-patch
15774 all-patch: configure-patch
15775 @r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 $(SET_LIB_PATH) \
15778 $(HOST_EXPORTS) \
15779 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15780 $(TARGET-patch))
15781 @endif patch
15783 .PHONY: check-patch maybe-check-patch
15784 maybe-check-patch:
15785 @if patch
15786 maybe-check-patch: check-patch
15788 check-patch:
15789 @r=`${PWD_COMMAND}`; export r; \
15790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15791 $(SET_LIB_PATH) \
15792 $(HOST_EXPORTS) \
15793 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15795 @endif patch
15797 .PHONY: install-patch maybe-install-patch
15798 maybe-install-patch:
15799 @if patch
15800 maybe-install-patch: install-patch
15802 install-patch: installdirs
15803 @r=`${PWD_COMMAND}`; export r; \
15804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15805 $(SET_LIB_PATH) \
15806 $(HOST_EXPORTS) \
15807 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15809 @endif patch
15811 # Other targets (info, dvi, etc.)
15813 .PHONY: maybe-info-patch info-patch
15814 maybe-info-patch:
15815 @if patch
15816 maybe-info-patch: info-patch
15818 info-patch: \
15819 configure-patch
15820 @[ -f ./patch/Makefile ] || exit 0; \
15821 r=`${PWD_COMMAND}`; export r; \
15822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15823 $(SET_LIB_PATH) \
15824 $(HOST_EXPORTS) \
15825 for flag in $(EXTRA_HOST_FLAGS) ; do \
15826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15827 done; \
15828 echo "Doing info in patch" ; \
15829 (cd patch && \
15830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15832 "RANLIB=$${RANLIB}" \
15833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15834 info) \
15835 || exit 1
15837 @endif patch
15839 .PHONY: maybe-dvi-patch dvi-patch
15840 maybe-dvi-patch:
15841 @if patch
15842 maybe-dvi-patch: dvi-patch
15844 dvi-patch: \
15845 configure-patch
15846 @[ -f ./patch/Makefile ] || exit 0; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(SET_LIB_PATH) \
15850 $(HOST_EXPORTS) \
15851 for flag in $(EXTRA_HOST_FLAGS) ; do \
15852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15853 done; \
15854 echo "Doing dvi in patch" ; \
15855 (cd patch && \
15856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15858 "RANLIB=$${RANLIB}" \
15859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15860 dvi) \
15861 || exit 1
15863 @endif patch
15865 .PHONY: maybe-html-patch html-patch
15866 maybe-html-patch:
15867 @if patch
15868 maybe-html-patch: html-patch
15870 html-patch: \
15871 configure-patch
15872 @[ -f ./patch/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 $(SET_LIB_PATH) \
15876 $(HOST_EXPORTS) \
15877 for flag in $(EXTRA_HOST_FLAGS) ; do \
15878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15879 done; \
15880 echo "Doing html in patch" ; \
15881 (cd patch && \
15882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15884 "RANLIB=$${RANLIB}" \
15885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15886 html) \
15887 || exit 1
15889 @endif patch
15891 .PHONY: maybe-TAGS-patch TAGS-patch
15892 maybe-TAGS-patch:
15893 @if patch
15894 maybe-TAGS-patch: TAGS-patch
15896 TAGS-patch: \
15897 configure-patch
15898 @[ -f ./patch/Makefile ] || exit 0; \
15899 r=`${PWD_COMMAND}`; export r; \
15900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15901 $(SET_LIB_PATH) \
15902 $(HOST_EXPORTS) \
15903 for flag in $(EXTRA_HOST_FLAGS) ; do \
15904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15905 done; \
15906 echo "Doing TAGS in patch" ; \
15907 (cd patch && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15910 "RANLIB=$${RANLIB}" \
15911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15912 TAGS) \
15913 || exit 1
15915 @endif patch
15917 .PHONY: maybe-install-info-patch install-info-patch
15918 maybe-install-info-patch:
15919 @if patch
15920 maybe-install-info-patch: install-info-patch
15922 install-info-patch: \
15923 configure-patch \
15924 info-patch
15925 @[ -f ./patch/Makefile ] || exit 0; \
15926 r=`${PWD_COMMAND}`; export r; \
15927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 $(SET_LIB_PATH) \
15929 $(HOST_EXPORTS) \
15930 for flag in $(EXTRA_HOST_FLAGS) ; do \
15931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15932 done; \
15933 echo "Doing install-info in patch" ; \
15934 (cd patch && \
15935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15937 "RANLIB=$${RANLIB}" \
15938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15939 install-info) \
15940 || exit 1
15942 @endif patch
15944 .PHONY: maybe-installcheck-patch installcheck-patch
15945 maybe-installcheck-patch:
15946 @if patch
15947 maybe-installcheck-patch: installcheck-patch
15949 installcheck-patch: \
15950 configure-patch
15951 @[ -f ./patch/Makefile ] || exit 0; \
15952 r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15954 $(SET_LIB_PATH) \
15955 $(HOST_EXPORTS) \
15956 for flag in $(EXTRA_HOST_FLAGS) ; do \
15957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15958 done; \
15959 echo "Doing installcheck in patch" ; \
15960 (cd patch && \
15961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15963 "RANLIB=$${RANLIB}" \
15964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15965 installcheck) \
15966 || exit 1
15968 @endif patch
15970 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15971 maybe-mostlyclean-patch:
15972 @if patch
15973 maybe-mostlyclean-patch: mostlyclean-patch
15975 mostlyclean-patch:
15976 @[ -f ./patch/Makefile ] || exit 0; \
15977 r=`${PWD_COMMAND}`; export r; \
15978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15979 $(SET_LIB_PATH) \
15980 $(HOST_EXPORTS) \
15981 for flag in $(EXTRA_HOST_FLAGS) ; do \
15982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15983 done; \
15984 echo "Doing mostlyclean in patch" ; \
15985 (cd patch && \
15986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15988 "RANLIB=$${RANLIB}" \
15989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15990 mostlyclean) \
15991 || exit 1
15993 @endif patch
15995 .PHONY: maybe-clean-patch clean-patch
15996 maybe-clean-patch:
15997 @if patch
15998 maybe-clean-patch: clean-patch
16000 clean-patch:
16001 @[ -f ./patch/Makefile ] || exit 0; \
16002 r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16004 $(SET_LIB_PATH) \
16005 $(HOST_EXPORTS) \
16006 for flag in $(EXTRA_HOST_FLAGS) ; do \
16007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16008 done; \
16009 echo "Doing clean in patch" ; \
16010 (cd patch && \
16011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16013 "RANLIB=$${RANLIB}" \
16014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16015 clean) \
16016 || exit 1
16018 @endif patch
16020 .PHONY: maybe-distclean-patch distclean-patch
16021 maybe-distclean-patch:
16022 @if patch
16023 maybe-distclean-patch: distclean-patch
16025 distclean-patch:
16026 @[ -f ./patch/Makefile ] || exit 0; \
16027 r=`${PWD_COMMAND}`; export r; \
16028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16029 $(SET_LIB_PATH) \
16030 $(HOST_EXPORTS) \
16031 for flag in $(EXTRA_HOST_FLAGS) ; do \
16032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16033 done; \
16034 echo "Doing distclean in patch" ; \
16035 (cd patch && \
16036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16038 "RANLIB=$${RANLIB}" \
16039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16040 distclean) \
16041 || exit 1
16043 @endif patch
16045 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16046 maybe-maintainer-clean-patch:
16047 @if patch
16048 maybe-maintainer-clean-patch: maintainer-clean-patch
16050 maintainer-clean-patch:
16051 @[ -f ./patch/Makefile ] || exit 0; \
16052 r=`${PWD_COMMAND}`; export r; \
16053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16054 $(SET_LIB_PATH) \
16055 $(HOST_EXPORTS) \
16056 for flag in $(EXTRA_HOST_FLAGS) ; do \
16057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16058 done; \
16059 echo "Doing maintainer-clean in patch" ; \
16060 (cd patch && \
16061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16063 "RANLIB=$${RANLIB}" \
16064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16065 maintainer-clean) \
16066 || exit 1
16068 @endif patch
16071 .PHONY: configure-perl maybe-configure-perl
16072 maybe-configure-perl:
16073 @if perl
16074 maybe-configure-perl: configure-perl
16075 configure-perl:
16076 @test ! -f perl/Makefile || exit 0; \
16077 [ -d perl ] || mkdir perl; \
16078 r=`${PWD_COMMAND}`; export r; \
16079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16080 $(HOST_EXPORTS) \
16081 echo Configuring in perl; \
16082 cd perl || exit 1; \
16083 case $(srcdir) in \
16084 \.) \
16085 srcdiroption="--srcdir=."; \
16086 libsrcdir=".";; \
16087 /* | [A-Za-z]:[\\/]*) \
16088 srcdiroption="--srcdir=$(srcdir)/perl"; \
16089 libsrcdir="$$s/perl";; \
16090 *) \
16091 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16092 libsrcdir="$$s/perl";; \
16093 esac; \
16094 $(SHELL) $${libsrcdir}/configure \
16095 $(HOST_CONFIGARGS) $${srcdiroption} \
16096 || exit 1
16097 @endif perl
16099 .PHONY: all-perl maybe-all-perl
16100 maybe-all-perl:
16101 @if perl
16102 TARGET-perl=all
16103 maybe-all-perl: all-perl
16104 all-perl: configure-perl
16105 @r=`${PWD_COMMAND}`; export r; \
16106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16107 $(SET_LIB_PATH) \
16108 $(HOST_EXPORTS) \
16109 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16110 $(TARGET-perl))
16111 @endif perl
16113 .PHONY: check-perl maybe-check-perl
16114 maybe-check-perl:
16115 @if perl
16116 maybe-check-perl: check-perl
16118 check-perl:
16119 @r=`${PWD_COMMAND}`; export r; \
16120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 $(SET_LIB_PATH) \
16122 $(HOST_EXPORTS) \
16123 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16125 @endif perl
16127 .PHONY: install-perl maybe-install-perl
16128 maybe-install-perl:
16129 @if perl
16130 maybe-install-perl: install-perl
16132 install-perl: installdirs
16133 @r=`${PWD_COMMAND}`; export r; \
16134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 $(SET_LIB_PATH) \
16136 $(HOST_EXPORTS) \
16137 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16139 @endif perl
16141 # Other targets (info, dvi, etc.)
16143 .PHONY: maybe-info-perl info-perl
16144 maybe-info-perl:
16145 @if perl
16146 maybe-info-perl: info-perl
16148 info-perl: \
16149 configure-perl
16150 @[ -f ./perl/Makefile ] || exit 0; \
16151 r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 $(SET_LIB_PATH) \
16154 $(HOST_EXPORTS) \
16155 for flag in $(EXTRA_HOST_FLAGS) ; do \
16156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16157 done; \
16158 echo "Doing info in perl" ; \
16159 (cd perl && \
16160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16162 "RANLIB=$${RANLIB}" \
16163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16164 info) \
16165 || exit 1
16167 @endif perl
16169 .PHONY: maybe-dvi-perl dvi-perl
16170 maybe-dvi-perl:
16171 @if perl
16172 maybe-dvi-perl: dvi-perl
16174 dvi-perl: \
16175 configure-perl
16176 @[ -f ./perl/Makefile ] || exit 0; \
16177 r=`${PWD_COMMAND}`; export r; \
16178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179 $(SET_LIB_PATH) \
16180 $(HOST_EXPORTS) \
16181 for flag in $(EXTRA_HOST_FLAGS) ; do \
16182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16183 done; \
16184 echo "Doing dvi in perl" ; \
16185 (cd perl && \
16186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16188 "RANLIB=$${RANLIB}" \
16189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16190 dvi) \
16191 || exit 1
16193 @endif perl
16195 .PHONY: maybe-html-perl html-perl
16196 maybe-html-perl:
16197 @if perl
16198 maybe-html-perl: html-perl
16200 html-perl: \
16201 configure-perl
16202 @[ -f ./perl/Makefile ] || exit 0; \
16203 r=`${PWD_COMMAND}`; export r; \
16204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16205 $(SET_LIB_PATH) \
16206 $(HOST_EXPORTS) \
16207 for flag in $(EXTRA_HOST_FLAGS) ; do \
16208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 done; \
16210 echo "Doing html in perl" ; \
16211 (cd perl && \
16212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16214 "RANLIB=$${RANLIB}" \
16215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16216 html) \
16217 || exit 1
16219 @endif perl
16221 .PHONY: maybe-TAGS-perl TAGS-perl
16222 maybe-TAGS-perl:
16223 @if perl
16224 maybe-TAGS-perl: TAGS-perl
16226 TAGS-perl: \
16227 configure-perl
16228 @[ -f ./perl/Makefile ] || exit 0; \
16229 r=`${PWD_COMMAND}`; export r; \
16230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16231 $(SET_LIB_PATH) \
16232 $(HOST_EXPORTS) \
16233 for flag in $(EXTRA_HOST_FLAGS) ; do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16235 done; \
16236 echo "Doing TAGS in perl" ; \
16237 (cd perl && \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16242 TAGS) \
16243 || exit 1
16245 @endif perl
16247 .PHONY: maybe-install-info-perl install-info-perl
16248 maybe-install-info-perl:
16249 @if perl
16250 maybe-install-info-perl: install-info-perl
16252 install-info-perl: \
16253 configure-perl \
16254 info-perl
16255 @[ -f ./perl/Makefile ] || exit 0; \
16256 r=`${PWD_COMMAND}`; export r; \
16257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16258 $(SET_LIB_PATH) \
16259 $(HOST_EXPORTS) \
16260 for flag in $(EXTRA_HOST_FLAGS) ; do \
16261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16262 done; \
16263 echo "Doing install-info in perl" ; \
16264 (cd perl && \
16265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16267 "RANLIB=$${RANLIB}" \
16268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16269 install-info) \
16270 || exit 1
16272 @endif perl
16274 .PHONY: maybe-installcheck-perl installcheck-perl
16275 maybe-installcheck-perl:
16276 @if perl
16277 maybe-installcheck-perl: installcheck-perl
16279 installcheck-perl: \
16280 configure-perl
16281 @[ -f ./perl/Makefile ] || exit 0; \
16282 r=`${PWD_COMMAND}`; export r; \
16283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 $(SET_LIB_PATH) \
16285 $(HOST_EXPORTS) \
16286 for flag in $(EXTRA_HOST_FLAGS) ; do \
16287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16288 done; \
16289 echo "Doing installcheck in perl" ; \
16290 (cd perl && \
16291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16293 "RANLIB=$${RANLIB}" \
16294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16295 installcheck) \
16296 || exit 1
16298 @endif perl
16300 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16301 maybe-mostlyclean-perl:
16302 @if perl
16303 maybe-mostlyclean-perl: mostlyclean-perl
16305 mostlyclean-perl:
16306 @[ -f ./perl/Makefile ] || exit 0; \
16307 r=`${PWD_COMMAND}`; export r; \
16308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16309 $(SET_LIB_PATH) \
16310 $(HOST_EXPORTS) \
16311 for flag in $(EXTRA_HOST_FLAGS) ; do \
16312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16313 done; \
16314 echo "Doing mostlyclean in perl" ; \
16315 (cd perl && \
16316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16318 "RANLIB=$${RANLIB}" \
16319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16320 mostlyclean) \
16321 || exit 1
16323 @endif perl
16325 .PHONY: maybe-clean-perl clean-perl
16326 maybe-clean-perl:
16327 @if perl
16328 maybe-clean-perl: clean-perl
16330 clean-perl:
16331 @[ -f ./perl/Makefile ] || exit 0; \
16332 r=`${PWD_COMMAND}`; export r; \
16333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16334 $(SET_LIB_PATH) \
16335 $(HOST_EXPORTS) \
16336 for flag in $(EXTRA_HOST_FLAGS) ; do \
16337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16338 done; \
16339 echo "Doing clean in perl" ; \
16340 (cd perl && \
16341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16343 "RANLIB=$${RANLIB}" \
16344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16345 clean) \
16346 || exit 1
16348 @endif perl
16350 .PHONY: maybe-distclean-perl distclean-perl
16351 maybe-distclean-perl:
16352 @if perl
16353 maybe-distclean-perl: distclean-perl
16355 distclean-perl:
16356 @[ -f ./perl/Makefile ] || exit 0; \
16357 r=`${PWD_COMMAND}`; export r; \
16358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16359 $(SET_LIB_PATH) \
16360 $(HOST_EXPORTS) \
16361 for flag in $(EXTRA_HOST_FLAGS) ; do \
16362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16363 done; \
16364 echo "Doing distclean in perl" ; \
16365 (cd perl && \
16366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16368 "RANLIB=$${RANLIB}" \
16369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16370 distclean) \
16371 || exit 1
16373 @endif perl
16375 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16376 maybe-maintainer-clean-perl:
16377 @if perl
16378 maybe-maintainer-clean-perl: maintainer-clean-perl
16380 maintainer-clean-perl:
16381 @[ -f ./perl/Makefile ] || exit 0; \
16382 r=`${PWD_COMMAND}`; export r; \
16383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16384 $(SET_LIB_PATH) \
16385 $(HOST_EXPORTS) \
16386 for flag in $(EXTRA_HOST_FLAGS) ; do \
16387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16388 done; \
16389 echo "Doing maintainer-clean in perl" ; \
16390 (cd perl && \
16391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16393 "RANLIB=$${RANLIB}" \
16394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16395 maintainer-clean) \
16396 || exit 1
16398 @endif perl
16401 .PHONY: configure-prms maybe-configure-prms
16402 maybe-configure-prms:
16403 @if prms
16404 maybe-configure-prms: configure-prms
16405 configure-prms:
16406 @test ! -f prms/Makefile || exit 0; \
16407 [ -d prms ] || mkdir prms; \
16408 r=`${PWD_COMMAND}`; export r; \
16409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16410 $(HOST_EXPORTS) \
16411 echo Configuring in prms; \
16412 cd prms || exit 1; \
16413 case $(srcdir) in \
16414 \.) \
16415 srcdiroption="--srcdir=."; \
16416 libsrcdir=".";; \
16417 /* | [A-Za-z]:[\\/]*) \
16418 srcdiroption="--srcdir=$(srcdir)/prms"; \
16419 libsrcdir="$$s/prms";; \
16420 *) \
16421 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16422 libsrcdir="$$s/prms";; \
16423 esac; \
16424 $(SHELL) $${libsrcdir}/configure \
16425 $(HOST_CONFIGARGS) $${srcdiroption} \
16426 || exit 1
16427 @endif prms
16429 .PHONY: all-prms maybe-all-prms
16430 maybe-all-prms:
16431 @if prms
16432 TARGET-prms=all
16433 maybe-all-prms: all-prms
16434 all-prms: configure-prms
16435 @r=`${PWD_COMMAND}`; export r; \
16436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16437 $(SET_LIB_PATH) \
16438 $(HOST_EXPORTS) \
16439 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16440 $(TARGET-prms))
16441 @endif prms
16443 .PHONY: check-prms maybe-check-prms
16444 maybe-check-prms:
16445 @if prms
16446 maybe-check-prms: check-prms
16448 check-prms:
16449 @r=`${PWD_COMMAND}`; export r; \
16450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16451 $(SET_LIB_PATH) \
16452 $(HOST_EXPORTS) \
16453 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16455 @endif prms
16457 .PHONY: install-prms maybe-install-prms
16458 maybe-install-prms:
16459 @if prms
16460 maybe-install-prms: install-prms
16462 install-prms: installdirs
16463 @r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(SET_LIB_PATH) \
16466 $(HOST_EXPORTS) \
16467 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16469 @endif prms
16471 # Other targets (info, dvi, etc.)
16473 .PHONY: maybe-info-prms info-prms
16474 maybe-info-prms:
16475 @if prms
16476 maybe-info-prms: info-prms
16478 info-prms: \
16479 configure-prms
16480 @[ -f ./prms/Makefile ] || exit 0; \
16481 r=`${PWD_COMMAND}`; export r; \
16482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16483 $(SET_LIB_PATH) \
16484 $(HOST_EXPORTS) \
16485 for flag in $(EXTRA_HOST_FLAGS) ; do \
16486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16487 done; \
16488 echo "Doing info in prms" ; \
16489 (cd prms && \
16490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16492 "RANLIB=$${RANLIB}" \
16493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16494 info) \
16495 || exit 1
16497 @endif prms
16499 .PHONY: maybe-dvi-prms dvi-prms
16500 maybe-dvi-prms:
16501 @if prms
16502 maybe-dvi-prms: dvi-prms
16504 dvi-prms: \
16505 configure-prms
16506 @[ -f ./prms/Makefile ] || exit 0; \
16507 r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16509 $(SET_LIB_PATH) \
16510 $(HOST_EXPORTS) \
16511 for flag in $(EXTRA_HOST_FLAGS) ; do \
16512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16513 done; \
16514 echo "Doing dvi in prms" ; \
16515 (cd prms && \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518 "RANLIB=$${RANLIB}" \
16519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16520 dvi) \
16521 || exit 1
16523 @endif prms
16525 .PHONY: maybe-html-prms html-prms
16526 maybe-html-prms:
16527 @if prms
16528 maybe-html-prms: html-prms
16530 html-prms: \
16531 configure-prms
16532 @[ -f ./prms/Makefile ] || exit 0; \
16533 r=`${PWD_COMMAND}`; export r; \
16534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535 $(SET_LIB_PATH) \
16536 $(HOST_EXPORTS) \
16537 for flag in $(EXTRA_HOST_FLAGS) ; do \
16538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16539 done; \
16540 echo "Doing html in prms" ; \
16541 (cd prms && \
16542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16544 "RANLIB=$${RANLIB}" \
16545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16546 html) \
16547 || exit 1
16549 @endif prms
16551 .PHONY: maybe-TAGS-prms TAGS-prms
16552 maybe-TAGS-prms:
16553 @if prms
16554 maybe-TAGS-prms: TAGS-prms
16556 TAGS-prms: \
16557 configure-prms
16558 @[ -f ./prms/Makefile ] || exit 0; \
16559 r=`${PWD_COMMAND}`; export r; \
16560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16561 $(SET_LIB_PATH) \
16562 $(HOST_EXPORTS) \
16563 for flag in $(EXTRA_HOST_FLAGS) ; do \
16564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16565 done; \
16566 echo "Doing TAGS in prms" ; \
16567 (cd prms && \
16568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16570 "RANLIB=$${RANLIB}" \
16571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16572 TAGS) \
16573 || exit 1
16575 @endif prms
16577 .PHONY: maybe-install-info-prms install-info-prms
16578 maybe-install-info-prms:
16579 @if prms
16580 maybe-install-info-prms: install-info-prms
16582 install-info-prms: \
16583 configure-prms \
16584 info-prms
16585 @[ -f ./prms/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 $(SET_LIB_PATH) \
16589 $(HOST_EXPORTS) \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16592 done; \
16593 echo "Doing install-info in prms" ; \
16594 (cd prms && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599 install-info) \
16600 || exit 1
16602 @endif prms
16604 .PHONY: maybe-installcheck-prms installcheck-prms
16605 maybe-installcheck-prms:
16606 @if prms
16607 maybe-installcheck-prms: installcheck-prms
16609 installcheck-prms: \
16610 configure-prms
16611 @[ -f ./prms/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 $(SET_LIB_PATH) \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing installcheck in prms" ; \
16620 (cd prms && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 installcheck) \
16626 || exit 1
16628 @endif prms
16630 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16631 maybe-mostlyclean-prms:
16632 @if prms
16633 maybe-mostlyclean-prms: mostlyclean-prms
16635 mostlyclean-prms:
16636 @[ -f ./prms/Makefile ] || exit 0; \
16637 r=`${PWD_COMMAND}`; export r; \
16638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16639 $(SET_LIB_PATH) \
16640 $(HOST_EXPORTS) \
16641 for flag in $(EXTRA_HOST_FLAGS) ; do \
16642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16643 done; \
16644 echo "Doing mostlyclean in prms" ; \
16645 (cd prms && \
16646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16648 "RANLIB=$${RANLIB}" \
16649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16650 mostlyclean) \
16651 || exit 1
16653 @endif prms
16655 .PHONY: maybe-clean-prms clean-prms
16656 maybe-clean-prms:
16657 @if prms
16658 maybe-clean-prms: clean-prms
16660 clean-prms:
16661 @[ -f ./prms/Makefile ] || exit 0; \
16662 r=`${PWD_COMMAND}`; export r; \
16663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16664 $(SET_LIB_PATH) \
16665 $(HOST_EXPORTS) \
16666 for flag in $(EXTRA_HOST_FLAGS) ; do \
16667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16668 done; \
16669 echo "Doing clean in prms" ; \
16670 (cd prms && \
16671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16673 "RANLIB=$${RANLIB}" \
16674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16675 clean) \
16676 || exit 1
16678 @endif prms
16680 .PHONY: maybe-distclean-prms distclean-prms
16681 maybe-distclean-prms:
16682 @if prms
16683 maybe-distclean-prms: distclean-prms
16685 distclean-prms:
16686 @[ -f ./prms/Makefile ] || exit 0; \
16687 r=`${PWD_COMMAND}`; export r; \
16688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16689 $(SET_LIB_PATH) \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing distclean in prms" ; \
16695 (cd prms && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16700 distclean) \
16701 || exit 1
16703 @endif prms
16705 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16706 maybe-maintainer-clean-prms:
16707 @if prms
16708 maybe-maintainer-clean-prms: maintainer-clean-prms
16710 maintainer-clean-prms:
16711 @[ -f ./prms/Makefile ] || exit 0; \
16712 r=`${PWD_COMMAND}`; export r; \
16713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 $(SET_LIB_PATH) \
16715 $(HOST_EXPORTS) \
16716 for flag in $(EXTRA_HOST_FLAGS) ; do \
16717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16718 done; \
16719 echo "Doing maintainer-clean in prms" ; \
16720 (cd prms && \
16721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16723 "RANLIB=$${RANLIB}" \
16724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16725 maintainer-clean) \
16726 || exit 1
16728 @endif prms
16731 .PHONY: configure-rcs maybe-configure-rcs
16732 maybe-configure-rcs:
16733 @if rcs
16734 maybe-configure-rcs: configure-rcs
16735 configure-rcs:
16736 @test ! -f rcs/Makefile || exit 0; \
16737 [ -d rcs ] || mkdir rcs; \
16738 r=`${PWD_COMMAND}`; export r; \
16739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 $(HOST_EXPORTS) \
16741 echo Configuring in rcs; \
16742 cd rcs || exit 1; \
16743 case $(srcdir) in \
16744 \.) \
16745 srcdiroption="--srcdir=."; \
16746 libsrcdir=".";; \
16747 /* | [A-Za-z]:[\\/]*) \
16748 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16749 libsrcdir="$$s/rcs";; \
16750 *) \
16751 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16752 libsrcdir="$$s/rcs";; \
16753 esac; \
16754 $(SHELL) $${libsrcdir}/configure \
16755 $(HOST_CONFIGARGS) $${srcdiroption} \
16756 || exit 1
16757 @endif rcs
16759 .PHONY: all-rcs maybe-all-rcs
16760 maybe-all-rcs:
16761 @if rcs
16762 TARGET-rcs=all
16763 maybe-all-rcs: all-rcs
16764 all-rcs: configure-rcs
16765 @r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(SET_LIB_PATH) \
16768 $(HOST_EXPORTS) \
16769 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16770 $(TARGET-rcs))
16771 @endif rcs
16773 .PHONY: check-rcs maybe-check-rcs
16774 maybe-check-rcs:
16775 @if rcs
16776 maybe-check-rcs: check-rcs
16778 check-rcs:
16779 @r=`${PWD_COMMAND}`; export r; \
16780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16781 $(SET_LIB_PATH) \
16782 $(HOST_EXPORTS) \
16783 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16785 @endif rcs
16787 .PHONY: install-rcs maybe-install-rcs
16788 maybe-install-rcs:
16789 @if rcs
16790 maybe-install-rcs: install-rcs
16792 install-rcs: installdirs
16793 @r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 $(SET_LIB_PATH) \
16796 $(HOST_EXPORTS) \
16797 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16799 @endif rcs
16801 # Other targets (info, dvi, etc.)
16803 .PHONY: maybe-info-rcs info-rcs
16804 maybe-info-rcs:
16805 @if rcs
16806 maybe-info-rcs: info-rcs
16808 info-rcs: \
16809 configure-rcs
16810 @[ -f ./rcs/Makefile ] || exit 0; \
16811 r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(SET_LIB_PATH) \
16814 $(HOST_EXPORTS) \
16815 for flag in $(EXTRA_HOST_FLAGS) ; do \
16816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16817 done; \
16818 echo "Doing info in rcs" ; \
16819 (cd rcs && \
16820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16822 "RANLIB=$${RANLIB}" \
16823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16824 info) \
16825 || exit 1
16827 @endif rcs
16829 .PHONY: maybe-dvi-rcs dvi-rcs
16830 maybe-dvi-rcs:
16831 @if rcs
16832 maybe-dvi-rcs: dvi-rcs
16834 dvi-rcs: \
16835 configure-rcs
16836 @[ -f ./rcs/Makefile ] || exit 0; \
16837 r=`${PWD_COMMAND}`; export r; \
16838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16839 $(SET_LIB_PATH) \
16840 $(HOST_EXPORTS) \
16841 for flag in $(EXTRA_HOST_FLAGS) ; do \
16842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16843 done; \
16844 echo "Doing dvi in rcs" ; \
16845 (cd rcs && \
16846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16848 "RANLIB=$${RANLIB}" \
16849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16850 dvi) \
16851 || exit 1
16853 @endif rcs
16855 .PHONY: maybe-html-rcs html-rcs
16856 maybe-html-rcs:
16857 @if rcs
16858 maybe-html-rcs: html-rcs
16860 html-rcs: \
16861 configure-rcs
16862 @[ -f ./rcs/Makefile ] || exit 0; \
16863 r=`${PWD_COMMAND}`; export r; \
16864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16865 $(SET_LIB_PATH) \
16866 $(HOST_EXPORTS) \
16867 for flag in $(EXTRA_HOST_FLAGS) ; do \
16868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16869 done; \
16870 echo "Doing html in rcs" ; \
16871 (cd rcs && \
16872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16874 "RANLIB=$${RANLIB}" \
16875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16876 html) \
16877 || exit 1
16879 @endif rcs
16881 .PHONY: maybe-TAGS-rcs TAGS-rcs
16882 maybe-TAGS-rcs:
16883 @if rcs
16884 maybe-TAGS-rcs: TAGS-rcs
16886 TAGS-rcs: \
16887 configure-rcs
16888 @[ -f ./rcs/Makefile ] || exit 0; \
16889 r=`${PWD_COMMAND}`; export r; \
16890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16891 $(SET_LIB_PATH) \
16892 $(HOST_EXPORTS) \
16893 for flag in $(EXTRA_HOST_FLAGS) ; do \
16894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16895 done; \
16896 echo "Doing TAGS in rcs" ; \
16897 (cd rcs && \
16898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16900 "RANLIB=$${RANLIB}" \
16901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16902 TAGS) \
16903 || exit 1
16905 @endif rcs
16907 .PHONY: maybe-install-info-rcs install-info-rcs
16908 maybe-install-info-rcs:
16909 @if rcs
16910 maybe-install-info-rcs: install-info-rcs
16912 install-info-rcs: \
16913 configure-rcs \
16914 info-rcs
16915 @[ -f ./rcs/Makefile ] || exit 0; \
16916 r=`${PWD_COMMAND}`; export r; \
16917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16918 $(SET_LIB_PATH) \
16919 $(HOST_EXPORTS) \
16920 for flag in $(EXTRA_HOST_FLAGS) ; do \
16921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 done; \
16923 echo "Doing install-info in rcs" ; \
16924 (cd rcs && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16927 "RANLIB=$${RANLIB}" \
16928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16929 install-info) \
16930 || exit 1
16932 @endif rcs
16934 .PHONY: maybe-installcheck-rcs installcheck-rcs
16935 maybe-installcheck-rcs:
16936 @if rcs
16937 maybe-installcheck-rcs: installcheck-rcs
16939 installcheck-rcs: \
16940 configure-rcs
16941 @[ -f ./rcs/Makefile ] || exit 0; \
16942 r=`${PWD_COMMAND}`; export r; \
16943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 $(SET_LIB_PATH) \
16945 $(HOST_EXPORTS) \
16946 for flag in $(EXTRA_HOST_FLAGS) ; do \
16947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16948 done; \
16949 echo "Doing installcheck in rcs" ; \
16950 (cd rcs && \
16951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16953 "RANLIB=$${RANLIB}" \
16954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16955 installcheck) \
16956 || exit 1
16958 @endif rcs
16960 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16961 maybe-mostlyclean-rcs:
16962 @if rcs
16963 maybe-mostlyclean-rcs: mostlyclean-rcs
16965 mostlyclean-rcs:
16966 @[ -f ./rcs/Makefile ] || exit 0; \
16967 r=`${PWD_COMMAND}`; export r; \
16968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16969 $(SET_LIB_PATH) \
16970 $(HOST_EXPORTS) \
16971 for flag in $(EXTRA_HOST_FLAGS) ; do \
16972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16973 done; \
16974 echo "Doing mostlyclean in rcs" ; \
16975 (cd rcs && \
16976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16978 "RANLIB=$${RANLIB}" \
16979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16980 mostlyclean) \
16981 || exit 1
16983 @endif rcs
16985 .PHONY: maybe-clean-rcs clean-rcs
16986 maybe-clean-rcs:
16987 @if rcs
16988 maybe-clean-rcs: clean-rcs
16990 clean-rcs:
16991 @[ -f ./rcs/Makefile ] || exit 0; \
16992 r=`${PWD_COMMAND}`; export r; \
16993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16994 $(SET_LIB_PATH) \
16995 $(HOST_EXPORTS) \
16996 for flag in $(EXTRA_HOST_FLAGS) ; do \
16997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16998 done; \
16999 echo "Doing clean in rcs" ; \
17000 (cd rcs && \
17001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17003 "RANLIB=$${RANLIB}" \
17004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17005 clean) \
17006 || exit 1
17008 @endif rcs
17010 .PHONY: maybe-distclean-rcs distclean-rcs
17011 maybe-distclean-rcs:
17012 @if rcs
17013 maybe-distclean-rcs: distclean-rcs
17015 distclean-rcs:
17016 @[ -f ./rcs/Makefile ] || exit 0; \
17017 r=`${PWD_COMMAND}`; export r; \
17018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17019 $(SET_LIB_PATH) \
17020 $(HOST_EXPORTS) \
17021 for flag in $(EXTRA_HOST_FLAGS) ; do \
17022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17023 done; \
17024 echo "Doing distclean in rcs" ; \
17025 (cd rcs && \
17026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17028 "RANLIB=$${RANLIB}" \
17029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17030 distclean) \
17031 || exit 1
17033 @endif rcs
17035 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17036 maybe-maintainer-clean-rcs:
17037 @if rcs
17038 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17040 maintainer-clean-rcs:
17041 @[ -f ./rcs/Makefile ] || exit 0; \
17042 r=`${PWD_COMMAND}`; export r; \
17043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17044 $(SET_LIB_PATH) \
17045 $(HOST_EXPORTS) \
17046 for flag in $(EXTRA_HOST_FLAGS) ; do \
17047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17048 done; \
17049 echo "Doing maintainer-clean in rcs" ; \
17050 (cd rcs && \
17051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17053 "RANLIB=$${RANLIB}" \
17054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17055 maintainer-clean) \
17056 || exit 1
17058 @endif rcs
17061 .PHONY: configure-readline maybe-configure-readline
17062 maybe-configure-readline:
17063 @if readline
17064 maybe-configure-readline: configure-readline
17065 configure-readline:
17066 @test ! -f readline/Makefile || exit 0; \
17067 [ -d readline ] || mkdir readline; \
17068 r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 $(HOST_EXPORTS) \
17071 echo Configuring in readline; \
17072 cd readline || exit 1; \
17073 case $(srcdir) in \
17074 \.) \
17075 srcdiroption="--srcdir=."; \
17076 libsrcdir=".";; \
17077 /* | [A-Za-z]:[\\/]*) \
17078 srcdiroption="--srcdir=$(srcdir)/readline"; \
17079 libsrcdir="$$s/readline";; \
17080 *) \
17081 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17082 libsrcdir="$$s/readline";; \
17083 esac; \
17084 $(SHELL) $${libsrcdir}/configure \
17085 $(HOST_CONFIGARGS) $${srcdiroption} \
17086 || exit 1
17087 @endif readline
17089 .PHONY: all-readline maybe-all-readline
17090 maybe-all-readline:
17091 @if readline
17092 TARGET-readline=all
17093 maybe-all-readline: all-readline
17094 all-readline: configure-readline
17095 @r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 $(SET_LIB_PATH) \
17098 $(HOST_EXPORTS) \
17099 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17100 $(TARGET-readline))
17101 @endif readline
17103 .PHONY: check-readline maybe-check-readline
17104 maybe-check-readline:
17105 @if readline
17106 maybe-check-readline: check-readline
17108 check-readline:
17109 @r=`${PWD_COMMAND}`; export r; \
17110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17111 $(SET_LIB_PATH) \
17112 $(HOST_EXPORTS) \
17113 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17115 @endif readline
17117 .PHONY: install-readline maybe-install-readline
17118 maybe-install-readline:
17119 @if readline
17120 maybe-install-readline: install-readline
17122 install-readline: installdirs
17123 @r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 $(SET_LIB_PATH) \
17126 $(HOST_EXPORTS) \
17127 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17129 @endif readline
17131 # Other targets (info, dvi, etc.)
17133 .PHONY: maybe-info-readline info-readline
17134 maybe-info-readline:
17135 @if readline
17136 maybe-info-readline: info-readline
17138 info-readline: \
17139 configure-readline
17140 @[ -f ./readline/Makefile ] || exit 0; \
17141 r=`${PWD_COMMAND}`; export r; \
17142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17143 $(SET_LIB_PATH) \
17144 $(HOST_EXPORTS) \
17145 for flag in $(EXTRA_HOST_FLAGS) ; do \
17146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17147 done; \
17148 echo "Doing info in readline" ; \
17149 (cd readline && \
17150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17152 "RANLIB=$${RANLIB}" \
17153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17154 info) \
17155 || exit 1
17157 @endif readline
17159 .PHONY: maybe-dvi-readline dvi-readline
17160 maybe-dvi-readline:
17161 @if readline
17162 maybe-dvi-readline: dvi-readline
17164 dvi-readline: \
17165 configure-readline
17166 @[ -f ./readline/Makefile ] || exit 0; \
17167 r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 $(SET_LIB_PATH) \
17170 $(HOST_EXPORTS) \
17171 for flag in $(EXTRA_HOST_FLAGS) ; do \
17172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17173 done; \
17174 echo "Doing dvi in readline" ; \
17175 (cd readline && \
17176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17178 "RANLIB=$${RANLIB}" \
17179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17180 dvi) \
17181 || exit 1
17183 @endif readline
17185 .PHONY: maybe-html-readline html-readline
17186 maybe-html-readline:
17187 @if readline
17188 maybe-html-readline: html-readline
17190 html-readline: \
17191 configure-readline
17192 @[ -f ./readline/Makefile ] || exit 0; \
17193 r=`${PWD_COMMAND}`; export r; \
17194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17195 $(SET_LIB_PATH) \
17196 $(HOST_EXPORTS) \
17197 for flag in $(EXTRA_HOST_FLAGS) ; do \
17198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17199 done; \
17200 echo "Doing html in readline" ; \
17201 (cd readline && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17204 "RANLIB=$${RANLIB}" \
17205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17206 html) \
17207 || exit 1
17209 @endif readline
17211 .PHONY: maybe-TAGS-readline TAGS-readline
17212 maybe-TAGS-readline:
17213 @if readline
17214 maybe-TAGS-readline: TAGS-readline
17216 TAGS-readline: \
17217 configure-readline
17218 @[ -f ./readline/Makefile ] || exit 0; \
17219 r=`${PWD_COMMAND}`; export r; \
17220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17221 $(SET_LIB_PATH) \
17222 $(HOST_EXPORTS) \
17223 for flag in $(EXTRA_HOST_FLAGS) ; do \
17224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17225 done; \
17226 echo "Doing TAGS in readline" ; \
17227 (cd readline && \
17228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17230 "RANLIB=$${RANLIB}" \
17231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17232 TAGS) \
17233 || exit 1
17235 @endif readline
17237 .PHONY: maybe-install-info-readline install-info-readline
17238 maybe-install-info-readline:
17239 @if readline
17240 maybe-install-info-readline: install-info-readline
17242 install-info-readline: \
17243 configure-readline \
17244 info-readline
17245 @[ -f ./readline/Makefile ] || exit 0; \
17246 r=`${PWD_COMMAND}`; export r; \
17247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17248 $(SET_LIB_PATH) \
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 install-info in readline" ; \
17254 (cd readline && \
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 install-info) \
17260 || exit 1
17262 @endif readline
17264 .PHONY: maybe-installcheck-readline installcheck-readline
17265 maybe-installcheck-readline:
17266 @if readline
17267 maybe-installcheck-readline: installcheck-readline
17269 installcheck-readline: \
17270 configure-readline
17271 @[ -f ./readline/Makefile ] || exit 0; \
17272 r=`${PWD_COMMAND}`; export r; \
17273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17274 $(SET_LIB_PATH) \
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 installcheck in readline" ; \
17280 (cd readline && \
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 installcheck) \
17286 || exit 1
17288 @endif readline
17290 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17291 maybe-mostlyclean-readline:
17292 @if readline
17293 maybe-mostlyclean-readline: mostlyclean-readline
17295 mostlyclean-readline:
17296 @[ -f ./readline/Makefile ] || exit 0; \
17297 r=`${PWD_COMMAND}`; export r; \
17298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17299 $(SET_LIB_PATH) \
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 mostlyclean in readline" ; \
17305 (cd readline && \
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 mostlyclean) \
17311 || exit 1
17313 @endif readline
17315 .PHONY: maybe-clean-readline clean-readline
17316 maybe-clean-readline:
17317 @if readline
17318 maybe-clean-readline: clean-readline
17320 clean-readline:
17321 @[ -f ./readline/Makefile ] || exit 0; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17324 $(SET_LIB_PATH) \
17325 $(HOST_EXPORTS) \
17326 for flag in $(EXTRA_HOST_FLAGS) ; do \
17327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17328 done; \
17329 echo "Doing clean in readline" ; \
17330 (cd readline && \
17331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17333 "RANLIB=$${RANLIB}" \
17334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17335 clean) \
17336 || exit 1
17338 @endif readline
17340 .PHONY: maybe-distclean-readline distclean-readline
17341 maybe-distclean-readline:
17342 @if readline
17343 maybe-distclean-readline: distclean-readline
17345 distclean-readline:
17346 @[ -f ./readline/Makefile ] || exit 0; \
17347 r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 $(SET_LIB_PATH) \
17350 $(HOST_EXPORTS) \
17351 for flag in $(EXTRA_HOST_FLAGS) ; do \
17352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17353 done; \
17354 echo "Doing distclean in readline" ; \
17355 (cd readline && \
17356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17358 "RANLIB=$${RANLIB}" \
17359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17360 distclean) \
17361 || exit 1
17363 @endif readline
17365 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17366 maybe-maintainer-clean-readline:
17367 @if readline
17368 maybe-maintainer-clean-readline: maintainer-clean-readline
17370 maintainer-clean-readline:
17371 @[ -f ./readline/Makefile ] || exit 0; \
17372 r=`${PWD_COMMAND}`; export r; \
17373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17374 $(SET_LIB_PATH) \
17375 $(HOST_EXPORTS) \
17376 for flag in $(EXTRA_HOST_FLAGS) ; do \
17377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17378 done; \
17379 echo "Doing maintainer-clean in readline" ; \
17380 (cd readline && \
17381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17383 "RANLIB=$${RANLIB}" \
17384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17385 maintainer-clean) \
17386 || exit 1
17388 @endif readline
17391 .PHONY: configure-release maybe-configure-release
17392 maybe-configure-release:
17393 @if release
17394 maybe-configure-release: configure-release
17395 configure-release:
17396 @test ! -f release/Makefile || exit 0; \
17397 [ -d release ] || mkdir release; \
17398 r=`${PWD_COMMAND}`; export r; \
17399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17400 $(HOST_EXPORTS) \
17401 echo Configuring in release; \
17402 cd release || exit 1; \
17403 case $(srcdir) in \
17404 \.) \
17405 srcdiroption="--srcdir=."; \
17406 libsrcdir=".";; \
17407 /* | [A-Za-z]:[\\/]*) \
17408 srcdiroption="--srcdir=$(srcdir)/release"; \
17409 libsrcdir="$$s/release";; \
17410 *) \
17411 srcdiroption="--srcdir=../$(srcdir)/release"; \
17412 libsrcdir="$$s/release";; \
17413 esac; \
17414 $(SHELL) $${libsrcdir}/configure \
17415 $(HOST_CONFIGARGS) $${srcdiroption} \
17416 || exit 1
17417 @endif release
17419 .PHONY: all-release maybe-all-release
17420 maybe-all-release:
17421 @if release
17422 TARGET-release=all
17423 maybe-all-release: all-release
17424 all-release: configure-release
17425 @r=`${PWD_COMMAND}`; export r; \
17426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 $(SET_LIB_PATH) \
17428 $(HOST_EXPORTS) \
17429 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17430 $(TARGET-release))
17431 @endif release
17433 .PHONY: check-release maybe-check-release
17434 maybe-check-release:
17435 @if release
17436 maybe-check-release: check-release
17438 check-release:
17440 @endif release
17442 .PHONY: install-release maybe-install-release
17443 maybe-install-release:
17444 @if release
17445 maybe-install-release: install-release
17447 install-release:
17449 @endif release
17451 # Other targets (info, dvi, etc.)
17453 .PHONY: maybe-info-release info-release
17454 maybe-info-release:
17455 @if release
17456 maybe-info-release: info-release
17458 info-release: \
17459 configure-release
17460 @[ -f ./release/Makefile ] || exit 0; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463 $(SET_LIB_PATH) \
17464 $(HOST_EXPORTS) \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467 done; \
17468 echo "Doing info in release" ; \
17469 (cd release && \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17474 info) \
17475 || exit 1
17477 @endif release
17479 .PHONY: maybe-dvi-release dvi-release
17480 maybe-dvi-release:
17481 @if release
17482 maybe-dvi-release: dvi-release
17484 dvi-release: \
17485 configure-release
17486 @[ -f ./release/Makefile ] || exit 0; \
17487 r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17489 $(SET_LIB_PATH) \
17490 $(HOST_EXPORTS) \
17491 for flag in $(EXTRA_HOST_FLAGS) ; do \
17492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17493 done; \
17494 echo "Doing dvi in release" ; \
17495 (cd release && \
17496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17498 "RANLIB=$${RANLIB}" \
17499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17500 dvi) \
17501 || exit 1
17503 @endif release
17505 .PHONY: maybe-html-release html-release
17506 maybe-html-release:
17507 @if release
17508 maybe-html-release: html-release
17510 html-release: \
17511 configure-release
17512 @[ -f ./release/Makefile ] || exit 0; \
17513 r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17515 $(SET_LIB_PATH) \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing html in release" ; \
17521 (cd release && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17526 html) \
17527 || exit 1
17529 @endif release
17531 .PHONY: maybe-TAGS-release TAGS-release
17532 maybe-TAGS-release:
17533 @if release
17534 maybe-TAGS-release: TAGS-release
17536 TAGS-release: \
17537 configure-release
17538 @[ -f ./release/Makefile ] || exit 0; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 $(SET_LIB_PATH) \
17542 $(HOST_EXPORTS) \
17543 for flag in $(EXTRA_HOST_FLAGS) ; do \
17544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 done; \
17546 echo "Doing TAGS in release" ; \
17547 (cd release && \
17548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17550 "RANLIB=$${RANLIB}" \
17551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17552 TAGS) \
17553 || exit 1
17555 @endif release
17557 .PHONY: maybe-install-info-release install-info-release
17558 maybe-install-info-release:
17559 @if release
17560 maybe-install-info-release: install-info-release
17562 install-info-release: \
17563 configure-release \
17564 info-release
17565 @[ -f ./release/Makefile ] || exit 0; \
17566 r=`${PWD_COMMAND}`; export r; \
17567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17568 $(SET_LIB_PATH) \
17569 $(HOST_EXPORTS) \
17570 for flag in $(EXTRA_HOST_FLAGS) ; do \
17571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17572 done; \
17573 echo "Doing install-info in release" ; \
17574 (cd release && \
17575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17577 "RANLIB=$${RANLIB}" \
17578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17579 install-info) \
17580 || exit 1
17582 @endif release
17584 .PHONY: maybe-installcheck-release installcheck-release
17585 maybe-installcheck-release:
17586 @if release
17587 maybe-installcheck-release: installcheck-release
17589 installcheck-release: \
17590 configure-release
17591 @[ -f ./release/Makefile ] || exit 0; \
17592 r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 $(SET_LIB_PATH) \
17595 $(HOST_EXPORTS) \
17596 for flag in $(EXTRA_HOST_FLAGS) ; do \
17597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17598 done; \
17599 echo "Doing installcheck in release" ; \
17600 (cd release && \
17601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17603 "RANLIB=$${RANLIB}" \
17604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17605 installcheck) \
17606 || exit 1
17608 @endif release
17610 .PHONY: maybe-mostlyclean-release mostlyclean-release
17611 maybe-mostlyclean-release:
17612 @if release
17613 maybe-mostlyclean-release: mostlyclean-release
17615 mostlyclean-release:
17616 @[ -f ./release/Makefile ] || exit 0; \
17617 r=`${PWD_COMMAND}`; export r; \
17618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 $(SET_LIB_PATH) \
17620 $(HOST_EXPORTS) \
17621 for flag in $(EXTRA_HOST_FLAGS) ; do \
17622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17623 done; \
17624 echo "Doing mostlyclean in release" ; \
17625 (cd release && \
17626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17628 "RANLIB=$${RANLIB}" \
17629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17630 mostlyclean) \
17631 || exit 1
17633 @endif release
17635 .PHONY: maybe-clean-release clean-release
17636 maybe-clean-release:
17637 @if release
17638 maybe-clean-release: clean-release
17640 clean-release:
17641 @[ -f ./release/Makefile ] || exit 0; \
17642 r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(SET_LIB_PATH) \
17645 $(HOST_EXPORTS) \
17646 for flag in $(EXTRA_HOST_FLAGS) ; do \
17647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17648 done; \
17649 echo "Doing clean in release" ; \
17650 (cd release && \
17651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17653 "RANLIB=$${RANLIB}" \
17654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17655 clean) \
17656 || exit 1
17658 @endif release
17660 .PHONY: maybe-distclean-release distclean-release
17661 maybe-distclean-release:
17662 @if release
17663 maybe-distclean-release: distclean-release
17665 distclean-release:
17666 @[ -f ./release/Makefile ] || exit 0; \
17667 r=`${PWD_COMMAND}`; export r; \
17668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17669 $(SET_LIB_PATH) \
17670 $(HOST_EXPORTS) \
17671 for flag in $(EXTRA_HOST_FLAGS) ; do \
17672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 done; \
17674 echo "Doing distclean in release" ; \
17675 (cd release && \
17676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17678 "RANLIB=$${RANLIB}" \
17679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17680 distclean) \
17681 || exit 1
17683 @endif release
17685 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17686 maybe-maintainer-clean-release:
17687 @if release
17688 maybe-maintainer-clean-release: maintainer-clean-release
17690 maintainer-clean-release:
17691 @[ -f ./release/Makefile ] || exit 0; \
17692 r=`${PWD_COMMAND}`; export r; \
17693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17694 $(SET_LIB_PATH) \
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 maintainer-clean in release" ; \
17700 (cd release && \
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 maintainer-clean) \
17706 || exit 1
17708 @endif release
17711 .PHONY: configure-recode maybe-configure-recode
17712 maybe-configure-recode:
17713 @if recode
17714 maybe-configure-recode: configure-recode
17715 configure-recode:
17716 @test ! -f recode/Makefile || exit 0; \
17717 [ -d recode ] || mkdir recode; \
17718 r=`${PWD_COMMAND}`; export r; \
17719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17720 $(HOST_EXPORTS) \
17721 echo Configuring in recode; \
17722 cd recode || exit 1; \
17723 case $(srcdir) in \
17724 \.) \
17725 srcdiroption="--srcdir=."; \
17726 libsrcdir=".";; \
17727 /* | [A-Za-z]:[\\/]*) \
17728 srcdiroption="--srcdir=$(srcdir)/recode"; \
17729 libsrcdir="$$s/recode";; \
17730 *) \
17731 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17732 libsrcdir="$$s/recode";; \
17733 esac; \
17734 $(SHELL) $${libsrcdir}/configure \
17735 $(HOST_CONFIGARGS) $${srcdiroption} \
17736 || exit 1
17737 @endif recode
17739 .PHONY: all-recode maybe-all-recode
17740 maybe-all-recode:
17741 @if recode
17742 TARGET-recode=all
17743 maybe-all-recode: all-recode
17744 all-recode: configure-recode
17745 @r=`${PWD_COMMAND}`; export r; \
17746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17747 $(SET_LIB_PATH) \
17748 $(HOST_EXPORTS) \
17749 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17750 $(TARGET-recode))
17751 @endif recode
17753 .PHONY: check-recode maybe-check-recode
17754 maybe-check-recode:
17755 @if recode
17756 maybe-check-recode: check-recode
17758 check-recode:
17759 @r=`${PWD_COMMAND}`; export r; \
17760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17761 $(SET_LIB_PATH) \
17762 $(HOST_EXPORTS) \
17763 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17765 @endif recode
17767 .PHONY: install-recode maybe-install-recode
17768 maybe-install-recode:
17769 @if recode
17770 maybe-install-recode: install-recode
17772 install-recode: installdirs
17773 @r=`${PWD_COMMAND}`; export r; \
17774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17775 $(SET_LIB_PATH) \
17776 $(HOST_EXPORTS) \
17777 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17779 @endif recode
17781 # Other targets (info, dvi, etc.)
17783 .PHONY: maybe-info-recode info-recode
17784 maybe-info-recode:
17785 @if recode
17786 maybe-info-recode: info-recode
17788 info-recode: \
17789 configure-recode
17790 @[ -f ./recode/Makefile ] || exit 0; \
17791 r=`${PWD_COMMAND}`; export r; \
17792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793 $(SET_LIB_PATH) \
17794 $(HOST_EXPORTS) \
17795 for flag in $(EXTRA_HOST_FLAGS) ; do \
17796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17797 done; \
17798 echo "Doing info in recode" ; \
17799 (cd recode && \
17800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17802 "RANLIB=$${RANLIB}" \
17803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17804 info) \
17805 || exit 1
17807 @endif recode
17809 .PHONY: maybe-dvi-recode dvi-recode
17810 maybe-dvi-recode:
17811 @if recode
17812 maybe-dvi-recode: dvi-recode
17814 dvi-recode: \
17815 configure-recode
17816 @[ -f ./recode/Makefile ] || exit 0; \
17817 r=`${PWD_COMMAND}`; export r; \
17818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 $(SET_LIB_PATH) \
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 dvi in recode" ; \
17825 (cd recode && \
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 dvi) \
17831 || exit 1
17833 @endif recode
17835 .PHONY: maybe-html-recode html-recode
17836 maybe-html-recode:
17837 @if recode
17838 maybe-html-recode: html-recode
17840 html-recode: \
17841 configure-recode
17842 @[ -f ./recode/Makefile ] || exit 0; \
17843 r=`${PWD_COMMAND}`; export r; \
17844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 $(SET_LIB_PATH) \
17846 $(HOST_EXPORTS) \
17847 for flag in $(EXTRA_HOST_FLAGS) ; do \
17848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17849 done; \
17850 echo "Doing html in recode" ; \
17851 (cd recode && \
17852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17854 "RANLIB=$${RANLIB}" \
17855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17856 html) \
17857 || exit 1
17859 @endif recode
17861 .PHONY: maybe-TAGS-recode TAGS-recode
17862 maybe-TAGS-recode:
17863 @if recode
17864 maybe-TAGS-recode: TAGS-recode
17866 TAGS-recode: \
17867 configure-recode
17868 @[ -f ./recode/Makefile ] || exit 0; \
17869 r=`${PWD_COMMAND}`; export r; \
17870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17871 $(SET_LIB_PATH) \
17872 $(HOST_EXPORTS) \
17873 for flag in $(EXTRA_HOST_FLAGS) ; do \
17874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17875 done; \
17876 echo "Doing TAGS in recode" ; \
17877 (cd recode && \
17878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17880 "RANLIB=$${RANLIB}" \
17881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17882 TAGS) \
17883 || exit 1
17885 @endif recode
17887 .PHONY: maybe-install-info-recode install-info-recode
17888 maybe-install-info-recode:
17889 @if recode
17890 maybe-install-info-recode: install-info-recode
17892 install-info-recode: \
17893 configure-recode \
17894 info-recode
17895 @[ -f ./recode/Makefile ] || exit 0; \
17896 r=`${PWD_COMMAND}`; export r; \
17897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17898 $(SET_LIB_PATH) \
17899 $(HOST_EXPORTS) \
17900 for flag in $(EXTRA_HOST_FLAGS) ; do \
17901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17902 done; \
17903 echo "Doing install-info in recode" ; \
17904 (cd recode && \
17905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17907 "RANLIB=$${RANLIB}" \
17908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17909 install-info) \
17910 || exit 1
17912 @endif recode
17914 .PHONY: maybe-installcheck-recode installcheck-recode
17915 maybe-installcheck-recode:
17916 @if recode
17917 maybe-installcheck-recode: installcheck-recode
17919 installcheck-recode: \
17920 configure-recode
17921 @[ -f ./recode/Makefile ] || exit 0; \
17922 r=`${PWD_COMMAND}`; export r; \
17923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17924 $(SET_LIB_PATH) \
17925 $(HOST_EXPORTS) \
17926 for flag in $(EXTRA_HOST_FLAGS) ; do \
17927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17928 done; \
17929 echo "Doing installcheck in recode" ; \
17930 (cd recode && \
17931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17933 "RANLIB=$${RANLIB}" \
17934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17935 installcheck) \
17936 || exit 1
17938 @endif recode
17940 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17941 maybe-mostlyclean-recode:
17942 @if recode
17943 maybe-mostlyclean-recode: mostlyclean-recode
17945 mostlyclean-recode:
17946 @[ -f ./recode/Makefile ] || exit 0; \
17947 r=`${PWD_COMMAND}`; export r; \
17948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17949 $(SET_LIB_PATH) \
17950 $(HOST_EXPORTS) \
17951 for flag in $(EXTRA_HOST_FLAGS) ; do \
17952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17953 done; \
17954 echo "Doing mostlyclean in recode" ; \
17955 (cd recode && \
17956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17958 "RANLIB=$${RANLIB}" \
17959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17960 mostlyclean) \
17961 || exit 1
17963 @endif recode
17965 .PHONY: maybe-clean-recode clean-recode
17966 maybe-clean-recode:
17967 @if recode
17968 maybe-clean-recode: clean-recode
17970 clean-recode:
17971 @[ -f ./recode/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(SET_LIB_PATH) \
17975 $(HOST_EXPORTS) \
17976 for flag in $(EXTRA_HOST_FLAGS) ; do \
17977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17978 done; \
17979 echo "Doing clean in recode" ; \
17980 (cd recode && \
17981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17983 "RANLIB=$${RANLIB}" \
17984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17985 clean) \
17986 || exit 1
17988 @endif recode
17990 .PHONY: maybe-distclean-recode distclean-recode
17991 maybe-distclean-recode:
17992 @if recode
17993 maybe-distclean-recode: distclean-recode
17995 distclean-recode:
17996 @[ -f ./recode/Makefile ] || exit 0; \
17997 r=`${PWD_COMMAND}`; export r; \
17998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 $(SET_LIB_PATH) \
18000 $(HOST_EXPORTS) \
18001 for flag in $(EXTRA_HOST_FLAGS) ; do \
18002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18003 done; \
18004 echo "Doing distclean in recode" ; \
18005 (cd recode && \
18006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18008 "RANLIB=$${RANLIB}" \
18009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18010 distclean) \
18011 || exit 1
18013 @endif recode
18015 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18016 maybe-maintainer-clean-recode:
18017 @if recode
18018 maybe-maintainer-clean-recode: maintainer-clean-recode
18020 maintainer-clean-recode:
18021 @[ -f ./recode/Makefile ] || exit 0; \
18022 r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(SET_LIB_PATH) \
18025 $(HOST_EXPORTS) \
18026 for flag in $(EXTRA_HOST_FLAGS) ; do \
18027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18028 done; \
18029 echo "Doing maintainer-clean in recode" ; \
18030 (cd recode && \
18031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18033 "RANLIB=$${RANLIB}" \
18034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18035 maintainer-clean) \
18036 || exit 1
18038 @endif recode
18041 .PHONY: configure-sed maybe-configure-sed
18042 maybe-configure-sed:
18043 @if sed
18044 maybe-configure-sed: configure-sed
18045 configure-sed:
18046 @test ! -f sed/Makefile || exit 0; \
18047 [ -d sed ] || mkdir sed; \
18048 r=`${PWD_COMMAND}`; export r; \
18049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18050 $(HOST_EXPORTS) \
18051 echo Configuring in sed; \
18052 cd sed || exit 1; \
18053 case $(srcdir) in \
18054 \.) \
18055 srcdiroption="--srcdir=."; \
18056 libsrcdir=".";; \
18057 /* | [A-Za-z]:[\\/]*) \
18058 srcdiroption="--srcdir=$(srcdir)/sed"; \
18059 libsrcdir="$$s/sed";; \
18060 *) \
18061 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18062 libsrcdir="$$s/sed";; \
18063 esac; \
18064 $(SHELL) $${libsrcdir}/configure \
18065 $(HOST_CONFIGARGS) $${srcdiroption} \
18066 || exit 1
18067 @endif sed
18069 .PHONY: all-sed maybe-all-sed
18070 maybe-all-sed:
18071 @if sed
18072 TARGET-sed=all
18073 maybe-all-sed: all-sed
18074 all-sed: configure-sed
18075 @r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 $(SET_LIB_PATH) \
18078 $(HOST_EXPORTS) \
18079 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18080 $(TARGET-sed))
18081 @endif sed
18083 .PHONY: check-sed maybe-check-sed
18084 maybe-check-sed:
18085 @if sed
18086 maybe-check-sed: check-sed
18088 check-sed:
18089 @r=`${PWD_COMMAND}`; export r; \
18090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18091 $(SET_LIB_PATH) \
18092 $(HOST_EXPORTS) \
18093 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18095 @endif sed
18097 .PHONY: install-sed maybe-install-sed
18098 maybe-install-sed:
18099 @if sed
18100 maybe-install-sed: install-sed
18102 install-sed: installdirs
18103 @r=`${PWD_COMMAND}`; export r; \
18104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18105 $(SET_LIB_PATH) \
18106 $(HOST_EXPORTS) \
18107 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18109 @endif sed
18111 # Other targets (info, dvi, etc.)
18113 .PHONY: maybe-info-sed info-sed
18114 maybe-info-sed:
18115 @if sed
18116 maybe-info-sed: info-sed
18118 info-sed: \
18119 configure-sed
18120 @[ -f ./sed/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(SET_LIB_PATH) \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing info in sed" ; \
18129 (cd sed && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 info) \
18135 || exit 1
18137 @endif sed
18139 .PHONY: maybe-dvi-sed dvi-sed
18140 maybe-dvi-sed:
18141 @if sed
18142 maybe-dvi-sed: dvi-sed
18144 dvi-sed: \
18145 configure-sed
18146 @[ -f ./sed/Makefile ] || exit 0; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149 $(SET_LIB_PATH) \
18150 $(HOST_EXPORTS) \
18151 for flag in $(EXTRA_HOST_FLAGS) ; do \
18152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18153 done; \
18154 echo "Doing dvi in sed" ; \
18155 (cd sed && \
18156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18158 "RANLIB=$${RANLIB}" \
18159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18160 dvi) \
18161 || exit 1
18163 @endif sed
18165 .PHONY: maybe-html-sed html-sed
18166 maybe-html-sed:
18167 @if sed
18168 maybe-html-sed: html-sed
18170 html-sed: \
18171 configure-sed
18172 @[ -f ./sed/Makefile ] || exit 0; \
18173 r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175 $(SET_LIB_PATH) \
18176 $(HOST_EXPORTS) \
18177 for flag in $(EXTRA_HOST_FLAGS) ; do \
18178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179 done; \
18180 echo "Doing html in sed" ; \
18181 (cd sed && \
18182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184 "RANLIB=$${RANLIB}" \
18185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18186 html) \
18187 || exit 1
18189 @endif sed
18191 .PHONY: maybe-TAGS-sed TAGS-sed
18192 maybe-TAGS-sed:
18193 @if sed
18194 maybe-TAGS-sed: TAGS-sed
18196 TAGS-sed: \
18197 configure-sed
18198 @[ -f ./sed/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18201 $(SET_LIB_PATH) \
18202 $(HOST_EXPORTS) \
18203 for flag in $(EXTRA_HOST_FLAGS) ; do \
18204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18205 done; \
18206 echo "Doing TAGS in sed" ; \
18207 (cd sed && \
18208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18210 "RANLIB=$${RANLIB}" \
18211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18212 TAGS) \
18213 || exit 1
18215 @endif sed
18217 .PHONY: maybe-install-info-sed install-info-sed
18218 maybe-install-info-sed:
18219 @if sed
18220 maybe-install-info-sed: install-info-sed
18222 install-info-sed: \
18223 configure-sed \
18224 info-sed
18225 @[ -f ./sed/Makefile ] || exit 0; \
18226 r=`${PWD_COMMAND}`; export r; \
18227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18228 $(SET_LIB_PATH) \
18229 $(HOST_EXPORTS) \
18230 for flag in $(EXTRA_HOST_FLAGS) ; do \
18231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18232 done; \
18233 echo "Doing install-info in sed" ; \
18234 (cd sed && \
18235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18237 "RANLIB=$${RANLIB}" \
18238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18239 install-info) \
18240 || exit 1
18242 @endif sed
18244 .PHONY: maybe-installcheck-sed installcheck-sed
18245 maybe-installcheck-sed:
18246 @if sed
18247 maybe-installcheck-sed: installcheck-sed
18249 installcheck-sed: \
18250 configure-sed
18251 @[ -f ./sed/Makefile ] || exit 0; \
18252 r=`${PWD_COMMAND}`; export r; \
18253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18254 $(SET_LIB_PATH) \
18255 $(HOST_EXPORTS) \
18256 for flag in $(EXTRA_HOST_FLAGS) ; do \
18257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18258 done; \
18259 echo "Doing installcheck in sed" ; \
18260 (cd sed && \
18261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18263 "RANLIB=$${RANLIB}" \
18264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18265 installcheck) \
18266 || exit 1
18268 @endif sed
18270 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18271 maybe-mostlyclean-sed:
18272 @if sed
18273 maybe-mostlyclean-sed: mostlyclean-sed
18275 mostlyclean-sed:
18276 @[ -f ./sed/Makefile ] || exit 0; \
18277 r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18279 $(SET_LIB_PATH) \
18280 $(HOST_EXPORTS) \
18281 for flag in $(EXTRA_HOST_FLAGS) ; do \
18282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18283 done; \
18284 echo "Doing mostlyclean in sed" ; \
18285 (cd sed && \
18286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18288 "RANLIB=$${RANLIB}" \
18289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18290 mostlyclean) \
18291 || exit 1
18293 @endif sed
18295 .PHONY: maybe-clean-sed clean-sed
18296 maybe-clean-sed:
18297 @if sed
18298 maybe-clean-sed: clean-sed
18300 clean-sed:
18301 @[ -f ./sed/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(SET_LIB_PATH) \
18305 $(HOST_EXPORTS) \
18306 for flag in $(EXTRA_HOST_FLAGS) ; do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18308 done; \
18309 echo "Doing clean in sed" ; \
18310 (cd sed && \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18315 clean) \
18316 || exit 1
18318 @endif sed
18320 .PHONY: maybe-distclean-sed distclean-sed
18321 maybe-distclean-sed:
18322 @if sed
18323 maybe-distclean-sed: distclean-sed
18325 distclean-sed:
18326 @[ -f ./sed/Makefile ] || exit 0; \
18327 r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(SET_LIB_PATH) \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS) ; do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing distclean in sed" ; \
18335 (cd sed && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18340 distclean) \
18341 || exit 1
18343 @endif sed
18345 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18346 maybe-maintainer-clean-sed:
18347 @if sed
18348 maybe-maintainer-clean-sed: maintainer-clean-sed
18350 maintainer-clean-sed:
18351 @[ -f ./sed/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(SET_LIB_PATH) \
18355 $(HOST_EXPORTS) \
18356 for flag in $(EXTRA_HOST_FLAGS) ; do \
18357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18358 done; \
18359 echo "Doing maintainer-clean in sed" ; \
18360 (cd sed && \
18361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18363 "RANLIB=$${RANLIB}" \
18364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18365 maintainer-clean) \
18366 || exit 1
18368 @endif sed
18371 .PHONY: configure-send-pr maybe-configure-send-pr
18372 maybe-configure-send-pr:
18373 @if send-pr
18374 maybe-configure-send-pr: configure-send-pr
18375 configure-send-pr:
18376 @test ! -f send-pr/Makefile || exit 0; \
18377 [ -d send-pr ] || mkdir send-pr; \
18378 r=`${PWD_COMMAND}`; export r; \
18379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 $(HOST_EXPORTS) \
18381 echo Configuring in send-pr; \
18382 cd send-pr || exit 1; \
18383 case $(srcdir) in \
18384 \.) \
18385 srcdiroption="--srcdir=."; \
18386 libsrcdir=".";; \
18387 /* | [A-Za-z]:[\\/]*) \
18388 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18389 libsrcdir="$$s/send-pr";; \
18390 *) \
18391 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18392 libsrcdir="$$s/send-pr";; \
18393 esac; \
18394 $(SHELL) $${libsrcdir}/configure \
18395 $(HOST_CONFIGARGS) $${srcdiroption} \
18396 || exit 1
18397 @endif send-pr
18399 .PHONY: all-send-pr maybe-all-send-pr
18400 maybe-all-send-pr:
18401 @if send-pr
18402 TARGET-send-pr=all
18403 maybe-all-send-pr: all-send-pr
18404 all-send-pr: configure-send-pr
18405 @r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 $(SET_LIB_PATH) \
18408 $(HOST_EXPORTS) \
18409 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18410 $(TARGET-send-pr))
18411 @endif send-pr
18413 .PHONY: check-send-pr maybe-check-send-pr
18414 maybe-check-send-pr:
18415 @if send-pr
18416 maybe-check-send-pr: check-send-pr
18418 check-send-pr:
18419 @r=`${PWD_COMMAND}`; export r; \
18420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18421 $(SET_LIB_PATH) \
18422 $(HOST_EXPORTS) \
18423 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18425 @endif send-pr
18427 .PHONY: install-send-pr maybe-install-send-pr
18428 maybe-install-send-pr:
18429 @if send-pr
18430 maybe-install-send-pr: install-send-pr
18432 install-send-pr: installdirs
18433 @r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 $(SET_LIB_PATH) \
18436 $(HOST_EXPORTS) \
18437 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18439 @endif send-pr
18441 # Other targets (info, dvi, etc.)
18443 .PHONY: maybe-info-send-pr info-send-pr
18444 maybe-info-send-pr:
18445 @if send-pr
18446 maybe-info-send-pr: info-send-pr
18448 info-send-pr: \
18449 configure-send-pr
18450 @[ -f ./send-pr/Makefile ] || exit 0; \
18451 r=`${PWD_COMMAND}`; export r; \
18452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18453 $(SET_LIB_PATH) \
18454 $(HOST_EXPORTS) \
18455 for flag in $(EXTRA_HOST_FLAGS) ; do \
18456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18457 done; \
18458 echo "Doing info in send-pr" ; \
18459 (cd send-pr && \
18460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18462 "RANLIB=$${RANLIB}" \
18463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18464 info) \
18465 || exit 1
18467 @endif send-pr
18469 .PHONY: maybe-dvi-send-pr dvi-send-pr
18470 maybe-dvi-send-pr:
18471 @if send-pr
18472 maybe-dvi-send-pr: dvi-send-pr
18474 dvi-send-pr: \
18475 configure-send-pr
18476 @[ -f ./send-pr/Makefile ] || exit 0; \
18477 r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(SET_LIB_PATH) \
18480 $(HOST_EXPORTS) \
18481 for flag in $(EXTRA_HOST_FLAGS) ; do \
18482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18483 done; \
18484 echo "Doing dvi in send-pr" ; \
18485 (cd send-pr && \
18486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18488 "RANLIB=$${RANLIB}" \
18489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18490 dvi) \
18491 || exit 1
18493 @endif send-pr
18495 .PHONY: maybe-html-send-pr html-send-pr
18496 maybe-html-send-pr:
18497 @if send-pr
18498 maybe-html-send-pr: html-send-pr
18500 html-send-pr: \
18501 configure-send-pr
18502 @[ -f ./send-pr/Makefile ] || exit 0; \
18503 r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(SET_LIB_PATH) \
18506 $(HOST_EXPORTS) \
18507 for flag in $(EXTRA_HOST_FLAGS) ; do \
18508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18509 done; \
18510 echo "Doing html in send-pr" ; \
18511 (cd send-pr && \
18512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18514 "RANLIB=$${RANLIB}" \
18515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18516 html) \
18517 || exit 1
18519 @endif send-pr
18521 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18522 maybe-TAGS-send-pr:
18523 @if send-pr
18524 maybe-TAGS-send-pr: TAGS-send-pr
18526 TAGS-send-pr: \
18527 configure-send-pr
18528 @[ -f ./send-pr/Makefile ] || exit 0; \
18529 r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(SET_LIB_PATH) \
18532 $(HOST_EXPORTS) \
18533 for flag in $(EXTRA_HOST_FLAGS) ; do \
18534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18535 done; \
18536 echo "Doing TAGS in send-pr" ; \
18537 (cd send-pr && \
18538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18540 "RANLIB=$${RANLIB}" \
18541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18542 TAGS) \
18543 || exit 1
18545 @endif send-pr
18547 .PHONY: maybe-install-info-send-pr install-info-send-pr
18548 maybe-install-info-send-pr:
18549 @if send-pr
18550 maybe-install-info-send-pr: install-info-send-pr
18552 install-info-send-pr: \
18553 configure-send-pr \
18554 info-send-pr
18555 @[ -f ./send-pr/Makefile ] || exit 0; \
18556 r=`${PWD_COMMAND}`; export r; \
18557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 $(SET_LIB_PATH) \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing install-info in send-pr" ; \
18564 (cd send-pr && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18569 install-info) \
18570 || exit 1
18572 @endif send-pr
18574 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18575 maybe-installcheck-send-pr:
18576 @if send-pr
18577 maybe-installcheck-send-pr: installcheck-send-pr
18579 installcheck-send-pr: \
18580 configure-send-pr
18581 @[ -f ./send-pr/Makefile ] || exit 0; \
18582 r=`${PWD_COMMAND}`; export r; \
18583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18584 $(SET_LIB_PATH) \
18585 $(HOST_EXPORTS) \
18586 for flag in $(EXTRA_HOST_FLAGS) ; do \
18587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18588 done; \
18589 echo "Doing installcheck in send-pr" ; \
18590 (cd send-pr && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18593 "RANLIB=$${RANLIB}" \
18594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18595 installcheck) \
18596 || exit 1
18598 @endif send-pr
18600 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18601 maybe-mostlyclean-send-pr:
18602 @if send-pr
18603 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18605 mostlyclean-send-pr:
18606 @[ -f ./send-pr/Makefile ] || exit 0; \
18607 r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 $(SET_LIB_PATH) \
18610 $(HOST_EXPORTS) \
18611 for flag in $(EXTRA_HOST_FLAGS) ; do \
18612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18613 done; \
18614 echo "Doing mostlyclean in send-pr" ; \
18615 (cd send-pr && \
18616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18618 "RANLIB=$${RANLIB}" \
18619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18620 mostlyclean) \
18621 || exit 1
18623 @endif send-pr
18625 .PHONY: maybe-clean-send-pr clean-send-pr
18626 maybe-clean-send-pr:
18627 @if send-pr
18628 maybe-clean-send-pr: clean-send-pr
18630 clean-send-pr:
18631 @[ -f ./send-pr/Makefile ] || exit 0; \
18632 r=`${PWD_COMMAND}`; export r; \
18633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18634 $(SET_LIB_PATH) \
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 send-pr" ; \
18640 (cd send-pr && \
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 send-pr
18650 .PHONY: maybe-distclean-send-pr distclean-send-pr
18651 maybe-distclean-send-pr:
18652 @if send-pr
18653 maybe-distclean-send-pr: distclean-send-pr
18655 distclean-send-pr:
18656 @[ -f ./send-pr/Makefile ] || exit 0; \
18657 r=`${PWD_COMMAND}`; export r; \
18658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18659 $(SET_LIB_PATH) \
18660 $(HOST_EXPORTS) \
18661 for flag in $(EXTRA_HOST_FLAGS) ; do \
18662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18663 done; \
18664 echo "Doing distclean in send-pr" ; \
18665 (cd send-pr && \
18666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18668 "RANLIB=$${RANLIB}" \
18669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18670 distclean) \
18671 || exit 1
18673 @endif send-pr
18675 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18676 maybe-maintainer-clean-send-pr:
18677 @if send-pr
18678 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18680 maintainer-clean-send-pr:
18681 @[ -f ./send-pr/Makefile ] || exit 0; \
18682 r=`${PWD_COMMAND}`; export r; \
18683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18684 $(SET_LIB_PATH) \
18685 $(HOST_EXPORTS) \
18686 for flag in $(EXTRA_HOST_FLAGS) ; do \
18687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18688 done; \
18689 echo "Doing maintainer-clean in send-pr" ; \
18690 (cd send-pr && \
18691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18693 "RANLIB=$${RANLIB}" \
18694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18695 maintainer-clean) \
18696 || exit 1
18698 @endif send-pr
18701 .PHONY: configure-shellutils maybe-configure-shellutils
18702 maybe-configure-shellutils:
18703 @if shellutils
18704 maybe-configure-shellutils: configure-shellutils
18705 configure-shellutils:
18706 @test ! -f shellutils/Makefile || exit 0; \
18707 [ -d shellutils ] || mkdir shellutils; \
18708 r=`${PWD_COMMAND}`; export r; \
18709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18710 $(HOST_EXPORTS) \
18711 echo Configuring in shellutils; \
18712 cd shellutils || exit 1; \
18713 case $(srcdir) in \
18714 \.) \
18715 srcdiroption="--srcdir=."; \
18716 libsrcdir=".";; \
18717 /* | [A-Za-z]:[\\/]*) \
18718 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18719 libsrcdir="$$s/shellutils";; \
18720 *) \
18721 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18722 libsrcdir="$$s/shellutils";; \
18723 esac; \
18724 $(SHELL) $${libsrcdir}/configure \
18725 $(HOST_CONFIGARGS) $${srcdiroption} \
18726 || exit 1
18727 @endif shellutils
18729 .PHONY: all-shellutils maybe-all-shellutils
18730 maybe-all-shellutils:
18731 @if shellutils
18732 TARGET-shellutils=all
18733 maybe-all-shellutils: all-shellutils
18734 all-shellutils: configure-shellutils
18735 @r=`${PWD_COMMAND}`; export r; \
18736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18737 $(SET_LIB_PATH) \
18738 $(HOST_EXPORTS) \
18739 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18740 $(TARGET-shellutils))
18741 @endif shellutils
18743 .PHONY: check-shellutils maybe-check-shellutils
18744 maybe-check-shellutils:
18745 @if shellutils
18746 maybe-check-shellutils: check-shellutils
18748 check-shellutils:
18749 @r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 $(SET_LIB_PATH) \
18752 $(HOST_EXPORTS) \
18753 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18755 @endif shellutils
18757 .PHONY: install-shellutils maybe-install-shellutils
18758 maybe-install-shellutils:
18759 @if shellutils
18760 maybe-install-shellutils: install-shellutils
18762 install-shellutils: installdirs
18763 @r=`${PWD_COMMAND}`; export r; \
18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18765 $(SET_LIB_PATH) \
18766 $(HOST_EXPORTS) \
18767 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18769 @endif shellutils
18771 # Other targets (info, dvi, etc.)
18773 .PHONY: maybe-info-shellutils info-shellutils
18774 maybe-info-shellutils:
18775 @if shellutils
18776 maybe-info-shellutils: info-shellutils
18778 info-shellutils: \
18779 configure-shellutils
18780 @[ -f ./shellutils/Makefile ] || exit 0; \
18781 r=`${PWD_COMMAND}`; export r; \
18782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18783 $(SET_LIB_PATH) \
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 shellutils" ; \
18789 (cd shellutils && \
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 shellutils
18799 .PHONY: maybe-dvi-shellutils dvi-shellutils
18800 maybe-dvi-shellutils:
18801 @if shellutils
18802 maybe-dvi-shellutils: dvi-shellutils
18804 dvi-shellutils: \
18805 configure-shellutils
18806 @[ -f ./shellutils/Makefile ] || exit 0; \
18807 r=`${PWD_COMMAND}`; export r; \
18808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18809 $(SET_LIB_PATH) \
18810 $(HOST_EXPORTS) \
18811 for flag in $(EXTRA_HOST_FLAGS) ; do \
18812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18813 done; \
18814 echo "Doing dvi in shellutils" ; \
18815 (cd shellutils && \
18816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18818 "RANLIB=$${RANLIB}" \
18819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18820 dvi) \
18821 || exit 1
18823 @endif shellutils
18825 .PHONY: maybe-html-shellutils html-shellutils
18826 maybe-html-shellutils:
18827 @if shellutils
18828 maybe-html-shellutils: html-shellutils
18830 html-shellutils: \
18831 configure-shellutils
18832 @[ -f ./shellutils/Makefile ] || exit 0; \
18833 r=`${PWD_COMMAND}`; export r; \
18834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835 $(SET_LIB_PATH) \
18836 $(HOST_EXPORTS) \
18837 for flag in $(EXTRA_HOST_FLAGS) ; do \
18838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18839 done; \
18840 echo "Doing html in shellutils" ; \
18841 (cd shellutils && \
18842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18844 "RANLIB=$${RANLIB}" \
18845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18846 html) \
18847 || exit 1
18849 @endif shellutils
18851 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18852 maybe-TAGS-shellutils:
18853 @if shellutils
18854 maybe-TAGS-shellutils: TAGS-shellutils
18856 TAGS-shellutils: \
18857 configure-shellutils
18858 @[ -f ./shellutils/Makefile ] || exit 0; \
18859 r=`${PWD_COMMAND}`; export r; \
18860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18861 $(SET_LIB_PATH) \
18862 $(HOST_EXPORTS) \
18863 for flag in $(EXTRA_HOST_FLAGS) ; do \
18864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18865 done; \
18866 echo "Doing TAGS in shellutils" ; \
18867 (cd shellutils && \
18868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18870 "RANLIB=$${RANLIB}" \
18871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18872 TAGS) \
18873 || exit 1
18875 @endif shellutils
18877 .PHONY: maybe-install-info-shellutils install-info-shellutils
18878 maybe-install-info-shellutils:
18879 @if shellutils
18880 maybe-install-info-shellutils: install-info-shellutils
18882 install-info-shellutils: \
18883 configure-shellutils \
18884 info-shellutils
18885 @[ -f ./shellutils/Makefile ] || exit 0; \
18886 r=`${PWD_COMMAND}`; export r; \
18887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18888 $(SET_LIB_PATH) \
18889 $(HOST_EXPORTS) \
18890 for flag in $(EXTRA_HOST_FLAGS) ; do \
18891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18892 done; \
18893 echo "Doing install-info in shellutils" ; \
18894 (cd shellutils && \
18895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18897 "RANLIB=$${RANLIB}" \
18898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18899 install-info) \
18900 || exit 1
18902 @endif shellutils
18904 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18905 maybe-installcheck-shellutils:
18906 @if shellutils
18907 maybe-installcheck-shellutils: installcheck-shellutils
18909 installcheck-shellutils: \
18910 configure-shellutils
18911 @[ -f ./shellutils/Makefile ] || exit 0; \
18912 r=`${PWD_COMMAND}`; export r; \
18913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18914 $(SET_LIB_PATH) \
18915 $(HOST_EXPORTS) \
18916 for flag in $(EXTRA_HOST_FLAGS) ; do \
18917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18918 done; \
18919 echo "Doing installcheck in shellutils" ; \
18920 (cd shellutils && \
18921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18923 "RANLIB=$${RANLIB}" \
18924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18925 installcheck) \
18926 || exit 1
18928 @endif shellutils
18930 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18931 maybe-mostlyclean-shellutils:
18932 @if shellutils
18933 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18935 mostlyclean-shellutils:
18936 @[ -f ./shellutils/Makefile ] || exit 0; \
18937 r=`${PWD_COMMAND}`; export r; \
18938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939 $(SET_LIB_PATH) \
18940 $(HOST_EXPORTS) \
18941 for flag in $(EXTRA_HOST_FLAGS) ; do \
18942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18943 done; \
18944 echo "Doing mostlyclean in shellutils" ; \
18945 (cd shellutils && \
18946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18948 "RANLIB=$${RANLIB}" \
18949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18950 mostlyclean) \
18951 || exit 1
18953 @endif shellutils
18955 .PHONY: maybe-clean-shellutils clean-shellutils
18956 maybe-clean-shellutils:
18957 @if shellutils
18958 maybe-clean-shellutils: clean-shellutils
18960 clean-shellutils:
18961 @[ -f ./shellutils/Makefile ] || exit 0; \
18962 r=`${PWD_COMMAND}`; export r; \
18963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18964 $(SET_LIB_PATH) \
18965 $(HOST_EXPORTS) \
18966 for flag in $(EXTRA_HOST_FLAGS) ; do \
18967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18968 done; \
18969 echo "Doing clean in shellutils" ; \
18970 (cd shellutils && \
18971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18973 "RANLIB=$${RANLIB}" \
18974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18975 clean) \
18976 || exit 1
18978 @endif shellutils
18980 .PHONY: maybe-distclean-shellutils distclean-shellutils
18981 maybe-distclean-shellutils:
18982 @if shellutils
18983 maybe-distclean-shellutils: distclean-shellutils
18985 distclean-shellutils:
18986 @[ -f ./shellutils/Makefile ] || exit 0; \
18987 r=`${PWD_COMMAND}`; export r; \
18988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18989 $(SET_LIB_PATH) \
18990 $(HOST_EXPORTS) \
18991 for flag in $(EXTRA_HOST_FLAGS) ; do \
18992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18993 done; \
18994 echo "Doing distclean in shellutils" ; \
18995 (cd shellutils && \
18996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18998 "RANLIB=$${RANLIB}" \
18999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19000 distclean) \
19001 || exit 1
19003 @endif shellutils
19005 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19006 maybe-maintainer-clean-shellutils:
19007 @if shellutils
19008 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19010 maintainer-clean-shellutils:
19011 @[ -f ./shellutils/Makefile ] || exit 0; \
19012 r=`${PWD_COMMAND}`; export r; \
19013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 $(SET_LIB_PATH) \
19015 $(HOST_EXPORTS) \
19016 for flag in $(EXTRA_HOST_FLAGS) ; do \
19017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19018 done; \
19019 echo "Doing maintainer-clean in shellutils" ; \
19020 (cd shellutils && \
19021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19023 "RANLIB=$${RANLIB}" \
19024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19025 maintainer-clean) \
19026 || exit 1
19028 @endif shellutils
19031 .PHONY: configure-sid maybe-configure-sid
19032 maybe-configure-sid:
19033 @if sid
19034 maybe-configure-sid: configure-sid
19035 configure-sid:
19036 @test ! -f sid/Makefile || exit 0; \
19037 [ -d sid ] || mkdir sid; \
19038 r=`${PWD_COMMAND}`; export r; \
19039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19040 $(HOST_EXPORTS) \
19041 echo Configuring in sid; \
19042 cd sid || exit 1; \
19043 case $(srcdir) in \
19044 \.) \
19045 srcdiroption="--srcdir=."; \
19046 libsrcdir=".";; \
19047 /* | [A-Za-z]:[\\/]*) \
19048 srcdiroption="--srcdir=$(srcdir)/sid"; \
19049 libsrcdir="$$s/sid";; \
19050 *) \
19051 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19052 libsrcdir="$$s/sid";; \
19053 esac; \
19054 $(SHELL) $${libsrcdir}/configure \
19055 $(HOST_CONFIGARGS) $${srcdiroption} \
19056 || exit 1
19057 @endif sid
19059 .PHONY: all-sid maybe-all-sid
19060 maybe-all-sid:
19061 @if sid
19062 TARGET-sid=all
19063 maybe-all-sid: all-sid
19064 all-sid: configure-sid
19065 @r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(SET_LIB_PATH) \
19068 $(HOST_EXPORTS) \
19069 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19070 $(TARGET-sid))
19071 @endif sid
19073 .PHONY: check-sid maybe-check-sid
19074 maybe-check-sid:
19075 @if sid
19076 maybe-check-sid: check-sid
19078 check-sid:
19079 @r=`${PWD_COMMAND}`; export r; \
19080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19081 $(SET_LIB_PATH) \
19082 $(HOST_EXPORTS) \
19083 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19085 @endif sid
19087 .PHONY: install-sid maybe-install-sid
19088 maybe-install-sid:
19089 @if sid
19090 maybe-install-sid: install-sid
19092 install-sid: installdirs
19093 @r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 $(SET_LIB_PATH) \
19096 $(HOST_EXPORTS) \
19097 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19099 @endif sid
19101 # Other targets (info, dvi, etc.)
19103 .PHONY: maybe-info-sid info-sid
19104 maybe-info-sid:
19105 @if sid
19106 maybe-info-sid: info-sid
19108 info-sid: \
19109 configure-sid
19110 @[ -f ./sid/Makefile ] || exit 0; \
19111 r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19113 $(SET_LIB_PATH) \
19114 $(HOST_EXPORTS) \
19115 for flag in $(EXTRA_HOST_FLAGS) ; do \
19116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19117 done; \
19118 echo "Doing info in sid" ; \
19119 (cd sid && \
19120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19122 "RANLIB=$${RANLIB}" \
19123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19124 info) \
19125 || exit 1
19127 @endif sid
19129 .PHONY: maybe-dvi-sid dvi-sid
19130 maybe-dvi-sid:
19131 @if sid
19132 maybe-dvi-sid: dvi-sid
19134 dvi-sid: \
19135 configure-sid
19136 @[ -f ./sid/Makefile ] || exit 0; \
19137 r=`${PWD_COMMAND}`; export r; \
19138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19139 $(SET_LIB_PATH) \
19140 $(HOST_EXPORTS) \
19141 for flag in $(EXTRA_HOST_FLAGS) ; do \
19142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19143 done; \
19144 echo "Doing dvi in sid" ; \
19145 (cd sid && \
19146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19148 "RANLIB=$${RANLIB}" \
19149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19150 dvi) \
19151 || exit 1
19153 @endif sid
19155 .PHONY: maybe-html-sid html-sid
19156 maybe-html-sid:
19157 @if sid
19158 maybe-html-sid: html-sid
19160 html-sid: \
19161 configure-sid
19162 @[ -f ./sid/Makefile ] || exit 0; \
19163 r=`${PWD_COMMAND}`; export r; \
19164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19165 $(SET_LIB_PATH) \
19166 $(HOST_EXPORTS) \
19167 for flag in $(EXTRA_HOST_FLAGS) ; do \
19168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19169 done; \
19170 echo "Doing html in sid" ; \
19171 (cd sid && \
19172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19174 "RANLIB=$${RANLIB}" \
19175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19176 html) \
19177 || exit 1
19179 @endif sid
19181 .PHONY: maybe-TAGS-sid TAGS-sid
19182 maybe-TAGS-sid:
19183 @if sid
19184 maybe-TAGS-sid: TAGS-sid
19186 TAGS-sid: \
19187 configure-sid
19188 @[ -f ./sid/Makefile ] || exit 0; \
19189 r=`${PWD_COMMAND}`; export r; \
19190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19191 $(SET_LIB_PATH) \
19192 $(HOST_EXPORTS) \
19193 for flag in $(EXTRA_HOST_FLAGS) ; do \
19194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19195 done; \
19196 echo "Doing TAGS in sid" ; \
19197 (cd sid && \
19198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19200 "RANLIB=$${RANLIB}" \
19201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19202 TAGS) \
19203 || exit 1
19205 @endif sid
19207 .PHONY: maybe-install-info-sid install-info-sid
19208 maybe-install-info-sid:
19209 @if sid
19210 maybe-install-info-sid: install-info-sid
19212 install-info-sid: \
19213 configure-sid \
19214 info-sid
19215 @[ -f ./sid/Makefile ] || exit 0; \
19216 r=`${PWD_COMMAND}`; export r; \
19217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19218 $(SET_LIB_PATH) \
19219 $(HOST_EXPORTS) \
19220 for flag in $(EXTRA_HOST_FLAGS) ; do \
19221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19222 done; \
19223 echo "Doing install-info in sid" ; \
19224 (cd sid && \
19225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19227 "RANLIB=$${RANLIB}" \
19228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19229 install-info) \
19230 || exit 1
19232 @endif sid
19234 .PHONY: maybe-installcheck-sid installcheck-sid
19235 maybe-installcheck-sid:
19236 @if sid
19237 maybe-installcheck-sid: installcheck-sid
19239 installcheck-sid: \
19240 configure-sid
19241 @[ -f ./sid/Makefile ] || exit 0; \
19242 r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 $(SET_LIB_PATH) \
19245 $(HOST_EXPORTS) \
19246 for flag in $(EXTRA_HOST_FLAGS) ; do \
19247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19248 done; \
19249 echo "Doing installcheck in sid" ; \
19250 (cd sid && \
19251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253 "RANLIB=$${RANLIB}" \
19254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19255 installcheck) \
19256 || exit 1
19258 @endif sid
19260 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19261 maybe-mostlyclean-sid:
19262 @if sid
19263 maybe-mostlyclean-sid: mostlyclean-sid
19265 mostlyclean-sid:
19266 @[ -f ./sid/Makefile ] || exit 0; \
19267 r=`${PWD_COMMAND}`; export r; \
19268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19269 $(SET_LIB_PATH) \
19270 $(HOST_EXPORTS) \
19271 for flag in $(EXTRA_HOST_FLAGS) ; do \
19272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19273 done; \
19274 echo "Doing mostlyclean in sid" ; \
19275 (cd sid && \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278 "RANLIB=$${RANLIB}" \
19279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19280 mostlyclean) \
19281 || exit 1
19283 @endif sid
19285 .PHONY: maybe-clean-sid clean-sid
19286 maybe-clean-sid:
19287 @if sid
19288 maybe-clean-sid: clean-sid
19290 clean-sid:
19291 @[ -f ./sid/Makefile ] || exit 0; \
19292 r=`${PWD_COMMAND}`; export r; \
19293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19294 $(SET_LIB_PATH) \
19295 $(HOST_EXPORTS) \
19296 for flag in $(EXTRA_HOST_FLAGS) ; do \
19297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19298 done; \
19299 echo "Doing clean in sid" ; \
19300 (cd sid && \
19301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303 "RANLIB=$${RANLIB}" \
19304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19305 clean) \
19306 || exit 1
19308 @endif sid
19310 .PHONY: maybe-distclean-sid distclean-sid
19311 maybe-distclean-sid:
19312 @if sid
19313 maybe-distclean-sid: distclean-sid
19315 distclean-sid:
19316 @[ -f ./sid/Makefile ] || exit 0; \
19317 r=`${PWD_COMMAND}`; export r; \
19318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19319 $(SET_LIB_PATH) \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing distclean in sid" ; \
19325 (cd sid && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19330 distclean) \
19331 || exit 1
19333 @endif sid
19335 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19336 maybe-maintainer-clean-sid:
19337 @if sid
19338 maybe-maintainer-clean-sid: maintainer-clean-sid
19340 maintainer-clean-sid:
19341 @[ -f ./sid/Makefile ] || exit 0; \
19342 r=`${PWD_COMMAND}`; export r; \
19343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19344 $(SET_LIB_PATH) \
19345 $(HOST_EXPORTS) \
19346 for flag in $(EXTRA_HOST_FLAGS) ; do \
19347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348 done; \
19349 echo "Doing maintainer-clean in sid" ; \
19350 (cd sid && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353 "RANLIB=$${RANLIB}" \
19354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19355 maintainer-clean) \
19356 || exit 1
19358 @endif sid
19361 .PHONY: configure-sim maybe-configure-sim
19362 maybe-configure-sim:
19363 @if sim
19364 maybe-configure-sim: configure-sim
19365 configure-sim:
19366 @test ! -f sim/Makefile || exit 0; \
19367 [ -d sim ] || mkdir sim; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370 $(HOST_EXPORTS) \
19371 echo Configuring in sim; \
19372 cd sim || exit 1; \
19373 case $(srcdir) in \
19374 \.) \
19375 srcdiroption="--srcdir=."; \
19376 libsrcdir=".";; \
19377 /* | [A-Za-z]:[\\/]*) \
19378 srcdiroption="--srcdir=$(srcdir)/sim"; \
19379 libsrcdir="$$s/sim";; \
19380 *) \
19381 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19382 libsrcdir="$$s/sim";; \
19383 esac; \
19384 $(SHELL) $${libsrcdir}/configure \
19385 $(HOST_CONFIGARGS) $${srcdiroption} \
19386 || exit 1
19387 @endif sim
19389 .PHONY: all-sim maybe-all-sim
19390 maybe-all-sim:
19391 @if sim
19392 TARGET-sim=all
19393 maybe-all-sim: all-sim
19394 all-sim: configure-sim
19395 @r=`${PWD_COMMAND}`; export r; \
19396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19397 $(SET_LIB_PATH) \
19398 $(HOST_EXPORTS) \
19399 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19400 $(TARGET-sim))
19401 @endif sim
19403 .PHONY: check-sim maybe-check-sim
19404 maybe-check-sim:
19405 @if sim
19406 maybe-check-sim: check-sim
19408 check-sim:
19409 @r=`${PWD_COMMAND}`; export r; \
19410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19411 $(SET_LIB_PATH) \
19412 $(HOST_EXPORTS) \
19413 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19415 @endif sim
19417 .PHONY: install-sim maybe-install-sim
19418 maybe-install-sim:
19419 @if sim
19420 maybe-install-sim: install-sim
19422 install-sim: installdirs
19423 @r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19425 $(SET_LIB_PATH) \
19426 $(HOST_EXPORTS) \
19427 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19429 @endif sim
19431 # Other targets (info, dvi, etc.)
19433 .PHONY: maybe-info-sim info-sim
19434 maybe-info-sim:
19435 @if sim
19436 maybe-info-sim: info-sim
19438 info-sim: \
19439 configure-sim
19440 @[ -f ./sim/Makefile ] || exit 0; \
19441 r=`${PWD_COMMAND}`; export r; \
19442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19443 $(SET_LIB_PATH) \
19444 $(HOST_EXPORTS) \
19445 for flag in $(EXTRA_HOST_FLAGS) ; do \
19446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19447 done; \
19448 echo "Doing info in sim" ; \
19449 (cd sim && \
19450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19452 "RANLIB=$${RANLIB}" \
19453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19454 info) \
19455 || exit 1
19457 @endif sim
19459 .PHONY: maybe-dvi-sim dvi-sim
19460 maybe-dvi-sim:
19461 @if sim
19462 maybe-dvi-sim: dvi-sim
19464 dvi-sim: \
19465 configure-sim
19466 @[ -f ./sim/Makefile ] || exit 0; \
19467 r=`${PWD_COMMAND}`; export r; \
19468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19469 $(SET_LIB_PATH) \
19470 $(HOST_EXPORTS) \
19471 for flag in $(EXTRA_HOST_FLAGS) ; do \
19472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19473 done; \
19474 echo "Doing dvi in sim" ; \
19475 (cd sim && \
19476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19478 "RANLIB=$${RANLIB}" \
19479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19480 dvi) \
19481 || exit 1
19483 @endif sim
19485 .PHONY: maybe-html-sim html-sim
19486 maybe-html-sim:
19487 @if sim
19488 maybe-html-sim: html-sim
19490 html-sim: \
19491 configure-sim
19492 @[ -f ./sim/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(SET_LIB_PATH) \
19496 $(HOST_EXPORTS) \
19497 for flag in $(EXTRA_HOST_FLAGS) ; do \
19498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19499 done; \
19500 echo "Doing html in sim" ; \
19501 (cd sim && \
19502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19504 "RANLIB=$${RANLIB}" \
19505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19506 html) \
19507 || exit 1
19509 @endif sim
19511 .PHONY: maybe-TAGS-sim TAGS-sim
19512 maybe-TAGS-sim:
19513 @if sim
19514 maybe-TAGS-sim: TAGS-sim
19516 TAGS-sim: \
19517 configure-sim
19518 @[ -f ./sim/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 $(SET_LIB_PATH) \
19522 $(HOST_EXPORTS) \
19523 for flag in $(EXTRA_HOST_FLAGS) ; do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525 done; \
19526 echo "Doing TAGS in sim" ; \
19527 (cd sim && \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19532 TAGS) \
19533 || exit 1
19535 @endif sim
19537 .PHONY: maybe-install-info-sim install-info-sim
19538 maybe-install-info-sim:
19539 @if sim
19540 maybe-install-info-sim: install-info-sim
19542 install-info-sim: \
19543 configure-sim \
19544 info-sim
19545 @[ -f ./sim/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 $(SET_LIB_PATH) \
19549 $(HOST_EXPORTS) \
19550 for flag in $(EXTRA_HOST_FLAGS) ; do \
19551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19552 done; \
19553 echo "Doing install-info in sim" ; \
19554 (cd sim && \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557 "RANLIB=$${RANLIB}" \
19558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19559 install-info) \
19560 || exit 1
19562 @endif sim
19564 .PHONY: maybe-installcheck-sim installcheck-sim
19565 maybe-installcheck-sim:
19566 @if sim
19567 maybe-installcheck-sim: installcheck-sim
19569 installcheck-sim: \
19570 configure-sim
19571 @[ -f ./sim/Makefile ] || exit 0; \
19572 r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 $(SET_LIB_PATH) \
19575 $(HOST_EXPORTS) \
19576 for flag in $(EXTRA_HOST_FLAGS) ; do \
19577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19578 done; \
19579 echo "Doing installcheck in sim" ; \
19580 (cd sim && \
19581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19583 "RANLIB=$${RANLIB}" \
19584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19585 installcheck) \
19586 || exit 1
19588 @endif sim
19590 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19591 maybe-mostlyclean-sim:
19592 @if sim
19593 maybe-mostlyclean-sim: mostlyclean-sim
19595 mostlyclean-sim:
19596 @[ -f ./sim/Makefile ] || exit 0; \
19597 r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 $(SET_LIB_PATH) \
19600 $(HOST_EXPORTS) \
19601 for flag in $(EXTRA_HOST_FLAGS) ; do \
19602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19603 done; \
19604 echo "Doing mostlyclean in sim" ; \
19605 (cd sim && \
19606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19608 "RANLIB=$${RANLIB}" \
19609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19610 mostlyclean) \
19611 || exit 1
19613 @endif sim
19615 .PHONY: maybe-clean-sim clean-sim
19616 maybe-clean-sim:
19617 @if sim
19618 maybe-clean-sim: clean-sim
19620 clean-sim:
19621 @[ -f ./sim/Makefile ] || exit 0; \
19622 r=`${PWD_COMMAND}`; export r; \
19623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19624 $(SET_LIB_PATH) \
19625 $(HOST_EXPORTS) \
19626 for flag in $(EXTRA_HOST_FLAGS) ; do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 done; \
19629 echo "Doing clean in sim" ; \
19630 (cd sim && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19635 clean) \
19636 || exit 1
19638 @endif sim
19640 .PHONY: maybe-distclean-sim distclean-sim
19641 maybe-distclean-sim:
19642 @if sim
19643 maybe-distclean-sim: distclean-sim
19645 distclean-sim:
19646 @[ -f ./sim/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(SET_LIB_PATH) \
19650 $(HOST_EXPORTS) \
19651 for flag in $(EXTRA_HOST_FLAGS) ; do \
19652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19653 done; \
19654 echo "Doing distclean in sim" ; \
19655 (cd sim && \
19656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19658 "RANLIB=$${RANLIB}" \
19659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19660 distclean) \
19661 || exit 1
19663 @endif sim
19665 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19666 maybe-maintainer-clean-sim:
19667 @if sim
19668 maybe-maintainer-clean-sim: maintainer-clean-sim
19670 maintainer-clean-sim:
19671 @[ -f ./sim/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 $(SET_LIB_PATH) \
19675 $(HOST_EXPORTS) \
19676 for flag in $(EXTRA_HOST_FLAGS) ; do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 done; \
19679 echo "Doing maintainer-clean in sim" ; \
19680 (cd sim && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 maintainer-clean) \
19686 || exit 1
19688 @endif sim
19691 .PHONY: configure-tar maybe-configure-tar
19692 maybe-configure-tar:
19693 @if tar
19694 maybe-configure-tar: configure-tar
19695 configure-tar:
19696 @test ! -f tar/Makefile || exit 0; \
19697 [ -d tar ] || mkdir tar; \
19698 r=`${PWD_COMMAND}`; export r; \
19699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 $(HOST_EXPORTS) \
19701 echo Configuring in tar; \
19702 cd tar || exit 1; \
19703 case $(srcdir) in \
19704 \.) \
19705 srcdiroption="--srcdir=."; \
19706 libsrcdir=".";; \
19707 /* | [A-Za-z]:[\\/]*) \
19708 srcdiroption="--srcdir=$(srcdir)/tar"; \
19709 libsrcdir="$$s/tar";; \
19710 *) \
19711 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19712 libsrcdir="$$s/tar";; \
19713 esac; \
19714 $(SHELL) $${libsrcdir}/configure \
19715 $(HOST_CONFIGARGS) $${srcdiroption} \
19716 || exit 1
19717 @endif tar
19719 .PHONY: all-tar maybe-all-tar
19720 maybe-all-tar:
19721 @if tar
19722 TARGET-tar=all
19723 maybe-all-tar: all-tar
19724 all-tar: configure-tar
19725 @r=`${PWD_COMMAND}`; export r; \
19726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19727 $(SET_LIB_PATH) \
19728 $(HOST_EXPORTS) \
19729 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19730 $(TARGET-tar))
19731 @endif tar
19733 .PHONY: check-tar maybe-check-tar
19734 maybe-check-tar:
19735 @if tar
19736 maybe-check-tar: check-tar
19738 check-tar:
19739 @r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741 $(SET_LIB_PATH) \
19742 $(HOST_EXPORTS) \
19743 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19745 @endif tar
19747 .PHONY: install-tar maybe-install-tar
19748 maybe-install-tar:
19749 @if tar
19750 maybe-install-tar: install-tar
19752 install-tar: installdirs
19753 @r=`${PWD_COMMAND}`; export r; \
19754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19755 $(SET_LIB_PATH) \
19756 $(HOST_EXPORTS) \
19757 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19759 @endif tar
19761 # Other targets (info, dvi, etc.)
19763 .PHONY: maybe-info-tar info-tar
19764 maybe-info-tar:
19765 @if tar
19766 maybe-info-tar: info-tar
19768 info-tar: \
19769 configure-tar
19770 @[ -f ./tar/Makefile ] || exit 0; \
19771 r=`${PWD_COMMAND}`; export r; \
19772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19773 $(SET_LIB_PATH) \
19774 $(HOST_EXPORTS) \
19775 for flag in $(EXTRA_HOST_FLAGS) ; do \
19776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19777 done; \
19778 echo "Doing info in tar" ; \
19779 (cd tar && \
19780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19782 "RANLIB=$${RANLIB}" \
19783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19784 info) \
19785 || exit 1
19787 @endif tar
19789 .PHONY: maybe-dvi-tar dvi-tar
19790 maybe-dvi-tar:
19791 @if tar
19792 maybe-dvi-tar: dvi-tar
19794 dvi-tar: \
19795 configure-tar
19796 @[ -f ./tar/Makefile ] || exit 0; \
19797 r=`${PWD_COMMAND}`; export r; \
19798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19799 $(SET_LIB_PATH) \
19800 $(HOST_EXPORTS) \
19801 for flag in $(EXTRA_HOST_FLAGS) ; do \
19802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19803 done; \
19804 echo "Doing dvi in tar" ; \
19805 (cd tar && \
19806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19808 "RANLIB=$${RANLIB}" \
19809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19810 dvi) \
19811 || exit 1
19813 @endif tar
19815 .PHONY: maybe-html-tar html-tar
19816 maybe-html-tar:
19817 @if tar
19818 maybe-html-tar: html-tar
19820 html-tar: \
19821 configure-tar
19822 @[ -f ./tar/Makefile ] || exit 0; \
19823 r=`${PWD_COMMAND}`; export r; \
19824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19825 $(SET_LIB_PATH) \
19826 $(HOST_EXPORTS) \
19827 for flag in $(EXTRA_HOST_FLAGS) ; do \
19828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19829 done; \
19830 echo "Doing html in tar" ; \
19831 (cd tar && \
19832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19834 "RANLIB=$${RANLIB}" \
19835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19836 html) \
19837 || exit 1
19839 @endif tar
19841 .PHONY: maybe-TAGS-tar TAGS-tar
19842 maybe-TAGS-tar:
19843 @if tar
19844 maybe-TAGS-tar: TAGS-tar
19846 TAGS-tar: \
19847 configure-tar
19848 @[ -f ./tar/Makefile ] || exit 0; \
19849 r=`${PWD_COMMAND}`; export r; \
19850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19851 $(SET_LIB_PATH) \
19852 $(HOST_EXPORTS) \
19853 for flag in $(EXTRA_HOST_FLAGS) ; do \
19854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19855 done; \
19856 echo "Doing TAGS in tar" ; \
19857 (cd tar && \
19858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19860 "RANLIB=$${RANLIB}" \
19861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19862 TAGS) \
19863 || exit 1
19865 @endif tar
19867 .PHONY: maybe-install-info-tar install-info-tar
19868 maybe-install-info-tar:
19869 @if tar
19870 maybe-install-info-tar: install-info-tar
19872 install-info-tar: \
19873 configure-tar \
19874 info-tar
19875 @[ -f ./tar/Makefile ] || exit 0; \
19876 r=`${PWD_COMMAND}`; export r; \
19877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19878 $(SET_LIB_PATH) \
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 install-info in tar" ; \
19884 (cd tar && \
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 install-info) \
19890 || exit 1
19892 @endif tar
19894 .PHONY: maybe-installcheck-tar installcheck-tar
19895 maybe-installcheck-tar:
19896 @if tar
19897 maybe-installcheck-tar: installcheck-tar
19899 installcheck-tar: \
19900 configure-tar
19901 @[ -f ./tar/Makefile ] || exit 0; \
19902 r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 $(SET_LIB_PATH) \
19905 $(HOST_EXPORTS) \
19906 for flag in $(EXTRA_HOST_FLAGS) ; do \
19907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19908 done; \
19909 echo "Doing installcheck in tar" ; \
19910 (cd tar && \
19911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19913 "RANLIB=$${RANLIB}" \
19914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19915 installcheck) \
19916 || exit 1
19918 @endif tar
19920 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19921 maybe-mostlyclean-tar:
19922 @if tar
19923 maybe-mostlyclean-tar: mostlyclean-tar
19925 mostlyclean-tar:
19926 @[ -f ./tar/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 $(SET_LIB_PATH) \
19930 $(HOST_EXPORTS) \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 done; \
19934 echo "Doing mostlyclean in tar" ; \
19935 (cd tar && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19940 mostlyclean) \
19941 || exit 1
19943 @endif tar
19945 .PHONY: maybe-clean-tar clean-tar
19946 maybe-clean-tar:
19947 @if tar
19948 maybe-clean-tar: clean-tar
19950 clean-tar:
19951 @[ -f ./tar/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(SET_LIB_PATH) \
19955 $(HOST_EXPORTS) \
19956 for flag in $(EXTRA_HOST_FLAGS) ; do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 done; \
19959 echo "Doing clean in tar" ; \
19960 (cd tar && \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19965 clean) \
19966 || exit 1
19968 @endif tar
19970 .PHONY: maybe-distclean-tar distclean-tar
19971 maybe-distclean-tar:
19972 @if tar
19973 maybe-distclean-tar: distclean-tar
19975 distclean-tar:
19976 @[ -f ./tar/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(SET_LIB_PATH) \
19980 $(HOST_EXPORTS) \
19981 for flag in $(EXTRA_HOST_FLAGS) ; do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 done; \
19984 echo "Doing distclean in tar" ; \
19985 (cd tar && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19990 distclean) \
19991 || exit 1
19993 @endif tar
19995 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19996 maybe-maintainer-clean-tar:
19997 @if tar
19998 maybe-maintainer-clean-tar: maintainer-clean-tar
20000 maintainer-clean-tar:
20001 @[ -f ./tar/Makefile ] || exit 0; \
20002 r=`${PWD_COMMAND}`; export r; \
20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20004 $(SET_LIB_PATH) \
20005 $(HOST_EXPORTS) \
20006 for flag in $(EXTRA_HOST_FLAGS) ; do \
20007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20008 done; \
20009 echo "Doing maintainer-clean in tar" ; \
20010 (cd tar && \
20011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20013 "RANLIB=$${RANLIB}" \
20014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20015 maintainer-clean) \
20016 || exit 1
20018 @endif tar
20021 .PHONY: configure-texinfo maybe-configure-texinfo
20022 maybe-configure-texinfo:
20023 @if texinfo
20024 maybe-configure-texinfo: configure-texinfo
20025 configure-texinfo:
20026 @test ! -f texinfo/Makefile || exit 0; \
20027 [ -d texinfo ] || mkdir texinfo; \
20028 r=`${PWD_COMMAND}`; export r; \
20029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20030 $(HOST_EXPORTS) \
20031 echo Configuring in texinfo; \
20032 cd texinfo || exit 1; \
20033 case $(srcdir) in \
20034 \.) \
20035 srcdiroption="--srcdir=."; \
20036 libsrcdir=".";; \
20037 /* | [A-Za-z]:[\\/]*) \
20038 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20039 libsrcdir="$$s/texinfo";; \
20040 *) \
20041 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20042 libsrcdir="$$s/texinfo";; \
20043 esac; \
20044 $(SHELL) $${libsrcdir}/configure \
20045 $(HOST_CONFIGARGS) $${srcdiroption} \
20046 || exit 1
20047 @endif texinfo
20049 .PHONY: all-texinfo maybe-all-texinfo
20050 maybe-all-texinfo:
20051 @if texinfo
20052 TARGET-texinfo=all
20053 maybe-all-texinfo: all-texinfo
20054 all-texinfo: configure-texinfo
20055 @r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 $(SET_LIB_PATH) \
20058 $(HOST_EXPORTS) \
20059 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20060 $(TARGET-texinfo))
20061 @endif texinfo
20063 .PHONY: check-texinfo maybe-check-texinfo
20064 maybe-check-texinfo:
20065 @if texinfo
20066 maybe-check-texinfo: check-texinfo
20068 check-texinfo:
20069 @r=`${PWD_COMMAND}`; export r; \
20070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20071 $(SET_LIB_PATH) \
20072 $(HOST_EXPORTS) \
20073 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20075 @endif texinfo
20077 .PHONY: install-texinfo maybe-install-texinfo
20078 maybe-install-texinfo:
20079 @if texinfo
20080 maybe-install-texinfo: install-texinfo
20082 install-texinfo:
20084 @endif texinfo
20086 # Other targets (info, dvi, etc.)
20088 .PHONY: maybe-info-texinfo info-texinfo
20089 maybe-info-texinfo:
20090 @if texinfo
20091 maybe-info-texinfo: info-texinfo
20093 info-texinfo: \
20094 configure-texinfo
20095 @[ -f ./texinfo/Makefile ] || exit 0; \
20096 r=`${PWD_COMMAND}`; export r; \
20097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098 $(SET_LIB_PATH) \
20099 $(HOST_EXPORTS) \
20100 for flag in $(EXTRA_HOST_FLAGS) ; do \
20101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20102 done; \
20103 echo "Doing info in texinfo" ; \
20104 (cd texinfo && \
20105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20107 "RANLIB=$${RANLIB}" \
20108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20109 info) \
20110 || exit 1
20112 @endif texinfo
20114 .PHONY: maybe-dvi-texinfo dvi-texinfo
20115 maybe-dvi-texinfo:
20116 @if texinfo
20117 maybe-dvi-texinfo: dvi-texinfo
20119 dvi-texinfo: \
20120 configure-texinfo
20121 @[ -f ./texinfo/Makefile ] || exit 0; \
20122 r=`${PWD_COMMAND}`; export r; \
20123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20124 $(SET_LIB_PATH) \
20125 $(HOST_EXPORTS) \
20126 for flag in $(EXTRA_HOST_FLAGS) ; do \
20127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20128 done; \
20129 echo "Doing dvi in texinfo" ; \
20130 (cd texinfo && \
20131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20133 "RANLIB=$${RANLIB}" \
20134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20135 dvi) \
20136 || exit 1
20138 @endif texinfo
20140 .PHONY: maybe-html-texinfo html-texinfo
20141 maybe-html-texinfo:
20142 @if texinfo
20143 maybe-html-texinfo: html-texinfo
20145 html-texinfo: \
20146 configure-texinfo
20147 @[ -f ./texinfo/Makefile ] || exit 0; \
20148 r=`${PWD_COMMAND}`; export r; \
20149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20150 $(SET_LIB_PATH) \
20151 $(HOST_EXPORTS) \
20152 for flag in $(EXTRA_HOST_FLAGS) ; do \
20153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20154 done; \
20155 echo "Doing html in texinfo" ; \
20156 (cd texinfo && \
20157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20159 "RANLIB=$${RANLIB}" \
20160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20161 html) \
20162 || exit 1
20164 @endif texinfo
20166 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20167 maybe-TAGS-texinfo:
20168 @if texinfo
20169 maybe-TAGS-texinfo: TAGS-texinfo
20171 TAGS-texinfo: \
20172 configure-texinfo
20173 @[ -f ./texinfo/Makefile ] || exit 0; \
20174 r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(SET_LIB_PATH) \
20177 $(HOST_EXPORTS) \
20178 for flag in $(EXTRA_HOST_FLAGS) ; do \
20179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20180 done; \
20181 echo "Doing TAGS in texinfo" ; \
20182 (cd texinfo && \
20183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20185 "RANLIB=$${RANLIB}" \
20186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20187 TAGS) \
20188 || exit 1
20190 @endif texinfo
20192 .PHONY: maybe-install-info-texinfo install-info-texinfo
20193 maybe-install-info-texinfo:
20194 @if texinfo
20195 maybe-install-info-texinfo: install-info-texinfo
20197 install-info-texinfo: \
20198 configure-texinfo \
20199 info-texinfo
20200 @[ -f ./texinfo/Makefile ] || exit 0; \
20201 r=`${PWD_COMMAND}`; export r; \
20202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203 $(SET_LIB_PATH) \
20204 $(HOST_EXPORTS) \
20205 for flag in $(EXTRA_HOST_FLAGS) ; do \
20206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20207 done; \
20208 echo "Doing install-info in texinfo" ; \
20209 (cd texinfo && \
20210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20212 "RANLIB=$${RANLIB}" \
20213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20214 install-info) \
20215 || exit 1
20217 @endif texinfo
20219 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20220 maybe-installcheck-texinfo:
20221 @if texinfo
20222 maybe-installcheck-texinfo: installcheck-texinfo
20224 installcheck-texinfo: \
20225 configure-texinfo
20226 @[ -f ./texinfo/Makefile ] || exit 0; \
20227 r=`${PWD_COMMAND}`; export r; \
20228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 $(SET_LIB_PATH) \
20230 $(HOST_EXPORTS) \
20231 for flag in $(EXTRA_HOST_FLAGS) ; do \
20232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20233 done; \
20234 echo "Doing installcheck in texinfo" ; \
20235 (cd texinfo && \
20236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20238 "RANLIB=$${RANLIB}" \
20239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20240 installcheck) \
20241 || exit 1
20243 @endif texinfo
20245 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20246 maybe-mostlyclean-texinfo:
20247 @if texinfo
20248 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20250 mostlyclean-texinfo:
20251 @[ -f ./texinfo/Makefile ] || exit 0; \
20252 r=`${PWD_COMMAND}`; export r; \
20253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 $(SET_LIB_PATH) \
20255 $(HOST_EXPORTS) \
20256 for flag in $(EXTRA_HOST_FLAGS) ; do \
20257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20258 done; \
20259 echo "Doing mostlyclean in texinfo" ; \
20260 (cd texinfo && \
20261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20263 "RANLIB=$${RANLIB}" \
20264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20265 mostlyclean) \
20266 || exit 1
20268 @endif texinfo
20270 .PHONY: maybe-clean-texinfo clean-texinfo
20271 maybe-clean-texinfo:
20272 @if texinfo
20273 maybe-clean-texinfo: clean-texinfo
20275 clean-texinfo:
20276 @[ -f ./texinfo/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(SET_LIB_PATH) \
20280 $(HOST_EXPORTS) \
20281 for flag in $(EXTRA_HOST_FLAGS) ; do \
20282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20283 done; \
20284 echo "Doing clean in texinfo" ; \
20285 (cd texinfo && \
20286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288 "RANLIB=$${RANLIB}" \
20289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20290 clean) \
20291 || exit 1
20293 @endif texinfo
20295 .PHONY: maybe-distclean-texinfo distclean-texinfo
20296 maybe-distclean-texinfo:
20297 @if texinfo
20298 maybe-distclean-texinfo: distclean-texinfo
20300 distclean-texinfo:
20301 @[ -f ./texinfo/Makefile ] || exit 0; \
20302 r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(SET_LIB_PATH) \
20305 $(HOST_EXPORTS) \
20306 for flag in $(EXTRA_HOST_FLAGS) ; do \
20307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20308 done; \
20309 echo "Doing distclean in texinfo" ; \
20310 (cd texinfo && \
20311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20313 "RANLIB=$${RANLIB}" \
20314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20315 distclean) \
20316 || exit 1
20318 @endif texinfo
20320 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20321 maybe-maintainer-clean-texinfo:
20322 @if texinfo
20323 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20325 maintainer-clean-texinfo:
20326 @[ -f ./texinfo/Makefile ] || exit 0; \
20327 r=`${PWD_COMMAND}`; export r; \
20328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20329 $(SET_LIB_PATH) \
20330 $(HOST_EXPORTS) \
20331 for flag in $(EXTRA_HOST_FLAGS) ; do \
20332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20333 done; \
20334 echo "Doing maintainer-clean in texinfo" ; \
20335 (cd texinfo && \
20336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20338 "RANLIB=$${RANLIB}" \
20339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20340 maintainer-clean) \
20341 || exit 1
20343 @endif texinfo
20346 .PHONY: configure-textutils maybe-configure-textutils
20347 maybe-configure-textutils:
20348 @if textutils
20349 maybe-configure-textutils: configure-textutils
20350 configure-textutils:
20351 @test ! -f textutils/Makefile || exit 0; \
20352 [ -d textutils ] || mkdir textutils; \
20353 r=`${PWD_COMMAND}`; export r; \
20354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20355 $(HOST_EXPORTS) \
20356 echo Configuring in textutils; \
20357 cd textutils || exit 1; \
20358 case $(srcdir) in \
20359 \.) \
20360 srcdiroption="--srcdir=."; \
20361 libsrcdir=".";; \
20362 /* | [A-Za-z]:[\\/]*) \
20363 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20364 libsrcdir="$$s/textutils";; \
20365 *) \
20366 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20367 libsrcdir="$$s/textutils";; \
20368 esac; \
20369 $(SHELL) $${libsrcdir}/configure \
20370 $(HOST_CONFIGARGS) $${srcdiroption} \
20371 || exit 1
20372 @endif textutils
20374 .PHONY: all-textutils maybe-all-textutils
20375 maybe-all-textutils:
20376 @if textutils
20377 TARGET-textutils=all
20378 maybe-all-textutils: all-textutils
20379 all-textutils: configure-textutils
20380 @r=`${PWD_COMMAND}`; export r; \
20381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20382 $(SET_LIB_PATH) \
20383 $(HOST_EXPORTS) \
20384 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20385 $(TARGET-textutils))
20386 @endif textutils
20388 .PHONY: check-textutils maybe-check-textutils
20389 maybe-check-textutils:
20390 @if textutils
20391 maybe-check-textutils: check-textutils
20393 check-textutils:
20394 @r=`${PWD_COMMAND}`; export r; \
20395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20396 $(SET_LIB_PATH) \
20397 $(HOST_EXPORTS) \
20398 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20400 @endif textutils
20402 .PHONY: install-textutils maybe-install-textutils
20403 maybe-install-textutils:
20404 @if textutils
20405 maybe-install-textutils: install-textutils
20407 install-textutils: installdirs
20408 @r=`${PWD_COMMAND}`; export r; \
20409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20410 $(SET_LIB_PATH) \
20411 $(HOST_EXPORTS) \
20412 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20414 @endif textutils
20416 # Other targets (info, dvi, etc.)
20418 .PHONY: maybe-info-textutils info-textutils
20419 maybe-info-textutils:
20420 @if textutils
20421 maybe-info-textutils: info-textutils
20423 info-textutils: \
20424 configure-textutils
20425 @[ -f ./textutils/Makefile ] || exit 0; \
20426 r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 $(SET_LIB_PATH) \
20429 $(HOST_EXPORTS) \
20430 for flag in $(EXTRA_HOST_FLAGS) ; do \
20431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20432 done; \
20433 echo "Doing info in textutils" ; \
20434 (cd textutils && \
20435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20437 "RANLIB=$${RANLIB}" \
20438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20439 info) \
20440 || exit 1
20442 @endif textutils
20444 .PHONY: maybe-dvi-textutils dvi-textutils
20445 maybe-dvi-textutils:
20446 @if textutils
20447 maybe-dvi-textutils: dvi-textutils
20449 dvi-textutils: \
20450 configure-textutils
20451 @[ -f ./textutils/Makefile ] || exit 0; \
20452 r=`${PWD_COMMAND}`; export r; \
20453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20454 $(SET_LIB_PATH) \
20455 $(HOST_EXPORTS) \
20456 for flag in $(EXTRA_HOST_FLAGS) ; do \
20457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20458 done; \
20459 echo "Doing dvi in textutils" ; \
20460 (cd textutils && \
20461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20463 "RANLIB=$${RANLIB}" \
20464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20465 dvi) \
20466 || exit 1
20468 @endif textutils
20470 .PHONY: maybe-html-textutils html-textutils
20471 maybe-html-textutils:
20472 @if textutils
20473 maybe-html-textutils: html-textutils
20475 html-textutils: \
20476 configure-textutils
20477 @[ -f ./textutils/Makefile ] || exit 0; \
20478 r=`${PWD_COMMAND}`; export r; \
20479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20480 $(SET_LIB_PATH) \
20481 $(HOST_EXPORTS) \
20482 for flag in $(EXTRA_HOST_FLAGS) ; do \
20483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20484 done; \
20485 echo "Doing html in textutils" ; \
20486 (cd textutils && \
20487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20489 "RANLIB=$${RANLIB}" \
20490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20491 html) \
20492 || exit 1
20494 @endif textutils
20496 .PHONY: maybe-TAGS-textutils TAGS-textutils
20497 maybe-TAGS-textutils:
20498 @if textutils
20499 maybe-TAGS-textutils: TAGS-textutils
20501 TAGS-textutils: \
20502 configure-textutils
20503 @[ -f ./textutils/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(SET_LIB_PATH) \
20507 $(HOST_EXPORTS) \
20508 for flag in $(EXTRA_HOST_FLAGS) ; do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20510 done; \
20511 echo "Doing TAGS in textutils" ; \
20512 (cd textutils && \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20517 TAGS) \
20518 || exit 1
20520 @endif textutils
20522 .PHONY: maybe-install-info-textutils install-info-textutils
20523 maybe-install-info-textutils:
20524 @if textutils
20525 maybe-install-info-textutils: install-info-textutils
20527 install-info-textutils: \
20528 configure-textutils \
20529 info-textutils
20530 @[ -f ./textutils/Makefile ] || exit 0; \
20531 r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20533 $(SET_LIB_PATH) \
20534 $(HOST_EXPORTS) \
20535 for flag in $(EXTRA_HOST_FLAGS) ; do \
20536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20537 done; \
20538 echo "Doing install-info in textutils" ; \
20539 (cd textutils && \
20540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20542 "RANLIB=$${RANLIB}" \
20543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20544 install-info) \
20545 || exit 1
20547 @endif textutils
20549 .PHONY: maybe-installcheck-textutils installcheck-textutils
20550 maybe-installcheck-textutils:
20551 @if textutils
20552 maybe-installcheck-textutils: installcheck-textutils
20554 installcheck-textutils: \
20555 configure-textutils
20556 @[ -f ./textutils/Makefile ] || exit 0; \
20557 r=`${PWD_COMMAND}`; export r; \
20558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20559 $(SET_LIB_PATH) \
20560 $(HOST_EXPORTS) \
20561 for flag in $(EXTRA_HOST_FLAGS) ; do \
20562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20563 done; \
20564 echo "Doing installcheck in textutils" ; \
20565 (cd textutils && \
20566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20568 "RANLIB=$${RANLIB}" \
20569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20570 installcheck) \
20571 || exit 1
20573 @endif textutils
20575 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20576 maybe-mostlyclean-textutils:
20577 @if textutils
20578 maybe-mostlyclean-textutils: mostlyclean-textutils
20580 mostlyclean-textutils:
20581 @[ -f ./textutils/Makefile ] || exit 0; \
20582 r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20584 $(SET_LIB_PATH) \
20585 $(HOST_EXPORTS) \
20586 for flag in $(EXTRA_HOST_FLAGS) ; do \
20587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20588 done; \
20589 echo "Doing mostlyclean in textutils" ; \
20590 (cd textutils && \
20591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20593 "RANLIB=$${RANLIB}" \
20594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20595 mostlyclean) \
20596 || exit 1
20598 @endif textutils
20600 .PHONY: maybe-clean-textutils clean-textutils
20601 maybe-clean-textutils:
20602 @if textutils
20603 maybe-clean-textutils: clean-textutils
20605 clean-textutils:
20606 @[ -f ./textutils/Makefile ] || exit 0; \
20607 r=`${PWD_COMMAND}`; export r; \
20608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20609 $(SET_LIB_PATH) \
20610 $(HOST_EXPORTS) \
20611 for flag in $(EXTRA_HOST_FLAGS) ; do \
20612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20613 done; \
20614 echo "Doing clean in textutils" ; \
20615 (cd textutils && \
20616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20618 "RANLIB=$${RANLIB}" \
20619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20620 clean) \
20621 || exit 1
20623 @endif textutils
20625 .PHONY: maybe-distclean-textutils distclean-textutils
20626 maybe-distclean-textutils:
20627 @if textutils
20628 maybe-distclean-textutils: distclean-textutils
20630 distclean-textutils:
20631 @[ -f ./textutils/Makefile ] || exit 0; \
20632 r=`${PWD_COMMAND}`; export r; \
20633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20634 $(SET_LIB_PATH) \
20635 $(HOST_EXPORTS) \
20636 for flag in $(EXTRA_HOST_FLAGS) ; do \
20637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20638 done; \
20639 echo "Doing distclean in textutils" ; \
20640 (cd textutils && \
20641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20643 "RANLIB=$${RANLIB}" \
20644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20645 distclean) \
20646 || exit 1
20648 @endif textutils
20650 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20651 maybe-maintainer-clean-textutils:
20652 @if textutils
20653 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20655 maintainer-clean-textutils:
20656 @[ -f ./textutils/Makefile ] || exit 0; \
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20659 $(SET_LIB_PATH) \
20660 $(HOST_EXPORTS) \
20661 for flag in $(EXTRA_HOST_FLAGS) ; do \
20662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20663 done; \
20664 echo "Doing maintainer-clean in textutils" ; \
20665 (cd textutils && \
20666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20668 "RANLIB=$${RANLIB}" \
20669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20670 maintainer-clean) \
20671 || exit 1
20673 @endif textutils
20676 .PHONY: configure-time maybe-configure-time
20677 maybe-configure-time:
20678 @if time
20679 maybe-configure-time: configure-time
20680 configure-time:
20681 @test ! -f time/Makefile || exit 0; \
20682 [ -d time ] || mkdir time; \
20683 r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(HOST_EXPORTS) \
20686 echo Configuring in time; \
20687 cd time || exit 1; \
20688 case $(srcdir) in \
20689 \.) \
20690 srcdiroption="--srcdir=."; \
20691 libsrcdir=".";; \
20692 /* | [A-Za-z]:[\\/]*) \
20693 srcdiroption="--srcdir=$(srcdir)/time"; \
20694 libsrcdir="$$s/time";; \
20695 *) \
20696 srcdiroption="--srcdir=../$(srcdir)/time"; \
20697 libsrcdir="$$s/time";; \
20698 esac; \
20699 $(SHELL) $${libsrcdir}/configure \
20700 $(HOST_CONFIGARGS) $${srcdiroption} \
20701 || exit 1
20702 @endif time
20704 .PHONY: all-time maybe-all-time
20705 maybe-all-time:
20706 @if time
20707 TARGET-time=all
20708 maybe-all-time: all-time
20709 all-time: configure-time
20710 @r=`${PWD_COMMAND}`; export r; \
20711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20712 $(SET_LIB_PATH) \
20713 $(HOST_EXPORTS) \
20714 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20715 $(TARGET-time))
20716 @endif time
20718 .PHONY: check-time maybe-check-time
20719 maybe-check-time:
20720 @if time
20721 maybe-check-time: check-time
20723 check-time:
20724 @r=`${PWD_COMMAND}`; export r; \
20725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20726 $(SET_LIB_PATH) \
20727 $(HOST_EXPORTS) \
20728 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20730 @endif time
20732 .PHONY: install-time maybe-install-time
20733 maybe-install-time:
20734 @if time
20735 maybe-install-time: install-time
20737 install-time: installdirs
20738 @r=`${PWD_COMMAND}`; export r; \
20739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20740 $(SET_LIB_PATH) \
20741 $(HOST_EXPORTS) \
20742 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20744 @endif time
20746 # Other targets (info, dvi, etc.)
20748 .PHONY: maybe-info-time info-time
20749 maybe-info-time:
20750 @if time
20751 maybe-info-time: info-time
20753 info-time: \
20754 configure-time
20755 @[ -f ./time/Makefile ] || exit 0; \
20756 r=`${PWD_COMMAND}`; export r; \
20757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20758 $(SET_LIB_PATH) \
20759 $(HOST_EXPORTS) \
20760 for flag in $(EXTRA_HOST_FLAGS) ; do \
20761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20762 done; \
20763 echo "Doing info in time" ; \
20764 (cd time && \
20765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20767 "RANLIB=$${RANLIB}" \
20768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20769 info) \
20770 || exit 1
20772 @endif time
20774 .PHONY: maybe-dvi-time dvi-time
20775 maybe-dvi-time:
20776 @if time
20777 maybe-dvi-time: dvi-time
20779 dvi-time: \
20780 configure-time
20781 @[ -f ./time/Makefile ] || exit 0; \
20782 r=`${PWD_COMMAND}`; export r; \
20783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20784 $(SET_LIB_PATH) \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing dvi in time" ; \
20790 (cd time && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 dvi) \
20796 || exit 1
20798 @endif time
20800 .PHONY: maybe-html-time html-time
20801 maybe-html-time:
20802 @if time
20803 maybe-html-time: html-time
20805 html-time: \
20806 configure-time
20807 @[ -f ./time/Makefile ] || exit 0; \
20808 r=`${PWD_COMMAND}`; export r; \
20809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20810 $(SET_LIB_PATH) \
20811 $(HOST_EXPORTS) \
20812 for flag in $(EXTRA_HOST_FLAGS) ; do \
20813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20814 done; \
20815 echo "Doing html in time" ; \
20816 (cd time && \
20817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20819 "RANLIB=$${RANLIB}" \
20820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20821 html) \
20822 || exit 1
20824 @endif time
20826 .PHONY: maybe-TAGS-time TAGS-time
20827 maybe-TAGS-time:
20828 @if time
20829 maybe-TAGS-time: TAGS-time
20831 TAGS-time: \
20832 configure-time
20833 @[ -f ./time/Makefile ] || exit 0; \
20834 r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20836 $(SET_LIB_PATH) \
20837 $(HOST_EXPORTS) \
20838 for flag in $(EXTRA_HOST_FLAGS) ; do \
20839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20840 done; \
20841 echo "Doing TAGS in time" ; \
20842 (cd time && \
20843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20845 "RANLIB=$${RANLIB}" \
20846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20847 TAGS) \
20848 || exit 1
20850 @endif time
20852 .PHONY: maybe-install-info-time install-info-time
20853 maybe-install-info-time:
20854 @if time
20855 maybe-install-info-time: install-info-time
20857 install-info-time: \
20858 configure-time \
20859 info-time
20860 @[ -f ./time/Makefile ] || exit 0; \
20861 r=`${PWD_COMMAND}`; export r; \
20862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20863 $(SET_LIB_PATH) \
20864 $(HOST_EXPORTS) \
20865 for flag in $(EXTRA_HOST_FLAGS) ; do \
20866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20867 done; \
20868 echo "Doing install-info in time" ; \
20869 (cd time && \
20870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20872 "RANLIB=$${RANLIB}" \
20873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20874 install-info) \
20875 || exit 1
20877 @endif time
20879 .PHONY: maybe-installcheck-time installcheck-time
20880 maybe-installcheck-time:
20881 @if time
20882 maybe-installcheck-time: installcheck-time
20884 installcheck-time: \
20885 configure-time
20886 @[ -f ./time/Makefile ] || exit 0; \
20887 r=`${PWD_COMMAND}`; export r; \
20888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20889 $(SET_LIB_PATH) \
20890 $(HOST_EXPORTS) \
20891 for flag in $(EXTRA_HOST_FLAGS) ; do \
20892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20893 done; \
20894 echo "Doing installcheck in time" ; \
20895 (cd time && \
20896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20898 "RANLIB=$${RANLIB}" \
20899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20900 installcheck) \
20901 || exit 1
20903 @endif time
20905 .PHONY: maybe-mostlyclean-time mostlyclean-time
20906 maybe-mostlyclean-time:
20907 @if time
20908 maybe-mostlyclean-time: mostlyclean-time
20910 mostlyclean-time:
20911 @[ -f ./time/Makefile ] || exit 0; \
20912 r=`${PWD_COMMAND}`; export r; \
20913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20914 $(SET_LIB_PATH) \
20915 $(HOST_EXPORTS) \
20916 for flag in $(EXTRA_HOST_FLAGS) ; do \
20917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20918 done; \
20919 echo "Doing mostlyclean in time" ; \
20920 (cd time && \
20921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20923 "RANLIB=$${RANLIB}" \
20924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20925 mostlyclean) \
20926 || exit 1
20928 @endif time
20930 .PHONY: maybe-clean-time clean-time
20931 maybe-clean-time:
20932 @if time
20933 maybe-clean-time: clean-time
20935 clean-time:
20936 @[ -f ./time/Makefile ] || exit 0; \
20937 r=`${PWD_COMMAND}`; export r; \
20938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20939 $(SET_LIB_PATH) \
20940 $(HOST_EXPORTS) \
20941 for flag in $(EXTRA_HOST_FLAGS) ; do \
20942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20943 done; \
20944 echo "Doing clean in time" ; \
20945 (cd time && \
20946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20948 "RANLIB=$${RANLIB}" \
20949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20950 clean) \
20951 || exit 1
20953 @endif time
20955 .PHONY: maybe-distclean-time distclean-time
20956 maybe-distclean-time:
20957 @if time
20958 maybe-distclean-time: distclean-time
20960 distclean-time:
20961 @[ -f ./time/Makefile ] || exit 0; \
20962 r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(SET_LIB_PATH) \
20965 $(HOST_EXPORTS) \
20966 for flag in $(EXTRA_HOST_FLAGS) ; do \
20967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20968 done; \
20969 echo "Doing distclean in time" ; \
20970 (cd time && \
20971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20973 "RANLIB=$${RANLIB}" \
20974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20975 distclean) \
20976 || exit 1
20978 @endif time
20980 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20981 maybe-maintainer-clean-time:
20982 @if time
20983 maybe-maintainer-clean-time: maintainer-clean-time
20985 maintainer-clean-time:
20986 @[ -f ./time/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(SET_LIB_PATH) \
20990 $(HOST_EXPORTS) \
20991 for flag in $(EXTRA_HOST_FLAGS) ; do \
20992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20993 done; \
20994 echo "Doing maintainer-clean in time" ; \
20995 (cd time && \
20996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20998 "RANLIB=$${RANLIB}" \
20999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21000 maintainer-clean) \
21001 || exit 1
21003 @endif time
21006 .PHONY: configure-uudecode maybe-configure-uudecode
21007 maybe-configure-uudecode:
21008 @if uudecode
21009 maybe-configure-uudecode: configure-uudecode
21010 configure-uudecode:
21011 @test ! -f uudecode/Makefile || exit 0; \
21012 [ -d uudecode ] || mkdir uudecode; \
21013 r=`${PWD_COMMAND}`; export r; \
21014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21015 $(HOST_EXPORTS) \
21016 echo Configuring in uudecode; \
21017 cd uudecode || exit 1; \
21018 case $(srcdir) in \
21019 \.) \
21020 srcdiroption="--srcdir=."; \
21021 libsrcdir=".";; \
21022 /* | [A-Za-z]:[\\/]*) \
21023 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21024 libsrcdir="$$s/uudecode";; \
21025 *) \
21026 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21027 libsrcdir="$$s/uudecode";; \
21028 esac; \
21029 $(SHELL) $${libsrcdir}/configure \
21030 $(HOST_CONFIGARGS) $${srcdiroption} \
21031 || exit 1
21032 @endif uudecode
21034 .PHONY: all-uudecode maybe-all-uudecode
21035 maybe-all-uudecode:
21036 @if uudecode
21037 TARGET-uudecode=all
21038 maybe-all-uudecode: all-uudecode
21039 all-uudecode: configure-uudecode
21040 @r=`${PWD_COMMAND}`; export r; \
21041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21042 $(SET_LIB_PATH) \
21043 $(HOST_EXPORTS) \
21044 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21045 $(TARGET-uudecode))
21046 @endif uudecode
21048 .PHONY: check-uudecode maybe-check-uudecode
21049 maybe-check-uudecode:
21050 @if uudecode
21051 maybe-check-uudecode: check-uudecode
21053 check-uudecode:
21054 @r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21056 $(SET_LIB_PATH) \
21057 $(HOST_EXPORTS) \
21058 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21060 @endif uudecode
21062 .PHONY: install-uudecode maybe-install-uudecode
21063 maybe-install-uudecode:
21064 @if uudecode
21065 maybe-install-uudecode: install-uudecode
21067 install-uudecode: installdirs
21068 @r=`${PWD_COMMAND}`; export r; \
21069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21070 $(SET_LIB_PATH) \
21071 $(HOST_EXPORTS) \
21072 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21074 @endif uudecode
21076 # Other targets (info, dvi, etc.)
21078 .PHONY: maybe-info-uudecode info-uudecode
21079 maybe-info-uudecode:
21080 @if uudecode
21081 maybe-info-uudecode: info-uudecode
21083 info-uudecode: \
21084 configure-uudecode
21085 @[ -f ./uudecode/Makefile ] || exit 0; \
21086 r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21088 $(SET_LIB_PATH) \
21089 $(HOST_EXPORTS) \
21090 for flag in $(EXTRA_HOST_FLAGS) ; do \
21091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21092 done; \
21093 echo "Doing info in uudecode" ; \
21094 (cd uudecode && \
21095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21097 "RANLIB=$${RANLIB}" \
21098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21099 info) \
21100 || exit 1
21102 @endif uudecode
21104 .PHONY: maybe-dvi-uudecode dvi-uudecode
21105 maybe-dvi-uudecode:
21106 @if uudecode
21107 maybe-dvi-uudecode: dvi-uudecode
21109 dvi-uudecode: \
21110 configure-uudecode
21111 @[ -f ./uudecode/Makefile ] || exit 0; \
21112 r=`${PWD_COMMAND}`; export r; \
21113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21114 $(SET_LIB_PATH) \
21115 $(HOST_EXPORTS) \
21116 for flag in $(EXTRA_HOST_FLAGS) ; do \
21117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21118 done; \
21119 echo "Doing dvi in uudecode" ; \
21120 (cd uudecode && \
21121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21123 "RANLIB=$${RANLIB}" \
21124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21125 dvi) \
21126 || exit 1
21128 @endif uudecode
21130 .PHONY: maybe-html-uudecode html-uudecode
21131 maybe-html-uudecode:
21132 @if uudecode
21133 maybe-html-uudecode: html-uudecode
21135 html-uudecode: \
21136 configure-uudecode
21137 @[ -f ./uudecode/Makefile ] || exit 0; \
21138 r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21140 $(SET_LIB_PATH) \
21141 $(HOST_EXPORTS) \
21142 for flag in $(EXTRA_HOST_FLAGS) ; do \
21143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21144 done; \
21145 echo "Doing html in uudecode" ; \
21146 (cd uudecode && \
21147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21149 "RANLIB=$${RANLIB}" \
21150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21151 html) \
21152 || exit 1
21154 @endif uudecode
21156 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21157 maybe-TAGS-uudecode:
21158 @if uudecode
21159 maybe-TAGS-uudecode: TAGS-uudecode
21161 TAGS-uudecode: \
21162 configure-uudecode
21163 @[ -f ./uudecode/Makefile ] || exit 0; \
21164 r=`${PWD_COMMAND}`; export r; \
21165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21166 $(SET_LIB_PATH) \
21167 $(HOST_EXPORTS) \
21168 for flag in $(EXTRA_HOST_FLAGS) ; do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21170 done; \
21171 echo "Doing TAGS in uudecode" ; \
21172 (cd uudecode && \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21177 TAGS) \
21178 || exit 1
21180 @endif uudecode
21182 .PHONY: maybe-install-info-uudecode install-info-uudecode
21183 maybe-install-info-uudecode:
21184 @if uudecode
21185 maybe-install-info-uudecode: install-info-uudecode
21187 install-info-uudecode: \
21188 configure-uudecode \
21189 info-uudecode
21190 @[ -f ./uudecode/Makefile ] || exit 0; \
21191 r=`${PWD_COMMAND}`; export r; \
21192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 $(SET_LIB_PATH) \
21194 $(HOST_EXPORTS) \
21195 for flag in $(EXTRA_HOST_FLAGS) ; do \
21196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21197 done; \
21198 echo "Doing install-info in uudecode" ; \
21199 (cd uudecode && \
21200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21202 "RANLIB=$${RANLIB}" \
21203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21204 install-info) \
21205 || exit 1
21207 @endif uudecode
21209 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21210 maybe-installcheck-uudecode:
21211 @if uudecode
21212 maybe-installcheck-uudecode: installcheck-uudecode
21214 installcheck-uudecode: \
21215 configure-uudecode
21216 @[ -f ./uudecode/Makefile ] || exit 0; \
21217 r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(SET_LIB_PATH) \
21220 $(HOST_EXPORTS) \
21221 for flag in $(EXTRA_HOST_FLAGS) ; do \
21222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21223 done; \
21224 echo "Doing installcheck in uudecode" ; \
21225 (cd uudecode && \
21226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21228 "RANLIB=$${RANLIB}" \
21229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21230 installcheck) \
21231 || exit 1
21233 @endif uudecode
21235 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21236 maybe-mostlyclean-uudecode:
21237 @if uudecode
21238 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21240 mostlyclean-uudecode:
21241 @[ -f ./uudecode/Makefile ] || exit 0; \
21242 r=`${PWD_COMMAND}`; export r; \
21243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21244 $(SET_LIB_PATH) \
21245 $(HOST_EXPORTS) \
21246 for flag in $(EXTRA_HOST_FLAGS) ; do \
21247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21248 done; \
21249 echo "Doing mostlyclean in uudecode" ; \
21250 (cd uudecode && \
21251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21253 "RANLIB=$${RANLIB}" \
21254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21255 mostlyclean) \
21256 || exit 1
21258 @endif uudecode
21260 .PHONY: maybe-clean-uudecode clean-uudecode
21261 maybe-clean-uudecode:
21262 @if uudecode
21263 maybe-clean-uudecode: clean-uudecode
21265 clean-uudecode:
21266 @[ -f ./uudecode/Makefile ] || exit 0; \
21267 r=`${PWD_COMMAND}`; export r; \
21268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21269 $(SET_LIB_PATH) \
21270 $(HOST_EXPORTS) \
21271 for flag in $(EXTRA_HOST_FLAGS) ; do \
21272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21273 done; \
21274 echo "Doing clean in uudecode" ; \
21275 (cd uudecode && \
21276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21278 "RANLIB=$${RANLIB}" \
21279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21280 clean) \
21281 || exit 1
21283 @endif uudecode
21285 .PHONY: maybe-distclean-uudecode distclean-uudecode
21286 maybe-distclean-uudecode:
21287 @if uudecode
21288 maybe-distclean-uudecode: distclean-uudecode
21290 distclean-uudecode:
21291 @[ -f ./uudecode/Makefile ] || exit 0; \
21292 r=`${PWD_COMMAND}`; export r; \
21293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21294 $(SET_LIB_PATH) \
21295 $(HOST_EXPORTS) \
21296 for flag in $(EXTRA_HOST_FLAGS) ; do \
21297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21298 done; \
21299 echo "Doing distclean in uudecode" ; \
21300 (cd uudecode && \
21301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21303 "RANLIB=$${RANLIB}" \
21304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21305 distclean) \
21306 || exit 1
21308 @endif uudecode
21310 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21311 maybe-maintainer-clean-uudecode:
21312 @if uudecode
21313 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21315 maintainer-clean-uudecode:
21316 @[ -f ./uudecode/Makefile ] || exit 0; \
21317 r=`${PWD_COMMAND}`; export r; \
21318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 $(SET_LIB_PATH) \
21320 $(HOST_EXPORTS) \
21321 for flag in $(EXTRA_HOST_FLAGS) ; do \
21322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21323 done; \
21324 echo "Doing maintainer-clean in uudecode" ; \
21325 (cd uudecode && \
21326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21328 "RANLIB=$${RANLIB}" \
21329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21330 maintainer-clean) \
21331 || exit 1
21333 @endif uudecode
21336 .PHONY: configure-wdiff maybe-configure-wdiff
21337 maybe-configure-wdiff:
21338 @if wdiff
21339 maybe-configure-wdiff: configure-wdiff
21340 configure-wdiff:
21341 @test ! -f wdiff/Makefile || exit 0; \
21342 [ -d wdiff ] || mkdir wdiff; \
21343 r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21345 $(HOST_EXPORTS) \
21346 echo Configuring in wdiff; \
21347 cd wdiff || exit 1; \
21348 case $(srcdir) in \
21349 \.) \
21350 srcdiroption="--srcdir=."; \
21351 libsrcdir=".";; \
21352 /* | [A-Za-z]:[\\/]*) \
21353 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21354 libsrcdir="$$s/wdiff";; \
21355 *) \
21356 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21357 libsrcdir="$$s/wdiff";; \
21358 esac; \
21359 $(SHELL) $${libsrcdir}/configure \
21360 $(HOST_CONFIGARGS) $${srcdiroption} \
21361 || exit 1
21362 @endif wdiff
21364 .PHONY: all-wdiff maybe-all-wdiff
21365 maybe-all-wdiff:
21366 @if wdiff
21367 TARGET-wdiff=all
21368 maybe-all-wdiff: all-wdiff
21369 all-wdiff: configure-wdiff
21370 @r=`${PWD_COMMAND}`; export r; \
21371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21372 $(SET_LIB_PATH) \
21373 $(HOST_EXPORTS) \
21374 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21375 $(TARGET-wdiff))
21376 @endif wdiff
21378 .PHONY: check-wdiff maybe-check-wdiff
21379 maybe-check-wdiff:
21380 @if wdiff
21381 maybe-check-wdiff: check-wdiff
21383 check-wdiff:
21384 @r=`${PWD_COMMAND}`; export r; \
21385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21386 $(SET_LIB_PATH) \
21387 $(HOST_EXPORTS) \
21388 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21390 @endif wdiff
21392 .PHONY: install-wdiff maybe-install-wdiff
21393 maybe-install-wdiff:
21394 @if wdiff
21395 maybe-install-wdiff: install-wdiff
21397 install-wdiff: installdirs
21398 @r=`${PWD_COMMAND}`; export r; \
21399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 $(SET_LIB_PATH) \
21401 $(HOST_EXPORTS) \
21402 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21404 @endif wdiff
21406 # Other targets (info, dvi, etc.)
21408 .PHONY: maybe-info-wdiff info-wdiff
21409 maybe-info-wdiff:
21410 @if wdiff
21411 maybe-info-wdiff: info-wdiff
21413 info-wdiff: \
21414 configure-wdiff
21415 @[ -f ./wdiff/Makefile ] || exit 0; \
21416 r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418 $(SET_LIB_PATH) \
21419 $(HOST_EXPORTS) \
21420 for flag in $(EXTRA_HOST_FLAGS) ; do \
21421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422 done; \
21423 echo "Doing info in wdiff" ; \
21424 (cd wdiff && \
21425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21427 "RANLIB=$${RANLIB}" \
21428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21429 info) \
21430 || exit 1
21432 @endif wdiff
21434 .PHONY: maybe-dvi-wdiff dvi-wdiff
21435 maybe-dvi-wdiff:
21436 @if wdiff
21437 maybe-dvi-wdiff: dvi-wdiff
21439 dvi-wdiff: \
21440 configure-wdiff
21441 @[ -f ./wdiff/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21444 $(SET_LIB_PATH) \
21445 $(HOST_EXPORTS) \
21446 for flag in $(EXTRA_HOST_FLAGS) ; do \
21447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21448 done; \
21449 echo "Doing dvi in wdiff" ; \
21450 (cd wdiff && \
21451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21453 "RANLIB=$${RANLIB}" \
21454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21455 dvi) \
21456 || exit 1
21458 @endif wdiff
21460 .PHONY: maybe-html-wdiff html-wdiff
21461 maybe-html-wdiff:
21462 @if wdiff
21463 maybe-html-wdiff: html-wdiff
21465 html-wdiff: \
21466 configure-wdiff
21467 @[ -f ./wdiff/Makefile ] || exit 0; \
21468 r=`${PWD_COMMAND}`; export r; \
21469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21470 $(SET_LIB_PATH) \
21471 $(HOST_EXPORTS) \
21472 for flag in $(EXTRA_HOST_FLAGS) ; do \
21473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21474 done; \
21475 echo "Doing html in wdiff" ; \
21476 (cd wdiff && \
21477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21479 "RANLIB=$${RANLIB}" \
21480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21481 html) \
21482 || exit 1
21484 @endif wdiff
21486 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21487 maybe-TAGS-wdiff:
21488 @if wdiff
21489 maybe-TAGS-wdiff: TAGS-wdiff
21491 TAGS-wdiff: \
21492 configure-wdiff
21493 @[ -f ./wdiff/Makefile ] || exit 0; \
21494 r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21496 $(SET_LIB_PATH) \
21497 $(HOST_EXPORTS) \
21498 for flag in $(EXTRA_HOST_FLAGS) ; do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21500 done; \
21501 echo "Doing TAGS in wdiff" ; \
21502 (cd wdiff && \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21507 TAGS) \
21508 || exit 1
21510 @endif wdiff
21512 .PHONY: maybe-install-info-wdiff install-info-wdiff
21513 maybe-install-info-wdiff:
21514 @if wdiff
21515 maybe-install-info-wdiff: install-info-wdiff
21517 install-info-wdiff: \
21518 configure-wdiff \
21519 info-wdiff
21520 @[ -f ./wdiff/Makefile ] || exit 0; \
21521 r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21523 $(SET_LIB_PATH) \
21524 $(HOST_EXPORTS) \
21525 for flag in $(EXTRA_HOST_FLAGS) ; do \
21526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21527 done; \
21528 echo "Doing install-info in wdiff" ; \
21529 (cd wdiff && \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21532 "RANLIB=$${RANLIB}" \
21533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21534 install-info) \
21535 || exit 1
21537 @endif wdiff
21539 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21540 maybe-installcheck-wdiff:
21541 @if wdiff
21542 maybe-installcheck-wdiff: installcheck-wdiff
21544 installcheck-wdiff: \
21545 configure-wdiff
21546 @[ -f ./wdiff/Makefile ] || exit 0; \
21547 r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21549 $(SET_LIB_PATH) \
21550 $(HOST_EXPORTS) \
21551 for flag in $(EXTRA_HOST_FLAGS) ; do \
21552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21553 done; \
21554 echo "Doing installcheck in wdiff" ; \
21555 (cd wdiff && \
21556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558 "RANLIB=$${RANLIB}" \
21559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21560 installcheck) \
21561 || exit 1
21563 @endif wdiff
21565 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21566 maybe-mostlyclean-wdiff:
21567 @if wdiff
21568 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21570 mostlyclean-wdiff:
21571 @[ -f ./wdiff/Makefile ] || exit 0; \
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21574 $(SET_LIB_PATH) \
21575 $(HOST_EXPORTS) \
21576 for flag in $(EXTRA_HOST_FLAGS) ; do \
21577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21578 done; \
21579 echo "Doing mostlyclean in wdiff" ; \
21580 (cd wdiff && \
21581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21583 "RANLIB=$${RANLIB}" \
21584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21585 mostlyclean) \
21586 || exit 1
21588 @endif wdiff
21590 .PHONY: maybe-clean-wdiff clean-wdiff
21591 maybe-clean-wdiff:
21592 @if wdiff
21593 maybe-clean-wdiff: clean-wdiff
21595 clean-wdiff:
21596 @[ -f ./wdiff/Makefile ] || exit 0; \
21597 r=`${PWD_COMMAND}`; export r; \
21598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21599 $(SET_LIB_PATH) \
21600 $(HOST_EXPORTS) \
21601 for flag in $(EXTRA_HOST_FLAGS) ; do \
21602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21603 done; \
21604 echo "Doing clean in wdiff" ; \
21605 (cd wdiff && \
21606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21608 "RANLIB=$${RANLIB}" \
21609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21610 clean) \
21611 || exit 1
21613 @endif wdiff
21615 .PHONY: maybe-distclean-wdiff distclean-wdiff
21616 maybe-distclean-wdiff:
21617 @if wdiff
21618 maybe-distclean-wdiff: distclean-wdiff
21620 distclean-wdiff:
21621 @[ -f ./wdiff/Makefile ] || exit 0; \
21622 r=`${PWD_COMMAND}`; export r; \
21623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21624 $(SET_LIB_PATH) \
21625 $(HOST_EXPORTS) \
21626 for flag in $(EXTRA_HOST_FLAGS) ; do \
21627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628 done; \
21629 echo "Doing distclean in wdiff" ; \
21630 (cd wdiff && \
21631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21633 "RANLIB=$${RANLIB}" \
21634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21635 distclean) \
21636 || exit 1
21638 @endif wdiff
21640 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21641 maybe-maintainer-clean-wdiff:
21642 @if wdiff
21643 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21645 maintainer-clean-wdiff:
21646 @[ -f ./wdiff/Makefile ] || exit 0; \
21647 r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21649 $(SET_LIB_PATH) \
21650 $(HOST_EXPORTS) \
21651 for flag in $(EXTRA_HOST_FLAGS) ; do \
21652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21653 done; \
21654 echo "Doing maintainer-clean in wdiff" ; \
21655 (cd wdiff && \
21656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21658 "RANLIB=$${RANLIB}" \
21659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21660 maintainer-clean) \
21661 || exit 1
21663 @endif wdiff
21666 .PHONY: configure-zip maybe-configure-zip
21667 maybe-configure-zip:
21668 @if zip
21669 maybe-configure-zip: configure-zip
21670 configure-zip:
21671 @test ! -f zip/Makefile || exit 0; \
21672 [ -d zip ] || mkdir zip; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21675 $(HOST_EXPORTS) \
21676 echo Configuring in zip; \
21677 cd zip || exit 1; \
21678 case $(srcdir) in \
21679 \.) \
21680 srcdiroption="--srcdir=."; \
21681 libsrcdir=".";; \
21682 /* | [A-Za-z]:[\\/]*) \
21683 srcdiroption="--srcdir=$(srcdir)/zip"; \
21684 libsrcdir="$$s/zip";; \
21685 *) \
21686 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21687 libsrcdir="$$s/zip";; \
21688 esac; \
21689 $(SHELL) $${libsrcdir}/configure \
21690 $(HOST_CONFIGARGS) $${srcdiroption} \
21691 || exit 1
21692 @endif zip
21694 .PHONY: all-zip maybe-all-zip
21695 maybe-all-zip:
21696 @if zip
21697 TARGET-zip=all
21698 maybe-all-zip: all-zip
21699 all-zip: configure-zip
21700 @r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702 $(SET_LIB_PATH) \
21703 $(HOST_EXPORTS) \
21704 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21705 $(TARGET-zip))
21706 @endif zip
21708 .PHONY: check-zip maybe-check-zip
21709 maybe-check-zip:
21710 @if zip
21711 maybe-check-zip: check-zip
21713 # This module is only tested in a native toolchain.
21714 check-zip:
21715 @if [ '$(host)' = '$(target)' ] ; then \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(SET_LIB_PATH) \
21719 $(HOST_EXPORTS) \
21720 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21723 @endif zip
21725 .PHONY: install-zip maybe-install-zip
21726 maybe-install-zip:
21727 @if zip
21728 maybe-install-zip: install-zip
21730 install-zip: installdirs
21731 @r=`${PWD_COMMAND}`; export r; \
21732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21733 $(SET_LIB_PATH) \
21734 $(HOST_EXPORTS) \
21735 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21737 @endif zip
21739 # Other targets (info, dvi, etc.)
21741 .PHONY: maybe-info-zip info-zip
21742 maybe-info-zip:
21743 @if zip
21744 maybe-info-zip: info-zip
21746 info-zip: \
21747 configure-zip
21748 @[ -f ./zip/Makefile ] || exit 0; \
21749 r=`${PWD_COMMAND}`; export r; \
21750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21751 $(SET_LIB_PATH) \
21752 $(HOST_EXPORTS) \
21753 for flag in $(EXTRA_HOST_FLAGS) ; do \
21754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21755 done; \
21756 echo "Doing info in zip" ; \
21757 (cd zip && \
21758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21760 "RANLIB=$${RANLIB}" \
21761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21762 info) \
21763 || exit 1
21765 @endif zip
21767 .PHONY: maybe-dvi-zip dvi-zip
21768 maybe-dvi-zip:
21769 @if zip
21770 maybe-dvi-zip: dvi-zip
21772 dvi-zip: \
21773 configure-zip
21774 @[ -f ./zip/Makefile ] || exit 0; \
21775 r=`${PWD_COMMAND}`; export r; \
21776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21777 $(SET_LIB_PATH) \
21778 $(HOST_EXPORTS) \
21779 for flag in $(EXTRA_HOST_FLAGS) ; do \
21780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21781 done; \
21782 echo "Doing dvi in zip" ; \
21783 (cd zip && \
21784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21786 "RANLIB=$${RANLIB}" \
21787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21788 dvi) \
21789 || exit 1
21791 @endif zip
21793 .PHONY: maybe-html-zip html-zip
21794 maybe-html-zip:
21795 @if zip
21796 maybe-html-zip: html-zip
21798 html-zip: \
21799 configure-zip
21800 @[ -f ./zip/Makefile ] || exit 0; \
21801 r=`${PWD_COMMAND}`; export r; \
21802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803 $(SET_LIB_PATH) \
21804 $(HOST_EXPORTS) \
21805 for flag in $(EXTRA_HOST_FLAGS) ; do \
21806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21807 done; \
21808 echo "Doing html in zip" ; \
21809 (cd zip && \
21810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21812 "RANLIB=$${RANLIB}" \
21813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21814 html) \
21815 || exit 1
21817 @endif zip
21819 .PHONY: maybe-TAGS-zip TAGS-zip
21820 maybe-TAGS-zip:
21821 @if zip
21822 maybe-TAGS-zip: TAGS-zip
21824 TAGS-zip: \
21825 configure-zip
21826 @[ -f ./zip/Makefile ] || exit 0; \
21827 r=`${PWD_COMMAND}`; export r; \
21828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 $(SET_LIB_PATH) \
21830 $(HOST_EXPORTS) \
21831 for flag in $(EXTRA_HOST_FLAGS) ; do \
21832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 done; \
21834 echo "Doing TAGS in zip" ; \
21835 (cd zip && \
21836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21838 "RANLIB=$${RANLIB}" \
21839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21840 TAGS) \
21841 || exit 1
21843 @endif zip
21845 .PHONY: maybe-install-info-zip install-info-zip
21846 maybe-install-info-zip:
21847 @if zip
21848 maybe-install-info-zip: install-info-zip
21850 install-info-zip: \
21851 configure-zip \
21852 info-zip
21853 @[ -f ./zip/Makefile ] || exit 0; \
21854 r=`${PWD_COMMAND}`; export r; \
21855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21856 $(SET_LIB_PATH) \
21857 $(HOST_EXPORTS) \
21858 for flag in $(EXTRA_HOST_FLAGS) ; do \
21859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21860 done; \
21861 echo "Doing install-info in zip" ; \
21862 (cd zip && \
21863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21865 "RANLIB=$${RANLIB}" \
21866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21867 install-info) \
21868 || exit 1
21870 @endif zip
21872 .PHONY: maybe-installcheck-zip installcheck-zip
21873 maybe-installcheck-zip:
21874 @if zip
21875 maybe-installcheck-zip: installcheck-zip
21877 installcheck-zip: \
21878 configure-zip
21879 @[ -f ./zip/Makefile ] || exit 0; \
21880 r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 $(SET_LIB_PATH) \
21883 $(HOST_EXPORTS) \
21884 for flag in $(EXTRA_HOST_FLAGS) ; do \
21885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21886 done; \
21887 echo "Doing installcheck in zip" ; \
21888 (cd zip && \
21889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21891 "RANLIB=$${RANLIB}" \
21892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21893 installcheck) \
21894 || exit 1
21896 @endif zip
21898 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21899 maybe-mostlyclean-zip:
21900 @if zip
21901 maybe-mostlyclean-zip: mostlyclean-zip
21903 mostlyclean-zip:
21904 @[ -f ./zip/Makefile ] || exit 0; \
21905 r=`${PWD_COMMAND}`; export r; \
21906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 $(SET_LIB_PATH) \
21908 $(HOST_EXPORTS) \
21909 for flag in $(EXTRA_HOST_FLAGS) ; do \
21910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21911 done; \
21912 echo "Doing mostlyclean in zip" ; \
21913 (cd zip && \
21914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21916 "RANLIB=$${RANLIB}" \
21917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21918 mostlyclean) \
21919 || exit 1
21921 @endif zip
21923 .PHONY: maybe-clean-zip clean-zip
21924 maybe-clean-zip:
21925 @if zip
21926 maybe-clean-zip: clean-zip
21928 clean-zip:
21929 @[ -f ./zip/Makefile ] || exit 0; \
21930 r=`${PWD_COMMAND}`; export r; \
21931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21932 $(SET_LIB_PATH) \
21933 $(HOST_EXPORTS) \
21934 for flag in $(EXTRA_HOST_FLAGS) ; do \
21935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21936 done; \
21937 echo "Doing clean in zip" ; \
21938 (cd zip && \
21939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21941 "RANLIB=$${RANLIB}" \
21942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21943 clean) \
21944 || exit 1
21946 @endif zip
21948 .PHONY: maybe-distclean-zip distclean-zip
21949 maybe-distclean-zip:
21950 @if zip
21951 maybe-distclean-zip: distclean-zip
21953 distclean-zip:
21954 @[ -f ./zip/Makefile ] || exit 0; \
21955 r=`${PWD_COMMAND}`; export r; \
21956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21957 $(SET_LIB_PATH) \
21958 $(HOST_EXPORTS) \
21959 for flag in $(EXTRA_HOST_FLAGS) ; do \
21960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21961 done; \
21962 echo "Doing distclean in zip" ; \
21963 (cd zip && \
21964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21966 "RANLIB=$${RANLIB}" \
21967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21968 distclean) \
21969 || exit 1
21971 @endif zip
21973 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21974 maybe-maintainer-clean-zip:
21975 @if zip
21976 maybe-maintainer-clean-zip: maintainer-clean-zip
21978 maintainer-clean-zip:
21979 @[ -f ./zip/Makefile ] || exit 0; \
21980 r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21982 $(SET_LIB_PATH) \
21983 $(HOST_EXPORTS) \
21984 for flag in $(EXTRA_HOST_FLAGS) ; do \
21985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21986 done; \
21987 echo "Doing maintainer-clean in zip" ; \
21988 (cd zip && \
21989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21991 "RANLIB=$${RANLIB}" \
21992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21993 maintainer-clean) \
21994 || exit 1
21996 @endif zip
21999 .PHONY: configure-zlib maybe-configure-zlib
22000 maybe-configure-zlib:
22001 @if zlib
22002 maybe-configure-zlib: configure-zlib
22003 configure-zlib:
22004 @test -f stage_last && exit 0; \
22005 test ! -f zlib/Makefile || exit 0; \
22006 [ -d zlib ] || mkdir zlib; \
22007 r=`${PWD_COMMAND}`; export r; \
22008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22009 $(HOST_EXPORTS) \
22010 echo Configuring in zlib; \
22011 cd zlib || exit 1; \
22012 case $(srcdir) in \
22013 \.) \
22014 srcdiroption="--srcdir=."; \
22015 libsrcdir=".";; \
22016 /* | [A-Za-z]:[\\/]*) \
22017 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22018 libsrcdir="$$s/zlib";; \
22019 *) \
22020 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22021 libsrcdir="$$s/zlib";; \
22022 esac; \
22023 $(SHELL) $${libsrcdir}/configure \
22024 $(HOST_CONFIGARGS) $${srcdiroption} \
22025 || exit 1
22026 @endif zlib
22028 .PHONY: all-zlib maybe-all-zlib
22029 maybe-all-zlib:
22030 @if zlib
22031 TARGET-zlib=all
22032 maybe-all-zlib: all-zlib
22033 all-zlib: configure-zlib
22034 @test -f stage_last && exit 0; \
22035 r=`${PWD_COMMAND}`; export r; \
22036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22037 $(SET_LIB_PATH) \
22038 $(HOST_EXPORTS) \
22039 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22040 $(TARGET-zlib))
22041 @endif zlib
22043 .PHONY: check-zlib maybe-check-zlib
22044 maybe-check-zlib:
22045 @if zlib
22046 maybe-check-zlib: check-zlib
22048 check-zlib:
22050 @endif zlib
22052 .PHONY: install-zlib maybe-install-zlib
22053 maybe-install-zlib:
22054 @if zlib
22055 maybe-install-zlib: install-zlib
22057 install-zlib:
22059 @endif zlib
22061 # Other targets (info, dvi, etc.)
22063 .PHONY: maybe-info-zlib info-zlib
22064 maybe-info-zlib:
22065 @if zlib
22066 maybe-info-zlib: info-zlib
22068 info-zlib: \
22069 configure-zlib
22070 @[ -f ./zlib/Makefile ] || exit 0; \
22071 r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 $(SET_LIB_PATH) \
22074 $(HOST_EXPORTS) \
22075 for flag in $(EXTRA_HOST_FLAGS) ; do \
22076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22077 done; \
22078 echo "Doing info in zlib" ; \
22079 (cd zlib && \
22080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22082 "RANLIB=$${RANLIB}" \
22083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22084 info) \
22085 || exit 1
22087 @endif zlib
22089 .PHONY: maybe-dvi-zlib dvi-zlib
22090 maybe-dvi-zlib:
22091 @if zlib
22092 maybe-dvi-zlib: dvi-zlib
22094 dvi-zlib: \
22095 configure-zlib
22096 @[ -f ./zlib/Makefile ] || exit 0; \
22097 r=`${PWD_COMMAND}`; export r; \
22098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22099 $(SET_LIB_PATH) \
22100 $(HOST_EXPORTS) \
22101 for flag in $(EXTRA_HOST_FLAGS) ; do \
22102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22103 done; \
22104 echo "Doing dvi in zlib" ; \
22105 (cd zlib && \
22106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22108 "RANLIB=$${RANLIB}" \
22109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22110 dvi) \
22111 || exit 1
22113 @endif zlib
22115 .PHONY: maybe-html-zlib html-zlib
22116 maybe-html-zlib:
22117 @if zlib
22118 maybe-html-zlib: html-zlib
22120 html-zlib: \
22121 configure-zlib
22122 @[ -f ./zlib/Makefile ] || exit 0; \
22123 r=`${PWD_COMMAND}`; export r; \
22124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 $(SET_LIB_PATH) \
22126 $(HOST_EXPORTS) \
22127 for flag in $(EXTRA_HOST_FLAGS) ; do \
22128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22129 done; \
22130 echo "Doing html in zlib" ; \
22131 (cd zlib && \
22132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22134 "RANLIB=$${RANLIB}" \
22135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22136 html) \
22137 || exit 1
22139 @endif zlib
22141 .PHONY: maybe-TAGS-zlib TAGS-zlib
22142 maybe-TAGS-zlib:
22143 @if zlib
22144 maybe-TAGS-zlib: TAGS-zlib
22146 TAGS-zlib: \
22147 configure-zlib
22148 @[ -f ./zlib/Makefile ] || exit 0; \
22149 r=`${PWD_COMMAND}`; export r; \
22150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22151 $(SET_LIB_PATH) \
22152 $(HOST_EXPORTS) \
22153 for flag in $(EXTRA_HOST_FLAGS) ; do \
22154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22155 done; \
22156 echo "Doing TAGS in zlib" ; \
22157 (cd zlib && \
22158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22160 "RANLIB=$${RANLIB}" \
22161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22162 TAGS) \
22163 || exit 1
22165 @endif zlib
22167 .PHONY: maybe-install-info-zlib install-info-zlib
22168 maybe-install-info-zlib:
22169 @if zlib
22170 maybe-install-info-zlib: install-info-zlib
22172 install-info-zlib: \
22173 configure-zlib \
22174 info-zlib
22175 @[ -f ./zlib/Makefile ] || exit 0; \
22176 r=`${PWD_COMMAND}`; export r; \
22177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22178 $(SET_LIB_PATH) \
22179 $(HOST_EXPORTS) \
22180 for flag in $(EXTRA_HOST_FLAGS) ; do \
22181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22182 done; \
22183 echo "Doing install-info in zlib" ; \
22184 (cd zlib && \
22185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22187 "RANLIB=$${RANLIB}" \
22188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22189 install-info) \
22190 || exit 1
22192 @endif zlib
22194 .PHONY: maybe-installcheck-zlib installcheck-zlib
22195 maybe-installcheck-zlib:
22196 @if zlib
22197 maybe-installcheck-zlib: installcheck-zlib
22199 installcheck-zlib: \
22200 configure-zlib
22201 @[ -f ./zlib/Makefile ] || exit 0; \
22202 r=`${PWD_COMMAND}`; export r; \
22203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22204 $(SET_LIB_PATH) \
22205 $(HOST_EXPORTS) \
22206 for flag in $(EXTRA_HOST_FLAGS) ; do \
22207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22208 done; \
22209 echo "Doing installcheck in zlib" ; \
22210 (cd zlib && \
22211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22213 "RANLIB=$${RANLIB}" \
22214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22215 installcheck) \
22216 || exit 1
22218 @endif zlib
22220 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22221 maybe-mostlyclean-zlib:
22222 @if zlib
22223 maybe-mostlyclean-zlib: mostlyclean-zlib
22225 mostlyclean-zlib:
22226 @[ -f ./zlib/Makefile ] || exit 0; \
22227 r=`${PWD_COMMAND}`; export r; \
22228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22229 $(SET_LIB_PATH) \
22230 $(HOST_EXPORTS) \
22231 for flag in $(EXTRA_HOST_FLAGS) ; do \
22232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22233 done; \
22234 echo "Doing mostlyclean in zlib" ; \
22235 (cd zlib && \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22238 "RANLIB=$${RANLIB}" \
22239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22240 mostlyclean) \
22241 || exit 1
22243 @endif zlib
22245 .PHONY: maybe-clean-zlib clean-zlib
22246 maybe-clean-zlib:
22247 @if zlib
22248 maybe-clean-zlib: clean-zlib
22250 clean-zlib:
22251 @[ -f ./zlib/Makefile ] || exit 0; \
22252 r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22254 $(SET_LIB_PATH) \
22255 $(HOST_EXPORTS) \
22256 for flag in $(EXTRA_HOST_FLAGS) ; do \
22257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22258 done; \
22259 echo "Doing clean in zlib" ; \
22260 (cd zlib && \
22261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22263 "RANLIB=$${RANLIB}" \
22264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22265 clean) \
22266 || exit 1
22268 @endif zlib
22270 .PHONY: maybe-distclean-zlib distclean-zlib
22271 maybe-distclean-zlib:
22272 @if zlib
22273 maybe-distclean-zlib: distclean-zlib
22275 distclean-zlib:
22276 @[ -f ./zlib/Makefile ] || exit 0; \
22277 r=`${PWD_COMMAND}`; export r; \
22278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22279 $(SET_LIB_PATH) \
22280 $(HOST_EXPORTS) \
22281 for flag in $(EXTRA_HOST_FLAGS) ; do \
22282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22283 done; \
22284 echo "Doing distclean in zlib" ; \
22285 (cd zlib && \
22286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22288 "RANLIB=$${RANLIB}" \
22289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22290 distclean) \
22291 || exit 1
22293 @endif zlib
22295 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22296 maybe-maintainer-clean-zlib:
22297 @if zlib
22298 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22300 maintainer-clean-zlib:
22301 @[ -f ./zlib/Makefile ] || exit 0; \
22302 r=`${PWD_COMMAND}`; export r; \
22303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 $(SET_LIB_PATH) \
22305 $(HOST_EXPORTS) \
22306 for flag in $(EXTRA_HOST_FLAGS) ; do \
22307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22308 done; \
22309 echo "Doing maintainer-clean in zlib" ; \
22310 (cd zlib && \
22311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313 "RANLIB=$${RANLIB}" \
22314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22315 maintainer-clean) \
22316 || exit 1
22318 @endif zlib
22321 .PHONY: configure-gdb maybe-configure-gdb
22322 maybe-configure-gdb:
22323 @if gdb
22324 maybe-configure-gdb: configure-gdb
22325 configure-gdb:
22326 @test ! -f gdb/Makefile || exit 0; \
22327 [ -d gdb ] || mkdir gdb; \
22328 r=`${PWD_COMMAND}`; export r; \
22329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22330 $(HOST_EXPORTS) \
22331 echo Configuring in gdb; \
22332 cd gdb || exit 1; \
22333 case $(srcdir) in \
22334 \.) \
22335 srcdiroption="--srcdir=."; \
22336 libsrcdir=".";; \
22337 /* | [A-Za-z]:[\\/]*) \
22338 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22339 libsrcdir="$$s/gdb";; \
22340 *) \
22341 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22342 libsrcdir="$$s/gdb";; \
22343 esac; \
22344 $(SHELL) $${libsrcdir}/configure \
22345 $(HOST_CONFIGARGS) $${srcdiroption} \
22346 || exit 1
22347 @endif gdb
22349 .PHONY: all-gdb maybe-all-gdb
22350 maybe-all-gdb:
22351 @if gdb
22352 TARGET-gdb=all
22353 maybe-all-gdb: all-gdb
22354 all-gdb: configure-gdb
22355 @r=`${PWD_COMMAND}`; export r; \
22356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22357 $(SET_LIB_PATH) \
22358 $(HOST_EXPORTS) \
22359 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22360 $(TARGET-gdb))
22361 @endif gdb
22363 .PHONY: check-gdb maybe-check-gdb
22364 maybe-check-gdb:
22365 @if gdb
22366 maybe-check-gdb: check-gdb
22368 check-gdb:
22369 @r=`${PWD_COMMAND}`; export r; \
22370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22371 $(SET_LIB_PATH) \
22372 $(HOST_EXPORTS) \
22373 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22375 @endif gdb
22377 .PHONY: install-gdb maybe-install-gdb
22378 maybe-install-gdb:
22379 @if gdb
22380 maybe-install-gdb: install-gdb
22382 install-gdb: installdirs
22383 @r=`${PWD_COMMAND}`; export r; \
22384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22385 $(SET_LIB_PATH) \
22386 $(HOST_EXPORTS) \
22387 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22389 @endif gdb
22391 # Other targets (info, dvi, etc.)
22393 .PHONY: maybe-info-gdb info-gdb
22394 maybe-info-gdb:
22395 @if gdb
22396 maybe-info-gdb: info-gdb
22398 info-gdb: \
22399 configure-gdb
22400 @[ -f ./gdb/Makefile ] || exit 0; \
22401 r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403 $(SET_LIB_PATH) \
22404 $(HOST_EXPORTS) \
22405 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22407 done; \
22408 echo "Doing info in gdb" ; \
22409 (cd gdb && \
22410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22412 "RANLIB=$${RANLIB}" \
22413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22414 info) \
22415 || exit 1
22417 @endif gdb
22419 .PHONY: maybe-dvi-gdb dvi-gdb
22420 maybe-dvi-gdb:
22421 @if gdb
22422 maybe-dvi-gdb: dvi-gdb
22424 dvi-gdb: \
22425 configure-gdb
22426 @[ -f ./gdb/Makefile ] || exit 0; \
22427 r=`${PWD_COMMAND}`; export r; \
22428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 $(SET_LIB_PATH) \
22430 $(HOST_EXPORTS) \
22431 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22433 done; \
22434 echo "Doing dvi in gdb" ; \
22435 (cd gdb && \
22436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22438 "RANLIB=$${RANLIB}" \
22439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22440 dvi) \
22441 || exit 1
22443 @endif gdb
22445 .PHONY: maybe-html-gdb html-gdb
22446 maybe-html-gdb:
22447 @if gdb
22448 maybe-html-gdb: html-gdb
22450 html-gdb: \
22451 configure-gdb
22452 @[ -f ./gdb/Makefile ] || exit 0; \
22453 r=`${PWD_COMMAND}`; export r; \
22454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22455 $(SET_LIB_PATH) \
22456 $(HOST_EXPORTS) \
22457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22459 done; \
22460 echo "Doing html in gdb" ; \
22461 (cd gdb && \
22462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22464 "RANLIB=$${RANLIB}" \
22465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22466 html) \
22467 || exit 1
22469 @endif gdb
22471 .PHONY: maybe-TAGS-gdb TAGS-gdb
22472 maybe-TAGS-gdb:
22473 @if gdb
22474 maybe-TAGS-gdb: TAGS-gdb
22476 TAGS-gdb: \
22477 configure-gdb
22478 @[ -f ./gdb/Makefile ] || exit 0; \
22479 r=`${PWD_COMMAND}`; export r; \
22480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22481 $(SET_LIB_PATH) \
22482 $(HOST_EXPORTS) \
22483 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22485 done; \
22486 echo "Doing TAGS in gdb" ; \
22487 (cd gdb && \
22488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22490 "RANLIB=$${RANLIB}" \
22491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22492 TAGS) \
22493 || exit 1
22495 @endif gdb
22497 .PHONY: maybe-install-info-gdb install-info-gdb
22498 maybe-install-info-gdb:
22499 @if gdb
22500 maybe-install-info-gdb: install-info-gdb
22502 install-info-gdb: \
22503 configure-gdb \
22504 info-gdb
22505 @[ -f ./gdb/Makefile ] || exit 0; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(SET_LIB_PATH) \
22509 $(HOST_EXPORTS) \
22510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22512 done; \
22513 echo "Doing install-info in gdb" ; \
22514 (cd gdb && \
22515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22517 "RANLIB=$${RANLIB}" \
22518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22519 install-info) \
22520 || exit 1
22522 @endif gdb
22524 .PHONY: maybe-installcheck-gdb installcheck-gdb
22525 maybe-installcheck-gdb:
22526 @if gdb
22527 maybe-installcheck-gdb: installcheck-gdb
22529 installcheck-gdb: \
22530 configure-gdb
22531 @[ -f ./gdb/Makefile ] || exit 0; \
22532 r=`${PWD_COMMAND}`; export r; \
22533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22534 $(SET_LIB_PATH) \
22535 $(HOST_EXPORTS) \
22536 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22538 done; \
22539 echo "Doing installcheck in gdb" ; \
22540 (cd gdb && \
22541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22543 "RANLIB=$${RANLIB}" \
22544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22545 installcheck) \
22546 || exit 1
22548 @endif gdb
22550 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22551 maybe-mostlyclean-gdb:
22552 @if gdb
22553 maybe-mostlyclean-gdb: mostlyclean-gdb
22555 mostlyclean-gdb:
22556 @[ -f ./gdb/Makefile ] || exit 0; \
22557 r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22559 $(SET_LIB_PATH) \
22560 $(HOST_EXPORTS) \
22561 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22563 done; \
22564 echo "Doing mostlyclean in gdb" ; \
22565 (cd gdb && \
22566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22568 "RANLIB=$${RANLIB}" \
22569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22570 mostlyclean) \
22571 || exit 1
22573 @endif gdb
22575 .PHONY: maybe-clean-gdb clean-gdb
22576 maybe-clean-gdb:
22577 @if gdb
22578 maybe-clean-gdb: clean-gdb
22580 clean-gdb:
22581 @[ -f ./gdb/Makefile ] || exit 0; \
22582 r=`${PWD_COMMAND}`; export r; \
22583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22584 $(SET_LIB_PATH) \
22585 $(HOST_EXPORTS) \
22586 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22588 done; \
22589 echo "Doing clean in gdb" ; \
22590 (cd gdb && \
22591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22593 "RANLIB=$${RANLIB}" \
22594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22595 clean) \
22596 || exit 1
22598 @endif gdb
22600 .PHONY: maybe-distclean-gdb distclean-gdb
22601 maybe-distclean-gdb:
22602 @if gdb
22603 maybe-distclean-gdb: distclean-gdb
22605 distclean-gdb:
22606 @[ -f ./gdb/Makefile ] || exit 0; \
22607 r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(SET_LIB_PATH) \
22610 $(HOST_EXPORTS) \
22611 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22613 done; \
22614 echo "Doing distclean in gdb" ; \
22615 (cd gdb && \
22616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22618 "RANLIB=$${RANLIB}" \
22619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22620 distclean) \
22621 || exit 1
22623 @endif gdb
22625 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22626 maybe-maintainer-clean-gdb:
22627 @if gdb
22628 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22630 maintainer-clean-gdb:
22631 @[ -f ./gdb/Makefile ] || exit 0; \
22632 r=`${PWD_COMMAND}`; export r; \
22633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 $(SET_LIB_PATH) \
22635 $(HOST_EXPORTS) \
22636 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22638 done; \
22639 echo "Doing maintainer-clean in gdb" ; \
22640 (cd gdb && \
22641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22643 "RANLIB=$${RANLIB}" \
22644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22645 maintainer-clean) \
22646 || exit 1
22648 @endif gdb
22651 .PHONY: configure-expect maybe-configure-expect
22652 maybe-configure-expect:
22653 @if expect
22654 maybe-configure-expect: configure-expect
22655 configure-expect:
22656 @test ! -f expect/Makefile || exit 0; \
22657 [ -d expect ] || mkdir expect; \
22658 r=`${PWD_COMMAND}`; export r; \
22659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22660 $(HOST_EXPORTS) \
22661 echo Configuring in expect; \
22662 cd expect || exit 1; \
22663 case $(srcdir) in \
22664 \.) \
22665 srcdiroption="--srcdir=."; \
22666 libsrcdir=".";; \
22667 /* | [A-Za-z]:[\\/]*) \
22668 srcdiroption="--srcdir=$(srcdir)/expect"; \
22669 libsrcdir="$$s/expect";; \
22670 *) \
22671 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22672 libsrcdir="$$s/expect";; \
22673 esac; \
22674 $(SHELL) $${libsrcdir}/configure \
22675 $(HOST_CONFIGARGS) $${srcdiroption} \
22676 || exit 1
22677 @endif expect
22679 .PHONY: all-expect maybe-all-expect
22680 maybe-all-expect:
22681 @if expect
22682 TARGET-expect=all
22683 maybe-all-expect: all-expect
22684 all-expect: configure-expect
22685 @r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 $(SET_LIB_PATH) \
22688 $(HOST_EXPORTS) \
22689 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22690 $(TARGET-expect))
22691 @endif expect
22693 .PHONY: check-expect maybe-check-expect
22694 maybe-check-expect:
22695 @if expect
22696 maybe-check-expect: check-expect
22698 check-expect:
22699 @r=`${PWD_COMMAND}`; export r; \
22700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22701 $(SET_LIB_PATH) \
22702 $(HOST_EXPORTS) \
22703 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22705 @endif expect
22707 .PHONY: install-expect maybe-install-expect
22708 maybe-install-expect:
22709 @if expect
22710 maybe-install-expect: install-expect
22712 install-expect: installdirs
22713 @r=`${PWD_COMMAND}`; export r; \
22714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22715 $(SET_LIB_PATH) \
22716 $(HOST_EXPORTS) \
22717 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22719 @endif expect
22721 # Other targets (info, dvi, etc.)
22723 .PHONY: maybe-info-expect info-expect
22724 maybe-info-expect:
22725 @if expect
22726 maybe-info-expect: info-expect
22728 info-expect: \
22729 configure-expect
22730 @[ -f ./expect/Makefile ] || exit 0; \
22731 r=`${PWD_COMMAND}`; export r; \
22732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22733 $(SET_LIB_PATH) \
22734 $(HOST_EXPORTS) \
22735 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22737 done; \
22738 echo "Doing info in expect" ; \
22739 (cd expect && \
22740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22742 "RANLIB=$${RANLIB}" \
22743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22744 info) \
22745 || exit 1
22747 @endif expect
22749 .PHONY: maybe-dvi-expect dvi-expect
22750 maybe-dvi-expect:
22751 @if expect
22752 maybe-dvi-expect: dvi-expect
22754 dvi-expect: \
22755 configure-expect
22756 @[ -f ./expect/Makefile ] || exit 0; \
22757 r=`${PWD_COMMAND}`; export r; \
22758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22759 $(SET_LIB_PATH) \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing dvi in expect" ; \
22765 (cd expect && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22770 dvi) \
22771 || exit 1
22773 @endif expect
22775 .PHONY: maybe-html-expect html-expect
22776 maybe-html-expect:
22777 @if expect
22778 maybe-html-expect: html-expect
22780 html-expect: \
22781 configure-expect
22782 @[ -f ./expect/Makefile ] || exit 0; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 $(SET_LIB_PATH) \
22786 $(HOST_EXPORTS) \
22787 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 echo "Doing html in expect" ; \
22791 (cd expect && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22796 html) \
22797 || exit 1
22799 @endif expect
22801 .PHONY: maybe-TAGS-expect TAGS-expect
22802 maybe-TAGS-expect:
22803 @if expect
22804 maybe-TAGS-expect: TAGS-expect
22806 TAGS-expect: \
22807 configure-expect
22808 @[ -f ./expect/Makefile ] || exit 0; \
22809 r=`${PWD_COMMAND}`; export r; \
22810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 $(SET_LIB_PATH) \
22812 $(HOST_EXPORTS) \
22813 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 done; \
22816 echo "Doing TAGS in expect" ; \
22817 (cd expect && \
22818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22820 "RANLIB=$${RANLIB}" \
22821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22822 TAGS) \
22823 || exit 1
22825 @endif expect
22827 .PHONY: maybe-install-info-expect install-info-expect
22828 maybe-install-info-expect:
22829 @if expect
22830 maybe-install-info-expect: install-info-expect
22832 install-info-expect: \
22833 configure-expect \
22834 info-expect
22835 @[ -f ./expect/Makefile ] || exit 0; \
22836 r=`${PWD_COMMAND}`; export r; \
22837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22838 $(SET_LIB_PATH) \
22839 $(HOST_EXPORTS) \
22840 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22842 done; \
22843 echo "Doing install-info in expect" ; \
22844 (cd expect && \
22845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22847 "RANLIB=$${RANLIB}" \
22848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22849 install-info) \
22850 || exit 1
22852 @endif expect
22854 .PHONY: maybe-installcheck-expect installcheck-expect
22855 maybe-installcheck-expect:
22856 @if expect
22857 maybe-installcheck-expect: installcheck-expect
22859 installcheck-expect: \
22860 configure-expect
22861 @[ -f ./expect/Makefile ] || exit 0; \
22862 r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22864 $(SET_LIB_PATH) \
22865 $(HOST_EXPORTS) \
22866 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22868 done; \
22869 echo "Doing installcheck in expect" ; \
22870 (cd expect && \
22871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22873 "RANLIB=$${RANLIB}" \
22874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22875 installcheck) \
22876 || exit 1
22878 @endif expect
22880 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22881 maybe-mostlyclean-expect:
22882 @if expect
22883 maybe-mostlyclean-expect: mostlyclean-expect
22885 mostlyclean-expect:
22886 @[ -f ./expect/Makefile ] || exit 0; \
22887 r=`${PWD_COMMAND}`; export r; \
22888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22889 $(SET_LIB_PATH) \
22890 $(HOST_EXPORTS) \
22891 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22893 done; \
22894 echo "Doing mostlyclean in expect" ; \
22895 (cd expect && \
22896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22898 "RANLIB=$${RANLIB}" \
22899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22900 mostlyclean) \
22901 || exit 1
22903 @endif expect
22905 .PHONY: maybe-clean-expect clean-expect
22906 maybe-clean-expect:
22907 @if expect
22908 maybe-clean-expect: clean-expect
22910 clean-expect:
22911 @[ -f ./expect/Makefile ] || exit 0; \
22912 r=`${PWD_COMMAND}`; export r; \
22913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22914 $(SET_LIB_PATH) \
22915 $(HOST_EXPORTS) \
22916 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22918 done; \
22919 echo "Doing clean in expect" ; \
22920 (cd expect && \
22921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22923 "RANLIB=$${RANLIB}" \
22924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22925 clean) \
22926 || exit 1
22928 @endif expect
22930 .PHONY: maybe-distclean-expect distclean-expect
22931 maybe-distclean-expect:
22932 @if expect
22933 maybe-distclean-expect: distclean-expect
22935 distclean-expect:
22936 @[ -f ./expect/Makefile ] || exit 0; \
22937 r=`${PWD_COMMAND}`; export r; \
22938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22939 $(SET_LIB_PATH) \
22940 $(HOST_EXPORTS) \
22941 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22943 done; \
22944 echo "Doing distclean in expect" ; \
22945 (cd expect && \
22946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22948 "RANLIB=$${RANLIB}" \
22949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22950 distclean) \
22951 || exit 1
22953 @endif expect
22955 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22956 maybe-maintainer-clean-expect:
22957 @if expect
22958 maybe-maintainer-clean-expect: maintainer-clean-expect
22960 maintainer-clean-expect:
22961 @[ -f ./expect/Makefile ] || exit 0; \
22962 r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(SET_LIB_PATH) \
22965 $(HOST_EXPORTS) \
22966 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22968 done; \
22969 echo "Doing maintainer-clean in expect" ; \
22970 (cd expect && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22973 "RANLIB=$${RANLIB}" \
22974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22975 maintainer-clean) \
22976 || exit 1
22978 @endif expect
22981 .PHONY: configure-guile maybe-configure-guile
22982 maybe-configure-guile:
22983 @if guile
22984 maybe-configure-guile: configure-guile
22985 configure-guile:
22986 @test ! -f guile/Makefile || exit 0; \
22987 [ -d guile ] || mkdir guile; \
22988 r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 $(HOST_EXPORTS) \
22991 echo Configuring in guile; \
22992 cd guile || exit 1; \
22993 case $(srcdir) in \
22994 \.) \
22995 srcdiroption="--srcdir=."; \
22996 libsrcdir=".";; \
22997 /* | [A-Za-z]:[\\/]*) \
22998 srcdiroption="--srcdir=$(srcdir)/guile"; \
22999 libsrcdir="$$s/guile";; \
23000 *) \
23001 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23002 libsrcdir="$$s/guile";; \
23003 esac; \
23004 $(SHELL) $${libsrcdir}/configure \
23005 $(HOST_CONFIGARGS) $${srcdiroption} \
23006 || exit 1
23007 @endif guile
23009 .PHONY: all-guile maybe-all-guile
23010 maybe-all-guile:
23011 @if guile
23012 TARGET-guile=all
23013 maybe-all-guile: all-guile
23014 all-guile: configure-guile
23015 @r=`${PWD_COMMAND}`; export r; \
23016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23017 $(SET_LIB_PATH) \
23018 $(HOST_EXPORTS) \
23019 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23020 $(TARGET-guile))
23021 @endif guile
23023 .PHONY: check-guile maybe-check-guile
23024 maybe-check-guile:
23025 @if guile
23026 maybe-check-guile: check-guile
23028 check-guile:
23029 @r=`${PWD_COMMAND}`; export r; \
23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23031 $(SET_LIB_PATH) \
23032 $(HOST_EXPORTS) \
23033 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23035 @endif guile
23037 .PHONY: install-guile maybe-install-guile
23038 maybe-install-guile:
23039 @if guile
23040 maybe-install-guile: install-guile
23042 install-guile: installdirs
23043 @r=`${PWD_COMMAND}`; export r; \
23044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23045 $(SET_LIB_PATH) \
23046 $(HOST_EXPORTS) \
23047 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23049 @endif guile
23051 # Other targets (info, dvi, etc.)
23053 .PHONY: maybe-info-guile info-guile
23054 maybe-info-guile:
23055 @if guile
23056 maybe-info-guile: info-guile
23058 info-guile: \
23059 configure-guile
23060 @[ -f ./guile/Makefile ] || exit 0; \
23061 r=`${PWD_COMMAND}`; export r; \
23062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23063 $(SET_LIB_PATH) \
23064 $(HOST_EXPORTS) \
23065 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067 done; \
23068 echo "Doing info in guile" ; \
23069 (cd guile && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23074 info) \
23075 || exit 1
23077 @endif guile
23079 .PHONY: maybe-dvi-guile dvi-guile
23080 maybe-dvi-guile:
23081 @if guile
23082 maybe-dvi-guile: dvi-guile
23084 dvi-guile: \
23085 configure-guile
23086 @[ -f ./guile/Makefile ] || exit 0; \
23087 r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(SET_LIB_PATH) \
23090 $(HOST_EXPORTS) \
23091 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23093 done; \
23094 echo "Doing dvi in guile" ; \
23095 (cd guile && \
23096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23098 "RANLIB=$${RANLIB}" \
23099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23100 dvi) \
23101 || exit 1
23103 @endif guile
23105 .PHONY: maybe-html-guile html-guile
23106 maybe-html-guile:
23107 @if guile
23108 maybe-html-guile: html-guile
23110 html-guile: \
23111 configure-guile
23112 @[ -f ./guile/Makefile ] || exit 0; \
23113 r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(SET_LIB_PATH) \
23116 $(HOST_EXPORTS) \
23117 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23119 done; \
23120 echo "Doing html in guile" ; \
23121 (cd guile && \
23122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23124 "RANLIB=$${RANLIB}" \
23125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23126 html) \
23127 || exit 1
23129 @endif guile
23131 .PHONY: maybe-TAGS-guile TAGS-guile
23132 maybe-TAGS-guile:
23133 @if guile
23134 maybe-TAGS-guile: TAGS-guile
23136 TAGS-guile: \
23137 configure-guile
23138 @[ -f ./guile/Makefile ] || exit 0; \
23139 r=`${PWD_COMMAND}`; export r; \
23140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23141 $(SET_LIB_PATH) \
23142 $(HOST_EXPORTS) \
23143 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23145 done; \
23146 echo "Doing TAGS in guile" ; \
23147 (cd guile && \
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 TAGS) \
23153 || exit 1
23155 @endif guile
23157 .PHONY: maybe-install-info-guile install-info-guile
23158 maybe-install-info-guile:
23159 @if guile
23160 maybe-install-info-guile: install-info-guile
23162 install-info-guile: \
23163 configure-guile \
23164 info-guile
23165 @[ -f ./guile/Makefile ] || exit 0; \
23166 r=`${PWD_COMMAND}`; export r; \
23167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23168 $(SET_LIB_PATH) \
23169 $(HOST_EXPORTS) \
23170 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23172 done; \
23173 echo "Doing install-info in guile" ; \
23174 (cd guile && \
23175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23177 "RANLIB=$${RANLIB}" \
23178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23179 install-info) \
23180 || exit 1
23182 @endif guile
23184 .PHONY: maybe-installcheck-guile installcheck-guile
23185 maybe-installcheck-guile:
23186 @if guile
23187 maybe-installcheck-guile: installcheck-guile
23189 installcheck-guile: \
23190 configure-guile
23191 @[ -f ./guile/Makefile ] || exit 0; \
23192 r=`${PWD_COMMAND}`; export r; \
23193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23194 $(SET_LIB_PATH) \
23195 $(HOST_EXPORTS) \
23196 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23198 done; \
23199 echo "Doing installcheck in guile" ; \
23200 (cd guile && \
23201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23203 "RANLIB=$${RANLIB}" \
23204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23205 installcheck) \
23206 || exit 1
23208 @endif guile
23210 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23211 maybe-mostlyclean-guile:
23212 @if guile
23213 maybe-mostlyclean-guile: mostlyclean-guile
23215 mostlyclean-guile:
23216 @[ -f ./guile/Makefile ] || exit 0; \
23217 r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23219 $(SET_LIB_PATH) \
23220 $(HOST_EXPORTS) \
23221 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23223 done; \
23224 echo "Doing mostlyclean in guile" ; \
23225 (cd guile && \
23226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23228 "RANLIB=$${RANLIB}" \
23229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23230 mostlyclean) \
23231 || exit 1
23233 @endif guile
23235 .PHONY: maybe-clean-guile clean-guile
23236 maybe-clean-guile:
23237 @if guile
23238 maybe-clean-guile: clean-guile
23240 clean-guile:
23241 @[ -f ./guile/Makefile ] || exit 0; \
23242 r=`${PWD_COMMAND}`; export r; \
23243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23244 $(SET_LIB_PATH) \
23245 $(HOST_EXPORTS) \
23246 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23248 done; \
23249 echo "Doing clean in guile" ; \
23250 (cd guile && \
23251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23253 "RANLIB=$${RANLIB}" \
23254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23255 clean) \
23256 || exit 1
23258 @endif guile
23260 .PHONY: maybe-distclean-guile distclean-guile
23261 maybe-distclean-guile:
23262 @if guile
23263 maybe-distclean-guile: distclean-guile
23265 distclean-guile:
23266 @[ -f ./guile/Makefile ] || exit 0; \
23267 r=`${PWD_COMMAND}`; export r; \
23268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23269 $(SET_LIB_PATH) \
23270 $(HOST_EXPORTS) \
23271 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23273 done; \
23274 echo "Doing distclean in guile" ; \
23275 (cd guile && \
23276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23278 "RANLIB=$${RANLIB}" \
23279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23280 distclean) \
23281 || exit 1
23283 @endif guile
23285 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23286 maybe-maintainer-clean-guile:
23287 @if guile
23288 maybe-maintainer-clean-guile: maintainer-clean-guile
23290 maintainer-clean-guile:
23291 @[ -f ./guile/Makefile ] || exit 0; \
23292 r=`${PWD_COMMAND}`; export r; \
23293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23294 $(SET_LIB_PATH) \
23295 $(HOST_EXPORTS) \
23296 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23298 done; \
23299 echo "Doing maintainer-clean in guile" ; \
23300 (cd guile && \
23301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23303 "RANLIB=$${RANLIB}" \
23304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23305 maintainer-clean) \
23306 || exit 1
23308 @endif guile
23311 .PHONY: configure-tk maybe-configure-tk
23312 maybe-configure-tk:
23313 @if tk
23314 maybe-configure-tk: configure-tk
23315 configure-tk:
23316 @test ! -f tk/Makefile || exit 0; \
23317 [ -d tk ] || mkdir tk; \
23318 r=`${PWD_COMMAND}`; export r; \
23319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23320 $(HOST_EXPORTS) \
23321 echo Configuring in tk; \
23322 cd tk || exit 1; \
23323 case $(srcdir) in \
23324 \.) \
23325 srcdiroption="--srcdir=."; \
23326 libsrcdir=".";; \
23327 /* | [A-Za-z]:[\\/]*) \
23328 srcdiroption="--srcdir=$(srcdir)/tk"; \
23329 libsrcdir="$$s/tk";; \
23330 *) \
23331 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23332 libsrcdir="$$s/tk";; \
23333 esac; \
23334 $(SHELL) $${libsrcdir}/configure \
23335 $(HOST_CONFIGARGS) $${srcdiroption} \
23336 || exit 1
23337 @endif tk
23339 .PHONY: all-tk maybe-all-tk
23340 maybe-all-tk:
23341 @if tk
23342 TARGET-tk=all
23343 maybe-all-tk: all-tk
23344 all-tk: configure-tk
23345 @r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(SET_LIB_PATH) \
23348 $(HOST_EXPORTS) \
23349 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23350 $(TARGET-tk))
23351 @endif tk
23353 .PHONY: check-tk maybe-check-tk
23354 maybe-check-tk:
23355 @if tk
23356 maybe-check-tk: check-tk
23358 check-tk:
23359 @r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(SET_LIB_PATH) \
23362 $(HOST_EXPORTS) \
23363 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23365 @endif tk
23367 .PHONY: install-tk maybe-install-tk
23368 maybe-install-tk:
23369 @if tk
23370 maybe-install-tk: install-tk
23372 install-tk: installdirs
23373 @r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(SET_LIB_PATH) \
23376 $(HOST_EXPORTS) \
23377 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23379 @endif tk
23381 # Other targets (info, dvi, etc.)
23383 .PHONY: maybe-info-tk info-tk
23384 maybe-info-tk:
23385 @if tk
23386 maybe-info-tk: info-tk
23388 info-tk: \
23389 configure-tk
23390 @[ -f ./tk/Makefile ] || exit 0; \
23391 r=`${PWD_COMMAND}`; export r; \
23392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23393 $(SET_LIB_PATH) \
23394 $(HOST_EXPORTS) \
23395 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23397 done; \
23398 echo "Doing info in tk" ; \
23399 (cd tk && \
23400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23402 "RANLIB=$${RANLIB}" \
23403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23404 info) \
23405 || exit 1
23407 @endif tk
23409 .PHONY: maybe-dvi-tk dvi-tk
23410 maybe-dvi-tk:
23411 @if tk
23412 maybe-dvi-tk: dvi-tk
23414 dvi-tk: \
23415 configure-tk
23416 @[ -f ./tk/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23419 $(SET_LIB_PATH) \
23420 $(HOST_EXPORTS) \
23421 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23423 done; \
23424 echo "Doing dvi in tk" ; \
23425 (cd tk && \
23426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428 "RANLIB=$${RANLIB}" \
23429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23430 dvi) \
23431 || exit 1
23433 @endif tk
23435 .PHONY: maybe-html-tk html-tk
23436 maybe-html-tk:
23437 @if tk
23438 maybe-html-tk: html-tk
23440 html-tk: \
23441 configure-tk
23442 @[ -f ./tk/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(SET_LIB_PATH) \
23446 $(HOST_EXPORTS) \
23447 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23449 done; \
23450 echo "Doing html in tk" ; \
23451 (cd tk && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454 "RANLIB=$${RANLIB}" \
23455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23456 html) \
23457 || exit 1
23459 @endif tk
23461 .PHONY: maybe-TAGS-tk TAGS-tk
23462 maybe-TAGS-tk:
23463 @if tk
23464 maybe-TAGS-tk: TAGS-tk
23466 TAGS-tk: \
23467 configure-tk
23468 @[ -f ./tk/Makefile ] || exit 0; \
23469 r=`${PWD_COMMAND}`; export r; \
23470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23471 $(SET_LIB_PATH) \
23472 $(HOST_EXPORTS) \
23473 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23475 done; \
23476 echo "Doing TAGS in tk" ; \
23477 (cd tk && \
23478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480 "RANLIB=$${RANLIB}" \
23481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23482 TAGS) \
23483 || exit 1
23485 @endif tk
23487 .PHONY: maybe-install-info-tk install-info-tk
23488 maybe-install-info-tk:
23489 @if tk
23490 maybe-install-info-tk: install-info-tk
23492 install-info-tk: \
23493 configure-tk \
23494 info-tk
23495 @[ -f ./tk/Makefile ] || exit 0; \
23496 r=`${PWD_COMMAND}`; export r; \
23497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23498 $(SET_LIB_PATH) \
23499 $(HOST_EXPORTS) \
23500 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23502 done; \
23503 echo "Doing install-info in tk" ; \
23504 (cd tk && \
23505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23507 "RANLIB=$${RANLIB}" \
23508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23509 install-info) \
23510 || exit 1
23512 @endif tk
23514 .PHONY: maybe-installcheck-tk installcheck-tk
23515 maybe-installcheck-tk:
23516 @if tk
23517 maybe-installcheck-tk: installcheck-tk
23519 installcheck-tk: \
23520 configure-tk
23521 @[ -f ./tk/Makefile ] || exit 0; \
23522 r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23524 $(SET_LIB_PATH) \
23525 $(HOST_EXPORTS) \
23526 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23528 done; \
23529 echo "Doing installcheck in tk" ; \
23530 (cd tk && \
23531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533 "RANLIB=$${RANLIB}" \
23534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23535 installcheck) \
23536 || exit 1
23538 @endif tk
23540 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23541 maybe-mostlyclean-tk:
23542 @if tk
23543 maybe-mostlyclean-tk: mostlyclean-tk
23545 mostlyclean-tk:
23546 @[ -f ./tk/Makefile ] || exit 0; \
23547 r=`${PWD_COMMAND}`; export r; \
23548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23549 $(SET_LIB_PATH) \
23550 $(HOST_EXPORTS) \
23551 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23553 done; \
23554 echo "Doing mostlyclean in tk" ; \
23555 (cd tk && \
23556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23558 "RANLIB=$${RANLIB}" \
23559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23560 mostlyclean) \
23561 || exit 1
23563 @endif tk
23565 .PHONY: maybe-clean-tk clean-tk
23566 maybe-clean-tk:
23567 @if tk
23568 maybe-clean-tk: clean-tk
23570 clean-tk:
23571 @[ -f ./tk/Makefile ] || exit 0; \
23572 r=`${PWD_COMMAND}`; export r; \
23573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23574 $(SET_LIB_PATH) \
23575 $(HOST_EXPORTS) \
23576 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23578 done; \
23579 echo "Doing clean in tk" ; \
23580 (cd tk && \
23581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23583 "RANLIB=$${RANLIB}" \
23584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23585 clean) \
23586 || exit 1
23588 @endif tk
23590 .PHONY: maybe-distclean-tk distclean-tk
23591 maybe-distclean-tk:
23592 @if tk
23593 maybe-distclean-tk: distclean-tk
23595 distclean-tk:
23596 @[ -f ./tk/Makefile ] || exit 0; \
23597 r=`${PWD_COMMAND}`; export r; \
23598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23599 $(SET_LIB_PATH) \
23600 $(HOST_EXPORTS) \
23601 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23603 done; \
23604 echo "Doing distclean in tk" ; \
23605 (cd tk && \
23606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23608 "RANLIB=$${RANLIB}" \
23609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23610 distclean) \
23611 || exit 1
23613 @endif tk
23615 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23616 maybe-maintainer-clean-tk:
23617 @if tk
23618 maybe-maintainer-clean-tk: maintainer-clean-tk
23620 maintainer-clean-tk:
23621 @[ -f ./tk/Makefile ] || exit 0; \
23622 r=`${PWD_COMMAND}`; export r; \
23623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23624 $(SET_LIB_PATH) \
23625 $(HOST_EXPORTS) \
23626 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23628 done; \
23629 echo "Doing maintainer-clean in tk" ; \
23630 (cd tk && \
23631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23633 "RANLIB=$${RANLIB}" \
23634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23635 maintainer-clean) \
23636 || exit 1
23638 @endif tk
23641 .PHONY: configure-libtermcap maybe-configure-libtermcap
23642 maybe-configure-libtermcap:
23643 @if libtermcap
23644 maybe-configure-libtermcap: configure-libtermcap
23645 configure-libtermcap:
23646 @test ! -f libtermcap/Makefile || exit 0; \
23647 [ -d libtermcap ] || mkdir libtermcap; \
23648 r=`${PWD_COMMAND}`; export r; \
23649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23650 $(HOST_EXPORTS) \
23651 echo Configuring in libtermcap; \
23652 cd libtermcap || exit 1; \
23653 case $(srcdir) in \
23654 \.) \
23655 srcdiroption="--srcdir=."; \
23656 libsrcdir=".";; \
23657 /* | [A-Za-z]:[\\/]*) \
23658 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23659 libsrcdir="$$s/libtermcap";; \
23660 *) \
23661 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23662 libsrcdir="$$s/libtermcap";; \
23663 esac; \
23664 $(SHELL) $${libsrcdir}/configure \
23665 $(HOST_CONFIGARGS) $${srcdiroption} \
23666 || exit 1
23667 @endif libtermcap
23669 .PHONY: all-libtermcap maybe-all-libtermcap
23670 maybe-all-libtermcap:
23671 @if libtermcap
23672 TARGET-libtermcap=all
23673 maybe-all-libtermcap: all-libtermcap
23674 all-libtermcap: configure-libtermcap
23675 @r=`${PWD_COMMAND}`; export r; \
23676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23677 $(SET_LIB_PATH) \
23678 $(HOST_EXPORTS) \
23679 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23680 $(TARGET-libtermcap))
23681 @endif libtermcap
23683 .PHONY: check-libtermcap maybe-check-libtermcap
23684 maybe-check-libtermcap:
23685 @if libtermcap
23686 maybe-check-libtermcap: check-libtermcap
23688 check-libtermcap:
23690 @endif libtermcap
23692 .PHONY: install-libtermcap maybe-install-libtermcap
23693 maybe-install-libtermcap:
23694 @if libtermcap
23695 maybe-install-libtermcap: install-libtermcap
23697 install-libtermcap: installdirs
23698 @r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(SET_LIB_PATH) \
23701 $(HOST_EXPORTS) \
23702 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23704 @endif libtermcap
23706 # Other targets (info, dvi, etc.)
23708 .PHONY: maybe-info-libtermcap info-libtermcap
23709 maybe-info-libtermcap:
23710 @if libtermcap
23711 maybe-info-libtermcap: info-libtermcap
23713 info-libtermcap: \
23714 configure-libtermcap
23715 @[ -f ./libtermcap/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 $(SET_LIB_PATH) \
23719 $(HOST_EXPORTS) \
23720 for flag in $(EXTRA_HOST_FLAGS) ; do \
23721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23722 done; \
23723 echo "Doing info in libtermcap" ; \
23724 (cd libtermcap && \
23725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23727 "RANLIB=$${RANLIB}" \
23728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23729 info) \
23730 || exit 1
23732 @endif libtermcap
23734 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23735 maybe-dvi-libtermcap:
23736 @if libtermcap
23737 maybe-dvi-libtermcap: dvi-libtermcap
23739 dvi-libtermcap: \
23740 configure-libtermcap
23741 @[ -f ./libtermcap/Makefile ] || exit 0; \
23742 r=`${PWD_COMMAND}`; export r; \
23743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23744 $(SET_LIB_PATH) \
23745 $(HOST_EXPORTS) \
23746 for flag in $(EXTRA_HOST_FLAGS) ; do \
23747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23748 done; \
23749 echo "Doing dvi in libtermcap" ; \
23750 (cd libtermcap && \
23751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23753 "RANLIB=$${RANLIB}" \
23754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23755 dvi) \
23756 || exit 1
23758 @endif libtermcap
23760 .PHONY: maybe-html-libtermcap html-libtermcap
23761 maybe-html-libtermcap:
23762 @if libtermcap
23763 maybe-html-libtermcap: html-libtermcap
23765 html-libtermcap: \
23766 configure-libtermcap
23767 @[ -f ./libtermcap/Makefile ] || exit 0; \
23768 r=`${PWD_COMMAND}`; export r; \
23769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23770 $(SET_LIB_PATH) \
23771 $(HOST_EXPORTS) \
23772 for flag in $(EXTRA_HOST_FLAGS) ; do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 done; \
23775 echo "Doing html in libtermcap" ; \
23776 (cd libtermcap && \
23777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23779 "RANLIB=$${RANLIB}" \
23780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23781 html) \
23782 || exit 1
23784 @endif libtermcap
23786 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23787 maybe-TAGS-libtermcap:
23788 @if libtermcap
23789 maybe-TAGS-libtermcap: TAGS-libtermcap
23791 TAGS-libtermcap: \
23792 configure-libtermcap
23793 @[ -f ./libtermcap/Makefile ] || exit 0; \
23794 r=`${PWD_COMMAND}`; export r; \
23795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(SET_LIB_PATH) \
23797 $(HOST_EXPORTS) \
23798 for flag in $(EXTRA_HOST_FLAGS) ; do \
23799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23800 done; \
23801 echo "Doing TAGS in libtermcap" ; \
23802 (cd libtermcap && \
23803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23805 "RANLIB=$${RANLIB}" \
23806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23807 TAGS) \
23808 || exit 1
23810 @endif libtermcap
23812 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23813 maybe-install-info-libtermcap:
23814 @if libtermcap
23815 maybe-install-info-libtermcap: install-info-libtermcap
23817 install-info-libtermcap: \
23818 configure-libtermcap \
23819 info-libtermcap
23820 @[ -f ./libtermcap/Makefile ] || exit 0; \
23821 r=`${PWD_COMMAND}`; export r; \
23822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23823 $(SET_LIB_PATH) \
23824 $(HOST_EXPORTS) \
23825 for flag in $(EXTRA_HOST_FLAGS) ; do \
23826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23827 done; \
23828 echo "Doing install-info in libtermcap" ; \
23829 (cd libtermcap && \
23830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23832 "RANLIB=$${RANLIB}" \
23833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23834 install-info) \
23835 || exit 1
23837 @endif libtermcap
23839 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23840 maybe-installcheck-libtermcap:
23841 @if libtermcap
23842 maybe-installcheck-libtermcap: installcheck-libtermcap
23844 installcheck-libtermcap: \
23845 configure-libtermcap
23846 @[ -f ./libtermcap/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(SET_LIB_PATH) \
23850 $(HOST_EXPORTS) \
23851 for flag in $(EXTRA_HOST_FLAGS) ; do \
23852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23853 done; \
23854 echo "Doing installcheck in libtermcap" ; \
23855 (cd libtermcap && \
23856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23858 "RANLIB=$${RANLIB}" \
23859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23860 installcheck) \
23861 || exit 1
23863 @endif libtermcap
23865 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23866 maybe-mostlyclean-libtermcap:
23867 @if libtermcap
23868 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23870 # libtermcap doesn't support mostlyclean.
23871 mostlyclean-libtermcap:
23873 @endif libtermcap
23875 .PHONY: maybe-clean-libtermcap clean-libtermcap
23876 maybe-clean-libtermcap:
23877 @if libtermcap
23878 maybe-clean-libtermcap: clean-libtermcap
23880 # libtermcap doesn't support clean.
23881 clean-libtermcap:
23883 @endif libtermcap
23885 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23886 maybe-distclean-libtermcap:
23887 @if libtermcap
23888 maybe-distclean-libtermcap: distclean-libtermcap
23890 # libtermcap doesn't support distclean.
23891 distclean-libtermcap:
23893 @endif libtermcap
23895 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23896 maybe-maintainer-clean-libtermcap:
23897 @if libtermcap
23898 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23900 # libtermcap doesn't support maintainer-clean.
23901 maintainer-clean-libtermcap:
23903 @endif libtermcap
23906 .PHONY: configure-utils maybe-configure-utils
23907 maybe-configure-utils:
23908 @if utils
23909 maybe-configure-utils: configure-utils
23910 configure-utils:
23911 @test ! -f utils/Makefile || exit 0; \
23912 [ -d utils ] || mkdir utils; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(HOST_EXPORTS) \
23916 echo Configuring in utils; \
23917 cd utils || exit 1; \
23918 case $(srcdir) in \
23919 \.) \
23920 srcdiroption="--srcdir=."; \
23921 libsrcdir=".";; \
23922 /* | [A-Za-z]:[\\/]*) \
23923 srcdiroption="--srcdir=$(srcdir)/utils"; \
23924 libsrcdir="$$s/utils";; \
23925 *) \
23926 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23927 libsrcdir="$$s/utils";; \
23928 esac; \
23929 $(SHELL) $${libsrcdir}/configure \
23930 $(HOST_CONFIGARGS) $${srcdiroption} \
23931 || exit 1
23932 @endif utils
23934 .PHONY: all-utils maybe-all-utils
23935 maybe-all-utils:
23936 @if utils
23937 TARGET-utils=all
23938 maybe-all-utils: all-utils
23939 all-utils: configure-utils
23940 @r=`${PWD_COMMAND}`; export r; \
23941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23942 $(SET_LIB_PATH) \
23943 $(HOST_EXPORTS) \
23944 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23945 $(TARGET-utils))
23946 @endif utils
23948 .PHONY: check-utils maybe-check-utils
23949 maybe-check-utils:
23950 @if utils
23951 maybe-check-utils: check-utils
23953 check-utils:
23955 @endif utils
23957 .PHONY: install-utils maybe-install-utils
23958 maybe-install-utils:
23959 @if utils
23960 maybe-install-utils: install-utils
23962 install-utils: installdirs
23963 @r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23965 $(SET_LIB_PATH) \
23966 $(HOST_EXPORTS) \
23967 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23969 @endif utils
23971 # Other targets (info, dvi, etc.)
23973 .PHONY: maybe-info-utils info-utils
23974 maybe-info-utils:
23975 @if utils
23976 maybe-info-utils: info-utils
23978 info-utils: \
23979 configure-utils
23980 @[ -f ./utils/Makefile ] || exit 0; \
23981 r=`${PWD_COMMAND}`; export r; \
23982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23983 $(SET_LIB_PATH) \
23984 $(HOST_EXPORTS) \
23985 for flag in $(EXTRA_HOST_FLAGS) ; do \
23986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23987 done; \
23988 echo "Doing info in utils" ; \
23989 (cd utils && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992 "RANLIB=$${RANLIB}" \
23993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23994 info) \
23995 || exit 1
23997 @endif utils
23999 .PHONY: maybe-dvi-utils dvi-utils
24000 maybe-dvi-utils:
24001 @if utils
24002 maybe-dvi-utils: dvi-utils
24004 dvi-utils: \
24005 configure-utils
24006 @[ -f ./utils/Makefile ] || exit 0; \
24007 r=`${PWD_COMMAND}`; export r; \
24008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24009 $(SET_LIB_PATH) \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing dvi in utils" ; \
24015 (cd utils && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 dvi) \
24021 || exit 1
24023 @endif utils
24025 .PHONY: maybe-html-utils html-utils
24026 maybe-html-utils:
24027 @if utils
24028 maybe-html-utils: html-utils
24030 html-utils: \
24031 configure-utils
24032 @[ -f ./utils/Makefile ] || exit 0; \
24033 r=`${PWD_COMMAND}`; export r; \
24034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24035 $(SET_LIB_PATH) \
24036 $(HOST_EXPORTS) \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039 done; \
24040 echo "Doing html in utils" ; \
24041 (cd utils && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 html) \
24047 || exit 1
24049 @endif utils
24051 .PHONY: maybe-TAGS-utils TAGS-utils
24052 maybe-TAGS-utils:
24053 @if utils
24054 maybe-TAGS-utils: TAGS-utils
24056 TAGS-utils: \
24057 configure-utils
24058 @[ -f ./utils/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 $(SET_LIB_PATH) \
24062 $(HOST_EXPORTS) \
24063 for flag in $(EXTRA_HOST_FLAGS) ; do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24065 done; \
24066 echo "Doing TAGS in utils" ; \
24067 (cd utils && \
24068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24070 "RANLIB=$${RANLIB}" \
24071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24072 TAGS) \
24073 || exit 1
24075 @endif utils
24077 .PHONY: maybe-install-info-utils install-info-utils
24078 maybe-install-info-utils:
24079 @if utils
24080 maybe-install-info-utils: install-info-utils
24082 install-info-utils: \
24083 configure-utils \
24084 info-utils
24085 @[ -f ./utils/Makefile ] || exit 0; \
24086 r=`${PWD_COMMAND}`; export r; \
24087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088 $(SET_LIB_PATH) \
24089 $(HOST_EXPORTS) \
24090 for flag in $(EXTRA_HOST_FLAGS) ; do \
24091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 done; \
24093 echo "Doing install-info in utils" ; \
24094 (cd utils && \
24095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24097 "RANLIB=$${RANLIB}" \
24098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24099 install-info) \
24100 || exit 1
24102 @endif utils
24104 .PHONY: maybe-installcheck-utils installcheck-utils
24105 maybe-installcheck-utils:
24106 @if utils
24107 maybe-installcheck-utils: installcheck-utils
24109 installcheck-utils: \
24110 configure-utils
24111 @[ -f ./utils/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(SET_LIB_PATH) \
24115 $(HOST_EXPORTS) \
24116 for flag in $(EXTRA_HOST_FLAGS) ; do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24118 done; \
24119 echo "Doing installcheck in utils" ; \
24120 (cd utils && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24123 "RANLIB=$${RANLIB}" \
24124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24125 installcheck) \
24126 || exit 1
24128 @endif utils
24130 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24131 maybe-mostlyclean-utils:
24132 @if utils
24133 maybe-mostlyclean-utils: mostlyclean-utils
24135 mostlyclean-utils:
24136 @[ -f ./utils/Makefile ] || exit 0; \
24137 r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 $(SET_LIB_PATH) \
24140 $(HOST_EXPORTS) \
24141 for flag in $(EXTRA_HOST_FLAGS) ; do \
24142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24143 done; \
24144 echo "Doing mostlyclean in utils" ; \
24145 (cd utils && \
24146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24148 "RANLIB=$${RANLIB}" \
24149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24150 mostlyclean) \
24151 || exit 1
24153 @endif utils
24155 .PHONY: maybe-clean-utils clean-utils
24156 maybe-clean-utils:
24157 @if utils
24158 maybe-clean-utils: clean-utils
24160 clean-utils:
24161 @[ -f ./utils/Makefile ] || exit 0; \
24162 r=`${PWD_COMMAND}`; export r; \
24163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24164 $(SET_LIB_PATH) \
24165 $(HOST_EXPORTS) \
24166 for flag in $(EXTRA_HOST_FLAGS) ; do \
24167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24168 done; \
24169 echo "Doing clean in utils" ; \
24170 (cd utils && \
24171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24173 "RANLIB=$${RANLIB}" \
24174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24175 clean) \
24176 || exit 1
24178 @endif utils
24180 .PHONY: maybe-distclean-utils distclean-utils
24181 maybe-distclean-utils:
24182 @if utils
24183 maybe-distclean-utils: distclean-utils
24185 distclean-utils:
24186 @[ -f ./utils/Makefile ] || exit 0; \
24187 r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(SET_LIB_PATH) \
24190 $(HOST_EXPORTS) \
24191 for flag in $(EXTRA_HOST_FLAGS) ; do \
24192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24193 done; \
24194 echo "Doing distclean in utils" ; \
24195 (cd utils && \
24196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24198 "RANLIB=$${RANLIB}" \
24199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24200 distclean) \
24201 || exit 1
24203 @endif utils
24205 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24206 maybe-maintainer-clean-utils:
24207 @if utils
24208 maybe-maintainer-clean-utils: maintainer-clean-utils
24210 maintainer-clean-utils:
24211 @[ -f ./utils/Makefile ] || exit 0; \
24212 r=`${PWD_COMMAND}`; export r; \
24213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(SET_LIB_PATH) \
24215 $(HOST_EXPORTS) \
24216 for flag in $(EXTRA_HOST_FLAGS) ; do \
24217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24218 done; \
24219 echo "Doing maintainer-clean in utils" ; \
24220 (cd utils && \
24221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24223 "RANLIB=$${RANLIB}" \
24224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24225 maintainer-clean) \
24226 || exit 1
24228 @endif utils
24232 # ---------------------------------------
24233 # Modules which run on the target machine
24234 # ---------------------------------------
24236 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24237 maybe-configure-target-libstdc++-v3:
24238 @if target-libstdc++-v3
24239 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24241 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24242 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24244 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24245 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24247 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24248 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24249 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24250 r=`${PWD_COMMAND}`; export r; \
24251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24252 $(SET_LIB_PATH) \
24253 $(RAW_CXX_TARGET_EXPORTS) \
24254 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24255 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24256 case $(srcdir) in \
24257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24258 *) topdir="../../$(srcdir)" ;; \
24259 esac; \
24260 if [ "$(srcdir)" = "." ] ; then \
24261 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
24262 if [ -f Makefile ]; then \
24263 if $(MAKE) distclean; then \
24264 true; \
24265 else \
24266 exit 1; \
24267 fi; \
24268 else \
24269 true; \
24270 fi; \
24271 else \
24272 exit 1; \
24273 fi; \
24274 if [ -d ../include ] ; then \
24275 true; \
24276 else \
24277 mkdir ../include; \
24278 cd ../include; \
24279 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
24280 cd ../libstdc++-v3; \
24281 fi; \
24282 srcdiroption="--srcdir=."; \
24283 libsrcdir="."; \
24284 else \
24285 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24286 libsrcdir="$$s/libstdc++-v3"; \
24287 fi; \
24288 rm -f no-such-file || : ; \
24289 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24290 $(TARGET_CONFIGARGS) $${srcdiroption} \
24291 --with-target-subdir="$(TARGET_SUBDIR)" \
24292 || exit 1
24293 @endif target-libstdc++-v3
24295 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24296 maybe-all-target-libstdc++-v3:
24297 @if target-libstdc++-v3
24298 TARGET-target-libstdc++-v3=all
24299 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24300 all-target-libstdc++-v3: configure-target-libstdc++-v3
24301 @r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 $(SET_LIB_PATH) \
24304 $(RAW_CXX_TARGET_EXPORTS) \
24305 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24306 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24307 @endif target-libstdc++-v3
24309 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24310 maybe-check-target-libstdc++-v3:
24311 @if target-libstdc++-v3
24312 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24314 check-target-libstdc++-v3:
24315 @r=`${PWD_COMMAND}`; export r; \
24316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24317 $(SET_LIB_PATH) \
24318 $(RAW_CXX_TARGET_EXPORTS) \
24319 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24320 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24322 @endif target-libstdc++-v3
24324 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24325 maybe-install-target-libstdc++-v3:
24326 @if target-libstdc++-v3
24327 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24329 install-target-libstdc++-v3: installdirs
24330 @r=`${PWD_COMMAND}`; export r; \
24331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332 $(SET_LIB_PATH) \
24333 $(RAW_CXX_TARGET_EXPORTS) \
24334 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24335 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24337 @endif target-libstdc++-v3
24339 # Other targets (info, dvi, etc.)
24341 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24342 maybe-info-target-libstdc++-v3:
24343 @if target-libstdc++-v3
24344 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24346 info-target-libstdc++-v3: \
24347 configure-target-libstdc++-v3
24348 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24349 r=`${PWD_COMMAND}`; export r; \
24350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24351 $(SET_LIB_PATH) \
24352 $(RAW_CXX_TARGET_EXPORTS) \
24353 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24354 for flag in $(EXTRA_TARGET_FLAGS); do \
24355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24356 done; \
24357 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24360 "RANLIB=$${RANLIB}" \
24361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24362 info) \
24363 || exit 1
24365 @endif target-libstdc++-v3
24367 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24368 maybe-dvi-target-libstdc++-v3:
24369 @if target-libstdc++-v3
24370 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24372 dvi-target-libstdc++-v3: \
24373 configure-target-libstdc++-v3
24374 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24375 r=`${PWD_COMMAND}`; export r; \
24376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24377 $(SET_LIB_PATH) \
24378 $(RAW_CXX_TARGET_EXPORTS) \
24379 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24380 for flag in $(EXTRA_TARGET_FLAGS); do \
24381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24382 done; \
24383 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24386 "RANLIB=$${RANLIB}" \
24387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24388 dvi) \
24389 || exit 1
24391 @endif target-libstdc++-v3
24393 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24394 maybe-html-target-libstdc++-v3:
24395 @if target-libstdc++-v3
24396 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24398 html-target-libstdc++-v3: \
24399 configure-target-libstdc++-v3
24400 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24401 r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(SET_LIB_PATH) \
24404 $(RAW_CXX_TARGET_EXPORTS) \
24405 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24406 for flag in $(EXTRA_TARGET_FLAGS); do \
24407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24408 done; \
24409 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24412 "RANLIB=$${RANLIB}" \
24413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24414 html) \
24415 || exit 1
24417 @endif target-libstdc++-v3
24419 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24420 maybe-TAGS-target-libstdc++-v3:
24421 @if target-libstdc++-v3
24422 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24424 TAGS-target-libstdc++-v3: \
24425 configure-target-libstdc++-v3
24426 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24427 r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(SET_LIB_PATH) \
24430 $(RAW_CXX_TARGET_EXPORTS) \
24431 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24432 for flag in $(EXTRA_TARGET_FLAGS); do \
24433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24434 done; \
24435 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24438 "RANLIB=$${RANLIB}" \
24439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24440 TAGS) \
24441 || exit 1
24443 @endif target-libstdc++-v3
24445 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24446 maybe-install-info-target-libstdc++-v3:
24447 @if target-libstdc++-v3
24448 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24450 install-info-target-libstdc++-v3: \
24451 configure-target-libstdc++-v3 \
24452 info-target-libstdc++-v3
24453 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24454 r=`${PWD_COMMAND}`; export r; \
24455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24456 $(SET_LIB_PATH) \
24457 $(RAW_CXX_TARGET_EXPORTS) \
24458 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24459 for flag in $(EXTRA_TARGET_FLAGS); do \
24460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24461 done; \
24462 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24465 "RANLIB=$${RANLIB}" \
24466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24467 install-info) \
24468 || exit 1
24470 @endif target-libstdc++-v3
24472 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24473 maybe-installcheck-target-libstdc++-v3:
24474 @if target-libstdc++-v3
24475 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24477 installcheck-target-libstdc++-v3: \
24478 configure-target-libstdc++-v3
24479 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(SET_LIB_PATH) \
24483 $(RAW_CXX_TARGET_EXPORTS) \
24484 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24485 for flag in $(EXTRA_TARGET_FLAGS); do \
24486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24487 done; \
24488 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24491 "RANLIB=$${RANLIB}" \
24492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24493 installcheck) \
24494 || exit 1
24496 @endif target-libstdc++-v3
24498 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24499 maybe-mostlyclean-target-libstdc++-v3:
24500 @if target-libstdc++-v3
24501 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24503 mostlyclean-target-libstdc++-v3:
24504 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24505 r=`${PWD_COMMAND}`; export r; \
24506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507 $(SET_LIB_PATH) \
24508 $(RAW_CXX_TARGET_EXPORTS) \
24509 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24510 for flag in $(EXTRA_TARGET_FLAGS); do \
24511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24512 done; \
24513 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24516 "RANLIB=$${RANLIB}" \
24517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24518 mostlyclean) \
24519 || exit 1
24521 @endif target-libstdc++-v3
24523 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24524 maybe-clean-target-libstdc++-v3:
24525 @if target-libstdc++-v3
24526 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24528 clean-target-libstdc++-v3:
24529 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24530 r=`${PWD_COMMAND}`; export r; \
24531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24532 $(SET_LIB_PATH) \
24533 $(RAW_CXX_TARGET_EXPORTS) \
24534 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24535 for flag in $(EXTRA_TARGET_FLAGS); do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 done; \
24538 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24541 "RANLIB=$${RANLIB}" \
24542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24543 clean) \
24544 || exit 1
24546 @endif target-libstdc++-v3
24548 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24549 maybe-distclean-target-libstdc++-v3:
24550 @if target-libstdc++-v3
24551 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24553 distclean-target-libstdc++-v3:
24554 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24555 r=`${PWD_COMMAND}`; export r; \
24556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24557 $(SET_LIB_PATH) \
24558 $(RAW_CXX_TARGET_EXPORTS) \
24559 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24560 for flag in $(EXTRA_TARGET_FLAGS); do \
24561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24562 done; \
24563 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24566 "RANLIB=$${RANLIB}" \
24567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24568 distclean) \
24569 || exit 1
24571 @endif target-libstdc++-v3
24573 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24574 maybe-maintainer-clean-target-libstdc++-v3:
24575 @if target-libstdc++-v3
24576 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24578 maintainer-clean-target-libstdc++-v3:
24579 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24580 r=`${PWD_COMMAND}`; export r; \
24581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24582 $(SET_LIB_PATH) \
24583 $(RAW_CXX_TARGET_EXPORTS) \
24584 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24585 for flag in $(EXTRA_TARGET_FLAGS); do \
24586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24587 done; \
24588 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24591 "RANLIB=$${RANLIB}" \
24592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24593 maintainer-clean) \
24594 || exit 1
24596 @endif target-libstdc++-v3
24599 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24600 maybe-configure-target-libmudflap:
24601 @if target-libmudflap
24602 maybe-configure-target-libmudflap: configure-target-libmudflap
24604 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24605 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24607 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24608 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24610 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24611 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24613 r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24615 $(SET_LIB_PATH) \
24616 $(NORMAL_TARGET_EXPORTS) \
24617 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24618 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24619 case $(srcdir) in \
24620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24621 *) topdir="../../$(srcdir)" ;; \
24622 esac; \
24623 if [ "$(srcdir)" = "." ] ; then \
24624 if $(SHELL) $$s/symlink-tree $${topdir}/libmudflap "no-such-file" ; then \
24625 if [ -f Makefile ]; then \
24626 if $(MAKE) distclean; then \
24627 true; \
24628 else \
24629 exit 1; \
24630 fi; \
24631 else \
24632 true; \
24633 fi; \
24634 else \
24635 exit 1; \
24636 fi; \
24637 if [ -d ../include ] ; then \
24638 true; \
24639 else \
24640 mkdir ../include; \
24641 cd ../include; \
24642 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
24643 cd ../libmudflap; \
24644 fi; \
24645 srcdiroption="--srcdir=."; \
24646 libsrcdir="."; \
24647 else \
24648 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24649 libsrcdir="$$s/libmudflap"; \
24650 fi; \
24651 rm -f no-such-file || : ; \
24652 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24653 $(TARGET_CONFIGARGS) $${srcdiroption} \
24654 --with-target-subdir="$(TARGET_SUBDIR)" \
24655 || exit 1
24656 @endif target-libmudflap
24658 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24659 maybe-all-target-libmudflap:
24660 @if target-libmudflap
24661 TARGET-target-libmudflap=all
24662 maybe-all-target-libmudflap: all-target-libmudflap
24663 all-target-libmudflap: configure-target-libmudflap
24664 @r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(SET_LIB_PATH) \
24667 $(NORMAL_TARGET_EXPORTS) \
24668 (cd $(TARGET_SUBDIR)/libmudflap && \
24669 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24670 @endif target-libmudflap
24672 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24673 maybe-check-target-libmudflap:
24674 @if target-libmudflap
24675 maybe-check-target-libmudflap: check-target-libmudflap
24677 check-target-libmudflap:
24678 @r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(SET_LIB_PATH) \
24681 $(NORMAL_TARGET_EXPORTS) \
24682 (cd $(TARGET_SUBDIR)/libmudflap && \
24683 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24685 @endif target-libmudflap
24687 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24688 maybe-install-target-libmudflap:
24689 @if target-libmudflap
24690 maybe-install-target-libmudflap: install-target-libmudflap
24692 install-target-libmudflap: installdirs
24693 @r=`${PWD_COMMAND}`; export r; \
24694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24695 $(SET_LIB_PATH) \
24696 $(NORMAL_TARGET_EXPORTS) \
24697 (cd $(TARGET_SUBDIR)/libmudflap && \
24698 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24700 @endif target-libmudflap
24702 # Other targets (info, dvi, etc.)
24704 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24705 maybe-info-target-libmudflap:
24706 @if target-libmudflap
24707 maybe-info-target-libmudflap: info-target-libmudflap
24709 info-target-libmudflap: \
24710 configure-target-libmudflap
24711 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24712 r=`${PWD_COMMAND}`; export r; \
24713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24714 $(SET_LIB_PATH) \
24715 $(NORMAL_TARGET_EXPORTS) \
24716 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24717 for flag in $(EXTRA_TARGET_FLAGS); do \
24718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24719 done; \
24720 (cd $(TARGET_SUBDIR)/libmudflap && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24725 info) \
24726 || exit 1
24728 @endif target-libmudflap
24730 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24731 maybe-dvi-target-libmudflap:
24732 @if target-libmudflap
24733 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24735 dvi-target-libmudflap: \
24736 configure-target-libmudflap
24737 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24738 r=`${PWD_COMMAND}`; export r; \
24739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24740 $(SET_LIB_PATH) \
24741 $(NORMAL_TARGET_EXPORTS) \
24742 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24743 for flag in $(EXTRA_TARGET_FLAGS); do \
24744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24745 done; \
24746 (cd $(TARGET_SUBDIR)/libmudflap && \
24747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749 "RANLIB=$${RANLIB}" \
24750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24751 dvi) \
24752 || exit 1
24754 @endif target-libmudflap
24756 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24757 maybe-html-target-libmudflap:
24758 @if target-libmudflap
24759 maybe-html-target-libmudflap: html-target-libmudflap
24761 html-target-libmudflap: \
24762 configure-target-libmudflap
24763 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24764 r=`${PWD_COMMAND}`; export r; \
24765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24766 $(SET_LIB_PATH) \
24767 $(NORMAL_TARGET_EXPORTS) \
24768 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24769 for flag in $(EXTRA_TARGET_FLAGS); do \
24770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24771 done; \
24772 (cd $(TARGET_SUBDIR)/libmudflap && \
24773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24775 "RANLIB=$${RANLIB}" \
24776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24777 html) \
24778 || exit 1
24780 @endif target-libmudflap
24782 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24783 maybe-TAGS-target-libmudflap:
24784 @if target-libmudflap
24785 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24787 TAGS-target-libmudflap: \
24788 configure-target-libmudflap
24789 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24790 r=`${PWD_COMMAND}`; export r; \
24791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24792 $(SET_LIB_PATH) \
24793 $(NORMAL_TARGET_EXPORTS) \
24794 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24795 for flag in $(EXTRA_TARGET_FLAGS); do \
24796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24797 done; \
24798 (cd $(TARGET_SUBDIR)/libmudflap && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24803 TAGS) \
24804 || exit 1
24806 @endif target-libmudflap
24808 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24809 maybe-install-info-target-libmudflap:
24810 @if target-libmudflap
24811 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24813 install-info-target-libmudflap: \
24814 configure-target-libmudflap \
24815 info-target-libmudflap
24816 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24817 r=`${PWD_COMMAND}`; export r; \
24818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24819 $(SET_LIB_PATH) \
24820 $(NORMAL_TARGET_EXPORTS) \
24821 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24822 for flag in $(EXTRA_TARGET_FLAGS); do \
24823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24824 done; \
24825 (cd $(TARGET_SUBDIR)/libmudflap && \
24826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24828 "RANLIB=$${RANLIB}" \
24829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24830 install-info) \
24831 || exit 1
24833 @endif target-libmudflap
24835 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24836 maybe-installcheck-target-libmudflap:
24837 @if target-libmudflap
24838 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24840 installcheck-target-libmudflap: \
24841 configure-target-libmudflap
24842 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24843 r=`${PWD_COMMAND}`; export r; \
24844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24845 $(SET_LIB_PATH) \
24846 $(NORMAL_TARGET_EXPORTS) \
24847 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24848 for flag in $(EXTRA_TARGET_FLAGS); do \
24849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24850 done; \
24851 (cd $(TARGET_SUBDIR)/libmudflap && \
24852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24854 "RANLIB=$${RANLIB}" \
24855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24856 installcheck) \
24857 || exit 1
24859 @endif target-libmudflap
24861 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24862 maybe-mostlyclean-target-libmudflap:
24863 @if target-libmudflap
24864 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24866 mostlyclean-target-libmudflap:
24867 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24868 r=`${PWD_COMMAND}`; export r; \
24869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24870 $(SET_LIB_PATH) \
24871 $(NORMAL_TARGET_EXPORTS) \
24872 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24873 for flag in $(EXTRA_TARGET_FLAGS); do \
24874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24875 done; \
24876 (cd $(TARGET_SUBDIR)/libmudflap && \
24877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24879 "RANLIB=$${RANLIB}" \
24880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24881 mostlyclean) \
24882 || exit 1
24884 @endif target-libmudflap
24886 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24887 maybe-clean-target-libmudflap:
24888 @if target-libmudflap
24889 maybe-clean-target-libmudflap: clean-target-libmudflap
24891 clean-target-libmudflap:
24892 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24893 r=`${PWD_COMMAND}`; export r; \
24894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24895 $(SET_LIB_PATH) \
24896 $(NORMAL_TARGET_EXPORTS) \
24897 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24898 for flag in $(EXTRA_TARGET_FLAGS); do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 (cd $(TARGET_SUBDIR)/libmudflap && \
24902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24904 "RANLIB=$${RANLIB}" \
24905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24906 clean) \
24907 || exit 1
24909 @endif target-libmudflap
24911 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24912 maybe-distclean-target-libmudflap:
24913 @if target-libmudflap
24914 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24916 distclean-target-libmudflap:
24917 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24918 r=`${PWD_COMMAND}`; export r; \
24919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24920 $(SET_LIB_PATH) \
24921 $(NORMAL_TARGET_EXPORTS) \
24922 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24923 for flag in $(EXTRA_TARGET_FLAGS); do \
24924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24925 done; \
24926 (cd $(TARGET_SUBDIR)/libmudflap && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24931 distclean) \
24932 || exit 1
24934 @endif target-libmudflap
24936 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24937 maybe-maintainer-clean-target-libmudflap:
24938 @if target-libmudflap
24939 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24941 maintainer-clean-target-libmudflap:
24942 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24943 r=`${PWD_COMMAND}`; export r; \
24944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24945 $(SET_LIB_PATH) \
24946 $(NORMAL_TARGET_EXPORTS) \
24947 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24948 for flag in $(EXTRA_TARGET_FLAGS); do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 (cd $(TARGET_SUBDIR)/libmudflap && \
24952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24954 "RANLIB=$${RANLIB}" \
24955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24956 maintainer-clean) \
24957 || exit 1
24959 @endif target-libmudflap
24962 .PHONY: configure-target-newlib maybe-configure-target-newlib
24963 maybe-configure-target-newlib:
24964 @if target-newlib
24965 maybe-configure-target-newlib: configure-target-newlib
24967 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24968 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24970 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24971 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24973 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24974 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24976 r=`${PWD_COMMAND}`; export r; \
24977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24978 $(SET_LIB_PATH) \
24979 $(NORMAL_TARGET_EXPORTS) \
24980 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24981 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24982 case $(srcdir) in \
24983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24984 *) topdir="../../$(srcdir)" ;; \
24985 esac; \
24986 if [ "$(srcdir)" = "." ] ; then \
24987 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
24988 if [ -f Makefile ]; then \
24989 if $(MAKE) distclean; then \
24990 true; \
24991 else \
24992 exit 1; \
24993 fi; \
24994 else \
24995 true; \
24996 fi; \
24997 else \
24998 exit 1; \
24999 fi; \
25000 if [ -d ../include ] ; then \
25001 true; \
25002 else \
25003 mkdir ../include; \
25004 cd ../include; \
25005 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
25006 cd ../newlib; \
25007 fi; \
25008 srcdiroption="--srcdir=."; \
25009 libsrcdir="."; \
25010 else \
25011 srcdiroption="--srcdir=$${topdir}/newlib"; \
25012 libsrcdir="$$s/newlib"; \
25013 fi; \
25014 rm -f no-such-file || : ; \
25015 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25016 $(TARGET_CONFIGARGS) $${srcdiroption} \
25017 --with-target-subdir="$(TARGET_SUBDIR)" \
25018 || exit 1
25019 @endif target-newlib
25021 .PHONY: all-target-newlib maybe-all-target-newlib
25022 maybe-all-target-newlib:
25023 @if target-newlib
25024 TARGET-target-newlib=all
25025 maybe-all-target-newlib: all-target-newlib
25026 all-target-newlib: configure-target-newlib
25027 @r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(SET_LIB_PATH) \
25030 $(NORMAL_TARGET_EXPORTS) \
25031 (cd $(TARGET_SUBDIR)/newlib && \
25032 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
25033 @endif target-newlib
25035 .PHONY: check-target-newlib maybe-check-target-newlib
25036 maybe-check-target-newlib:
25037 @if target-newlib
25038 maybe-check-target-newlib: check-target-newlib
25040 check-target-newlib:
25041 @r=`${PWD_COMMAND}`; export r; \
25042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25043 $(SET_LIB_PATH) \
25044 $(NORMAL_TARGET_EXPORTS) \
25045 (cd $(TARGET_SUBDIR)/newlib && \
25046 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25048 @endif target-newlib
25050 .PHONY: install-target-newlib maybe-install-target-newlib
25051 maybe-install-target-newlib:
25052 @if target-newlib
25053 maybe-install-target-newlib: install-target-newlib
25055 install-target-newlib: installdirs
25056 @r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(SET_LIB_PATH) \
25059 $(NORMAL_TARGET_EXPORTS) \
25060 (cd $(TARGET_SUBDIR)/newlib && \
25061 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25063 @endif target-newlib
25065 # Other targets (info, dvi, etc.)
25067 .PHONY: maybe-info-target-newlib info-target-newlib
25068 maybe-info-target-newlib:
25069 @if target-newlib
25070 maybe-info-target-newlib: info-target-newlib
25072 info-target-newlib: \
25073 configure-target-newlib
25074 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25075 r=`${PWD_COMMAND}`; export r; \
25076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25077 $(SET_LIB_PATH) \
25078 $(NORMAL_TARGET_EXPORTS) \
25079 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25080 for flag in $(EXTRA_TARGET_FLAGS); do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 (cd $(TARGET_SUBDIR)/newlib && \
25084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25086 "RANLIB=$${RANLIB}" \
25087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25088 info) \
25089 || exit 1
25091 @endif target-newlib
25093 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25094 maybe-dvi-target-newlib:
25095 @if target-newlib
25096 maybe-dvi-target-newlib: dvi-target-newlib
25098 dvi-target-newlib: \
25099 configure-target-newlib
25100 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25101 r=`${PWD_COMMAND}`; export r; \
25102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25103 $(SET_LIB_PATH) \
25104 $(NORMAL_TARGET_EXPORTS) \
25105 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25106 for flag in $(EXTRA_TARGET_FLAGS); do \
25107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25108 done; \
25109 (cd $(TARGET_SUBDIR)/newlib && \
25110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25112 "RANLIB=$${RANLIB}" \
25113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25114 dvi) \
25115 || exit 1
25117 @endif target-newlib
25119 .PHONY: maybe-html-target-newlib html-target-newlib
25120 maybe-html-target-newlib:
25121 @if target-newlib
25122 maybe-html-target-newlib: html-target-newlib
25124 html-target-newlib: \
25125 configure-target-newlib
25126 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25127 r=`${PWD_COMMAND}`; export r; \
25128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25129 $(SET_LIB_PATH) \
25130 $(NORMAL_TARGET_EXPORTS) \
25131 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25132 for flag in $(EXTRA_TARGET_FLAGS); do \
25133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25134 done; \
25135 (cd $(TARGET_SUBDIR)/newlib && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25140 html) \
25141 || exit 1
25143 @endif target-newlib
25145 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25146 maybe-TAGS-target-newlib:
25147 @if target-newlib
25148 maybe-TAGS-target-newlib: TAGS-target-newlib
25150 TAGS-target-newlib: \
25151 configure-target-newlib
25152 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25153 r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(SET_LIB_PATH) \
25156 $(NORMAL_TARGET_EXPORTS) \
25157 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25158 for flag in $(EXTRA_TARGET_FLAGS); do \
25159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25160 done; \
25161 (cd $(TARGET_SUBDIR)/newlib && \
25162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25164 "RANLIB=$${RANLIB}" \
25165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25166 TAGS) \
25167 || exit 1
25169 @endif target-newlib
25171 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25172 maybe-install-info-target-newlib:
25173 @if target-newlib
25174 maybe-install-info-target-newlib: install-info-target-newlib
25176 install-info-target-newlib: \
25177 configure-target-newlib \
25178 info-target-newlib
25179 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25180 r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 $(SET_LIB_PATH) \
25183 $(NORMAL_TARGET_EXPORTS) \
25184 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25185 for flag in $(EXTRA_TARGET_FLAGS); do \
25186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25187 done; \
25188 (cd $(TARGET_SUBDIR)/newlib && \
25189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25191 "RANLIB=$${RANLIB}" \
25192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25193 install-info) \
25194 || exit 1
25196 @endif target-newlib
25198 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25199 maybe-installcheck-target-newlib:
25200 @if target-newlib
25201 maybe-installcheck-target-newlib: installcheck-target-newlib
25203 installcheck-target-newlib: \
25204 configure-target-newlib
25205 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25206 r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(SET_LIB_PATH) \
25209 $(NORMAL_TARGET_EXPORTS) \
25210 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25211 for flag in $(EXTRA_TARGET_FLAGS); do \
25212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25213 done; \
25214 (cd $(TARGET_SUBDIR)/newlib && \
25215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25217 "RANLIB=$${RANLIB}" \
25218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25219 installcheck) \
25220 || exit 1
25222 @endif target-newlib
25224 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25225 maybe-mostlyclean-target-newlib:
25226 @if target-newlib
25227 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25229 mostlyclean-target-newlib:
25230 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25231 r=`${PWD_COMMAND}`; export r; \
25232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25233 $(SET_LIB_PATH) \
25234 $(NORMAL_TARGET_EXPORTS) \
25235 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25236 for flag in $(EXTRA_TARGET_FLAGS); do \
25237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25238 done; \
25239 (cd $(TARGET_SUBDIR)/newlib && \
25240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25242 "RANLIB=$${RANLIB}" \
25243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25244 mostlyclean) \
25245 || exit 1
25247 @endif target-newlib
25249 .PHONY: maybe-clean-target-newlib clean-target-newlib
25250 maybe-clean-target-newlib:
25251 @if target-newlib
25252 maybe-clean-target-newlib: clean-target-newlib
25254 clean-target-newlib:
25255 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25256 r=`${PWD_COMMAND}`; export r; \
25257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25258 $(SET_LIB_PATH) \
25259 $(NORMAL_TARGET_EXPORTS) \
25260 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25261 for flag in $(EXTRA_TARGET_FLAGS); do \
25262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25263 done; \
25264 (cd $(TARGET_SUBDIR)/newlib && \
25265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25267 "RANLIB=$${RANLIB}" \
25268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25269 clean) \
25270 || exit 1
25272 @endif target-newlib
25274 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25275 maybe-distclean-target-newlib:
25276 @if target-newlib
25277 maybe-distclean-target-newlib: distclean-target-newlib
25279 distclean-target-newlib:
25280 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25281 r=`${PWD_COMMAND}`; export r; \
25282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25283 $(SET_LIB_PATH) \
25284 $(NORMAL_TARGET_EXPORTS) \
25285 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25286 for flag in $(EXTRA_TARGET_FLAGS); do \
25287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25288 done; \
25289 (cd $(TARGET_SUBDIR)/newlib && \
25290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25292 "RANLIB=$${RANLIB}" \
25293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25294 distclean) \
25295 || exit 1
25297 @endif target-newlib
25299 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25300 maybe-maintainer-clean-target-newlib:
25301 @if target-newlib
25302 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25304 maintainer-clean-target-newlib:
25305 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25306 r=`${PWD_COMMAND}`; export r; \
25307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25308 $(SET_LIB_PATH) \
25309 $(NORMAL_TARGET_EXPORTS) \
25310 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25311 for flag in $(EXTRA_TARGET_FLAGS); do \
25312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25313 done; \
25314 (cd $(TARGET_SUBDIR)/newlib && \
25315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25317 "RANLIB=$${RANLIB}" \
25318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25319 maintainer-clean) \
25320 || exit 1
25322 @endif target-newlib
25325 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25326 maybe-configure-target-libgfortran:
25327 @if target-libgfortran
25328 maybe-configure-target-libgfortran: configure-target-libgfortran
25330 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25331 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25333 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25334 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25336 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25337 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25339 r=`${PWD_COMMAND}`; export r; \
25340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 $(SET_LIB_PATH) \
25342 $(NORMAL_TARGET_EXPORTS) \
25343 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25344 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25345 case $(srcdir) in \
25346 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25347 *) topdir="../../$(srcdir)" ;; \
25348 esac; \
25349 if [ "$(srcdir)" = "." ] ; then \
25350 if $(SHELL) $$s/symlink-tree $${topdir}/libgfortran "no-such-file" ; then \
25351 if [ -f Makefile ]; then \
25352 if $(MAKE) distclean; then \
25353 true; \
25354 else \
25355 exit 1; \
25356 fi; \
25357 else \
25358 true; \
25359 fi; \
25360 else \
25361 exit 1; \
25362 fi; \
25363 if [ -d ../include ] ; then \
25364 true; \
25365 else \
25366 mkdir ../include; \
25367 cd ../include; \
25368 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
25369 cd ../libgfortran; \
25370 fi; \
25371 srcdiroption="--srcdir=."; \
25372 libsrcdir="."; \
25373 else \
25374 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25375 libsrcdir="$$s/libgfortran"; \
25376 fi; \
25377 rm -f no-such-file || : ; \
25378 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25379 $(TARGET_CONFIGARGS) $${srcdiroption} \
25380 --with-target-subdir="$(TARGET_SUBDIR)" \
25381 || exit 1
25382 @endif target-libgfortran
25384 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25385 maybe-all-target-libgfortran:
25386 @if target-libgfortran
25387 TARGET-target-libgfortran=all
25388 maybe-all-target-libgfortran: all-target-libgfortran
25389 all-target-libgfortran: configure-target-libgfortran
25390 @r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(SET_LIB_PATH) \
25393 $(NORMAL_TARGET_EXPORTS) \
25394 (cd $(TARGET_SUBDIR)/libgfortran && \
25395 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25396 @endif target-libgfortran
25398 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25399 maybe-check-target-libgfortran:
25400 @if target-libgfortran
25401 maybe-check-target-libgfortran: check-target-libgfortran
25403 check-target-libgfortran:
25404 @r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 $(SET_LIB_PATH) \
25407 $(NORMAL_TARGET_EXPORTS) \
25408 (cd $(TARGET_SUBDIR)/libgfortran && \
25409 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25411 @endif target-libgfortran
25413 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25414 maybe-install-target-libgfortran:
25415 @if target-libgfortran
25416 maybe-install-target-libgfortran: install-target-libgfortran
25418 install-target-libgfortran: installdirs
25419 @r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(SET_LIB_PATH) \
25422 $(NORMAL_TARGET_EXPORTS) \
25423 (cd $(TARGET_SUBDIR)/libgfortran && \
25424 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25426 @endif target-libgfortran
25428 # Other targets (info, dvi, etc.)
25430 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25431 maybe-info-target-libgfortran:
25432 @if target-libgfortran
25433 maybe-info-target-libgfortran: info-target-libgfortran
25435 info-target-libgfortran: \
25436 configure-target-libgfortran
25437 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25438 r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(SET_LIB_PATH) \
25441 $(NORMAL_TARGET_EXPORTS) \
25442 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25443 for flag in $(EXTRA_TARGET_FLAGS); do \
25444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25445 done; \
25446 (cd $(TARGET_SUBDIR)/libgfortran && \
25447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25449 "RANLIB=$${RANLIB}" \
25450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25451 info) \
25452 || exit 1
25454 @endif target-libgfortran
25456 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25457 maybe-dvi-target-libgfortran:
25458 @if target-libgfortran
25459 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25461 dvi-target-libgfortran: \
25462 configure-target-libgfortran
25463 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25464 r=`${PWD_COMMAND}`; export r; \
25465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25466 $(SET_LIB_PATH) \
25467 $(NORMAL_TARGET_EXPORTS) \
25468 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25469 for flag in $(EXTRA_TARGET_FLAGS); do \
25470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25471 done; \
25472 (cd $(TARGET_SUBDIR)/libgfortran && \
25473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25475 "RANLIB=$${RANLIB}" \
25476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25477 dvi) \
25478 || exit 1
25480 @endif target-libgfortran
25482 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25483 maybe-html-target-libgfortran:
25484 @if target-libgfortran
25485 maybe-html-target-libgfortran: html-target-libgfortran
25487 html-target-libgfortran: \
25488 configure-target-libgfortran
25489 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25490 r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 $(SET_LIB_PATH) \
25493 $(NORMAL_TARGET_EXPORTS) \
25494 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25495 for flag in $(EXTRA_TARGET_FLAGS); do \
25496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25497 done; \
25498 (cd $(TARGET_SUBDIR)/libgfortran && \
25499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25501 "RANLIB=$${RANLIB}" \
25502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25503 html) \
25504 || exit 1
25506 @endif target-libgfortran
25508 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25509 maybe-TAGS-target-libgfortran:
25510 @if target-libgfortran
25511 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25513 TAGS-target-libgfortran: \
25514 configure-target-libgfortran
25515 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25516 r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 $(SET_LIB_PATH) \
25519 $(NORMAL_TARGET_EXPORTS) \
25520 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25521 for flag in $(EXTRA_TARGET_FLAGS); do \
25522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25523 done; \
25524 (cd $(TARGET_SUBDIR)/libgfortran && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25527 "RANLIB=$${RANLIB}" \
25528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25529 TAGS) \
25530 || exit 1
25532 @endif target-libgfortran
25534 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25535 maybe-install-info-target-libgfortran:
25536 @if target-libgfortran
25537 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25539 install-info-target-libgfortran: \
25540 configure-target-libgfortran \
25541 info-target-libgfortran
25542 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(SET_LIB_PATH) \
25546 $(NORMAL_TARGET_EXPORTS) \
25547 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25548 for flag in $(EXTRA_TARGET_FLAGS); do \
25549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25550 done; \
25551 (cd $(TARGET_SUBDIR)/libgfortran && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25556 install-info) \
25557 || exit 1
25559 @endif target-libgfortran
25561 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25562 maybe-installcheck-target-libgfortran:
25563 @if target-libgfortran
25564 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25566 installcheck-target-libgfortran: \
25567 configure-target-libgfortran
25568 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25569 r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 $(SET_LIB_PATH) \
25572 $(NORMAL_TARGET_EXPORTS) \
25573 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25574 for flag in $(EXTRA_TARGET_FLAGS); do \
25575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576 done; \
25577 (cd $(TARGET_SUBDIR)/libgfortran && \
25578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25580 "RANLIB=$${RANLIB}" \
25581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25582 installcheck) \
25583 || exit 1
25585 @endif target-libgfortran
25587 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25588 maybe-mostlyclean-target-libgfortran:
25589 @if target-libgfortran
25590 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25592 mostlyclean-target-libgfortran:
25593 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25594 r=`${PWD_COMMAND}`; export r; \
25595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25596 $(SET_LIB_PATH) \
25597 $(NORMAL_TARGET_EXPORTS) \
25598 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25599 for flag in $(EXTRA_TARGET_FLAGS); do \
25600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25601 done; \
25602 (cd $(TARGET_SUBDIR)/libgfortran && \
25603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25605 "RANLIB=$${RANLIB}" \
25606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25607 mostlyclean) \
25608 || exit 1
25610 @endif target-libgfortran
25612 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25613 maybe-clean-target-libgfortran:
25614 @if target-libgfortran
25615 maybe-clean-target-libgfortran: clean-target-libgfortran
25617 clean-target-libgfortran:
25618 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25619 r=`${PWD_COMMAND}`; export r; \
25620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 $(SET_LIB_PATH) \
25622 $(NORMAL_TARGET_EXPORTS) \
25623 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25624 for flag in $(EXTRA_TARGET_FLAGS); do \
25625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25626 done; \
25627 (cd $(TARGET_SUBDIR)/libgfortran && \
25628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25630 "RANLIB=$${RANLIB}" \
25631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25632 clean) \
25633 || exit 1
25635 @endif target-libgfortran
25637 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25638 maybe-distclean-target-libgfortran:
25639 @if target-libgfortran
25640 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25642 distclean-target-libgfortran:
25643 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25644 r=`${PWD_COMMAND}`; export r; \
25645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646 $(SET_LIB_PATH) \
25647 $(NORMAL_TARGET_EXPORTS) \
25648 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25649 for flag in $(EXTRA_TARGET_FLAGS); do \
25650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25651 done; \
25652 (cd $(TARGET_SUBDIR)/libgfortran && \
25653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25655 "RANLIB=$${RANLIB}" \
25656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25657 distclean) \
25658 || exit 1
25660 @endif target-libgfortran
25662 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25663 maybe-maintainer-clean-target-libgfortran:
25664 @if target-libgfortran
25665 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25667 maintainer-clean-target-libgfortran:
25668 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25669 r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671 $(SET_LIB_PATH) \
25672 $(NORMAL_TARGET_EXPORTS) \
25673 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25674 for flag in $(EXTRA_TARGET_FLAGS); do \
25675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25676 done; \
25677 (cd $(TARGET_SUBDIR)/libgfortran && \
25678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25680 "RANLIB=$${RANLIB}" \
25681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25682 maintainer-clean) \
25683 || exit 1
25685 @endif target-libgfortran
25688 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25689 maybe-configure-target-libobjc:
25690 @if target-libobjc
25691 maybe-configure-target-libobjc: configure-target-libobjc
25693 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25694 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25696 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25697 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25699 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25700 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25701 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(SET_LIB_PATH) \
25705 $(NORMAL_TARGET_EXPORTS) \
25706 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25707 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25708 case $(srcdir) in \
25709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25710 *) topdir="../../$(srcdir)" ;; \
25711 esac; \
25712 if [ "$(srcdir)" = "." ] ; then \
25713 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
25714 if [ -f Makefile ]; then \
25715 if $(MAKE) distclean; then \
25716 true; \
25717 else \
25718 exit 1; \
25719 fi; \
25720 else \
25721 true; \
25722 fi; \
25723 else \
25724 exit 1; \
25725 fi; \
25726 if [ -d ../include ] ; then \
25727 true; \
25728 else \
25729 mkdir ../include; \
25730 cd ../include; \
25731 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
25732 cd ../libobjc; \
25733 fi; \
25734 srcdiroption="--srcdir=."; \
25735 libsrcdir="."; \
25736 else \
25737 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25738 libsrcdir="$$s/libobjc"; \
25739 fi; \
25740 rm -f no-such-file || : ; \
25741 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25742 $(TARGET_CONFIGARGS) $${srcdiroption} \
25743 --with-target-subdir="$(TARGET_SUBDIR)" \
25744 || exit 1
25745 @endif target-libobjc
25747 .PHONY: all-target-libobjc maybe-all-target-libobjc
25748 maybe-all-target-libobjc:
25749 @if target-libobjc
25750 TARGET-target-libobjc=all
25751 maybe-all-target-libobjc: all-target-libobjc
25752 all-target-libobjc: configure-target-libobjc
25753 @r=`${PWD_COMMAND}`; export r; \
25754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25755 $(SET_LIB_PATH) \
25756 $(NORMAL_TARGET_EXPORTS) \
25757 (cd $(TARGET_SUBDIR)/libobjc && \
25758 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25759 @endif target-libobjc
25761 .PHONY: check-target-libobjc maybe-check-target-libobjc
25762 maybe-check-target-libobjc:
25763 @if target-libobjc
25764 maybe-check-target-libobjc: check-target-libobjc
25766 check-target-libobjc:
25767 @r=`${PWD_COMMAND}`; export r; \
25768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25769 $(SET_LIB_PATH) \
25770 $(NORMAL_TARGET_EXPORTS) \
25771 (cd $(TARGET_SUBDIR)/libobjc && \
25772 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25774 @endif target-libobjc
25776 .PHONY: install-target-libobjc maybe-install-target-libobjc
25777 maybe-install-target-libobjc:
25778 @if target-libobjc
25779 maybe-install-target-libobjc: install-target-libobjc
25781 install-target-libobjc: installdirs
25782 @r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(SET_LIB_PATH) \
25785 $(NORMAL_TARGET_EXPORTS) \
25786 (cd $(TARGET_SUBDIR)/libobjc && \
25787 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25789 @endif target-libobjc
25791 # Other targets (info, dvi, etc.)
25793 .PHONY: maybe-info-target-libobjc info-target-libobjc
25794 maybe-info-target-libobjc:
25795 @if target-libobjc
25796 maybe-info-target-libobjc: info-target-libobjc
25798 info-target-libobjc: \
25799 configure-target-libobjc
25800 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25801 r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(SET_LIB_PATH) \
25804 $(NORMAL_TARGET_EXPORTS) \
25805 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25806 for flag in $(EXTRA_TARGET_FLAGS); do \
25807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25808 done; \
25809 (cd $(TARGET_SUBDIR)/libobjc && \
25810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25812 "RANLIB=$${RANLIB}" \
25813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25814 info) \
25815 || exit 1
25817 @endif target-libobjc
25819 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25820 maybe-dvi-target-libobjc:
25821 @if target-libobjc
25822 maybe-dvi-target-libobjc: dvi-target-libobjc
25824 dvi-target-libobjc: \
25825 configure-target-libobjc
25826 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25827 r=`${PWD_COMMAND}`; export r; \
25828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25829 $(SET_LIB_PATH) \
25830 $(NORMAL_TARGET_EXPORTS) \
25831 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25832 for flag in $(EXTRA_TARGET_FLAGS); do \
25833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 done; \
25835 (cd $(TARGET_SUBDIR)/libobjc && \
25836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25838 "RANLIB=$${RANLIB}" \
25839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25840 dvi) \
25841 || exit 1
25843 @endif target-libobjc
25845 .PHONY: maybe-html-target-libobjc html-target-libobjc
25846 maybe-html-target-libobjc:
25847 @if target-libobjc
25848 maybe-html-target-libobjc: html-target-libobjc
25850 html-target-libobjc: \
25851 configure-target-libobjc
25852 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25853 r=`${PWD_COMMAND}`; export r; \
25854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25855 $(SET_LIB_PATH) \
25856 $(NORMAL_TARGET_EXPORTS) \
25857 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25858 for flag in $(EXTRA_TARGET_FLAGS); do \
25859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25860 done; \
25861 (cd $(TARGET_SUBDIR)/libobjc && \
25862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25864 "RANLIB=$${RANLIB}" \
25865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25866 html) \
25867 || exit 1
25869 @endif target-libobjc
25871 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25872 maybe-TAGS-target-libobjc:
25873 @if target-libobjc
25874 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25876 TAGS-target-libobjc: \
25877 configure-target-libobjc
25878 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25879 r=`${PWD_COMMAND}`; export r; \
25880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25881 $(SET_LIB_PATH) \
25882 $(NORMAL_TARGET_EXPORTS) \
25883 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25884 for flag in $(EXTRA_TARGET_FLAGS); do \
25885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25886 done; \
25887 (cd $(TARGET_SUBDIR)/libobjc && \
25888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25890 "RANLIB=$${RANLIB}" \
25891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25892 TAGS) \
25893 || exit 1
25895 @endif target-libobjc
25897 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25898 maybe-install-info-target-libobjc:
25899 @if target-libobjc
25900 maybe-install-info-target-libobjc: install-info-target-libobjc
25902 install-info-target-libobjc: \
25903 configure-target-libobjc \
25904 info-target-libobjc
25905 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25906 r=`${PWD_COMMAND}`; export r; \
25907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25908 $(SET_LIB_PATH) \
25909 $(NORMAL_TARGET_EXPORTS) \
25910 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25911 for flag in $(EXTRA_TARGET_FLAGS); do \
25912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25913 done; \
25914 (cd $(TARGET_SUBDIR)/libobjc && \
25915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25917 "RANLIB=$${RANLIB}" \
25918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25919 install-info) \
25920 || exit 1
25922 @endif target-libobjc
25924 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25925 maybe-installcheck-target-libobjc:
25926 @if target-libobjc
25927 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25929 installcheck-target-libobjc: \
25930 configure-target-libobjc
25931 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25932 r=`${PWD_COMMAND}`; export r; \
25933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25934 $(SET_LIB_PATH) \
25935 $(NORMAL_TARGET_EXPORTS) \
25936 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25937 for flag in $(EXTRA_TARGET_FLAGS); do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25939 done; \
25940 (cd $(TARGET_SUBDIR)/libobjc && \
25941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25943 "RANLIB=$${RANLIB}" \
25944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25945 installcheck) \
25946 || exit 1
25948 @endif target-libobjc
25950 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25951 maybe-mostlyclean-target-libobjc:
25952 @if target-libobjc
25953 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25955 mostlyclean-target-libobjc:
25956 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25957 r=`${PWD_COMMAND}`; export r; \
25958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25959 $(SET_LIB_PATH) \
25960 $(NORMAL_TARGET_EXPORTS) \
25961 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25962 for flag in $(EXTRA_TARGET_FLAGS); do \
25963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25964 done; \
25965 (cd $(TARGET_SUBDIR)/libobjc && \
25966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25968 "RANLIB=$${RANLIB}" \
25969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25970 mostlyclean) \
25971 || exit 1
25973 @endif target-libobjc
25975 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25976 maybe-clean-target-libobjc:
25977 @if target-libobjc
25978 maybe-clean-target-libobjc: clean-target-libobjc
25980 clean-target-libobjc:
25981 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25982 r=`${PWD_COMMAND}`; export r; \
25983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25984 $(SET_LIB_PATH) \
25985 $(NORMAL_TARGET_EXPORTS) \
25986 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25987 for flag in $(EXTRA_TARGET_FLAGS); do \
25988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25989 done; \
25990 (cd $(TARGET_SUBDIR)/libobjc && \
25991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25993 "RANLIB=$${RANLIB}" \
25994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25995 clean) \
25996 || exit 1
25998 @endif target-libobjc
26000 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
26001 maybe-distclean-target-libobjc:
26002 @if target-libobjc
26003 maybe-distclean-target-libobjc: distclean-target-libobjc
26005 distclean-target-libobjc:
26006 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26007 r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 $(SET_LIB_PATH) \
26010 $(NORMAL_TARGET_EXPORTS) \
26011 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
26012 for flag in $(EXTRA_TARGET_FLAGS); do \
26013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26014 done; \
26015 (cd $(TARGET_SUBDIR)/libobjc && \
26016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26018 "RANLIB=$${RANLIB}" \
26019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26020 distclean) \
26021 || exit 1
26023 @endif target-libobjc
26025 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
26026 maybe-maintainer-clean-target-libobjc:
26027 @if target-libobjc
26028 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
26030 maintainer-clean-target-libobjc:
26031 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
26032 r=`${PWD_COMMAND}`; export r; \
26033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26034 $(SET_LIB_PATH) \
26035 $(NORMAL_TARGET_EXPORTS) \
26036 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
26037 for flag in $(EXTRA_TARGET_FLAGS); do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 (cd $(TARGET_SUBDIR)/libobjc && \
26041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26043 "RANLIB=$${RANLIB}" \
26044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26045 maintainer-clean) \
26046 || exit 1
26048 @endif target-libobjc
26051 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
26052 maybe-configure-target-libtermcap:
26053 @if target-libtermcap
26054 maybe-configure-target-libtermcap: configure-target-libtermcap
26056 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26057 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
26058 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
26059 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
26060 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
26062 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
26063 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
26064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
26065 r=`${PWD_COMMAND}`; export r; \
26066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26067 $(SET_LIB_PATH) \
26068 $(NORMAL_TARGET_EXPORTS) \
26069 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
26070 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
26071 case $(srcdir) in \
26072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26073 *) topdir="../../$(srcdir)" ;; \
26074 esac; \
26075 if [ "$(srcdir)" = "." ] ; then \
26076 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
26077 if [ -f Makefile ]; then \
26078 if $(MAKE) distclean; then \
26079 true; \
26080 else \
26081 exit 1; \
26082 fi; \
26083 else \
26084 true; \
26085 fi; \
26086 else \
26087 exit 1; \
26088 fi; \
26089 if [ -d ../include ] ; then \
26090 true; \
26091 else \
26092 mkdir ../include; \
26093 cd ../include; \
26094 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
26095 cd ../libtermcap; \
26096 fi; \
26097 srcdiroption="--srcdir=."; \
26098 libsrcdir="."; \
26099 else \
26100 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26101 libsrcdir="$$s/libtermcap"; \
26102 fi; \
26103 rm -f no-such-file || : ; \
26104 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26105 $(TARGET_CONFIGARGS) $${srcdiroption} \
26106 --with-target-subdir="$(TARGET_SUBDIR)" \
26107 || exit 1
26108 @endif target-libtermcap
26110 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26111 maybe-all-target-libtermcap:
26112 @if target-libtermcap
26113 TARGET-target-libtermcap=all
26114 maybe-all-target-libtermcap: all-target-libtermcap
26115 all-target-libtermcap: configure-target-libtermcap
26116 @r=`${PWD_COMMAND}`; export r; \
26117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26118 $(SET_LIB_PATH) \
26119 $(NORMAL_TARGET_EXPORTS) \
26120 (cd $(TARGET_SUBDIR)/libtermcap && \
26121 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26122 @endif target-libtermcap
26124 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26125 maybe-check-target-libtermcap:
26126 @if target-libtermcap
26127 maybe-check-target-libtermcap: check-target-libtermcap
26129 # Dummy target for uncheckable module.
26130 check-target-libtermcap:
26132 @endif target-libtermcap
26134 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26135 maybe-install-target-libtermcap:
26136 @if target-libtermcap
26137 maybe-install-target-libtermcap: install-target-libtermcap
26139 install-target-libtermcap: installdirs
26140 @r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 $(SET_LIB_PATH) \
26143 $(NORMAL_TARGET_EXPORTS) \
26144 (cd $(TARGET_SUBDIR)/libtermcap && \
26145 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26147 @endif target-libtermcap
26149 # Other targets (info, dvi, etc.)
26151 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26152 maybe-info-target-libtermcap:
26153 @if target-libtermcap
26154 maybe-info-target-libtermcap: info-target-libtermcap
26156 info-target-libtermcap: \
26157 configure-target-libtermcap
26158 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26159 r=`${PWD_COMMAND}`; export r; \
26160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26161 $(SET_LIB_PATH) \
26162 $(NORMAL_TARGET_EXPORTS) \
26163 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26164 for flag in $(EXTRA_TARGET_FLAGS); do \
26165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26166 done; \
26167 (cd $(TARGET_SUBDIR)/libtermcap && \
26168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26170 "RANLIB=$${RANLIB}" \
26171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26172 info) \
26173 || exit 1
26175 @endif target-libtermcap
26177 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26178 maybe-dvi-target-libtermcap:
26179 @if target-libtermcap
26180 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26182 dvi-target-libtermcap: \
26183 configure-target-libtermcap
26184 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26185 r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 $(SET_LIB_PATH) \
26188 $(NORMAL_TARGET_EXPORTS) \
26189 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26190 for flag in $(EXTRA_TARGET_FLAGS); do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26192 done; \
26193 (cd $(TARGET_SUBDIR)/libtermcap && \
26194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26196 "RANLIB=$${RANLIB}" \
26197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26198 dvi) \
26199 || exit 1
26201 @endif target-libtermcap
26203 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26204 maybe-html-target-libtermcap:
26205 @if target-libtermcap
26206 maybe-html-target-libtermcap: html-target-libtermcap
26208 html-target-libtermcap: \
26209 configure-target-libtermcap
26210 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26211 r=`${PWD_COMMAND}`; export r; \
26212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26213 $(SET_LIB_PATH) \
26214 $(NORMAL_TARGET_EXPORTS) \
26215 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26216 for flag in $(EXTRA_TARGET_FLAGS); do \
26217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26218 done; \
26219 (cd $(TARGET_SUBDIR)/libtermcap && \
26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222 "RANLIB=$${RANLIB}" \
26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224 html) \
26225 || exit 1
26227 @endif target-libtermcap
26229 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26230 maybe-TAGS-target-libtermcap:
26231 @if target-libtermcap
26232 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26234 TAGS-target-libtermcap: \
26235 configure-target-libtermcap
26236 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26237 r=`${PWD_COMMAND}`; export r; \
26238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26239 $(SET_LIB_PATH) \
26240 $(NORMAL_TARGET_EXPORTS) \
26241 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26242 for flag in $(EXTRA_TARGET_FLAGS); do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26244 done; \
26245 (cd $(TARGET_SUBDIR)/libtermcap && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 TAGS) \
26251 || exit 1
26253 @endif target-libtermcap
26255 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26256 maybe-install-info-target-libtermcap:
26257 @if target-libtermcap
26258 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26260 install-info-target-libtermcap: \
26261 configure-target-libtermcap \
26262 info-target-libtermcap
26263 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26264 r=`${PWD_COMMAND}`; export r; \
26265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266 $(SET_LIB_PATH) \
26267 $(NORMAL_TARGET_EXPORTS) \
26268 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26269 for flag in $(EXTRA_TARGET_FLAGS); do \
26270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26271 done; \
26272 (cd $(TARGET_SUBDIR)/libtermcap && \
26273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26275 "RANLIB=$${RANLIB}" \
26276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26277 install-info) \
26278 || exit 1
26280 @endif target-libtermcap
26282 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26283 maybe-installcheck-target-libtermcap:
26284 @if target-libtermcap
26285 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26287 installcheck-target-libtermcap: \
26288 configure-target-libtermcap
26289 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26290 r=`${PWD_COMMAND}`; export r; \
26291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292 $(SET_LIB_PATH) \
26293 $(NORMAL_TARGET_EXPORTS) \
26294 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26295 for flag in $(EXTRA_TARGET_FLAGS); do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 (cd $(TARGET_SUBDIR)/libtermcap && \
26299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26301 "RANLIB=$${RANLIB}" \
26302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26303 installcheck) \
26304 || exit 1
26306 @endif target-libtermcap
26308 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26309 maybe-mostlyclean-target-libtermcap:
26310 @if target-libtermcap
26311 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26313 # libtermcap doesn't support mostlyclean.
26314 mostlyclean-target-libtermcap:
26316 @endif target-libtermcap
26318 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26319 maybe-clean-target-libtermcap:
26320 @if target-libtermcap
26321 maybe-clean-target-libtermcap: clean-target-libtermcap
26323 # libtermcap doesn't support clean.
26324 clean-target-libtermcap:
26326 @endif target-libtermcap
26328 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26329 maybe-distclean-target-libtermcap:
26330 @if target-libtermcap
26331 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26333 # libtermcap doesn't support distclean.
26334 distclean-target-libtermcap:
26336 @endif target-libtermcap
26338 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26339 maybe-maintainer-clean-target-libtermcap:
26340 @if target-libtermcap
26341 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26343 # libtermcap doesn't support maintainer-clean.
26344 maintainer-clean-target-libtermcap:
26346 @endif target-libtermcap
26349 .PHONY: configure-target-winsup maybe-configure-target-winsup
26350 maybe-configure-target-winsup:
26351 @if target-winsup
26352 maybe-configure-target-winsup: configure-target-winsup
26354 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26355 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26357 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26358 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26360 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26361 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26363 r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 $(SET_LIB_PATH) \
26366 $(NORMAL_TARGET_EXPORTS) \
26367 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26368 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26369 case $(srcdir) in \
26370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26371 *) topdir="../../$(srcdir)" ;; \
26372 esac; \
26373 if [ "$(srcdir)" = "." ] ; then \
26374 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
26375 if [ -f Makefile ]; then \
26376 if $(MAKE) distclean; then \
26377 true; \
26378 else \
26379 exit 1; \
26380 fi; \
26381 else \
26382 true; \
26383 fi; \
26384 else \
26385 exit 1; \
26386 fi; \
26387 if [ -d ../include ] ; then \
26388 true; \
26389 else \
26390 mkdir ../include; \
26391 cd ../include; \
26392 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
26393 cd ../winsup; \
26394 fi; \
26395 srcdiroption="--srcdir=."; \
26396 libsrcdir="."; \
26397 else \
26398 srcdiroption="--srcdir=$${topdir}/winsup"; \
26399 libsrcdir="$$s/winsup"; \
26400 fi; \
26401 rm -f no-such-file || : ; \
26402 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26403 $(TARGET_CONFIGARGS) $${srcdiroption} \
26404 --with-target-subdir="$(TARGET_SUBDIR)" \
26405 || exit 1
26406 @endif target-winsup
26408 .PHONY: all-target-winsup maybe-all-target-winsup
26409 maybe-all-target-winsup:
26410 @if target-winsup
26411 TARGET-target-winsup=all
26412 maybe-all-target-winsup: all-target-winsup
26413 all-target-winsup: configure-target-winsup
26414 @r=`${PWD_COMMAND}`; export r; \
26415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26416 $(SET_LIB_PATH) \
26417 $(NORMAL_TARGET_EXPORTS) \
26418 (cd $(TARGET_SUBDIR)/winsup && \
26419 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26420 @endif target-winsup
26422 .PHONY: check-target-winsup maybe-check-target-winsup
26423 maybe-check-target-winsup:
26424 @if target-winsup
26425 maybe-check-target-winsup: check-target-winsup
26427 check-target-winsup:
26428 @r=`${PWD_COMMAND}`; export r; \
26429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26430 $(SET_LIB_PATH) \
26431 $(NORMAL_TARGET_EXPORTS) \
26432 (cd $(TARGET_SUBDIR)/winsup && \
26433 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26435 @endif target-winsup
26437 .PHONY: install-target-winsup maybe-install-target-winsup
26438 maybe-install-target-winsup:
26439 @if target-winsup
26440 maybe-install-target-winsup: install-target-winsup
26442 install-target-winsup: installdirs
26443 @r=`${PWD_COMMAND}`; export r; \
26444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26445 $(SET_LIB_PATH) \
26446 $(NORMAL_TARGET_EXPORTS) \
26447 (cd $(TARGET_SUBDIR)/winsup && \
26448 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26450 @endif target-winsup
26452 # Other targets (info, dvi, etc.)
26454 .PHONY: maybe-info-target-winsup info-target-winsup
26455 maybe-info-target-winsup:
26456 @if target-winsup
26457 maybe-info-target-winsup: info-target-winsup
26459 info-target-winsup: \
26460 configure-target-winsup
26461 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26462 r=`${PWD_COMMAND}`; export r; \
26463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 $(SET_LIB_PATH) \
26465 $(NORMAL_TARGET_EXPORTS) \
26466 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26467 for flag in $(EXTRA_TARGET_FLAGS); do \
26468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26469 done; \
26470 (cd $(TARGET_SUBDIR)/winsup && \
26471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26473 "RANLIB=$${RANLIB}" \
26474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26475 info) \
26476 || exit 1
26478 @endif target-winsup
26480 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26481 maybe-dvi-target-winsup:
26482 @if target-winsup
26483 maybe-dvi-target-winsup: dvi-target-winsup
26485 dvi-target-winsup: \
26486 configure-target-winsup
26487 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26488 r=`${PWD_COMMAND}`; export r; \
26489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26490 $(SET_LIB_PATH) \
26491 $(NORMAL_TARGET_EXPORTS) \
26492 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26493 for flag in $(EXTRA_TARGET_FLAGS); do \
26494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26495 done; \
26496 (cd $(TARGET_SUBDIR)/winsup && \
26497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26499 "RANLIB=$${RANLIB}" \
26500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26501 dvi) \
26502 || exit 1
26504 @endif target-winsup
26506 .PHONY: maybe-html-target-winsup html-target-winsup
26507 maybe-html-target-winsup:
26508 @if target-winsup
26509 maybe-html-target-winsup: html-target-winsup
26511 html-target-winsup: \
26512 configure-target-winsup
26513 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26514 r=`${PWD_COMMAND}`; export r; \
26515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26516 $(SET_LIB_PATH) \
26517 $(NORMAL_TARGET_EXPORTS) \
26518 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26519 for flag in $(EXTRA_TARGET_FLAGS); do \
26520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26521 done; \
26522 (cd $(TARGET_SUBDIR)/winsup && \
26523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26525 "RANLIB=$${RANLIB}" \
26526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26527 html) \
26528 || exit 1
26530 @endif target-winsup
26532 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26533 maybe-TAGS-target-winsup:
26534 @if target-winsup
26535 maybe-TAGS-target-winsup: TAGS-target-winsup
26537 TAGS-target-winsup: \
26538 configure-target-winsup
26539 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26540 r=`${PWD_COMMAND}`; export r; \
26541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 $(SET_LIB_PATH) \
26543 $(NORMAL_TARGET_EXPORTS) \
26544 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26545 for flag in $(EXTRA_TARGET_FLAGS); do \
26546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26547 done; \
26548 (cd $(TARGET_SUBDIR)/winsup && \
26549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26551 "RANLIB=$${RANLIB}" \
26552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26553 TAGS) \
26554 || exit 1
26556 @endif target-winsup
26558 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26559 maybe-install-info-target-winsup:
26560 @if target-winsup
26561 maybe-install-info-target-winsup: install-info-target-winsup
26563 install-info-target-winsup: \
26564 configure-target-winsup \
26565 info-target-winsup
26566 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26567 r=`${PWD_COMMAND}`; export r; \
26568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26569 $(SET_LIB_PATH) \
26570 $(NORMAL_TARGET_EXPORTS) \
26571 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26572 for flag in $(EXTRA_TARGET_FLAGS); do \
26573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26574 done; \
26575 (cd $(TARGET_SUBDIR)/winsup && \
26576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26578 "RANLIB=$${RANLIB}" \
26579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26580 install-info) \
26581 || exit 1
26583 @endif target-winsup
26585 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26586 maybe-installcheck-target-winsup:
26587 @if target-winsup
26588 maybe-installcheck-target-winsup: installcheck-target-winsup
26590 installcheck-target-winsup: \
26591 configure-target-winsup
26592 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26593 r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(SET_LIB_PATH) \
26596 $(NORMAL_TARGET_EXPORTS) \
26597 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26598 for flag in $(EXTRA_TARGET_FLAGS); do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 done; \
26601 (cd $(TARGET_SUBDIR)/winsup && \
26602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604 "RANLIB=$${RANLIB}" \
26605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26606 installcheck) \
26607 || exit 1
26609 @endif target-winsup
26611 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26612 maybe-mostlyclean-target-winsup:
26613 @if target-winsup
26614 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26616 mostlyclean-target-winsup:
26617 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26618 r=`${PWD_COMMAND}`; export r; \
26619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26620 $(SET_LIB_PATH) \
26621 $(NORMAL_TARGET_EXPORTS) \
26622 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26623 for flag in $(EXTRA_TARGET_FLAGS); do \
26624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26625 done; \
26626 (cd $(TARGET_SUBDIR)/winsup && \
26627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26629 "RANLIB=$${RANLIB}" \
26630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26631 mostlyclean) \
26632 || exit 1
26634 @endif target-winsup
26636 .PHONY: maybe-clean-target-winsup clean-target-winsup
26637 maybe-clean-target-winsup:
26638 @if target-winsup
26639 maybe-clean-target-winsup: clean-target-winsup
26641 clean-target-winsup:
26642 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26643 r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(SET_LIB_PATH) \
26646 $(NORMAL_TARGET_EXPORTS) \
26647 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26648 for flag in $(EXTRA_TARGET_FLAGS); do \
26649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26650 done; \
26651 (cd $(TARGET_SUBDIR)/winsup && \
26652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26654 "RANLIB=$${RANLIB}" \
26655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26656 clean) \
26657 || exit 1
26659 @endif target-winsup
26661 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26662 maybe-distclean-target-winsup:
26663 @if target-winsup
26664 maybe-distclean-target-winsup: distclean-target-winsup
26666 distclean-target-winsup:
26667 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26668 r=`${PWD_COMMAND}`; export r; \
26669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 $(SET_LIB_PATH) \
26671 $(NORMAL_TARGET_EXPORTS) \
26672 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26673 for flag in $(EXTRA_TARGET_FLAGS); do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 (cd $(TARGET_SUBDIR)/winsup && \
26677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26679 "RANLIB=$${RANLIB}" \
26680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26681 distclean) \
26682 || exit 1
26684 @endif target-winsup
26686 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26687 maybe-maintainer-clean-target-winsup:
26688 @if target-winsup
26689 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26691 maintainer-clean-target-winsup:
26692 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26693 r=`${PWD_COMMAND}`; export r; \
26694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26695 $(SET_LIB_PATH) \
26696 $(NORMAL_TARGET_EXPORTS) \
26697 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26698 for flag in $(EXTRA_TARGET_FLAGS); do \
26699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 done; \
26701 (cd $(TARGET_SUBDIR)/winsup && \
26702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26704 "RANLIB=$${RANLIB}" \
26705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26706 maintainer-clean) \
26707 || exit 1
26709 @endif target-winsup
26712 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26713 maybe-configure-target-libgloss:
26714 @if target-libgloss
26715 maybe-configure-target-libgloss: configure-target-libgloss
26717 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26718 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26719 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26720 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26721 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26723 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26724 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26726 r=`${PWD_COMMAND}`; export r; \
26727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 $(SET_LIB_PATH) \
26729 $(NORMAL_TARGET_EXPORTS) \
26730 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26731 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26732 case $(srcdir) in \
26733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26734 *) topdir="../../$(srcdir)" ;; \
26735 esac; \
26736 if [ "$(srcdir)" = "." ] ; then \
26737 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
26738 if [ -f Makefile ]; then \
26739 if $(MAKE) distclean; then \
26740 true; \
26741 else \
26742 exit 1; \
26743 fi; \
26744 else \
26745 true; \
26746 fi; \
26747 else \
26748 exit 1; \
26749 fi; \
26750 if [ -d ../include ] ; then \
26751 true; \
26752 else \
26753 mkdir ../include; \
26754 cd ../include; \
26755 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
26756 cd ../libgloss; \
26757 fi; \
26758 srcdiroption="--srcdir=."; \
26759 libsrcdir="."; \
26760 else \
26761 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26762 libsrcdir="$$s/libgloss"; \
26763 fi; \
26764 rm -f no-such-file || : ; \
26765 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26766 $(TARGET_CONFIGARGS) $${srcdiroption} \
26767 --with-target-subdir="$(TARGET_SUBDIR)" \
26768 || exit 1
26769 @endif target-libgloss
26771 .PHONY: all-target-libgloss maybe-all-target-libgloss
26772 maybe-all-target-libgloss:
26773 @if target-libgloss
26774 TARGET-target-libgloss=all
26775 maybe-all-target-libgloss: all-target-libgloss
26776 all-target-libgloss: configure-target-libgloss
26777 @r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26779 $(SET_LIB_PATH) \
26780 $(NORMAL_TARGET_EXPORTS) \
26781 (cd $(TARGET_SUBDIR)/libgloss && \
26782 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26783 @endif target-libgloss
26785 .PHONY: check-target-libgloss maybe-check-target-libgloss
26786 maybe-check-target-libgloss:
26787 @if target-libgloss
26788 maybe-check-target-libgloss: check-target-libgloss
26790 # Dummy target for uncheckable module.
26791 check-target-libgloss:
26793 @endif target-libgloss
26795 .PHONY: install-target-libgloss maybe-install-target-libgloss
26796 maybe-install-target-libgloss:
26797 @if target-libgloss
26798 maybe-install-target-libgloss: install-target-libgloss
26800 install-target-libgloss: installdirs
26801 @r=`${PWD_COMMAND}`; export r; \
26802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26803 $(SET_LIB_PATH) \
26804 $(NORMAL_TARGET_EXPORTS) \
26805 (cd $(TARGET_SUBDIR)/libgloss && \
26806 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26808 @endif target-libgloss
26810 # Other targets (info, dvi, etc.)
26812 .PHONY: maybe-info-target-libgloss info-target-libgloss
26813 maybe-info-target-libgloss:
26814 @if target-libgloss
26815 maybe-info-target-libgloss: info-target-libgloss
26817 info-target-libgloss: \
26818 configure-target-libgloss
26819 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26820 r=`${PWD_COMMAND}`; export r; \
26821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26822 $(SET_LIB_PATH) \
26823 $(NORMAL_TARGET_EXPORTS) \
26824 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26825 for flag in $(EXTRA_TARGET_FLAGS); do \
26826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26827 done; \
26828 (cd $(TARGET_SUBDIR)/libgloss && \
26829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26831 "RANLIB=$${RANLIB}" \
26832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26833 info) \
26834 || exit 1
26836 @endif target-libgloss
26838 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26839 maybe-dvi-target-libgloss:
26840 @if target-libgloss
26841 maybe-dvi-target-libgloss: dvi-target-libgloss
26843 dvi-target-libgloss: \
26844 configure-target-libgloss
26845 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26846 r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 $(SET_LIB_PATH) \
26849 $(NORMAL_TARGET_EXPORTS) \
26850 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26851 for flag in $(EXTRA_TARGET_FLAGS); do \
26852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26853 done; \
26854 (cd $(TARGET_SUBDIR)/libgloss && \
26855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26857 "RANLIB=$${RANLIB}" \
26858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26859 dvi) \
26860 || exit 1
26862 @endif target-libgloss
26864 .PHONY: maybe-html-target-libgloss html-target-libgloss
26865 maybe-html-target-libgloss:
26866 @if target-libgloss
26867 maybe-html-target-libgloss: html-target-libgloss
26869 html-target-libgloss: \
26870 configure-target-libgloss
26871 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26872 r=`${PWD_COMMAND}`; export r; \
26873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26874 $(SET_LIB_PATH) \
26875 $(NORMAL_TARGET_EXPORTS) \
26876 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26877 for flag in $(EXTRA_TARGET_FLAGS); do \
26878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26879 done; \
26880 (cd $(TARGET_SUBDIR)/libgloss && \
26881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26883 "RANLIB=$${RANLIB}" \
26884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26885 html) \
26886 || exit 1
26888 @endif target-libgloss
26890 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26891 maybe-TAGS-target-libgloss:
26892 @if target-libgloss
26893 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26895 TAGS-target-libgloss: \
26896 configure-target-libgloss
26897 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26898 r=`${PWD_COMMAND}`; export r; \
26899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26900 $(SET_LIB_PATH) \
26901 $(NORMAL_TARGET_EXPORTS) \
26902 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26903 for flag in $(EXTRA_TARGET_FLAGS); do \
26904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26905 done; \
26906 (cd $(TARGET_SUBDIR)/libgloss && \
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 TAGS) \
26912 || exit 1
26914 @endif target-libgloss
26916 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26917 maybe-install-info-target-libgloss:
26918 @if target-libgloss
26919 maybe-install-info-target-libgloss: install-info-target-libgloss
26921 install-info-target-libgloss: \
26922 configure-target-libgloss \
26923 info-target-libgloss
26924 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26925 r=`${PWD_COMMAND}`; export r; \
26926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26927 $(SET_LIB_PATH) \
26928 $(NORMAL_TARGET_EXPORTS) \
26929 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26930 for flag in $(EXTRA_TARGET_FLAGS); do \
26931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26932 done; \
26933 (cd $(TARGET_SUBDIR)/libgloss && \
26934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26936 "RANLIB=$${RANLIB}" \
26937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26938 install-info) \
26939 || exit 1
26941 @endif target-libgloss
26943 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26944 maybe-installcheck-target-libgloss:
26945 @if target-libgloss
26946 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26948 installcheck-target-libgloss: \
26949 configure-target-libgloss
26950 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26951 r=`${PWD_COMMAND}`; export r; \
26952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26953 $(SET_LIB_PATH) \
26954 $(NORMAL_TARGET_EXPORTS) \
26955 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26956 for flag in $(EXTRA_TARGET_FLAGS); do \
26957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26958 done; \
26959 (cd $(TARGET_SUBDIR)/libgloss && \
26960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26962 "RANLIB=$${RANLIB}" \
26963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26964 installcheck) \
26965 || exit 1
26967 @endif target-libgloss
26969 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26970 maybe-mostlyclean-target-libgloss:
26971 @if target-libgloss
26972 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26974 mostlyclean-target-libgloss:
26975 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26976 r=`${PWD_COMMAND}`; export r; \
26977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26978 $(SET_LIB_PATH) \
26979 $(NORMAL_TARGET_EXPORTS) \
26980 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26981 for flag in $(EXTRA_TARGET_FLAGS); do \
26982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26983 done; \
26984 (cd $(TARGET_SUBDIR)/libgloss && \
26985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26987 "RANLIB=$${RANLIB}" \
26988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26989 mostlyclean) \
26990 || exit 1
26992 @endif target-libgloss
26994 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26995 maybe-clean-target-libgloss:
26996 @if target-libgloss
26997 maybe-clean-target-libgloss: clean-target-libgloss
26999 clean-target-libgloss:
27000 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27001 r=`${PWD_COMMAND}`; export r; \
27002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27003 $(SET_LIB_PATH) \
27004 $(NORMAL_TARGET_EXPORTS) \
27005 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
27006 for flag in $(EXTRA_TARGET_FLAGS); do \
27007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27008 done; \
27009 (cd $(TARGET_SUBDIR)/libgloss && \
27010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27012 "RANLIB=$${RANLIB}" \
27013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27014 clean) \
27015 || exit 1
27017 @endif target-libgloss
27019 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
27020 maybe-distclean-target-libgloss:
27021 @if target-libgloss
27022 maybe-distclean-target-libgloss: distclean-target-libgloss
27024 distclean-target-libgloss:
27025 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27026 r=`${PWD_COMMAND}`; export r; \
27027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27028 $(SET_LIB_PATH) \
27029 $(NORMAL_TARGET_EXPORTS) \
27030 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
27031 for flag in $(EXTRA_TARGET_FLAGS); do \
27032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27033 done; \
27034 (cd $(TARGET_SUBDIR)/libgloss && \
27035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27037 "RANLIB=$${RANLIB}" \
27038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27039 distclean) \
27040 || exit 1
27042 @endif target-libgloss
27044 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
27045 maybe-maintainer-clean-target-libgloss:
27046 @if target-libgloss
27047 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
27049 maintainer-clean-target-libgloss:
27050 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
27051 r=`${PWD_COMMAND}`; export r; \
27052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27053 $(SET_LIB_PATH) \
27054 $(NORMAL_TARGET_EXPORTS) \
27055 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
27056 for flag in $(EXTRA_TARGET_FLAGS); do \
27057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27058 done; \
27059 (cd $(TARGET_SUBDIR)/libgloss && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27062 "RANLIB=$${RANLIB}" \
27063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27064 maintainer-clean) \
27065 || exit 1
27067 @endif target-libgloss
27070 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
27071 maybe-configure-target-libiberty:
27072 @if target-libiberty
27073 maybe-configure-target-libiberty: configure-target-libiberty
27075 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27076 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
27077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
27078 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
27079 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
27081 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
27082 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
27083 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
27084 r=`${PWD_COMMAND}`; export r; \
27085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27086 $(SET_LIB_PATH) \
27087 $(NORMAL_TARGET_EXPORTS) \
27088 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
27089 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
27090 case $(srcdir) in \
27091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27092 *) topdir="../../$(srcdir)" ;; \
27093 esac; \
27094 if [ "$(srcdir)" = "." ] ; then \
27095 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
27096 if [ -f Makefile ]; then \
27097 if $(MAKE) distclean; then \
27098 true; \
27099 else \
27100 exit 1; \
27101 fi; \
27102 else \
27103 true; \
27104 fi; \
27105 else \
27106 exit 1; \
27107 fi; \
27108 if [ -d ../include ] ; then \
27109 true; \
27110 else \
27111 mkdir ../include; \
27112 cd ../include; \
27113 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
27114 cd ../libiberty; \
27115 fi; \
27116 srcdiroption="--srcdir=."; \
27117 libsrcdir="."; \
27118 else \
27119 srcdiroption="--srcdir=$${topdir}/libiberty"; \
27120 libsrcdir="$$s/libiberty"; \
27121 fi; \
27122 rm -f no-such-file || : ; \
27123 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27124 $(TARGET_CONFIGARGS) $${srcdiroption} \
27125 --with-target-subdir="$(TARGET_SUBDIR)" \
27126 || exit 1
27127 @endif target-libiberty
27129 .PHONY: all-target-libiberty maybe-all-target-libiberty
27130 maybe-all-target-libiberty:
27131 @if target-libiberty
27132 TARGET-target-libiberty=all
27133 maybe-all-target-libiberty: all-target-libiberty
27134 all-target-libiberty: configure-target-libiberty
27135 @r=`${PWD_COMMAND}`; export r; \
27136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27137 $(SET_LIB_PATH) \
27138 $(NORMAL_TARGET_EXPORTS) \
27139 (cd $(TARGET_SUBDIR)/libiberty && \
27140 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
27141 @endif target-libiberty
27143 .PHONY: check-target-libiberty maybe-check-target-libiberty
27144 maybe-check-target-libiberty:
27145 @if target-libiberty
27146 maybe-check-target-libiberty: check-target-libiberty
27148 check-target-libiberty:
27149 @r=`${PWD_COMMAND}`; export r; \
27150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27151 $(SET_LIB_PATH) \
27152 $(NORMAL_TARGET_EXPORTS) \
27153 (cd $(TARGET_SUBDIR)/libiberty && \
27154 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27156 @endif target-libiberty
27158 .PHONY: install-target-libiberty maybe-install-target-libiberty
27159 maybe-install-target-libiberty:
27160 @if target-libiberty
27161 maybe-install-target-libiberty: install-target-libiberty
27163 install-target-libiberty: installdirs
27164 @r=`${PWD_COMMAND}`; export r; \
27165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27166 $(SET_LIB_PATH) \
27167 $(NORMAL_TARGET_EXPORTS) \
27168 (cd $(TARGET_SUBDIR)/libiberty && \
27169 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27171 @endif target-libiberty
27173 # Other targets (info, dvi, etc.)
27175 .PHONY: maybe-info-target-libiberty info-target-libiberty
27176 maybe-info-target-libiberty:
27177 @if target-libiberty
27178 maybe-info-target-libiberty: info-target-libiberty
27180 info-target-libiberty: \
27181 configure-target-libiberty
27182 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27183 r=`${PWD_COMMAND}`; export r; \
27184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27185 $(SET_LIB_PATH) \
27186 $(NORMAL_TARGET_EXPORTS) \
27187 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27188 for flag in $(EXTRA_TARGET_FLAGS); do \
27189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27190 done; \
27191 (cd $(TARGET_SUBDIR)/libiberty && \
27192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27194 "RANLIB=$${RANLIB}" \
27195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27196 info) \
27197 || exit 1
27199 @endif target-libiberty
27201 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27202 maybe-dvi-target-libiberty:
27203 @if target-libiberty
27204 maybe-dvi-target-libiberty: dvi-target-libiberty
27206 dvi-target-libiberty: \
27207 configure-target-libiberty
27208 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27209 r=`${PWD_COMMAND}`; export r; \
27210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27211 $(SET_LIB_PATH) \
27212 $(NORMAL_TARGET_EXPORTS) \
27213 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27214 for flag in $(EXTRA_TARGET_FLAGS); do \
27215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27216 done; \
27217 (cd $(TARGET_SUBDIR)/libiberty && \
27218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27220 "RANLIB=$${RANLIB}" \
27221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27222 dvi) \
27223 || exit 1
27225 @endif target-libiberty
27227 .PHONY: maybe-html-target-libiberty html-target-libiberty
27228 maybe-html-target-libiberty:
27229 @if target-libiberty
27230 maybe-html-target-libiberty: html-target-libiberty
27232 html-target-libiberty: \
27233 configure-target-libiberty
27234 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27235 r=`${PWD_COMMAND}`; export r; \
27236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27237 $(SET_LIB_PATH) \
27238 $(NORMAL_TARGET_EXPORTS) \
27239 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27240 for flag in $(EXTRA_TARGET_FLAGS); do \
27241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27242 done; \
27243 (cd $(TARGET_SUBDIR)/libiberty && \
27244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27246 "RANLIB=$${RANLIB}" \
27247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27248 html) \
27249 || exit 1
27251 @endif target-libiberty
27253 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27254 maybe-TAGS-target-libiberty:
27255 @if target-libiberty
27256 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27258 TAGS-target-libiberty: \
27259 configure-target-libiberty
27260 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27261 r=`${PWD_COMMAND}`; export r; \
27262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27263 $(SET_LIB_PATH) \
27264 $(NORMAL_TARGET_EXPORTS) \
27265 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27266 for flag in $(EXTRA_TARGET_FLAGS); do \
27267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27268 done; \
27269 (cd $(TARGET_SUBDIR)/libiberty && \
27270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27272 "RANLIB=$${RANLIB}" \
27273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27274 TAGS) \
27275 || exit 1
27277 @endif target-libiberty
27279 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27280 maybe-install-info-target-libiberty:
27281 @if target-libiberty
27282 maybe-install-info-target-libiberty: install-info-target-libiberty
27284 install-info-target-libiberty: \
27285 configure-target-libiberty \
27286 info-target-libiberty
27287 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(SET_LIB_PATH) \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27293 for flag in $(EXTRA_TARGET_FLAGS); do \
27294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27295 done; \
27296 (cd $(TARGET_SUBDIR)/libiberty && \
27297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27299 "RANLIB=$${RANLIB}" \
27300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27301 install-info) \
27302 || exit 1
27304 @endif target-libiberty
27306 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27307 maybe-installcheck-target-libiberty:
27308 @if target-libiberty
27309 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27311 installcheck-target-libiberty: \
27312 configure-target-libiberty
27313 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27314 r=`${PWD_COMMAND}`; export r; \
27315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27316 $(SET_LIB_PATH) \
27317 $(NORMAL_TARGET_EXPORTS) \
27318 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27319 for flag in $(EXTRA_TARGET_FLAGS); do \
27320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27321 done; \
27322 (cd $(TARGET_SUBDIR)/libiberty && \
27323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27325 "RANLIB=$${RANLIB}" \
27326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27327 installcheck) \
27328 || exit 1
27330 @endif target-libiberty
27332 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27333 maybe-mostlyclean-target-libiberty:
27334 @if target-libiberty
27335 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27337 mostlyclean-target-libiberty:
27338 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27339 r=`${PWD_COMMAND}`; export r; \
27340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27341 $(SET_LIB_PATH) \
27342 $(NORMAL_TARGET_EXPORTS) \
27343 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27344 for flag in $(EXTRA_TARGET_FLAGS); do \
27345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27346 done; \
27347 (cd $(TARGET_SUBDIR)/libiberty && \
27348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27350 "RANLIB=$${RANLIB}" \
27351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27352 mostlyclean) \
27353 || exit 1
27355 @endif target-libiberty
27357 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27358 maybe-clean-target-libiberty:
27359 @if target-libiberty
27360 maybe-clean-target-libiberty: clean-target-libiberty
27362 clean-target-libiberty:
27363 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27364 r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27366 $(SET_LIB_PATH) \
27367 $(NORMAL_TARGET_EXPORTS) \
27368 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27369 for flag in $(EXTRA_TARGET_FLAGS); do \
27370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27371 done; \
27372 (cd $(TARGET_SUBDIR)/libiberty && \
27373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27375 "RANLIB=$${RANLIB}" \
27376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27377 clean) \
27378 || exit 1
27380 @endif target-libiberty
27382 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27383 maybe-distclean-target-libiberty:
27384 @if target-libiberty
27385 maybe-distclean-target-libiberty: distclean-target-libiberty
27387 distclean-target-libiberty:
27388 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27389 r=`${PWD_COMMAND}`; export r; \
27390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 $(SET_LIB_PATH) \
27392 $(NORMAL_TARGET_EXPORTS) \
27393 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27394 for flag in $(EXTRA_TARGET_FLAGS); do \
27395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27396 done; \
27397 (cd $(TARGET_SUBDIR)/libiberty && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27402 distclean) \
27403 || exit 1
27405 @endif target-libiberty
27407 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27408 maybe-maintainer-clean-target-libiberty:
27409 @if target-libiberty
27410 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27412 maintainer-clean-target-libiberty:
27413 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27414 r=`${PWD_COMMAND}`; export r; \
27415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27416 $(SET_LIB_PATH) \
27417 $(NORMAL_TARGET_EXPORTS) \
27418 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27419 for flag in $(EXTRA_TARGET_FLAGS); do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27421 done; \
27422 (cd $(TARGET_SUBDIR)/libiberty && \
27423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425 "RANLIB=$${RANLIB}" \
27426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27427 maintainer-clean) \
27428 || exit 1
27430 @endif target-libiberty
27433 .PHONY: configure-target-gperf maybe-configure-target-gperf
27434 maybe-configure-target-gperf:
27435 @if target-gperf
27436 maybe-configure-target-gperf: configure-target-gperf
27438 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27439 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27440 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27441 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27442 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27444 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27445 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27446 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27447 r=`${PWD_COMMAND}`; export r; \
27448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27449 $(SET_LIB_PATH) \
27450 $(NORMAL_TARGET_EXPORTS) \
27451 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27452 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27453 case $(srcdir) in \
27454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27455 *) topdir="../../$(srcdir)" ;; \
27456 esac; \
27457 if [ "$(srcdir)" = "." ] ; then \
27458 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
27459 if [ -f Makefile ]; then \
27460 if $(MAKE) distclean; then \
27461 true; \
27462 else \
27463 exit 1; \
27464 fi; \
27465 else \
27466 true; \
27467 fi; \
27468 else \
27469 exit 1; \
27470 fi; \
27471 if [ -d ../include ] ; then \
27472 true; \
27473 else \
27474 mkdir ../include; \
27475 cd ../include; \
27476 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
27477 cd ../gperf; \
27478 fi; \
27479 srcdiroption="--srcdir=."; \
27480 libsrcdir="."; \
27481 else \
27482 srcdiroption="--srcdir=$${topdir}/gperf"; \
27483 libsrcdir="$$s/gperf"; \
27484 fi; \
27485 rm -f no-such-file || : ; \
27486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27487 $(TARGET_CONFIGARGS) $${srcdiroption} \
27488 --with-target-subdir="$(TARGET_SUBDIR)" \
27489 || exit 1
27490 @endif target-gperf
27492 .PHONY: all-target-gperf maybe-all-target-gperf
27493 maybe-all-target-gperf:
27494 @if target-gperf
27495 TARGET-target-gperf=all
27496 maybe-all-target-gperf: all-target-gperf
27497 all-target-gperf: configure-target-gperf
27498 @r=`${PWD_COMMAND}`; export r; \
27499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27500 $(SET_LIB_PATH) \
27501 $(NORMAL_TARGET_EXPORTS) \
27502 (cd $(TARGET_SUBDIR)/gperf && \
27503 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27504 @endif target-gperf
27506 .PHONY: check-target-gperf maybe-check-target-gperf
27507 maybe-check-target-gperf:
27508 @if target-gperf
27509 maybe-check-target-gperf: check-target-gperf
27511 check-target-gperf:
27512 @r=`${PWD_COMMAND}`; export r; \
27513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 $(SET_LIB_PATH) \
27515 $(NORMAL_TARGET_EXPORTS) \
27516 (cd $(TARGET_SUBDIR)/gperf && \
27517 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27519 @endif target-gperf
27521 .PHONY: install-target-gperf maybe-install-target-gperf
27522 maybe-install-target-gperf:
27523 @if target-gperf
27524 maybe-install-target-gperf: install-target-gperf
27526 install-target-gperf: installdirs
27527 @r=`${PWD_COMMAND}`; export r; \
27528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27529 $(SET_LIB_PATH) \
27530 $(NORMAL_TARGET_EXPORTS) \
27531 (cd $(TARGET_SUBDIR)/gperf && \
27532 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27534 @endif target-gperf
27536 # Other targets (info, dvi, etc.)
27538 .PHONY: maybe-info-target-gperf info-target-gperf
27539 maybe-info-target-gperf:
27540 @if target-gperf
27541 maybe-info-target-gperf: info-target-gperf
27543 info-target-gperf: \
27544 configure-target-gperf
27545 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(SET_LIB_PATH) \
27549 $(NORMAL_TARGET_EXPORTS) \
27550 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27551 for flag in $(EXTRA_TARGET_FLAGS); do \
27552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27553 done; \
27554 (cd $(TARGET_SUBDIR)/gperf && \
27555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557 "RANLIB=$${RANLIB}" \
27558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27559 info) \
27560 || exit 1
27562 @endif target-gperf
27564 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27565 maybe-dvi-target-gperf:
27566 @if target-gperf
27567 maybe-dvi-target-gperf: dvi-target-gperf
27569 dvi-target-gperf: \
27570 configure-target-gperf
27571 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27572 r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(SET_LIB_PATH) \
27575 $(NORMAL_TARGET_EXPORTS) \
27576 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27577 for flag in $(EXTRA_TARGET_FLAGS); do \
27578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27579 done; \
27580 (cd $(TARGET_SUBDIR)/gperf && \
27581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27583 "RANLIB=$${RANLIB}" \
27584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27585 dvi) \
27586 || exit 1
27588 @endif target-gperf
27590 .PHONY: maybe-html-target-gperf html-target-gperf
27591 maybe-html-target-gperf:
27592 @if target-gperf
27593 maybe-html-target-gperf: html-target-gperf
27595 html-target-gperf: \
27596 configure-target-gperf
27597 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27598 r=`${PWD_COMMAND}`; export r; \
27599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27600 $(SET_LIB_PATH) \
27601 $(NORMAL_TARGET_EXPORTS) \
27602 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27603 for flag in $(EXTRA_TARGET_FLAGS); do \
27604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27605 done; \
27606 (cd $(TARGET_SUBDIR)/gperf && \
27607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27609 "RANLIB=$${RANLIB}" \
27610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27611 html) \
27612 || exit 1
27614 @endif target-gperf
27616 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27617 maybe-TAGS-target-gperf:
27618 @if target-gperf
27619 maybe-TAGS-target-gperf: TAGS-target-gperf
27621 TAGS-target-gperf: \
27622 configure-target-gperf
27623 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27624 r=`${PWD_COMMAND}`; export r; \
27625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27626 $(SET_LIB_PATH) \
27627 $(NORMAL_TARGET_EXPORTS) \
27628 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27629 for flag in $(EXTRA_TARGET_FLAGS); do \
27630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27631 done; \
27632 (cd $(TARGET_SUBDIR)/gperf && \
27633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27635 "RANLIB=$${RANLIB}" \
27636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27637 TAGS) \
27638 || exit 1
27640 @endif target-gperf
27642 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27643 maybe-install-info-target-gperf:
27644 @if target-gperf
27645 maybe-install-info-target-gperf: install-info-target-gperf
27647 install-info-target-gperf: \
27648 configure-target-gperf \
27649 info-target-gperf
27650 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27651 r=`${PWD_COMMAND}`; export r; \
27652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27653 $(SET_LIB_PATH) \
27654 $(NORMAL_TARGET_EXPORTS) \
27655 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27656 for flag in $(EXTRA_TARGET_FLAGS); do \
27657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27658 done; \
27659 (cd $(TARGET_SUBDIR)/gperf && \
27660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27662 "RANLIB=$${RANLIB}" \
27663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27664 install-info) \
27665 || exit 1
27667 @endif target-gperf
27669 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27670 maybe-installcheck-target-gperf:
27671 @if target-gperf
27672 maybe-installcheck-target-gperf: installcheck-target-gperf
27674 installcheck-target-gperf: \
27675 configure-target-gperf
27676 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27677 r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(SET_LIB_PATH) \
27680 $(NORMAL_TARGET_EXPORTS) \
27681 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27682 for flag in $(EXTRA_TARGET_FLAGS); do \
27683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27684 done; \
27685 (cd $(TARGET_SUBDIR)/gperf && \
27686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27688 "RANLIB=$${RANLIB}" \
27689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27690 installcheck) \
27691 || exit 1
27693 @endif target-gperf
27695 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27696 maybe-mostlyclean-target-gperf:
27697 @if target-gperf
27698 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27700 mostlyclean-target-gperf:
27701 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27702 r=`${PWD_COMMAND}`; export r; \
27703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27704 $(SET_LIB_PATH) \
27705 $(NORMAL_TARGET_EXPORTS) \
27706 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27707 for flag in $(EXTRA_TARGET_FLAGS); do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709 done; \
27710 (cd $(TARGET_SUBDIR)/gperf && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27715 mostlyclean) \
27716 || exit 1
27718 @endif target-gperf
27720 .PHONY: maybe-clean-target-gperf clean-target-gperf
27721 maybe-clean-target-gperf:
27722 @if target-gperf
27723 maybe-clean-target-gperf: clean-target-gperf
27725 clean-target-gperf:
27726 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27727 r=`${PWD_COMMAND}`; export r; \
27728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27729 $(SET_LIB_PATH) \
27730 $(NORMAL_TARGET_EXPORTS) \
27731 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27732 for flag in $(EXTRA_TARGET_FLAGS); do \
27733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27734 done; \
27735 (cd $(TARGET_SUBDIR)/gperf && \
27736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27738 "RANLIB=$${RANLIB}" \
27739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27740 clean) \
27741 || exit 1
27743 @endif target-gperf
27745 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27746 maybe-distclean-target-gperf:
27747 @if target-gperf
27748 maybe-distclean-target-gperf: distclean-target-gperf
27750 distclean-target-gperf:
27751 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27752 r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27754 $(SET_LIB_PATH) \
27755 $(NORMAL_TARGET_EXPORTS) \
27756 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27757 for flag in $(EXTRA_TARGET_FLAGS); do \
27758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27759 done; \
27760 (cd $(TARGET_SUBDIR)/gperf && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27765 distclean) \
27766 || exit 1
27768 @endif target-gperf
27770 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27771 maybe-maintainer-clean-target-gperf:
27772 @if target-gperf
27773 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27775 maintainer-clean-target-gperf:
27776 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27777 r=`${PWD_COMMAND}`; export r; \
27778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27779 $(SET_LIB_PATH) \
27780 $(NORMAL_TARGET_EXPORTS) \
27781 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27782 for flag in $(EXTRA_TARGET_FLAGS); do \
27783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27784 done; \
27785 (cd $(TARGET_SUBDIR)/gperf && \
27786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27788 "RANLIB=$${RANLIB}" \
27789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27790 maintainer-clean) \
27791 || exit 1
27793 @endif target-gperf
27796 .PHONY: configure-target-examples maybe-configure-target-examples
27797 maybe-configure-target-examples:
27798 @if target-examples
27799 maybe-configure-target-examples: configure-target-examples
27801 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27802 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27803 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27804 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27805 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27807 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27808 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27809 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27810 r=`${PWD_COMMAND}`; export r; \
27811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27812 $(SET_LIB_PATH) \
27813 $(NORMAL_TARGET_EXPORTS) \
27814 echo Configuring in $(TARGET_SUBDIR)/examples; \
27815 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27816 case $(srcdir) in \
27817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27818 *) topdir="../../$(srcdir)" ;; \
27819 esac; \
27820 if [ "$(srcdir)" = "." ] ; then \
27821 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
27822 if [ -f Makefile ]; then \
27823 if $(MAKE) distclean; then \
27824 true; \
27825 else \
27826 exit 1; \
27827 fi; \
27828 else \
27829 true; \
27830 fi; \
27831 else \
27832 exit 1; \
27833 fi; \
27834 if [ -d ../include ] ; then \
27835 true; \
27836 else \
27837 mkdir ../include; \
27838 cd ../include; \
27839 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
27840 cd ../examples; \
27841 fi; \
27842 srcdiroption="--srcdir=."; \
27843 libsrcdir="."; \
27844 else \
27845 srcdiroption="--srcdir=$${topdir}/examples"; \
27846 libsrcdir="$$s/examples"; \
27847 fi; \
27848 rm -f no-such-file || : ; \
27849 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27850 $(TARGET_CONFIGARGS) $${srcdiroption} \
27851 --with-target-subdir="$(TARGET_SUBDIR)" \
27852 || exit 1
27853 @endif target-examples
27855 .PHONY: all-target-examples maybe-all-target-examples
27856 maybe-all-target-examples:
27857 @if target-examples
27858 TARGET-target-examples=all
27859 maybe-all-target-examples: all-target-examples
27860 all-target-examples: configure-target-examples
27861 @r=`${PWD_COMMAND}`; export r; \
27862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27863 $(SET_LIB_PATH) \
27864 $(NORMAL_TARGET_EXPORTS) \
27865 (cd $(TARGET_SUBDIR)/examples && \
27866 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27867 @endif target-examples
27869 .PHONY: check-target-examples maybe-check-target-examples
27870 maybe-check-target-examples:
27871 @if target-examples
27872 maybe-check-target-examples: check-target-examples
27874 # Dummy target for uncheckable module.
27875 check-target-examples:
27877 @endif target-examples
27879 .PHONY: install-target-examples maybe-install-target-examples
27880 maybe-install-target-examples:
27881 @if target-examples
27882 maybe-install-target-examples: install-target-examples
27884 # Dummy target for uninstallable.
27885 install-target-examples:
27887 @endif target-examples
27889 # Other targets (info, dvi, etc.)
27891 .PHONY: maybe-info-target-examples info-target-examples
27892 maybe-info-target-examples:
27893 @if target-examples
27894 maybe-info-target-examples: info-target-examples
27896 info-target-examples: \
27897 configure-target-examples
27898 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27899 r=`${PWD_COMMAND}`; export r; \
27900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27901 $(SET_LIB_PATH) \
27902 $(NORMAL_TARGET_EXPORTS) \
27903 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27904 for flag in $(EXTRA_TARGET_FLAGS); do \
27905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27906 done; \
27907 (cd $(TARGET_SUBDIR)/examples && \
27908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27910 "RANLIB=$${RANLIB}" \
27911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27912 info) \
27913 || exit 1
27915 @endif target-examples
27917 .PHONY: maybe-dvi-target-examples dvi-target-examples
27918 maybe-dvi-target-examples:
27919 @if target-examples
27920 maybe-dvi-target-examples: dvi-target-examples
27922 dvi-target-examples: \
27923 configure-target-examples
27924 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27925 r=`${PWD_COMMAND}`; export r; \
27926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27927 $(SET_LIB_PATH) \
27928 $(NORMAL_TARGET_EXPORTS) \
27929 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27930 for flag in $(EXTRA_TARGET_FLAGS); do \
27931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27932 done; \
27933 (cd $(TARGET_SUBDIR)/examples && \
27934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27936 "RANLIB=$${RANLIB}" \
27937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27938 dvi) \
27939 || exit 1
27941 @endif target-examples
27943 .PHONY: maybe-html-target-examples html-target-examples
27944 maybe-html-target-examples:
27945 @if target-examples
27946 maybe-html-target-examples: html-target-examples
27948 html-target-examples: \
27949 configure-target-examples
27950 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(SET_LIB_PATH) \
27954 $(NORMAL_TARGET_EXPORTS) \
27955 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27956 for flag in $(EXTRA_TARGET_FLAGS); do \
27957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27958 done; \
27959 (cd $(TARGET_SUBDIR)/examples && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27964 html) \
27965 || exit 1
27967 @endif target-examples
27969 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27970 maybe-TAGS-target-examples:
27971 @if target-examples
27972 maybe-TAGS-target-examples: TAGS-target-examples
27974 TAGS-target-examples: \
27975 configure-target-examples
27976 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27977 r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 $(SET_LIB_PATH) \
27980 $(NORMAL_TARGET_EXPORTS) \
27981 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27982 for flag in $(EXTRA_TARGET_FLAGS); do \
27983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27984 done; \
27985 (cd $(TARGET_SUBDIR)/examples && \
27986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27988 "RANLIB=$${RANLIB}" \
27989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27990 TAGS) \
27991 || exit 1
27993 @endif target-examples
27995 .PHONY: maybe-install-info-target-examples install-info-target-examples
27996 maybe-install-info-target-examples:
27997 @if target-examples
27998 maybe-install-info-target-examples: install-info-target-examples
28000 install-info-target-examples: \
28001 configure-target-examples \
28002 info-target-examples
28003 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28004 r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(SET_LIB_PATH) \
28007 $(NORMAL_TARGET_EXPORTS) \
28008 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
28009 for flag in $(EXTRA_TARGET_FLAGS); do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 done; \
28012 (cd $(TARGET_SUBDIR)/examples && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28015 "RANLIB=$${RANLIB}" \
28016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28017 install-info) \
28018 || exit 1
28020 @endif target-examples
28022 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
28023 maybe-installcheck-target-examples:
28024 @if target-examples
28025 maybe-installcheck-target-examples: installcheck-target-examples
28027 installcheck-target-examples: \
28028 configure-target-examples
28029 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(SET_LIB_PATH) \
28033 $(NORMAL_TARGET_EXPORTS) \
28034 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
28035 for flag in $(EXTRA_TARGET_FLAGS); do \
28036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28037 done; \
28038 (cd $(TARGET_SUBDIR)/examples && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28043 installcheck) \
28044 || exit 1
28046 @endif target-examples
28048 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
28049 maybe-mostlyclean-target-examples:
28050 @if target-examples
28051 maybe-mostlyclean-target-examples: mostlyclean-target-examples
28053 mostlyclean-target-examples:
28054 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28055 r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28057 $(SET_LIB_PATH) \
28058 $(NORMAL_TARGET_EXPORTS) \
28059 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
28060 for flag in $(EXTRA_TARGET_FLAGS); do \
28061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28062 done; \
28063 (cd $(TARGET_SUBDIR)/examples && \
28064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28066 "RANLIB=$${RANLIB}" \
28067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28068 mostlyclean) \
28069 || exit 1
28071 @endif target-examples
28073 .PHONY: maybe-clean-target-examples clean-target-examples
28074 maybe-clean-target-examples:
28075 @if target-examples
28076 maybe-clean-target-examples: clean-target-examples
28078 clean-target-examples:
28079 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28080 r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(SET_LIB_PATH) \
28083 $(NORMAL_TARGET_EXPORTS) \
28084 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
28085 for flag in $(EXTRA_TARGET_FLAGS); do \
28086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28087 done; \
28088 (cd $(TARGET_SUBDIR)/examples && \
28089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28091 "RANLIB=$${RANLIB}" \
28092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28093 clean) \
28094 || exit 1
28096 @endif target-examples
28098 .PHONY: maybe-distclean-target-examples distclean-target-examples
28099 maybe-distclean-target-examples:
28100 @if target-examples
28101 maybe-distclean-target-examples: distclean-target-examples
28103 distclean-target-examples:
28104 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28105 r=`${PWD_COMMAND}`; export r; \
28106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28107 $(SET_LIB_PATH) \
28108 $(NORMAL_TARGET_EXPORTS) \
28109 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 distclean) \
28119 || exit 1
28121 @endif target-examples
28123 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
28124 maybe-maintainer-clean-target-examples:
28125 @if target-examples
28126 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
28128 maintainer-clean-target-examples:
28129 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
28130 r=`${PWD_COMMAND}`; export r; \
28131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28132 $(SET_LIB_PATH) \
28133 $(NORMAL_TARGET_EXPORTS) \
28134 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
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)/examples && \
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 maintainer-clean) \
28144 || exit 1
28146 @endif target-examples
28149 .PHONY: configure-target-libffi maybe-configure-target-libffi
28150 maybe-configure-target-libffi:
28151 @if target-libffi
28152 maybe-configure-target-libffi: configure-target-libffi
28154 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28155 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
28156 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
28157 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
28158 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
28160 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
28161 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
28162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
28163 r=`${PWD_COMMAND}`; export r; \
28164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28165 $(SET_LIB_PATH) \
28166 $(NORMAL_TARGET_EXPORTS) \
28167 echo Configuring in $(TARGET_SUBDIR)/libffi; \
28168 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
28169 case $(srcdir) in \
28170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28171 *) topdir="../../$(srcdir)" ;; \
28172 esac; \
28173 if [ "$(srcdir)" = "." ] ; then \
28174 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
28175 if [ -f Makefile ]; then \
28176 if $(MAKE) distclean; then \
28177 true; \
28178 else \
28179 exit 1; \
28180 fi; \
28181 else \
28182 true; \
28183 fi; \
28184 else \
28185 exit 1; \
28186 fi; \
28187 if [ -d ../include ] ; then \
28188 true; \
28189 else \
28190 mkdir ../include; \
28191 cd ../include; \
28192 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
28193 cd ../libffi; \
28194 fi; \
28195 srcdiroption="--srcdir=."; \
28196 libsrcdir="."; \
28197 else \
28198 srcdiroption="--srcdir=$${topdir}/libffi"; \
28199 libsrcdir="$$s/libffi"; \
28200 fi; \
28201 rm -f no-such-file || : ; \
28202 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28203 $(TARGET_CONFIGARGS) $${srcdiroption} \
28204 --with-target-subdir="$(TARGET_SUBDIR)" \
28205 || exit 1
28206 @endif target-libffi
28208 .PHONY: all-target-libffi maybe-all-target-libffi
28209 maybe-all-target-libffi:
28210 @if target-libffi
28211 TARGET-target-libffi=all
28212 maybe-all-target-libffi: all-target-libffi
28213 all-target-libffi: configure-target-libffi
28214 @r=`${PWD_COMMAND}`; export r; \
28215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28216 $(SET_LIB_PATH) \
28217 $(NORMAL_TARGET_EXPORTS) \
28218 (cd $(TARGET_SUBDIR)/libffi && \
28219 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
28220 @endif target-libffi
28222 .PHONY: check-target-libffi maybe-check-target-libffi
28223 maybe-check-target-libffi:
28224 @if target-libffi
28225 maybe-check-target-libffi: check-target-libffi
28227 check-target-libffi:
28228 @r=`${PWD_COMMAND}`; export r; \
28229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28230 $(SET_LIB_PATH) \
28231 $(NORMAL_TARGET_EXPORTS) \
28232 (cd $(TARGET_SUBDIR)/libffi && \
28233 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28235 @endif target-libffi
28237 .PHONY: install-target-libffi maybe-install-target-libffi
28238 maybe-install-target-libffi:
28239 @if target-libffi
28240 maybe-install-target-libffi: install-target-libffi
28242 install-target-libffi: installdirs
28243 @r=`${PWD_COMMAND}`; export r; \
28244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28245 $(SET_LIB_PATH) \
28246 $(NORMAL_TARGET_EXPORTS) \
28247 (cd $(TARGET_SUBDIR)/libffi && \
28248 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28250 @endif target-libffi
28252 # Other targets (info, dvi, etc.)
28254 .PHONY: maybe-info-target-libffi info-target-libffi
28255 maybe-info-target-libffi:
28256 @if target-libffi
28257 maybe-info-target-libffi: info-target-libffi
28259 info-target-libffi: \
28260 configure-target-libffi
28261 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28262 r=`${PWD_COMMAND}`; export r; \
28263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28264 $(SET_LIB_PATH) \
28265 $(NORMAL_TARGET_EXPORTS) \
28266 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28267 for flag in $(EXTRA_TARGET_FLAGS); do \
28268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28269 done; \
28270 (cd $(TARGET_SUBDIR)/libffi && \
28271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28273 "RANLIB=$${RANLIB}" \
28274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28275 info) \
28276 || exit 1
28278 @endif target-libffi
28280 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28281 maybe-dvi-target-libffi:
28282 @if target-libffi
28283 maybe-dvi-target-libffi: dvi-target-libffi
28285 dvi-target-libffi: \
28286 configure-target-libffi
28287 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28288 r=`${PWD_COMMAND}`; export r; \
28289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28290 $(SET_LIB_PATH) \
28291 $(NORMAL_TARGET_EXPORTS) \
28292 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28293 for flag in $(EXTRA_TARGET_FLAGS); do \
28294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28295 done; \
28296 (cd $(TARGET_SUBDIR)/libffi && \
28297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28299 "RANLIB=$${RANLIB}" \
28300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28301 dvi) \
28302 || exit 1
28304 @endif target-libffi
28306 .PHONY: maybe-html-target-libffi html-target-libffi
28307 maybe-html-target-libffi:
28308 @if target-libffi
28309 maybe-html-target-libffi: html-target-libffi
28311 html-target-libffi: \
28312 configure-target-libffi
28313 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28314 r=`${PWD_COMMAND}`; export r; \
28315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28316 $(SET_LIB_PATH) \
28317 $(NORMAL_TARGET_EXPORTS) \
28318 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28319 for flag in $(EXTRA_TARGET_FLAGS); do \
28320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28321 done; \
28322 (cd $(TARGET_SUBDIR)/libffi && \
28323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28325 "RANLIB=$${RANLIB}" \
28326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28327 html) \
28328 || exit 1
28330 @endif target-libffi
28332 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28333 maybe-TAGS-target-libffi:
28334 @if target-libffi
28335 maybe-TAGS-target-libffi: TAGS-target-libffi
28337 TAGS-target-libffi: \
28338 configure-target-libffi
28339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28340 r=`${PWD_COMMAND}`; export r; \
28341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28342 $(SET_LIB_PATH) \
28343 $(NORMAL_TARGET_EXPORTS) \
28344 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28345 for flag in $(EXTRA_TARGET_FLAGS); do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 (cd $(TARGET_SUBDIR)/libffi && \
28349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28351 "RANLIB=$${RANLIB}" \
28352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28353 TAGS) \
28354 || exit 1
28356 @endif target-libffi
28358 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28359 maybe-install-info-target-libffi:
28360 @if target-libffi
28361 maybe-install-info-target-libffi: install-info-target-libffi
28363 install-info-target-libffi: \
28364 configure-target-libffi \
28365 info-target-libffi
28366 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(SET_LIB_PATH) \
28370 $(NORMAL_TARGET_EXPORTS) \
28371 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28372 for flag in $(EXTRA_TARGET_FLAGS); do \
28373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28374 done; \
28375 (cd $(TARGET_SUBDIR)/libffi && \
28376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28378 "RANLIB=$${RANLIB}" \
28379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28380 install-info) \
28381 || exit 1
28383 @endif target-libffi
28385 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28386 maybe-installcheck-target-libffi:
28387 @if target-libffi
28388 maybe-installcheck-target-libffi: installcheck-target-libffi
28390 installcheck-target-libffi: \
28391 configure-target-libffi
28392 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28393 r=`${PWD_COMMAND}`; export r; \
28394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28395 $(SET_LIB_PATH) \
28396 $(NORMAL_TARGET_EXPORTS) \
28397 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28398 for flag in $(EXTRA_TARGET_FLAGS); do \
28399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28400 done; \
28401 (cd $(TARGET_SUBDIR)/libffi && \
28402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28404 "RANLIB=$${RANLIB}" \
28405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28406 installcheck) \
28407 || exit 1
28409 @endif target-libffi
28411 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28412 maybe-mostlyclean-target-libffi:
28413 @if target-libffi
28414 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28416 mostlyclean-target-libffi:
28417 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28418 r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28420 $(SET_LIB_PATH) \
28421 $(NORMAL_TARGET_EXPORTS) \
28422 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28423 for flag in $(EXTRA_TARGET_FLAGS); do \
28424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28425 done; \
28426 (cd $(TARGET_SUBDIR)/libffi && \
28427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28429 "RANLIB=$${RANLIB}" \
28430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28431 mostlyclean) \
28432 || exit 1
28434 @endif target-libffi
28436 .PHONY: maybe-clean-target-libffi clean-target-libffi
28437 maybe-clean-target-libffi:
28438 @if target-libffi
28439 maybe-clean-target-libffi: clean-target-libffi
28441 clean-target-libffi:
28442 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28443 r=`${PWD_COMMAND}`; export r; \
28444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28445 $(SET_LIB_PATH) \
28446 $(NORMAL_TARGET_EXPORTS) \
28447 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28448 for flag in $(EXTRA_TARGET_FLAGS); do \
28449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28450 done; \
28451 (cd $(TARGET_SUBDIR)/libffi && \
28452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28454 "RANLIB=$${RANLIB}" \
28455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28456 clean) \
28457 || exit 1
28459 @endif target-libffi
28461 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28462 maybe-distclean-target-libffi:
28463 @if target-libffi
28464 maybe-distclean-target-libffi: distclean-target-libffi
28466 distclean-target-libffi:
28467 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28468 r=`${PWD_COMMAND}`; export r; \
28469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28470 $(SET_LIB_PATH) \
28471 $(NORMAL_TARGET_EXPORTS) \
28472 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28473 for flag in $(EXTRA_TARGET_FLAGS); do \
28474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28475 done; \
28476 (cd $(TARGET_SUBDIR)/libffi && \
28477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28479 "RANLIB=$${RANLIB}" \
28480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28481 distclean) \
28482 || exit 1
28484 @endif target-libffi
28486 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28487 maybe-maintainer-clean-target-libffi:
28488 @if target-libffi
28489 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28491 maintainer-clean-target-libffi:
28492 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28493 r=`${PWD_COMMAND}`; export r; \
28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28495 $(SET_LIB_PATH) \
28496 $(NORMAL_TARGET_EXPORTS) \
28497 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28498 for flag in $(EXTRA_TARGET_FLAGS); do \
28499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28500 done; \
28501 (cd $(TARGET_SUBDIR)/libffi && \
28502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28504 "RANLIB=$${RANLIB}" \
28505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28506 maintainer-clean) \
28507 || exit 1
28509 @endif target-libffi
28512 .PHONY: configure-target-libjava maybe-configure-target-libjava
28513 maybe-configure-target-libjava:
28514 @if target-libjava
28515 maybe-configure-target-libjava: configure-target-libjava
28517 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28518 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28519 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28520 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28521 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28523 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28524 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28526 r=`${PWD_COMMAND}`; export r; \
28527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28528 $(SET_LIB_PATH) \
28529 $(RAW_CXX_TARGET_EXPORTS) \
28530 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28531 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28532 case $(srcdir) in \
28533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28534 *) topdir="../../$(srcdir)" ;; \
28535 esac; \
28536 if [ "$(srcdir)" = "." ] ; then \
28537 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
28538 if [ -f Makefile ]; then \
28539 if $(MAKE) distclean; then \
28540 true; \
28541 else \
28542 exit 1; \
28543 fi; \
28544 else \
28545 true; \
28546 fi; \
28547 else \
28548 exit 1; \
28549 fi; \
28550 if [ -d ../include ] ; then \
28551 true; \
28552 else \
28553 mkdir ../include; \
28554 cd ../include; \
28555 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
28556 cd ../libjava; \
28557 fi; \
28558 srcdiroption="--srcdir=."; \
28559 libsrcdir="."; \
28560 else \
28561 srcdiroption="--srcdir=$${topdir}/libjava"; \
28562 libsrcdir="$$s/libjava"; \
28563 fi; \
28564 rm -f no-such-file || : ; \
28565 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28566 $(TARGET_CONFIGARGS) $${srcdiroption} \
28567 --with-target-subdir="$(TARGET_SUBDIR)" \
28568 || exit 1
28569 @endif target-libjava
28571 .PHONY: all-target-libjava maybe-all-target-libjava
28572 maybe-all-target-libjava:
28573 @if target-libjava
28574 TARGET-target-libjava=all
28575 maybe-all-target-libjava: all-target-libjava
28576 all-target-libjava: configure-target-libjava
28577 @r=`${PWD_COMMAND}`; export r; \
28578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28579 $(SET_LIB_PATH) \
28580 $(RAW_CXX_TARGET_EXPORTS) \
28581 (cd $(TARGET_SUBDIR)/libjava && \
28582 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28583 @endif target-libjava
28585 .PHONY: check-target-libjava maybe-check-target-libjava
28586 maybe-check-target-libjava:
28587 @if target-libjava
28588 maybe-check-target-libjava: check-target-libjava
28590 check-target-libjava:
28591 @r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(SET_LIB_PATH) \
28594 $(RAW_CXX_TARGET_EXPORTS) \
28595 (cd $(TARGET_SUBDIR)/libjava && \
28596 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28598 @endif target-libjava
28600 .PHONY: install-target-libjava maybe-install-target-libjava
28601 maybe-install-target-libjava:
28602 @if target-libjava
28603 maybe-install-target-libjava: install-target-libjava
28605 install-target-libjava: installdirs
28606 @r=`${PWD_COMMAND}`; export r; \
28607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28608 $(SET_LIB_PATH) \
28609 $(RAW_CXX_TARGET_EXPORTS) \
28610 (cd $(TARGET_SUBDIR)/libjava && \
28611 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28613 @endif target-libjava
28615 # Other targets (info, dvi, etc.)
28617 .PHONY: maybe-info-target-libjava info-target-libjava
28618 maybe-info-target-libjava:
28619 @if target-libjava
28620 maybe-info-target-libjava: info-target-libjava
28622 info-target-libjava: \
28623 configure-target-libjava
28624 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28625 r=`${PWD_COMMAND}`; export r; \
28626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28627 $(SET_LIB_PATH) \
28628 $(RAW_CXX_TARGET_EXPORTS) \
28629 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28630 for flag in $(EXTRA_TARGET_FLAGS); do \
28631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28632 done; \
28633 (cd $(TARGET_SUBDIR)/libjava && \
28634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28636 "RANLIB=$${RANLIB}" \
28637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28638 info) \
28639 || exit 1
28641 @endif target-libjava
28643 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28644 maybe-dvi-target-libjava:
28645 @if target-libjava
28646 maybe-dvi-target-libjava: dvi-target-libjava
28648 dvi-target-libjava: \
28649 configure-target-libjava
28650 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28651 r=`${PWD_COMMAND}`; export r; \
28652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28653 $(SET_LIB_PATH) \
28654 $(RAW_CXX_TARGET_EXPORTS) \
28655 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28656 for flag in $(EXTRA_TARGET_FLAGS); do \
28657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28658 done; \
28659 (cd $(TARGET_SUBDIR)/libjava && \
28660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28662 "RANLIB=$${RANLIB}" \
28663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28664 dvi) \
28665 || exit 1
28667 @endif target-libjava
28669 .PHONY: maybe-html-target-libjava html-target-libjava
28670 maybe-html-target-libjava:
28671 @if target-libjava
28672 maybe-html-target-libjava: html-target-libjava
28674 html-target-libjava: \
28675 configure-target-libjava
28676 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28677 r=`${PWD_COMMAND}`; export r; \
28678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28679 $(SET_LIB_PATH) \
28680 $(RAW_CXX_TARGET_EXPORTS) \
28681 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28682 for flag in $(EXTRA_TARGET_FLAGS); do \
28683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28684 done; \
28685 (cd $(TARGET_SUBDIR)/libjava && \
28686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28688 "RANLIB=$${RANLIB}" \
28689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28690 html) \
28691 || exit 1
28693 @endif target-libjava
28695 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28696 maybe-TAGS-target-libjava:
28697 @if target-libjava
28698 maybe-TAGS-target-libjava: TAGS-target-libjava
28700 TAGS-target-libjava: \
28701 configure-target-libjava
28702 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28703 r=`${PWD_COMMAND}`; export r; \
28704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28705 $(SET_LIB_PATH) \
28706 $(RAW_CXX_TARGET_EXPORTS) \
28707 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28708 for flag in $(EXTRA_TARGET_FLAGS); do \
28709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28710 done; \
28711 (cd $(TARGET_SUBDIR)/libjava && \
28712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28714 "RANLIB=$${RANLIB}" \
28715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28716 TAGS) \
28717 || exit 1
28719 @endif target-libjava
28721 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28722 maybe-install-info-target-libjava:
28723 @if target-libjava
28724 maybe-install-info-target-libjava: install-info-target-libjava
28726 install-info-target-libjava: \
28727 configure-target-libjava \
28728 info-target-libjava
28729 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28730 r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(SET_LIB_PATH) \
28733 $(RAW_CXX_TARGET_EXPORTS) \
28734 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28735 for flag in $(EXTRA_TARGET_FLAGS); do \
28736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28737 done; \
28738 (cd $(TARGET_SUBDIR)/libjava && \
28739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28741 "RANLIB=$${RANLIB}" \
28742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28743 install-info) \
28744 || exit 1
28746 @endif target-libjava
28748 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28749 maybe-installcheck-target-libjava:
28750 @if target-libjava
28751 maybe-installcheck-target-libjava: installcheck-target-libjava
28753 installcheck-target-libjava: \
28754 configure-target-libjava
28755 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28756 r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(SET_LIB_PATH) \
28759 $(RAW_CXX_TARGET_EXPORTS) \
28760 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28761 for flag in $(EXTRA_TARGET_FLAGS); do \
28762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28763 done; \
28764 (cd $(TARGET_SUBDIR)/libjava && \
28765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28767 "RANLIB=$${RANLIB}" \
28768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28769 installcheck) \
28770 || exit 1
28772 @endif target-libjava
28774 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28775 maybe-mostlyclean-target-libjava:
28776 @if target-libjava
28777 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28779 mostlyclean-target-libjava:
28780 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28781 r=`${PWD_COMMAND}`; export r; \
28782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28783 $(SET_LIB_PATH) \
28784 $(RAW_CXX_TARGET_EXPORTS) \
28785 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28786 for flag in $(EXTRA_TARGET_FLAGS); do \
28787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28788 done; \
28789 (cd $(TARGET_SUBDIR)/libjava && \
28790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28792 "RANLIB=$${RANLIB}" \
28793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28794 mostlyclean) \
28795 || exit 1
28797 @endif target-libjava
28799 .PHONY: maybe-clean-target-libjava clean-target-libjava
28800 maybe-clean-target-libjava:
28801 @if target-libjava
28802 maybe-clean-target-libjava: clean-target-libjava
28804 clean-target-libjava:
28805 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28806 r=`${PWD_COMMAND}`; export r; \
28807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28808 $(SET_LIB_PATH) \
28809 $(RAW_CXX_TARGET_EXPORTS) \
28810 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28811 for flag in $(EXTRA_TARGET_FLAGS); do \
28812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28813 done; \
28814 (cd $(TARGET_SUBDIR)/libjava && \
28815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28817 "RANLIB=$${RANLIB}" \
28818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28819 clean) \
28820 || exit 1
28822 @endif target-libjava
28824 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28825 maybe-distclean-target-libjava:
28826 @if target-libjava
28827 maybe-distclean-target-libjava: distclean-target-libjava
28829 distclean-target-libjava:
28830 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28831 r=`${PWD_COMMAND}`; export r; \
28832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28833 $(SET_LIB_PATH) \
28834 $(RAW_CXX_TARGET_EXPORTS) \
28835 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28836 for flag in $(EXTRA_TARGET_FLAGS); do \
28837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28838 done; \
28839 (cd $(TARGET_SUBDIR)/libjava && \
28840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28842 "RANLIB=$${RANLIB}" \
28843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28844 distclean) \
28845 || exit 1
28847 @endif target-libjava
28849 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28850 maybe-maintainer-clean-target-libjava:
28851 @if target-libjava
28852 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28854 maintainer-clean-target-libjava:
28855 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28856 r=`${PWD_COMMAND}`; export r; \
28857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 $(SET_LIB_PATH) \
28859 $(RAW_CXX_TARGET_EXPORTS) \
28860 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28861 for flag in $(EXTRA_TARGET_FLAGS); do \
28862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28863 done; \
28864 (cd $(TARGET_SUBDIR)/libjava && \
28865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28867 "RANLIB=$${RANLIB}" \
28868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28869 maintainer-clean) \
28870 || exit 1
28872 @endif target-libjava
28875 .PHONY: configure-target-zlib maybe-configure-target-zlib
28876 maybe-configure-target-zlib:
28877 @if target-zlib
28878 maybe-configure-target-zlib: configure-target-zlib
28880 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28881 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28882 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28883 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28884 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28886 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28887 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(SET_LIB_PATH) \
28892 $(NORMAL_TARGET_EXPORTS) \
28893 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28894 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28895 case $(srcdir) in \
28896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28897 *) topdir="../../$(srcdir)" ;; \
28898 esac; \
28899 if [ "$(srcdir)" = "." ] ; then \
28900 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28901 if [ -f Makefile ]; then \
28902 if $(MAKE) distclean; then \
28903 true; \
28904 else \
28905 exit 1; \
28906 fi; \
28907 else \
28908 true; \
28909 fi; \
28910 else \
28911 exit 1; \
28912 fi; \
28913 if [ -d ../include ] ; then \
28914 true; \
28915 else \
28916 mkdir ../include; \
28917 cd ../include; \
28918 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
28919 cd ../zlib; \
28920 fi; \
28921 srcdiroption="--srcdir=."; \
28922 libsrcdir="."; \
28923 else \
28924 srcdiroption="--srcdir=$${topdir}/zlib"; \
28925 libsrcdir="$$s/zlib"; \
28926 fi; \
28927 rm -f no-such-file || : ; \
28928 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28929 $(TARGET_CONFIGARGS) $${srcdiroption} \
28930 --with-target-subdir="$(TARGET_SUBDIR)" \
28931 || exit 1
28932 @endif target-zlib
28934 .PHONY: all-target-zlib maybe-all-target-zlib
28935 maybe-all-target-zlib:
28936 @if target-zlib
28937 TARGET-target-zlib=all
28938 maybe-all-target-zlib: all-target-zlib
28939 all-target-zlib: configure-target-zlib
28940 @r=`${PWD_COMMAND}`; export r; \
28941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28942 $(SET_LIB_PATH) \
28943 $(NORMAL_TARGET_EXPORTS) \
28944 (cd $(TARGET_SUBDIR)/zlib && \
28945 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28946 @endif target-zlib
28948 .PHONY: check-target-zlib maybe-check-target-zlib
28949 maybe-check-target-zlib:
28950 @if target-zlib
28951 maybe-check-target-zlib: check-target-zlib
28953 check-target-zlib:
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(SET_LIB_PATH) \
28957 $(NORMAL_TARGET_EXPORTS) \
28958 (cd $(TARGET_SUBDIR)/zlib && \
28959 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28961 @endif target-zlib
28963 .PHONY: install-target-zlib maybe-install-target-zlib
28964 maybe-install-target-zlib:
28965 @if target-zlib
28966 maybe-install-target-zlib: install-target-zlib
28968 install-target-zlib: installdirs
28969 @r=`${PWD_COMMAND}`; export r; \
28970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 $(SET_LIB_PATH) \
28972 $(NORMAL_TARGET_EXPORTS) \
28973 (cd $(TARGET_SUBDIR)/zlib && \
28974 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28976 @endif target-zlib
28978 # Other targets (info, dvi, etc.)
28980 .PHONY: maybe-info-target-zlib info-target-zlib
28981 maybe-info-target-zlib:
28982 @if target-zlib
28983 maybe-info-target-zlib: info-target-zlib
28985 info-target-zlib: \
28986 configure-target-zlib
28987 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28988 r=`${PWD_COMMAND}`; export r; \
28989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28990 $(SET_LIB_PATH) \
28991 $(NORMAL_TARGET_EXPORTS) \
28992 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28993 for flag in $(EXTRA_TARGET_FLAGS); do \
28994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28995 done; \
28996 (cd $(TARGET_SUBDIR)/zlib && \
28997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28999 "RANLIB=$${RANLIB}" \
29000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29001 info) \
29002 || exit 1
29004 @endif target-zlib
29006 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
29007 maybe-dvi-target-zlib:
29008 @if target-zlib
29009 maybe-dvi-target-zlib: dvi-target-zlib
29011 dvi-target-zlib: \
29012 configure-target-zlib
29013 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29014 r=`${PWD_COMMAND}`; export r; \
29015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29016 $(SET_LIB_PATH) \
29017 $(NORMAL_TARGET_EXPORTS) \
29018 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
29019 for flag in $(EXTRA_TARGET_FLAGS); do \
29020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29021 done; \
29022 (cd $(TARGET_SUBDIR)/zlib && \
29023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29025 "RANLIB=$${RANLIB}" \
29026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29027 dvi) \
29028 || exit 1
29030 @endif target-zlib
29032 .PHONY: maybe-html-target-zlib html-target-zlib
29033 maybe-html-target-zlib:
29034 @if target-zlib
29035 maybe-html-target-zlib: html-target-zlib
29037 html-target-zlib: \
29038 configure-target-zlib
29039 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29040 r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(SET_LIB_PATH) \
29043 $(NORMAL_TARGET_EXPORTS) \
29044 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
29045 for flag in $(EXTRA_TARGET_FLAGS); do \
29046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29047 done; \
29048 (cd $(TARGET_SUBDIR)/zlib && \
29049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29051 "RANLIB=$${RANLIB}" \
29052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29053 html) \
29054 || exit 1
29056 @endif target-zlib
29058 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
29059 maybe-TAGS-target-zlib:
29060 @if target-zlib
29061 maybe-TAGS-target-zlib: TAGS-target-zlib
29063 TAGS-target-zlib: \
29064 configure-target-zlib
29065 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29066 r=`${PWD_COMMAND}`; export r; \
29067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29068 $(SET_LIB_PATH) \
29069 $(NORMAL_TARGET_EXPORTS) \
29070 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
29071 for flag in $(EXTRA_TARGET_FLAGS); do \
29072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29073 done; \
29074 (cd $(TARGET_SUBDIR)/zlib && \
29075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29077 "RANLIB=$${RANLIB}" \
29078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29079 TAGS) \
29080 || exit 1
29082 @endif target-zlib
29084 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
29085 maybe-install-info-target-zlib:
29086 @if target-zlib
29087 maybe-install-info-target-zlib: install-info-target-zlib
29089 install-info-target-zlib: \
29090 configure-target-zlib \
29091 info-target-zlib
29092 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29093 r=`${PWD_COMMAND}`; export r; \
29094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29095 $(SET_LIB_PATH) \
29096 $(NORMAL_TARGET_EXPORTS) \
29097 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
29098 for flag in $(EXTRA_TARGET_FLAGS); do \
29099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29100 done; \
29101 (cd $(TARGET_SUBDIR)/zlib && \
29102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29104 "RANLIB=$${RANLIB}" \
29105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29106 install-info) \
29107 || exit 1
29109 @endif target-zlib
29111 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
29112 maybe-installcheck-target-zlib:
29113 @if target-zlib
29114 maybe-installcheck-target-zlib: installcheck-target-zlib
29116 installcheck-target-zlib: \
29117 configure-target-zlib
29118 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29119 r=`${PWD_COMMAND}`; export r; \
29120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29121 $(SET_LIB_PATH) \
29122 $(NORMAL_TARGET_EXPORTS) \
29123 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
29124 for flag in $(EXTRA_TARGET_FLAGS); do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 (cd $(TARGET_SUBDIR)/zlib && \
29128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29130 "RANLIB=$${RANLIB}" \
29131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29132 installcheck) \
29133 || exit 1
29135 @endif target-zlib
29137 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
29138 maybe-mostlyclean-target-zlib:
29139 @if target-zlib
29140 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
29142 mostlyclean-target-zlib:
29143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29144 r=`${PWD_COMMAND}`; export r; \
29145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29146 $(SET_LIB_PATH) \
29147 $(NORMAL_TARGET_EXPORTS) \
29148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
29149 for flag in $(EXTRA_TARGET_FLAGS); do \
29150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29151 done; \
29152 (cd $(TARGET_SUBDIR)/zlib && \
29153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29155 "RANLIB=$${RANLIB}" \
29156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29157 mostlyclean) \
29158 || exit 1
29160 @endif target-zlib
29162 .PHONY: maybe-clean-target-zlib clean-target-zlib
29163 maybe-clean-target-zlib:
29164 @if target-zlib
29165 maybe-clean-target-zlib: clean-target-zlib
29167 clean-target-zlib:
29168 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(SET_LIB_PATH) \
29172 $(NORMAL_TARGET_EXPORTS) \
29173 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
29174 for flag in $(EXTRA_TARGET_FLAGS); do \
29175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29176 done; \
29177 (cd $(TARGET_SUBDIR)/zlib && \
29178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29180 "RANLIB=$${RANLIB}" \
29181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29182 clean) \
29183 || exit 1
29185 @endif target-zlib
29187 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
29188 maybe-distclean-target-zlib:
29189 @if target-zlib
29190 maybe-distclean-target-zlib: distclean-target-zlib
29192 distclean-target-zlib:
29193 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29194 r=`${PWD_COMMAND}`; export r; \
29195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(SET_LIB_PATH) \
29197 $(NORMAL_TARGET_EXPORTS) \
29198 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
29199 for flag in $(EXTRA_TARGET_FLAGS); do \
29200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29201 done; \
29202 (cd $(TARGET_SUBDIR)/zlib && \
29203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29205 "RANLIB=$${RANLIB}" \
29206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29207 distclean) \
29208 || exit 1
29210 @endif target-zlib
29212 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
29213 maybe-maintainer-clean-target-zlib:
29214 @if target-zlib
29215 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
29217 maintainer-clean-target-zlib:
29218 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(SET_LIB_PATH) \
29222 $(NORMAL_TARGET_EXPORTS) \
29223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
29224 for flag in $(EXTRA_TARGET_FLAGS); do \
29225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29226 done; \
29227 (cd $(TARGET_SUBDIR)/zlib && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29232 maintainer-clean) \
29233 || exit 1
29235 @endif target-zlib
29238 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
29239 maybe-configure-target-boehm-gc:
29240 @if target-boehm-gc
29241 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29243 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29244 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29246 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29247 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29249 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29250 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29252 r=`${PWD_COMMAND}`; export r; \
29253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29254 $(SET_LIB_PATH) \
29255 $(NORMAL_TARGET_EXPORTS) \
29256 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29257 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29258 case $(srcdir) in \
29259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29260 *) topdir="../../$(srcdir)" ;; \
29261 esac; \
29262 if [ "$(srcdir)" = "." ] ; then \
29263 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
29264 if [ -f Makefile ]; then \
29265 if $(MAKE) distclean; then \
29266 true; \
29267 else \
29268 exit 1; \
29269 fi; \
29270 else \
29271 true; \
29272 fi; \
29273 else \
29274 exit 1; \
29275 fi; \
29276 if [ -d ../include ] ; then \
29277 true; \
29278 else \
29279 mkdir ../include; \
29280 cd ../include; \
29281 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
29282 cd ../boehm-gc; \
29283 fi; \
29284 srcdiroption="--srcdir=."; \
29285 libsrcdir="."; \
29286 else \
29287 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29288 libsrcdir="$$s/boehm-gc"; \
29289 fi; \
29290 rm -f no-such-file || : ; \
29291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29292 $(TARGET_CONFIGARGS) $${srcdiroption} \
29293 --with-target-subdir="$(TARGET_SUBDIR)" \
29294 || exit 1
29295 @endif target-boehm-gc
29297 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29298 maybe-all-target-boehm-gc:
29299 @if target-boehm-gc
29300 TARGET-target-boehm-gc=all
29301 maybe-all-target-boehm-gc: all-target-boehm-gc
29302 all-target-boehm-gc: configure-target-boehm-gc
29303 @r=`${PWD_COMMAND}`; export r; \
29304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29305 $(SET_LIB_PATH) \
29306 $(NORMAL_TARGET_EXPORTS) \
29307 (cd $(TARGET_SUBDIR)/boehm-gc && \
29308 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29309 @endif target-boehm-gc
29311 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29312 maybe-check-target-boehm-gc:
29313 @if target-boehm-gc
29314 maybe-check-target-boehm-gc: check-target-boehm-gc
29316 check-target-boehm-gc:
29317 @r=`${PWD_COMMAND}`; export r; \
29318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29319 $(SET_LIB_PATH) \
29320 $(NORMAL_TARGET_EXPORTS) \
29321 (cd $(TARGET_SUBDIR)/boehm-gc && \
29322 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29324 @endif target-boehm-gc
29326 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29327 maybe-install-target-boehm-gc:
29328 @if target-boehm-gc
29329 maybe-install-target-boehm-gc: install-target-boehm-gc
29331 install-target-boehm-gc: installdirs
29332 @r=`${PWD_COMMAND}`; export r; \
29333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29334 $(SET_LIB_PATH) \
29335 $(NORMAL_TARGET_EXPORTS) \
29336 (cd $(TARGET_SUBDIR)/boehm-gc && \
29337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29339 @endif target-boehm-gc
29341 # Other targets (info, dvi, etc.)
29343 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29344 maybe-info-target-boehm-gc:
29345 @if target-boehm-gc
29346 maybe-info-target-boehm-gc: info-target-boehm-gc
29348 info-target-boehm-gc: \
29349 configure-target-boehm-gc
29350 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29351 r=`${PWD_COMMAND}`; export r; \
29352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29353 $(SET_LIB_PATH) \
29354 $(NORMAL_TARGET_EXPORTS) \
29355 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29356 for flag in $(EXTRA_TARGET_FLAGS); do \
29357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29358 done; \
29359 (cd $(TARGET_SUBDIR)/boehm-gc && \
29360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29362 "RANLIB=$${RANLIB}" \
29363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29364 info) \
29365 || exit 1
29367 @endif target-boehm-gc
29369 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29370 maybe-dvi-target-boehm-gc:
29371 @if target-boehm-gc
29372 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29374 dvi-target-boehm-gc: \
29375 configure-target-boehm-gc
29376 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29377 r=`${PWD_COMMAND}`; export r; \
29378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29379 $(SET_LIB_PATH) \
29380 $(NORMAL_TARGET_EXPORTS) \
29381 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29382 for flag in $(EXTRA_TARGET_FLAGS); do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 (cd $(TARGET_SUBDIR)/boehm-gc && \
29386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29388 "RANLIB=$${RANLIB}" \
29389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29390 dvi) \
29391 || exit 1
29393 @endif target-boehm-gc
29395 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29396 maybe-html-target-boehm-gc:
29397 @if target-boehm-gc
29398 maybe-html-target-boehm-gc: html-target-boehm-gc
29400 html-target-boehm-gc: \
29401 configure-target-boehm-gc
29402 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29403 r=`${PWD_COMMAND}`; export r; \
29404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29405 $(SET_LIB_PATH) \
29406 $(NORMAL_TARGET_EXPORTS) \
29407 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29408 for flag in $(EXTRA_TARGET_FLAGS); do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 (cd $(TARGET_SUBDIR)/boehm-gc && \
29412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29414 "RANLIB=$${RANLIB}" \
29415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29416 html) \
29417 || exit 1
29419 @endif target-boehm-gc
29421 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29422 maybe-TAGS-target-boehm-gc:
29423 @if target-boehm-gc
29424 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29426 TAGS-target-boehm-gc: \
29427 configure-target-boehm-gc
29428 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29429 r=`${PWD_COMMAND}`; export r; \
29430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29431 $(SET_LIB_PATH) \
29432 $(NORMAL_TARGET_EXPORTS) \
29433 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29434 for flag in $(EXTRA_TARGET_FLAGS); do \
29435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29436 done; \
29437 (cd $(TARGET_SUBDIR)/boehm-gc && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29442 TAGS) \
29443 || exit 1
29445 @endif target-boehm-gc
29447 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29448 maybe-install-info-target-boehm-gc:
29449 @if target-boehm-gc
29450 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29452 install-info-target-boehm-gc: \
29453 configure-target-boehm-gc \
29454 info-target-boehm-gc
29455 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(SET_LIB_PATH) \
29459 $(NORMAL_TARGET_EXPORTS) \
29460 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29461 for flag in $(EXTRA_TARGET_FLAGS); do \
29462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29463 done; \
29464 (cd $(TARGET_SUBDIR)/boehm-gc && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29469 install-info) \
29470 || exit 1
29472 @endif target-boehm-gc
29474 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29475 maybe-installcheck-target-boehm-gc:
29476 @if target-boehm-gc
29477 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29479 installcheck-target-boehm-gc: \
29480 configure-target-boehm-gc
29481 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(SET_LIB_PATH) \
29485 $(NORMAL_TARGET_EXPORTS) \
29486 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29487 for flag in $(EXTRA_TARGET_FLAGS); do \
29488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29489 done; \
29490 (cd $(TARGET_SUBDIR)/boehm-gc && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29495 installcheck) \
29496 || exit 1
29498 @endif target-boehm-gc
29500 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29501 maybe-mostlyclean-target-boehm-gc:
29502 @if target-boehm-gc
29503 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29505 mostlyclean-target-boehm-gc:
29506 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29509 $(SET_LIB_PATH) \
29510 $(NORMAL_TARGET_EXPORTS) \
29511 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29512 for flag in $(EXTRA_TARGET_FLAGS); do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29514 done; \
29515 (cd $(TARGET_SUBDIR)/boehm-gc && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29518 "RANLIB=$${RANLIB}" \
29519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29520 mostlyclean) \
29521 || exit 1
29523 @endif target-boehm-gc
29525 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29526 maybe-clean-target-boehm-gc:
29527 @if target-boehm-gc
29528 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29530 clean-target-boehm-gc:
29531 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29532 r=`${PWD_COMMAND}`; export r; \
29533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29534 $(SET_LIB_PATH) \
29535 $(NORMAL_TARGET_EXPORTS) \
29536 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29537 for flag in $(EXTRA_TARGET_FLAGS); do \
29538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29539 done; \
29540 (cd $(TARGET_SUBDIR)/boehm-gc && \
29541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29543 "RANLIB=$${RANLIB}" \
29544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29545 clean) \
29546 || exit 1
29548 @endif target-boehm-gc
29550 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29551 maybe-distclean-target-boehm-gc:
29552 @if target-boehm-gc
29553 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29555 distclean-target-boehm-gc:
29556 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29557 r=`${PWD_COMMAND}`; export r; \
29558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29559 $(SET_LIB_PATH) \
29560 $(NORMAL_TARGET_EXPORTS) \
29561 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29562 for flag in $(EXTRA_TARGET_FLAGS); do \
29563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29564 done; \
29565 (cd $(TARGET_SUBDIR)/boehm-gc && \
29566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29568 "RANLIB=$${RANLIB}" \
29569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29570 distclean) \
29571 || exit 1
29573 @endif target-boehm-gc
29575 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29576 maybe-maintainer-clean-target-boehm-gc:
29577 @if target-boehm-gc
29578 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29580 maintainer-clean-target-boehm-gc:
29581 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29582 r=`${PWD_COMMAND}`; export r; \
29583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29584 $(SET_LIB_PATH) \
29585 $(NORMAL_TARGET_EXPORTS) \
29586 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29587 for flag in $(EXTRA_TARGET_FLAGS); do \
29588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29589 done; \
29590 (cd $(TARGET_SUBDIR)/boehm-gc && \
29591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29593 "RANLIB=$${RANLIB}" \
29594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29595 maintainer-clean) \
29596 || exit 1
29598 @endif target-boehm-gc
29601 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29602 maybe-configure-target-qthreads:
29603 @if target-qthreads
29604 maybe-configure-target-qthreads: configure-target-qthreads
29606 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29607 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29609 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29610 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29612 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29613 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29615 r=`${PWD_COMMAND}`; export r; \
29616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29617 $(SET_LIB_PATH) \
29618 $(NORMAL_TARGET_EXPORTS) \
29619 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29620 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29621 case $(srcdir) in \
29622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29623 *) topdir="../../$(srcdir)" ;; \
29624 esac; \
29625 if [ "$(srcdir)" = "." ] ; then \
29626 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
29627 if [ -f Makefile ]; then \
29628 if $(MAKE) distclean; then \
29629 true; \
29630 else \
29631 exit 1; \
29632 fi; \
29633 else \
29634 true; \
29635 fi; \
29636 else \
29637 exit 1; \
29638 fi; \
29639 if [ -d ../include ] ; then \
29640 true; \
29641 else \
29642 mkdir ../include; \
29643 cd ../include; \
29644 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
29645 cd ../qthreads; \
29646 fi; \
29647 srcdiroption="--srcdir=."; \
29648 libsrcdir="."; \
29649 else \
29650 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29651 libsrcdir="$$s/qthreads"; \
29652 fi; \
29653 rm -f no-such-file || : ; \
29654 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29655 $(TARGET_CONFIGARGS) $${srcdiroption} \
29656 --with-target-subdir="$(TARGET_SUBDIR)" \
29657 || exit 1
29658 @endif target-qthreads
29660 .PHONY: all-target-qthreads maybe-all-target-qthreads
29661 maybe-all-target-qthreads:
29662 @if target-qthreads
29663 TARGET-target-qthreads=all
29664 maybe-all-target-qthreads: all-target-qthreads
29665 all-target-qthreads: configure-target-qthreads
29666 @r=`${PWD_COMMAND}`; export r; \
29667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29668 $(SET_LIB_PATH) \
29669 $(NORMAL_TARGET_EXPORTS) \
29670 (cd $(TARGET_SUBDIR)/qthreads && \
29671 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29672 @endif target-qthreads
29674 .PHONY: check-target-qthreads maybe-check-target-qthreads
29675 maybe-check-target-qthreads:
29676 @if target-qthreads
29677 maybe-check-target-qthreads: check-target-qthreads
29679 check-target-qthreads:
29680 @r=`${PWD_COMMAND}`; export r; \
29681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29682 $(SET_LIB_PATH) \
29683 $(NORMAL_TARGET_EXPORTS) \
29684 (cd $(TARGET_SUBDIR)/qthreads && \
29685 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29687 @endif target-qthreads
29689 .PHONY: install-target-qthreads maybe-install-target-qthreads
29690 maybe-install-target-qthreads:
29691 @if target-qthreads
29692 maybe-install-target-qthreads: install-target-qthreads
29694 install-target-qthreads: installdirs
29695 @r=`${PWD_COMMAND}`; export r; \
29696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(SET_LIB_PATH) \
29698 $(NORMAL_TARGET_EXPORTS) \
29699 (cd $(TARGET_SUBDIR)/qthreads && \
29700 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29702 @endif target-qthreads
29704 # Other targets (info, dvi, etc.)
29706 .PHONY: maybe-info-target-qthreads info-target-qthreads
29707 maybe-info-target-qthreads:
29708 @if target-qthreads
29709 maybe-info-target-qthreads: info-target-qthreads
29711 info-target-qthreads: \
29712 configure-target-qthreads
29713 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29714 r=`${PWD_COMMAND}`; export r; \
29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29716 $(SET_LIB_PATH) \
29717 $(NORMAL_TARGET_EXPORTS) \
29718 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29719 for flag in $(EXTRA_TARGET_FLAGS); do \
29720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29721 done; \
29722 (cd $(TARGET_SUBDIR)/qthreads && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29727 info) \
29728 || exit 1
29730 @endif target-qthreads
29732 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29733 maybe-dvi-target-qthreads:
29734 @if target-qthreads
29735 maybe-dvi-target-qthreads: dvi-target-qthreads
29737 dvi-target-qthreads: \
29738 configure-target-qthreads
29739 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29740 r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(SET_LIB_PATH) \
29743 $(NORMAL_TARGET_EXPORTS) \
29744 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29745 for flag in $(EXTRA_TARGET_FLAGS); do \
29746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29747 done; \
29748 (cd $(TARGET_SUBDIR)/qthreads && \
29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29751 "RANLIB=$${RANLIB}" \
29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29753 dvi) \
29754 || exit 1
29756 @endif target-qthreads
29758 .PHONY: maybe-html-target-qthreads html-target-qthreads
29759 maybe-html-target-qthreads:
29760 @if target-qthreads
29761 maybe-html-target-qthreads: html-target-qthreads
29763 html-target-qthreads: \
29764 configure-target-qthreads
29765 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(SET_LIB_PATH) \
29769 $(NORMAL_TARGET_EXPORTS) \
29770 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29771 for flag in $(EXTRA_TARGET_FLAGS); do \
29772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29773 done; \
29774 (cd $(TARGET_SUBDIR)/qthreads && \
29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29777 "RANLIB=$${RANLIB}" \
29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29779 html) \
29780 || exit 1
29782 @endif target-qthreads
29784 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29785 maybe-TAGS-target-qthreads:
29786 @if target-qthreads
29787 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29789 TAGS-target-qthreads: \
29790 configure-target-qthreads
29791 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29792 r=`${PWD_COMMAND}`; export r; \
29793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29794 $(SET_LIB_PATH) \
29795 $(NORMAL_TARGET_EXPORTS) \
29796 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29797 for flag in $(EXTRA_TARGET_FLAGS); do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 (cd $(TARGET_SUBDIR)/qthreads && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29805 TAGS) \
29806 || exit 1
29808 @endif target-qthreads
29810 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29811 maybe-install-info-target-qthreads:
29812 @if target-qthreads
29813 maybe-install-info-target-qthreads: install-info-target-qthreads
29815 install-info-target-qthreads: \
29816 configure-target-qthreads \
29817 info-target-qthreads
29818 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29819 r=`${PWD_COMMAND}`; export r; \
29820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29821 $(SET_LIB_PATH) \
29822 $(NORMAL_TARGET_EXPORTS) \
29823 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29824 for flag in $(EXTRA_TARGET_FLAGS); do \
29825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29826 done; \
29827 (cd $(TARGET_SUBDIR)/qthreads && \
29828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29830 "RANLIB=$${RANLIB}" \
29831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29832 install-info) \
29833 || exit 1
29835 @endif target-qthreads
29837 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29838 maybe-installcheck-target-qthreads:
29839 @if target-qthreads
29840 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29842 installcheck-target-qthreads: \
29843 configure-target-qthreads
29844 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29845 r=`${PWD_COMMAND}`; export r; \
29846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29847 $(SET_LIB_PATH) \
29848 $(NORMAL_TARGET_EXPORTS) \
29849 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29850 for flag in $(EXTRA_TARGET_FLAGS); do \
29851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29852 done; \
29853 (cd $(TARGET_SUBDIR)/qthreads && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29858 installcheck) \
29859 || exit 1
29861 @endif target-qthreads
29863 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29864 maybe-mostlyclean-target-qthreads:
29865 @if target-qthreads
29866 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29868 mostlyclean-target-qthreads:
29869 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29870 r=`${PWD_COMMAND}`; export r; \
29871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29872 $(SET_LIB_PATH) \
29873 $(NORMAL_TARGET_EXPORTS) \
29874 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
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)/qthreads && \
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-qthreads
29888 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29889 maybe-clean-target-qthreads:
29890 @if target-qthreads
29891 maybe-clean-target-qthreads: clean-target-qthreads
29893 clean-target-qthreads:
29894 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29895 r=`${PWD_COMMAND}`; export r; \
29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29897 $(SET_LIB_PATH) \
29898 $(NORMAL_TARGET_EXPORTS) \
29899 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29900 for flag in $(EXTRA_TARGET_FLAGS); do \
29901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29902 done; \
29903 (cd $(TARGET_SUBDIR)/qthreads && \
29904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29906 "RANLIB=$${RANLIB}" \
29907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29908 clean) \
29909 || exit 1
29911 @endif target-qthreads
29913 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29914 maybe-distclean-target-qthreads:
29915 @if target-qthreads
29916 maybe-distclean-target-qthreads: distclean-target-qthreads
29918 distclean-target-qthreads:
29919 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29920 r=`${PWD_COMMAND}`; export r; \
29921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29922 $(SET_LIB_PATH) \
29923 $(NORMAL_TARGET_EXPORTS) \
29924 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29925 for flag in $(EXTRA_TARGET_FLAGS); do \
29926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29927 done; \
29928 (cd $(TARGET_SUBDIR)/qthreads && \
29929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29931 "RANLIB=$${RANLIB}" \
29932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29933 distclean) \
29934 || exit 1
29936 @endif target-qthreads
29938 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29939 maybe-maintainer-clean-target-qthreads:
29940 @if target-qthreads
29941 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29943 maintainer-clean-target-qthreads:
29944 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29945 r=`${PWD_COMMAND}`; export r; \
29946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29947 $(SET_LIB_PATH) \
29948 $(NORMAL_TARGET_EXPORTS) \
29949 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29950 for flag in $(EXTRA_TARGET_FLAGS); do \
29951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29952 done; \
29953 (cd $(TARGET_SUBDIR)/qthreads && \
29954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29956 "RANLIB=$${RANLIB}" \
29957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29958 maintainer-clean) \
29959 || exit 1
29961 @endif target-qthreads
29964 .PHONY: configure-target-rda maybe-configure-target-rda
29965 maybe-configure-target-rda:
29966 @if target-rda
29967 maybe-configure-target-rda: configure-target-rda
29969 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29970 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29971 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29972 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29973 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29975 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29976 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(SET_LIB_PATH) \
29981 $(NORMAL_TARGET_EXPORTS) \
29982 echo Configuring in $(TARGET_SUBDIR)/rda; \
29983 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29984 case $(srcdir) in \
29985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29986 *) topdir="../../$(srcdir)" ;; \
29987 esac; \
29988 if [ "$(srcdir)" = "." ] ; then \
29989 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
29990 if [ -f Makefile ]; then \
29991 if $(MAKE) distclean; then \
29992 true; \
29993 else \
29994 exit 1; \
29995 fi; \
29996 else \
29997 true; \
29998 fi; \
29999 else \
30000 exit 1; \
30001 fi; \
30002 if [ -d ../include ] ; then \
30003 true; \
30004 else \
30005 mkdir ../include; \
30006 cd ../include; \
30007 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
30008 cd ../rda; \
30009 fi; \
30010 srcdiroption="--srcdir=."; \
30011 libsrcdir="."; \
30012 else \
30013 srcdiroption="--srcdir=$${topdir}/rda"; \
30014 libsrcdir="$$s/rda"; \
30015 fi; \
30016 rm -f no-such-file || : ; \
30017 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30018 $(TARGET_CONFIGARGS) $${srcdiroption} \
30019 --with-target-subdir="$(TARGET_SUBDIR)" \
30020 || exit 1
30021 @endif target-rda
30023 .PHONY: all-target-rda maybe-all-target-rda
30024 maybe-all-target-rda:
30025 @if target-rda
30026 TARGET-target-rda=all
30027 maybe-all-target-rda: all-target-rda
30028 all-target-rda: configure-target-rda
30029 @r=`${PWD_COMMAND}`; export r; \
30030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30031 $(SET_LIB_PATH) \
30032 $(NORMAL_TARGET_EXPORTS) \
30033 (cd $(TARGET_SUBDIR)/rda && \
30034 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
30035 @endif target-rda
30037 .PHONY: check-target-rda maybe-check-target-rda
30038 maybe-check-target-rda:
30039 @if target-rda
30040 maybe-check-target-rda: check-target-rda
30042 check-target-rda:
30043 @r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(SET_LIB_PATH) \
30046 $(NORMAL_TARGET_EXPORTS) \
30047 (cd $(TARGET_SUBDIR)/rda && \
30048 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30050 @endif target-rda
30052 .PHONY: install-target-rda maybe-install-target-rda
30053 maybe-install-target-rda:
30054 @if target-rda
30055 maybe-install-target-rda: install-target-rda
30057 install-target-rda: installdirs
30058 @r=`${PWD_COMMAND}`; export r; \
30059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30060 $(SET_LIB_PATH) \
30061 $(NORMAL_TARGET_EXPORTS) \
30062 (cd $(TARGET_SUBDIR)/rda && \
30063 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30065 @endif target-rda
30067 # Other targets (info, dvi, etc.)
30069 .PHONY: maybe-info-target-rda info-target-rda
30070 maybe-info-target-rda:
30071 @if target-rda
30072 maybe-info-target-rda: info-target-rda
30074 info-target-rda: \
30075 configure-target-rda
30076 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30077 r=`${PWD_COMMAND}`; export r; \
30078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30079 $(SET_LIB_PATH) \
30080 $(NORMAL_TARGET_EXPORTS) \
30081 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
30082 for flag in $(EXTRA_TARGET_FLAGS); do \
30083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30084 done; \
30085 (cd $(TARGET_SUBDIR)/rda && \
30086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30088 "RANLIB=$${RANLIB}" \
30089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30090 info) \
30091 || exit 1
30093 @endif target-rda
30095 .PHONY: maybe-dvi-target-rda dvi-target-rda
30096 maybe-dvi-target-rda:
30097 @if target-rda
30098 maybe-dvi-target-rda: dvi-target-rda
30100 dvi-target-rda: \
30101 configure-target-rda
30102 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30103 r=`${PWD_COMMAND}`; export r; \
30104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30105 $(SET_LIB_PATH) \
30106 $(NORMAL_TARGET_EXPORTS) \
30107 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
30108 for flag in $(EXTRA_TARGET_FLAGS); do \
30109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30110 done; \
30111 (cd $(TARGET_SUBDIR)/rda && \
30112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30114 "RANLIB=$${RANLIB}" \
30115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30116 dvi) \
30117 || exit 1
30119 @endif target-rda
30121 .PHONY: maybe-html-target-rda html-target-rda
30122 maybe-html-target-rda:
30123 @if target-rda
30124 maybe-html-target-rda: html-target-rda
30126 html-target-rda: \
30127 configure-target-rda
30128 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30129 r=`${PWD_COMMAND}`; export r; \
30130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30131 $(SET_LIB_PATH) \
30132 $(NORMAL_TARGET_EXPORTS) \
30133 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
30134 for flag in $(EXTRA_TARGET_FLAGS); do \
30135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30136 done; \
30137 (cd $(TARGET_SUBDIR)/rda && \
30138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30140 "RANLIB=$${RANLIB}" \
30141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30142 html) \
30143 || exit 1
30145 @endif target-rda
30147 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
30148 maybe-TAGS-target-rda:
30149 @if target-rda
30150 maybe-TAGS-target-rda: TAGS-target-rda
30152 TAGS-target-rda: \
30153 configure-target-rda
30154 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30155 r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(SET_LIB_PATH) \
30158 $(NORMAL_TARGET_EXPORTS) \
30159 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
30160 for flag in $(EXTRA_TARGET_FLAGS); do \
30161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30162 done; \
30163 (cd $(TARGET_SUBDIR)/rda && \
30164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30166 "RANLIB=$${RANLIB}" \
30167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30168 TAGS) \
30169 || exit 1
30171 @endif target-rda
30173 .PHONY: maybe-install-info-target-rda install-info-target-rda
30174 maybe-install-info-target-rda:
30175 @if target-rda
30176 maybe-install-info-target-rda: install-info-target-rda
30178 install-info-target-rda: \
30179 configure-target-rda \
30180 info-target-rda
30181 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30182 r=`${PWD_COMMAND}`; export r; \
30183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30184 $(SET_LIB_PATH) \
30185 $(NORMAL_TARGET_EXPORTS) \
30186 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
30187 for flag in $(EXTRA_TARGET_FLAGS); do \
30188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30189 done; \
30190 (cd $(TARGET_SUBDIR)/rda && \
30191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30193 "RANLIB=$${RANLIB}" \
30194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30195 install-info) \
30196 || exit 1
30198 @endif target-rda
30200 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
30201 maybe-installcheck-target-rda:
30202 @if target-rda
30203 maybe-installcheck-target-rda: installcheck-target-rda
30205 installcheck-target-rda: \
30206 configure-target-rda
30207 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30208 r=`${PWD_COMMAND}`; export r; \
30209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30210 $(SET_LIB_PATH) \
30211 $(NORMAL_TARGET_EXPORTS) \
30212 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
30213 for flag in $(EXTRA_TARGET_FLAGS); do \
30214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30215 done; \
30216 (cd $(TARGET_SUBDIR)/rda && \
30217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30219 "RANLIB=$${RANLIB}" \
30220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30221 installcheck) \
30222 || exit 1
30224 @endif target-rda
30226 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
30227 maybe-mostlyclean-target-rda:
30228 @if target-rda
30229 maybe-mostlyclean-target-rda: mostlyclean-target-rda
30231 mostlyclean-target-rda:
30232 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30233 r=`${PWD_COMMAND}`; export r; \
30234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30235 $(SET_LIB_PATH) \
30236 $(NORMAL_TARGET_EXPORTS) \
30237 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
30238 for flag in $(EXTRA_TARGET_FLAGS); do \
30239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30240 done; \
30241 (cd $(TARGET_SUBDIR)/rda && \
30242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30244 "RANLIB=$${RANLIB}" \
30245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30246 mostlyclean) \
30247 || exit 1
30249 @endif target-rda
30251 .PHONY: maybe-clean-target-rda clean-target-rda
30252 maybe-clean-target-rda:
30253 @if target-rda
30254 maybe-clean-target-rda: clean-target-rda
30256 clean-target-rda:
30257 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30258 r=`${PWD_COMMAND}`; export r; \
30259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30260 $(SET_LIB_PATH) \
30261 $(NORMAL_TARGET_EXPORTS) \
30262 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
30263 for flag in $(EXTRA_TARGET_FLAGS); do \
30264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30265 done; \
30266 (cd $(TARGET_SUBDIR)/rda && \
30267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30269 "RANLIB=$${RANLIB}" \
30270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30271 clean) \
30272 || exit 1
30274 @endif target-rda
30276 .PHONY: maybe-distclean-target-rda distclean-target-rda
30277 maybe-distclean-target-rda:
30278 @if target-rda
30279 maybe-distclean-target-rda: distclean-target-rda
30281 distclean-target-rda:
30282 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30283 r=`${PWD_COMMAND}`; export r; \
30284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30285 $(SET_LIB_PATH) \
30286 $(NORMAL_TARGET_EXPORTS) \
30287 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
30288 for flag in $(EXTRA_TARGET_FLAGS); do \
30289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30290 done; \
30291 (cd $(TARGET_SUBDIR)/rda && \
30292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30294 "RANLIB=$${RANLIB}" \
30295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30296 distclean) \
30297 || exit 1
30299 @endif target-rda
30301 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
30302 maybe-maintainer-clean-target-rda:
30303 @if target-rda
30304 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30306 maintainer-clean-target-rda:
30307 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30308 r=`${PWD_COMMAND}`; export r; \
30309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30310 $(SET_LIB_PATH) \
30311 $(NORMAL_TARGET_EXPORTS) \
30312 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30313 for flag in $(EXTRA_TARGET_FLAGS); do \
30314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30315 done; \
30316 (cd $(TARGET_SUBDIR)/rda && \
30317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30319 "RANLIB=$${RANLIB}" \
30320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30321 maintainer-clean) \
30322 || exit 1
30324 @endif target-rda
30327 .PHONY: configure-target-libada maybe-configure-target-libada
30328 maybe-configure-target-libada:
30329 @if target-libada
30330 maybe-configure-target-libada: configure-target-libada
30332 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30333 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30334 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30335 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30336 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30338 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30339 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30340 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30341 r=`${PWD_COMMAND}`; export r; \
30342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30343 $(SET_LIB_PATH) \
30344 $(NORMAL_TARGET_EXPORTS) \
30345 echo Configuring in $(TARGET_SUBDIR)/libada; \
30346 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30347 case $(srcdir) in \
30348 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30349 *) topdir="../../$(srcdir)" ;; \
30350 esac; \
30351 if [ "$(srcdir)" = "." ] ; then \
30352 if $(SHELL) $$s/symlink-tree $${topdir}/libada "no-such-file" ; then \
30353 if [ -f Makefile ]; then \
30354 if $(MAKE) distclean; then \
30355 true; \
30356 else \
30357 exit 1; \
30358 fi; \
30359 else \
30360 true; \
30361 fi; \
30362 else \
30363 exit 1; \
30364 fi; \
30365 if [ -d ../include ] ; then \
30366 true; \
30367 else \
30368 mkdir ../include; \
30369 cd ../include; \
30370 $(SHELL) $$s/symlink-tree $${topdir}/include "no-such-file"; \
30371 cd ../libada; \
30372 fi; \
30373 srcdiroption="--srcdir=."; \
30374 libsrcdir="."; \
30375 else \
30376 srcdiroption="--srcdir=$${topdir}/libada"; \
30377 libsrcdir="$$s/libada"; \
30378 fi; \
30379 rm -f no-such-file || : ; \
30380 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30381 $(TARGET_CONFIGARGS) $${srcdiroption} \
30382 --with-target-subdir="$(TARGET_SUBDIR)" \
30383 || exit 1
30384 @endif target-libada
30386 .PHONY: all-target-libada maybe-all-target-libada
30387 maybe-all-target-libada:
30388 @if target-libada
30389 TARGET-target-libada=all
30390 maybe-all-target-libada: all-target-libada
30391 all-target-libada: configure-target-libada
30392 @r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(SET_LIB_PATH) \
30395 $(NORMAL_TARGET_EXPORTS) \
30396 (cd $(TARGET_SUBDIR)/libada && \
30397 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30398 @endif target-libada
30400 .PHONY: check-target-libada maybe-check-target-libada
30401 maybe-check-target-libada:
30402 @if target-libada
30403 maybe-check-target-libada: check-target-libada
30405 check-target-libada:
30406 @r=`${PWD_COMMAND}`; export r; \
30407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30408 $(SET_LIB_PATH) \
30409 $(NORMAL_TARGET_EXPORTS) \
30410 (cd $(TARGET_SUBDIR)/libada && \
30411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30413 @endif target-libada
30415 .PHONY: install-target-libada maybe-install-target-libada
30416 maybe-install-target-libada:
30417 @if target-libada
30418 maybe-install-target-libada: install-target-libada
30420 install-target-libada: installdirs
30421 @r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30423 $(SET_LIB_PATH) \
30424 $(NORMAL_TARGET_EXPORTS) \
30425 (cd $(TARGET_SUBDIR)/libada && \
30426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30428 @endif target-libada
30430 # Other targets (info, dvi, etc.)
30432 .PHONY: maybe-info-target-libada info-target-libada
30433 maybe-info-target-libada:
30434 @if target-libada
30435 maybe-info-target-libada: info-target-libada
30437 info-target-libada: \
30438 configure-target-libada
30439 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30440 r=`${PWD_COMMAND}`; export r; \
30441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30442 $(SET_LIB_PATH) \
30443 $(NORMAL_TARGET_EXPORTS) \
30444 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30445 for flag in $(EXTRA_TARGET_FLAGS); do \
30446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30447 done; \
30448 (cd $(TARGET_SUBDIR)/libada && \
30449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30451 "RANLIB=$${RANLIB}" \
30452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30453 info) \
30454 || exit 1
30456 @endif target-libada
30458 .PHONY: maybe-dvi-target-libada dvi-target-libada
30459 maybe-dvi-target-libada:
30460 @if target-libada
30461 maybe-dvi-target-libada: dvi-target-libada
30463 dvi-target-libada: \
30464 configure-target-libada
30465 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(SET_LIB_PATH) \
30469 $(NORMAL_TARGET_EXPORTS) \
30470 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30471 for flag in $(EXTRA_TARGET_FLAGS); do \
30472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30473 done; \
30474 (cd $(TARGET_SUBDIR)/libada && \
30475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30477 "RANLIB=$${RANLIB}" \
30478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30479 dvi) \
30480 || exit 1
30482 @endif target-libada
30484 .PHONY: maybe-html-target-libada html-target-libada
30485 maybe-html-target-libada:
30486 @if target-libada
30487 maybe-html-target-libada: html-target-libada
30489 html-target-libada: \
30490 configure-target-libada
30491 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30492 r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(SET_LIB_PATH) \
30495 $(NORMAL_TARGET_EXPORTS) \
30496 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30497 for flag in $(EXTRA_TARGET_FLAGS); do \
30498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30499 done; \
30500 (cd $(TARGET_SUBDIR)/libada && \
30501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30503 "RANLIB=$${RANLIB}" \
30504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30505 html) \
30506 || exit 1
30508 @endif target-libada
30510 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30511 maybe-TAGS-target-libada:
30512 @if target-libada
30513 maybe-TAGS-target-libada: TAGS-target-libada
30515 TAGS-target-libada: \
30516 configure-target-libada
30517 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30518 r=`${PWD_COMMAND}`; export r; \
30519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30520 $(SET_LIB_PATH) \
30521 $(NORMAL_TARGET_EXPORTS) \
30522 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30523 for flag in $(EXTRA_TARGET_FLAGS); do \
30524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30525 done; \
30526 (cd $(TARGET_SUBDIR)/libada && \
30527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30529 "RANLIB=$${RANLIB}" \
30530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30531 TAGS) \
30532 || exit 1
30534 @endif target-libada
30536 .PHONY: maybe-install-info-target-libada install-info-target-libada
30537 maybe-install-info-target-libada:
30538 @if target-libada
30539 maybe-install-info-target-libada: install-info-target-libada
30541 install-info-target-libada: \
30542 configure-target-libada \
30543 info-target-libada
30544 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30545 r=`${PWD_COMMAND}`; export r; \
30546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30547 $(SET_LIB_PATH) \
30548 $(NORMAL_TARGET_EXPORTS) \
30549 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30550 for flag in $(EXTRA_TARGET_FLAGS); do \
30551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30552 done; \
30553 (cd $(TARGET_SUBDIR)/libada && \
30554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30556 "RANLIB=$${RANLIB}" \
30557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30558 install-info) \
30559 || exit 1
30561 @endif target-libada
30563 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30564 maybe-installcheck-target-libada:
30565 @if target-libada
30566 maybe-installcheck-target-libada: installcheck-target-libada
30568 installcheck-target-libada: \
30569 configure-target-libada
30570 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30571 r=`${PWD_COMMAND}`; export r; \
30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30573 $(SET_LIB_PATH) \
30574 $(NORMAL_TARGET_EXPORTS) \
30575 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30576 for flag in $(EXTRA_TARGET_FLAGS); do \
30577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30578 done; \
30579 (cd $(TARGET_SUBDIR)/libada && \
30580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30582 "RANLIB=$${RANLIB}" \
30583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30584 installcheck) \
30585 || exit 1
30587 @endif target-libada
30589 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30590 maybe-mostlyclean-target-libada:
30591 @if target-libada
30592 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30594 mostlyclean-target-libada:
30595 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30596 r=`${PWD_COMMAND}`; export r; \
30597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30598 $(SET_LIB_PATH) \
30599 $(NORMAL_TARGET_EXPORTS) \
30600 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30601 for flag in $(EXTRA_TARGET_FLAGS); do \
30602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30603 done; \
30604 (cd $(TARGET_SUBDIR)/libada && \
30605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30607 "RANLIB=$${RANLIB}" \
30608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30609 mostlyclean) \
30610 || exit 1
30612 @endif target-libada
30614 .PHONY: maybe-clean-target-libada clean-target-libada
30615 maybe-clean-target-libada:
30616 @if target-libada
30617 maybe-clean-target-libada: clean-target-libada
30619 clean-target-libada:
30620 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30621 r=`${PWD_COMMAND}`; export r; \
30622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30623 $(SET_LIB_PATH) \
30624 $(NORMAL_TARGET_EXPORTS) \
30625 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30626 for flag in $(EXTRA_TARGET_FLAGS); do \
30627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30628 done; \
30629 (cd $(TARGET_SUBDIR)/libada && \
30630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30632 "RANLIB=$${RANLIB}" \
30633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30634 clean) \
30635 || exit 1
30637 @endif target-libada
30639 .PHONY: maybe-distclean-target-libada distclean-target-libada
30640 maybe-distclean-target-libada:
30641 @if target-libada
30642 maybe-distclean-target-libada: distclean-target-libada
30644 distclean-target-libada:
30645 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30646 r=`${PWD_COMMAND}`; export r; \
30647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30648 $(SET_LIB_PATH) \
30649 $(NORMAL_TARGET_EXPORTS) \
30650 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30651 for flag in $(EXTRA_TARGET_FLAGS); do \
30652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30653 done; \
30654 (cd $(TARGET_SUBDIR)/libada && \
30655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30657 "RANLIB=$${RANLIB}" \
30658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30659 distclean) \
30660 || exit 1
30662 @endif target-libada
30664 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30665 maybe-maintainer-clean-target-libada:
30666 @if target-libada
30667 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30669 maintainer-clean-target-libada:
30670 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30671 r=`${PWD_COMMAND}`; export r; \
30672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30673 $(SET_LIB_PATH) \
30674 $(NORMAL_TARGET_EXPORTS) \
30675 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30676 for flag in $(EXTRA_TARGET_FLAGS); do \
30677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30678 done; \
30679 (cd $(TARGET_SUBDIR)/libada && \
30680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30682 "RANLIB=$${RANLIB}" \
30683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30684 maintainer-clean) \
30685 || exit 1
30687 @endif target-libada
30691 # ----------
30692 # GCC module
30693 # ----------
30695 @if gcc-no-bootstrap
30696 # GCC has some more recursive targets, which trigger the old
30697 # (but still current, until the toplevel bootstrap project
30698 # is finished) compiler bootstrapping rules.
30700 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30701 .PHONY: $(GCC_STRAP_TARGETS)
30702 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30703 @r=`${PWD_COMMAND}`; export r; \
30704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30705 $(SET_LIB_PATH) \
30706 $(HOST_EXPORTS) \
30707 echo "Bootstrapping the compiler"; \
30708 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30709 @r=`${PWD_COMMAND}`; export r; \
30710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30711 case "$@" in \
30712 *bootstrap4-lean ) \
30713 msg="Comparing stage3 and stage4 of the compiler"; \
30714 compare=compare3-lean ;; \
30715 *bootstrap4 ) \
30716 msg="Comparing stage3 and stage4 of the compiler"; \
30717 compare=compare3 ;; \
30718 *-lean ) \
30719 msg="Comparing stage2 and stage3 of the compiler"; \
30720 compare=compare-lean ;; \
30721 * ) \
30722 msg="Comparing stage2 and stage3 of the compiler"; \
30723 compare=compare ;; \
30724 esac; \
30725 $(SET_LIB_PATH) \
30726 $(HOST_EXPORTS) \
30727 echo "$$msg"; \
30728 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30729 @r=`${PWD_COMMAND}`; export r; \
30730 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30731 $(SET_LIB_PATH) \
30732 echo "Building runtime libraries"; \
30733 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30735 profiledbootstrap: all-prebootstrap configure-gcc
30736 @r=`${PWD_COMMAND}`; export r; \
30737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30738 $(SET_LIB_PATH) \
30739 $(HOST_EXPORTS) \
30740 echo "Bootstrapping training compiler"; \
30741 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30742 @r=`${PWD_COMMAND}`; export r; \
30743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30744 $(SET_LIB_PATH) \
30745 $(HOST_EXPORTS) \
30746 echo "Building feedback based compiler"; \
30747 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30748 @r=`${PWD_COMMAND}`; export r; \
30749 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30750 $(SET_LIB_PATH) \
30751 echo "Building runtime libraries"; \
30752 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30754 .PHONY: cross
30755 cross: all-build all-gas all-ld
30756 @r=`${PWD_COMMAND}`; export r; \
30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30758 $(SET_LIB_PATH) \
30759 $(HOST_EXPORTS) \
30760 echo "Building the C and C++ compiler"; \
30761 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30762 @r=`${PWD_COMMAND}`; export r; \
30763 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30764 $(SET_LIB_PATH) \
30765 echo "Building runtime libraries"; \
30766 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30767 @endif gcc-no-bootstrap
30769 @if gcc
30770 .PHONY: check-gcc-c++
30771 check-gcc-c++:
30772 @if [ -f ./gcc/Makefile ] ; then \
30773 r=`${PWD_COMMAND}`; export r; \
30774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 $(SET_LIB_PATH) \
30776 $(HOST_EXPORTS) \
30777 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30778 else \
30779 true; \
30782 .PHONY: check-c++
30783 check-c++: check-target-libstdc++-v3 check-gcc-c++
30785 # Install the gcc headers files, but not the fixed include files,
30786 # which Cygnus is not allowed to distribute. This rule is very
30787 # dependent on the workings of the gcc Makefile.in.
30788 .PHONY: gcc-no-fixedincludes
30789 gcc-no-fixedincludes:
30790 @if [ -f ./gcc/Makefile ]; then \
30791 rm -rf gcc/tmp-include; \
30792 mv gcc/include gcc/tmp-include 2>/dev/null; \
30793 mkdir gcc/include; \
30794 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30795 touch gcc/stmp-fixinc gcc/include/fixed; \
30796 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30797 r=`${PWD_COMMAND}`; export r; \
30798 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30799 $(SET_LIB_PATH) \
30800 $(HOST_EXPORTS) \
30801 (cd ./gcc && \
30802 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30803 rm -rf gcc/include; \
30804 mv gcc/tmp-include gcc/include 2>/dev/null; \
30805 else true; fi
30806 @endif gcc
30808 # ---------------------
30809 # GCC bootstrap support
30810 # ---------------------
30812 # We track the current stage (the one in 'gcc') in the stage_current file.
30813 # stage_last instead tracks the stage that was built last. These targets
30814 # are dummy when toplevel bootstrap is not active.
30816 .PHONY: unstage
30817 unstage:
30818 @if gcc-bootstrap
30819 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30820 @endif gcc-bootstrap
30822 .PHONY: stage
30823 stage:
30824 @if gcc-bootstrap
30825 @$(MAKE) `cat stage_current`-end
30826 @endif gcc-bootstrap
30828 # We name the build directories for the various stages "stage1-gcc",
30829 # "stage2-gcc","stage3-gcc", etc.
30831 # Since the 'compare' process will fail (on debugging information) if any
30832 # directory names are different, we need to link the gcc directory for
30833 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30834 # the build directories constant as well. For the latter, we use naked names
30835 # like 'gcc', because the scripts in that directory assume it. We use
30836 # mv on platforms where symlinks to directories do not work or are not
30837 # reliable.
30839 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30840 # be kept, so that libraries can find it. Ick!
30842 # It would be best to preinstall gcc into a staging area (and in the
30843 # future, gather there all prebootstrap packages). This would allow
30844 # assemblers and linkers can be bootstrapped as well as the compiler
30845 # (both in a combined tree, or separately). This however requires some
30846 # change to the gcc driver, again in order to avoid comparison failures.
30848 # Bugs: This is crippled when doing parallel make, the `make all-host'
30849 # and `make all-target' phases can be parallelized.
30852 # 'touch' doesn't work right on some platforms.
30853 STAMP = echo timestamp >
30855 # Only build the C compiler for stage1, because that is the only one that
30856 # we can guarantee will build with the native compiler, and also it is the
30857 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30858 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30859 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30861 STAGE1_CFLAGS=@stage1_cflags@
30862 STAGE1_LANGUAGES=@stage1_languages@
30864 # We only want to compare .o files, so set this!
30865 objext = .o
30867 # Flags to pass to stage2 and later makes.
30868 POSTSTAGE1_FLAGS_TO_PASS = \
30869 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30870 STAGE_PREFIX=$$r/stage-gcc/ \
30871 CFLAGS="$(BOOT_CFLAGS)" \
30872 ADAC="\$$(CC)"
30874 # For stage 1:
30875 # * We force-disable intermodule optimizations, even if
30876 # --enable-intermodule was passed, since the installed compiler probably
30877 # can't handle them. Luckily, autoconf always respects
30878 # the last argument when conflicting --enable arguments are passed.
30879 # * Likewise, we force-disable coverage flags, since the installed compiler
30880 # probably has never heard of them.
30881 # * We build only C (and possibly Ada).
30884 .PHONY: stage1-start stage1-end
30886 stage1-start::
30887 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30888 echo stage1 > stage_current ; \
30889 echo stage1 > stage_last
30890 @if bfd
30891 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30892 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30893 @endif bfd
30894 @if opcodes
30895 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30896 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30897 @endif opcodes
30898 @if binutils
30899 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30900 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30901 @endif binutils
30902 @if gas
30903 @[ -d stage1-gas ] || mkdir stage1-gas; \
30904 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30905 @endif gas
30906 @if gcc
30907 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30908 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30909 @endif gcc
30910 @if intl
30911 @[ -d stage1-intl ] || mkdir stage1-intl; \
30912 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30913 @endif intl
30914 @if ld
30915 @[ -d stage1-ld ] || mkdir stage1-ld; \
30916 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30917 @endif ld
30918 @if libcpp
30919 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30920 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30921 @endif libcpp
30922 @if libiberty
30923 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30924 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30925 @endif libiberty
30926 @if zlib
30927 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30928 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30929 @endif zlib
30931 stage1-end::
30932 @rm -f stage_current
30933 @if bfd
30934 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30935 @endif bfd
30936 @if opcodes
30937 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30938 @endif opcodes
30939 @if binutils
30940 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30941 @endif binutils
30942 @if gas
30943 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30944 @endif gas
30945 @if gcc
30946 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30947 @endif gcc
30948 @if intl
30949 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30950 @endif intl
30951 @if ld
30952 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30953 @endif ld
30954 @if libcpp
30955 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30956 @endif libcpp
30957 @if libiberty
30958 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30959 @endif libiberty
30960 @if zlib
30961 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30962 @endif zlib
30964 # Bubble a bugfix through all the stages up to stage 1. They
30965 # are remade, but not reconfigured. The next stage (if any) will not
30966 # be reconfigured as well.
30967 .PHONY: stage1-bubble
30968 stage1-bubble::
30969 @if test -f stage1-lean ; then \
30970 echo Skipping rebuild of stage1 ; \
30971 else \
30972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30975 .PHONY: all-stage1 clean-stage1
30976 all-stage1: \
30977 maybe-all-stage1-bfd \
30978 maybe-all-stage1-opcodes \
30979 maybe-all-stage1-binutils \
30980 maybe-all-stage1-gas \
30981 maybe-all-stage1-gcc \
30982 maybe-all-stage1-intl \
30983 maybe-all-stage1-ld \
30984 maybe-all-stage1-libcpp \
30985 maybe-all-stage1-libiberty \
30986 maybe-all-stage1-zlib
30988 do-clean: clean-stage1
30989 clean-stage1: \
30990 maybe-clean-stage1-bfd \
30991 maybe-clean-stage1-opcodes \
30992 maybe-clean-stage1-binutils \
30993 maybe-clean-stage1-gas \
30994 maybe-clean-stage1-gcc \
30995 maybe-clean-stage1-intl \
30996 maybe-clean-stage1-ld \
30997 maybe-clean-stage1-libcpp \
30998 maybe-clean-stage1-libiberty \
30999 maybe-clean-stage1-zlib
31002 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
31003 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
31004 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
31006 maybe-configure-stage1-bfd:
31007 maybe-all-stage1-bfd:
31008 maybe-clean-stage1-bfd:
31010 @if bfd-bootstrap
31011 maybe-configure-stage1-bfd: configure-stage1-bfd
31012 configure-stage1-bfd:
31013 @$(MAKE) stage1-start
31014 @[ -f bfd/Makefile ] && exit 0 || : ; \
31015 r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 $(HOST_EXPORTS) \
31018 echo Configuring stage 1 in bfd ; \
31019 cd bfd || exit 1; \
31020 case $(srcdir) in \
31021 \.) \
31022 srcdiroption="--srcdir=."; \
31023 libsrcdir=".";; \
31024 /* | [A-Za-z]:[\\/]*) \
31025 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31026 libsrcdir="$$s/bfd";; \
31027 *) \
31028 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31029 libsrcdir="$$s/bfd";; \
31030 esac; \
31031 $(SHELL) $${libsrcdir}/configure \
31032 $(HOST_CONFIGARGS) $${srcdiroption} \
31033 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31035 maybe-all-stage1-bfd: all-stage1-bfd
31036 all-stage1-bfd: configure-stage1-bfd
31037 @$(MAKE) stage1-start
31038 @r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 cd bfd && \
31042 $(MAKE) $(FLAGS_TO_PASS) \
31043 CFLAGS="$(STAGE1_CFLAGS)"
31045 maybe-clean-stage1-bfd: clean-stage1-bfd
31046 clean-stage1-bfd:
31047 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
31048 || exit 0 ; \
31049 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
31050 cd bfd && \
31051 $(MAKE) $(FLAGS_TO_PASS) \
31052 CFLAGS="$(STAGE1_CFLAGS)" clean
31053 @endif bfd-bootstrap
31056 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
31057 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
31058 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
31060 maybe-configure-stage1-opcodes:
31061 maybe-all-stage1-opcodes:
31062 maybe-clean-stage1-opcodes:
31064 @if opcodes-bootstrap
31065 maybe-configure-stage1-opcodes: configure-stage1-opcodes
31066 configure-stage1-opcodes:
31067 @$(MAKE) stage1-start
31068 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31069 r=`${PWD_COMMAND}`; export r; \
31070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31071 $(HOST_EXPORTS) \
31072 echo Configuring stage 1 in opcodes ; \
31073 cd opcodes || exit 1; \
31074 case $(srcdir) in \
31075 \.) \
31076 srcdiroption="--srcdir=."; \
31077 libsrcdir=".";; \
31078 /* | [A-Za-z]:[\\/]*) \
31079 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31080 libsrcdir="$$s/opcodes";; \
31081 *) \
31082 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31083 libsrcdir="$$s/opcodes";; \
31084 esac; \
31085 $(SHELL) $${libsrcdir}/configure \
31086 $(HOST_CONFIGARGS) $${srcdiroption} \
31087 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31089 maybe-all-stage1-opcodes: all-stage1-opcodes
31090 all-stage1-opcodes: configure-stage1-opcodes
31091 @$(MAKE) stage1-start
31092 @r=`${PWD_COMMAND}`; export r; \
31093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31094 $(HOST_EXPORTS) \
31095 cd opcodes && \
31096 $(MAKE) $(FLAGS_TO_PASS) \
31097 CFLAGS="$(STAGE1_CFLAGS)"
31099 maybe-clean-stage1-opcodes: clean-stage1-opcodes
31100 clean-stage1-opcodes:
31101 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
31102 || exit 0 ; \
31103 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
31104 cd opcodes && \
31105 $(MAKE) $(FLAGS_TO_PASS) \
31106 CFLAGS="$(STAGE1_CFLAGS)" clean
31107 @endif opcodes-bootstrap
31110 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
31111 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
31112 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
31114 maybe-configure-stage1-binutils:
31115 maybe-all-stage1-binutils:
31116 maybe-clean-stage1-binutils:
31118 @if binutils-bootstrap
31119 maybe-configure-stage1-binutils: configure-stage1-binutils
31120 configure-stage1-binutils:
31121 @$(MAKE) stage1-start
31122 @[ -f binutils/Makefile ] && exit 0 || : ; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(HOST_EXPORTS) \
31126 echo Configuring stage 1 in binutils ; \
31127 cd binutils || exit 1; \
31128 case $(srcdir) in \
31129 \.) \
31130 srcdiroption="--srcdir=."; \
31131 libsrcdir=".";; \
31132 /* | [A-Za-z]:[\\/]*) \
31133 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31134 libsrcdir="$$s/binutils";; \
31135 *) \
31136 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31137 libsrcdir="$$s/binutils";; \
31138 esac; \
31139 $(SHELL) $${libsrcdir}/configure \
31140 $(HOST_CONFIGARGS) $${srcdiroption} \
31141 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31143 maybe-all-stage1-binutils: all-stage1-binutils
31144 all-stage1-binutils: configure-stage1-binutils
31145 @$(MAKE) stage1-start
31146 @r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(HOST_EXPORTS) \
31149 cd binutils && \
31150 $(MAKE) $(FLAGS_TO_PASS) \
31151 CFLAGS="$(STAGE1_CFLAGS)"
31153 maybe-clean-stage1-binutils: clean-stage1-binutils
31154 clean-stage1-binutils:
31155 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
31156 || exit 0 ; \
31157 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
31158 cd binutils && \
31159 $(MAKE) $(FLAGS_TO_PASS) \
31160 CFLAGS="$(STAGE1_CFLAGS)" clean
31161 @endif binutils-bootstrap
31164 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
31165 .PHONY: all-stage1-gas maybe-all-stage1-gas
31166 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
31168 maybe-configure-stage1-gas:
31169 maybe-all-stage1-gas:
31170 maybe-clean-stage1-gas:
31172 @if gas-bootstrap
31173 maybe-configure-stage1-gas: configure-stage1-gas
31174 configure-stage1-gas:
31175 @$(MAKE) stage1-start
31176 @[ -f gas/Makefile ] && exit 0 || : ; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(HOST_EXPORTS) \
31180 echo Configuring stage 1 in gas ; \
31181 cd gas || exit 1; \
31182 case $(srcdir) in \
31183 \.) \
31184 srcdiroption="--srcdir=."; \
31185 libsrcdir=".";; \
31186 /* | [A-Za-z]:[\\/]*) \
31187 srcdiroption="--srcdir=$(srcdir)/gas"; \
31188 libsrcdir="$$s/gas";; \
31189 *) \
31190 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31191 libsrcdir="$$s/gas";; \
31192 esac; \
31193 $(SHELL) $${libsrcdir}/configure \
31194 $(HOST_CONFIGARGS) $${srcdiroption} \
31195 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31197 maybe-all-stage1-gas: all-stage1-gas
31198 all-stage1-gas: configure-stage1-gas
31199 @$(MAKE) stage1-start
31200 @r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 cd gas && \
31204 $(MAKE) $(FLAGS_TO_PASS) \
31205 CFLAGS="$(STAGE1_CFLAGS)"
31207 maybe-clean-stage1-gas: clean-stage1-gas
31208 clean-stage1-gas:
31209 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
31210 || exit 0 ; \
31211 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
31212 cd gas && \
31213 $(MAKE) $(FLAGS_TO_PASS) \
31214 CFLAGS="$(STAGE1_CFLAGS)" clean
31215 @endif gas-bootstrap
31218 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
31219 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
31220 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
31222 maybe-configure-stage1-gcc:
31223 maybe-all-stage1-gcc:
31224 maybe-clean-stage1-gcc:
31226 @if gcc-bootstrap
31227 maybe-configure-stage1-gcc: configure-stage1-gcc
31228 configure-stage1-gcc:
31229 @$(MAKE) stage1-start
31230 @[ -f gcc/Makefile ] && exit 0 || : ; \
31231 r=`${PWD_COMMAND}`; export r; \
31232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31233 $(HOST_EXPORTS) \
31234 echo Configuring stage 1 in gcc ; \
31235 cd gcc || exit 1; \
31236 case $(srcdir) in \
31237 \.) \
31238 srcdiroption="--srcdir=."; \
31239 libsrcdir=".";; \
31240 /* | [A-Za-z]:[\\/]*) \
31241 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31242 libsrcdir="$$s/gcc";; \
31243 *) \
31244 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31245 libsrcdir="$$s/gcc";; \
31246 esac; \
31247 $(SHELL) $${libsrcdir}/configure \
31248 $(HOST_CONFIGARGS) $${srcdiroption} \
31249 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31251 maybe-all-stage1-gcc: all-stage1-gcc
31252 all-stage1-gcc: configure-stage1-gcc
31253 @$(MAKE) stage1-start
31254 @r=`${PWD_COMMAND}`; export r; \
31255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31256 $(HOST_EXPORTS) \
31257 cd gcc && \
31258 $(MAKE) $(FLAGS_TO_PASS) \
31259 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
31261 maybe-clean-stage1-gcc: clean-stage1-gcc
31262 clean-stage1-gcc:
31263 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
31264 || exit 0 ; \
31265 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
31266 cd gcc && \
31267 $(MAKE) $(FLAGS_TO_PASS) \
31268 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
31269 @endif gcc-bootstrap
31272 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
31273 .PHONY: all-stage1-intl maybe-all-stage1-intl
31274 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
31276 maybe-configure-stage1-intl:
31277 maybe-all-stage1-intl:
31278 maybe-clean-stage1-intl:
31280 @if intl-bootstrap
31281 maybe-configure-stage1-intl: configure-stage1-intl
31282 configure-stage1-intl:
31283 @$(MAKE) stage1-start
31284 @[ -f intl/Makefile ] && exit 0 || : ; \
31285 r=`${PWD_COMMAND}`; export r; \
31286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31287 $(HOST_EXPORTS) \
31288 echo Configuring stage 1 in intl ; \
31289 cd intl || exit 1; \
31290 case $(srcdir) in \
31291 \.) \
31292 srcdiroption="--srcdir=."; \
31293 libsrcdir=".";; \
31294 /* | [A-Za-z]:[\\/]*) \
31295 srcdiroption="--srcdir=$(srcdir)/intl"; \
31296 libsrcdir="$$s/intl";; \
31297 *) \
31298 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31299 libsrcdir="$$s/intl";; \
31300 esac; \
31301 $(SHELL) $${libsrcdir}/configure \
31302 $(HOST_CONFIGARGS) $${srcdiroption} \
31303 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31305 maybe-all-stage1-intl: all-stage1-intl
31306 all-stage1-intl: configure-stage1-intl
31307 @$(MAKE) stage1-start
31308 @r=`${PWD_COMMAND}`; export r; \
31309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31310 $(HOST_EXPORTS) \
31311 cd intl && \
31312 $(MAKE) $(FLAGS_TO_PASS) \
31313 CFLAGS="$(STAGE1_CFLAGS)"
31315 maybe-clean-stage1-intl: clean-stage1-intl
31316 clean-stage1-intl:
31317 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
31318 || exit 0 ; \
31319 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
31320 cd intl && \
31321 $(MAKE) $(FLAGS_TO_PASS) \
31322 CFLAGS="$(STAGE1_CFLAGS)" clean
31323 @endif intl-bootstrap
31326 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31327 .PHONY: all-stage1-ld maybe-all-stage1-ld
31328 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31330 maybe-configure-stage1-ld:
31331 maybe-all-stage1-ld:
31332 maybe-clean-stage1-ld:
31334 @if ld-bootstrap
31335 maybe-configure-stage1-ld: configure-stage1-ld
31336 configure-stage1-ld:
31337 @$(MAKE) stage1-start
31338 @[ -f ld/Makefile ] && exit 0 || : ; \
31339 r=`${PWD_COMMAND}`; export r; \
31340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31341 $(HOST_EXPORTS) \
31342 echo Configuring stage 1 in ld ; \
31343 cd ld || exit 1; \
31344 case $(srcdir) in \
31345 \.) \
31346 srcdiroption="--srcdir=."; \
31347 libsrcdir=".";; \
31348 /* | [A-Za-z]:[\\/]*) \
31349 srcdiroption="--srcdir=$(srcdir)/ld"; \
31350 libsrcdir="$$s/ld";; \
31351 *) \
31352 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31353 libsrcdir="$$s/ld";; \
31354 esac; \
31355 $(SHELL) $${libsrcdir}/configure \
31356 $(HOST_CONFIGARGS) $${srcdiroption} \
31357 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31359 maybe-all-stage1-ld: all-stage1-ld
31360 all-stage1-ld: configure-stage1-ld
31361 @$(MAKE) stage1-start
31362 @r=`${PWD_COMMAND}`; export r; \
31363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31364 $(HOST_EXPORTS) \
31365 cd ld && \
31366 $(MAKE) $(FLAGS_TO_PASS) \
31367 CFLAGS="$(STAGE1_CFLAGS)"
31369 maybe-clean-stage1-ld: clean-stage1-ld
31370 clean-stage1-ld:
31371 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31372 || exit 0 ; \
31373 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31374 cd ld && \
31375 $(MAKE) $(FLAGS_TO_PASS) \
31376 CFLAGS="$(STAGE1_CFLAGS)" clean
31377 @endif ld-bootstrap
31380 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31381 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31382 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31384 maybe-configure-stage1-libcpp:
31385 maybe-all-stage1-libcpp:
31386 maybe-clean-stage1-libcpp:
31388 @if libcpp-bootstrap
31389 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31390 configure-stage1-libcpp:
31391 @$(MAKE) stage1-start
31392 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31393 r=`${PWD_COMMAND}`; export r; \
31394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31395 $(HOST_EXPORTS) \
31396 echo Configuring stage 1 in libcpp ; \
31397 cd libcpp || exit 1; \
31398 case $(srcdir) in \
31399 \.) \
31400 srcdiroption="--srcdir=."; \
31401 libsrcdir=".";; \
31402 /* | [A-Za-z]:[\\/]*) \
31403 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31404 libsrcdir="$$s/libcpp";; \
31405 *) \
31406 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31407 libsrcdir="$$s/libcpp";; \
31408 esac; \
31409 $(SHELL) $${libsrcdir}/configure \
31410 $(HOST_CONFIGARGS) $${srcdiroption} \
31411 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31413 maybe-all-stage1-libcpp: all-stage1-libcpp
31414 all-stage1-libcpp: configure-stage1-libcpp
31415 @$(MAKE) stage1-start
31416 @r=`${PWD_COMMAND}`; export r; \
31417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31418 $(HOST_EXPORTS) \
31419 cd libcpp && \
31420 $(MAKE) $(FLAGS_TO_PASS) \
31421 CFLAGS="$(STAGE1_CFLAGS)"
31423 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31424 clean-stage1-libcpp:
31425 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31426 || exit 0 ; \
31427 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31428 cd libcpp && \
31429 $(MAKE) $(FLAGS_TO_PASS) \
31430 CFLAGS="$(STAGE1_CFLAGS)" clean
31431 @endif libcpp-bootstrap
31434 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31435 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31436 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31438 maybe-configure-stage1-libiberty:
31439 maybe-all-stage1-libiberty:
31440 maybe-clean-stage1-libiberty:
31442 @if libiberty-bootstrap
31443 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31444 configure-stage1-libiberty:
31445 @$(MAKE) stage1-start
31446 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31447 r=`${PWD_COMMAND}`; export r; \
31448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31449 $(HOST_EXPORTS) \
31450 echo Configuring stage 1 in libiberty ; \
31451 cd libiberty || exit 1; \
31452 case $(srcdir) in \
31453 \.) \
31454 srcdiroption="--srcdir=."; \
31455 libsrcdir=".";; \
31456 /* | [A-Za-z]:[\\/]*) \
31457 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31458 libsrcdir="$$s/libiberty";; \
31459 *) \
31460 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31461 libsrcdir="$$s/libiberty";; \
31462 esac; \
31463 $(SHELL) $${libsrcdir}/configure \
31464 $(HOST_CONFIGARGS) $${srcdiroption} \
31465 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31467 maybe-all-stage1-libiberty: all-stage1-libiberty
31468 all-stage1-libiberty: configure-stage1-libiberty
31469 @$(MAKE) stage1-start
31470 @r=`${PWD_COMMAND}`; export r; \
31471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31472 $(HOST_EXPORTS) \
31473 cd libiberty && \
31474 $(MAKE) $(FLAGS_TO_PASS) \
31475 CFLAGS="$(STAGE1_CFLAGS)"
31477 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31478 clean-stage1-libiberty:
31479 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31480 || exit 0 ; \
31481 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31482 cd libiberty && \
31483 $(MAKE) $(FLAGS_TO_PASS) \
31484 CFLAGS="$(STAGE1_CFLAGS)" clean
31485 @endif libiberty-bootstrap
31488 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31489 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31490 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31492 maybe-configure-stage1-zlib:
31493 maybe-all-stage1-zlib:
31494 maybe-clean-stage1-zlib:
31496 @if zlib-bootstrap
31497 maybe-configure-stage1-zlib: configure-stage1-zlib
31498 configure-stage1-zlib:
31499 @$(MAKE) stage1-start
31500 @[ -f zlib/Makefile ] && exit 0 || : ; \
31501 r=`${PWD_COMMAND}`; export r; \
31502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31503 $(HOST_EXPORTS) \
31504 echo Configuring stage 1 in zlib ; \
31505 cd zlib || exit 1; \
31506 case $(srcdir) in \
31507 \.) \
31508 srcdiroption="--srcdir=."; \
31509 libsrcdir=".";; \
31510 /* | [A-Za-z]:[\\/]*) \
31511 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31512 libsrcdir="$$s/zlib";; \
31513 *) \
31514 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31515 libsrcdir="$$s/zlib";; \
31516 esac; \
31517 $(SHELL) $${libsrcdir}/configure \
31518 $(HOST_CONFIGARGS) $${srcdiroption} \
31519 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31521 maybe-all-stage1-zlib: all-stage1-zlib
31522 all-stage1-zlib: configure-stage1-zlib
31523 @$(MAKE) stage1-start
31524 @r=`${PWD_COMMAND}`; export r; \
31525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31526 $(HOST_EXPORTS) \
31527 cd zlib && \
31528 $(MAKE) $(FLAGS_TO_PASS) \
31529 CFLAGS="$(STAGE1_CFLAGS)"
31531 maybe-clean-stage1-zlib: clean-stage1-zlib
31532 clean-stage1-zlib:
31533 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31534 || exit 0 ; \
31535 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31536 cd zlib && \
31537 $(MAKE) $(FLAGS_TO_PASS) \
31538 CFLAGS="$(STAGE1_CFLAGS)" clean
31539 @endif zlib-bootstrap
31543 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31544 # only possibility, but now it conflicts with no-bootstrap rules
31545 @if gcc-bootstrap
31550 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31552 .PHONY: distclean-stage1
31553 distclean-stage1::
31554 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31555 rm -rf stage1-*
31558 @endif gcc-bootstrap
31561 .PHONY: stage2-start stage2-end
31563 stage2-start::
31564 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31565 echo stage2 > stage_current ; \
31566 echo stage2 > stage_last
31567 @if bfd
31568 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31569 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31570 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31571 @endif bfd
31572 @if opcodes
31573 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31574 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31575 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31576 @endif opcodes
31577 @if binutils
31578 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31579 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31580 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31581 @endif binutils
31582 @if gas
31583 @[ -d stage2-gas ] || mkdir stage2-gas; \
31584 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31585 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31586 @endif gas
31587 @if gcc
31588 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31589 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31590 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31591 @endif gcc
31592 @if intl
31593 @[ -d stage2-intl ] || mkdir stage2-intl; \
31594 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31595 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31596 @endif intl
31597 @if ld
31598 @[ -d stage2-ld ] || mkdir stage2-ld; \
31599 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31600 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31601 @endif ld
31602 @if libcpp
31603 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31604 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31605 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31606 @endif libcpp
31607 @if libiberty
31608 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31609 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31610 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31611 @endif libiberty
31612 @if zlib
31613 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31614 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31615 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31616 @endif zlib
31618 stage2-end::
31619 @rm -f stage_current
31620 @if bfd
31621 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31622 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31623 @endif bfd
31624 @if opcodes
31625 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31626 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31627 @endif opcodes
31628 @if binutils
31629 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31630 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31631 @endif binutils
31632 @if gas
31633 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31634 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31635 @endif gas
31636 @if gcc
31637 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31638 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31639 @endif gcc
31640 @if intl
31641 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31642 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31643 @endif intl
31644 @if ld
31645 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31646 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31647 @endif ld
31648 @if libcpp
31649 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31650 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31651 @endif libcpp
31652 @if libiberty
31653 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31654 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31655 @endif libiberty
31656 @if zlib
31657 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31658 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31659 @endif zlib
31661 # Bubble a bugfix through all the stages up to stage 2. They
31662 # are remade, but not reconfigured. The next stage (if any) will not
31663 # be reconfigured as well.
31664 .PHONY: stage2-bubble
31665 stage2-bubble:: stage1-bubble
31666 @if test -f stage2-lean || test -f stage1-lean ; then \
31667 echo Skipping rebuild of stage2 ; \
31668 else \
31669 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31672 .PHONY: all-stage2 clean-stage2
31673 all-stage2: \
31674 maybe-all-stage2-bfd \
31675 maybe-all-stage2-opcodes \
31676 maybe-all-stage2-binutils \
31677 maybe-all-stage2-gas \
31678 maybe-all-stage2-gcc \
31679 maybe-all-stage2-intl \
31680 maybe-all-stage2-ld \
31681 maybe-all-stage2-libcpp \
31682 maybe-all-stage2-libiberty \
31683 maybe-all-stage2-zlib
31685 do-clean: clean-stage2
31686 clean-stage2: \
31687 maybe-clean-stage2-bfd \
31688 maybe-clean-stage2-opcodes \
31689 maybe-clean-stage2-binutils \
31690 maybe-clean-stage2-gas \
31691 maybe-clean-stage2-gcc \
31692 maybe-clean-stage2-intl \
31693 maybe-clean-stage2-ld \
31694 maybe-clean-stage2-libcpp \
31695 maybe-clean-stage2-libiberty \
31696 maybe-clean-stage2-zlib
31699 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31700 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31701 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31703 maybe-configure-stage2-bfd:
31704 maybe-all-stage2-bfd:
31705 maybe-clean-stage2-bfd:
31707 @if bfd-bootstrap
31708 maybe-configure-stage2-bfd: configure-stage2-bfd
31709 configure-stage2-bfd:
31710 @$(MAKE) stage2-start
31711 @[ -f bfd/Makefile ] && exit 0 || : ; \
31712 r=`${PWD_COMMAND}`; export r; \
31713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31714 $(STAGE_HOST_EXPORTS) \
31715 echo Configuring stage 2 in bfd ; \
31716 cd bfd || exit 1; \
31717 case $(srcdir) in \
31718 \.) \
31719 srcdiroption="--srcdir=."; \
31720 libsrcdir=".";; \
31721 /* | [A-Za-z]:[\\/]*) \
31722 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31723 libsrcdir="$$s/bfd";; \
31724 *) \
31725 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31726 libsrcdir="$$s/bfd";; \
31727 esac; \
31728 $(SHELL) $${libsrcdir}/configure \
31729 $(HOST_CONFIGARGS) $${srcdiroption} \
31730 @stage2_werror_flag@
31732 maybe-all-stage2-bfd: all-stage2-bfd
31733 all-stage2-bfd: configure-stage2-bfd
31734 @$(MAKE) stage2-start
31735 @r=`${PWD_COMMAND}`; export r; \
31736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31737 $(STAGE_HOST_EXPORTS) \
31738 cd bfd && \
31739 $(MAKE) $(FLAGS_TO_PASS) \
31740 $(POSTSTAGE1_FLAGS_TO_PASS) \
31743 maybe-clean-stage2-bfd: clean-stage2-bfd
31744 clean-stage2-bfd:
31745 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31746 || exit 0 ; \
31747 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31748 cd bfd && \
31749 $(MAKE) $(FLAGS_TO_PASS) \
31750 $(POSTSTAGE1_FLAGS_TO_PASS) \
31751 clean
31752 @endif bfd-bootstrap
31755 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31756 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31757 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31759 maybe-configure-stage2-opcodes:
31760 maybe-all-stage2-opcodes:
31761 maybe-clean-stage2-opcodes:
31763 @if opcodes-bootstrap
31764 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31765 configure-stage2-opcodes:
31766 @$(MAKE) stage2-start
31767 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(STAGE_HOST_EXPORTS) \
31771 echo Configuring stage 2 in opcodes ; \
31772 cd opcodes || exit 1; \
31773 case $(srcdir) in \
31774 \.) \
31775 srcdiroption="--srcdir=."; \
31776 libsrcdir=".";; \
31777 /* | [A-Za-z]:[\\/]*) \
31778 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31779 libsrcdir="$$s/opcodes";; \
31780 *) \
31781 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31782 libsrcdir="$$s/opcodes";; \
31783 esac; \
31784 $(SHELL) $${libsrcdir}/configure \
31785 $(HOST_CONFIGARGS) $${srcdiroption} \
31786 @stage2_werror_flag@
31788 maybe-all-stage2-opcodes: all-stage2-opcodes
31789 all-stage2-opcodes: configure-stage2-opcodes
31790 @$(MAKE) stage2-start
31791 @r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(STAGE_HOST_EXPORTS) \
31794 cd opcodes && \
31795 $(MAKE) $(FLAGS_TO_PASS) \
31796 $(POSTSTAGE1_FLAGS_TO_PASS) \
31799 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31800 clean-stage2-opcodes:
31801 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31802 || exit 0 ; \
31803 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31804 cd opcodes && \
31805 $(MAKE) $(FLAGS_TO_PASS) \
31806 $(POSTSTAGE1_FLAGS_TO_PASS) \
31807 clean
31808 @endif opcodes-bootstrap
31811 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31812 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31813 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31815 maybe-configure-stage2-binutils:
31816 maybe-all-stage2-binutils:
31817 maybe-clean-stage2-binutils:
31819 @if binutils-bootstrap
31820 maybe-configure-stage2-binutils: configure-stage2-binutils
31821 configure-stage2-binutils:
31822 @$(MAKE) stage2-start
31823 @[ -f binutils/Makefile ] && exit 0 || : ; \
31824 r=`${PWD_COMMAND}`; export r; \
31825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31826 $(STAGE_HOST_EXPORTS) \
31827 echo Configuring stage 2 in binutils ; \
31828 cd binutils || exit 1; \
31829 case $(srcdir) in \
31830 \.) \
31831 srcdiroption="--srcdir=."; \
31832 libsrcdir=".";; \
31833 /* | [A-Za-z]:[\\/]*) \
31834 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31835 libsrcdir="$$s/binutils";; \
31836 *) \
31837 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31838 libsrcdir="$$s/binutils";; \
31839 esac; \
31840 $(SHELL) $${libsrcdir}/configure \
31841 $(HOST_CONFIGARGS) $${srcdiroption} \
31842 @stage2_werror_flag@
31844 maybe-all-stage2-binutils: all-stage2-binutils
31845 all-stage2-binutils: configure-stage2-binutils
31846 @$(MAKE) stage2-start
31847 @r=`${PWD_COMMAND}`; export r; \
31848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31849 $(STAGE_HOST_EXPORTS) \
31850 cd binutils && \
31851 $(MAKE) $(FLAGS_TO_PASS) \
31852 $(POSTSTAGE1_FLAGS_TO_PASS) \
31855 maybe-clean-stage2-binutils: clean-stage2-binutils
31856 clean-stage2-binutils:
31857 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31858 || exit 0 ; \
31859 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31860 cd binutils && \
31861 $(MAKE) $(FLAGS_TO_PASS) \
31862 $(POSTSTAGE1_FLAGS_TO_PASS) \
31863 clean
31864 @endif binutils-bootstrap
31867 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31868 .PHONY: all-stage2-gas maybe-all-stage2-gas
31869 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31871 maybe-configure-stage2-gas:
31872 maybe-all-stage2-gas:
31873 maybe-clean-stage2-gas:
31875 @if gas-bootstrap
31876 maybe-configure-stage2-gas: configure-stage2-gas
31877 configure-stage2-gas:
31878 @$(MAKE) stage2-start
31879 @[ -f gas/Makefile ] && exit 0 || : ; \
31880 r=`${PWD_COMMAND}`; export r; \
31881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31882 $(STAGE_HOST_EXPORTS) \
31883 echo Configuring stage 2 in gas ; \
31884 cd gas || exit 1; \
31885 case $(srcdir) in \
31886 \.) \
31887 srcdiroption="--srcdir=."; \
31888 libsrcdir=".";; \
31889 /* | [A-Za-z]:[\\/]*) \
31890 srcdiroption="--srcdir=$(srcdir)/gas"; \
31891 libsrcdir="$$s/gas";; \
31892 *) \
31893 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31894 libsrcdir="$$s/gas";; \
31895 esac; \
31896 $(SHELL) $${libsrcdir}/configure \
31897 $(HOST_CONFIGARGS) $${srcdiroption} \
31898 @stage2_werror_flag@
31900 maybe-all-stage2-gas: all-stage2-gas
31901 all-stage2-gas: configure-stage2-gas
31902 @$(MAKE) stage2-start
31903 @r=`${PWD_COMMAND}`; export r; \
31904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31905 $(STAGE_HOST_EXPORTS) \
31906 cd gas && \
31907 $(MAKE) $(FLAGS_TO_PASS) \
31908 $(POSTSTAGE1_FLAGS_TO_PASS) \
31911 maybe-clean-stage2-gas: clean-stage2-gas
31912 clean-stage2-gas:
31913 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31914 || exit 0 ; \
31915 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31916 cd gas && \
31917 $(MAKE) $(FLAGS_TO_PASS) \
31918 $(POSTSTAGE1_FLAGS_TO_PASS) \
31919 clean
31920 @endif gas-bootstrap
31923 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31924 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31925 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31927 maybe-configure-stage2-gcc:
31928 maybe-all-stage2-gcc:
31929 maybe-clean-stage2-gcc:
31931 @if gcc-bootstrap
31932 maybe-configure-stage2-gcc: configure-stage2-gcc
31933 configure-stage2-gcc:
31934 @$(MAKE) stage2-start
31935 @[ -f gcc/Makefile ] && exit 0 || : ; \
31936 r=`${PWD_COMMAND}`; export r; \
31937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31938 $(STAGE_HOST_EXPORTS) \
31939 echo Configuring stage 2 in gcc ; \
31940 cd gcc || exit 1; \
31941 case $(srcdir) in \
31942 \.) \
31943 srcdiroption="--srcdir=."; \
31944 libsrcdir=".";; \
31945 /* | [A-Za-z]:[\\/]*) \
31946 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31947 libsrcdir="$$s/gcc";; \
31948 *) \
31949 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31950 libsrcdir="$$s/gcc";; \
31951 esac; \
31952 $(SHELL) $${libsrcdir}/configure \
31953 $(HOST_CONFIGARGS) $${srcdiroption} \
31954 @stage2_werror_flag@
31956 maybe-all-stage2-gcc: all-stage2-gcc
31957 all-stage2-gcc: configure-stage2-gcc
31958 @$(MAKE) stage2-start
31959 @r=`${PWD_COMMAND}`; export r; \
31960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31961 $(STAGE_HOST_EXPORTS) \
31962 cd gcc && \
31963 $(MAKE) $(FLAGS_TO_PASS) \
31964 $(POSTSTAGE1_FLAGS_TO_PASS) \
31965 $(EXTRA_GCC_FLAGS)
31967 maybe-clean-stage2-gcc: clean-stage2-gcc
31968 clean-stage2-gcc:
31969 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31970 || exit 0 ; \
31971 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31972 cd gcc && \
31973 $(MAKE) $(FLAGS_TO_PASS) \
31974 $(POSTSTAGE1_FLAGS_TO_PASS) \
31975 $(EXTRA_GCC_FLAGS) clean
31976 @endif gcc-bootstrap
31979 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31980 .PHONY: all-stage2-intl maybe-all-stage2-intl
31981 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31983 maybe-configure-stage2-intl:
31984 maybe-all-stage2-intl:
31985 maybe-clean-stage2-intl:
31987 @if intl-bootstrap
31988 maybe-configure-stage2-intl: configure-stage2-intl
31989 configure-stage2-intl:
31990 @$(MAKE) stage2-start
31991 @[ -f intl/Makefile ] && exit 0 || : ; \
31992 r=`${PWD_COMMAND}`; export r; \
31993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31994 $(STAGE_HOST_EXPORTS) \
31995 echo Configuring stage 2 in intl ; \
31996 cd intl || exit 1; \
31997 case $(srcdir) in \
31998 \.) \
31999 srcdiroption="--srcdir=."; \
32000 libsrcdir=".";; \
32001 /* | [A-Za-z]:[\\/]*) \
32002 srcdiroption="--srcdir=$(srcdir)/intl"; \
32003 libsrcdir="$$s/intl";; \
32004 *) \
32005 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32006 libsrcdir="$$s/intl";; \
32007 esac; \
32008 $(SHELL) $${libsrcdir}/configure \
32009 $(HOST_CONFIGARGS) $${srcdiroption} \
32010 @stage2_werror_flag@
32012 maybe-all-stage2-intl: all-stage2-intl
32013 all-stage2-intl: configure-stage2-intl
32014 @$(MAKE) stage2-start
32015 @r=`${PWD_COMMAND}`; export r; \
32016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32017 $(STAGE_HOST_EXPORTS) \
32018 cd intl && \
32019 $(MAKE) $(FLAGS_TO_PASS) \
32020 $(POSTSTAGE1_FLAGS_TO_PASS) \
32023 maybe-clean-stage2-intl: clean-stage2-intl
32024 clean-stage2-intl:
32025 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
32026 || exit 0 ; \
32027 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
32028 cd intl && \
32029 $(MAKE) $(FLAGS_TO_PASS) \
32030 $(POSTSTAGE1_FLAGS_TO_PASS) \
32031 clean
32032 @endif intl-bootstrap
32035 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
32036 .PHONY: all-stage2-ld maybe-all-stage2-ld
32037 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
32039 maybe-configure-stage2-ld:
32040 maybe-all-stage2-ld:
32041 maybe-clean-stage2-ld:
32043 @if ld-bootstrap
32044 maybe-configure-stage2-ld: configure-stage2-ld
32045 configure-stage2-ld:
32046 @$(MAKE) stage2-start
32047 @[ -f ld/Makefile ] && exit 0 || : ; \
32048 r=`${PWD_COMMAND}`; export r; \
32049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32050 $(STAGE_HOST_EXPORTS) \
32051 echo Configuring stage 2 in ld ; \
32052 cd ld || exit 1; \
32053 case $(srcdir) in \
32054 \.) \
32055 srcdiroption="--srcdir=."; \
32056 libsrcdir=".";; \
32057 /* | [A-Za-z]:[\\/]*) \
32058 srcdiroption="--srcdir=$(srcdir)/ld"; \
32059 libsrcdir="$$s/ld";; \
32060 *) \
32061 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32062 libsrcdir="$$s/ld";; \
32063 esac; \
32064 $(SHELL) $${libsrcdir}/configure \
32065 $(HOST_CONFIGARGS) $${srcdiroption} \
32066 @stage2_werror_flag@
32068 maybe-all-stage2-ld: all-stage2-ld
32069 all-stage2-ld: configure-stage2-ld
32070 @$(MAKE) stage2-start
32071 @r=`${PWD_COMMAND}`; export r; \
32072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32073 $(STAGE_HOST_EXPORTS) \
32074 cd ld && \
32075 $(MAKE) $(FLAGS_TO_PASS) \
32076 $(POSTSTAGE1_FLAGS_TO_PASS) \
32079 maybe-clean-stage2-ld: clean-stage2-ld
32080 clean-stage2-ld:
32081 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
32082 || exit 0 ; \
32083 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
32084 cd ld && \
32085 $(MAKE) $(FLAGS_TO_PASS) \
32086 $(POSTSTAGE1_FLAGS_TO_PASS) \
32087 clean
32088 @endif ld-bootstrap
32091 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
32092 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
32093 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
32095 maybe-configure-stage2-libcpp:
32096 maybe-all-stage2-libcpp:
32097 maybe-clean-stage2-libcpp:
32099 @if libcpp-bootstrap
32100 maybe-configure-stage2-libcpp: configure-stage2-libcpp
32101 configure-stage2-libcpp:
32102 @$(MAKE) stage2-start
32103 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32104 r=`${PWD_COMMAND}`; export r; \
32105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32106 $(STAGE_HOST_EXPORTS) \
32107 echo Configuring stage 2 in libcpp ; \
32108 cd libcpp || exit 1; \
32109 case $(srcdir) in \
32110 \.) \
32111 srcdiroption="--srcdir=."; \
32112 libsrcdir=".";; \
32113 /* | [A-Za-z]:[\\/]*) \
32114 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32115 libsrcdir="$$s/libcpp";; \
32116 *) \
32117 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32118 libsrcdir="$$s/libcpp";; \
32119 esac; \
32120 $(SHELL) $${libsrcdir}/configure \
32121 $(HOST_CONFIGARGS) $${srcdiroption} \
32122 @stage2_werror_flag@
32124 maybe-all-stage2-libcpp: all-stage2-libcpp
32125 all-stage2-libcpp: configure-stage2-libcpp
32126 @$(MAKE) stage2-start
32127 @r=`${PWD_COMMAND}`; export r; \
32128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32129 $(STAGE_HOST_EXPORTS) \
32130 cd libcpp && \
32131 $(MAKE) $(FLAGS_TO_PASS) \
32132 $(POSTSTAGE1_FLAGS_TO_PASS) \
32135 maybe-clean-stage2-libcpp: clean-stage2-libcpp
32136 clean-stage2-libcpp:
32137 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
32138 || exit 0 ; \
32139 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
32140 cd libcpp && \
32141 $(MAKE) $(FLAGS_TO_PASS) \
32142 $(POSTSTAGE1_FLAGS_TO_PASS) \
32143 clean
32144 @endif libcpp-bootstrap
32147 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
32148 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
32149 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
32151 maybe-configure-stage2-libiberty:
32152 maybe-all-stage2-libiberty:
32153 maybe-clean-stage2-libiberty:
32155 @if libiberty-bootstrap
32156 maybe-configure-stage2-libiberty: configure-stage2-libiberty
32157 configure-stage2-libiberty:
32158 @$(MAKE) stage2-start
32159 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32160 r=`${PWD_COMMAND}`; export r; \
32161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32162 $(STAGE_HOST_EXPORTS) \
32163 echo Configuring stage 2 in libiberty ; \
32164 cd libiberty || exit 1; \
32165 case $(srcdir) in \
32166 \.) \
32167 srcdiroption="--srcdir=."; \
32168 libsrcdir=".";; \
32169 /* | [A-Za-z]:[\\/]*) \
32170 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32171 libsrcdir="$$s/libiberty";; \
32172 *) \
32173 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32174 libsrcdir="$$s/libiberty";; \
32175 esac; \
32176 $(SHELL) $${libsrcdir}/configure \
32177 $(HOST_CONFIGARGS) $${srcdiroption} \
32178 @stage2_werror_flag@
32180 maybe-all-stage2-libiberty: all-stage2-libiberty
32181 all-stage2-libiberty: configure-stage2-libiberty
32182 @$(MAKE) stage2-start
32183 @r=`${PWD_COMMAND}`; export r; \
32184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32185 $(STAGE_HOST_EXPORTS) \
32186 cd libiberty && \
32187 $(MAKE) $(FLAGS_TO_PASS) \
32188 $(POSTSTAGE1_FLAGS_TO_PASS) \
32191 maybe-clean-stage2-libiberty: clean-stage2-libiberty
32192 clean-stage2-libiberty:
32193 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
32194 || exit 0 ; \
32195 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
32196 cd libiberty && \
32197 $(MAKE) $(FLAGS_TO_PASS) \
32198 $(POSTSTAGE1_FLAGS_TO_PASS) \
32199 clean
32200 @endif libiberty-bootstrap
32203 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
32204 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
32205 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
32207 maybe-configure-stage2-zlib:
32208 maybe-all-stage2-zlib:
32209 maybe-clean-stage2-zlib:
32211 @if zlib-bootstrap
32212 maybe-configure-stage2-zlib: configure-stage2-zlib
32213 configure-stage2-zlib:
32214 @$(MAKE) stage2-start
32215 @[ -f zlib/Makefile ] && exit 0 || : ; \
32216 r=`${PWD_COMMAND}`; export r; \
32217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32218 $(STAGE_HOST_EXPORTS) \
32219 echo Configuring stage 2 in zlib ; \
32220 cd zlib || exit 1; \
32221 case $(srcdir) in \
32222 \.) \
32223 srcdiroption="--srcdir=."; \
32224 libsrcdir=".";; \
32225 /* | [A-Za-z]:[\\/]*) \
32226 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32227 libsrcdir="$$s/zlib";; \
32228 *) \
32229 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32230 libsrcdir="$$s/zlib";; \
32231 esac; \
32232 $(SHELL) $${libsrcdir}/configure \
32233 $(HOST_CONFIGARGS) $${srcdiroption} \
32234 @stage2_werror_flag@
32236 maybe-all-stage2-zlib: all-stage2-zlib
32237 all-stage2-zlib: configure-stage2-zlib
32238 @$(MAKE) stage2-start
32239 @r=`${PWD_COMMAND}`; export r; \
32240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32241 $(STAGE_HOST_EXPORTS) \
32242 cd zlib && \
32243 $(MAKE) $(FLAGS_TO_PASS) \
32244 $(POSTSTAGE1_FLAGS_TO_PASS) \
32247 maybe-clean-stage2-zlib: clean-stage2-zlib
32248 clean-stage2-zlib:
32249 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
32250 || exit 0 ; \
32251 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
32252 cd zlib && \
32253 $(MAKE) $(FLAGS_TO_PASS) \
32254 $(POSTSTAGE1_FLAGS_TO_PASS) \
32255 clean
32256 @endif zlib-bootstrap
32260 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32261 # only possibility, but now it conflicts with no-bootstrap rules
32262 @if gcc-bootstrap
32266 .PHONY: bootstrap2
32267 bootstrap2: stage2-bubble all
32270 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32271 distclean-stage1:: distclean-stage2
32272 .PHONY: distclean-stage2
32273 distclean-stage2::
32274 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32275 rm -rf stage2-*
32278 @endif gcc-bootstrap
32281 .PHONY: stage3-start stage3-end
32283 stage3-start::
32284 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32285 echo stage3 > stage_current ; \
32286 echo stage3 > stage_last
32287 @if bfd
32288 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
32289 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32290 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32291 @endif bfd
32292 @if opcodes
32293 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
32294 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32295 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32296 @endif opcodes
32297 @if binutils
32298 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
32299 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32300 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32301 @endif binutils
32302 @if gas
32303 @[ -d stage3-gas ] || mkdir stage3-gas; \
32304 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32305 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
32306 @endif gas
32307 @if gcc
32308 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
32309 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32310 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32311 @endif gcc
32312 @if intl
32313 @[ -d stage3-intl ] || mkdir stage3-intl; \
32314 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32315 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
32316 @endif intl
32317 @if ld
32318 @[ -d stage3-ld ] || mkdir stage3-ld; \
32319 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32320 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
32321 @endif ld
32322 @if libcpp
32323 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
32324 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32325 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32326 @endif libcpp
32327 @if libiberty
32328 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32329 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32330 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32331 @endif libiberty
32332 @if zlib
32333 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32334 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32335 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32336 @endif zlib
32338 stage3-end::
32339 @rm -f stage_current
32340 @if bfd
32341 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32342 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32343 @endif bfd
32344 @if opcodes
32345 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32346 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32347 @endif opcodes
32348 @if binutils
32349 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32350 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32351 @endif binutils
32352 @if gas
32353 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32354 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32355 @endif gas
32356 @if gcc
32357 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32358 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32359 @endif gcc
32360 @if intl
32361 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32362 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32363 @endif intl
32364 @if ld
32365 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32366 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32367 @endif ld
32368 @if libcpp
32369 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32370 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32371 @endif libcpp
32372 @if libiberty
32373 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32374 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32375 @endif libiberty
32376 @if zlib
32377 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32378 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32379 @endif zlib
32381 # Bubble a bugfix through all the stages up to stage 3. They
32382 # are remade, but not reconfigured. The next stage (if any) will not
32383 # be reconfigured as well.
32384 .PHONY: stage3-bubble
32385 stage3-bubble:: stage2-bubble
32386 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32387 @if test -f stage3-lean || test -f stage2-lean ; then \
32388 echo Skipping rebuild of stage3 ; \
32389 else \
32390 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32393 .PHONY: all-stage3 clean-stage3
32394 all-stage3: \
32395 maybe-all-stage3-bfd \
32396 maybe-all-stage3-opcodes \
32397 maybe-all-stage3-binutils \
32398 maybe-all-stage3-gas \
32399 maybe-all-stage3-gcc \
32400 maybe-all-stage3-intl \
32401 maybe-all-stage3-ld \
32402 maybe-all-stage3-libcpp \
32403 maybe-all-stage3-libiberty \
32404 maybe-all-stage3-zlib
32406 do-clean: clean-stage3
32407 clean-stage3: \
32408 maybe-clean-stage3-bfd \
32409 maybe-clean-stage3-opcodes \
32410 maybe-clean-stage3-binutils \
32411 maybe-clean-stage3-gas \
32412 maybe-clean-stage3-gcc \
32413 maybe-clean-stage3-intl \
32414 maybe-clean-stage3-ld \
32415 maybe-clean-stage3-libcpp \
32416 maybe-clean-stage3-libiberty \
32417 maybe-clean-stage3-zlib
32420 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32421 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32422 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32424 maybe-configure-stage3-bfd:
32425 maybe-all-stage3-bfd:
32426 maybe-clean-stage3-bfd:
32428 @if bfd-bootstrap
32429 maybe-configure-stage3-bfd: configure-stage3-bfd
32430 configure-stage3-bfd:
32431 @$(MAKE) stage3-start
32432 @[ -f bfd/Makefile ] && exit 0 || : ; \
32433 r=`${PWD_COMMAND}`; export r; \
32434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32435 $(STAGE_HOST_EXPORTS) \
32436 echo Configuring stage 3 in bfd ; \
32437 cd bfd || exit 1; \
32438 case $(srcdir) in \
32439 \.) \
32440 srcdiroption="--srcdir=."; \
32441 libsrcdir=".";; \
32442 /* | [A-Za-z]:[\\/]*) \
32443 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32444 libsrcdir="$$s/bfd";; \
32445 *) \
32446 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32447 libsrcdir="$$s/bfd";; \
32448 esac; \
32449 $(SHELL) $${libsrcdir}/configure \
32450 $(HOST_CONFIGARGS) $${srcdiroption} \
32451 @stage2_werror_flag@
32453 maybe-all-stage3-bfd: all-stage3-bfd
32454 all-stage3-bfd: configure-stage3-bfd
32455 @$(MAKE) stage3-start
32456 @r=`${PWD_COMMAND}`; export r; \
32457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32458 $(STAGE_HOST_EXPORTS) \
32459 cd bfd && \
32460 $(MAKE) $(FLAGS_TO_PASS) \
32461 $(POSTSTAGE1_FLAGS_TO_PASS) \
32464 maybe-clean-stage3-bfd: clean-stage3-bfd
32465 clean-stage3-bfd:
32466 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32467 || exit 0 ; \
32468 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32469 cd bfd && \
32470 $(MAKE) $(FLAGS_TO_PASS) \
32471 $(POSTSTAGE1_FLAGS_TO_PASS) \
32472 clean
32473 @endif bfd-bootstrap
32476 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32477 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32478 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32480 maybe-configure-stage3-opcodes:
32481 maybe-all-stage3-opcodes:
32482 maybe-clean-stage3-opcodes:
32484 @if opcodes-bootstrap
32485 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32486 configure-stage3-opcodes:
32487 @$(MAKE) stage3-start
32488 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32489 r=`${PWD_COMMAND}`; export r; \
32490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32491 $(STAGE_HOST_EXPORTS) \
32492 echo Configuring stage 3 in opcodes ; \
32493 cd opcodes || exit 1; \
32494 case $(srcdir) in \
32495 \.) \
32496 srcdiroption="--srcdir=."; \
32497 libsrcdir=".";; \
32498 /* | [A-Za-z]:[\\/]*) \
32499 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32500 libsrcdir="$$s/opcodes";; \
32501 *) \
32502 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32503 libsrcdir="$$s/opcodes";; \
32504 esac; \
32505 $(SHELL) $${libsrcdir}/configure \
32506 $(HOST_CONFIGARGS) $${srcdiroption} \
32507 @stage2_werror_flag@
32509 maybe-all-stage3-opcodes: all-stage3-opcodes
32510 all-stage3-opcodes: configure-stage3-opcodes
32511 @$(MAKE) stage3-start
32512 @r=`${PWD_COMMAND}`; export r; \
32513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32514 $(STAGE_HOST_EXPORTS) \
32515 cd opcodes && \
32516 $(MAKE) $(FLAGS_TO_PASS) \
32517 $(POSTSTAGE1_FLAGS_TO_PASS) \
32520 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32521 clean-stage3-opcodes:
32522 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32523 || exit 0 ; \
32524 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32525 cd opcodes && \
32526 $(MAKE) $(FLAGS_TO_PASS) \
32527 $(POSTSTAGE1_FLAGS_TO_PASS) \
32528 clean
32529 @endif opcodes-bootstrap
32532 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32533 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32534 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32536 maybe-configure-stage3-binutils:
32537 maybe-all-stage3-binutils:
32538 maybe-clean-stage3-binutils:
32540 @if binutils-bootstrap
32541 maybe-configure-stage3-binutils: configure-stage3-binutils
32542 configure-stage3-binutils:
32543 @$(MAKE) stage3-start
32544 @[ -f binutils/Makefile ] && exit 0 || : ; \
32545 r=`${PWD_COMMAND}`; export r; \
32546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32547 $(STAGE_HOST_EXPORTS) \
32548 echo Configuring stage 3 in binutils ; \
32549 cd binutils || exit 1; \
32550 case $(srcdir) in \
32551 \.) \
32552 srcdiroption="--srcdir=."; \
32553 libsrcdir=".";; \
32554 /* | [A-Za-z]:[\\/]*) \
32555 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32556 libsrcdir="$$s/binutils";; \
32557 *) \
32558 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32559 libsrcdir="$$s/binutils";; \
32560 esac; \
32561 $(SHELL) $${libsrcdir}/configure \
32562 $(HOST_CONFIGARGS) $${srcdiroption} \
32563 @stage2_werror_flag@
32565 maybe-all-stage3-binutils: all-stage3-binutils
32566 all-stage3-binutils: configure-stage3-binutils
32567 @$(MAKE) stage3-start
32568 @r=`${PWD_COMMAND}`; export r; \
32569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32570 $(STAGE_HOST_EXPORTS) \
32571 cd binutils && \
32572 $(MAKE) $(FLAGS_TO_PASS) \
32573 $(POSTSTAGE1_FLAGS_TO_PASS) \
32576 maybe-clean-stage3-binutils: clean-stage3-binutils
32577 clean-stage3-binutils:
32578 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32579 || exit 0 ; \
32580 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32581 cd binutils && \
32582 $(MAKE) $(FLAGS_TO_PASS) \
32583 $(POSTSTAGE1_FLAGS_TO_PASS) \
32584 clean
32585 @endif binutils-bootstrap
32588 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32589 .PHONY: all-stage3-gas maybe-all-stage3-gas
32590 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32592 maybe-configure-stage3-gas:
32593 maybe-all-stage3-gas:
32594 maybe-clean-stage3-gas:
32596 @if gas-bootstrap
32597 maybe-configure-stage3-gas: configure-stage3-gas
32598 configure-stage3-gas:
32599 @$(MAKE) stage3-start
32600 @[ -f gas/Makefile ] && exit 0 || : ; \
32601 r=`${PWD_COMMAND}`; export r; \
32602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32603 $(STAGE_HOST_EXPORTS) \
32604 echo Configuring stage 3 in gas ; \
32605 cd gas || exit 1; \
32606 case $(srcdir) in \
32607 \.) \
32608 srcdiroption="--srcdir=."; \
32609 libsrcdir=".";; \
32610 /* | [A-Za-z]:[\\/]*) \
32611 srcdiroption="--srcdir=$(srcdir)/gas"; \
32612 libsrcdir="$$s/gas";; \
32613 *) \
32614 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32615 libsrcdir="$$s/gas";; \
32616 esac; \
32617 $(SHELL) $${libsrcdir}/configure \
32618 $(HOST_CONFIGARGS) $${srcdiroption} \
32619 @stage2_werror_flag@
32621 maybe-all-stage3-gas: all-stage3-gas
32622 all-stage3-gas: configure-stage3-gas
32623 @$(MAKE) stage3-start
32624 @r=`${PWD_COMMAND}`; export r; \
32625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32626 $(STAGE_HOST_EXPORTS) \
32627 cd gas && \
32628 $(MAKE) $(FLAGS_TO_PASS) \
32629 $(POSTSTAGE1_FLAGS_TO_PASS) \
32632 maybe-clean-stage3-gas: clean-stage3-gas
32633 clean-stage3-gas:
32634 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32635 || exit 0 ; \
32636 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32637 cd gas && \
32638 $(MAKE) $(FLAGS_TO_PASS) \
32639 $(POSTSTAGE1_FLAGS_TO_PASS) \
32640 clean
32641 @endif gas-bootstrap
32644 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32645 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32646 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32648 maybe-configure-stage3-gcc:
32649 maybe-all-stage3-gcc:
32650 maybe-clean-stage3-gcc:
32652 @if gcc-bootstrap
32653 maybe-configure-stage3-gcc: configure-stage3-gcc
32654 configure-stage3-gcc:
32655 @$(MAKE) stage3-start
32656 @[ -f gcc/Makefile ] && exit 0 || : ; \
32657 r=`${PWD_COMMAND}`; export r; \
32658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32659 $(STAGE_HOST_EXPORTS) \
32660 echo Configuring stage 3 in gcc ; \
32661 cd gcc || exit 1; \
32662 case $(srcdir) in \
32663 \.) \
32664 srcdiroption="--srcdir=."; \
32665 libsrcdir=".";; \
32666 /* | [A-Za-z]:[\\/]*) \
32667 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32668 libsrcdir="$$s/gcc";; \
32669 *) \
32670 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32671 libsrcdir="$$s/gcc";; \
32672 esac; \
32673 $(SHELL) $${libsrcdir}/configure \
32674 $(HOST_CONFIGARGS) $${srcdiroption} \
32675 @stage2_werror_flag@
32677 maybe-all-stage3-gcc: all-stage3-gcc
32678 all-stage3-gcc: configure-stage3-gcc
32679 @$(MAKE) stage3-start
32680 @r=`${PWD_COMMAND}`; export r; \
32681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32682 $(STAGE_HOST_EXPORTS) \
32683 cd gcc && \
32684 $(MAKE) $(FLAGS_TO_PASS) \
32685 $(POSTSTAGE1_FLAGS_TO_PASS) \
32686 $(EXTRA_GCC_FLAGS)
32688 maybe-clean-stage3-gcc: clean-stage3-gcc
32689 clean-stage3-gcc:
32690 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32691 || exit 0 ; \
32692 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32693 cd gcc && \
32694 $(MAKE) $(FLAGS_TO_PASS) \
32695 $(POSTSTAGE1_FLAGS_TO_PASS) \
32696 $(EXTRA_GCC_FLAGS) clean
32697 @endif gcc-bootstrap
32700 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32701 .PHONY: all-stage3-intl maybe-all-stage3-intl
32702 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32704 maybe-configure-stage3-intl:
32705 maybe-all-stage3-intl:
32706 maybe-clean-stage3-intl:
32708 @if intl-bootstrap
32709 maybe-configure-stage3-intl: configure-stage3-intl
32710 configure-stage3-intl:
32711 @$(MAKE) stage3-start
32712 @[ -f intl/Makefile ] && exit 0 || : ; \
32713 r=`${PWD_COMMAND}`; export r; \
32714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32715 $(STAGE_HOST_EXPORTS) \
32716 echo Configuring stage 3 in intl ; \
32717 cd intl || exit 1; \
32718 case $(srcdir) in \
32719 \.) \
32720 srcdiroption="--srcdir=."; \
32721 libsrcdir=".";; \
32722 /* | [A-Za-z]:[\\/]*) \
32723 srcdiroption="--srcdir=$(srcdir)/intl"; \
32724 libsrcdir="$$s/intl";; \
32725 *) \
32726 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32727 libsrcdir="$$s/intl";; \
32728 esac; \
32729 $(SHELL) $${libsrcdir}/configure \
32730 $(HOST_CONFIGARGS) $${srcdiroption} \
32731 @stage2_werror_flag@
32733 maybe-all-stage3-intl: all-stage3-intl
32734 all-stage3-intl: configure-stage3-intl
32735 @$(MAKE) stage3-start
32736 @r=`${PWD_COMMAND}`; export r; \
32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32738 $(STAGE_HOST_EXPORTS) \
32739 cd intl && \
32740 $(MAKE) $(FLAGS_TO_PASS) \
32741 $(POSTSTAGE1_FLAGS_TO_PASS) \
32744 maybe-clean-stage3-intl: clean-stage3-intl
32745 clean-stage3-intl:
32746 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32747 || exit 0 ; \
32748 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32749 cd intl && \
32750 $(MAKE) $(FLAGS_TO_PASS) \
32751 $(POSTSTAGE1_FLAGS_TO_PASS) \
32752 clean
32753 @endif intl-bootstrap
32756 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32757 .PHONY: all-stage3-ld maybe-all-stage3-ld
32758 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32760 maybe-configure-stage3-ld:
32761 maybe-all-stage3-ld:
32762 maybe-clean-stage3-ld:
32764 @if ld-bootstrap
32765 maybe-configure-stage3-ld: configure-stage3-ld
32766 configure-stage3-ld:
32767 @$(MAKE) stage3-start
32768 @[ -f ld/Makefile ] && exit 0 || : ; \
32769 r=`${PWD_COMMAND}`; export r; \
32770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32771 $(STAGE_HOST_EXPORTS) \
32772 echo Configuring stage 3 in ld ; \
32773 cd ld || exit 1; \
32774 case $(srcdir) in \
32775 \.) \
32776 srcdiroption="--srcdir=."; \
32777 libsrcdir=".";; \
32778 /* | [A-Za-z]:[\\/]*) \
32779 srcdiroption="--srcdir=$(srcdir)/ld"; \
32780 libsrcdir="$$s/ld";; \
32781 *) \
32782 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32783 libsrcdir="$$s/ld";; \
32784 esac; \
32785 $(SHELL) $${libsrcdir}/configure \
32786 $(HOST_CONFIGARGS) $${srcdiroption} \
32787 @stage2_werror_flag@
32789 maybe-all-stage3-ld: all-stage3-ld
32790 all-stage3-ld: configure-stage3-ld
32791 @$(MAKE) stage3-start
32792 @r=`${PWD_COMMAND}`; export r; \
32793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32794 $(STAGE_HOST_EXPORTS) \
32795 cd ld && \
32796 $(MAKE) $(FLAGS_TO_PASS) \
32797 $(POSTSTAGE1_FLAGS_TO_PASS) \
32800 maybe-clean-stage3-ld: clean-stage3-ld
32801 clean-stage3-ld:
32802 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32803 || exit 0 ; \
32804 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32805 cd ld && \
32806 $(MAKE) $(FLAGS_TO_PASS) \
32807 $(POSTSTAGE1_FLAGS_TO_PASS) \
32808 clean
32809 @endif ld-bootstrap
32812 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32813 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32814 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32816 maybe-configure-stage3-libcpp:
32817 maybe-all-stage3-libcpp:
32818 maybe-clean-stage3-libcpp:
32820 @if libcpp-bootstrap
32821 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32822 configure-stage3-libcpp:
32823 @$(MAKE) stage3-start
32824 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32825 r=`${PWD_COMMAND}`; export r; \
32826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32827 $(STAGE_HOST_EXPORTS) \
32828 echo Configuring stage 3 in libcpp ; \
32829 cd libcpp || exit 1; \
32830 case $(srcdir) in \
32831 \.) \
32832 srcdiroption="--srcdir=."; \
32833 libsrcdir=".";; \
32834 /* | [A-Za-z]:[\\/]*) \
32835 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32836 libsrcdir="$$s/libcpp";; \
32837 *) \
32838 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32839 libsrcdir="$$s/libcpp";; \
32840 esac; \
32841 $(SHELL) $${libsrcdir}/configure \
32842 $(HOST_CONFIGARGS) $${srcdiroption} \
32843 @stage2_werror_flag@
32845 maybe-all-stage3-libcpp: all-stage3-libcpp
32846 all-stage3-libcpp: configure-stage3-libcpp
32847 @$(MAKE) stage3-start
32848 @r=`${PWD_COMMAND}`; export r; \
32849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32850 $(STAGE_HOST_EXPORTS) \
32851 cd libcpp && \
32852 $(MAKE) $(FLAGS_TO_PASS) \
32853 $(POSTSTAGE1_FLAGS_TO_PASS) \
32856 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32857 clean-stage3-libcpp:
32858 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32859 || exit 0 ; \
32860 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32861 cd libcpp && \
32862 $(MAKE) $(FLAGS_TO_PASS) \
32863 $(POSTSTAGE1_FLAGS_TO_PASS) \
32864 clean
32865 @endif libcpp-bootstrap
32868 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32869 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32870 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32872 maybe-configure-stage3-libiberty:
32873 maybe-all-stage3-libiberty:
32874 maybe-clean-stage3-libiberty:
32876 @if libiberty-bootstrap
32877 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32878 configure-stage3-libiberty:
32879 @$(MAKE) stage3-start
32880 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32881 r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(STAGE_HOST_EXPORTS) \
32884 echo Configuring stage 3 in libiberty ; \
32885 cd libiberty || exit 1; \
32886 case $(srcdir) in \
32887 \.) \
32888 srcdiroption="--srcdir=."; \
32889 libsrcdir=".";; \
32890 /* | [A-Za-z]:[\\/]*) \
32891 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32892 libsrcdir="$$s/libiberty";; \
32893 *) \
32894 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32895 libsrcdir="$$s/libiberty";; \
32896 esac; \
32897 $(SHELL) $${libsrcdir}/configure \
32898 $(HOST_CONFIGARGS) $${srcdiroption} \
32899 @stage2_werror_flag@
32901 maybe-all-stage3-libiberty: all-stage3-libiberty
32902 all-stage3-libiberty: configure-stage3-libiberty
32903 @$(MAKE) stage3-start
32904 @r=`${PWD_COMMAND}`; export r; \
32905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32906 $(STAGE_HOST_EXPORTS) \
32907 cd libiberty && \
32908 $(MAKE) $(FLAGS_TO_PASS) \
32909 $(POSTSTAGE1_FLAGS_TO_PASS) \
32912 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32913 clean-stage3-libiberty:
32914 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32915 || exit 0 ; \
32916 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32917 cd libiberty && \
32918 $(MAKE) $(FLAGS_TO_PASS) \
32919 $(POSTSTAGE1_FLAGS_TO_PASS) \
32920 clean
32921 @endif libiberty-bootstrap
32924 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32925 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32926 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32928 maybe-configure-stage3-zlib:
32929 maybe-all-stage3-zlib:
32930 maybe-clean-stage3-zlib:
32932 @if zlib-bootstrap
32933 maybe-configure-stage3-zlib: configure-stage3-zlib
32934 configure-stage3-zlib:
32935 @$(MAKE) stage3-start
32936 @[ -f zlib/Makefile ] && exit 0 || : ; \
32937 r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(STAGE_HOST_EXPORTS) \
32940 echo Configuring stage 3 in zlib ; \
32941 cd zlib || exit 1; \
32942 case $(srcdir) in \
32943 \.) \
32944 srcdiroption="--srcdir=."; \
32945 libsrcdir=".";; \
32946 /* | [A-Za-z]:[\\/]*) \
32947 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32948 libsrcdir="$$s/zlib";; \
32949 *) \
32950 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32951 libsrcdir="$$s/zlib";; \
32952 esac; \
32953 $(SHELL) $${libsrcdir}/configure \
32954 $(HOST_CONFIGARGS) $${srcdiroption} \
32955 @stage2_werror_flag@
32957 maybe-all-stage3-zlib: all-stage3-zlib
32958 all-stage3-zlib: configure-stage3-zlib
32959 @$(MAKE) stage3-start
32960 @r=`${PWD_COMMAND}`; export r; \
32961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32962 $(STAGE_HOST_EXPORTS) \
32963 cd zlib && \
32964 $(MAKE) $(FLAGS_TO_PASS) \
32965 $(POSTSTAGE1_FLAGS_TO_PASS) \
32968 maybe-clean-stage3-zlib: clean-stage3-zlib
32969 clean-stage3-zlib:
32970 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32971 || exit 0 ; \
32972 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32973 cd zlib && \
32974 $(MAKE) $(FLAGS_TO_PASS) \
32975 $(POSTSTAGE1_FLAGS_TO_PASS) \
32976 clean
32977 @endif zlib-bootstrap
32981 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32982 # only possibility, but now it conflicts with no-bootstrap rules
32983 @if gcc-bootstrap
32985 compare:
32986 @if test -f stage2-lean; then \
32987 echo Cannot compare object files as stage 2 was deleted. ; \
32988 exit 0 ; \
32989 fi; \
32990 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32991 @r=`${PWD_COMMAND}`; export r; \
32992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32993 rm -f .bad_compare ; \
32994 cd stage3-gcc; \
32995 files=`find . -name "*$(objext)" -print` ; \
32996 cd .. ; \
32997 for file in $${files} ; do \
32998 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32999 @do_compare@ > /dev/null 2>&1; \
33000 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33001 done ; \
33002 if [ -f .bad_compare ]; then \
33003 echo "Bootstrap comparison failure!"; \
33004 cat .bad_compare; \
33005 exit 1; \
33006 else \
33007 true; \
33008 fi ; \
33009 $(STAMP) compare
33010 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
33014 .PHONY: bootstrap
33015 bootstrap: stage3-bubble compare all
33018 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33019 distclean-stage2:: distclean-stage3
33020 .PHONY: distclean-stage3
33021 distclean-stage3::
33022 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33023 rm -rf stage3-* compare
33026 .PHONY: cleanstrap
33027 cleanstrap: distclean bootstrap
33029 @endif gcc-bootstrap
33032 .PHONY: stage4-start stage4-end
33034 stage4-start::
33035 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33036 echo stage4 > stage_current ; \
33037 echo stage4 > stage_last
33038 @if bfd
33039 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
33040 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33041 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33042 @endif bfd
33043 @if opcodes
33044 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
33045 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33046 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33047 @endif opcodes
33048 @if binutils
33049 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
33050 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33051 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33052 @endif binutils
33053 @if gas
33054 @[ -d stage4-gas ] || mkdir stage4-gas; \
33055 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33056 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
33057 @endif gas
33058 @if gcc
33059 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
33060 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33061 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33062 @endif gcc
33063 @if intl
33064 @[ -d stage4-intl ] || mkdir stage4-intl; \
33065 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33066 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
33067 @endif intl
33068 @if ld
33069 @[ -d stage4-ld ] || mkdir stage4-ld; \
33070 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33071 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
33072 @endif ld
33073 @if libcpp
33074 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
33075 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33076 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33077 @endif libcpp
33078 @if libiberty
33079 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
33080 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33081 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33082 @endif libiberty
33083 @if zlib
33084 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
33085 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33086 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33087 @endif zlib
33089 stage4-end::
33090 @rm -f stage_current
33091 @if bfd
33092 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
33093 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
33094 @endif bfd
33095 @if opcodes
33096 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33097 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
33098 @endif opcodes
33099 @if binutils
33100 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
33101 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
33102 @endif binutils
33103 @if gas
33104 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
33105 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
33106 @endif gas
33107 @if gcc
33108 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
33109 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
33110 @endif gcc
33111 @if intl
33112 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
33113 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
33114 @endif intl
33115 @if ld
33116 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
33117 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
33118 @endif ld
33119 @if libcpp
33120 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33121 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
33122 @endif libcpp
33123 @if libiberty
33124 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33125 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
33126 @endif libiberty
33127 @if zlib
33128 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
33129 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
33130 @endif zlib
33132 # Bubble a bugfix through all the stages up to stage 4. They
33133 # are remade, but not reconfigured. The next stage (if any) will not
33134 # be reconfigured as well.
33135 .PHONY: stage4-bubble
33136 stage4-bubble:: stage3-bubble
33137 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
33138 @if test -f stage4-lean || test -f stage3-lean ; then \
33139 echo Skipping rebuild of stage4 ; \
33140 else \
33141 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
33144 .PHONY: all-stage4 clean-stage4
33145 all-stage4: \
33146 maybe-all-stage4-bfd \
33147 maybe-all-stage4-opcodes \
33148 maybe-all-stage4-binutils \
33149 maybe-all-stage4-gas \
33150 maybe-all-stage4-gcc \
33151 maybe-all-stage4-intl \
33152 maybe-all-stage4-ld \
33153 maybe-all-stage4-libcpp \
33154 maybe-all-stage4-libiberty \
33155 maybe-all-stage4-zlib
33157 do-clean: clean-stage4
33158 clean-stage4: \
33159 maybe-clean-stage4-bfd \
33160 maybe-clean-stage4-opcodes \
33161 maybe-clean-stage4-binutils \
33162 maybe-clean-stage4-gas \
33163 maybe-clean-stage4-gcc \
33164 maybe-clean-stage4-intl \
33165 maybe-clean-stage4-ld \
33166 maybe-clean-stage4-libcpp \
33167 maybe-clean-stage4-libiberty \
33168 maybe-clean-stage4-zlib
33171 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
33172 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
33173 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
33175 maybe-configure-stage4-bfd:
33176 maybe-all-stage4-bfd:
33177 maybe-clean-stage4-bfd:
33179 @if bfd-bootstrap
33180 maybe-configure-stage4-bfd: configure-stage4-bfd
33181 configure-stage4-bfd:
33182 @$(MAKE) stage4-start
33183 @[ -f bfd/Makefile ] && exit 0 || : ; \
33184 r=`${PWD_COMMAND}`; export r; \
33185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33186 $(STAGE_HOST_EXPORTS) \
33187 echo Configuring stage 4 in bfd ; \
33188 cd bfd || exit 1; \
33189 case $(srcdir) in \
33190 \.) \
33191 srcdiroption="--srcdir=."; \
33192 libsrcdir=".";; \
33193 /* | [A-Za-z]:[\\/]*) \
33194 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33195 libsrcdir="$$s/bfd";; \
33196 *) \
33197 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33198 libsrcdir="$$s/bfd";; \
33199 esac; \
33200 $(SHELL) $${libsrcdir}/configure \
33201 $(HOST_CONFIGARGS) $${srcdiroption} \
33202 @stage2_werror_flag@
33204 maybe-all-stage4-bfd: all-stage4-bfd
33205 all-stage4-bfd: configure-stage4-bfd
33206 @$(MAKE) stage4-start
33207 @r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(STAGE_HOST_EXPORTS) \
33210 cd bfd && \
33211 $(MAKE) $(FLAGS_TO_PASS) \
33212 $(POSTSTAGE1_FLAGS_TO_PASS) \
33215 maybe-clean-stage4-bfd: clean-stage4-bfd
33216 clean-stage4-bfd:
33217 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
33218 || exit 0 ; \
33219 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
33220 cd bfd && \
33221 $(MAKE) $(FLAGS_TO_PASS) \
33222 $(POSTSTAGE1_FLAGS_TO_PASS) \
33223 clean
33224 @endif bfd-bootstrap
33227 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
33228 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
33229 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
33231 maybe-configure-stage4-opcodes:
33232 maybe-all-stage4-opcodes:
33233 maybe-clean-stage4-opcodes:
33235 @if opcodes-bootstrap
33236 maybe-configure-stage4-opcodes: configure-stage4-opcodes
33237 configure-stage4-opcodes:
33238 @$(MAKE) stage4-start
33239 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33240 r=`${PWD_COMMAND}`; export r; \
33241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33242 $(STAGE_HOST_EXPORTS) \
33243 echo Configuring stage 4 in opcodes ; \
33244 cd opcodes || exit 1; \
33245 case $(srcdir) in \
33246 \.) \
33247 srcdiroption="--srcdir=."; \
33248 libsrcdir=".";; \
33249 /* | [A-Za-z]:[\\/]*) \
33250 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33251 libsrcdir="$$s/opcodes";; \
33252 *) \
33253 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33254 libsrcdir="$$s/opcodes";; \
33255 esac; \
33256 $(SHELL) $${libsrcdir}/configure \
33257 $(HOST_CONFIGARGS) $${srcdiroption} \
33258 @stage2_werror_flag@
33260 maybe-all-stage4-opcodes: all-stage4-opcodes
33261 all-stage4-opcodes: configure-stage4-opcodes
33262 @$(MAKE) stage4-start
33263 @r=`${PWD_COMMAND}`; export r; \
33264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33265 $(STAGE_HOST_EXPORTS) \
33266 cd opcodes && \
33267 $(MAKE) $(FLAGS_TO_PASS) \
33268 $(POSTSTAGE1_FLAGS_TO_PASS) \
33271 maybe-clean-stage4-opcodes: clean-stage4-opcodes
33272 clean-stage4-opcodes:
33273 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
33274 || exit 0 ; \
33275 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
33276 cd opcodes && \
33277 $(MAKE) $(FLAGS_TO_PASS) \
33278 $(POSTSTAGE1_FLAGS_TO_PASS) \
33279 clean
33280 @endif opcodes-bootstrap
33283 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
33284 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
33285 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
33287 maybe-configure-stage4-binutils:
33288 maybe-all-stage4-binutils:
33289 maybe-clean-stage4-binutils:
33291 @if binutils-bootstrap
33292 maybe-configure-stage4-binutils: configure-stage4-binutils
33293 configure-stage4-binutils:
33294 @$(MAKE) stage4-start
33295 @[ -f binutils/Makefile ] && exit 0 || : ; \
33296 r=`${PWD_COMMAND}`; export r; \
33297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33298 $(STAGE_HOST_EXPORTS) \
33299 echo Configuring stage 4 in binutils ; \
33300 cd binutils || exit 1; \
33301 case $(srcdir) in \
33302 \.) \
33303 srcdiroption="--srcdir=."; \
33304 libsrcdir=".";; \
33305 /* | [A-Za-z]:[\\/]*) \
33306 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33307 libsrcdir="$$s/binutils";; \
33308 *) \
33309 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33310 libsrcdir="$$s/binutils";; \
33311 esac; \
33312 $(SHELL) $${libsrcdir}/configure \
33313 $(HOST_CONFIGARGS) $${srcdiroption} \
33314 @stage2_werror_flag@
33316 maybe-all-stage4-binutils: all-stage4-binutils
33317 all-stage4-binutils: configure-stage4-binutils
33318 @$(MAKE) stage4-start
33319 @r=`${PWD_COMMAND}`; export r; \
33320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33321 $(STAGE_HOST_EXPORTS) \
33322 cd binutils && \
33323 $(MAKE) $(FLAGS_TO_PASS) \
33324 $(POSTSTAGE1_FLAGS_TO_PASS) \
33327 maybe-clean-stage4-binutils: clean-stage4-binutils
33328 clean-stage4-binutils:
33329 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33330 || exit 0 ; \
33331 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33332 cd binutils && \
33333 $(MAKE) $(FLAGS_TO_PASS) \
33334 $(POSTSTAGE1_FLAGS_TO_PASS) \
33335 clean
33336 @endif binutils-bootstrap
33339 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33340 .PHONY: all-stage4-gas maybe-all-stage4-gas
33341 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33343 maybe-configure-stage4-gas:
33344 maybe-all-stage4-gas:
33345 maybe-clean-stage4-gas:
33347 @if gas-bootstrap
33348 maybe-configure-stage4-gas: configure-stage4-gas
33349 configure-stage4-gas:
33350 @$(MAKE) stage4-start
33351 @[ -f gas/Makefile ] && exit 0 || : ; \
33352 r=`${PWD_COMMAND}`; export r; \
33353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33354 $(STAGE_HOST_EXPORTS) \
33355 echo Configuring stage 4 in gas ; \
33356 cd gas || exit 1; \
33357 case $(srcdir) in \
33358 \.) \
33359 srcdiroption="--srcdir=."; \
33360 libsrcdir=".";; \
33361 /* | [A-Za-z]:[\\/]*) \
33362 srcdiroption="--srcdir=$(srcdir)/gas"; \
33363 libsrcdir="$$s/gas";; \
33364 *) \
33365 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33366 libsrcdir="$$s/gas";; \
33367 esac; \
33368 $(SHELL) $${libsrcdir}/configure \
33369 $(HOST_CONFIGARGS) $${srcdiroption} \
33370 @stage2_werror_flag@
33372 maybe-all-stage4-gas: all-stage4-gas
33373 all-stage4-gas: configure-stage4-gas
33374 @$(MAKE) stage4-start
33375 @r=`${PWD_COMMAND}`; export r; \
33376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33377 $(STAGE_HOST_EXPORTS) \
33378 cd gas && \
33379 $(MAKE) $(FLAGS_TO_PASS) \
33380 $(POSTSTAGE1_FLAGS_TO_PASS) \
33383 maybe-clean-stage4-gas: clean-stage4-gas
33384 clean-stage4-gas:
33385 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33386 || exit 0 ; \
33387 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33388 cd gas && \
33389 $(MAKE) $(FLAGS_TO_PASS) \
33390 $(POSTSTAGE1_FLAGS_TO_PASS) \
33391 clean
33392 @endif gas-bootstrap
33395 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33396 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33397 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33399 maybe-configure-stage4-gcc:
33400 maybe-all-stage4-gcc:
33401 maybe-clean-stage4-gcc:
33403 @if gcc-bootstrap
33404 maybe-configure-stage4-gcc: configure-stage4-gcc
33405 configure-stage4-gcc:
33406 @$(MAKE) stage4-start
33407 @[ -f gcc/Makefile ] && exit 0 || : ; \
33408 r=`${PWD_COMMAND}`; export r; \
33409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33410 $(STAGE_HOST_EXPORTS) \
33411 echo Configuring stage 4 in gcc ; \
33412 cd gcc || exit 1; \
33413 case $(srcdir) in \
33414 \.) \
33415 srcdiroption="--srcdir=."; \
33416 libsrcdir=".";; \
33417 /* | [A-Za-z]:[\\/]*) \
33418 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33419 libsrcdir="$$s/gcc";; \
33420 *) \
33421 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33422 libsrcdir="$$s/gcc";; \
33423 esac; \
33424 $(SHELL) $${libsrcdir}/configure \
33425 $(HOST_CONFIGARGS) $${srcdiroption} \
33426 @stage2_werror_flag@
33428 maybe-all-stage4-gcc: all-stage4-gcc
33429 all-stage4-gcc: configure-stage4-gcc
33430 @$(MAKE) stage4-start
33431 @r=`${PWD_COMMAND}`; export r; \
33432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33433 $(STAGE_HOST_EXPORTS) \
33434 cd gcc && \
33435 $(MAKE) $(FLAGS_TO_PASS) \
33436 $(POSTSTAGE1_FLAGS_TO_PASS) \
33437 $(EXTRA_GCC_FLAGS)
33439 maybe-clean-stage4-gcc: clean-stage4-gcc
33440 clean-stage4-gcc:
33441 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33442 || exit 0 ; \
33443 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33444 cd gcc && \
33445 $(MAKE) $(FLAGS_TO_PASS) \
33446 $(POSTSTAGE1_FLAGS_TO_PASS) \
33447 $(EXTRA_GCC_FLAGS) clean
33448 @endif gcc-bootstrap
33451 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33452 .PHONY: all-stage4-intl maybe-all-stage4-intl
33453 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33455 maybe-configure-stage4-intl:
33456 maybe-all-stage4-intl:
33457 maybe-clean-stage4-intl:
33459 @if intl-bootstrap
33460 maybe-configure-stage4-intl: configure-stage4-intl
33461 configure-stage4-intl:
33462 @$(MAKE) stage4-start
33463 @[ -f intl/Makefile ] && exit 0 || : ; \
33464 r=`${PWD_COMMAND}`; export r; \
33465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33466 $(STAGE_HOST_EXPORTS) \
33467 echo Configuring stage 4 in intl ; \
33468 cd intl || exit 1; \
33469 case $(srcdir) in \
33470 \.) \
33471 srcdiroption="--srcdir=."; \
33472 libsrcdir=".";; \
33473 /* | [A-Za-z]:[\\/]*) \
33474 srcdiroption="--srcdir=$(srcdir)/intl"; \
33475 libsrcdir="$$s/intl";; \
33476 *) \
33477 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33478 libsrcdir="$$s/intl";; \
33479 esac; \
33480 $(SHELL) $${libsrcdir}/configure \
33481 $(HOST_CONFIGARGS) $${srcdiroption} \
33482 @stage2_werror_flag@
33484 maybe-all-stage4-intl: all-stage4-intl
33485 all-stage4-intl: configure-stage4-intl
33486 @$(MAKE) stage4-start
33487 @r=`${PWD_COMMAND}`; export r; \
33488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33489 $(STAGE_HOST_EXPORTS) \
33490 cd intl && \
33491 $(MAKE) $(FLAGS_TO_PASS) \
33492 $(POSTSTAGE1_FLAGS_TO_PASS) \
33495 maybe-clean-stage4-intl: clean-stage4-intl
33496 clean-stage4-intl:
33497 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33498 || exit 0 ; \
33499 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33500 cd intl && \
33501 $(MAKE) $(FLAGS_TO_PASS) \
33502 $(POSTSTAGE1_FLAGS_TO_PASS) \
33503 clean
33504 @endif intl-bootstrap
33507 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33508 .PHONY: all-stage4-ld maybe-all-stage4-ld
33509 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33511 maybe-configure-stage4-ld:
33512 maybe-all-stage4-ld:
33513 maybe-clean-stage4-ld:
33515 @if ld-bootstrap
33516 maybe-configure-stage4-ld: configure-stage4-ld
33517 configure-stage4-ld:
33518 @$(MAKE) stage4-start
33519 @[ -f ld/Makefile ] && exit 0 || : ; \
33520 r=`${PWD_COMMAND}`; export r; \
33521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33522 $(STAGE_HOST_EXPORTS) \
33523 echo Configuring stage 4 in ld ; \
33524 cd ld || exit 1; \
33525 case $(srcdir) in \
33526 \.) \
33527 srcdiroption="--srcdir=."; \
33528 libsrcdir=".";; \
33529 /* | [A-Za-z]:[\\/]*) \
33530 srcdiroption="--srcdir=$(srcdir)/ld"; \
33531 libsrcdir="$$s/ld";; \
33532 *) \
33533 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33534 libsrcdir="$$s/ld";; \
33535 esac; \
33536 $(SHELL) $${libsrcdir}/configure \
33537 $(HOST_CONFIGARGS) $${srcdiroption} \
33538 @stage2_werror_flag@
33540 maybe-all-stage4-ld: all-stage4-ld
33541 all-stage4-ld: configure-stage4-ld
33542 @$(MAKE) stage4-start
33543 @r=`${PWD_COMMAND}`; export r; \
33544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33545 $(STAGE_HOST_EXPORTS) \
33546 cd ld && \
33547 $(MAKE) $(FLAGS_TO_PASS) \
33548 $(POSTSTAGE1_FLAGS_TO_PASS) \
33551 maybe-clean-stage4-ld: clean-stage4-ld
33552 clean-stage4-ld:
33553 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33554 || exit 0 ; \
33555 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33556 cd ld && \
33557 $(MAKE) $(FLAGS_TO_PASS) \
33558 $(POSTSTAGE1_FLAGS_TO_PASS) \
33559 clean
33560 @endif ld-bootstrap
33563 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33564 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33565 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33567 maybe-configure-stage4-libcpp:
33568 maybe-all-stage4-libcpp:
33569 maybe-clean-stage4-libcpp:
33571 @if libcpp-bootstrap
33572 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33573 configure-stage4-libcpp:
33574 @$(MAKE) stage4-start
33575 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33576 r=`${PWD_COMMAND}`; export r; \
33577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33578 $(STAGE_HOST_EXPORTS) \
33579 echo Configuring stage 4 in libcpp ; \
33580 cd libcpp || exit 1; \
33581 case $(srcdir) in \
33582 \.) \
33583 srcdiroption="--srcdir=."; \
33584 libsrcdir=".";; \
33585 /* | [A-Za-z]:[\\/]*) \
33586 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33587 libsrcdir="$$s/libcpp";; \
33588 *) \
33589 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33590 libsrcdir="$$s/libcpp";; \
33591 esac; \
33592 $(SHELL) $${libsrcdir}/configure \
33593 $(HOST_CONFIGARGS) $${srcdiroption} \
33594 @stage2_werror_flag@
33596 maybe-all-stage4-libcpp: all-stage4-libcpp
33597 all-stage4-libcpp: configure-stage4-libcpp
33598 @$(MAKE) stage4-start
33599 @r=`${PWD_COMMAND}`; export r; \
33600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33601 $(STAGE_HOST_EXPORTS) \
33602 cd libcpp && \
33603 $(MAKE) $(FLAGS_TO_PASS) \
33604 $(POSTSTAGE1_FLAGS_TO_PASS) \
33607 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33608 clean-stage4-libcpp:
33609 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33610 || exit 0 ; \
33611 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33612 cd libcpp && \
33613 $(MAKE) $(FLAGS_TO_PASS) \
33614 $(POSTSTAGE1_FLAGS_TO_PASS) \
33615 clean
33616 @endif libcpp-bootstrap
33619 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33620 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33621 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33623 maybe-configure-stage4-libiberty:
33624 maybe-all-stage4-libiberty:
33625 maybe-clean-stage4-libiberty:
33627 @if libiberty-bootstrap
33628 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33629 configure-stage4-libiberty:
33630 @$(MAKE) stage4-start
33631 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33632 r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 $(STAGE_HOST_EXPORTS) \
33635 echo Configuring stage 4 in libiberty ; \
33636 cd libiberty || exit 1; \
33637 case $(srcdir) in \
33638 \.) \
33639 srcdiroption="--srcdir=."; \
33640 libsrcdir=".";; \
33641 /* | [A-Za-z]:[\\/]*) \
33642 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33643 libsrcdir="$$s/libiberty";; \
33644 *) \
33645 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33646 libsrcdir="$$s/libiberty";; \
33647 esac; \
33648 $(SHELL) $${libsrcdir}/configure \
33649 $(HOST_CONFIGARGS) $${srcdiroption} \
33650 @stage2_werror_flag@
33652 maybe-all-stage4-libiberty: all-stage4-libiberty
33653 all-stage4-libiberty: configure-stage4-libiberty
33654 @$(MAKE) stage4-start
33655 @r=`${PWD_COMMAND}`; export r; \
33656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33657 $(STAGE_HOST_EXPORTS) \
33658 cd libiberty && \
33659 $(MAKE) $(FLAGS_TO_PASS) \
33660 $(POSTSTAGE1_FLAGS_TO_PASS) \
33663 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33664 clean-stage4-libiberty:
33665 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33666 || exit 0 ; \
33667 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33668 cd libiberty && \
33669 $(MAKE) $(FLAGS_TO_PASS) \
33670 $(POSTSTAGE1_FLAGS_TO_PASS) \
33671 clean
33672 @endif libiberty-bootstrap
33675 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33676 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33677 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33679 maybe-configure-stage4-zlib:
33680 maybe-all-stage4-zlib:
33681 maybe-clean-stage4-zlib:
33683 @if zlib-bootstrap
33684 maybe-configure-stage4-zlib: configure-stage4-zlib
33685 configure-stage4-zlib:
33686 @$(MAKE) stage4-start
33687 @[ -f zlib/Makefile ] && exit 0 || : ; \
33688 r=`${PWD_COMMAND}`; export r; \
33689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33690 $(STAGE_HOST_EXPORTS) \
33691 echo Configuring stage 4 in zlib ; \
33692 cd zlib || exit 1; \
33693 case $(srcdir) in \
33694 \.) \
33695 srcdiroption="--srcdir=."; \
33696 libsrcdir=".";; \
33697 /* | [A-Za-z]:[\\/]*) \
33698 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33699 libsrcdir="$$s/zlib";; \
33700 *) \
33701 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33702 libsrcdir="$$s/zlib";; \
33703 esac; \
33704 $(SHELL) $${libsrcdir}/configure \
33705 $(HOST_CONFIGARGS) $${srcdiroption} \
33706 @stage2_werror_flag@
33708 maybe-all-stage4-zlib: all-stage4-zlib
33709 all-stage4-zlib: configure-stage4-zlib
33710 @$(MAKE) stage4-start
33711 @r=`${PWD_COMMAND}`; export r; \
33712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33713 $(STAGE_HOST_EXPORTS) \
33714 cd zlib && \
33715 $(MAKE) $(FLAGS_TO_PASS) \
33716 $(POSTSTAGE1_FLAGS_TO_PASS) \
33719 maybe-clean-stage4-zlib: clean-stage4-zlib
33720 clean-stage4-zlib:
33721 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33722 || exit 0 ; \
33723 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33724 cd zlib && \
33725 $(MAKE) $(FLAGS_TO_PASS) \
33726 $(POSTSTAGE1_FLAGS_TO_PASS) \
33727 clean
33728 @endif zlib-bootstrap
33732 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33733 # only possibility, but now it conflicts with no-bootstrap rules
33734 @if gcc-bootstrap
33736 compare3:
33737 @if test -f stage3-lean; then \
33738 echo Cannot compare object files as stage 3 was deleted. ; \
33739 exit 0 ; \
33740 fi; \
33741 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33742 @r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 rm -f .bad_compare ; \
33745 cd stage4-gcc; \
33746 files=`find . -name "*$(objext)" -print` ; \
33747 cd .. ; \
33748 for file in $${files} ; do \
33749 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33750 @do_compare@ > /dev/null 2>&1; \
33751 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33752 done ; \
33753 if [ -f .bad_compare ]; then \
33754 echo "Bootstrap comparison failure!"; \
33755 cat .bad_compare; \
33756 exit 1; \
33757 else \
33758 true; \
33759 fi ; \
33760 $(STAMP) compare3
33761 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33765 .PHONY: bootstrap4
33766 bootstrap4: stage4-bubble compare3 all
33769 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33770 distclean-stage3:: distclean-stage4
33771 .PHONY: distclean-stage4
33772 distclean-stage4::
33773 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33774 rm -rf stage4-* compare3
33777 @endif gcc-bootstrap
33780 .PHONY: stageprofile-start stageprofile-end
33782 stageprofile-start::
33783 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33784 echo stageprofile > stage_current ; \
33785 echo stageprofile > stage_last
33786 @if bfd
33787 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33788 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33789 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33790 @endif bfd
33791 @if opcodes
33792 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33793 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33794 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33795 @endif opcodes
33796 @if binutils
33797 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33798 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33799 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33800 @endif binutils
33801 @if gas
33802 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33803 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33804 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33805 @endif gas
33806 @if gcc
33807 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33808 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33809 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33810 @endif gcc
33811 @if intl
33812 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33813 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33814 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33815 @endif intl
33816 @if ld
33817 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33818 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33819 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33820 @endif ld
33821 @if libcpp
33822 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33823 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33824 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33825 @endif libcpp
33826 @if libiberty
33827 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33828 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33829 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33830 @endif libiberty
33831 @if zlib
33832 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33833 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33834 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33835 @endif zlib
33837 stageprofile-end::
33838 @rm -f stage_current
33839 @if bfd
33840 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33841 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33842 @endif bfd
33843 @if opcodes
33844 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33845 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33846 @endif opcodes
33847 @if binutils
33848 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33849 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33850 @endif binutils
33851 @if gas
33852 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33853 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33854 @endif gas
33855 @if gcc
33856 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33857 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33858 @endif gcc
33859 @if intl
33860 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33861 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33862 @endif intl
33863 @if ld
33864 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33865 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33866 @endif ld
33867 @if libcpp
33868 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33869 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33870 @endif libcpp
33871 @if libiberty
33872 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33873 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33874 @endif libiberty
33875 @if zlib
33876 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33877 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33878 @endif zlib
33880 # Bubble a bugfix through all the stages up to stage profile. They
33881 # are remade, but not reconfigured. The next stage (if any) will not
33882 # be reconfigured as well.
33883 .PHONY: stageprofile-bubble
33884 stageprofile-bubble:: stage1-bubble
33885 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33886 echo Skipping rebuild of stageprofile ; \
33887 else \
33888 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33891 .PHONY: all-stageprofile clean-stageprofile
33892 all-stageprofile: \
33893 maybe-all-stageprofile-bfd \
33894 maybe-all-stageprofile-opcodes \
33895 maybe-all-stageprofile-binutils \
33896 maybe-all-stageprofile-gas \
33897 maybe-all-stageprofile-gcc \
33898 maybe-all-stageprofile-intl \
33899 maybe-all-stageprofile-ld \
33900 maybe-all-stageprofile-libcpp \
33901 maybe-all-stageprofile-libiberty \
33902 maybe-all-stageprofile-zlib
33904 do-clean: clean-stageprofile
33905 clean-stageprofile: \
33906 maybe-clean-stageprofile-bfd \
33907 maybe-clean-stageprofile-opcodes \
33908 maybe-clean-stageprofile-binutils \
33909 maybe-clean-stageprofile-gas \
33910 maybe-clean-stageprofile-gcc \
33911 maybe-clean-stageprofile-intl \
33912 maybe-clean-stageprofile-ld \
33913 maybe-clean-stageprofile-libcpp \
33914 maybe-clean-stageprofile-libiberty \
33915 maybe-clean-stageprofile-zlib
33918 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33919 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33920 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33922 maybe-configure-stageprofile-bfd:
33923 maybe-all-stageprofile-bfd:
33924 maybe-clean-stageprofile-bfd:
33926 @if bfd-bootstrap
33927 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33928 configure-stageprofile-bfd:
33929 @$(MAKE) stageprofile-start
33930 @[ -f bfd/Makefile ] && exit 0 || : ; \
33931 r=`${PWD_COMMAND}`; export r; \
33932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33933 $(STAGE_HOST_EXPORTS) \
33934 echo Configuring stage profile in bfd ; \
33935 cd bfd || exit 1; \
33936 case $(srcdir) in \
33937 \.) \
33938 srcdiroption="--srcdir=."; \
33939 libsrcdir=".";; \
33940 /* | [A-Za-z]:[\\/]*) \
33941 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33942 libsrcdir="$$s/bfd";; \
33943 *) \
33944 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33945 libsrcdir="$$s/bfd";; \
33946 esac; \
33947 $(SHELL) $${libsrcdir}/configure \
33948 $(HOST_CONFIGARGS) $${srcdiroption} \
33949 @stage2_werror_flag@
33951 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33952 all-stageprofile-bfd: configure-stageprofile-bfd
33953 @$(MAKE) stageprofile-start
33954 @r=`${PWD_COMMAND}`; export r; \
33955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33956 $(STAGE_HOST_EXPORTS) \
33957 cd bfd && \
33958 $(MAKE) $(FLAGS_TO_PASS) \
33959 $(POSTSTAGE1_FLAGS_TO_PASS) \
33960 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33962 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33963 clean-stageprofile-bfd:
33964 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33965 || exit 0 ; \
33966 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33967 cd bfd && \
33968 $(MAKE) $(FLAGS_TO_PASS) \
33969 $(POSTSTAGE1_FLAGS_TO_PASS) \
33970 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33971 @endif bfd-bootstrap
33974 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33975 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33976 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33978 maybe-configure-stageprofile-opcodes:
33979 maybe-all-stageprofile-opcodes:
33980 maybe-clean-stageprofile-opcodes:
33982 @if opcodes-bootstrap
33983 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33984 configure-stageprofile-opcodes:
33985 @$(MAKE) stageprofile-start
33986 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33987 r=`${PWD_COMMAND}`; export r; \
33988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33989 $(STAGE_HOST_EXPORTS) \
33990 echo Configuring stage profile in opcodes ; \
33991 cd opcodes || exit 1; \
33992 case $(srcdir) in \
33993 \.) \
33994 srcdiroption="--srcdir=."; \
33995 libsrcdir=".";; \
33996 /* | [A-Za-z]:[\\/]*) \
33997 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33998 libsrcdir="$$s/opcodes";; \
33999 *) \
34000 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34001 libsrcdir="$$s/opcodes";; \
34002 esac; \
34003 $(SHELL) $${libsrcdir}/configure \
34004 $(HOST_CONFIGARGS) $${srcdiroption} \
34005 @stage2_werror_flag@
34007 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
34008 all-stageprofile-opcodes: configure-stageprofile-opcodes
34009 @$(MAKE) stageprofile-start
34010 @r=`${PWD_COMMAND}`; export r; \
34011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34012 $(STAGE_HOST_EXPORTS) \
34013 cd opcodes && \
34014 $(MAKE) $(FLAGS_TO_PASS) \
34015 $(POSTSTAGE1_FLAGS_TO_PASS) \
34016 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34018 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
34019 clean-stageprofile-opcodes:
34020 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
34021 || exit 0 ; \
34022 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
34023 cd opcodes && \
34024 $(MAKE) $(FLAGS_TO_PASS) \
34025 $(POSTSTAGE1_FLAGS_TO_PASS) \
34026 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34027 @endif opcodes-bootstrap
34030 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
34031 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
34032 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
34034 maybe-configure-stageprofile-binutils:
34035 maybe-all-stageprofile-binutils:
34036 maybe-clean-stageprofile-binutils:
34038 @if binutils-bootstrap
34039 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
34040 configure-stageprofile-binutils:
34041 @$(MAKE) stageprofile-start
34042 @[ -f binutils/Makefile ] && exit 0 || : ; \
34043 r=`${PWD_COMMAND}`; export r; \
34044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34045 $(STAGE_HOST_EXPORTS) \
34046 echo Configuring stage profile in binutils ; \
34047 cd binutils || exit 1; \
34048 case $(srcdir) in \
34049 \.) \
34050 srcdiroption="--srcdir=."; \
34051 libsrcdir=".";; \
34052 /* | [A-Za-z]:[\\/]*) \
34053 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34054 libsrcdir="$$s/binutils";; \
34055 *) \
34056 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34057 libsrcdir="$$s/binutils";; \
34058 esac; \
34059 $(SHELL) $${libsrcdir}/configure \
34060 $(HOST_CONFIGARGS) $${srcdiroption} \
34061 @stage2_werror_flag@
34063 maybe-all-stageprofile-binutils: all-stageprofile-binutils
34064 all-stageprofile-binutils: configure-stageprofile-binutils
34065 @$(MAKE) stageprofile-start
34066 @r=`${PWD_COMMAND}`; export r; \
34067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34068 $(STAGE_HOST_EXPORTS) \
34069 cd binutils && \
34070 $(MAKE) $(FLAGS_TO_PASS) \
34071 $(POSTSTAGE1_FLAGS_TO_PASS) \
34072 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34074 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
34075 clean-stageprofile-binutils:
34076 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
34077 || exit 0 ; \
34078 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
34079 cd binutils && \
34080 $(MAKE) $(FLAGS_TO_PASS) \
34081 $(POSTSTAGE1_FLAGS_TO_PASS) \
34082 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34083 @endif binutils-bootstrap
34086 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
34087 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
34088 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
34090 maybe-configure-stageprofile-gas:
34091 maybe-all-stageprofile-gas:
34092 maybe-clean-stageprofile-gas:
34094 @if gas-bootstrap
34095 maybe-configure-stageprofile-gas: configure-stageprofile-gas
34096 configure-stageprofile-gas:
34097 @$(MAKE) stageprofile-start
34098 @[ -f gas/Makefile ] && exit 0 || : ; \
34099 r=`${PWD_COMMAND}`; export r; \
34100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34101 $(STAGE_HOST_EXPORTS) \
34102 echo Configuring stage profile in gas ; \
34103 cd gas || exit 1; \
34104 case $(srcdir) in \
34105 \.) \
34106 srcdiroption="--srcdir=."; \
34107 libsrcdir=".";; \
34108 /* | [A-Za-z]:[\\/]*) \
34109 srcdiroption="--srcdir=$(srcdir)/gas"; \
34110 libsrcdir="$$s/gas";; \
34111 *) \
34112 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34113 libsrcdir="$$s/gas";; \
34114 esac; \
34115 $(SHELL) $${libsrcdir}/configure \
34116 $(HOST_CONFIGARGS) $${srcdiroption} \
34117 @stage2_werror_flag@
34119 maybe-all-stageprofile-gas: all-stageprofile-gas
34120 all-stageprofile-gas: configure-stageprofile-gas
34121 @$(MAKE) stageprofile-start
34122 @r=`${PWD_COMMAND}`; export r; \
34123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34124 $(STAGE_HOST_EXPORTS) \
34125 cd gas && \
34126 $(MAKE) $(FLAGS_TO_PASS) \
34127 $(POSTSTAGE1_FLAGS_TO_PASS) \
34128 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34130 maybe-clean-stageprofile-gas: clean-stageprofile-gas
34131 clean-stageprofile-gas:
34132 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
34133 || exit 0 ; \
34134 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
34135 cd gas && \
34136 $(MAKE) $(FLAGS_TO_PASS) \
34137 $(POSTSTAGE1_FLAGS_TO_PASS) \
34138 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34139 @endif gas-bootstrap
34142 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
34143 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
34144 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
34146 maybe-configure-stageprofile-gcc:
34147 maybe-all-stageprofile-gcc:
34148 maybe-clean-stageprofile-gcc:
34150 @if gcc-bootstrap
34151 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
34152 configure-stageprofile-gcc:
34153 @$(MAKE) stageprofile-start
34154 @[ -f gcc/Makefile ] && exit 0 || : ; \
34155 r=`${PWD_COMMAND}`; export r; \
34156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34157 $(STAGE_HOST_EXPORTS) \
34158 echo Configuring stage profile in gcc ; \
34159 cd gcc || exit 1; \
34160 case $(srcdir) in \
34161 \.) \
34162 srcdiroption="--srcdir=."; \
34163 libsrcdir=".";; \
34164 /* | [A-Za-z]:[\\/]*) \
34165 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34166 libsrcdir="$$s/gcc";; \
34167 *) \
34168 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34169 libsrcdir="$$s/gcc";; \
34170 esac; \
34171 $(SHELL) $${libsrcdir}/configure \
34172 $(HOST_CONFIGARGS) $${srcdiroption} \
34173 @stage2_werror_flag@
34175 maybe-all-stageprofile-gcc: all-stageprofile-gcc
34176 all-stageprofile-gcc: configure-stageprofile-gcc
34177 @$(MAKE) stageprofile-start
34178 @r=`${PWD_COMMAND}`; export r; \
34179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34180 $(STAGE_HOST_EXPORTS) \
34181 cd gcc && \
34182 $(MAKE) $(FLAGS_TO_PASS) \
34183 $(POSTSTAGE1_FLAGS_TO_PASS) \
34184 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
34186 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
34187 clean-stageprofile-gcc:
34188 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
34189 || exit 0 ; \
34190 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
34191 cd gcc && \
34192 $(MAKE) $(FLAGS_TO_PASS) \
34193 $(POSTSTAGE1_FLAGS_TO_PASS) \
34194 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
34195 @endif gcc-bootstrap
34198 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
34199 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
34200 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
34202 maybe-configure-stageprofile-intl:
34203 maybe-all-stageprofile-intl:
34204 maybe-clean-stageprofile-intl:
34206 @if intl-bootstrap
34207 maybe-configure-stageprofile-intl: configure-stageprofile-intl
34208 configure-stageprofile-intl:
34209 @$(MAKE) stageprofile-start
34210 @[ -f intl/Makefile ] && exit 0 || : ; \
34211 r=`${PWD_COMMAND}`; export r; \
34212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34213 $(STAGE_HOST_EXPORTS) \
34214 echo Configuring stage profile in intl ; \
34215 cd intl || exit 1; \
34216 case $(srcdir) in \
34217 \.) \
34218 srcdiroption="--srcdir=."; \
34219 libsrcdir=".";; \
34220 /* | [A-Za-z]:[\\/]*) \
34221 srcdiroption="--srcdir=$(srcdir)/intl"; \
34222 libsrcdir="$$s/intl";; \
34223 *) \
34224 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34225 libsrcdir="$$s/intl";; \
34226 esac; \
34227 $(SHELL) $${libsrcdir}/configure \
34228 $(HOST_CONFIGARGS) $${srcdiroption} \
34229 @stage2_werror_flag@
34231 maybe-all-stageprofile-intl: all-stageprofile-intl
34232 all-stageprofile-intl: configure-stageprofile-intl
34233 @$(MAKE) stageprofile-start
34234 @r=`${PWD_COMMAND}`; export r; \
34235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34236 $(STAGE_HOST_EXPORTS) \
34237 cd intl && \
34238 $(MAKE) $(FLAGS_TO_PASS) \
34239 $(POSTSTAGE1_FLAGS_TO_PASS) \
34240 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34242 maybe-clean-stageprofile-intl: clean-stageprofile-intl
34243 clean-stageprofile-intl:
34244 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
34245 || exit 0 ; \
34246 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
34247 cd intl && \
34248 $(MAKE) $(FLAGS_TO_PASS) \
34249 $(POSTSTAGE1_FLAGS_TO_PASS) \
34250 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34251 @endif intl-bootstrap
34254 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
34255 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
34256 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
34258 maybe-configure-stageprofile-ld:
34259 maybe-all-stageprofile-ld:
34260 maybe-clean-stageprofile-ld:
34262 @if ld-bootstrap
34263 maybe-configure-stageprofile-ld: configure-stageprofile-ld
34264 configure-stageprofile-ld:
34265 @$(MAKE) stageprofile-start
34266 @[ -f ld/Makefile ] && exit 0 || : ; \
34267 r=`${PWD_COMMAND}`; export r; \
34268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34269 $(STAGE_HOST_EXPORTS) \
34270 echo Configuring stage profile in ld ; \
34271 cd ld || exit 1; \
34272 case $(srcdir) in \
34273 \.) \
34274 srcdiroption="--srcdir=."; \
34275 libsrcdir=".";; \
34276 /* | [A-Za-z]:[\\/]*) \
34277 srcdiroption="--srcdir=$(srcdir)/ld"; \
34278 libsrcdir="$$s/ld";; \
34279 *) \
34280 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34281 libsrcdir="$$s/ld";; \
34282 esac; \
34283 $(SHELL) $${libsrcdir}/configure \
34284 $(HOST_CONFIGARGS) $${srcdiroption} \
34285 @stage2_werror_flag@
34287 maybe-all-stageprofile-ld: all-stageprofile-ld
34288 all-stageprofile-ld: configure-stageprofile-ld
34289 @$(MAKE) stageprofile-start
34290 @r=`${PWD_COMMAND}`; export r; \
34291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34292 $(STAGE_HOST_EXPORTS) \
34293 cd ld && \
34294 $(MAKE) $(FLAGS_TO_PASS) \
34295 $(POSTSTAGE1_FLAGS_TO_PASS) \
34296 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34298 maybe-clean-stageprofile-ld: clean-stageprofile-ld
34299 clean-stageprofile-ld:
34300 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
34301 || exit 0 ; \
34302 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
34303 cd ld && \
34304 $(MAKE) $(FLAGS_TO_PASS) \
34305 $(POSTSTAGE1_FLAGS_TO_PASS) \
34306 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34307 @endif ld-bootstrap
34310 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
34311 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
34312 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
34314 maybe-configure-stageprofile-libcpp:
34315 maybe-all-stageprofile-libcpp:
34316 maybe-clean-stageprofile-libcpp:
34318 @if libcpp-bootstrap
34319 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
34320 configure-stageprofile-libcpp:
34321 @$(MAKE) stageprofile-start
34322 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34323 r=`${PWD_COMMAND}`; export r; \
34324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34325 $(STAGE_HOST_EXPORTS) \
34326 echo Configuring stage profile in libcpp ; \
34327 cd libcpp || exit 1; \
34328 case $(srcdir) in \
34329 \.) \
34330 srcdiroption="--srcdir=."; \
34331 libsrcdir=".";; \
34332 /* | [A-Za-z]:[\\/]*) \
34333 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34334 libsrcdir="$$s/libcpp";; \
34335 *) \
34336 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34337 libsrcdir="$$s/libcpp";; \
34338 esac; \
34339 $(SHELL) $${libsrcdir}/configure \
34340 $(HOST_CONFIGARGS) $${srcdiroption} \
34341 @stage2_werror_flag@
34343 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34344 all-stageprofile-libcpp: configure-stageprofile-libcpp
34345 @$(MAKE) stageprofile-start
34346 @r=`${PWD_COMMAND}`; export r; \
34347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34348 $(STAGE_HOST_EXPORTS) \
34349 cd libcpp && \
34350 $(MAKE) $(FLAGS_TO_PASS) \
34351 $(POSTSTAGE1_FLAGS_TO_PASS) \
34352 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34354 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34355 clean-stageprofile-libcpp:
34356 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34357 || exit 0 ; \
34358 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34359 cd libcpp && \
34360 $(MAKE) $(FLAGS_TO_PASS) \
34361 $(POSTSTAGE1_FLAGS_TO_PASS) \
34362 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34363 @endif libcpp-bootstrap
34366 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34367 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34368 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34370 maybe-configure-stageprofile-libiberty:
34371 maybe-all-stageprofile-libiberty:
34372 maybe-clean-stageprofile-libiberty:
34374 @if libiberty-bootstrap
34375 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34376 configure-stageprofile-libiberty:
34377 @$(MAKE) stageprofile-start
34378 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34379 r=`${PWD_COMMAND}`; export r; \
34380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34381 $(STAGE_HOST_EXPORTS) \
34382 echo Configuring stage profile in libiberty ; \
34383 cd libiberty || exit 1; \
34384 case $(srcdir) in \
34385 \.) \
34386 srcdiroption="--srcdir=."; \
34387 libsrcdir=".";; \
34388 /* | [A-Za-z]:[\\/]*) \
34389 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34390 libsrcdir="$$s/libiberty";; \
34391 *) \
34392 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34393 libsrcdir="$$s/libiberty";; \
34394 esac; \
34395 $(SHELL) $${libsrcdir}/configure \
34396 $(HOST_CONFIGARGS) $${srcdiroption} \
34397 @stage2_werror_flag@
34399 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34400 all-stageprofile-libiberty: configure-stageprofile-libiberty
34401 @$(MAKE) stageprofile-start
34402 @r=`${PWD_COMMAND}`; export r; \
34403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34404 $(STAGE_HOST_EXPORTS) \
34405 cd libiberty && \
34406 $(MAKE) $(FLAGS_TO_PASS) \
34407 $(POSTSTAGE1_FLAGS_TO_PASS) \
34408 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34410 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34411 clean-stageprofile-libiberty:
34412 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34413 || exit 0 ; \
34414 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34415 cd libiberty && \
34416 $(MAKE) $(FLAGS_TO_PASS) \
34417 $(POSTSTAGE1_FLAGS_TO_PASS) \
34418 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34419 @endif libiberty-bootstrap
34422 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34423 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34424 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34426 maybe-configure-stageprofile-zlib:
34427 maybe-all-stageprofile-zlib:
34428 maybe-clean-stageprofile-zlib:
34430 @if zlib-bootstrap
34431 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34432 configure-stageprofile-zlib:
34433 @$(MAKE) stageprofile-start
34434 @[ -f zlib/Makefile ] && exit 0 || : ; \
34435 r=`${PWD_COMMAND}`; export r; \
34436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34437 $(STAGE_HOST_EXPORTS) \
34438 echo Configuring stage profile in zlib ; \
34439 cd zlib || exit 1; \
34440 case $(srcdir) in \
34441 \.) \
34442 srcdiroption="--srcdir=."; \
34443 libsrcdir=".";; \
34444 /* | [A-Za-z]:[\\/]*) \
34445 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34446 libsrcdir="$$s/zlib";; \
34447 *) \
34448 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34449 libsrcdir="$$s/zlib";; \
34450 esac; \
34451 $(SHELL) $${libsrcdir}/configure \
34452 $(HOST_CONFIGARGS) $${srcdiroption} \
34453 @stage2_werror_flag@
34455 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34456 all-stageprofile-zlib: configure-stageprofile-zlib
34457 @$(MAKE) stageprofile-start
34458 @r=`${PWD_COMMAND}`; export r; \
34459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34460 $(STAGE_HOST_EXPORTS) \
34461 cd zlib && \
34462 $(MAKE) $(FLAGS_TO_PASS) \
34463 $(POSTSTAGE1_FLAGS_TO_PASS) \
34464 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34466 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34467 clean-stageprofile-zlib:
34468 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34469 || exit 0 ; \
34470 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34471 cd zlib && \
34472 $(MAKE) $(FLAGS_TO_PASS) \
34473 $(POSTSTAGE1_FLAGS_TO_PASS) \
34474 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34475 @endif zlib-bootstrap
34479 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34480 # only possibility, but now it conflicts with no-bootstrap rules
34481 @if gcc-bootstrap
34486 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34487 distclean-stage1:: distclean-stageprofile
34488 .PHONY: distclean-stageprofile
34489 distclean-stageprofile::
34490 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34491 rm -rf stageprofile-*
34494 @endif gcc-bootstrap
34497 .PHONY: stagefeedback-start stagefeedback-end
34499 stagefeedback-start::
34500 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34501 echo stagefeedback > stage_current ; \
34502 echo stagefeedback > stage_last
34503 @if bfd
34504 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34505 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34506 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34507 @endif bfd
34508 @if opcodes
34509 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34510 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34511 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34512 @endif opcodes
34513 @if binutils
34514 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34515 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34516 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34517 @endif binutils
34518 @if gas
34519 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34520 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34521 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34522 @endif gas
34523 @if gcc
34524 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34525 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34526 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34527 @endif gcc
34528 @if intl
34529 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34530 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34531 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34532 @endif intl
34533 @if ld
34534 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34535 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34536 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34537 @endif ld
34538 @if libcpp
34539 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34540 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34541 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34542 @endif libcpp
34543 @if libiberty
34544 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34545 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34546 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34547 @endif libiberty
34548 @if zlib
34549 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34550 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34551 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34552 @endif zlib
34554 stagefeedback-end::
34555 @rm -f stage_current
34556 @if bfd
34557 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34558 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34559 @endif bfd
34560 @if opcodes
34561 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34562 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34563 @endif opcodes
34564 @if binutils
34565 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34566 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34567 @endif binutils
34568 @if gas
34569 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34570 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34571 @endif gas
34572 @if gcc
34573 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34574 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34575 @endif gcc
34576 @if intl
34577 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34578 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34579 @endif intl
34580 @if ld
34581 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34582 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34583 @endif ld
34584 @if libcpp
34585 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34586 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34587 @endif libcpp
34588 @if libiberty
34589 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34590 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34591 @endif libiberty
34592 @if zlib
34593 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34594 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34595 @endif zlib
34597 # Bubble a bugfix through all the stages up to stage feedback. They
34598 # are remade, but not reconfigured. The next stage (if any) will not
34599 # be reconfigured as well.
34600 .PHONY: stagefeedback-bubble
34601 stagefeedback-bubble:: stage1-bubble
34602 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34603 echo Skipping rebuild of stagefeedback ; \
34604 else \
34605 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34608 .PHONY: all-stagefeedback clean-stagefeedback
34609 all-stagefeedback: \
34610 maybe-all-stagefeedback-bfd \
34611 maybe-all-stagefeedback-opcodes \
34612 maybe-all-stagefeedback-binutils \
34613 maybe-all-stagefeedback-gas \
34614 maybe-all-stagefeedback-gcc \
34615 maybe-all-stagefeedback-intl \
34616 maybe-all-stagefeedback-ld \
34617 maybe-all-stagefeedback-libcpp \
34618 maybe-all-stagefeedback-libiberty \
34619 maybe-all-stagefeedback-zlib
34621 do-clean: clean-stagefeedback
34622 clean-stagefeedback: \
34623 maybe-clean-stagefeedback-bfd \
34624 maybe-clean-stagefeedback-opcodes \
34625 maybe-clean-stagefeedback-binutils \
34626 maybe-clean-stagefeedback-gas \
34627 maybe-clean-stagefeedback-gcc \
34628 maybe-clean-stagefeedback-intl \
34629 maybe-clean-stagefeedback-ld \
34630 maybe-clean-stagefeedback-libcpp \
34631 maybe-clean-stagefeedback-libiberty \
34632 maybe-clean-stagefeedback-zlib
34635 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34636 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34637 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34639 maybe-configure-stagefeedback-bfd:
34640 maybe-all-stagefeedback-bfd:
34641 maybe-clean-stagefeedback-bfd:
34643 @if bfd-bootstrap
34644 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34645 configure-stagefeedback-bfd:
34646 @$(MAKE) stagefeedback-start
34647 @[ -f bfd/Makefile ] && exit 0 || : ; \
34648 r=`${PWD_COMMAND}`; export r; \
34649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34650 $(STAGE_HOST_EXPORTS) \
34651 echo Configuring stage feedback in bfd ; \
34652 cd bfd || exit 1; \
34653 case $(srcdir) in \
34654 \.) \
34655 srcdiroption="--srcdir=."; \
34656 libsrcdir=".";; \
34657 /* | [A-Za-z]:[\\/]*) \
34658 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34659 libsrcdir="$$s/bfd";; \
34660 *) \
34661 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34662 libsrcdir="$$s/bfd";; \
34663 esac; \
34664 $(SHELL) $${libsrcdir}/configure \
34665 $(HOST_CONFIGARGS) $${srcdiroption} \
34666 @stage2_werror_flag@
34668 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34669 all-stagefeedback-bfd: configure-stagefeedback-bfd
34670 @$(MAKE) stagefeedback-start
34671 @r=`${PWD_COMMAND}`; export r; \
34672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34673 $(STAGE_HOST_EXPORTS) \
34674 cd bfd && \
34675 $(MAKE) $(FLAGS_TO_PASS) \
34676 $(POSTSTAGE1_FLAGS_TO_PASS) \
34677 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34679 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34680 clean-stagefeedback-bfd:
34681 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34682 || exit 0 ; \
34683 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34684 cd bfd && \
34685 $(MAKE) $(FLAGS_TO_PASS) \
34686 $(POSTSTAGE1_FLAGS_TO_PASS) \
34687 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34688 @endif bfd-bootstrap
34691 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34692 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34693 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34695 maybe-configure-stagefeedback-opcodes:
34696 maybe-all-stagefeedback-opcodes:
34697 maybe-clean-stagefeedback-opcodes:
34699 @if opcodes-bootstrap
34700 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34701 configure-stagefeedback-opcodes:
34702 @$(MAKE) stagefeedback-start
34703 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34704 r=`${PWD_COMMAND}`; export r; \
34705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34706 $(STAGE_HOST_EXPORTS) \
34707 echo Configuring stage feedback in opcodes ; \
34708 cd opcodes || exit 1; \
34709 case $(srcdir) in \
34710 \.) \
34711 srcdiroption="--srcdir=."; \
34712 libsrcdir=".";; \
34713 /* | [A-Za-z]:[\\/]*) \
34714 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34715 libsrcdir="$$s/opcodes";; \
34716 *) \
34717 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34718 libsrcdir="$$s/opcodes";; \
34719 esac; \
34720 $(SHELL) $${libsrcdir}/configure \
34721 $(HOST_CONFIGARGS) $${srcdiroption} \
34722 @stage2_werror_flag@
34724 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34725 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34726 @$(MAKE) stagefeedback-start
34727 @r=`${PWD_COMMAND}`; export r; \
34728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34729 $(STAGE_HOST_EXPORTS) \
34730 cd opcodes && \
34731 $(MAKE) $(FLAGS_TO_PASS) \
34732 $(POSTSTAGE1_FLAGS_TO_PASS) \
34733 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34735 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34736 clean-stagefeedback-opcodes:
34737 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34738 || exit 0 ; \
34739 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34740 cd opcodes && \
34741 $(MAKE) $(FLAGS_TO_PASS) \
34742 $(POSTSTAGE1_FLAGS_TO_PASS) \
34743 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34744 @endif opcodes-bootstrap
34747 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34748 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34749 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34751 maybe-configure-stagefeedback-binutils:
34752 maybe-all-stagefeedback-binutils:
34753 maybe-clean-stagefeedback-binutils:
34755 @if binutils-bootstrap
34756 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34757 configure-stagefeedback-binutils:
34758 @$(MAKE) stagefeedback-start
34759 @[ -f binutils/Makefile ] && exit 0 || : ; \
34760 r=`${PWD_COMMAND}`; export r; \
34761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34762 $(STAGE_HOST_EXPORTS) \
34763 echo Configuring stage feedback in binutils ; \
34764 cd binutils || exit 1; \
34765 case $(srcdir) in \
34766 \.) \
34767 srcdiroption="--srcdir=."; \
34768 libsrcdir=".";; \
34769 /* | [A-Za-z]:[\\/]*) \
34770 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34771 libsrcdir="$$s/binutils";; \
34772 *) \
34773 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34774 libsrcdir="$$s/binutils";; \
34775 esac; \
34776 $(SHELL) $${libsrcdir}/configure \
34777 $(HOST_CONFIGARGS) $${srcdiroption} \
34778 @stage2_werror_flag@
34780 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34781 all-stagefeedback-binutils: configure-stagefeedback-binutils
34782 @$(MAKE) stagefeedback-start
34783 @r=`${PWD_COMMAND}`; export r; \
34784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34785 $(STAGE_HOST_EXPORTS) \
34786 cd binutils && \
34787 $(MAKE) $(FLAGS_TO_PASS) \
34788 $(POSTSTAGE1_FLAGS_TO_PASS) \
34789 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34791 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34792 clean-stagefeedback-binutils:
34793 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34794 || exit 0 ; \
34795 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34796 cd binutils && \
34797 $(MAKE) $(FLAGS_TO_PASS) \
34798 $(POSTSTAGE1_FLAGS_TO_PASS) \
34799 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34800 @endif binutils-bootstrap
34803 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34804 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34805 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34807 maybe-configure-stagefeedback-gas:
34808 maybe-all-stagefeedback-gas:
34809 maybe-clean-stagefeedback-gas:
34811 @if gas-bootstrap
34812 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34813 configure-stagefeedback-gas:
34814 @$(MAKE) stagefeedback-start
34815 @[ -f gas/Makefile ] && exit 0 || : ; \
34816 r=`${PWD_COMMAND}`; export r; \
34817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34818 $(STAGE_HOST_EXPORTS) \
34819 echo Configuring stage feedback in gas ; \
34820 cd gas || exit 1; \
34821 case $(srcdir) in \
34822 \.) \
34823 srcdiroption="--srcdir=."; \
34824 libsrcdir=".";; \
34825 /* | [A-Za-z]:[\\/]*) \
34826 srcdiroption="--srcdir=$(srcdir)/gas"; \
34827 libsrcdir="$$s/gas";; \
34828 *) \
34829 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34830 libsrcdir="$$s/gas";; \
34831 esac; \
34832 $(SHELL) $${libsrcdir}/configure \
34833 $(HOST_CONFIGARGS) $${srcdiroption} \
34834 @stage2_werror_flag@
34836 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34837 all-stagefeedback-gas: configure-stagefeedback-gas
34838 @$(MAKE) stagefeedback-start
34839 @r=`${PWD_COMMAND}`; export r; \
34840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34841 $(STAGE_HOST_EXPORTS) \
34842 cd gas && \
34843 $(MAKE) $(FLAGS_TO_PASS) \
34844 $(POSTSTAGE1_FLAGS_TO_PASS) \
34845 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34847 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34848 clean-stagefeedback-gas:
34849 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34850 || exit 0 ; \
34851 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34852 cd gas && \
34853 $(MAKE) $(FLAGS_TO_PASS) \
34854 $(POSTSTAGE1_FLAGS_TO_PASS) \
34855 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34856 @endif gas-bootstrap
34859 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34860 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34861 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34863 maybe-configure-stagefeedback-gcc:
34864 maybe-all-stagefeedback-gcc:
34865 maybe-clean-stagefeedback-gcc:
34867 @if gcc-bootstrap
34868 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34869 configure-stagefeedback-gcc:
34870 @$(MAKE) stagefeedback-start
34871 @[ -f gcc/Makefile ] && exit 0 || : ; \
34872 r=`${PWD_COMMAND}`; export r; \
34873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34874 $(STAGE_HOST_EXPORTS) \
34875 echo Configuring stage feedback in gcc ; \
34876 cd gcc || exit 1; \
34877 case $(srcdir) in \
34878 \.) \
34879 srcdiroption="--srcdir=."; \
34880 libsrcdir=".";; \
34881 /* | [A-Za-z]:[\\/]*) \
34882 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34883 libsrcdir="$$s/gcc";; \
34884 *) \
34885 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34886 libsrcdir="$$s/gcc";; \
34887 esac; \
34888 $(SHELL) $${libsrcdir}/configure \
34889 $(HOST_CONFIGARGS) $${srcdiroption} \
34890 @stage2_werror_flag@
34892 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34893 all-stagefeedback-gcc: configure-stagefeedback-gcc
34894 @$(MAKE) stagefeedback-start
34895 @r=`${PWD_COMMAND}`; export r; \
34896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34897 $(STAGE_HOST_EXPORTS) \
34898 cd gcc && \
34899 $(MAKE) $(FLAGS_TO_PASS) \
34900 $(POSTSTAGE1_FLAGS_TO_PASS) \
34901 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34903 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34904 clean-stagefeedback-gcc:
34905 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34906 || exit 0 ; \
34907 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34908 cd gcc && \
34909 $(MAKE) $(FLAGS_TO_PASS) \
34910 $(POSTSTAGE1_FLAGS_TO_PASS) \
34911 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34912 @endif gcc-bootstrap
34915 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34916 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34917 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34919 maybe-configure-stagefeedback-intl:
34920 maybe-all-stagefeedback-intl:
34921 maybe-clean-stagefeedback-intl:
34923 @if intl-bootstrap
34924 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34925 configure-stagefeedback-intl:
34926 @$(MAKE) stagefeedback-start
34927 @[ -f intl/Makefile ] && exit 0 || : ; \
34928 r=`${PWD_COMMAND}`; export r; \
34929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34930 $(STAGE_HOST_EXPORTS) \
34931 echo Configuring stage feedback in intl ; \
34932 cd intl || exit 1; \
34933 case $(srcdir) in \
34934 \.) \
34935 srcdiroption="--srcdir=."; \
34936 libsrcdir=".";; \
34937 /* | [A-Za-z]:[\\/]*) \
34938 srcdiroption="--srcdir=$(srcdir)/intl"; \
34939 libsrcdir="$$s/intl";; \
34940 *) \
34941 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34942 libsrcdir="$$s/intl";; \
34943 esac; \
34944 $(SHELL) $${libsrcdir}/configure \
34945 $(HOST_CONFIGARGS) $${srcdiroption} \
34946 @stage2_werror_flag@
34948 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34949 all-stagefeedback-intl: configure-stagefeedback-intl
34950 @$(MAKE) stagefeedback-start
34951 @r=`${PWD_COMMAND}`; export r; \
34952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34953 $(STAGE_HOST_EXPORTS) \
34954 cd intl && \
34955 $(MAKE) $(FLAGS_TO_PASS) \
34956 $(POSTSTAGE1_FLAGS_TO_PASS) \
34957 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34959 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34960 clean-stagefeedback-intl:
34961 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34962 || exit 0 ; \
34963 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34964 cd intl && \
34965 $(MAKE) $(FLAGS_TO_PASS) \
34966 $(POSTSTAGE1_FLAGS_TO_PASS) \
34967 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34968 @endif intl-bootstrap
34971 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34972 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34973 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34975 maybe-configure-stagefeedback-ld:
34976 maybe-all-stagefeedback-ld:
34977 maybe-clean-stagefeedback-ld:
34979 @if ld-bootstrap
34980 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34981 configure-stagefeedback-ld:
34982 @$(MAKE) stagefeedback-start
34983 @[ -f ld/Makefile ] && exit 0 || : ; \
34984 r=`${PWD_COMMAND}`; export r; \
34985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34986 $(STAGE_HOST_EXPORTS) \
34987 echo Configuring stage feedback in ld ; \
34988 cd ld || exit 1; \
34989 case $(srcdir) in \
34990 \.) \
34991 srcdiroption="--srcdir=."; \
34992 libsrcdir=".";; \
34993 /* | [A-Za-z]:[\\/]*) \
34994 srcdiroption="--srcdir=$(srcdir)/ld"; \
34995 libsrcdir="$$s/ld";; \
34996 *) \
34997 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34998 libsrcdir="$$s/ld";; \
34999 esac; \
35000 $(SHELL) $${libsrcdir}/configure \
35001 $(HOST_CONFIGARGS) $${srcdiroption} \
35002 @stage2_werror_flag@
35004 maybe-all-stagefeedback-ld: all-stagefeedback-ld
35005 all-stagefeedback-ld: configure-stagefeedback-ld
35006 @$(MAKE) stagefeedback-start
35007 @r=`${PWD_COMMAND}`; export r; \
35008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35009 $(STAGE_HOST_EXPORTS) \
35010 cd ld && \
35011 $(MAKE) $(FLAGS_TO_PASS) \
35012 $(POSTSTAGE1_FLAGS_TO_PASS) \
35013 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35015 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
35016 clean-stagefeedback-ld:
35017 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
35018 || exit 0 ; \
35019 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
35020 cd ld && \
35021 $(MAKE) $(FLAGS_TO_PASS) \
35022 $(POSTSTAGE1_FLAGS_TO_PASS) \
35023 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35024 @endif ld-bootstrap
35027 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
35028 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
35029 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
35031 maybe-configure-stagefeedback-libcpp:
35032 maybe-all-stagefeedback-libcpp:
35033 maybe-clean-stagefeedback-libcpp:
35035 @if libcpp-bootstrap
35036 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
35037 configure-stagefeedback-libcpp:
35038 @$(MAKE) stagefeedback-start
35039 @[ -f libcpp/Makefile ] && exit 0 || : ; \
35040 r=`${PWD_COMMAND}`; export r; \
35041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35042 $(STAGE_HOST_EXPORTS) \
35043 echo Configuring stage feedback in libcpp ; \
35044 cd libcpp || exit 1; \
35045 case $(srcdir) in \
35046 \.) \
35047 srcdiroption="--srcdir=."; \
35048 libsrcdir=".";; \
35049 /* | [A-Za-z]:[\\/]*) \
35050 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
35051 libsrcdir="$$s/libcpp";; \
35052 *) \
35053 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
35054 libsrcdir="$$s/libcpp";; \
35055 esac; \
35056 $(SHELL) $${libsrcdir}/configure \
35057 $(HOST_CONFIGARGS) $${srcdiroption} \
35058 @stage2_werror_flag@
35060 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
35061 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
35062 @$(MAKE) stagefeedback-start
35063 @r=`${PWD_COMMAND}`; export r; \
35064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35065 $(STAGE_HOST_EXPORTS) \
35066 cd libcpp && \
35067 $(MAKE) $(FLAGS_TO_PASS) \
35068 $(POSTSTAGE1_FLAGS_TO_PASS) \
35069 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35071 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
35072 clean-stagefeedback-libcpp:
35073 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
35074 || exit 0 ; \
35075 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
35076 cd libcpp && \
35077 $(MAKE) $(FLAGS_TO_PASS) \
35078 $(POSTSTAGE1_FLAGS_TO_PASS) \
35079 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35080 @endif libcpp-bootstrap
35083 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
35084 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
35085 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
35087 maybe-configure-stagefeedback-libiberty:
35088 maybe-all-stagefeedback-libiberty:
35089 maybe-clean-stagefeedback-libiberty:
35091 @if libiberty-bootstrap
35092 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
35093 configure-stagefeedback-libiberty:
35094 @$(MAKE) stagefeedback-start
35095 @[ -f libiberty/Makefile ] && exit 0 || : ; \
35096 r=`${PWD_COMMAND}`; export r; \
35097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35098 $(STAGE_HOST_EXPORTS) \
35099 echo Configuring stage feedback in libiberty ; \
35100 cd libiberty || exit 1; \
35101 case $(srcdir) in \
35102 \.) \
35103 srcdiroption="--srcdir=."; \
35104 libsrcdir=".";; \
35105 /* | [A-Za-z]:[\\/]*) \
35106 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
35107 libsrcdir="$$s/libiberty";; \
35108 *) \
35109 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
35110 libsrcdir="$$s/libiberty";; \
35111 esac; \
35112 $(SHELL) $${libsrcdir}/configure \
35113 $(HOST_CONFIGARGS) $${srcdiroption} \
35114 @stage2_werror_flag@
35116 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
35117 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
35118 @$(MAKE) stagefeedback-start
35119 @r=`${PWD_COMMAND}`; export r; \
35120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35121 $(STAGE_HOST_EXPORTS) \
35122 cd libiberty && \
35123 $(MAKE) $(FLAGS_TO_PASS) \
35124 $(POSTSTAGE1_FLAGS_TO_PASS) \
35125 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35127 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
35128 clean-stagefeedback-libiberty:
35129 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
35130 || exit 0 ; \
35131 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
35132 cd libiberty && \
35133 $(MAKE) $(FLAGS_TO_PASS) \
35134 $(POSTSTAGE1_FLAGS_TO_PASS) \
35135 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35136 @endif libiberty-bootstrap
35139 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
35140 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
35141 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
35143 maybe-configure-stagefeedback-zlib:
35144 maybe-all-stagefeedback-zlib:
35145 maybe-clean-stagefeedback-zlib:
35147 @if zlib-bootstrap
35148 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
35149 configure-stagefeedback-zlib:
35150 @$(MAKE) stagefeedback-start
35151 @[ -f zlib/Makefile ] && exit 0 || : ; \
35152 r=`${PWD_COMMAND}`; export r; \
35153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35154 $(STAGE_HOST_EXPORTS) \
35155 echo Configuring stage feedback in zlib ; \
35156 cd zlib || exit 1; \
35157 case $(srcdir) in \
35158 \.) \
35159 srcdiroption="--srcdir=."; \
35160 libsrcdir=".";; \
35161 /* | [A-Za-z]:[\\/]*) \
35162 srcdiroption="--srcdir=$(srcdir)/zlib"; \
35163 libsrcdir="$$s/zlib";; \
35164 *) \
35165 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
35166 libsrcdir="$$s/zlib";; \
35167 esac; \
35168 $(SHELL) $${libsrcdir}/configure \
35169 $(HOST_CONFIGARGS) $${srcdiroption} \
35170 @stage2_werror_flag@
35172 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
35173 all-stagefeedback-zlib: configure-stagefeedback-zlib
35174 @$(MAKE) stagefeedback-start
35175 @r=`${PWD_COMMAND}`; export r; \
35176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35177 $(STAGE_HOST_EXPORTS) \
35178 cd zlib && \
35179 $(MAKE) $(FLAGS_TO_PASS) \
35180 $(POSTSTAGE1_FLAGS_TO_PASS) \
35181 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
35183 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
35184 clean-stagefeedback-zlib:
35185 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
35186 || exit 0 ; \
35187 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
35188 cd zlib && \
35189 $(MAKE) $(FLAGS_TO_PASS) \
35190 $(POSTSTAGE1_FLAGS_TO_PASS) \
35191 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
35192 @endif zlib-bootstrap
35196 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35197 # only possibility, but now it conflicts with no-bootstrap rules
35198 @if gcc-bootstrap
35203 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35204 distclean-stage1:: distclean-stagefeedback
35205 .PHONY: distclean-stagefeedback
35206 distclean-stagefeedback::
35207 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35208 rm -rf stagefeedback-*
35211 @endif gcc-bootstrap
35215 stagefeedback-start::
35216 @r=`${PWD_COMMAND}`; export r; \
35217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35218 cd stageprofile-gcc && \
35219 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
35220 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
35222 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35223 # only possibility, but now it conflicts with no-bootstrap rules
35224 @if gcc-bootstrap
35225 profiledbootstrap:
35226 @r=`${PWD_COMMAND}`; export r; \
35227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35228 $(SET_LIB_PATH) \
35229 $(HOST_EXPORTS) \
35230 echo "Bootstrapping the compiler"; \
35231 $(MAKE) stageprofile-bubble distclean-stagefeedback
35232 @r=`${PWD_COMMAND}`; export r; \
35233 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35234 $(SET_LIB_PATH) \
35235 echo "Building runtime libraries and training compiler"; \
35236 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
35237 @r=`${PWD_COMMAND}`; export r; \
35238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35239 $(SET_LIB_PATH) \
35240 $(HOST_EXPORTS) \
35241 echo "Building feedback based compiler"; \
35242 $(MAKE) stagefeedback-bubble stagefeedback-end
35243 @endif gcc-bootstrap
35245 @if gcc-bootstrap
35246 NOTPARALLEL = .NOTPARALLEL
35247 $(NOTPARALLEL):
35248 do-distclean: distclean-stage1
35249 @endif gcc-bootstrap
35251 # --------------------------------------
35252 # Dependencies between different modules
35253 # --------------------------------------
35255 # Generic dependencies for target modules on host stuff, especially gcc
35257 configure-target-libstdc++-v3: maybe-all-gcc
35259 configure-target-libmudflap: maybe-all-gcc
35261 configure-target-newlib: maybe-all-gcc
35263 configure-target-libgfortran: maybe-all-gcc
35265 configure-target-libobjc: maybe-all-gcc
35267 configure-target-libtermcap: maybe-all-gcc
35269 configure-target-winsup: maybe-all-gcc
35271 configure-target-libgloss: maybe-all-gcc
35273 configure-target-libiberty: maybe-all-gcc
35275 configure-target-gperf: maybe-all-gcc
35277 configure-target-examples: maybe-all-gcc
35279 configure-target-libffi: maybe-all-gcc
35281 configure-target-libjava: maybe-all-gcc
35283 configure-target-zlib: maybe-all-gcc
35285 configure-target-boehm-gc: maybe-all-gcc
35287 configure-target-qthreads: maybe-all-gcc
35289 configure-target-rda: maybe-all-gcc
35291 configure-target-libada: maybe-all-gcc
35295 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
35297 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
35298 configure-target-gperf: maybe-all-target-libstdc++-v3
35300 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
35302 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
35304 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
35306 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
35307 configure-target-libjava: maybe-all-target-libstdc++-v3
35309 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
35311 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
35313 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
35315 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
35317 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
35319 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
35321 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
35323 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35326 # There are two types of dependencies here: 'hard' dependencies, where one
35327 # module simply won't build without the other; and 'soft' dependencies, where
35328 # if the depended-on module is missing, the depending module will do without
35329 # or find a substitute somewhere (perhaps installed). Soft dependencies
35330 # are made here to depend on a 'maybe-' target. If you're not sure,
35331 # it's safer to use a soft dependency.
35337 # With all the machinery above in place, it is pretty easy to generate
35338 # dependencies. Host dependencies are a bit more complex because we have
35339 # to check for bootstrap/prebootstrap dependencies. To resolve
35340 # prebootstrap dependencies, prebootstrap modules are gathered in
35341 # a hash table.
35342 all-build-bison: maybe-all-build-texinfo
35343 all-build-byacc: maybe-all-build-texinfo
35344 all-build-flex: maybe-all-build-texinfo
35345 all-build-flex: maybe-all-build-bison
35346 all-build-flex: maybe-all-build-byacc
35347 all-build-flex: maybe-all-build-m4
35348 all-build-libiberty: maybe-all-build-texinfo
35349 all-build-m4: maybe-all-build-texinfo
35350 all-build-fixincludes: maybe-all-build-libiberty
35351 configure-gcc: maybe-configure-intl
35353 configure-stage1-gcc: maybe-configure-stage1-intl
35354 configure-stage2-gcc: maybe-configure-stage2-intl
35355 configure-stage3-gcc: maybe-configure-stage3-intl
35356 configure-stage4-gcc: maybe-configure-stage4-intl
35357 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35358 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35359 configure-gcc: maybe-configure-binutils
35361 configure-stage1-gcc: maybe-configure-stage1-binutils
35362 configure-stage2-gcc: maybe-configure-stage2-binutils
35363 configure-stage3-gcc: maybe-configure-stage3-binutils
35364 configure-stage4-gcc: maybe-configure-stage4-binutils
35365 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35366 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35367 configure-gcc: maybe-configure-gas
35369 configure-stage1-gcc: maybe-configure-stage1-gas
35370 configure-stage2-gcc: maybe-configure-stage2-gas
35371 configure-stage3-gcc: maybe-configure-stage3-gas
35372 configure-stage4-gcc: maybe-configure-stage4-gas
35373 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35374 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35375 configure-gcc: maybe-configure-ld
35377 configure-stage1-gcc: maybe-configure-stage1-ld
35378 configure-stage2-gcc: maybe-configure-stage2-ld
35379 configure-stage3-gcc: maybe-configure-stage3-ld
35380 configure-stage4-gcc: maybe-configure-stage4-ld
35381 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35382 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35383 all-gcc: all-libiberty
35385 all-stage1-gcc: all-stage1-libiberty
35386 all-stage2-gcc: all-stage2-libiberty
35387 all-stage3-gcc: all-stage3-libiberty
35388 all-stage4-gcc: all-stage4-libiberty
35389 all-stageprofile-gcc: all-stageprofile-libiberty
35390 all-stagefeedback-gcc: all-stagefeedback-libiberty
35391 all-gcc: maybe-all-intl
35393 all-stage1-gcc: maybe-all-stage1-intl
35394 all-stage2-gcc: maybe-all-stage2-intl
35395 all-stage3-gcc: maybe-all-stage3-intl
35396 all-stage4-gcc: maybe-all-stage4-intl
35397 all-stageprofile-gcc: maybe-all-stageprofile-intl
35398 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35399 all-gcc: maybe-all-build-texinfo
35401 all-stage1-gcc: maybe-all-build-texinfo
35402 all-stage2-gcc: maybe-all-build-texinfo
35403 all-stage3-gcc: maybe-all-build-texinfo
35404 all-stage4-gcc: maybe-all-build-texinfo
35405 all-stageprofile-gcc: maybe-all-build-texinfo
35406 all-stagefeedback-gcc: maybe-all-build-texinfo
35407 all-prebootstrap: maybe-all-build-texinfo
35408 all-gcc: maybe-all-build-bison
35410 all-stage1-gcc: maybe-all-build-bison
35411 all-stage2-gcc: maybe-all-build-bison
35412 all-stage3-gcc: maybe-all-build-bison
35413 all-stage4-gcc: maybe-all-build-bison
35414 all-stageprofile-gcc: maybe-all-build-bison
35415 all-stagefeedback-gcc: maybe-all-build-bison
35416 all-prebootstrap: maybe-all-build-bison
35417 all-gcc: maybe-all-build-byacc
35419 all-stage1-gcc: maybe-all-build-byacc
35420 all-stage2-gcc: maybe-all-build-byacc
35421 all-stage3-gcc: maybe-all-build-byacc
35422 all-stage4-gcc: maybe-all-build-byacc
35423 all-stageprofile-gcc: maybe-all-build-byacc
35424 all-stagefeedback-gcc: maybe-all-build-byacc
35425 all-prebootstrap: maybe-all-build-byacc
35426 all-gcc: maybe-all-build-flex
35428 all-stage1-gcc: maybe-all-build-flex
35429 all-stage2-gcc: maybe-all-build-flex
35430 all-stage3-gcc: maybe-all-build-flex
35431 all-stage4-gcc: maybe-all-build-flex
35432 all-stageprofile-gcc: maybe-all-build-flex
35433 all-stagefeedback-gcc: maybe-all-build-flex
35434 all-prebootstrap: maybe-all-build-flex
35435 all-gcc: maybe-all-build-libiberty
35437 all-stage1-gcc: maybe-all-build-libiberty
35438 all-stage2-gcc: maybe-all-build-libiberty
35439 all-stage3-gcc: maybe-all-build-libiberty
35440 all-stage4-gcc: maybe-all-build-libiberty
35441 all-stageprofile-gcc: maybe-all-build-libiberty
35442 all-stagefeedback-gcc: maybe-all-build-libiberty
35443 all-prebootstrap: maybe-all-build-libiberty
35444 all-gcc: maybe-all-build-fixincludes
35446 all-stage1-gcc: maybe-all-build-fixincludes
35447 all-stage2-gcc: maybe-all-build-fixincludes
35448 all-stage3-gcc: maybe-all-build-fixincludes
35449 all-stage4-gcc: maybe-all-build-fixincludes
35450 all-stageprofile-gcc: maybe-all-build-fixincludes
35451 all-stagefeedback-gcc: maybe-all-build-fixincludes
35452 all-prebootstrap: maybe-all-build-fixincludes
35453 all-gcc: maybe-all-binutils
35455 all-stage1-gcc: maybe-all-stage1-binutils
35456 all-stage2-gcc: maybe-all-stage2-binutils
35457 all-stage3-gcc: maybe-all-stage3-binutils
35458 all-stage4-gcc: maybe-all-stage4-binutils
35459 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35460 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35461 all-gcc: maybe-all-gas
35463 all-stage1-gcc: maybe-all-stage1-gas
35464 all-stage2-gcc: maybe-all-stage2-gas
35465 all-stage3-gcc: maybe-all-stage3-gas
35466 all-stage4-gcc: maybe-all-stage4-gas
35467 all-stageprofile-gcc: maybe-all-stageprofile-gas
35468 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35469 all-gcc: maybe-all-ld
35471 all-stage1-gcc: maybe-all-stage1-ld
35472 all-stage2-gcc: maybe-all-stage2-ld
35473 all-stage3-gcc: maybe-all-stage3-ld
35474 all-stage4-gcc: maybe-all-stage4-ld
35475 all-stageprofile-gcc: maybe-all-stageprofile-ld
35476 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35477 all-gcc: maybe-all-zlib
35479 all-stage1-gcc: maybe-all-stage1-zlib
35480 all-stage2-gcc: maybe-all-stage2-zlib
35481 all-stage3-gcc: maybe-all-stage3-zlib
35482 all-stage4-gcc: maybe-all-stage4-zlib
35483 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35484 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35485 all-gcc: all-libcpp
35487 all-stage1-gcc: all-stage1-libcpp
35488 all-stage2-gcc: all-stage2-libcpp
35489 all-stage3-gcc: all-stage3-libcpp
35490 all-stage4-gcc: all-stage4-libcpp
35491 all-stageprofile-gcc: all-stageprofile-libcpp
35492 all-stagefeedback-gcc: all-stagefeedback-libcpp
35493 all-gcc: maybe-all-libiberty
35495 all-stage1-gcc: maybe-all-stage1-libiberty
35496 all-stage2-gcc: maybe-all-stage2-libiberty
35497 all-stage3-gcc: maybe-all-stage3-libiberty
35498 all-stage4-gcc: maybe-all-stage4-libiberty
35499 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35500 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35501 all-gcc: maybe-all-fixincludes
35502 install-gcc: maybe-install-fixincludes
35503 configure-libcpp: configure-libiberty
35505 configure-stage1-libcpp: configure-stage1-libiberty
35506 configure-stage2-libcpp: configure-stage2-libiberty
35507 configure-stage3-libcpp: configure-stage3-libiberty
35508 configure-stage4-libcpp: configure-stage4-libiberty
35509 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35510 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35511 configure-libcpp: maybe-configure-intl
35513 configure-stage1-libcpp: maybe-configure-stage1-intl
35514 configure-stage2-libcpp: maybe-configure-stage2-intl
35515 configure-stage3-libcpp: maybe-configure-stage3-intl
35516 configure-stage4-libcpp: maybe-configure-stage4-intl
35517 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35518 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35519 all-libcpp: all-libiberty
35521 all-stage1-libcpp: all-stage1-libiberty
35522 all-stage2-libcpp: all-stage2-libiberty
35523 all-stage3-libcpp: all-stage3-libiberty
35524 all-stage4-libcpp: all-stage4-libiberty
35525 all-stageprofile-libcpp: all-stageprofile-libiberty
35526 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35527 all-libcpp: maybe-all-intl
35529 all-stage1-libcpp: maybe-all-stage1-intl
35530 all-stage2-libcpp: maybe-all-stage2-intl
35531 all-stage3-libcpp: maybe-all-stage3-intl
35532 all-stage4-libcpp: maybe-all-stage4-intl
35533 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35534 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35535 all-fixincludes: maybe-all-libiberty
35536 configure-gdb: maybe-configure-itcl
35537 configure-gdb: maybe-configure-tcl
35538 configure-gdb: maybe-configure-tk
35539 configure-gdb: maybe-configure-sim
35540 all-gdb: maybe-all-libiberty
35541 all-gdb: maybe-all-opcodes
35542 all-gdb: maybe-all-bfd
35543 all-gdb: maybe-all-readline
35544 all-gdb: maybe-all-build-bison
35545 all-gdb: maybe-all-build-byacc
35546 all-gdb: maybe-all-sim
35547 install-gdb: maybe-install-tcl
35548 install-gdb: maybe-install-tk
35549 install-gdb: maybe-install-itcl
35550 install-gdb: maybe-install-libgui
35551 configure-libgui: maybe-configure-tcl
35552 configure-libgui: maybe-configure-tk
35553 all-libgui: maybe-all-tcl
35554 all-libgui: maybe-all-tk
35555 all-libgui: maybe-all-itcl
35556 configure-bfd: configure-libiberty
35558 configure-stage1-bfd: configure-stage1-libiberty
35559 configure-stage2-bfd: configure-stage2-libiberty
35560 configure-stage3-bfd: configure-stage3-libiberty
35561 configure-stage4-bfd: configure-stage4-libiberty
35562 configure-stageprofile-bfd: configure-stageprofile-libiberty
35563 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35564 all-bfd: maybe-all-libiberty
35566 all-stage1-bfd: maybe-all-stage1-libiberty
35567 all-stage2-bfd: maybe-all-stage2-libiberty
35568 all-stage3-bfd: maybe-all-stage3-libiberty
35569 all-stage4-bfd: maybe-all-stage4-libiberty
35570 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35571 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35572 all-bfd: maybe-all-intl
35574 all-stage1-bfd: maybe-all-stage1-intl
35575 all-stage2-bfd: maybe-all-stage2-intl
35576 all-stage3-bfd: maybe-all-stage3-intl
35577 all-stage4-bfd: maybe-all-stage4-intl
35578 all-stageprofile-bfd: maybe-all-stageprofile-intl
35579 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35580 all-binutils: maybe-all-libiberty
35582 all-stage1-binutils: maybe-all-stage1-libiberty
35583 all-stage2-binutils: maybe-all-stage2-libiberty
35584 all-stage3-binutils: maybe-all-stage3-libiberty
35585 all-stage4-binutils: maybe-all-stage4-libiberty
35586 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35587 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35588 all-binutils: maybe-all-opcodes
35590 all-stage1-binutils: maybe-all-stage1-opcodes
35591 all-stage2-binutils: maybe-all-stage2-opcodes
35592 all-stage3-binutils: maybe-all-stage3-opcodes
35593 all-stage4-binutils: maybe-all-stage4-opcodes
35594 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35595 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35596 all-binutils: maybe-all-bfd
35598 all-stage1-binutils: maybe-all-stage1-bfd
35599 all-stage2-binutils: maybe-all-stage2-bfd
35600 all-stage3-binutils: maybe-all-stage3-bfd
35601 all-stage4-binutils: maybe-all-stage4-bfd
35602 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35603 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35604 all-binutils: maybe-all-build-flex
35606 all-stage1-binutils: maybe-all-build-flex
35607 all-stage2-binutils: maybe-all-build-flex
35608 all-stage3-binutils: maybe-all-build-flex
35609 all-stage4-binutils: maybe-all-build-flex
35610 all-stageprofile-binutils: maybe-all-build-flex
35611 all-stagefeedback-binutils: maybe-all-build-flex
35612 all-prebootstrap: maybe-all-build-flex
35613 all-binutils: maybe-all-build-bison
35615 all-stage1-binutils: maybe-all-build-bison
35616 all-stage2-binutils: maybe-all-build-bison
35617 all-stage3-binutils: maybe-all-build-bison
35618 all-stage4-binutils: maybe-all-build-bison
35619 all-stageprofile-binutils: maybe-all-build-bison
35620 all-stagefeedback-binutils: maybe-all-build-bison
35621 all-prebootstrap: maybe-all-build-bison
35622 all-binutils: maybe-all-build-byacc
35624 all-stage1-binutils: maybe-all-build-byacc
35625 all-stage2-binutils: maybe-all-build-byacc
35626 all-stage3-binutils: maybe-all-build-byacc
35627 all-stage4-binutils: maybe-all-build-byacc
35628 all-stageprofile-binutils: maybe-all-build-byacc
35629 all-stagefeedback-binutils: maybe-all-build-byacc
35630 all-prebootstrap: maybe-all-build-byacc
35631 all-binutils: maybe-all-intl
35633 all-stage1-binutils: maybe-all-stage1-intl
35634 all-stage2-binutils: maybe-all-stage2-intl
35635 all-stage3-binutils: maybe-all-stage3-intl
35636 all-stage4-binutils: maybe-all-stage4-intl
35637 all-stageprofile-binutils: maybe-all-stageprofile-intl
35638 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35639 install-binutils: maybe-install-opcodes
35640 install-opcodes: maybe-install-bfd
35641 all-gas: maybe-all-libiberty
35643 all-stage1-gas: maybe-all-stage1-libiberty
35644 all-stage2-gas: maybe-all-stage2-libiberty
35645 all-stage3-gas: maybe-all-stage3-libiberty
35646 all-stage4-gas: maybe-all-stage4-libiberty
35647 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35648 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35649 all-gas: maybe-all-opcodes
35651 all-stage1-gas: maybe-all-stage1-opcodes
35652 all-stage2-gas: maybe-all-stage2-opcodes
35653 all-stage3-gas: maybe-all-stage3-opcodes
35654 all-stage4-gas: maybe-all-stage4-opcodes
35655 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35656 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35657 all-gas: maybe-all-bfd
35659 all-stage1-gas: maybe-all-stage1-bfd
35660 all-stage2-gas: maybe-all-stage2-bfd
35661 all-stage3-gas: maybe-all-stage3-bfd
35662 all-stage4-gas: maybe-all-stage4-bfd
35663 all-stageprofile-gas: maybe-all-stageprofile-bfd
35664 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35665 all-gas: maybe-all-intl
35667 all-stage1-gas: maybe-all-stage1-intl
35668 all-stage2-gas: maybe-all-stage2-intl
35669 all-stage3-gas: maybe-all-stage3-intl
35670 all-stage4-gas: maybe-all-stage4-intl
35671 all-stageprofile-gas: maybe-all-stageprofile-intl
35672 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35673 all-gprof: maybe-all-libiberty
35674 all-gprof: maybe-all-bfd
35675 all-gprof: maybe-all-opcodes
35676 all-gprof: maybe-all-intl
35677 all-ld: maybe-all-libiberty
35679 all-stage1-ld: maybe-all-stage1-libiberty
35680 all-stage2-ld: maybe-all-stage2-libiberty
35681 all-stage3-ld: maybe-all-stage3-libiberty
35682 all-stage4-ld: maybe-all-stage4-libiberty
35683 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35684 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35685 all-ld: maybe-all-bfd
35687 all-stage1-ld: maybe-all-stage1-bfd
35688 all-stage2-ld: maybe-all-stage2-bfd
35689 all-stage3-ld: maybe-all-stage3-bfd
35690 all-stage4-ld: maybe-all-stage4-bfd
35691 all-stageprofile-ld: maybe-all-stageprofile-bfd
35692 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35693 all-ld: maybe-all-opcodes
35695 all-stage1-ld: maybe-all-stage1-opcodes
35696 all-stage2-ld: maybe-all-stage2-opcodes
35697 all-stage3-ld: maybe-all-stage3-opcodes
35698 all-stage4-ld: maybe-all-stage4-opcodes
35699 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35700 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35701 all-ld: maybe-all-build-bison
35703 all-stage1-ld: maybe-all-build-bison
35704 all-stage2-ld: maybe-all-build-bison
35705 all-stage3-ld: maybe-all-build-bison
35706 all-stage4-ld: maybe-all-build-bison
35707 all-stageprofile-ld: maybe-all-build-bison
35708 all-stagefeedback-ld: maybe-all-build-bison
35709 all-prebootstrap: maybe-all-build-bison
35710 all-ld: maybe-all-build-byacc
35712 all-stage1-ld: maybe-all-build-byacc
35713 all-stage2-ld: maybe-all-build-byacc
35714 all-stage3-ld: maybe-all-build-byacc
35715 all-stage4-ld: maybe-all-build-byacc
35716 all-stageprofile-ld: maybe-all-build-byacc
35717 all-stagefeedback-ld: maybe-all-build-byacc
35718 all-prebootstrap: maybe-all-build-byacc
35719 all-ld: maybe-all-build-flex
35721 all-stage1-ld: maybe-all-build-flex
35722 all-stage2-ld: maybe-all-build-flex
35723 all-stage3-ld: maybe-all-build-flex
35724 all-stage4-ld: maybe-all-build-flex
35725 all-stageprofile-ld: maybe-all-build-flex
35726 all-stagefeedback-ld: maybe-all-build-flex
35727 all-prebootstrap: maybe-all-build-flex
35728 all-ld: maybe-all-intl
35730 all-stage1-ld: maybe-all-stage1-intl
35731 all-stage2-ld: maybe-all-stage2-intl
35732 all-stage3-ld: maybe-all-stage3-intl
35733 all-stage4-ld: maybe-all-stage4-intl
35734 all-stageprofile-ld: maybe-all-stageprofile-intl
35735 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35736 all-opcodes: maybe-all-bfd
35738 all-stage1-opcodes: maybe-all-stage1-bfd
35739 all-stage2-opcodes: maybe-all-stage2-bfd
35740 all-stage3-opcodes: maybe-all-stage3-bfd
35741 all-stage4-opcodes: maybe-all-stage4-bfd
35742 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35743 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35744 all-opcodes: maybe-all-libiberty
35746 all-stage1-opcodes: maybe-all-stage1-libiberty
35747 all-stage2-opcodes: maybe-all-stage2-libiberty
35748 all-stage3-opcodes: maybe-all-stage3-libiberty
35749 all-stage4-opcodes: maybe-all-stage4-libiberty
35750 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35751 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35752 all-dejagnu: maybe-all-tcl
35753 all-dejagnu: maybe-all-expect
35754 all-dejagnu: maybe-all-tk
35755 configure-expect: maybe-configure-tcl
35756 configure-expect: maybe-configure-tk
35757 all-expect: maybe-all-tcl
35758 all-expect: maybe-all-tk
35759 configure-itcl: maybe-configure-tcl
35760 configure-itcl: maybe-configure-tk
35761 all-itcl: maybe-all-tcl
35762 all-itcl: maybe-all-tk
35763 install-itcl: maybe-install-tcl
35764 configure-tk: maybe-configure-tcl
35765 all-tk: maybe-all-tcl
35766 all-sid: maybe-all-libiberty
35767 all-sid: maybe-all-bfd
35768 all-sid: maybe-all-opcodes
35769 all-sid: maybe-all-tcl
35770 all-sid: maybe-all-tk
35771 install-sid: maybe-install-tcl
35772 install-sid: maybe-install-tk
35773 all-sim: maybe-all-libiberty
35774 all-sim: maybe-all-bfd
35775 all-sim: maybe-all-opcodes
35776 all-sim: maybe-all-readline
35777 all-sim: maybe-configure-gdb
35778 all-fastjar: maybe-all-zlib
35779 all-fastjar: maybe-all-build-texinfo
35780 all-fastjar: maybe-all-libiberty
35781 all-autoconf: maybe-all-m4
35782 all-autoconf: maybe-all-build-texinfo
35783 all-automake: maybe-all-m4
35784 all-automake: maybe-all-build-texinfo
35785 all-automake: maybe-all-autoconf
35786 all-bison: maybe-all-intl
35787 all-bison: maybe-all-build-texinfo
35788 all-diff: maybe-all-intl
35789 all-diff: maybe-all-build-texinfo
35790 all-fileutils: maybe-all-intl
35791 all-fileutils: maybe-all-build-texinfo
35792 all-flex: maybe-all-build-bison
35793 all-flex: maybe-all-build-byacc
35794 all-flex: maybe-all-intl
35795 all-flex: maybe-all-m4
35796 all-flex: maybe-all-build-texinfo
35797 all-gzip: maybe-all-intl
35798 all-gzip: maybe-all-zlib
35799 all-gzip: maybe-all-build-texinfo
35800 all-hello: maybe-all-intl
35801 all-hello: maybe-all-build-texinfo
35802 all-m4: maybe-all-intl
35803 all-m4: maybe-all-build-texinfo
35804 all-make: maybe-all-intl
35805 all-make: maybe-all-build-texinfo
35806 all-patch: maybe-all-build-texinfo
35807 all-make: maybe-all-build-texinfo
35808 all-prms: maybe-all-libiberty
35809 all-recode: maybe-all-build-texinfo
35810 all-sed: maybe-all-build-texinfo
35811 all-send-pr: maybe-all-prms
35812 all-tar: maybe-all-build-texinfo
35813 all-uudecode: maybe-all-build-texinfo
35814 configure-target-boehm-gc: maybe-configure-target-qthreads
35815 configure-target-fastjar: maybe-configure-target-zlib
35816 all-target-fastjar: maybe-all-target-zlib
35817 all-target-fastjar: maybe-all-target-libiberty
35818 configure-target-libjava: maybe-configure-target-zlib
35819 configure-target-libjava: maybe-configure-target-boehm-gc
35820 configure-target-libjava: maybe-configure-target-qthreads
35821 configure-target-libjava: maybe-configure-target-libffi
35822 all-target-libjava: maybe-all-fastjar
35823 all-target-libjava: maybe-all-target-zlib
35824 all-target-libjava: maybe-all-target-boehm-gc
35825 all-target-libjava: maybe-all-target-qthreads
35826 all-target-libjava: maybe-all-target-libffi
35827 all-target-libobjc: maybe-all-target-libiberty
35828 all-target-libstdc++-v3: maybe-all-target-libiberty
35829 all-target-libgloss: maybe-configure-target-newlib
35830 all-target-winsup: maybe-all-target-libiberty
35831 all-target-winsup: maybe-all-target-libtermcap
35834 # Non-toplevel bootstrap rules must depend on several packages, to be built
35835 # before gcc. Another wart that will go away, hopefully soon.
35836 @if gcc-no-bootstrap
35838 all-prebootstrap: maybe-all-bfd
35839 all-prebootstrap: maybe-all-opcodes
35840 all-prebootstrap: maybe-all-binutils
35841 all-prebootstrap: maybe-all-gas
35842 all-prebootstrap: maybe-all-intl
35843 all-prebootstrap: maybe-all-ld
35844 all-prebootstrap: maybe-all-libcpp
35845 all-prebootstrap: maybe-all-libiberty
35846 all-prebootstrap: maybe-all-zlib
35847 @endif gcc-no-bootstrap
35849 GDB_TK = @GDB_TK@
35850 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35852 # Serialization dependencies. Host configures don't work well in parallel to
35853 # each other, due to contention over config.cache. Target configures and
35854 # build configures are similar.
35855 @serialization_dependencies@
35857 # --------------------------------
35858 # Regenerating top level configury
35859 # --------------------------------
35861 # Multilib.out tells target dirs what multilibs they should build.
35862 # There is really only one copy. We use the 'timestamp' method to
35863 # work around various timestamp bugs on some systems.
35864 # We use move-if-change so that it's only considered updated when it
35865 # actually changes, because it has to depend on a phony target.
35866 multilib.out: maybe-all-gcc
35867 @r=`${PWD_COMMAND}`; export r; \
35868 echo "Checking multilib configuration..."; \
35869 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35870 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35872 # Rebuilding Makefile.in, using autogen.
35873 AUTOGEN = autogen
35874 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35875 cd $(srcdir) && $(AUTOGEN) Makefile.def
35877 # Rebuilding Makefile.
35878 Makefile: $(srcdir)/Makefile.in config.status
35879 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35881 config.status: configure $(gcc_version_trigger)
35882 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35884 # Rebuilding configure.
35885 AUTOCONF = autoconf
35886 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35887 cd $(srcdir) && $(AUTOCONF)
35889 # ------------------------------
35890 # Special directives to GNU Make
35891 # ------------------------------
35893 # Don't pass command-line variables to submakes.
35894 .NOEXPORT:
35895 MAKEOVERRIDES=
35897 # end of Makefile.in