iresolve.c (gfc_resolve_random_number): Clean up conditional.
[official-gcc.git] / Makefile.in
blobb7b0831ae344c00f26de178573ed47d5249e7196
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@
69 # -------------------------------------------------
70 # Miscellaneous non-standard autoconf-set variables
71 # -------------------------------------------------
73 # The file containing GCC's version number.
74 gcc_version_trigger = @gcc_version_trigger@
75 gcc_version = @gcc_version@
77 # The gcc driver likes to know the arguments it was configured with.
78 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
80 gxx_include_dir = @gxx_include_dir@
81 libstdcxx_incdir = @libstdcxx_incdir@
83 tooldir = @tooldir@
84 build_tooldir = @build_tooldir@
86 # Directory in which the compiler finds executables, libraries, etc.
87 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
88 GDB_NLM_DEPS =
90 # This is the name of the environment variable used for the path to
91 # the libraries.
92 RPATH_ENVVAR = @RPATH_ENVVAR@
94 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
95 # was used.
96 SET_LIB_PATH = @SET_LIB_PATH@
98 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
99 # Some platforms don't like blank entries, so we remove duplicate,
100 # leading and trailing colons.
101 REALLY_SET_LIB_PATH = \
102 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
104 # This is the list of directories to be built for the build system.
105 BUILD_CONFIGDIRS = libiberty libbanshee
106 # Build programs are put under this directory.
107 BUILD_SUBDIR = @build_subdir@
108 # This is set by the configure script to the arguments to use when configuring
109 # directories built for the build system.
110 BUILD_CONFIGARGS = @build_configargs@
111 # This is the list of variables to export in the environment when
112 # configuring subdirectories for the build system. It must also be
113 # exported whenever recursing into a build directory in case that
114 # directory's Makefile re-runs configure.
115 BUILD_EXPORTS = \
116 AR="$(AR_FOR_BUILD)"; export AR; \
117 AS="$(AS_FOR_BUILD)"; export AS; \
118 CC="$(CC_FOR_BUILD)"; export CC; \
119 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
120 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
121 CXX="$(CXX_FOR_BUILD)"; export CXX; \
122 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
123 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
124 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
125 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
126 LD="$(LD_FOR_BUILD)"; export LD; \
127 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
128 NM="$(NM_FOR_BUILD)"; export NM; \
129 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
130 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
132 # This is the list of directories to built for the host system.
133 SUBDIRS = @configdirs@
134 # This is set by the configure script to the arguments to use when configuring
135 # directories built for the host system.
136 HOST_CONFIGARGS = @host_configargs@
137 # This is the list of variables to export in the environment when
138 # configuring subdirectories for the host system. It must also be
139 # exported whenever recursing into a host directory in case that
140 # directory's Makefile re-runs configure.
141 HOST_EXPORTS = \
142 CC="$(CC)"; export CC; \
143 CFLAGS="$(CFLAGS)"; export CFLAGS; \
144 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
145 CXX="$(CXX)"; export CXX; \
146 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
147 AR="$(AR)"; export AR; \
148 AS="$(AS)"; export AS; \
149 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
150 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
151 LD="$(LD)"; export LD; \
152 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
153 NM="$(NM)"; export NM; \
154 RANLIB="$(RANLIB)"; export RANLIB; \
155 WINDRES="$(WINDRES)"; export WINDRES; \
156 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
157 OBJDUMP="$(OBJDUMP)"; export OBJDUMP;
159 # Similar, for the gcc directory.
160 GCC_HOST_EXPORTS = \
161 $(HOST_EXPORTS) \
162 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
163 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
164 GMPINC="$(HOST_GMPINC)"; export GMPINC;
166 # Similar, for later GCC stages.
167 STAGE_HOST_EXPORTS = \
168 $(GCC_HOST_EXPORTS) \
169 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
170 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
172 # This is set by the configure script to the list of directories which
173 # should be built using the target tools.
174 TARGET_CONFIGDIRS = @target_configdirs@
175 # Target libraries are put under this directory:
176 TARGET_SUBDIR = @target_subdir@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the target.
179 TARGET_CONFIGARGS = @target_configargs@
180 # This is the list of variables to export in the environment when
181 # configuring subdirectories for the host system. It must also be
182 # exported whenever recursing into a host directory in case that
183 # directory's Makefile re-runs configure.
184 BASE_TARGET_EXPORTS = \
185 AR="$(AR_FOR_TARGET)"; export AR; \
186 AS="$(AS_FOR_TARGET)"; export AS; \
187 CC="$(CC_FOR_TARGET)"; export CC; \
188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
189 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
190 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
192 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
193 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
194 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
195 LD="$(LD_FOR_TARGET)"; export LD; \
196 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
197 NM="$(NM_FOR_TARGET)"; export NM; \
198 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
199 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
201 RAW_CXX_TARGET_EXPORTS = \
202 $(BASE_TARGET_EXPORTS) \
203 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
204 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
206 NORMAL_TARGET_EXPORTS = \
207 $(BASE_TARGET_EXPORTS) \
208 CXX="$(CXX_FOR_TARGET)"; export CXX;
210 # Where to find GMP
211 HOST_GMPLIBS = @gmplibs@
212 HOST_GMPINC = @gmpinc@
214 # ----------------------------------------------
215 # Programs producing files for the BUILD machine
216 # ----------------------------------------------
218 SHELL = @config_shell@
220 # pwd command to use. Allow user to override default by setting PWDCMD in
221 # the environment to account for automounters. The make variable must not
222 # be called PWDCMD, otherwise the value set here is passed to make
223 # subprocesses and overrides the setting from the user's environment.
224 # Don't use PWD since it is a common shell environment variable and we
225 # don't want to corrupt it.
226 PWD_COMMAND = $${PWDCMD-pwd}
228 # compilers to use to create programs which must be run in the build
229 # environment.
230 CC_FOR_BUILD = @CC_FOR_BUILD@
231 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
233 CXX_FOR_BUILD = $(CXX)
235 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
236 # here so that they can be overridden by Makefile fragments.
237 BUILD_PREFIX = @BUILD_PREFIX@
238 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
240 BISON=@BISON@
241 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
242 echo $$r/bison/bison -L $$s/bison/ ; \
243 else \
244 echo bison ; \
247 DEFAULT_YACC = @DEFAULT_YACC@
248 YACC=@YACC@
249 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
250 echo $$r/bison/bison -y -L $$s/bison/ ; \
251 elif [ -f $$r/byacc/byacc ] ; then \
252 echo $$r/byacc/byacc ; \
253 else \
254 echo ${DEFAULT_YACC} ; \
257 DEFAULT_LEX = @DEFAULT_LEX@
258 LEX=@LEX@
259 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
260 then echo $$r/flex/flex ; \
261 else echo ${DEFAULT_LEX} ; fi`
263 DEFAULT_M4 = @DEFAULT_M4@
264 M4 = `if [ -f $$r/m4/m4 ] ; \
265 then echo $$r/m4/m4 ; \
266 else echo ${DEFAULT_M4} ; fi`
268 # For an installed makeinfo, we require it to be from texinfo 4.2 or
269 # higher, else we use the "missing" dummy.
270 MAKEINFO=@MAKEINFO@
271 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
272 then echo $$r/texinfo/makeinfo/makeinfo ; \
273 else if (makeinfo --version \
274 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
275 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
277 # This just becomes part of the MAKEINFO definition passed down to
278 # sub-makes. It lets flags be given on the command line while still
279 # using the makeinfo from the object tree.
280 # (Default to avoid splitting info files by setting the threshold high.)
281 MAKEINFOFLAGS = --split-size=5000000
283 EXPECT = `if [ -f $$r/expect/expect ] ; \
284 then echo $$r/expect/expect ; \
285 else echo expect ; fi`
287 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
288 then echo $$s/dejagnu/runtest ; \
289 else echo runtest ; fi`
291 # ---------------------------------------------
292 # Programs producing files for the HOST machine
293 # ---------------------------------------------
295 # This is the list of directories that may be needed in RPATH_ENVVAR
296 # so that programs built for the host machine work.
297 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
299 AS = @AS@
301 AR = @AR@
302 AR_FLAGS = rc
304 CC = @CC@
305 CFLAGS = @CFLAGS@
306 LIBCFLAGS = $(CFLAGS)
308 CXX = @CXX@
309 CXXFLAGS = @CXXFLAGS@
310 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
312 DLLTOOL = @DLLTOOL@
314 NM = @NM@
316 LD = @LD@
317 LDFLAGS =
319 RANLIB = @RANLIB@
321 WINDRES = @WINDRES@
323 PICFLAG =
325 # -----------------------------------------------
326 # Programs producing files for the TARGET machine
327 # -----------------------------------------------
329 # This is the list of directories that may be needed in RPATH_ENVVAR
330 # so that prorgams built for the target machine work.
331 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
333 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
335 AR_FOR_TARGET=@AR_FOR_TARGET@
336 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
337 USUAL_AR_FOR_TARGET = ` \
338 if [ -f $$r/binutils/ar ] ; then \
339 echo $$r/binutils/ar ; \
340 else \
341 if [ '$(host)' = '$(target)' ] ; then \
342 echo $(AR); \
343 else \
344 echo $(CONFIGURED_AR_FOR_TARGET) ; \
345 fi; \
348 AS_FOR_TARGET=@AS_FOR_TARGET@
349 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
350 USUAL_AS_FOR_TARGET = ` \
351 if [ -f $$r/gas/as-new ] ; then \
352 echo $$r/gas/as-new ; \
353 elif [ -f $$r/gcc/xgcc ]; then \
354 $(CC_FOR_TARGET) -print-prog-name=as ; \
355 else \
356 if [ '$(host)' = '$(target)' ] ; then \
357 echo $(AS); \
358 else \
359 echo $(CONFIGURED_AS_FOR_TARGET) ; \
360 fi; \
363 CC_FOR_TARGET = @CC_FOR_TARGET@
364 # During gcc bootstrap, if we use some random cc for stage1 then
365 # CFLAGS will be just -g. We want to ensure that TARGET libraries
366 # (which we know are built with gcc) are built with optimizations so
367 # prepend -O2 when setting CFLAGS_FOR_TARGET.
368 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
369 # If GCC_FOR_TARGET is not overriden on the command line, then this
370 # variable is passed down to the gcc Makefile, where it is used to
371 # build libgcc2.a. We define it here so that it can itself be
372 # overridden on the command line.
373 GCC_FOR_TARGET=@GCC_FOR_TARGET@
374 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
375 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
377 CXX_FOR_TARGET = @CXX_FOR_TARGET@
378 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
379 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
380 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
381 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
382 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
384 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
385 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
386 USUAL_DLLTOOL_FOR_TARGET = ` \
387 if [ -f $$r/binutils/dlltool ] ; then \
388 echo $$r/binutils/dlltool ; \
389 else \
390 if [ '$(host)' = '$(target)' ] ; then \
391 echo $(DLLTOOL); \
392 else \
393 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
394 fi; \
397 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
398 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
400 LD_FOR_TARGET=@LD_FOR_TARGET@
401 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
402 USUAL_LD_FOR_TARGET = ` \
403 if [ -f $$r/ld/ld-new ] ; then \
404 echo $$r/ld/ld-new ; \
405 elif [ -f $$r/gcc/xgcc ]; then \
406 $(CC_FOR_TARGET) -print-prog-name=ld ; \
407 else \
408 if [ '$(host)' = '$(target)' ] ; then \
409 echo $(LD); \
410 else \
411 echo $(CONFIGURED_LD_FOR_TARGET) ; \
412 fi; \
415 LDFLAGS_FOR_TARGET =
417 NM_FOR_TARGET=@NM_FOR_TARGET@
418 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
419 USUAL_NM_FOR_TARGET = ` \
420 if [ -f $$r/binutils/nm-new ] ; then \
421 echo $$r/binutils/nm-new ; \
422 elif [ -f $$r/gcc/xgcc ]; then \
423 $(CC_FOR_TARGET) -print-prog-name=nm ; \
424 else \
425 if [ '$(host)' = '$(target)' ] ; then \
426 echo $(NM); \
427 else \
428 echo $(CONFIGURED_NM_FOR_TARGET) ; \
429 fi; \
432 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
433 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
434 USUAL_RANLIB_FOR_TARGET = ` \
435 if [ -f $$r/binutils/ranlib ] ; then \
436 echo $$r/binutils/ranlib ; \
437 else \
438 if [ '$(host)' = '$(target)' ] ; then \
439 if [ x'$(RANLIB)' != x ]; then \
440 echo $(RANLIB); \
441 else \
442 echo ranlib; \
443 fi; \
444 else \
445 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
446 fi; \
449 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
450 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
451 USUAL_WINDRES_FOR_TARGET = ` \
452 if [ -f $$r/binutils/windres ] ; then \
453 echo $$r/binutils/windres ; \
454 else \
455 if [ '$(host)' = '$(target)' ] ; then \
456 echo $(WINDRES); \
457 else \
458 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
459 fi; \
462 PICFLAG_FOR_TARGET =
464 # ------------------------------------
465 # Miscellaneous targets and flag lists
466 # ------------------------------------
468 # The first rule in the file had better be this one. Don't put any above it.
469 # This lives here to allow makefile fragments to contain dependencies.
470 all: all.normal
471 .PHONY: all
473 #### host and target specific makefile fragments come in here.
474 @target_makefile_frag@
475 @alphaieee_frag@
476 @ospace_frag@
477 @host_makefile_frag@
480 # Flags to pass down to all sub-makes.
481 BASE_FLAGS_TO_PASS = \
482 "DESTDIR=$(DESTDIR)" \
483 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
484 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
485 "bindir=$(bindir)" \
486 "datadir=$(datadir)" \
487 "exec_prefix=$(exec_prefix)" \
488 "includedir=$(includedir)" \
489 "infodir=$(infodir)" \
490 "libdir=$(libdir)" \
491 "libexecdir=$(libexecdir)" \
492 "lispdir=$(lispdir)" \
493 "libstdcxx_incdir=$(libstdcxx_incdir)" \
494 "libsubdir=$(libsubdir)" \
495 "localstatedir=$(localstatedir)" \
496 "mandir=$(mandir)" \
497 "oldincludedir=$(oldincludedir)" \
498 "prefix=$(prefix)" \
499 "sbindir=$(sbindir)" \
500 "sharedstatedir=$(sharedstatedir)" \
501 "sysconfdir=$(sysconfdir)" \
502 "tooldir=$(tooldir)" \
503 "build_tooldir=$(build_tooldir)" \
504 "gxx_include_dir=$(gxx_include_dir)" \
505 "gcc_version=$(gcc_version)" \
506 "gcc_version_trigger=$(gcc_version_trigger)" \
507 "target_alias=$(target_alias)" \
508 "BISON=$(BISON)" \
509 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
510 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
511 "EXPECT=$(EXPECT)" \
512 "INSTALL=$(INSTALL)" \
513 "INSTALL_DATA=$(INSTALL_DATA)" \
514 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
515 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
516 "LEX=$(LEX)" \
517 "M4=$(M4)" \
518 "MAKE=$(MAKE)" \
519 "RUNTEST=$(RUNTEST)" \
520 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
521 "SHELL=$(SHELL)" \
522 "YACC=$(YACC)" \
523 "AR_FLAGS=$(AR_FLAGS)" \
524 "CFLAGS=$(CFLAGS)" \
525 "CXXFLAGS=$(CXXFLAGS)" \
526 "LDFLAGS=$(LDFLAGS)" \
527 "LIBCFLAGS=$(LIBCFLAGS)" \
528 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
529 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
530 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
531 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
532 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
533 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
534 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
535 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
536 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
537 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
538 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
539 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
540 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
541 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
542 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
543 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
544 "CONFIG_SHELL=$(SHELL)" \
545 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
547 # For any flags above that may contain shell code that varies from one
548 # target library to another. When doing recursive invocations of the
549 # top-level Makefile, we don't want the outer make to evaluate them,
550 # so we pass these variables down unchanged. They must not contain
551 # single nor double quotes.
552 RECURSE_FLAGS = \
553 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
554 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
556 # Flags to pass down to most sub-makes, in which we're building with
557 # the host environment.
558 EXTRA_HOST_FLAGS = \
559 'AR=$(AR)' \
560 'AS=$(AS)' \
561 'CC=$(CC)' \
562 'CXX=$(CXX)' \
563 'DLLTOOL=$(DLLTOOL)' \
564 'LD=$(LD)' \
565 'NM=$(NM)' \
566 'RANLIB=$(RANLIB)' \
567 'WINDRES=$(WINDRES)'
569 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
571 # Flags that are concerned with the location of the X11 include files
572 # and library files
574 # NOTE: until the top-level is getting the values via autoconf, it only
575 # causes problems to have this top-level Makefile overriding the autoconf-set
576 # values in child directories. Only variables that don't conflict with
577 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
579 X11_FLAGS_TO_PASS = \
580 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
581 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
583 # Flags to pass down to makes which are built with the target environment.
584 # The double $ decreases the length of the command line; the variables
585 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
586 EXTRA_TARGET_FLAGS = \
587 'AR=$$(AR_FOR_TARGET)' \
588 'AS=$$(AS_FOR_TARGET)' \
589 'CC=$$(CC_FOR_TARGET)' \
590 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
591 'CXX=$$(CXX_FOR_TARGET)' \
592 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
593 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
594 'LD=$$(LD_FOR_TARGET)' \
595 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
596 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
597 'NM=$$(NM_FOR_TARGET)' \
598 'RANLIB=$$(RANLIB_FOR_TARGET)' \
599 'WINDRES=$$(WINDRES_FOR_TARGET)'
601 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
603 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
604 # unfortunately needs the native compiler and the target ar and
605 # ranlib.
606 # If any variables are added here, they must be added to do-*, below.
607 # The BUILD_* variables are a special case, which are used for the gcc
608 # cross-building scheme.
609 EXTRA_GCC_FLAGS = \
610 'BUILD_PREFIX=$(BUILD_PREFIX)' \
611 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
612 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
613 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
614 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
615 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
616 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
617 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
618 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
619 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
620 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
621 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
622 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
624 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
626 .PHONY: configure-host
627 configure-host: maybe-configure-gcc \
628 maybe-configure-ash \
629 maybe-configure-autoconf \
630 maybe-configure-automake \
631 maybe-configure-bash \
632 maybe-configure-bfd \
633 maybe-configure-opcodes \
634 maybe-configure-binutils \
635 maybe-configure-bison \
636 maybe-configure-byacc \
637 maybe-configure-bzip2 \
638 maybe-configure-dejagnu \
639 maybe-configure-diff \
640 maybe-configure-dosutils \
641 maybe-configure-etc \
642 maybe-configure-fastjar \
643 maybe-configure-fileutils \
644 maybe-configure-findutils \
645 maybe-configure-find \
646 maybe-configure-flex \
647 maybe-configure-gas \
648 maybe-configure-gawk \
649 maybe-configure-gettext \
650 maybe-configure-gnuserv \
651 maybe-configure-gprof \
652 maybe-configure-gzip \
653 maybe-configure-hello \
654 maybe-configure-indent \
655 maybe-configure-intl \
656 maybe-configure-tcl \
657 maybe-configure-itcl \
658 maybe-configure-ld \
659 maybe-configure-libcpp \
660 maybe-configure-libgui \
661 maybe-configure-libbanshee \
662 maybe-configure-libiberty \
663 maybe-configure-libtool \
664 maybe-configure-m4 \
665 maybe-configure-make \
666 maybe-configure-mmalloc \
667 maybe-configure-patch \
668 maybe-configure-perl \
669 maybe-configure-prms \
670 maybe-configure-rcs \
671 maybe-configure-readline \
672 maybe-configure-release \
673 maybe-configure-recode \
674 maybe-configure-sed \
675 maybe-configure-send-pr \
676 maybe-configure-shellutils \
677 maybe-configure-sid \
678 maybe-configure-sim \
679 maybe-configure-tar \
680 maybe-configure-texinfo \
681 maybe-configure-textutils \
682 maybe-configure-time \
683 maybe-configure-uudecode \
684 maybe-configure-wdiff \
685 maybe-configure-zip \
686 maybe-configure-zlib \
687 maybe-configure-gdb \
688 maybe-configure-expect \
689 maybe-configure-guile \
690 maybe-configure-tk \
691 maybe-configure-tix \
692 maybe-configure-libtermcap \
693 maybe-configure-utils
694 .PHONY: configure-target
695 configure-target: \
696 maybe-configure-target-libstdc++-v3 \
697 maybe-configure-target-libmudflap \
698 maybe-configure-target-newlib \
699 maybe-configure-target-libgfortran \
700 maybe-configure-target-libobjc \
701 maybe-configure-target-libtermcap \
702 maybe-configure-target-winsup \
703 maybe-configure-target-libgloss \
704 maybe-configure-target-libiberty \
705 maybe-configure-target-gperf \
706 maybe-configure-target-examples \
707 maybe-configure-target-libffi \
708 maybe-configure-target-libjava \
709 maybe-configure-target-zlib \
710 maybe-configure-target-boehm-gc \
711 maybe-configure-target-qthreads \
712 maybe-configure-target-rda \
713 maybe-configure-target-libada
715 # The target built for a native build.
716 .PHONY: all.normal
717 all.normal: @all_build_modules@ all-host all-target
719 .PHONY: all-host
720 all-host: maybe-all-gcc \
721 maybe-all-ash \
722 maybe-all-autoconf \
723 maybe-all-automake \
724 maybe-all-bash \
725 maybe-all-bfd \
726 maybe-all-opcodes \
727 maybe-all-binutils \
728 maybe-all-bison \
729 maybe-all-byacc \
730 maybe-all-bzip2 \
731 maybe-all-dejagnu \
732 maybe-all-diff \
733 maybe-all-dosutils \
734 maybe-all-etc \
735 maybe-all-fastjar \
736 maybe-all-fileutils \
737 maybe-all-findutils \
738 maybe-all-find \
739 maybe-all-flex \
740 maybe-all-gas \
741 maybe-all-gawk \
742 maybe-all-gettext \
743 maybe-all-gnuserv \
744 maybe-all-gprof \
745 maybe-all-gzip \
746 maybe-all-hello \
747 maybe-all-indent \
748 maybe-all-intl \
749 maybe-all-tcl \
750 maybe-all-itcl \
751 maybe-all-ld \
752 maybe-all-libcpp \
753 maybe-all-libgui \
754 maybe-all-libbanshee \
755 maybe-all-libiberty \
756 maybe-all-libtool \
757 maybe-all-m4 \
758 maybe-all-make \
759 maybe-all-mmalloc \
760 maybe-all-patch \
761 maybe-all-perl \
762 maybe-all-prms \
763 maybe-all-rcs \
764 maybe-all-readline \
765 maybe-all-release \
766 maybe-all-recode \
767 maybe-all-sed \
768 maybe-all-send-pr \
769 maybe-all-shellutils \
770 maybe-all-sid \
771 maybe-all-sim \
772 maybe-all-tar \
773 maybe-all-texinfo \
774 maybe-all-textutils \
775 maybe-all-time \
776 maybe-all-uudecode \
777 maybe-all-wdiff \
778 maybe-all-zip \
779 maybe-all-zlib \
780 maybe-all-gdb \
781 maybe-all-expect \
782 maybe-all-guile \
783 maybe-all-tk \
784 maybe-all-tix \
785 maybe-all-libtermcap \
786 maybe-all-utils
787 .PHONY: all-target
788 all-target: \
789 maybe-all-target-libstdc++-v3 \
790 maybe-all-target-libmudflap \
791 maybe-all-target-newlib \
792 maybe-all-target-libgfortran \
793 maybe-all-target-libobjc \
794 maybe-all-target-libtermcap \
795 maybe-all-target-winsup \
796 maybe-all-target-libgloss \
797 maybe-all-target-libiberty \
798 maybe-all-target-gperf \
799 maybe-all-target-examples \
800 maybe-all-target-libffi \
801 maybe-all-target-libjava \
802 maybe-all-target-zlib \
803 maybe-all-target-boehm-gc \
804 maybe-all-target-qthreads \
805 maybe-all-target-rda \
806 maybe-all-target-libada
808 # Do a target for all the subdirectories. A ``make do-X'' will do a
809 # ``make X'' in all subdirectories (because, in general, there is a
810 # dependency (below) of X upon do-X, a ``make X'' will also do this,
811 # but it may do additional work as well).
813 .PHONY: do-info
814 do-info: info-host info-target
816 .PHONY: info-host
817 info-host: maybe-info-gcc \
818 maybe-info-ash \
819 maybe-info-autoconf \
820 maybe-info-automake \
821 maybe-info-bash \
822 maybe-info-bfd \
823 maybe-info-opcodes \
824 maybe-info-binutils \
825 maybe-info-bison \
826 maybe-info-byacc \
827 maybe-info-bzip2 \
828 maybe-info-dejagnu \
829 maybe-info-diff \
830 maybe-info-dosutils \
831 maybe-info-etc \
832 maybe-info-fastjar \
833 maybe-info-fileutils \
834 maybe-info-findutils \
835 maybe-info-find \
836 maybe-info-flex \
837 maybe-info-gas \
838 maybe-info-gawk \
839 maybe-info-gettext \
840 maybe-info-gnuserv \
841 maybe-info-gprof \
842 maybe-info-gzip \
843 maybe-info-hello \
844 maybe-info-indent \
845 maybe-info-intl \
846 maybe-info-tcl \
847 maybe-info-itcl \
848 maybe-info-ld \
849 maybe-info-libcpp \
850 maybe-info-libgui \
851 maybe-info-libbanshee \
852 maybe-info-libiberty \
853 maybe-info-libtool \
854 maybe-info-m4 \
855 maybe-info-make \
856 maybe-info-mmalloc \
857 maybe-info-patch \
858 maybe-info-perl \
859 maybe-info-prms \
860 maybe-info-rcs \
861 maybe-info-readline \
862 maybe-info-release \
863 maybe-info-recode \
864 maybe-info-sed \
865 maybe-info-send-pr \
866 maybe-info-shellutils \
867 maybe-info-sid \
868 maybe-info-sim \
869 maybe-info-tar \
870 maybe-info-texinfo \
871 maybe-info-textutils \
872 maybe-info-time \
873 maybe-info-uudecode \
874 maybe-info-wdiff \
875 maybe-info-zip \
876 maybe-info-zlib \
877 maybe-info-gdb \
878 maybe-info-expect \
879 maybe-info-guile \
880 maybe-info-tk \
881 maybe-info-tix \
882 maybe-info-libtermcap \
883 maybe-info-utils
885 .PHONY: info-target
886 info-target: \
887 maybe-info-target-libstdc++-v3 \
888 maybe-info-target-libmudflap \
889 maybe-info-target-newlib \
890 maybe-info-target-libgfortran \
891 maybe-info-target-libobjc \
892 maybe-info-target-libtermcap \
893 maybe-info-target-winsup \
894 maybe-info-target-libgloss \
895 maybe-info-target-libiberty \
896 maybe-info-target-gperf \
897 maybe-info-target-examples \
898 maybe-info-target-libffi \
899 maybe-info-target-libjava \
900 maybe-info-target-zlib \
901 maybe-info-target-boehm-gc \
902 maybe-info-target-qthreads \
903 maybe-info-target-rda \
904 maybe-info-target-libada
906 .PHONY: do-dvi
907 do-dvi: dvi-host dvi-target
909 .PHONY: dvi-host
910 dvi-host: maybe-dvi-gcc \
911 maybe-dvi-ash \
912 maybe-dvi-autoconf \
913 maybe-dvi-automake \
914 maybe-dvi-bash \
915 maybe-dvi-bfd \
916 maybe-dvi-opcodes \
917 maybe-dvi-binutils \
918 maybe-dvi-bison \
919 maybe-dvi-byacc \
920 maybe-dvi-bzip2 \
921 maybe-dvi-dejagnu \
922 maybe-dvi-diff \
923 maybe-dvi-dosutils \
924 maybe-dvi-etc \
925 maybe-dvi-fastjar \
926 maybe-dvi-fileutils \
927 maybe-dvi-findutils \
928 maybe-dvi-find \
929 maybe-dvi-flex \
930 maybe-dvi-gas \
931 maybe-dvi-gawk \
932 maybe-dvi-gettext \
933 maybe-dvi-gnuserv \
934 maybe-dvi-gprof \
935 maybe-dvi-gzip \
936 maybe-dvi-hello \
937 maybe-dvi-indent \
938 maybe-dvi-intl \
939 maybe-dvi-tcl \
940 maybe-dvi-itcl \
941 maybe-dvi-ld \
942 maybe-dvi-libcpp \
943 maybe-dvi-libgui \
944 maybe-dvi-libbanshee \
945 maybe-dvi-libiberty \
946 maybe-dvi-libtool \
947 maybe-dvi-m4 \
948 maybe-dvi-make \
949 maybe-dvi-mmalloc \
950 maybe-dvi-patch \
951 maybe-dvi-perl \
952 maybe-dvi-prms \
953 maybe-dvi-rcs \
954 maybe-dvi-readline \
955 maybe-dvi-release \
956 maybe-dvi-recode \
957 maybe-dvi-sed \
958 maybe-dvi-send-pr \
959 maybe-dvi-shellutils \
960 maybe-dvi-sid \
961 maybe-dvi-sim \
962 maybe-dvi-tar \
963 maybe-dvi-texinfo \
964 maybe-dvi-textutils \
965 maybe-dvi-time \
966 maybe-dvi-uudecode \
967 maybe-dvi-wdiff \
968 maybe-dvi-zip \
969 maybe-dvi-zlib \
970 maybe-dvi-gdb \
971 maybe-dvi-expect \
972 maybe-dvi-guile \
973 maybe-dvi-tk \
974 maybe-dvi-tix \
975 maybe-dvi-libtermcap \
976 maybe-dvi-utils
978 .PHONY: dvi-target
979 dvi-target: \
980 maybe-dvi-target-libstdc++-v3 \
981 maybe-dvi-target-libmudflap \
982 maybe-dvi-target-newlib \
983 maybe-dvi-target-libgfortran \
984 maybe-dvi-target-libobjc \
985 maybe-dvi-target-libtermcap \
986 maybe-dvi-target-winsup \
987 maybe-dvi-target-libgloss \
988 maybe-dvi-target-libiberty \
989 maybe-dvi-target-gperf \
990 maybe-dvi-target-examples \
991 maybe-dvi-target-libffi \
992 maybe-dvi-target-libjava \
993 maybe-dvi-target-zlib \
994 maybe-dvi-target-boehm-gc \
995 maybe-dvi-target-qthreads \
996 maybe-dvi-target-rda \
997 maybe-dvi-target-libada
999 .PHONY: do-TAGS
1000 do-TAGS: TAGS-host TAGS-target
1002 .PHONY: TAGS-host
1003 TAGS-host: maybe-TAGS-gcc \
1004 maybe-TAGS-ash \
1005 maybe-TAGS-autoconf \
1006 maybe-TAGS-automake \
1007 maybe-TAGS-bash \
1008 maybe-TAGS-bfd \
1009 maybe-TAGS-opcodes \
1010 maybe-TAGS-binutils \
1011 maybe-TAGS-bison \
1012 maybe-TAGS-byacc \
1013 maybe-TAGS-bzip2 \
1014 maybe-TAGS-dejagnu \
1015 maybe-TAGS-diff \
1016 maybe-TAGS-dosutils \
1017 maybe-TAGS-etc \
1018 maybe-TAGS-fastjar \
1019 maybe-TAGS-fileutils \
1020 maybe-TAGS-findutils \
1021 maybe-TAGS-find \
1022 maybe-TAGS-flex \
1023 maybe-TAGS-gas \
1024 maybe-TAGS-gawk \
1025 maybe-TAGS-gettext \
1026 maybe-TAGS-gnuserv \
1027 maybe-TAGS-gprof \
1028 maybe-TAGS-gzip \
1029 maybe-TAGS-hello \
1030 maybe-TAGS-indent \
1031 maybe-TAGS-intl \
1032 maybe-TAGS-tcl \
1033 maybe-TAGS-itcl \
1034 maybe-TAGS-ld \
1035 maybe-TAGS-libcpp \
1036 maybe-TAGS-libgui \
1037 maybe-TAGS-libbanshee \
1038 maybe-TAGS-libiberty \
1039 maybe-TAGS-libtool \
1040 maybe-TAGS-m4 \
1041 maybe-TAGS-make \
1042 maybe-TAGS-mmalloc \
1043 maybe-TAGS-patch \
1044 maybe-TAGS-perl \
1045 maybe-TAGS-prms \
1046 maybe-TAGS-rcs \
1047 maybe-TAGS-readline \
1048 maybe-TAGS-release \
1049 maybe-TAGS-recode \
1050 maybe-TAGS-sed \
1051 maybe-TAGS-send-pr \
1052 maybe-TAGS-shellutils \
1053 maybe-TAGS-sid \
1054 maybe-TAGS-sim \
1055 maybe-TAGS-tar \
1056 maybe-TAGS-texinfo \
1057 maybe-TAGS-textutils \
1058 maybe-TAGS-time \
1059 maybe-TAGS-uudecode \
1060 maybe-TAGS-wdiff \
1061 maybe-TAGS-zip \
1062 maybe-TAGS-zlib \
1063 maybe-TAGS-gdb \
1064 maybe-TAGS-expect \
1065 maybe-TAGS-guile \
1066 maybe-TAGS-tk \
1067 maybe-TAGS-tix \
1068 maybe-TAGS-libtermcap \
1069 maybe-TAGS-utils
1071 .PHONY: TAGS-target
1072 TAGS-target: \
1073 maybe-TAGS-target-libstdc++-v3 \
1074 maybe-TAGS-target-libmudflap \
1075 maybe-TAGS-target-newlib \
1076 maybe-TAGS-target-libgfortran \
1077 maybe-TAGS-target-libobjc \
1078 maybe-TAGS-target-libtermcap \
1079 maybe-TAGS-target-winsup \
1080 maybe-TAGS-target-libgloss \
1081 maybe-TAGS-target-libiberty \
1082 maybe-TAGS-target-gperf \
1083 maybe-TAGS-target-examples \
1084 maybe-TAGS-target-libffi \
1085 maybe-TAGS-target-libjava \
1086 maybe-TAGS-target-zlib \
1087 maybe-TAGS-target-boehm-gc \
1088 maybe-TAGS-target-qthreads \
1089 maybe-TAGS-target-rda \
1090 maybe-TAGS-target-libada
1092 .PHONY: do-install-info
1093 do-install-info: install-info-host install-info-target
1095 .PHONY: install-info-host
1096 install-info-host: maybe-install-info-gcc \
1097 maybe-install-info-ash \
1098 maybe-install-info-autoconf \
1099 maybe-install-info-automake \
1100 maybe-install-info-bash \
1101 maybe-install-info-bfd \
1102 maybe-install-info-opcodes \
1103 maybe-install-info-binutils \
1104 maybe-install-info-bison \
1105 maybe-install-info-byacc \
1106 maybe-install-info-bzip2 \
1107 maybe-install-info-dejagnu \
1108 maybe-install-info-diff \
1109 maybe-install-info-dosutils \
1110 maybe-install-info-etc \
1111 maybe-install-info-fastjar \
1112 maybe-install-info-fileutils \
1113 maybe-install-info-findutils \
1114 maybe-install-info-find \
1115 maybe-install-info-flex \
1116 maybe-install-info-gas \
1117 maybe-install-info-gawk \
1118 maybe-install-info-gettext \
1119 maybe-install-info-gnuserv \
1120 maybe-install-info-gprof \
1121 maybe-install-info-gzip \
1122 maybe-install-info-hello \
1123 maybe-install-info-indent \
1124 maybe-install-info-intl \
1125 maybe-install-info-tcl \
1126 maybe-install-info-itcl \
1127 maybe-install-info-ld \
1128 maybe-install-info-libcpp \
1129 maybe-install-info-libgui \
1130 maybe-install-info-libbanshee \
1131 maybe-install-info-libiberty \
1132 maybe-install-info-libtool \
1133 maybe-install-info-m4 \
1134 maybe-install-info-make \
1135 maybe-install-info-mmalloc \
1136 maybe-install-info-patch \
1137 maybe-install-info-perl \
1138 maybe-install-info-prms \
1139 maybe-install-info-rcs \
1140 maybe-install-info-readline \
1141 maybe-install-info-release \
1142 maybe-install-info-recode \
1143 maybe-install-info-sed \
1144 maybe-install-info-send-pr \
1145 maybe-install-info-shellutils \
1146 maybe-install-info-sid \
1147 maybe-install-info-sim \
1148 maybe-install-info-tar \
1149 maybe-install-info-texinfo \
1150 maybe-install-info-textutils \
1151 maybe-install-info-time \
1152 maybe-install-info-uudecode \
1153 maybe-install-info-wdiff \
1154 maybe-install-info-zip \
1155 maybe-install-info-zlib \
1156 maybe-install-info-gdb \
1157 maybe-install-info-expect \
1158 maybe-install-info-guile \
1159 maybe-install-info-tk \
1160 maybe-install-info-tix \
1161 maybe-install-info-libtermcap \
1162 maybe-install-info-utils
1164 .PHONY: install-info-target
1165 install-info-target: \
1166 maybe-install-info-target-libstdc++-v3 \
1167 maybe-install-info-target-libmudflap \
1168 maybe-install-info-target-newlib \
1169 maybe-install-info-target-libgfortran \
1170 maybe-install-info-target-libobjc \
1171 maybe-install-info-target-libtermcap \
1172 maybe-install-info-target-winsup \
1173 maybe-install-info-target-libgloss \
1174 maybe-install-info-target-libiberty \
1175 maybe-install-info-target-gperf \
1176 maybe-install-info-target-examples \
1177 maybe-install-info-target-libffi \
1178 maybe-install-info-target-libjava \
1179 maybe-install-info-target-zlib \
1180 maybe-install-info-target-boehm-gc \
1181 maybe-install-info-target-qthreads \
1182 maybe-install-info-target-rda \
1183 maybe-install-info-target-libada
1185 .PHONY: do-installcheck
1186 do-installcheck: installcheck-host installcheck-target
1188 .PHONY: installcheck-host
1189 installcheck-host: maybe-installcheck-gcc \
1190 maybe-installcheck-ash \
1191 maybe-installcheck-autoconf \
1192 maybe-installcheck-automake \
1193 maybe-installcheck-bash \
1194 maybe-installcheck-bfd \
1195 maybe-installcheck-opcodes \
1196 maybe-installcheck-binutils \
1197 maybe-installcheck-bison \
1198 maybe-installcheck-byacc \
1199 maybe-installcheck-bzip2 \
1200 maybe-installcheck-dejagnu \
1201 maybe-installcheck-diff \
1202 maybe-installcheck-dosutils \
1203 maybe-installcheck-etc \
1204 maybe-installcheck-fastjar \
1205 maybe-installcheck-fileutils \
1206 maybe-installcheck-findutils \
1207 maybe-installcheck-find \
1208 maybe-installcheck-flex \
1209 maybe-installcheck-gas \
1210 maybe-installcheck-gawk \
1211 maybe-installcheck-gettext \
1212 maybe-installcheck-gnuserv \
1213 maybe-installcheck-gprof \
1214 maybe-installcheck-gzip \
1215 maybe-installcheck-hello \
1216 maybe-installcheck-indent \
1217 maybe-installcheck-intl \
1218 maybe-installcheck-tcl \
1219 maybe-installcheck-itcl \
1220 maybe-installcheck-ld \
1221 maybe-installcheck-libcpp \
1222 maybe-installcheck-libgui \
1223 maybe-installcheck-libbanshee \
1224 maybe-installcheck-libiberty \
1225 maybe-installcheck-libtool \
1226 maybe-installcheck-m4 \
1227 maybe-installcheck-make \
1228 maybe-installcheck-mmalloc \
1229 maybe-installcheck-patch \
1230 maybe-installcheck-perl \
1231 maybe-installcheck-prms \
1232 maybe-installcheck-rcs \
1233 maybe-installcheck-readline \
1234 maybe-installcheck-release \
1235 maybe-installcheck-recode \
1236 maybe-installcheck-sed \
1237 maybe-installcheck-send-pr \
1238 maybe-installcheck-shellutils \
1239 maybe-installcheck-sid \
1240 maybe-installcheck-sim \
1241 maybe-installcheck-tar \
1242 maybe-installcheck-texinfo \
1243 maybe-installcheck-textutils \
1244 maybe-installcheck-time \
1245 maybe-installcheck-uudecode \
1246 maybe-installcheck-wdiff \
1247 maybe-installcheck-zip \
1248 maybe-installcheck-zlib \
1249 maybe-installcheck-gdb \
1250 maybe-installcheck-expect \
1251 maybe-installcheck-guile \
1252 maybe-installcheck-tk \
1253 maybe-installcheck-tix \
1254 maybe-installcheck-libtermcap \
1255 maybe-installcheck-utils
1257 .PHONY: installcheck-target
1258 installcheck-target: \
1259 maybe-installcheck-target-libstdc++-v3 \
1260 maybe-installcheck-target-libmudflap \
1261 maybe-installcheck-target-newlib \
1262 maybe-installcheck-target-libgfortran \
1263 maybe-installcheck-target-libobjc \
1264 maybe-installcheck-target-libtermcap \
1265 maybe-installcheck-target-winsup \
1266 maybe-installcheck-target-libgloss \
1267 maybe-installcheck-target-libiberty \
1268 maybe-installcheck-target-gperf \
1269 maybe-installcheck-target-examples \
1270 maybe-installcheck-target-libffi \
1271 maybe-installcheck-target-libjava \
1272 maybe-installcheck-target-zlib \
1273 maybe-installcheck-target-boehm-gc \
1274 maybe-installcheck-target-qthreads \
1275 maybe-installcheck-target-rda \
1276 maybe-installcheck-target-libada
1278 .PHONY: do-mostlyclean
1279 do-mostlyclean: mostlyclean-host mostlyclean-target
1281 .PHONY: mostlyclean-host
1282 mostlyclean-host: maybe-mostlyclean-gcc \
1283 maybe-mostlyclean-ash \
1284 maybe-mostlyclean-autoconf \
1285 maybe-mostlyclean-automake \
1286 maybe-mostlyclean-bash \
1287 maybe-mostlyclean-bfd \
1288 maybe-mostlyclean-opcodes \
1289 maybe-mostlyclean-binutils \
1290 maybe-mostlyclean-bison \
1291 maybe-mostlyclean-byacc \
1292 maybe-mostlyclean-bzip2 \
1293 maybe-mostlyclean-dejagnu \
1294 maybe-mostlyclean-diff \
1295 maybe-mostlyclean-dosutils \
1296 maybe-mostlyclean-etc \
1297 maybe-mostlyclean-fastjar \
1298 maybe-mostlyclean-fileutils \
1299 maybe-mostlyclean-findutils \
1300 maybe-mostlyclean-find \
1301 maybe-mostlyclean-flex \
1302 maybe-mostlyclean-gas \
1303 maybe-mostlyclean-gawk \
1304 maybe-mostlyclean-gettext \
1305 maybe-mostlyclean-gnuserv \
1306 maybe-mostlyclean-gprof \
1307 maybe-mostlyclean-gzip \
1308 maybe-mostlyclean-hello \
1309 maybe-mostlyclean-indent \
1310 maybe-mostlyclean-intl \
1311 maybe-mostlyclean-tcl \
1312 maybe-mostlyclean-itcl \
1313 maybe-mostlyclean-ld \
1314 maybe-mostlyclean-libcpp \
1315 maybe-mostlyclean-libgui \
1316 maybe-mostlyclean-libbanshee \
1317 maybe-mostlyclean-libiberty \
1318 maybe-mostlyclean-libtool \
1319 maybe-mostlyclean-m4 \
1320 maybe-mostlyclean-make \
1321 maybe-mostlyclean-mmalloc \
1322 maybe-mostlyclean-patch \
1323 maybe-mostlyclean-perl \
1324 maybe-mostlyclean-prms \
1325 maybe-mostlyclean-rcs \
1326 maybe-mostlyclean-readline \
1327 maybe-mostlyclean-release \
1328 maybe-mostlyclean-recode \
1329 maybe-mostlyclean-sed \
1330 maybe-mostlyclean-send-pr \
1331 maybe-mostlyclean-shellutils \
1332 maybe-mostlyclean-sid \
1333 maybe-mostlyclean-sim \
1334 maybe-mostlyclean-tar \
1335 maybe-mostlyclean-texinfo \
1336 maybe-mostlyclean-textutils \
1337 maybe-mostlyclean-time \
1338 maybe-mostlyclean-uudecode \
1339 maybe-mostlyclean-wdiff \
1340 maybe-mostlyclean-zip \
1341 maybe-mostlyclean-zlib \
1342 maybe-mostlyclean-gdb \
1343 maybe-mostlyclean-expect \
1344 maybe-mostlyclean-guile \
1345 maybe-mostlyclean-tk \
1346 maybe-mostlyclean-tix \
1347 maybe-mostlyclean-libtermcap \
1348 maybe-mostlyclean-utils
1350 .PHONY: mostlyclean-target
1351 mostlyclean-target: \
1352 maybe-mostlyclean-target-libstdc++-v3 \
1353 maybe-mostlyclean-target-libmudflap \
1354 maybe-mostlyclean-target-newlib \
1355 maybe-mostlyclean-target-libgfortran \
1356 maybe-mostlyclean-target-libobjc \
1357 maybe-mostlyclean-target-libtermcap \
1358 maybe-mostlyclean-target-winsup \
1359 maybe-mostlyclean-target-libgloss \
1360 maybe-mostlyclean-target-libiberty \
1361 maybe-mostlyclean-target-gperf \
1362 maybe-mostlyclean-target-examples \
1363 maybe-mostlyclean-target-libffi \
1364 maybe-mostlyclean-target-libjava \
1365 maybe-mostlyclean-target-zlib \
1366 maybe-mostlyclean-target-boehm-gc \
1367 maybe-mostlyclean-target-qthreads \
1368 maybe-mostlyclean-target-rda \
1369 maybe-mostlyclean-target-libada
1371 .PHONY: do-clean
1372 do-clean: clean-host clean-target
1374 .PHONY: clean-host
1375 clean-host: maybe-clean-gcc \
1376 maybe-clean-ash \
1377 maybe-clean-autoconf \
1378 maybe-clean-automake \
1379 maybe-clean-bash \
1380 maybe-clean-bfd \
1381 maybe-clean-opcodes \
1382 maybe-clean-binutils \
1383 maybe-clean-bison \
1384 maybe-clean-byacc \
1385 maybe-clean-bzip2 \
1386 maybe-clean-dejagnu \
1387 maybe-clean-diff \
1388 maybe-clean-dosutils \
1389 maybe-clean-etc \
1390 maybe-clean-fastjar \
1391 maybe-clean-fileutils \
1392 maybe-clean-findutils \
1393 maybe-clean-find \
1394 maybe-clean-flex \
1395 maybe-clean-gas \
1396 maybe-clean-gawk \
1397 maybe-clean-gettext \
1398 maybe-clean-gnuserv \
1399 maybe-clean-gprof \
1400 maybe-clean-gzip \
1401 maybe-clean-hello \
1402 maybe-clean-indent \
1403 maybe-clean-intl \
1404 maybe-clean-tcl \
1405 maybe-clean-itcl \
1406 maybe-clean-ld \
1407 maybe-clean-libcpp \
1408 maybe-clean-libgui \
1409 maybe-clean-libbanshee \
1410 maybe-clean-libiberty \
1411 maybe-clean-libtool \
1412 maybe-clean-m4 \
1413 maybe-clean-make \
1414 maybe-clean-mmalloc \
1415 maybe-clean-patch \
1416 maybe-clean-perl \
1417 maybe-clean-prms \
1418 maybe-clean-rcs \
1419 maybe-clean-readline \
1420 maybe-clean-release \
1421 maybe-clean-recode \
1422 maybe-clean-sed \
1423 maybe-clean-send-pr \
1424 maybe-clean-shellutils \
1425 maybe-clean-sid \
1426 maybe-clean-sim \
1427 maybe-clean-tar \
1428 maybe-clean-texinfo \
1429 maybe-clean-textutils \
1430 maybe-clean-time \
1431 maybe-clean-uudecode \
1432 maybe-clean-wdiff \
1433 maybe-clean-zip \
1434 maybe-clean-zlib \
1435 maybe-clean-gdb \
1436 maybe-clean-expect \
1437 maybe-clean-guile \
1438 maybe-clean-tk \
1439 maybe-clean-tix \
1440 maybe-clean-libtermcap \
1441 maybe-clean-utils
1443 .PHONY: clean-target
1444 clean-target: \
1445 maybe-clean-target-libstdc++-v3 \
1446 maybe-clean-target-libmudflap \
1447 maybe-clean-target-newlib \
1448 maybe-clean-target-libgfortran \
1449 maybe-clean-target-libobjc \
1450 maybe-clean-target-libtermcap \
1451 maybe-clean-target-winsup \
1452 maybe-clean-target-libgloss \
1453 maybe-clean-target-libiberty \
1454 maybe-clean-target-gperf \
1455 maybe-clean-target-examples \
1456 maybe-clean-target-libffi \
1457 maybe-clean-target-libjava \
1458 maybe-clean-target-zlib \
1459 maybe-clean-target-boehm-gc \
1460 maybe-clean-target-qthreads \
1461 maybe-clean-target-rda \
1462 maybe-clean-target-libada
1464 .PHONY: do-distclean
1465 do-distclean: distclean-host distclean-target
1467 .PHONY: distclean-host
1468 distclean-host: maybe-distclean-gcc \
1469 maybe-distclean-ash \
1470 maybe-distclean-autoconf \
1471 maybe-distclean-automake \
1472 maybe-distclean-bash \
1473 maybe-distclean-bfd \
1474 maybe-distclean-opcodes \
1475 maybe-distclean-binutils \
1476 maybe-distclean-bison \
1477 maybe-distclean-byacc \
1478 maybe-distclean-bzip2 \
1479 maybe-distclean-dejagnu \
1480 maybe-distclean-diff \
1481 maybe-distclean-dosutils \
1482 maybe-distclean-etc \
1483 maybe-distclean-fastjar \
1484 maybe-distclean-fileutils \
1485 maybe-distclean-findutils \
1486 maybe-distclean-find \
1487 maybe-distclean-flex \
1488 maybe-distclean-gas \
1489 maybe-distclean-gawk \
1490 maybe-distclean-gettext \
1491 maybe-distclean-gnuserv \
1492 maybe-distclean-gprof \
1493 maybe-distclean-gzip \
1494 maybe-distclean-hello \
1495 maybe-distclean-indent \
1496 maybe-distclean-intl \
1497 maybe-distclean-tcl \
1498 maybe-distclean-itcl \
1499 maybe-distclean-ld \
1500 maybe-distclean-libcpp \
1501 maybe-distclean-libgui \
1502 maybe-distclean-libbanshee \
1503 maybe-distclean-libiberty \
1504 maybe-distclean-libtool \
1505 maybe-distclean-m4 \
1506 maybe-distclean-make \
1507 maybe-distclean-mmalloc \
1508 maybe-distclean-patch \
1509 maybe-distclean-perl \
1510 maybe-distclean-prms \
1511 maybe-distclean-rcs \
1512 maybe-distclean-readline \
1513 maybe-distclean-release \
1514 maybe-distclean-recode \
1515 maybe-distclean-sed \
1516 maybe-distclean-send-pr \
1517 maybe-distclean-shellutils \
1518 maybe-distclean-sid \
1519 maybe-distclean-sim \
1520 maybe-distclean-tar \
1521 maybe-distclean-texinfo \
1522 maybe-distclean-textutils \
1523 maybe-distclean-time \
1524 maybe-distclean-uudecode \
1525 maybe-distclean-wdiff \
1526 maybe-distclean-zip \
1527 maybe-distclean-zlib \
1528 maybe-distclean-gdb \
1529 maybe-distclean-expect \
1530 maybe-distclean-guile \
1531 maybe-distclean-tk \
1532 maybe-distclean-tix \
1533 maybe-distclean-libtermcap \
1534 maybe-distclean-utils
1536 .PHONY: distclean-target
1537 distclean-target: \
1538 maybe-distclean-target-libstdc++-v3 \
1539 maybe-distclean-target-libmudflap \
1540 maybe-distclean-target-newlib \
1541 maybe-distclean-target-libgfortran \
1542 maybe-distclean-target-libobjc \
1543 maybe-distclean-target-libtermcap \
1544 maybe-distclean-target-winsup \
1545 maybe-distclean-target-libgloss \
1546 maybe-distclean-target-libiberty \
1547 maybe-distclean-target-gperf \
1548 maybe-distclean-target-examples \
1549 maybe-distclean-target-libffi \
1550 maybe-distclean-target-libjava \
1551 maybe-distclean-target-zlib \
1552 maybe-distclean-target-boehm-gc \
1553 maybe-distclean-target-qthreads \
1554 maybe-distclean-target-rda \
1555 maybe-distclean-target-libada
1557 .PHONY: do-maintainer-clean
1558 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1560 .PHONY: maintainer-clean-host
1561 maintainer-clean-host: maybe-maintainer-clean-gcc \
1562 maybe-maintainer-clean-ash \
1563 maybe-maintainer-clean-autoconf \
1564 maybe-maintainer-clean-automake \
1565 maybe-maintainer-clean-bash \
1566 maybe-maintainer-clean-bfd \
1567 maybe-maintainer-clean-opcodes \
1568 maybe-maintainer-clean-binutils \
1569 maybe-maintainer-clean-bison \
1570 maybe-maintainer-clean-byacc \
1571 maybe-maintainer-clean-bzip2 \
1572 maybe-maintainer-clean-dejagnu \
1573 maybe-maintainer-clean-diff \
1574 maybe-maintainer-clean-dosutils \
1575 maybe-maintainer-clean-etc \
1576 maybe-maintainer-clean-fastjar \
1577 maybe-maintainer-clean-fileutils \
1578 maybe-maintainer-clean-findutils \
1579 maybe-maintainer-clean-find \
1580 maybe-maintainer-clean-flex \
1581 maybe-maintainer-clean-gas \
1582 maybe-maintainer-clean-gawk \
1583 maybe-maintainer-clean-gettext \
1584 maybe-maintainer-clean-gnuserv \
1585 maybe-maintainer-clean-gprof \
1586 maybe-maintainer-clean-gzip \
1587 maybe-maintainer-clean-hello \
1588 maybe-maintainer-clean-indent \
1589 maybe-maintainer-clean-intl \
1590 maybe-maintainer-clean-tcl \
1591 maybe-maintainer-clean-itcl \
1592 maybe-maintainer-clean-ld \
1593 maybe-maintainer-clean-libcpp \
1594 maybe-maintainer-clean-libgui \
1595 maybe-maintainer-clean-libbanshee \
1596 maybe-maintainer-clean-libiberty \
1597 maybe-maintainer-clean-libtool \
1598 maybe-maintainer-clean-m4 \
1599 maybe-maintainer-clean-make \
1600 maybe-maintainer-clean-mmalloc \
1601 maybe-maintainer-clean-patch \
1602 maybe-maintainer-clean-perl \
1603 maybe-maintainer-clean-prms \
1604 maybe-maintainer-clean-rcs \
1605 maybe-maintainer-clean-readline \
1606 maybe-maintainer-clean-release \
1607 maybe-maintainer-clean-recode \
1608 maybe-maintainer-clean-sed \
1609 maybe-maintainer-clean-send-pr \
1610 maybe-maintainer-clean-shellutils \
1611 maybe-maintainer-clean-sid \
1612 maybe-maintainer-clean-sim \
1613 maybe-maintainer-clean-tar \
1614 maybe-maintainer-clean-texinfo \
1615 maybe-maintainer-clean-textutils \
1616 maybe-maintainer-clean-time \
1617 maybe-maintainer-clean-uudecode \
1618 maybe-maintainer-clean-wdiff \
1619 maybe-maintainer-clean-zip \
1620 maybe-maintainer-clean-zlib \
1621 maybe-maintainer-clean-gdb \
1622 maybe-maintainer-clean-expect \
1623 maybe-maintainer-clean-guile \
1624 maybe-maintainer-clean-tk \
1625 maybe-maintainer-clean-tix \
1626 maybe-maintainer-clean-libtermcap \
1627 maybe-maintainer-clean-utils
1629 .PHONY: maintainer-clean-target
1630 maintainer-clean-target: \
1631 maybe-maintainer-clean-target-libstdc++-v3 \
1632 maybe-maintainer-clean-target-libmudflap \
1633 maybe-maintainer-clean-target-newlib \
1634 maybe-maintainer-clean-target-libgfortran \
1635 maybe-maintainer-clean-target-libobjc \
1636 maybe-maintainer-clean-target-libtermcap \
1637 maybe-maintainer-clean-target-winsup \
1638 maybe-maintainer-clean-target-libgloss \
1639 maybe-maintainer-clean-target-libiberty \
1640 maybe-maintainer-clean-target-gperf \
1641 maybe-maintainer-clean-target-examples \
1642 maybe-maintainer-clean-target-libffi \
1643 maybe-maintainer-clean-target-libjava \
1644 maybe-maintainer-clean-target-zlib \
1645 maybe-maintainer-clean-target-boehm-gc \
1646 maybe-maintainer-clean-target-qthreads \
1647 maybe-maintainer-clean-target-rda \
1648 maybe-maintainer-clean-target-libada
1651 # Here are the targets which correspond to the do-X targets.
1653 .PHONY: info installcheck dvi install-info
1654 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1655 .PHONY: local-clean local-distclean local-maintainer-clean
1656 info: do-info
1657 installcheck: do-installcheck
1658 dvi: do-dvi
1660 # Make sure makeinfo is built before we do a `make info', if we're
1661 # in fact building texinfo.
1662 do-info: maybe-all-texinfo
1664 install-info: do-install-info dir.info
1665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1666 if [ -f dir.info ] ; then \
1667 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1668 else true ; fi
1670 local-clean:
1671 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1673 local-distclean:
1674 -rm -f Makefile config.status config.cache mh-frag mt-frag
1675 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1676 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1677 rm -rf $(TARGET_SUBDIR); \
1678 else true; fi
1679 -rm -rf $(BUILD_SUBDIR)
1680 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1681 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1682 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1683 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1684 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1686 local-maintainer-clean:
1687 @echo "This command is intended for maintainers to use;"
1688 @echo "it deletes files that may require special tools to rebuild."
1690 clean: do-clean local-clean
1691 mostlyclean: do-mostlyclean local-clean
1692 distclean: do-distclean local-clean local-distclean
1693 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1694 maintainer-clean: local-distclean
1695 realclean: maintainer-clean
1697 # Extra dependency for clean-target, owing to the mixed nature of gcc
1698 clean-target: clean-target-libgcc
1699 clean-target-libgcc:
1700 test ! -d gcc/libgcc || \
1701 (cd gcc/libgcc && find . -type d -print) | \
1702 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1703 -rm -rf gcc/libgcc
1705 # Check target.
1707 .PHONY: check do-check
1708 check: do-check
1710 # Only include modules actually being configured and built.
1711 do-check: maybe-check-gcc \
1712 maybe-check-ash \
1713 maybe-check-autoconf \
1714 maybe-check-automake \
1715 maybe-check-bash \
1716 maybe-check-bfd \
1717 maybe-check-opcodes \
1718 maybe-check-binutils \
1719 maybe-check-bison \
1720 maybe-check-byacc \
1721 maybe-check-bzip2 \
1722 maybe-check-dejagnu \
1723 maybe-check-diff \
1724 maybe-check-dosutils \
1725 maybe-check-etc \
1726 maybe-check-fastjar \
1727 maybe-check-fileutils \
1728 maybe-check-findutils \
1729 maybe-check-find \
1730 maybe-check-flex \
1731 maybe-check-gas \
1732 maybe-check-gawk \
1733 maybe-check-gettext \
1734 maybe-check-gnuserv \
1735 maybe-check-gprof \
1736 maybe-check-gzip \
1737 maybe-check-hello \
1738 maybe-check-indent \
1739 maybe-check-intl \
1740 maybe-check-tcl \
1741 maybe-check-itcl \
1742 maybe-check-ld \
1743 maybe-check-libcpp \
1744 maybe-check-libgui \
1745 maybe-check-libbanshee \
1746 maybe-check-libiberty \
1747 maybe-check-libtool \
1748 maybe-check-m4 \
1749 maybe-check-make \
1750 maybe-check-mmalloc \
1751 maybe-check-patch \
1752 maybe-check-perl \
1753 maybe-check-prms \
1754 maybe-check-rcs \
1755 maybe-check-readline \
1756 maybe-check-release \
1757 maybe-check-recode \
1758 maybe-check-sed \
1759 maybe-check-send-pr \
1760 maybe-check-shellutils \
1761 maybe-check-sid \
1762 maybe-check-sim \
1763 maybe-check-tar \
1764 maybe-check-texinfo \
1765 maybe-check-textutils \
1766 maybe-check-time \
1767 maybe-check-uudecode \
1768 maybe-check-wdiff \
1769 maybe-check-zip \
1770 maybe-check-zlib \
1771 maybe-check-gdb \
1772 maybe-check-expect \
1773 maybe-check-guile \
1774 maybe-check-tk \
1775 maybe-check-tix \
1776 maybe-check-libtermcap \
1777 maybe-check-utils \
1778 maybe-check-target-libstdc++-v3 \
1779 maybe-check-target-libmudflap \
1780 maybe-check-target-newlib \
1781 maybe-check-target-libgfortran \
1782 maybe-check-target-libobjc \
1783 maybe-check-target-libtermcap \
1784 maybe-check-target-winsup \
1785 maybe-check-target-libgloss \
1786 maybe-check-target-libiberty \
1787 maybe-check-target-gperf \
1788 maybe-check-target-examples \
1789 maybe-check-target-libffi \
1790 maybe-check-target-libjava \
1791 maybe-check-target-zlib \
1792 maybe-check-target-boehm-gc \
1793 maybe-check-target-qthreads \
1794 maybe-check-target-rda \
1795 maybe-check-target-libada
1797 # Automated reporting of test results.
1799 warning.log: build.log
1800 $(srcdir)/contrib/warn_summary build.log > $@
1802 mail-report.log:
1803 if test x'$(BOOT_CFLAGS)' != x''; then \
1804 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1805 fi; \
1806 $(srcdir)/contrib/test_summary -t >$@
1807 chmod +x $@
1808 echo If you really want to send e-mail, run ./$@ now
1810 mail-report-with-warnings.log: warning.log
1811 if test x'$(BOOT_CFLAGS)' != x''; then \
1812 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1813 fi; \
1814 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1815 chmod +x $@
1816 echo If you really want to send e-mail, run ./$@ now
1818 # Installation targets.
1820 .PHONY: install uninstall
1821 install: installdirs install-host install-target
1823 .PHONY: install-host-nogcc
1824 install-host-nogcc: \
1825 maybe-install-ash \
1826 maybe-install-autoconf \
1827 maybe-install-automake \
1828 maybe-install-bash \
1829 maybe-install-bfd \
1830 maybe-install-opcodes \
1831 maybe-install-binutils \
1832 maybe-install-bison \
1833 maybe-install-byacc \
1834 maybe-install-bzip2 \
1835 maybe-install-dejagnu \
1836 maybe-install-diff \
1837 maybe-install-dosutils \
1838 maybe-install-etc \
1839 maybe-install-fastjar \
1840 maybe-install-fileutils \
1841 maybe-install-findutils \
1842 maybe-install-find \
1843 maybe-install-flex \
1844 maybe-install-gas \
1845 maybe-install-gawk \
1846 maybe-install-gettext \
1847 maybe-install-gnuserv \
1848 maybe-install-gprof \
1849 maybe-install-gzip \
1850 maybe-install-hello \
1851 maybe-install-indent \
1852 maybe-install-intl \
1853 maybe-install-tcl \
1854 maybe-install-itcl \
1855 maybe-install-ld \
1856 maybe-install-libcpp \
1857 maybe-install-libgui \
1858 maybe-install-libbanshee \
1859 maybe-install-libiberty \
1860 maybe-install-libtool \
1861 maybe-install-m4 \
1862 maybe-install-make \
1863 maybe-install-mmalloc \
1864 maybe-install-patch \
1865 maybe-install-perl \
1866 maybe-install-prms \
1867 maybe-install-rcs \
1868 maybe-install-readline \
1869 maybe-install-release \
1870 maybe-install-recode \
1871 maybe-install-sed \
1872 maybe-install-send-pr \
1873 maybe-install-shellutils \
1874 maybe-install-sid \
1875 maybe-install-sim \
1876 maybe-install-tar \
1877 maybe-install-texinfo \
1878 maybe-install-textutils \
1879 maybe-install-time \
1880 maybe-install-uudecode \
1881 maybe-install-wdiff \
1882 maybe-install-zip \
1883 maybe-install-zlib \
1884 maybe-install-gdb \
1885 maybe-install-expect \
1886 maybe-install-guile \
1887 maybe-install-tk \
1888 maybe-install-tix \
1889 maybe-install-libtermcap \
1890 maybe-install-utils
1892 .PHONY: install-host
1893 install-host: maybe-install-gcc \
1894 maybe-install-ash \
1895 maybe-install-autoconf \
1896 maybe-install-automake \
1897 maybe-install-bash \
1898 maybe-install-bfd \
1899 maybe-install-opcodes \
1900 maybe-install-binutils \
1901 maybe-install-bison \
1902 maybe-install-byacc \
1903 maybe-install-bzip2 \
1904 maybe-install-dejagnu \
1905 maybe-install-diff \
1906 maybe-install-dosutils \
1907 maybe-install-etc \
1908 maybe-install-fastjar \
1909 maybe-install-fileutils \
1910 maybe-install-findutils \
1911 maybe-install-find \
1912 maybe-install-flex \
1913 maybe-install-gas \
1914 maybe-install-gawk \
1915 maybe-install-gettext \
1916 maybe-install-gnuserv \
1917 maybe-install-gprof \
1918 maybe-install-gzip \
1919 maybe-install-hello \
1920 maybe-install-indent \
1921 maybe-install-intl \
1922 maybe-install-tcl \
1923 maybe-install-itcl \
1924 maybe-install-ld \
1925 maybe-install-libcpp \
1926 maybe-install-libgui \
1927 maybe-install-libbanshee \
1928 maybe-install-libiberty \
1929 maybe-install-libtool \
1930 maybe-install-m4 \
1931 maybe-install-make \
1932 maybe-install-mmalloc \
1933 maybe-install-patch \
1934 maybe-install-perl \
1935 maybe-install-prms \
1936 maybe-install-rcs \
1937 maybe-install-readline \
1938 maybe-install-release \
1939 maybe-install-recode \
1940 maybe-install-sed \
1941 maybe-install-send-pr \
1942 maybe-install-shellutils \
1943 maybe-install-sid \
1944 maybe-install-sim \
1945 maybe-install-tar \
1946 maybe-install-texinfo \
1947 maybe-install-textutils \
1948 maybe-install-time \
1949 maybe-install-uudecode \
1950 maybe-install-wdiff \
1951 maybe-install-zip \
1952 maybe-install-zlib \
1953 maybe-install-gdb \
1954 maybe-install-expect \
1955 maybe-install-guile \
1956 maybe-install-tk \
1957 maybe-install-tix \
1958 maybe-install-libtermcap \
1959 maybe-install-utils
1961 .PHONY: install-target
1962 install-target: \
1963 maybe-install-target-libstdc++-v3 \
1964 maybe-install-target-libmudflap \
1965 maybe-install-target-newlib \
1966 maybe-install-target-libgfortran \
1967 maybe-install-target-libobjc \
1968 maybe-install-target-libtermcap \
1969 maybe-install-target-winsup \
1970 maybe-install-target-libgloss \
1971 maybe-install-target-libiberty \
1972 maybe-install-target-gperf \
1973 maybe-install-target-examples \
1974 maybe-install-target-libffi \
1975 maybe-install-target-libjava \
1976 maybe-install-target-zlib \
1977 maybe-install-target-boehm-gc \
1978 maybe-install-target-qthreads \
1979 maybe-install-target-rda \
1980 maybe-install-target-libada
1982 uninstall:
1983 @echo "the uninstall target is not supported in this tree"
1985 .PHONY: install.all
1986 install.all: install-no-fixedincludes
1987 @if [ -f ./gcc/Makefile ] ; then \
1988 r=`${PWD_COMMAND}` ; export r ; \
1989 $(SET_LIB_PATH) \
1990 $(GCC_HOST_EXPORTS) \
1991 (cd ./gcc && \
1992 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1993 else \
1994 true ; \
1997 # install-no-fixedincludes is used because Cygnus can not distribute
1998 # the fixed header files.
1999 .PHONY: install-no-fixedincludes
2000 install-no-fixedincludes: installdirs install-host-nogcc \
2001 install-target gcc-no-fixedincludes
2003 ### other supporting targets
2005 MAKEDIRS= \
2006 $(DESTDIR)$(prefix) \
2007 $(DESTDIR)$(exec_prefix)
2008 .PHONY: installdirs
2009 installdirs: mkinstalldirs
2010 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2012 dir.info: do-install-info
2013 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2014 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2015 mv -f dir.info.new dir.info ; \
2016 else true ; \
2019 dist:
2020 @echo "Building a full distribution of this tree isn't done"
2021 @echo "via 'make dist'. Check out the etc/ subdirectory"
2023 etags tags: TAGS
2025 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2026 # ability to use several tags files at once, so there is probably no need
2027 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2028 # (if we felt like it) have this Makefile write a piece of elisp which
2029 # the user could load to tell emacs19 where all the TAGS files we just
2030 # built are.
2031 TAGS: do-TAGS
2033 # --------------------------------------
2034 # Modules which run on the build machine
2035 # --------------------------------------
2037 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2038 maybe-configure-build-libiberty:
2039 @if build-libiberty
2040 maybe-configure-build-libiberty: configure-build-libiberty
2041 configure-build-libiberty:
2042 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2043 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2044 r=`${PWD_COMMAND}`; export r; \
2045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2046 $(BUILD_EXPORTS) \
2047 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2048 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2049 case $(srcdir) in \
2050 /* | [A-Za-z]:[\\/]*) \
2051 topdir=$(srcdir) ;; \
2052 *) \
2053 case "$(BUILD_SUBDIR)" in \
2054 .) topdir="../$(srcdir)" ;; \
2055 *) topdir="../../$(srcdir)" ;; \
2056 esac ;; \
2057 esac; \
2058 if [ "$(srcdir)" = "." ] ; then \
2059 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2060 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2061 if [ -f Makefile ]; then \
2062 if $(MAKE) distclean; then \
2063 true; \
2064 else \
2065 exit 1; \
2066 fi; \
2067 else \
2068 true; \
2069 fi; \
2070 else \
2071 exit 1; \
2072 fi; \
2073 else \
2074 true; \
2075 fi; \
2076 srcdiroption="--srcdir=."; \
2077 libsrcdir="."; \
2078 else \
2079 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2080 libsrcdir="$$s/libiberty"; \
2081 fi; \
2082 rm -f no-such-file || : ; \
2083 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2084 $(BUILD_CONFIGARGS) $${srcdiroption} \
2085 --with-build-subdir="$(BUILD_SUBDIR)" \
2086 || exit 1
2087 @endif build-libiberty
2089 .PHONY: all-build-libiberty maybe-all-build-libiberty
2090 maybe-all-build-libiberty:
2091 @if build-libiberty
2092 maybe-all-build-libiberty: all-build-libiberty
2093 all-build-libiberty: configure-build-libiberty
2094 @r=`${PWD_COMMAND}`; export r; \
2095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2096 $(BUILD_EXPORTS) \
2097 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2098 @endif build-libiberty
2100 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2101 maybe-configure-build-libbanshee:
2102 @if build-libbanshee
2103 maybe-configure-build-libbanshee: configure-build-libbanshee
2104 configure-build-libbanshee:
2105 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2106 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2107 r=`${PWD_COMMAND}`; export r; \
2108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2109 $(BUILD_EXPORTS) \
2110 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2111 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2112 case $(srcdir) in \
2113 /* | [A-Za-z]:[\\/]*) \
2114 topdir=$(srcdir) ;; \
2115 *) \
2116 case "$(BUILD_SUBDIR)" in \
2117 .) topdir="../$(srcdir)" ;; \
2118 *) topdir="../../$(srcdir)" ;; \
2119 esac ;; \
2120 esac; \
2121 if [ "$(srcdir)" = "." ] ; then \
2122 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2123 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2124 if [ -f Makefile ]; then \
2125 if $(MAKE) distclean; then \
2126 true; \
2127 else \
2128 exit 1; \
2129 fi; \
2130 else \
2131 true; \
2132 fi; \
2133 else \
2134 exit 1; \
2135 fi; \
2136 else \
2137 true; \
2138 fi; \
2139 srcdiroption="--srcdir=."; \
2140 libsrcdir="."; \
2141 else \
2142 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2143 libsrcdir="$$s/libbanshee"; \
2144 fi; \
2145 rm -f no-such-file || : ; \
2146 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2147 $(BUILD_CONFIGARGS) $${srcdiroption} \
2148 --with-build-subdir="$(BUILD_SUBDIR)" \
2149 || exit 1
2150 @endif build-libbanshee
2152 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2153 maybe-all-build-libbanshee:
2154 @if build-libbanshee
2155 maybe-all-build-libbanshee: all-build-libbanshee
2156 all-build-libbanshee: configure-build-libbanshee
2157 @r=`${PWD_COMMAND}`; export r; \
2158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2159 $(BUILD_EXPORTS) \
2160 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2161 @endif build-libbanshee
2164 # --------------------------------------
2165 # Modules which run on the host machine
2166 # --------------------------------------
2168 .PHONY: configure-ash maybe-configure-ash
2169 maybe-configure-ash:
2170 @if ash
2171 maybe-configure-ash: configure-ash
2172 configure-ash:
2173 @test ! -f ash/Makefile || exit 0; \
2174 [ -d ash ] || mkdir ash; \
2175 r=`${PWD_COMMAND}`; export r; \
2176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2177 $(HOST_EXPORTS) \
2178 echo Configuring in ash; \
2179 cd ash || exit 1; \
2180 case $(srcdir) in \
2181 \.) \
2182 srcdiroption="--srcdir=."; \
2183 libsrcdir=".";; \
2184 /* | [A-Za-z]:[\\/]*) \
2185 srcdiroption="--srcdir=$(srcdir)/ash"; \
2186 libsrcdir="$$s/ash";; \
2187 *) \
2188 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2189 libsrcdir="$$s/ash";; \
2190 esac; \
2191 $(SHELL) $${libsrcdir}/configure \
2192 $(HOST_CONFIGARGS) $${srcdiroption} \
2193 || exit 1
2194 @endif ash
2196 .PHONY: all-ash maybe-all-ash
2197 maybe-all-ash:
2198 @if ash
2199 maybe-all-ash: all-ash
2200 all-ash: configure-ash
2201 @r=`${PWD_COMMAND}`; export r; \
2202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2203 $(SET_LIB_PATH) \
2204 $(HOST_EXPORTS) \
2205 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2206 @endif ash
2208 .PHONY: check-ash maybe-check-ash
2209 maybe-check-ash:
2210 @if ash
2211 maybe-check-ash: check-ash
2213 check-ash:
2214 @r=`${PWD_COMMAND}`; export r; \
2215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2216 $(SET_LIB_PATH) \
2217 $(HOST_EXPORTS) \
2218 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2220 @endif ash
2222 .PHONY: install-ash maybe-install-ash
2223 maybe-install-ash:
2224 @if ash
2225 maybe-install-ash: install-ash
2227 install-ash: installdirs
2228 @r=`${PWD_COMMAND}`; export r; \
2229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2230 $(SET_LIB_PATH) \
2231 $(HOST_EXPORTS) \
2232 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2234 @endif ash
2236 # Other targets (info, dvi, etc.)
2238 .PHONY: maybe-info-ash info-ash
2239 maybe-info-ash:
2240 @if ash
2241 maybe-info-ash: info-ash
2243 info-ash: \
2244 configure-ash
2245 @[ -f ./ash/Makefile ] || exit 0; \
2246 r=`${PWD_COMMAND}`; export r; \
2247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2248 $(SET_LIB_PATH) \
2249 $(HOST_EXPORTS) \
2250 for flag in $(EXTRA_HOST_FLAGS); do \
2251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2252 done; \
2253 echo "Doing info in ash" ; \
2254 (cd ash && \
2255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2257 "RANLIB=$${RANLIB}" \
2258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2259 info) \
2260 || exit 1
2262 @endif ash
2264 .PHONY: maybe-dvi-ash dvi-ash
2265 maybe-dvi-ash:
2266 @if ash
2267 maybe-dvi-ash: dvi-ash
2269 dvi-ash: \
2270 configure-ash
2271 @[ -f ./ash/Makefile ] || exit 0; \
2272 r=`${PWD_COMMAND}`; export r; \
2273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2274 $(SET_LIB_PATH) \
2275 $(HOST_EXPORTS) \
2276 for flag in $(EXTRA_HOST_FLAGS); do \
2277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2278 done; \
2279 echo "Doing dvi in ash" ; \
2280 (cd ash && \
2281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2283 "RANLIB=$${RANLIB}" \
2284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2285 dvi) \
2286 || exit 1
2288 @endif ash
2290 .PHONY: maybe-TAGS-ash TAGS-ash
2291 maybe-TAGS-ash:
2292 @if ash
2293 maybe-TAGS-ash: TAGS-ash
2295 TAGS-ash: \
2296 configure-ash
2297 @[ -f ./ash/Makefile ] || exit 0; \
2298 r=`${PWD_COMMAND}`; export r; \
2299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2300 $(SET_LIB_PATH) \
2301 $(HOST_EXPORTS) \
2302 for flag in $(EXTRA_HOST_FLAGS); do \
2303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2304 done; \
2305 echo "Doing TAGS in ash" ; \
2306 (cd ash && \
2307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2309 "RANLIB=$${RANLIB}" \
2310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2311 TAGS) \
2312 || exit 1
2314 @endif ash
2316 .PHONY: maybe-install-info-ash install-info-ash
2317 maybe-install-info-ash:
2318 @if ash
2319 maybe-install-info-ash: install-info-ash
2321 install-info-ash: \
2322 configure-ash \
2323 info-ash
2324 @[ -f ./ash/Makefile ] || exit 0; \
2325 r=`${PWD_COMMAND}`; export r; \
2326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2327 $(SET_LIB_PATH) \
2328 $(HOST_EXPORTS) \
2329 for flag in $(EXTRA_HOST_FLAGS); do \
2330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2331 done; \
2332 echo "Doing install-info in ash" ; \
2333 (cd ash && \
2334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2336 "RANLIB=$${RANLIB}" \
2337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2338 install-info) \
2339 || exit 1
2341 @endif ash
2343 .PHONY: maybe-installcheck-ash installcheck-ash
2344 maybe-installcheck-ash:
2345 @if ash
2346 maybe-installcheck-ash: installcheck-ash
2348 installcheck-ash: \
2349 configure-ash
2350 @[ -f ./ash/Makefile ] || exit 0; \
2351 r=`${PWD_COMMAND}`; export r; \
2352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2353 $(SET_LIB_PATH) \
2354 $(HOST_EXPORTS) \
2355 for flag in $(EXTRA_HOST_FLAGS); do \
2356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2357 done; \
2358 echo "Doing installcheck in ash" ; \
2359 (cd ash && \
2360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2362 "RANLIB=$${RANLIB}" \
2363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2364 installcheck) \
2365 || exit 1
2367 @endif ash
2369 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2370 maybe-mostlyclean-ash:
2371 @if ash
2372 maybe-mostlyclean-ash: mostlyclean-ash
2374 mostlyclean-ash:
2375 @[ -f ./ash/Makefile ] || exit 0; \
2376 r=`${PWD_COMMAND}`; export r; \
2377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2378 $(SET_LIB_PATH) \
2379 $(HOST_EXPORTS) \
2380 for flag in $(EXTRA_HOST_FLAGS); do \
2381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2382 done; \
2383 echo "Doing mostlyclean in ash" ; \
2384 (cd ash && \
2385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2387 "RANLIB=$${RANLIB}" \
2388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2389 mostlyclean) \
2390 || exit 1
2392 @endif ash
2394 .PHONY: maybe-clean-ash clean-ash
2395 maybe-clean-ash:
2396 @if ash
2397 maybe-clean-ash: clean-ash
2399 clean-ash:
2400 @[ -f ./ash/Makefile ] || exit 0; \
2401 r=`${PWD_COMMAND}`; export r; \
2402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2403 $(SET_LIB_PATH) \
2404 $(HOST_EXPORTS) \
2405 for flag in $(EXTRA_HOST_FLAGS); do \
2406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2407 done; \
2408 echo "Doing clean in ash" ; \
2409 (cd ash && \
2410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2412 "RANLIB=$${RANLIB}" \
2413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2414 clean) \
2415 || exit 1
2417 @endif ash
2419 .PHONY: maybe-distclean-ash distclean-ash
2420 maybe-distclean-ash:
2421 @if ash
2422 maybe-distclean-ash: distclean-ash
2424 distclean-ash:
2425 @[ -f ./ash/Makefile ] || exit 0; \
2426 r=`${PWD_COMMAND}`; export r; \
2427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2428 $(SET_LIB_PATH) \
2429 $(HOST_EXPORTS) \
2430 for flag in $(EXTRA_HOST_FLAGS); do \
2431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2432 done; \
2433 echo "Doing distclean in ash" ; \
2434 (cd ash && \
2435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2437 "RANLIB=$${RANLIB}" \
2438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2439 distclean) \
2440 || exit 1
2442 @endif ash
2444 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2445 maybe-maintainer-clean-ash:
2446 @if ash
2447 maybe-maintainer-clean-ash: maintainer-clean-ash
2449 maintainer-clean-ash:
2450 @[ -f ./ash/Makefile ] || exit 0; \
2451 r=`${PWD_COMMAND}`; export r; \
2452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2453 $(SET_LIB_PATH) \
2454 $(HOST_EXPORTS) \
2455 for flag in $(EXTRA_HOST_FLAGS); do \
2456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2457 done; \
2458 echo "Doing maintainer-clean in ash" ; \
2459 (cd ash && \
2460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2462 "RANLIB=$${RANLIB}" \
2463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2464 maintainer-clean) \
2465 || exit 1
2467 @endif ash
2470 .PHONY: configure-autoconf maybe-configure-autoconf
2471 maybe-configure-autoconf:
2472 @if autoconf
2473 maybe-configure-autoconf: configure-autoconf
2474 configure-autoconf:
2475 @test ! -f autoconf/Makefile || exit 0; \
2476 [ -d autoconf ] || mkdir autoconf; \
2477 r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479 $(HOST_EXPORTS) \
2480 echo Configuring in autoconf; \
2481 cd autoconf || exit 1; \
2482 case $(srcdir) in \
2483 \.) \
2484 srcdiroption="--srcdir=."; \
2485 libsrcdir=".";; \
2486 /* | [A-Za-z]:[\\/]*) \
2487 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2488 libsrcdir="$$s/autoconf";; \
2489 *) \
2490 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2491 libsrcdir="$$s/autoconf";; \
2492 esac; \
2493 $(SHELL) $${libsrcdir}/configure \
2494 $(HOST_CONFIGARGS) $${srcdiroption} \
2495 || exit 1
2496 @endif autoconf
2498 .PHONY: all-autoconf maybe-all-autoconf
2499 maybe-all-autoconf:
2500 @if autoconf
2501 maybe-all-autoconf: all-autoconf
2502 all-autoconf: configure-autoconf
2503 @r=`${PWD_COMMAND}`; export r; \
2504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2505 $(SET_LIB_PATH) \
2506 $(HOST_EXPORTS) \
2507 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2508 @endif autoconf
2510 .PHONY: check-autoconf maybe-check-autoconf
2511 maybe-check-autoconf:
2512 @if autoconf
2513 maybe-check-autoconf: check-autoconf
2515 check-autoconf:
2516 @r=`${PWD_COMMAND}`; export r; \
2517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518 $(SET_LIB_PATH) \
2519 $(HOST_EXPORTS) \
2520 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2522 @endif autoconf
2524 .PHONY: install-autoconf maybe-install-autoconf
2525 maybe-install-autoconf:
2526 @if autoconf
2527 maybe-install-autoconf: install-autoconf
2529 install-autoconf: installdirs
2530 @r=`${PWD_COMMAND}`; export r; \
2531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2532 $(SET_LIB_PATH) \
2533 $(HOST_EXPORTS) \
2534 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2536 @endif autoconf
2538 # Other targets (info, dvi, etc.)
2540 .PHONY: maybe-info-autoconf info-autoconf
2541 maybe-info-autoconf:
2542 @if autoconf
2543 maybe-info-autoconf: info-autoconf
2545 info-autoconf: \
2546 configure-autoconf
2547 @[ -f ./autoconf/Makefile ] || exit 0; \
2548 r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 $(SET_LIB_PATH) \
2551 $(HOST_EXPORTS) \
2552 for flag in $(EXTRA_HOST_FLAGS); do \
2553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2554 done; \
2555 echo "Doing info in autoconf" ; \
2556 (cd autoconf && \
2557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2559 "RANLIB=$${RANLIB}" \
2560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2561 info) \
2562 || exit 1
2564 @endif autoconf
2566 .PHONY: maybe-dvi-autoconf dvi-autoconf
2567 maybe-dvi-autoconf:
2568 @if autoconf
2569 maybe-dvi-autoconf: dvi-autoconf
2571 dvi-autoconf: \
2572 configure-autoconf
2573 @[ -f ./autoconf/Makefile ] || exit 0; \
2574 r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(SET_LIB_PATH) \
2577 $(HOST_EXPORTS) \
2578 for flag in $(EXTRA_HOST_FLAGS); do \
2579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2580 done; \
2581 echo "Doing dvi in autoconf" ; \
2582 (cd autoconf && \
2583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2585 "RANLIB=$${RANLIB}" \
2586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2587 dvi) \
2588 || exit 1
2590 @endif autoconf
2592 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2593 maybe-TAGS-autoconf:
2594 @if autoconf
2595 maybe-TAGS-autoconf: TAGS-autoconf
2597 TAGS-autoconf: \
2598 configure-autoconf
2599 @[ -f ./autoconf/Makefile ] || exit 0; \
2600 r=`${PWD_COMMAND}`; export r; \
2601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2602 $(SET_LIB_PATH) \
2603 $(HOST_EXPORTS) \
2604 for flag in $(EXTRA_HOST_FLAGS); do \
2605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2606 done; \
2607 echo "Doing TAGS in autoconf" ; \
2608 (cd autoconf && \
2609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2611 "RANLIB=$${RANLIB}" \
2612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2613 TAGS) \
2614 || exit 1
2616 @endif autoconf
2618 .PHONY: maybe-install-info-autoconf install-info-autoconf
2619 maybe-install-info-autoconf:
2620 @if autoconf
2621 maybe-install-info-autoconf: install-info-autoconf
2623 install-info-autoconf: \
2624 configure-autoconf \
2625 info-autoconf
2626 @[ -f ./autoconf/Makefile ] || exit 0; \
2627 r=`${PWD_COMMAND}`; export r; \
2628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2629 $(SET_LIB_PATH) \
2630 $(HOST_EXPORTS) \
2631 for flag in $(EXTRA_HOST_FLAGS); do \
2632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2633 done; \
2634 echo "Doing install-info in autoconf" ; \
2635 (cd autoconf && \
2636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2638 "RANLIB=$${RANLIB}" \
2639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2640 install-info) \
2641 || exit 1
2643 @endif autoconf
2645 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2646 maybe-installcheck-autoconf:
2647 @if autoconf
2648 maybe-installcheck-autoconf: installcheck-autoconf
2650 installcheck-autoconf: \
2651 configure-autoconf
2652 @[ -f ./autoconf/Makefile ] || exit 0; \
2653 r=`${PWD_COMMAND}`; export r; \
2654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 $(SET_LIB_PATH) \
2656 $(HOST_EXPORTS) \
2657 for flag in $(EXTRA_HOST_FLAGS); do \
2658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2659 done; \
2660 echo "Doing installcheck in autoconf" ; \
2661 (cd autoconf && \
2662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2664 "RANLIB=$${RANLIB}" \
2665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2666 installcheck) \
2667 || exit 1
2669 @endif autoconf
2671 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2672 maybe-mostlyclean-autoconf:
2673 @if autoconf
2674 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2676 mostlyclean-autoconf:
2677 @[ -f ./autoconf/Makefile ] || exit 0; \
2678 r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 $(SET_LIB_PATH) \
2681 $(HOST_EXPORTS) \
2682 for flag in $(EXTRA_HOST_FLAGS); do \
2683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2684 done; \
2685 echo "Doing mostlyclean in autoconf" ; \
2686 (cd autoconf && \
2687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2689 "RANLIB=$${RANLIB}" \
2690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2691 mostlyclean) \
2692 || exit 1
2694 @endif autoconf
2696 .PHONY: maybe-clean-autoconf clean-autoconf
2697 maybe-clean-autoconf:
2698 @if autoconf
2699 maybe-clean-autoconf: clean-autoconf
2701 clean-autoconf:
2702 @[ -f ./autoconf/Makefile ] || exit 0; \
2703 r=`${PWD_COMMAND}`; export r; \
2704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 $(SET_LIB_PATH) \
2706 $(HOST_EXPORTS) \
2707 for flag in $(EXTRA_HOST_FLAGS); do \
2708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2709 done; \
2710 echo "Doing clean in autoconf" ; \
2711 (cd autoconf && \
2712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2714 "RANLIB=$${RANLIB}" \
2715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2716 clean) \
2717 || exit 1
2719 @endif autoconf
2721 .PHONY: maybe-distclean-autoconf distclean-autoconf
2722 maybe-distclean-autoconf:
2723 @if autoconf
2724 maybe-distclean-autoconf: distclean-autoconf
2726 distclean-autoconf:
2727 @[ -f ./autoconf/Makefile ] || exit 0; \
2728 r=`${PWD_COMMAND}`; export r; \
2729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2730 $(SET_LIB_PATH) \
2731 $(HOST_EXPORTS) \
2732 for flag in $(EXTRA_HOST_FLAGS); do \
2733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2734 done; \
2735 echo "Doing distclean in autoconf" ; \
2736 (cd autoconf && \
2737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2739 "RANLIB=$${RANLIB}" \
2740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2741 distclean) \
2742 || exit 1
2744 @endif autoconf
2746 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2747 maybe-maintainer-clean-autoconf:
2748 @if autoconf
2749 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2751 maintainer-clean-autoconf:
2752 @[ -f ./autoconf/Makefile ] || exit 0; \
2753 r=`${PWD_COMMAND}`; export r; \
2754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2755 $(SET_LIB_PATH) \
2756 $(HOST_EXPORTS) \
2757 for flag in $(EXTRA_HOST_FLAGS); do \
2758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2759 done; \
2760 echo "Doing maintainer-clean in autoconf" ; \
2761 (cd autoconf && \
2762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2764 "RANLIB=$${RANLIB}" \
2765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2766 maintainer-clean) \
2767 || exit 1
2769 @endif autoconf
2772 .PHONY: configure-automake maybe-configure-automake
2773 maybe-configure-automake:
2774 @if automake
2775 maybe-configure-automake: configure-automake
2776 configure-automake:
2777 @test ! -f automake/Makefile || exit 0; \
2778 [ -d automake ] || mkdir automake; \
2779 r=`${PWD_COMMAND}`; export r; \
2780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2781 $(HOST_EXPORTS) \
2782 echo Configuring in automake; \
2783 cd automake || exit 1; \
2784 case $(srcdir) in \
2785 \.) \
2786 srcdiroption="--srcdir=."; \
2787 libsrcdir=".";; \
2788 /* | [A-Za-z]:[\\/]*) \
2789 srcdiroption="--srcdir=$(srcdir)/automake"; \
2790 libsrcdir="$$s/automake";; \
2791 *) \
2792 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2793 libsrcdir="$$s/automake";; \
2794 esac; \
2795 $(SHELL) $${libsrcdir}/configure \
2796 $(HOST_CONFIGARGS) $${srcdiroption} \
2797 || exit 1
2798 @endif automake
2800 .PHONY: all-automake maybe-all-automake
2801 maybe-all-automake:
2802 @if automake
2803 maybe-all-automake: all-automake
2804 all-automake: configure-automake
2805 @r=`${PWD_COMMAND}`; export r; \
2806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2807 $(SET_LIB_PATH) \
2808 $(HOST_EXPORTS) \
2809 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2810 @endif automake
2812 .PHONY: check-automake maybe-check-automake
2813 maybe-check-automake:
2814 @if automake
2815 maybe-check-automake: check-automake
2817 check-automake:
2818 @r=`${PWD_COMMAND}`; export r; \
2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 $(SET_LIB_PATH) \
2821 $(HOST_EXPORTS) \
2822 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2824 @endif automake
2826 .PHONY: install-automake maybe-install-automake
2827 maybe-install-automake:
2828 @if automake
2829 maybe-install-automake: install-automake
2831 install-automake: installdirs
2832 @r=`${PWD_COMMAND}`; export r; \
2833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2834 $(SET_LIB_PATH) \
2835 $(HOST_EXPORTS) \
2836 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2838 @endif automake
2840 # Other targets (info, dvi, etc.)
2842 .PHONY: maybe-info-automake info-automake
2843 maybe-info-automake:
2844 @if automake
2845 maybe-info-automake: info-automake
2847 info-automake: \
2848 configure-automake
2849 @[ -f ./automake/Makefile ] || exit 0; \
2850 r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 $(SET_LIB_PATH) \
2853 $(HOST_EXPORTS) \
2854 for flag in $(EXTRA_HOST_FLAGS); do \
2855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2856 done; \
2857 echo "Doing info in automake" ; \
2858 (cd automake && \
2859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2861 "RANLIB=$${RANLIB}" \
2862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2863 info) \
2864 || exit 1
2866 @endif automake
2868 .PHONY: maybe-dvi-automake dvi-automake
2869 maybe-dvi-automake:
2870 @if automake
2871 maybe-dvi-automake: dvi-automake
2873 dvi-automake: \
2874 configure-automake
2875 @[ -f ./automake/Makefile ] || exit 0; \
2876 r=`${PWD_COMMAND}`; export r; \
2877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2878 $(SET_LIB_PATH) \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS); do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing dvi in automake" ; \
2884 (cd automake && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 dvi) \
2890 || exit 1
2892 @endif automake
2894 .PHONY: maybe-TAGS-automake TAGS-automake
2895 maybe-TAGS-automake:
2896 @if automake
2897 maybe-TAGS-automake: TAGS-automake
2899 TAGS-automake: \
2900 configure-automake
2901 @[ -f ./automake/Makefile ] || exit 0; \
2902 r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 $(SET_LIB_PATH) \
2905 $(HOST_EXPORTS) \
2906 for flag in $(EXTRA_HOST_FLAGS); do \
2907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2908 done; \
2909 echo "Doing TAGS in automake" ; \
2910 (cd automake && \
2911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2913 "RANLIB=$${RANLIB}" \
2914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2915 TAGS) \
2916 || exit 1
2918 @endif automake
2920 .PHONY: maybe-install-info-automake install-info-automake
2921 maybe-install-info-automake:
2922 @if automake
2923 maybe-install-info-automake: install-info-automake
2925 install-info-automake: \
2926 configure-automake \
2927 info-automake
2928 @[ -f ./automake/Makefile ] || exit 0; \
2929 r=`${PWD_COMMAND}`; export r; \
2930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2931 $(SET_LIB_PATH) \
2932 $(HOST_EXPORTS) \
2933 for flag in $(EXTRA_HOST_FLAGS); do \
2934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2935 done; \
2936 echo "Doing install-info in automake" ; \
2937 (cd automake && \
2938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2940 "RANLIB=$${RANLIB}" \
2941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2942 install-info) \
2943 || exit 1
2945 @endif automake
2947 .PHONY: maybe-installcheck-automake installcheck-automake
2948 maybe-installcheck-automake:
2949 @if automake
2950 maybe-installcheck-automake: installcheck-automake
2952 installcheck-automake: \
2953 configure-automake
2954 @[ -f ./automake/Makefile ] || exit 0; \
2955 r=`${PWD_COMMAND}`; export r; \
2956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2957 $(SET_LIB_PATH) \
2958 $(HOST_EXPORTS) \
2959 for flag in $(EXTRA_HOST_FLAGS); do \
2960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2961 done; \
2962 echo "Doing installcheck in automake" ; \
2963 (cd automake && \
2964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2966 "RANLIB=$${RANLIB}" \
2967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2968 installcheck) \
2969 || exit 1
2971 @endif automake
2973 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2974 maybe-mostlyclean-automake:
2975 @if automake
2976 maybe-mostlyclean-automake: mostlyclean-automake
2978 mostlyclean-automake:
2979 @[ -f ./automake/Makefile ] || exit 0; \
2980 r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 $(SET_LIB_PATH) \
2983 $(HOST_EXPORTS) \
2984 for flag in $(EXTRA_HOST_FLAGS); do \
2985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2986 done; \
2987 echo "Doing mostlyclean in automake" ; \
2988 (cd automake && \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2991 "RANLIB=$${RANLIB}" \
2992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2993 mostlyclean) \
2994 || exit 1
2996 @endif automake
2998 .PHONY: maybe-clean-automake clean-automake
2999 maybe-clean-automake:
3000 @if automake
3001 maybe-clean-automake: clean-automake
3003 clean-automake:
3004 @[ -f ./automake/Makefile ] || exit 0; \
3005 r=`${PWD_COMMAND}`; export r; \
3006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 $(SET_LIB_PATH) \
3008 $(HOST_EXPORTS) \
3009 for flag in $(EXTRA_HOST_FLAGS); do \
3010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3011 done; \
3012 echo "Doing clean in automake" ; \
3013 (cd automake && \
3014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3016 "RANLIB=$${RANLIB}" \
3017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018 clean) \
3019 || exit 1
3021 @endif automake
3023 .PHONY: maybe-distclean-automake distclean-automake
3024 maybe-distclean-automake:
3025 @if automake
3026 maybe-distclean-automake: distclean-automake
3028 distclean-automake:
3029 @[ -f ./automake/Makefile ] || exit 0; \
3030 r=`${PWD_COMMAND}`; export r; \
3031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3032 $(SET_LIB_PATH) \
3033 $(HOST_EXPORTS) \
3034 for flag in $(EXTRA_HOST_FLAGS); do \
3035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3036 done; \
3037 echo "Doing distclean in automake" ; \
3038 (cd automake && \
3039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3041 "RANLIB=$${RANLIB}" \
3042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3043 distclean) \
3044 || exit 1
3046 @endif automake
3048 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3049 maybe-maintainer-clean-automake:
3050 @if automake
3051 maybe-maintainer-clean-automake: maintainer-clean-automake
3053 maintainer-clean-automake:
3054 @[ -f ./automake/Makefile ] || exit 0; \
3055 r=`${PWD_COMMAND}`; export r; \
3056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3057 $(SET_LIB_PATH) \
3058 $(HOST_EXPORTS) \
3059 for flag in $(EXTRA_HOST_FLAGS); do \
3060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3061 done; \
3062 echo "Doing maintainer-clean in automake" ; \
3063 (cd automake && \
3064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3066 "RANLIB=$${RANLIB}" \
3067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3068 maintainer-clean) \
3069 || exit 1
3071 @endif automake
3074 .PHONY: configure-bash maybe-configure-bash
3075 maybe-configure-bash:
3076 @if bash
3077 maybe-configure-bash: configure-bash
3078 configure-bash:
3079 @test ! -f bash/Makefile || exit 0; \
3080 [ -d bash ] || mkdir bash; \
3081 r=`${PWD_COMMAND}`; export r; \
3082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3083 $(HOST_EXPORTS) \
3084 echo Configuring in bash; \
3085 cd bash || exit 1; \
3086 case $(srcdir) in \
3087 \.) \
3088 srcdiroption="--srcdir=."; \
3089 libsrcdir=".";; \
3090 /* | [A-Za-z]:[\\/]*) \
3091 srcdiroption="--srcdir=$(srcdir)/bash"; \
3092 libsrcdir="$$s/bash";; \
3093 *) \
3094 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3095 libsrcdir="$$s/bash";; \
3096 esac; \
3097 $(SHELL) $${libsrcdir}/configure \
3098 $(HOST_CONFIGARGS) $${srcdiroption} \
3099 || exit 1
3100 @endif bash
3102 .PHONY: all-bash maybe-all-bash
3103 maybe-all-bash:
3104 @if bash
3105 maybe-all-bash: all-bash
3106 all-bash: configure-bash
3107 @r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 $(SET_LIB_PATH) \
3110 $(HOST_EXPORTS) \
3111 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3112 @endif bash
3114 .PHONY: check-bash maybe-check-bash
3115 maybe-check-bash:
3116 @if bash
3117 maybe-check-bash: check-bash
3119 check-bash:
3120 @r=`${PWD_COMMAND}`; export r; \
3121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 $(SET_LIB_PATH) \
3123 $(HOST_EXPORTS) \
3124 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3126 @endif bash
3128 .PHONY: install-bash maybe-install-bash
3129 maybe-install-bash:
3130 @if bash
3131 maybe-install-bash: install-bash
3133 install-bash: installdirs
3134 @r=`${PWD_COMMAND}`; export r; \
3135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3136 $(SET_LIB_PATH) \
3137 $(HOST_EXPORTS) \
3138 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3140 @endif bash
3142 # Other targets (info, dvi, etc.)
3144 .PHONY: maybe-info-bash info-bash
3145 maybe-info-bash:
3146 @if bash
3147 maybe-info-bash: info-bash
3149 info-bash: \
3150 configure-bash
3151 @[ -f ./bash/Makefile ] || exit 0; \
3152 r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 $(SET_LIB_PATH) \
3155 $(HOST_EXPORTS) \
3156 for flag in $(EXTRA_HOST_FLAGS); do \
3157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3158 done; \
3159 echo "Doing info in bash" ; \
3160 (cd bash && \
3161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3163 "RANLIB=$${RANLIB}" \
3164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3165 info) \
3166 || exit 1
3168 @endif bash
3170 .PHONY: maybe-dvi-bash dvi-bash
3171 maybe-dvi-bash:
3172 @if bash
3173 maybe-dvi-bash: dvi-bash
3175 dvi-bash: \
3176 configure-bash
3177 @[ -f ./bash/Makefile ] || exit 0; \
3178 r=`${PWD_COMMAND}`; export r; \
3179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 $(SET_LIB_PATH) \
3181 $(HOST_EXPORTS) \
3182 for flag in $(EXTRA_HOST_FLAGS); do \
3183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3184 done; \
3185 echo "Doing dvi in bash" ; \
3186 (cd bash && \
3187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3189 "RANLIB=$${RANLIB}" \
3190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3191 dvi) \
3192 || exit 1
3194 @endif bash
3196 .PHONY: maybe-TAGS-bash TAGS-bash
3197 maybe-TAGS-bash:
3198 @if bash
3199 maybe-TAGS-bash: TAGS-bash
3201 TAGS-bash: \
3202 configure-bash
3203 @[ -f ./bash/Makefile ] || exit 0; \
3204 r=`${PWD_COMMAND}`; export r; \
3205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3206 $(SET_LIB_PATH) \
3207 $(HOST_EXPORTS) \
3208 for flag in $(EXTRA_HOST_FLAGS); do \
3209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 done; \
3211 echo "Doing TAGS in bash" ; \
3212 (cd bash && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3215 "RANLIB=$${RANLIB}" \
3216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3217 TAGS) \
3218 || exit 1
3220 @endif bash
3222 .PHONY: maybe-install-info-bash install-info-bash
3223 maybe-install-info-bash:
3224 @if bash
3225 maybe-install-info-bash: install-info-bash
3227 install-info-bash: \
3228 configure-bash \
3229 info-bash
3230 @[ -f ./bash/Makefile ] || exit 0; \
3231 r=`${PWD_COMMAND}`; export r; \
3232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3233 $(SET_LIB_PATH) \
3234 $(HOST_EXPORTS) \
3235 for flag in $(EXTRA_HOST_FLAGS); do \
3236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3237 done; \
3238 echo "Doing install-info in bash" ; \
3239 (cd bash && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3242 "RANLIB=$${RANLIB}" \
3243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3244 install-info) \
3245 || exit 1
3247 @endif bash
3249 .PHONY: maybe-installcheck-bash installcheck-bash
3250 maybe-installcheck-bash:
3251 @if bash
3252 maybe-installcheck-bash: installcheck-bash
3254 installcheck-bash: \
3255 configure-bash
3256 @[ -f ./bash/Makefile ] || exit 0; \
3257 r=`${PWD_COMMAND}`; export r; \
3258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3259 $(SET_LIB_PATH) \
3260 $(HOST_EXPORTS) \
3261 for flag in $(EXTRA_HOST_FLAGS); do \
3262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3263 done; \
3264 echo "Doing installcheck in bash" ; \
3265 (cd bash && \
3266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3268 "RANLIB=$${RANLIB}" \
3269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3270 installcheck) \
3271 || exit 1
3273 @endif bash
3275 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3276 maybe-mostlyclean-bash:
3277 @if bash
3278 maybe-mostlyclean-bash: mostlyclean-bash
3280 mostlyclean-bash:
3281 @[ -f ./bash/Makefile ] || exit 0; \
3282 r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 $(SET_LIB_PATH) \
3285 $(HOST_EXPORTS) \
3286 for flag in $(EXTRA_HOST_FLAGS); do \
3287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3288 done; \
3289 echo "Doing mostlyclean in bash" ; \
3290 (cd bash && \
3291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3293 "RANLIB=$${RANLIB}" \
3294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3295 mostlyclean) \
3296 || exit 1
3298 @endif bash
3300 .PHONY: maybe-clean-bash clean-bash
3301 maybe-clean-bash:
3302 @if bash
3303 maybe-clean-bash: clean-bash
3305 clean-bash:
3306 @[ -f ./bash/Makefile ] || exit 0; \
3307 r=`${PWD_COMMAND}`; export r; \
3308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3309 $(SET_LIB_PATH) \
3310 $(HOST_EXPORTS) \
3311 for flag in $(EXTRA_HOST_FLAGS); do \
3312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3313 done; \
3314 echo "Doing clean in bash" ; \
3315 (cd bash && \
3316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3318 "RANLIB=$${RANLIB}" \
3319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3320 clean) \
3321 || exit 1
3323 @endif bash
3325 .PHONY: maybe-distclean-bash distclean-bash
3326 maybe-distclean-bash:
3327 @if bash
3328 maybe-distclean-bash: distclean-bash
3330 distclean-bash:
3331 @[ -f ./bash/Makefile ] || exit 0; \
3332 r=`${PWD_COMMAND}`; export r; \
3333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3334 $(SET_LIB_PATH) \
3335 $(HOST_EXPORTS) \
3336 for flag in $(EXTRA_HOST_FLAGS); do \
3337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3338 done; \
3339 echo "Doing distclean in bash" ; \
3340 (cd bash && \
3341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3343 "RANLIB=$${RANLIB}" \
3344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3345 distclean) \
3346 || exit 1
3348 @endif bash
3350 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3351 maybe-maintainer-clean-bash:
3352 @if bash
3353 maybe-maintainer-clean-bash: maintainer-clean-bash
3355 maintainer-clean-bash:
3356 @[ -f ./bash/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 maintainer-clean in bash" ; \
3365 (cd bash && \
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 maintainer-clean) \
3371 || exit 1
3373 @endif bash
3376 .PHONY: configure-bfd maybe-configure-bfd
3377 maybe-configure-bfd:
3378 @if bfd
3379 maybe-configure-bfd: configure-bfd
3380 configure-bfd:
3381 @test ! -f bfd/Makefile || exit 0; \
3382 [ -d bfd ] || mkdir bfd; \
3383 r=`${PWD_COMMAND}`; export r; \
3384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3385 $(HOST_EXPORTS) \
3386 echo Configuring in bfd; \
3387 cd bfd || exit 1; \
3388 case $(srcdir) in \
3389 \.) \
3390 srcdiroption="--srcdir=."; \
3391 libsrcdir=".";; \
3392 /* | [A-Za-z]:[\\/]*) \
3393 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3394 libsrcdir="$$s/bfd";; \
3395 *) \
3396 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3397 libsrcdir="$$s/bfd";; \
3398 esac; \
3399 $(SHELL) $${libsrcdir}/configure \
3400 $(HOST_CONFIGARGS) $${srcdiroption} \
3401 || exit 1
3402 @endif bfd
3404 .PHONY: all-bfd maybe-all-bfd
3405 maybe-all-bfd:
3406 @if bfd
3407 maybe-all-bfd: all-bfd
3408 all-bfd: configure-bfd
3409 @r=`${PWD_COMMAND}`; export r; \
3410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411 $(SET_LIB_PATH) \
3412 $(HOST_EXPORTS) \
3413 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3414 @endif bfd
3416 .PHONY: check-bfd maybe-check-bfd
3417 maybe-check-bfd:
3418 @if bfd
3419 maybe-check-bfd: check-bfd
3421 check-bfd:
3422 @r=`${PWD_COMMAND}`; export r; \
3423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424 $(SET_LIB_PATH) \
3425 $(HOST_EXPORTS) \
3426 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3428 @endif bfd
3430 .PHONY: install-bfd maybe-install-bfd
3431 maybe-install-bfd:
3432 @if bfd
3433 maybe-install-bfd: install-bfd
3435 install-bfd: installdirs
3436 @r=`${PWD_COMMAND}`; export r; \
3437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3438 $(SET_LIB_PATH) \
3439 $(HOST_EXPORTS) \
3440 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3442 @endif bfd
3444 # Other targets (info, dvi, etc.)
3446 .PHONY: maybe-info-bfd info-bfd
3447 maybe-info-bfd:
3448 @if bfd
3449 maybe-info-bfd: info-bfd
3451 info-bfd: \
3452 configure-bfd
3453 @[ -f ./bfd/Makefile ] || exit 0; \
3454 r=`${PWD_COMMAND}`; export r; \
3455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3456 $(SET_LIB_PATH) \
3457 $(HOST_EXPORTS) \
3458 for flag in $(EXTRA_HOST_FLAGS); do \
3459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3460 done; \
3461 echo "Doing info in bfd" ; \
3462 (cd bfd && \
3463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3465 "RANLIB=$${RANLIB}" \
3466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3467 info) \
3468 || exit 1
3470 @endif bfd
3472 .PHONY: maybe-dvi-bfd dvi-bfd
3473 maybe-dvi-bfd:
3474 @if bfd
3475 maybe-dvi-bfd: dvi-bfd
3477 dvi-bfd: \
3478 configure-bfd
3479 @[ -f ./bfd/Makefile ] || exit 0; \
3480 r=`${PWD_COMMAND}`; export r; \
3481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3482 $(SET_LIB_PATH) \
3483 $(HOST_EXPORTS) \
3484 for flag in $(EXTRA_HOST_FLAGS); do \
3485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3486 done; \
3487 echo "Doing dvi in bfd" ; \
3488 (cd bfd && \
3489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3491 "RANLIB=$${RANLIB}" \
3492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3493 dvi) \
3494 || exit 1
3496 @endif bfd
3498 .PHONY: maybe-TAGS-bfd TAGS-bfd
3499 maybe-TAGS-bfd:
3500 @if bfd
3501 maybe-TAGS-bfd: TAGS-bfd
3503 TAGS-bfd: \
3504 configure-bfd
3505 @[ -f ./bfd/Makefile ] || exit 0; \
3506 r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 $(SET_LIB_PATH) \
3509 $(HOST_EXPORTS) \
3510 for flag in $(EXTRA_HOST_FLAGS); do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3512 done; \
3513 echo "Doing TAGS in bfd" ; \
3514 (cd bfd && \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3519 TAGS) \
3520 || exit 1
3522 @endif bfd
3524 .PHONY: maybe-install-info-bfd install-info-bfd
3525 maybe-install-info-bfd:
3526 @if bfd
3527 maybe-install-info-bfd: install-info-bfd
3529 install-info-bfd: \
3530 configure-bfd \
3531 info-bfd
3532 @[ -f ./bfd/Makefile ] || exit 0; \
3533 r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(SET_LIB_PATH) \
3536 $(HOST_EXPORTS) \
3537 for flag in $(EXTRA_HOST_FLAGS); do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3539 done; \
3540 echo "Doing install-info in bfd" ; \
3541 (cd bfd && \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3546 install-info) \
3547 || exit 1
3549 @endif bfd
3551 .PHONY: maybe-installcheck-bfd installcheck-bfd
3552 maybe-installcheck-bfd:
3553 @if bfd
3554 maybe-installcheck-bfd: installcheck-bfd
3556 installcheck-bfd: \
3557 configure-bfd
3558 @[ -f ./bfd/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3561 $(SET_LIB_PATH) \
3562 $(HOST_EXPORTS) \
3563 for flag in $(EXTRA_HOST_FLAGS); do \
3564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3565 done; \
3566 echo "Doing installcheck in bfd" ; \
3567 (cd bfd && \
3568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3570 "RANLIB=$${RANLIB}" \
3571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3572 installcheck) \
3573 || exit 1
3575 @endif bfd
3577 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3578 maybe-mostlyclean-bfd:
3579 @if bfd
3580 maybe-mostlyclean-bfd: mostlyclean-bfd
3582 mostlyclean-bfd:
3583 @[ -f ./bfd/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(SET_LIB_PATH) \
3587 $(HOST_EXPORTS) \
3588 for flag in $(EXTRA_HOST_FLAGS); do \
3589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3590 done; \
3591 echo "Doing mostlyclean in bfd" ; \
3592 (cd bfd && \
3593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3595 "RANLIB=$${RANLIB}" \
3596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3597 mostlyclean) \
3598 || exit 1
3600 @endif bfd
3602 .PHONY: maybe-clean-bfd clean-bfd
3603 maybe-clean-bfd:
3604 @if bfd
3605 maybe-clean-bfd: clean-bfd
3607 clean-bfd:
3608 @[ -f ./bfd/Makefile ] || exit 0; \
3609 r=`${PWD_COMMAND}`; export r; \
3610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3611 $(SET_LIB_PATH) \
3612 $(HOST_EXPORTS) \
3613 for flag in $(EXTRA_HOST_FLAGS); do \
3614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3615 done; \
3616 echo "Doing clean in bfd" ; \
3617 (cd bfd && \
3618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3620 "RANLIB=$${RANLIB}" \
3621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3622 clean) \
3623 || exit 1
3625 @endif bfd
3627 .PHONY: maybe-distclean-bfd distclean-bfd
3628 maybe-distclean-bfd:
3629 @if bfd
3630 maybe-distclean-bfd: distclean-bfd
3632 distclean-bfd:
3633 @[ -f ./bfd/Makefile ] || exit 0; \
3634 r=`${PWD_COMMAND}`; export r; \
3635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3636 $(SET_LIB_PATH) \
3637 $(HOST_EXPORTS) \
3638 for flag in $(EXTRA_HOST_FLAGS); do \
3639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3640 done; \
3641 echo "Doing distclean in bfd" ; \
3642 (cd bfd && \
3643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3645 "RANLIB=$${RANLIB}" \
3646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3647 distclean) \
3648 || exit 1
3650 @endif bfd
3652 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3653 maybe-maintainer-clean-bfd:
3654 @if bfd
3655 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3657 maintainer-clean-bfd:
3658 @[ -f ./bfd/Makefile ] || exit 0; \
3659 r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 $(SET_LIB_PATH) \
3662 $(HOST_EXPORTS) \
3663 for flag in $(EXTRA_HOST_FLAGS); do \
3664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3665 done; \
3666 echo "Doing maintainer-clean in bfd" ; \
3667 (cd bfd && \
3668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3670 "RANLIB=$${RANLIB}" \
3671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3672 maintainer-clean) \
3673 || exit 1
3675 @endif bfd
3678 .PHONY: configure-opcodes maybe-configure-opcodes
3679 maybe-configure-opcodes:
3680 @if opcodes
3681 maybe-configure-opcodes: configure-opcodes
3682 configure-opcodes:
3683 @test ! -f opcodes/Makefile || exit 0; \
3684 [ -d opcodes ] || mkdir opcodes; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 $(HOST_EXPORTS) \
3688 echo Configuring in opcodes; \
3689 cd opcodes || exit 1; \
3690 case $(srcdir) in \
3691 \.) \
3692 srcdiroption="--srcdir=."; \
3693 libsrcdir=".";; \
3694 /* | [A-Za-z]:[\\/]*) \
3695 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3696 libsrcdir="$$s/opcodes";; \
3697 *) \
3698 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3699 libsrcdir="$$s/opcodes";; \
3700 esac; \
3701 $(SHELL) $${libsrcdir}/configure \
3702 $(HOST_CONFIGARGS) $${srcdiroption} \
3703 || exit 1
3704 @endif opcodes
3706 .PHONY: all-opcodes maybe-all-opcodes
3707 maybe-all-opcodes:
3708 @if opcodes
3709 maybe-all-opcodes: all-opcodes
3710 all-opcodes: configure-opcodes
3711 @r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(SET_LIB_PATH) \
3714 $(HOST_EXPORTS) \
3715 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3716 @endif opcodes
3718 .PHONY: check-opcodes maybe-check-opcodes
3719 maybe-check-opcodes:
3720 @if opcodes
3721 maybe-check-opcodes: check-opcodes
3723 check-opcodes:
3724 @r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(SET_LIB_PATH) \
3727 $(HOST_EXPORTS) \
3728 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3730 @endif opcodes
3732 .PHONY: install-opcodes maybe-install-opcodes
3733 maybe-install-opcodes:
3734 @if opcodes
3735 maybe-install-opcodes: install-opcodes
3737 install-opcodes: installdirs
3738 @r=`${PWD_COMMAND}`; export r; \
3739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3740 $(SET_LIB_PATH) \
3741 $(HOST_EXPORTS) \
3742 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3744 @endif opcodes
3746 # Other targets (info, dvi, etc.)
3748 .PHONY: maybe-info-opcodes info-opcodes
3749 maybe-info-opcodes:
3750 @if opcodes
3751 maybe-info-opcodes: info-opcodes
3753 info-opcodes: \
3754 configure-opcodes
3755 @[ -f ./opcodes/Makefile ] || exit 0; \
3756 r=`${PWD_COMMAND}`; export r; \
3757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3758 $(SET_LIB_PATH) \
3759 $(HOST_EXPORTS) \
3760 for flag in $(EXTRA_HOST_FLAGS); do \
3761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3762 done; \
3763 echo "Doing info in opcodes" ; \
3764 (cd opcodes && \
3765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3767 "RANLIB=$${RANLIB}" \
3768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3769 info) \
3770 || exit 1
3772 @endif opcodes
3774 .PHONY: maybe-dvi-opcodes dvi-opcodes
3775 maybe-dvi-opcodes:
3776 @if opcodes
3777 maybe-dvi-opcodes: dvi-opcodes
3779 dvi-opcodes: \
3780 configure-opcodes
3781 @[ -f ./opcodes/Makefile ] || exit 0; \
3782 r=`${PWD_COMMAND}`; export r; \
3783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3784 $(SET_LIB_PATH) \
3785 $(HOST_EXPORTS) \
3786 for flag in $(EXTRA_HOST_FLAGS); do \
3787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3788 done; \
3789 echo "Doing dvi in opcodes" ; \
3790 (cd opcodes && \
3791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3793 "RANLIB=$${RANLIB}" \
3794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3795 dvi) \
3796 || exit 1
3798 @endif opcodes
3800 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3801 maybe-TAGS-opcodes:
3802 @if opcodes
3803 maybe-TAGS-opcodes: TAGS-opcodes
3805 TAGS-opcodes: \
3806 configure-opcodes
3807 @[ -f ./opcodes/Makefile ] || exit 0; \
3808 r=`${PWD_COMMAND}`; export r; \
3809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3810 $(SET_LIB_PATH) \
3811 $(HOST_EXPORTS) \
3812 for flag in $(EXTRA_HOST_FLAGS); do \
3813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3814 done; \
3815 echo "Doing TAGS in opcodes" ; \
3816 (cd opcodes && \
3817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3819 "RANLIB=$${RANLIB}" \
3820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3821 TAGS) \
3822 || exit 1
3824 @endif opcodes
3826 .PHONY: maybe-install-info-opcodes install-info-opcodes
3827 maybe-install-info-opcodes:
3828 @if opcodes
3829 maybe-install-info-opcodes: install-info-opcodes
3831 install-info-opcodes: \
3832 configure-opcodes \
3833 info-opcodes
3834 @[ -f ./opcodes/Makefile ] || exit 0; \
3835 r=`${PWD_COMMAND}`; export r; \
3836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3837 $(SET_LIB_PATH) \
3838 $(HOST_EXPORTS) \
3839 for flag in $(EXTRA_HOST_FLAGS); do \
3840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3841 done; \
3842 echo "Doing install-info in opcodes" ; \
3843 (cd opcodes && \
3844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846 "RANLIB=$${RANLIB}" \
3847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3848 install-info) \
3849 || exit 1
3851 @endif opcodes
3853 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3854 maybe-installcheck-opcodes:
3855 @if opcodes
3856 maybe-installcheck-opcodes: installcheck-opcodes
3858 installcheck-opcodes: \
3859 configure-opcodes
3860 @[ -f ./opcodes/Makefile ] || exit 0; \
3861 r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 $(SET_LIB_PATH) \
3864 $(HOST_EXPORTS) \
3865 for flag in $(EXTRA_HOST_FLAGS); do \
3866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3867 done; \
3868 echo "Doing installcheck in opcodes" ; \
3869 (cd opcodes && \
3870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3872 "RANLIB=$${RANLIB}" \
3873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3874 installcheck) \
3875 || exit 1
3877 @endif opcodes
3879 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3880 maybe-mostlyclean-opcodes:
3881 @if opcodes
3882 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3884 mostlyclean-opcodes:
3885 @[ -f ./opcodes/Makefile ] || exit 0; \
3886 r=`${PWD_COMMAND}`; export r; \
3887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3888 $(SET_LIB_PATH) \
3889 $(HOST_EXPORTS) \
3890 for flag in $(EXTRA_HOST_FLAGS); do \
3891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3892 done; \
3893 echo "Doing mostlyclean in opcodes" ; \
3894 (cd opcodes && \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897 "RANLIB=$${RANLIB}" \
3898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3899 mostlyclean) \
3900 || exit 1
3902 @endif opcodes
3904 .PHONY: maybe-clean-opcodes clean-opcodes
3905 maybe-clean-opcodes:
3906 @if opcodes
3907 maybe-clean-opcodes: clean-opcodes
3909 clean-opcodes:
3910 @[ -f ./opcodes/Makefile ] || exit 0; \
3911 r=`${PWD_COMMAND}`; export r; \
3912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3913 $(SET_LIB_PATH) \
3914 $(HOST_EXPORTS) \
3915 for flag in $(EXTRA_HOST_FLAGS); do \
3916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3917 done; \
3918 echo "Doing clean in opcodes" ; \
3919 (cd opcodes && \
3920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3922 "RANLIB=$${RANLIB}" \
3923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3924 clean) \
3925 || exit 1
3927 @endif opcodes
3929 .PHONY: maybe-distclean-opcodes distclean-opcodes
3930 maybe-distclean-opcodes:
3931 @if opcodes
3932 maybe-distclean-opcodes: distclean-opcodes
3934 distclean-opcodes:
3935 @[ -f ./opcodes/Makefile ] || exit 0; \
3936 r=`${PWD_COMMAND}`; export r; \
3937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3938 $(SET_LIB_PATH) \
3939 $(HOST_EXPORTS) \
3940 for flag in $(EXTRA_HOST_FLAGS); do \
3941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3942 done; \
3943 echo "Doing distclean in opcodes" ; \
3944 (cd opcodes && \
3945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3947 "RANLIB=$${RANLIB}" \
3948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3949 distclean) \
3950 || exit 1
3952 @endif opcodes
3954 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3955 maybe-maintainer-clean-opcodes:
3956 @if opcodes
3957 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3959 maintainer-clean-opcodes:
3960 @[ -f ./opcodes/Makefile ] || exit 0; \
3961 r=`${PWD_COMMAND}`; export r; \
3962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3963 $(SET_LIB_PATH) \
3964 $(HOST_EXPORTS) \
3965 for flag in $(EXTRA_HOST_FLAGS); do \
3966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3967 done; \
3968 echo "Doing maintainer-clean in opcodes" ; \
3969 (cd opcodes && \
3970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3972 "RANLIB=$${RANLIB}" \
3973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3974 maintainer-clean) \
3975 || exit 1
3977 @endif opcodes
3980 .PHONY: configure-binutils maybe-configure-binutils
3981 maybe-configure-binutils:
3982 @if binutils
3983 maybe-configure-binutils: configure-binutils
3984 configure-binutils:
3985 @test ! -f binutils/Makefile || exit 0; \
3986 [ -d binutils ] || mkdir binutils; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 echo Configuring in binutils; \
3991 cd binutils || exit 1; \
3992 case $(srcdir) in \
3993 \.) \
3994 srcdiroption="--srcdir=."; \
3995 libsrcdir=".";; \
3996 /* | [A-Za-z]:[\\/]*) \
3997 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3998 libsrcdir="$$s/binutils";; \
3999 *) \
4000 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4001 libsrcdir="$$s/binutils";; \
4002 esac; \
4003 $(SHELL) $${libsrcdir}/configure \
4004 $(HOST_CONFIGARGS) $${srcdiroption} \
4005 || exit 1
4006 @endif binutils
4008 .PHONY: all-binutils maybe-all-binutils
4009 maybe-all-binutils:
4010 @if binutils
4011 maybe-all-binutils: all-binutils
4012 all-binutils: configure-binutils
4013 @r=`${PWD_COMMAND}`; export r; \
4014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4015 $(SET_LIB_PATH) \
4016 $(HOST_EXPORTS) \
4017 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4018 @endif binutils
4020 .PHONY: check-binutils maybe-check-binutils
4021 maybe-check-binutils:
4022 @if binutils
4023 maybe-check-binutils: check-binutils
4025 check-binutils:
4026 @r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 $(SET_LIB_PATH) \
4029 $(HOST_EXPORTS) \
4030 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4032 @endif binutils
4034 .PHONY: install-binutils maybe-install-binutils
4035 maybe-install-binutils:
4036 @if binutils
4037 maybe-install-binutils: install-binutils
4039 install-binutils: installdirs
4040 @r=`${PWD_COMMAND}`; export r; \
4041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4042 $(SET_LIB_PATH) \
4043 $(HOST_EXPORTS) \
4044 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4046 @endif binutils
4048 # Other targets (info, dvi, etc.)
4050 .PHONY: maybe-info-binutils info-binutils
4051 maybe-info-binutils:
4052 @if binutils
4053 maybe-info-binutils: info-binutils
4055 info-binutils: \
4056 configure-binutils
4057 @[ -f ./binutils/Makefile ] || exit 0; \
4058 r=`${PWD_COMMAND}`; export r; \
4059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4060 $(SET_LIB_PATH) \
4061 $(HOST_EXPORTS) \
4062 for flag in $(EXTRA_HOST_FLAGS); do \
4063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4064 done; \
4065 echo "Doing info in binutils" ; \
4066 (cd binutils && \
4067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4069 "RANLIB=$${RANLIB}" \
4070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4071 info) \
4072 || exit 1
4074 @endif binutils
4076 .PHONY: maybe-dvi-binutils dvi-binutils
4077 maybe-dvi-binutils:
4078 @if binutils
4079 maybe-dvi-binutils: dvi-binutils
4081 dvi-binutils: \
4082 configure-binutils
4083 @[ -f ./binutils/Makefile ] || exit 0; \
4084 r=`${PWD_COMMAND}`; export r; \
4085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4086 $(SET_LIB_PATH) \
4087 $(HOST_EXPORTS) \
4088 for flag in $(EXTRA_HOST_FLAGS); do \
4089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4090 done; \
4091 echo "Doing dvi in binutils" ; \
4092 (cd binutils && \
4093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4095 "RANLIB=$${RANLIB}" \
4096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4097 dvi) \
4098 || exit 1
4100 @endif binutils
4102 .PHONY: maybe-TAGS-binutils TAGS-binutils
4103 maybe-TAGS-binutils:
4104 @if binutils
4105 maybe-TAGS-binutils: TAGS-binutils
4107 TAGS-binutils: \
4108 configure-binutils
4109 @[ -f ./binutils/Makefile ] || exit 0; \
4110 r=`${PWD_COMMAND}`; export r; \
4111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4112 $(SET_LIB_PATH) \
4113 $(HOST_EXPORTS) \
4114 for flag in $(EXTRA_HOST_FLAGS); do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing TAGS in binutils" ; \
4118 (cd binutils && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 TAGS) \
4124 || exit 1
4126 @endif binutils
4128 .PHONY: maybe-install-info-binutils install-info-binutils
4129 maybe-install-info-binutils:
4130 @if binutils
4131 maybe-install-info-binutils: install-info-binutils
4133 install-info-binutils: \
4134 configure-binutils \
4135 info-binutils
4136 @[ -f ./binutils/Makefile ] || exit 0; \
4137 r=`${PWD_COMMAND}`; export r; \
4138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4139 $(SET_LIB_PATH) \
4140 $(HOST_EXPORTS) \
4141 for flag in $(EXTRA_HOST_FLAGS); do \
4142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4143 done; \
4144 echo "Doing install-info in binutils" ; \
4145 (cd binutils && \
4146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4148 "RANLIB=$${RANLIB}" \
4149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4150 install-info) \
4151 || exit 1
4153 @endif binutils
4155 .PHONY: maybe-installcheck-binutils installcheck-binutils
4156 maybe-installcheck-binutils:
4157 @if binutils
4158 maybe-installcheck-binutils: installcheck-binutils
4160 installcheck-binutils: \
4161 configure-binutils
4162 @[ -f ./binutils/Makefile ] || exit 0; \
4163 r=`${PWD_COMMAND}`; export r; \
4164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4165 $(SET_LIB_PATH) \
4166 $(HOST_EXPORTS) \
4167 for flag in $(EXTRA_HOST_FLAGS); do \
4168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4169 done; \
4170 echo "Doing installcheck in binutils" ; \
4171 (cd binutils && \
4172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4174 "RANLIB=$${RANLIB}" \
4175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4176 installcheck) \
4177 || exit 1
4179 @endif binutils
4181 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4182 maybe-mostlyclean-binutils:
4183 @if binutils
4184 maybe-mostlyclean-binutils: mostlyclean-binutils
4186 mostlyclean-binutils:
4187 @[ -f ./binutils/Makefile ] || exit 0; \
4188 r=`${PWD_COMMAND}`; export r; \
4189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4190 $(SET_LIB_PATH) \
4191 $(HOST_EXPORTS) \
4192 for flag in $(EXTRA_HOST_FLAGS); do \
4193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4194 done; \
4195 echo "Doing mostlyclean in binutils" ; \
4196 (cd binutils && \
4197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4199 "RANLIB=$${RANLIB}" \
4200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4201 mostlyclean) \
4202 || exit 1
4204 @endif binutils
4206 .PHONY: maybe-clean-binutils clean-binutils
4207 maybe-clean-binutils:
4208 @if binutils
4209 maybe-clean-binutils: clean-binutils
4211 clean-binutils:
4212 @[ -f ./binutils/Makefile ] || exit 0; \
4213 r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 $(SET_LIB_PATH) \
4216 $(HOST_EXPORTS) \
4217 for flag in $(EXTRA_HOST_FLAGS); do \
4218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4219 done; \
4220 echo "Doing clean in binutils" ; \
4221 (cd binutils && \
4222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4224 "RANLIB=$${RANLIB}" \
4225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4226 clean) \
4227 || exit 1
4229 @endif binutils
4231 .PHONY: maybe-distclean-binutils distclean-binutils
4232 maybe-distclean-binutils:
4233 @if binutils
4234 maybe-distclean-binutils: distclean-binutils
4236 distclean-binutils:
4237 @[ -f ./binutils/Makefile ] || exit 0; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 $(SET_LIB_PATH) \
4241 $(HOST_EXPORTS) \
4242 for flag in $(EXTRA_HOST_FLAGS); do \
4243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4244 done; \
4245 echo "Doing distclean in binutils" ; \
4246 (cd binutils && \
4247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4249 "RANLIB=$${RANLIB}" \
4250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4251 distclean) \
4252 || exit 1
4254 @endif binutils
4256 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4257 maybe-maintainer-clean-binutils:
4258 @if binutils
4259 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4261 maintainer-clean-binutils:
4262 @[ -f ./binutils/Makefile ] || exit 0; \
4263 r=`${PWD_COMMAND}`; export r; \
4264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4265 $(SET_LIB_PATH) \
4266 $(HOST_EXPORTS) \
4267 for flag in $(EXTRA_HOST_FLAGS); do \
4268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4269 done; \
4270 echo "Doing maintainer-clean in binutils" ; \
4271 (cd binutils && \
4272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4274 "RANLIB=$${RANLIB}" \
4275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4276 maintainer-clean) \
4277 || exit 1
4279 @endif binutils
4282 .PHONY: configure-bison maybe-configure-bison
4283 maybe-configure-bison:
4284 @if bison
4285 maybe-configure-bison: configure-bison
4286 configure-bison:
4287 @test ! -f bison/Makefile || exit 0; \
4288 [ -d bison ] || mkdir bison; \
4289 r=`${PWD_COMMAND}`; export r; \
4290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 $(HOST_EXPORTS) \
4292 echo Configuring in bison; \
4293 cd bison || exit 1; \
4294 case $(srcdir) in \
4295 \.) \
4296 srcdiroption="--srcdir=."; \
4297 libsrcdir=".";; \
4298 /* | [A-Za-z]:[\\/]*) \
4299 srcdiroption="--srcdir=$(srcdir)/bison"; \
4300 libsrcdir="$$s/bison";; \
4301 *) \
4302 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4303 libsrcdir="$$s/bison";; \
4304 esac; \
4305 $(SHELL) $${libsrcdir}/configure \
4306 $(HOST_CONFIGARGS) $${srcdiroption} \
4307 || exit 1
4308 @endif bison
4310 .PHONY: all-bison maybe-all-bison
4311 maybe-all-bison:
4312 @if bison
4313 maybe-all-bison: all-bison
4314 all-bison: configure-bison
4315 @r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 $(SET_LIB_PATH) \
4318 $(HOST_EXPORTS) \
4319 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4320 @endif bison
4322 .PHONY: check-bison maybe-check-bison
4323 maybe-check-bison:
4324 @if bison
4325 maybe-check-bison: check-bison
4327 # This module is only tested in a native toolchain.
4328 check-bison:
4329 @if [ '$(host)' = '$(target)' ] ; then \
4330 r=`${PWD_COMMAND}`; export r; \
4331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 $(SET_LIB_PATH) \
4333 $(HOST_EXPORTS) \
4334 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4337 @endif bison
4339 .PHONY: install-bison maybe-install-bison
4340 maybe-install-bison:
4341 @if bison
4342 maybe-install-bison: install-bison
4344 install-bison: installdirs
4345 @r=`${PWD_COMMAND}`; export r; \
4346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4347 $(SET_LIB_PATH) \
4348 $(HOST_EXPORTS) \
4349 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4351 @endif bison
4353 # Other targets (info, dvi, etc.)
4355 .PHONY: maybe-info-bison info-bison
4356 maybe-info-bison:
4357 @if bison
4358 maybe-info-bison: info-bison
4360 info-bison: \
4361 configure-bison
4362 @[ -f ./bison/Makefile ] || exit 0; \
4363 r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 $(SET_LIB_PATH) \
4366 $(HOST_EXPORTS) \
4367 for flag in $(EXTRA_HOST_FLAGS); do \
4368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4369 done; \
4370 echo "Doing info in bison" ; \
4371 (cd bison && \
4372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4374 "RANLIB=$${RANLIB}" \
4375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4376 info) \
4377 || exit 1
4379 @endif bison
4381 .PHONY: maybe-dvi-bison dvi-bison
4382 maybe-dvi-bison:
4383 @if bison
4384 maybe-dvi-bison: dvi-bison
4386 dvi-bison: \
4387 configure-bison
4388 @[ -f ./bison/Makefile ] || exit 0; \
4389 r=`${PWD_COMMAND}`; export r; \
4390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4391 $(SET_LIB_PATH) \
4392 $(HOST_EXPORTS) \
4393 for flag in $(EXTRA_HOST_FLAGS); do \
4394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4395 done; \
4396 echo "Doing dvi in bison" ; \
4397 (cd bison && \
4398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4400 "RANLIB=$${RANLIB}" \
4401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4402 dvi) \
4403 || exit 1
4405 @endif bison
4407 .PHONY: maybe-TAGS-bison TAGS-bison
4408 maybe-TAGS-bison:
4409 @if bison
4410 maybe-TAGS-bison: TAGS-bison
4412 TAGS-bison: \
4413 configure-bison
4414 @[ -f ./bison/Makefile ] || exit 0; \
4415 r=`${PWD_COMMAND}`; export r; \
4416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4417 $(SET_LIB_PATH) \
4418 $(HOST_EXPORTS) \
4419 for flag in $(EXTRA_HOST_FLAGS); do \
4420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4421 done; \
4422 echo "Doing TAGS in bison" ; \
4423 (cd bison && \
4424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4426 "RANLIB=$${RANLIB}" \
4427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4428 TAGS) \
4429 || exit 1
4431 @endif bison
4433 .PHONY: maybe-install-info-bison install-info-bison
4434 maybe-install-info-bison:
4435 @if bison
4436 maybe-install-info-bison: install-info-bison
4438 install-info-bison: \
4439 configure-bison \
4440 info-bison
4441 @[ -f ./bison/Makefile ] || exit 0; \
4442 r=`${PWD_COMMAND}`; export r; \
4443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4444 $(SET_LIB_PATH) \
4445 $(HOST_EXPORTS) \
4446 for flag in $(EXTRA_HOST_FLAGS); do \
4447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4448 done; \
4449 echo "Doing install-info in bison" ; \
4450 (cd bison && \
4451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4453 "RANLIB=$${RANLIB}" \
4454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4455 install-info) \
4456 || exit 1
4458 @endif bison
4460 .PHONY: maybe-installcheck-bison installcheck-bison
4461 maybe-installcheck-bison:
4462 @if bison
4463 maybe-installcheck-bison: installcheck-bison
4465 installcheck-bison: \
4466 configure-bison
4467 @[ -f ./bison/Makefile ] || exit 0; \
4468 r=`${PWD_COMMAND}`; export r; \
4469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4470 $(SET_LIB_PATH) \
4471 $(HOST_EXPORTS) \
4472 for flag in $(EXTRA_HOST_FLAGS); do \
4473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4474 done; \
4475 echo "Doing installcheck in bison" ; \
4476 (cd bison && \
4477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4479 "RANLIB=$${RANLIB}" \
4480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4481 installcheck) \
4482 || exit 1
4484 @endif bison
4486 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4487 maybe-mostlyclean-bison:
4488 @if bison
4489 maybe-mostlyclean-bison: mostlyclean-bison
4491 mostlyclean-bison:
4492 @[ -f ./bison/Makefile ] || exit 0; \
4493 r=`${PWD_COMMAND}`; export r; \
4494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 $(SET_LIB_PATH) \
4496 $(HOST_EXPORTS) \
4497 for flag in $(EXTRA_HOST_FLAGS); do \
4498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4499 done; \
4500 echo "Doing mostlyclean in bison" ; \
4501 (cd bison && \
4502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4504 "RANLIB=$${RANLIB}" \
4505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4506 mostlyclean) \
4507 || exit 1
4509 @endif bison
4511 .PHONY: maybe-clean-bison clean-bison
4512 maybe-clean-bison:
4513 @if bison
4514 maybe-clean-bison: clean-bison
4516 clean-bison:
4517 @[ -f ./bison/Makefile ] || exit 0; \
4518 r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4520 $(SET_LIB_PATH) \
4521 $(HOST_EXPORTS) \
4522 for flag in $(EXTRA_HOST_FLAGS); do \
4523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4524 done; \
4525 echo "Doing clean in bison" ; \
4526 (cd bison && \
4527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4529 "RANLIB=$${RANLIB}" \
4530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4531 clean) \
4532 || exit 1
4534 @endif bison
4536 .PHONY: maybe-distclean-bison distclean-bison
4537 maybe-distclean-bison:
4538 @if bison
4539 maybe-distclean-bison: distclean-bison
4541 distclean-bison:
4542 @[ -f ./bison/Makefile ] || exit 0; \
4543 r=`${PWD_COMMAND}`; export r; \
4544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4545 $(SET_LIB_PATH) \
4546 $(HOST_EXPORTS) \
4547 for flag in $(EXTRA_HOST_FLAGS); do \
4548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4549 done; \
4550 echo "Doing distclean in bison" ; \
4551 (cd bison && \
4552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4554 "RANLIB=$${RANLIB}" \
4555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4556 distclean) \
4557 || exit 1
4559 @endif bison
4561 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4562 maybe-maintainer-clean-bison:
4563 @if bison
4564 maybe-maintainer-clean-bison: maintainer-clean-bison
4566 maintainer-clean-bison:
4567 @[ -f ./bison/Makefile ] || exit 0; \
4568 r=`${PWD_COMMAND}`; export r; \
4569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4570 $(SET_LIB_PATH) \
4571 $(HOST_EXPORTS) \
4572 for flag in $(EXTRA_HOST_FLAGS); do \
4573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4574 done; \
4575 echo "Doing maintainer-clean in bison" ; \
4576 (cd bison && \
4577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4579 "RANLIB=$${RANLIB}" \
4580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4581 maintainer-clean) \
4582 || exit 1
4584 @endif bison
4587 .PHONY: configure-byacc maybe-configure-byacc
4588 maybe-configure-byacc:
4589 @if byacc
4590 maybe-configure-byacc: configure-byacc
4591 configure-byacc:
4592 @test ! -f byacc/Makefile || exit 0; \
4593 [ -d byacc ] || mkdir byacc; \
4594 r=`${PWD_COMMAND}`; export r; \
4595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4596 $(HOST_EXPORTS) \
4597 echo Configuring in byacc; \
4598 cd byacc || exit 1; \
4599 case $(srcdir) in \
4600 \.) \
4601 srcdiroption="--srcdir=."; \
4602 libsrcdir=".";; \
4603 /* | [A-Za-z]:[\\/]*) \
4604 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4605 libsrcdir="$$s/byacc";; \
4606 *) \
4607 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4608 libsrcdir="$$s/byacc";; \
4609 esac; \
4610 $(SHELL) $${libsrcdir}/configure \
4611 $(HOST_CONFIGARGS) $${srcdiroption} \
4612 || exit 1
4613 @endif byacc
4615 .PHONY: all-byacc maybe-all-byacc
4616 maybe-all-byacc:
4617 @if byacc
4618 maybe-all-byacc: all-byacc
4619 all-byacc: configure-byacc
4620 @r=`${PWD_COMMAND}`; export r; \
4621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4622 $(SET_LIB_PATH) \
4623 $(HOST_EXPORTS) \
4624 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4625 @endif byacc
4627 .PHONY: check-byacc maybe-check-byacc
4628 maybe-check-byacc:
4629 @if byacc
4630 maybe-check-byacc: check-byacc
4632 # This module is only tested in a native toolchain.
4633 check-byacc:
4634 @if [ '$(host)' = '$(target)' ] ; then \
4635 r=`${PWD_COMMAND}`; export r; \
4636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4637 $(SET_LIB_PATH) \
4638 $(HOST_EXPORTS) \
4639 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4642 @endif byacc
4644 .PHONY: install-byacc maybe-install-byacc
4645 maybe-install-byacc:
4646 @if byacc
4647 maybe-install-byacc: install-byacc
4649 install-byacc: installdirs
4650 @r=`${PWD_COMMAND}`; export r; \
4651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 $(SET_LIB_PATH) \
4653 $(HOST_EXPORTS) \
4654 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4656 @endif byacc
4658 # Other targets (info, dvi, etc.)
4660 .PHONY: maybe-info-byacc info-byacc
4661 maybe-info-byacc:
4662 @if byacc
4663 maybe-info-byacc: info-byacc
4665 info-byacc: \
4666 configure-byacc
4667 @[ -f ./byacc/Makefile ] || exit 0; \
4668 r=`${PWD_COMMAND}`; export r; \
4669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4670 $(SET_LIB_PATH) \
4671 $(HOST_EXPORTS) \
4672 for flag in $(EXTRA_HOST_FLAGS); do \
4673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4674 done; \
4675 echo "Doing info in byacc" ; \
4676 (cd byacc && \
4677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4679 "RANLIB=$${RANLIB}" \
4680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4681 info) \
4682 || exit 1
4684 @endif byacc
4686 .PHONY: maybe-dvi-byacc dvi-byacc
4687 maybe-dvi-byacc:
4688 @if byacc
4689 maybe-dvi-byacc: dvi-byacc
4691 dvi-byacc: \
4692 configure-byacc
4693 @[ -f ./byacc/Makefile ] || exit 0; \
4694 r=`${PWD_COMMAND}`; export r; \
4695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696 $(SET_LIB_PATH) \
4697 $(HOST_EXPORTS) \
4698 for flag in $(EXTRA_HOST_FLAGS); do \
4699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4700 done; \
4701 echo "Doing dvi in byacc" ; \
4702 (cd byacc && \
4703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4705 "RANLIB=$${RANLIB}" \
4706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4707 dvi) \
4708 || exit 1
4710 @endif byacc
4712 .PHONY: maybe-TAGS-byacc TAGS-byacc
4713 maybe-TAGS-byacc:
4714 @if byacc
4715 maybe-TAGS-byacc: TAGS-byacc
4717 TAGS-byacc: \
4718 configure-byacc
4719 @[ -f ./byacc/Makefile ] || exit 0; \
4720 r=`${PWD_COMMAND}`; export r; \
4721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4722 $(SET_LIB_PATH) \
4723 $(HOST_EXPORTS) \
4724 for flag in $(EXTRA_HOST_FLAGS); do \
4725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4726 done; \
4727 echo "Doing TAGS in byacc" ; \
4728 (cd byacc && \
4729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4731 "RANLIB=$${RANLIB}" \
4732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4733 TAGS) \
4734 || exit 1
4736 @endif byacc
4738 .PHONY: maybe-install-info-byacc install-info-byacc
4739 maybe-install-info-byacc:
4740 @if byacc
4741 maybe-install-info-byacc: install-info-byacc
4743 install-info-byacc: \
4744 configure-byacc \
4745 info-byacc
4746 @[ -f ./byacc/Makefile ] || exit 0; \
4747 r=`${PWD_COMMAND}`; export r; \
4748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4749 $(SET_LIB_PATH) \
4750 $(HOST_EXPORTS) \
4751 for flag in $(EXTRA_HOST_FLAGS); do \
4752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4753 done; \
4754 echo "Doing install-info in byacc" ; \
4755 (cd byacc && \
4756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4758 "RANLIB=$${RANLIB}" \
4759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4760 install-info) \
4761 || exit 1
4763 @endif byacc
4765 .PHONY: maybe-installcheck-byacc installcheck-byacc
4766 maybe-installcheck-byacc:
4767 @if byacc
4768 maybe-installcheck-byacc: installcheck-byacc
4770 installcheck-byacc: \
4771 configure-byacc
4772 @[ -f ./byacc/Makefile ] || exit 0; \
4773 r=`${PWD_COMMAND}`; export r; \
4774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4775 $(SET_LIB_PATH) \
4776 $(HOST_EXPORTS) \
4777 for flag in $(EXTRA_HOST_FLAGS); do \
4778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4779 done; \
4780 echo "Doing installcheck in byacc" ; \
4781 (cd byacc && \
4782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4784 "RANLIB=$${RANLIB}" \
4785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4786 installcheck) \
4787 || exit 1
4789 @endif byacc
4791 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4792 maybe-mostlyclean-byacc:
4793 @if byacc
4794 maybe-mostlyclean-byacc: mostlyclean-byacc
4796 mostlyclean-byacc:
4797 @[ -f ./byacc/Makefile ] || exit 0; \
4798 r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 $(SET_LIB_PATH) \
4801 $(HOST_EXPORTS) \
4802 for flag in $(EXTRA_HOST_FLAGS); do \
4803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4804 done; \
4805 echo "Doing mostlyclean in byacc" ; \
4806 (cd byacc && \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4809 "RANLIB=$${RANLIB}" \
4810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4811 mostlyclean) \
4812 || exit 1
4814 @endif byacc
4816 .PHONY: maybe-clean-byacc clean-byacc
4817 maybe-clean-byacc:
4818 @if byacc
4819 maybe-clean-byacc: clean-byacc
4821 clean-byacc:
4822 @[ -f ./byacc/Makefile ] || exit 0; \
4823 r=`${PWD_COMMAND}`; export r; \
4824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4825 $(SET_LIB_PATH) \
4826 $(HOST_EXPORTS) \
4827 for flag in $(EXTRA_HOST_FLAGS); do \
4828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4829 done; \
4830 echo "Doing clean in byacc" ; \
4831 (cd byacc && \
4832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4834 "RANLIB=$${RANLIB}" \
4835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4836 clean) \
4837 || exit 1
4839 @endif byacc
4841 .PHONY: maybe-distclean-byacc distclean-byacc
4842 maybe-distclean-byacc:
4843 @if byacc
4844 maybe-distclean-byacc: distclean-byacc
4846 distclean-byacc:
4847 @[ -f ./byacc/Makefile ] || exit 0; \
4848 r=`${PWD_COMMAND}`; export r; \
4849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850 $(SET_LIB_PATH) \
4851 $(HOST_EXPORTS) \
4852 for flag in $(EXTRA_HOST_FLAGS); do \
4853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 done; \
4855 echo "Doing distclean in byacc" ; \
4856 (cd byacc && \
4857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4859 "RANLIB=$${RANLIB}" \
4860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4861 distclean) \
4862 || exit 1
4864 @endif byacc
4866 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4867 maybe-maintainer-clean-byacc:
4868 @if byacc
4869 maybe-maintainer-clean-byacc: maintainer-clean-byacc
4871 maintainer-clean-byacc:
4872 @[ -f ./byacc/Makefile ] || exit 0; \
4873 r=`${PWD_COMMAND}`; export r; \
4874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 $(SET_LIB_PATH) \
4876 $(HOST_EXPORTS) \
4877 for flag in $(EXTRA_HOST_FLAGS); do \
4878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4879 done; \
4880 echo "Doing maintainer-clean in byacc" ; \
4881 (cd byacc && \
4882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4884 "RANLIB=$${RANLIB}" \
4885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4886 maintainer-clean) \
4887 || exit 1
4889 @endif byacc
4892 .PHONY: configure-bzip2 maybe-configure-bzip2
4893 maybe-configure-bzip2:
4894 @if bzip2
4895 maybe-configure-bzip2: configure-bzip2
4896 configure-bzip2:
4897 @test ! -f bzip2/Makefile || exit 0; \
4898 [ -d bzip2 ] || mkdir bzip2; \
4899 r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(HOST_EXPORTS) \
4902 echo Configuring in bzip2; \
4903 cd bzip2 || exit 1; \
4904 case $(srcdir) in \
4905 \.) \
4906 srcdiroption="--srcdir=."; \
4907 libsrcdir=".";; \
4908 /* | [A-Za-z]:[\\/]*) \
4909 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4910 libsrcdir="$$s/bzip2";; \
4911 *) \
4912 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4913 libsrcdir="$$s/bzip2";; \
4914 esac; \
4915 $(SHELL) $${libsrcdir}/configure \
4916 $(HOST_CONFIGARGS) $${srcdiroption} \
4917 || exit 1
4918 @endif bzip2
4920 .PHONY: all-bzip2 maybe-all-bzip2
4921 maybe-all-bzip2:
4922 @if bzip2
4923 maybe-all-bzip2: all-bzip2
4924 all-bzip2: configure-bzip2
4925 @r=`${PWD_COMMAND}`; export r; \
4926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4927 $(SET_LIB_PATH) \
4928 $(HOST_EXPORTS) \
4929 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4930 @endif bzip2
4932 .PHONY: check-bzip2 maybe-check-bzip2
4933 maybe-check-bzip2:
4934 @if bzip2
4935 maybe-check-bzip2: check-bzip2
4937 check-bzip2:
4938 @r=`${PWD_COMMAND}`; export r; \
4939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 $(SET_LIB_PATH) \
4941 $(HOST_EXPORTS) \
4942 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4944 @endif bzip2
4946 .PHONY: install-bzip2 maybe-install-bzip2
4947 maybe-install-bzip2:
4948 @if bzip2
4949 maybe-install-bzip2: install-bzip2
4951 install-bzip2: installdirs
4952 @r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 $(SET_LIB_PATH) \
4955 $(HOST_EXPORTS) \
4956 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4958 @endif bzip2
4960 # Other targets (info, dvi, etc.)
4962 .PHONY: maybe-info-bzip2 info-bzip2
4963 maybe-info-bzip2:
4964 @if bzip2
4965 maybe-info-bzip2: info-bzip2
4967 info-bzip2: \
4968 configure-bzip2
4969 @[ -f ./bzip2/Makefile ] || exit 0; \
4970 r=`${PWD_COMMAND}`; export r; \
4971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4972 $(SET_LIB_PATH) \
4973 $(HOST_EXPORTS) \
4974 for flag in $(EXTRA_HOST_FLAGS); do \
4975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4976 done; \
4977 echo "Doing info in bzip2" ; \
4978 (cd bzip2 && \
4979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4981 "RANLIB=$${RANLIB}" \
4982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4983 info) \
4984 || exit 1
4986 @endif bzip2
4988 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4989 maybe-dvi-bzip2:
4990 @if bzip2
4991 maybe-dvi-bzip2: dvi-bzip2
4993 dvi-bzip2: \
4994 configure-bzip2
4995 @[ -f ./bzip2/Makefile ] || exit 0; \
4996 r=`${PWD_COMMAND}`; export r; \
4997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4998 $(SET_LIB_PATH) \
4999 $(HOST_EXPORTS) \
5000 for flag in $(EXTRA_HOST_FLAGS); do \
5001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5002 done; \
5003 echo "Doing dvi in bzip2" ; \
5004 (cd bzip2 && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5007 "RANLIB=$${RANLIB}" \
5008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5009 dvi) \
5010 || exit 1
5012 @endif bzip2
5014 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5015 maybe-TAGS-bzip2:
5016 @if bzip2
5017 maybe-TAGS-bzip2: TAGS-bzip2
5019 TAGS-bzip2: \
5020 configure-bzip2
5021 @[ -f ./bzip2/Makefile ] || exit 0; \
5022 r=`${PWD_COMMAND}`; export r; \
5023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 $(SET_LIB_PATH) \
5025 $(HOST_EXPORTS) \
5026 for flag in $(EXTRA_HOST_FLAGS); do \
5027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5028 done; \
5029 echo "Doing TAGS in bzip2" ; \
5030 (cd bzip2 && \
5031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5033 "RANLIB=$${RANLIB}" \
5034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5035 TAGS) \
5036 || exit 1
5038 @endif bzip2
5040 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5041 maybe-install-info-bzip2:
5042 @if bzip2
5043 maybe-install-info-bzip2: install-info-bzip2
5045 install-info-bzip2: \
5046 configure-bzip2 \
5047 info-bzip2
5048 @[ -f ./bzip2/Makefile ] || exit 0; \
5049 r=`${PWD_COMMAND}`; export r; \
5050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5051 $(SET_LIB_PATH) \
5052 $(HOST_EXPORTS) \
5053 for flag in $(EXTRA_HOST_FLAGS); do \
5054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5055 done; \
5056 echo "Doing install-info in bzip2" ; \
5057 (cd bzip2 && \
5058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5060 "RANLIB=$${RANLIB}" \
5061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5062 install-info) \
5063 || exit 1
5065 @endif bzip2
5067 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5068 maybe-installcheck-bzip2:
5069 @if bzip2
5070 maybe-installcheck-bzip2: installcheck-bzip2
5072 installcheck-bzip2: \
5073 configure-bzip2
5074 @[ -f ./bzip2/Makefile ] || exit 0; \
5075 r=`${PWD_COMMAND}`; export r; \
5076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5077 $(SET_LIB_PATH) \
5078 $(HOST_EXPORTS) \
5079 for flag in $(EXTRA_HOST_FLAGS); do \
5080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5081 done; \
5082 echo "Doing installcheck in bzip2" ; \
5083 (cd bzip2 && \
5084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5086 "RANLIB=$${RANLIB}" \
5087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5088 installcheck) \
5089 || exit 1
5091 @endif bzip2
5093 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5094 maybe-mostlyclean-bzip2:
5095 @if bzip2
5096 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5098 mostlyclean-bzip2:
5099 @[ -f ./bzip2/Makefile ] || exit 0; \
5100 r=`${PWD_COMMAND}`; export r; \
5101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5102 $(SET_LIB_PATH) \
5103 $(HOST_EXPORTS) \
5104 for flag in $(EXTRA_HOST_FLAGS); do \
5105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5106 done; \
5107 echo "Doing mostlyclean in bzip2" ; \
5108 (cd bzip2 && \
5109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5111 "RANLIB=$${RANLIB}" \
5112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5113 mostlyclean) \
5114 || exit 1
5116 @endif bzip2
5118 .PHONY: maybe-clean-bzip2 clean-bzip2
5119 maybe-clean-bzip2:
5120 @if bzip2
5121 maybe-clean-bzip2: clean-bzip2
5123 clean-bzip2:
5124 @[ -f ./bzip2/Makefile ] || exit 0; \
5125 r=`${PWD_COMMAND}`; export r; \
5126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5127 $(SET_LIB_PATH) \
5128 $(HOST_EXPORTS) \
5129 for flag in $(EXTRA_HOST_FLAGS); do \
5130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5131 done; \
5132 echo "Doing clean in bzip2" ; \
5133 (cd bzip2 && \
5134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5136 "RANLIB=$${RANLIB}" \
5137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5138 clean) \
5139 || exit 1
5141 @endif bzip2
5143 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5144 maybe-distclean-bzip2:
5145 @if bzip2
5146 maybe-distclean-bzip2: distclean-bzip2
5148 distclean-bzip2:
5149 @[ -f ./bzip2/Makefile ] || exit 0; \
5150 r=`${PWD_COMMAND}`; export r; \
5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 $(SET_LIB_PATH) \
5153 $(HOST_EXPORTS) \
5154 for flag in $(EXTRA_HOST_FLAGS); do \
5155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5156 done; \
5157 echo "Doing distclean in bzip2" ; \
5158 (cd bzip2 && \
5159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5161 "RANLIB=$${RANLIB}" \
5162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5163 distclean) \
5164 || exit 1
5166 @endif bzip2
5168 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5169 maybe-maintainer-clean-bzip2:
5170 @if bzip2
5171 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5173 maintainer-clean-bzip2:
5174 @[ -f ./bzip2/Makefile ] || exit 0; \
5175 r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 $(SET_LIB_PATH) \
5178 $(HOST_EXPORTS) \
5179 for flag in $(EXTRA_HOST_FLAGS); do \
5180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5181 done; \
5182 echo "Doing maintainer-clean in bzip2" ; \
5183 (cd bzip2 && \
5184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5186 "RANLIB=$${RANLIB}" \
5187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5188 maintainer-clean) \
5189 || exit 1
5191 @endif bzip2
5194 .PHONY: configure-dejagnu maybe-configure-dejagnu
5195 maybe-configure-dejagnu:
5196 @if dejagnu
5197 maybe-configure-dejagnu: configure-dejagnu
5198 configure-dejagnu:
5199 @test ! -f dejagnu/Makefile || exit 0; \
5200 [ -d dejagnu ] || mkdir dejagnu; \
5201 r=`${PWD_COMMAND}`; export r; \
5202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5203 $(HOST_EXPORTS) \
5204 echo Configuring in dejagnu; \
5205 cd dejagnu || exit 1; \
5206 case $(srcdir) in \
5207 \.) \
5208 srcdiroption="--srcdir=."; \
5209 libsrcdir=".";; \
5210 /* | [A-Za-z]:[\\/]*) \
5211 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5212 libsrcdir="$$s/dejagnu";; \
5213 *) \
5214 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5215 libsrcdir="$$s/dejagnu";; \
5216 esac; \
5217 $(SHELL) $${libsrcdir}/configure \
5218 $(HOST_CONFIGARGS) $${srcdiroption} \
5219 || exit 1
5220 @endif dejagnu
5222 .PHONY: all-dejagnu maybe-all-dejagnu
5223 maybe-all-dejagnu:
5224 @if dejagnu
5225 maybe-all-dejagnu: all-dejagnu
5226 all-dejagnu: configure-dejagnu
5227 @r=`${PWD_COMMAND}`; export r; \
5228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5229 $(SET_LIB_PATH) \
5230 $(HOST_EXPORTS) \
5231 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5232 @endif dejagnu
5234 .PHONY: check-dejagnu maybe-check-dejagnu
5235 maybe-check-dejagnu:
5236 @if dejagnu
5237 maybe-check-dejagnu: check-dejagnu
5239 check-dejagnu:
5240 @r=`${PWD_COMMAND}`; export r; \
5241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5242 $(SET_LIB_PATH) \
5243 $(HOST_EXPORTS) \
5244 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5246 @endif dejagnu
5248 .PHONY: install-dejagnu maybe-install-dejagnu
5249 maybe-install-dejagnu:
5250 @if dejagnu
5251 maybe-install-dejagnu: install-dejagnu
5253 install-dejagnu: installdirs
5254 @r=`${PWD_COMMAND}`; export r; \
5255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5256 $(SET_LIB_PATH) \
5257 $(HOST_EXPORTS) \
5258 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5260 @endif dejagnu
5262 # Other targets (info, dvi, etc.)
5264 .PHONY: maybe-info-dejagnu info-dejagnu
5265 maybe-info-dejagnu:
5266 @if dejagnu
5267 maybe-info-dejagnu: info-dejagnu
5269 info-dejagnu: \
5270 configure-dejagnu
5271 @[ -f ./dejagnu/Makefile ] || exit 0; \
5272 r=`${PWD_COMMAND}`; export r; \
5273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5274 $(SET_LIB_PATH) \
5275 $(HOST_EXPORTS) \
5276 for flag in $(EXTRA_HOST_FLAGS); do \
5277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5278 done; \
5279 echo "Doing info in dejagnu" ; \
5280 (cd dejagnu && \
5281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5283 "RANLIB=$${RANLIB}" \
5284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5285 info) \
5286 || exit 1
5288 @endif dejagnu
5290 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5291 maybe-dvi-dejagnu:
5292 @if dejagnu
5293 maybe-dvi-dejagnu: dvi-dejagnu
5295 dvi-dejagnu: \
5296 configure-dejagnu
5297 @[ -f ./dejagnu/Makefile ] || exit 0; \
5298 r=`${PWD_COMMAND}`; export r; \
5299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5300 $(SET_LIB_PATH) \
5301 $(HOST_EXPORTS) \
5302 for flag in $(EXTRA_HOST_FLAGS); do \
5303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5304 done; \
5305 echo "Doing dvi in dejagnu" ; \
5306 (cd dejagnu && \
5307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5309 "RANLIB=$${RANLIB}" \
5310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5311 dvi) \
5312 || exit 1
5314 @endif dejagnu
5316 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5317 maybe-TAGS-dejagnu:
5318 @if dejagnu
5319 maybe-TAGS-dejagnu: TAGS-dejagnu
5321 TAGS-dejagnu: \
5322 configure-dejagnu
5323 @[ -f ./dejagnu/Makefile ] || exit 0; \
5324 r=`${PWD_COMMAND}`; export r; \
5325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5326 $(SET_LIB_PATH) \
5327 $(HOST_EXPORTS) \
5328 for flag in $(EXTRA_HOST_FLAGS); do \
5329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5330 done; \
5331 echo "Doing TAGS in dejagnu" ; \
5332 (cd dejagnu && \
5333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5335 "RANLIB=$${RANLIB}" \
5336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5337 TAGS) \
5338 || exit 1
5340 @endif dejagnu
5342 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5343 maybe-install-info-dejagnu:
5344 @if dejagnu
5345 maybe-install-info-dejagnu: install-info-dejagnu
5347 install-info-dejagnu: \
5348 configure-dejagnu \
5349 info-dejagnu
5350 @[ -f ./dejagnu/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(SET_LIB_PATH) \
5354 $(HOST_EXPORTS) \
5355 for flag in $(EXTRA_HOST_FLAGS); do \
5356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5357 done; \
5358 echo "Doing install-info in dejagnu" ; \
5359 (cd dejagnu && \
5360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5362 "RANLIB=$${RANLIB}" \
5363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5364 install-info) \
5365 || exit 1
5367 @endif dejagnu
5369 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5370 maybe-installcheck-dejagnu:
5371 @if dejagnu
5372 maybe-installcheck-dejagnu: installcheck-dejagnu
5374 installcheck-dejagnu: \
5375 configure-dejagnu
5376 @[ -f ./dejagnu/Makefile ] || exit 0; \
5377 r=`${PWD_COMMAND}`; export r; \
5378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5379 $(SET_LIB_PATH) \
5380 $(HOST_EXPORTS) \
5381 for flag in $(EXTRA_HOST_FLAGS); do \
5382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5383 done; \
5384 echo "Doing installcheck in dejagnu" ; \
5385 (cd dejagnu && \
5386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5388 "RANLIB=$${RANLIB}" \
5389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5390 installcheck) \
5391 || exit 1
5393 @endif dejagnu
5395 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5396 maybe-mostlyclean-dejagnu:
5397 @if dejagnu
5398 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5400 mostlyclean-dejagnu:
5401 @[ -f ./dejagnu/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(SET_LIB_PATH) \
5405 $(HOST_EXPORTS) \
5406 for flag in $(EXTRA_HOST_FLAGS); do \
5407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5408 done; \
5409 echo "Doing mostlyclean in dejagnu" ; \
5410 (cd dejagnu && \
5411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5413 "RANLIB=$${RANLIB}" \
5414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5415 mostlyclean) \
5416 || exit 1
5418 @endif dejagnu
5420 .PHONY: maybe-clean-dejagnu clean-dejagnu
5421 maybe-clean-dejagnu:
5422 @if dejagnu
5423 maybe-clean-dejagnu: clean-dejagnu
5425 clean-dejagnu:
5426 @[ -f ./dejagnu/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 clean in dejagnu" ; \
5435 (cd dejagnu && \
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 clean) \
5441 || exit 1
5443 @endif dejagnu
5445 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5446 maybe-distclean-dejagnu:
5447 @if dejagnu
5448 maybe-distclean-dejagnu: distclean-dejagnu
5450 distclean-dejagnu:
5451 @[ -f ./dejagnu/Makefile ] || exit 0; \
5452 r=`${PWD_COMMAND}`; export r; \
5453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5454 $(SET_LIB_PATH) \
5455 $(HOST_EXPORTS) \
5456 for flag in $(EXTRA_HOST_FLAGS); do \
5457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5458 done; \
5459 echo "Doing distclean in dejagnu" ; \
5460 (cd dejagnu && \
5461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5463 "RANLIB=$${RANLIB}" \
5464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5465 distclean) \
5466 || exit 1
5468 @endif dejagnu
5470 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5471 maybe-maintainer-clean-dejagnu:
5472 @if dejagnu
5473 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5475 maintainer-clean-dejagnu:
5476 @[ -f ./dejagnu/Makefile ] || exit 0; \
5477 r=`${PWD_COMMAND}`; export r; \
5478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5479 $(SET_LIB_PATH) \
5480 $(HOST_EXPORTS) \
5481 for flag in $(EXTRA_HOST_FLAGS); do \
5482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5483 done; \
5484 echo "Doing maintainer-clean in dejagnu" ; \
5485 (cd dejagnu && \
5486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5488 "RANLIB=$${RANLIB}" \
5489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5490 maintainer-clean) \
5491 || exit 1
5493 @endif dejagnu
5496 .PHONY: configure-diff maybe-configure-diff
5497 maybe-configure-diff:
5498 @if diff
5499 maybe-configure-diff: configure-diff
5500 configure-diff:
5501 @test ! -f diff/Makefile || exit 0; \
5502 [ -d diff ] || mkdir diff; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(HOST_EXPORTS) \
5506 echo Configuring in diff; \
5507 cd diff || exit 1; \
5508 case $(srcdir) in \
5509 \.) \
5510 srcdiroption="--srcdir=."; \
5511 libsrcdir=".";; \
5512 /* | [A-Za-z]:[\\/]*) \
5513 srcdiroption="--srcdir=$(srcdir)/diff"; \
5514 libsrcdir="$$s/diff";; \
5515 *) \
5516 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5517 libsrcdir="$$s/diff";; \
5518 esac; \
5519 $(SHELL) $${libsrcdir}/configure \
5520 $(HOST_CONFIGARGS) $${srcdiroption} \
5521 || exit 1
5522 @endif diff
5524 .PHONY: all-diff maybe-all-diff
5525 maybe-all-diff:
5526 @if diff
5527 maybe-all-diff: all-diff
5528 all-diff: configure-diff
5529 @r=`${PWD_COMMAND}`; export r; \
5530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5531 $(SET_LIB_PATH) \
5532 $(HOST_EXPORTS) \
5533 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5534 @endif diff
5536 .PHONY: check-diff maybe-check-diff
5537 maybe-check-diff:
5538 @if diff
5539 maybe-check-diff: check-diff
5541 check-diff:
5542 @r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(SET_LIB_PATH) \
5545 $(HOST_EXPORTS) \
5546 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5548 @endif diff
5550 .PHONY: install-diff maybe-install-diff
5551 maybe-install-diff:
5552 @if diff
5553 maybe-install-diff: install-diff
5555 install-diff: installdirs
5556 @r=`${PWD_COMMAND}`; export r; \
5557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5558 $(SET_LIB_PATH) \
5559 $(HOST_EXPORTS) \
5560 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5562 @endif diff
5564 # Other targets (info, dvi, etc.)
5566 .PHONY: maybe-info-diff info-diff
5567 maybe-info-diff:
5568 @if diff
5569 maybe-info-diff: info-diff
5571 info-diff: \
5572 configure-diff
5573 @[ -f ./diff/Makefile ] || exit 0; \
5574 r=`${PWD_COMMAND}`; export r; \
5575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5576 $(SET_LIB_PATH) \
5577 $(HOST_EXPORTS) \
5578 for flag in $(EXTRA_HOST_FLAGS); do \
5579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5580 done; \
5581 echo "Doing info in diff" ; \
5582 (cd diff && \
5583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5585 "RANLIB=$${RANLIB}" \
5586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5587 info) \
5588 || exit 1
5590 @endif diff
5592 .PHONY: maybe-dvi-diff dvi-diff
5593 maybe-dvi-diff:
5594 @if diff
5595 maybe-dvi-diff: dvi-diff
5597 dvi-diff: \
5598 configure-diff
5599 @[ -f ./diff/Makefile ] || exit 0; \
5600 r=`${PWD_COMMAND}`; export r; \
5601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5602 $(SET_LIB_PATH) \
5603 $(HOST_EXPORTS) \
5604 for flag in $(EXTRA_HOST_FLAGS); do \
5605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5606 done; \
5607 echo "Doing dvi in diff" ; \
5608 (cd diff && \
5609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5611 "RANLIB=$${RANLIB}" \
5612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5613 dvi) \
5614 || exit 1
5616 @endif diff
5618 .PHONY: maybe-TAGS-diff TAGS-diff
5619 maybe-TAGS-diff:
5620 @if diff
5621 maybe-TAGS-diff: TAGS-diff
5623 TAGS-diff: \
5624 configure-diff
5625 @[ -f ./diff/Makefile ] || exit 0; \
5626 r=`${PWD_COMMAND}`; export r; \
5627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5628 $(SET_LIB_PATH) \
5629 $(HOST_EXPORTS) \
5630 for flag in $(EXTRA_HOST_FLAGS); do \
5631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5632 done; \
5633 echo "Doing TAGS in diff" ; \
5634 (cd diff && \
5635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5637 "RANLIB=$${RANLIB}" \
5638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5639 TAGS) \
5640 || exit 1
5642 @endif diff
5644 .PHONY: maybe-install-info-diff install-info-diff
5645 maybe-install-info-diff:
5646 @if diff
5647 maybe-install-info-diff: install-info-diff
5649 install-info-diff: \
5650 configure-diff \
5651 info-diff
5652 @[ -f ./diff/Makefile ] || exit 0; \
5653 r=`${PWD_COMMAND}`; export r; \
5654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5655 $(SET_LIB_PATH) \
5656 $(HOST_EXPORTS) \
5657 for flag in $(EXTRA_HOST_FLAGS); do \
5658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5659 done; \
5660 echo "Doing install-info in diff" ; \
5661 (cd diff && \
5662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5664 "RANLIB=$${RANLIB}" \
5665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5666 install-info) \
5667 || exit 1
5669 @endif diff
5671 .PHONY: maybe-installcheck-diff installcheck-diff
5672 maybe-installcheck-diff:
5673 @if diff
5674 maybe-installcheck-diff: installcheck-diff
5676 installcheck-diff: \
5677 configure-diff
5678 @[ -f ./diff/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 installcheck in diff" ; \
5687 (cd diff && \
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 installcheck) \
5693 || exit 1
5695 @endif diff
5697 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5698 maybe-mostlyclean-diff:
5699 @if diff
5700 maybe-mostlyclean-diff: mostlyclean-diff
5702 mostlyclean-diff:
5703 @[ -f ./diff/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(SET_LIB_PATH) \
5707 $(HOST_EXPORTS) \
5708 for flag in $(EXTRA_HOST_FLAGS); do \
5709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5710 done; \
5711 echo "Doing mostlyclean in diff" ; \
5712 (cd diff && \
5713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5715 "RANLIB=$${RANLIB}" \
5716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5717 mostlyclean) \
5718 || exit 1
5720 @endif diff
5722 .PHONY: maybe-clean-diff clean-diff
5723 maybe-clean-diff:
5724 @if diff
5725 maybe-clean-diff: clean-diff
5727 clean-diff:
5728 @[ -f ./diff/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5731 $(SET_LIB_PATH) \
5732 $(HOST_EXPORTS) \
5733 for flag in $(EXTRA_HOST_FLAGS); do \
5734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5735 done; \
5736 echo "Doing clean in diff" ; \
5737 (cd diff && \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740 "RANLIB=$${RANLIB}" \
5741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5742 clean) \
5743 || exit 1
5745 @endif diff
5747 .PHONY: maybe-distclean-diff distclean-diff
5748 maybe-distclean-diff:
5749 @if diff
5750 maybe-distclean-diff: distclean-diff
5752 distclean-diff:
5753 @[ -f ./diff/Makefile ] || exit 0; \
5754 r=`${PWD_COMMAND}`; export r; \
5755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5756 $(SET_LIB_PATH) \
5757 $(HOST_EXPORTS) \
5758 for flag in $(EXTRA_HOST_FLAGS); do \
5759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5760 done; \
5761 echo "Doing distclean in diff" ; \
5762 (cd diff && \
5763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5765 "RANLIB=$${RANLIB}" \
5766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5767 distclean) \
5768 || exit 1
5770 @endif diff
5772 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5773 maybe-maintainer-clean-diff:
5774 @if diff
5775 maybe-maintainer-clean-diff: maintainer-clean-diff
5777 maintainer-clean-diff:
5778 @[ -f ./diff/Makefile ] || exit 0; \
5779 r=`${PWD_COMMAND}`; export r; \
5780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5781 $(SET_LIB_PATH) \
5782 $(HOST_EXPORTS) \
5783 for flag in $(EXTRA_HOST_FLAGS); do \
5784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5785 done; \
5786 echo "Doing maintainer-clean in diff" ; \
5787 (cd diff && \
5788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5790 "RANLIB=$${RANLIB}" \
5791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5792 maintainer-clean) \
5793 || exit 1
5795 @endif diff
5798 .PHONY: configure-dosutils maybe-configure-dosutils
5799 maybe-configure-dosutils:
5800 @if dosutils
5801 maybe-configure-dosutils: configure-dosutils
5802 configure-dosutils:
5803 @test ! -f dosutils/Makefile || exit 0; \
5804 [ -d dosutils ] || mkdir dosutils; \
5805 r=`${PWD_COMMAND}`; export r; \
5806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5807 $(HOST_EXPORTS) \
5808 echo Configuring in dosutils; \
5809 cd dosutils || exit 1; \
5810 case $(srcdir) in \
5811 \.) \
5812 srcdiroption="--srcdir=."; \
5813 libsrcdir=".";; \
5814 /* | [A-Za-z]:[\\/]*) \
5815 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5816 libsrcdir="$$s/dosutils";; \
5817 *) \
5818 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5819 libsrcdir="$$s/dosutils";; \
5820 esac; \
5821 $(SHELL) $${libsrcdir}/configure \
5822 $(HOST_CONFIGARGS) $${srcdiroption} \
5823 || exit 1
5824 @endif dosutils
5826 .PHONY: all-dosutils maybe-all-dosutils
5827 maybe-all-dosutils:
5828 @if dosutils
5829 maybe-all-dosutils: all-dosutils
5830 all-dosutils: configure-dosutils
5831 @r=`${PWD_COMMAND}`; export r; \
5832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5833 $(SET_LIB_PATH) \
5834 $(HOST_EXPORTS) \
5835 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5836 @endif dosutils
5838 .PHONY: check-dosutils maybe-check-dosutils
5839 maybe-check-dosutils:
5840 @if dosutils
5841 maybe-check-dosutils: check-dosutils
5843 check-dosutils:
5845 @endif dosutils
5847 .PHONY: install-dosutils maybe-install-dosutils
5848 maybe-install-dosutils:
5849 @if dosutils
5850 maybe-install-dosutils: install-dosutils
5852 install-dosutils: installdirs
5853 @r=`${PWD_COMMAND}`; export r; \
5854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855 $(SET_LIB_PATH) \
5856 $(HOST_EXPORTS) \
5857 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5859 @endif dosutils
5861 # Other targets (info, dvi, etc.)
5863 .PHONY: maybe-info-dosutils info-dosutils
5864 maybe-info-dosutils:
5865 @if dosutils
5866 maybe-info-dosutils: info-dosutils
5868 info-dosutils: \
5869 configure-dosutils
5870 @[ -f ./dosutils/Makefile ] || exit 0; \
5871 r=`${PWD_COMMAND}`; export r; \
5872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5873 $(SET_LIB_PATH) \
5874 $(HOST_EXPORTS) \
5875 for flag in $(EXTRA_HOST_FLAGS); do \
5876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5877 done; \
5878 echo "Doing info in dosutils" ; \
5879 (cd dosutils && \
5880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5882 "RANLIB=$${RANLIB}" \
5883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5884 info) \
5885 || exit 1
5887 @endif dosutils
5889 .PHONY: maybe-dvi-dosutils dvi-dosutils
5890 maybe-dvi-dosutils:
5891 @if dosutils
5892 maybe-dvi-dosutils: dvi-dosutils
5894 dvi-dosutils: \
5895 configure-dosutils
5896 @[ -f ./dosutils/Makefile ] || exit 0; \
5897 r=`${PWD_COMMAND}`; export r; \
5898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5899 $(SET_LIB_PATH) \
5900 $(HOST_EXPORTS) \
5901 for flag in $(EXTRA_HOST_FLAGS); do \
5902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5903 done; \
5904 echo "Doing dvi in dosutils" ; \
5905 (cd dosutils && \
5906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5908 "RANLIB=$${RANLIB}" \
5909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5910 dvi) \
5911 || exit 1
5913 @endif dosutils
5915 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5916 maybe-TAGS-dosutils:
5917 @if dosutils
5918 maybe-TAGS-dosutils: TAGS-dosutils
5920 TAGS-dosutils: \
5921 configure-dosutils
5922 @[ -f ./dosutils/Makefile ] || exit 0; \
5923 r=`${PWD_COMMAND}`; export r; \
5924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5925 $(SET_LIB_PATH) \
5926 $(HOST_EXPORTS) \
5927 for flag in $(EXTRA_HOST_FLAGS); do \
5928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929 done; \
5930 echo "Doing TAGS in dosutils" ; \
5931 (cd dosutils && \
5932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934 "RANLIB=$${RANLIB}" \
5935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936 TAGS) \
5937 || exit 1
5939 @endif dosutils
5941 .PHONY: maybe-install-info-dosutils install-info-dosutils
5942 maybe-install-info-dosutils:
5943 @if dosutils
5944 maybe-install-info-dosutils: install-info-dosutils
5946 install-info-dosutils: \
5947 configure-dosutils \
5948 info-dosutils
5949 @[ -f ./dosutils/Makefile ] || exit 0; \
5950 r=`${PWD_COMMAND}`; export r; \
5951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5952 $(SET_LIB_PATH) \
5953 $(HOST_EXPORTS) \
5954 for flag in $(EXTRA_HOST_FLAGS); do \
5955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5956 done; \
5957 echo "Doing install-info in dosutils" ; \
5958 (cd dosutils && \
5959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5961 "RANLIB=$${RANLIB}" \
5962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5963 install-info) \
5964 || exit 1
5966 @endif dosutils
5968 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5969 maybe-installcheck-dosutils:
5970 @if dosutils
5971 maybe-installcheck-dosutils: installcheck-dosutils
5973 installcheck-dosutils: \
5974 configure-dosutils
5975 @[ -f ./dosutils/Makefile ] || exit 0; \
5976 r=`${PWD_COMMAND}`; export r; \
5977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5978 $(SET_LIB_PATH) \
5979 $(HOST_EXPORTS) \
5980 for flag in $(EXTRA_HOST_FLAGS); do \
5981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5982 done; \
5983 echo "Doing installcheck in dosutils" ; \
5984 (cd dosutils && \
5985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5987 "RANLIB=$${RANLIB}" \
5988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5989 installcheck) \
5990 || exit 1
5992 @endif dosutils
5994 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5995 maybe-mostlyclean-dosutils:
5996 @if dosutils
5997 maybe-mostlyclean-dosutils: mostlyclean-dosutils
5999 mostlyclean-dosutils:
6000 @[ -f ./dosutils/Makefile ] || exit 0; \
6001 r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 $(SET_LIB_PATH) \
6004 $(HOST_EXPORTS) \
6005 for flag in $(EXTRA_HOST_FLAGS); do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 echo "Doing mostlyclean in dosutils" ; \
6009 (cd dosutils && \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014 mostlyclean) \
6015 || exit 1
6017 @endif dosutils
6019 .PHONY: maybe-clean-dosutils clean-dosutils
6020 maybe-clean-dosutils:
6021 @if dosutils
6022 maybe-clean-dosutils: clean-dosutils
6024 clean-dosutils:
6025 @[ -f ./dosutils/Makefile ] || exit 0; \
6026 r=`${PWD_COMMAND}`; export r; \
6027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6028 $(SET_LIB_PATH) \
6029 $(HOST_EXPORTS) \
6030 for flag in $(EXTRA_HOST_FLAGS); do \
6031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6032 done; \
6033 echo "Doing clean in dosutils" ; \
6034 (cd dosutils && \
6035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6037 "RANLIB=$${RANLIB}" \
6038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6039 clean) \
6040 || exit 1
6042 @endif dosutils
6044 .PHONY: maybe-distclean-dosutils distclean-dosutils
6045 maybe-distclean-dosutils:
6046 @if dosutils
6047 maybe-distclean-dosutils: distclean-dosutils
6049 distclean-dosutils:
6050 @[ -f ./dosutils/Makefile ] || exit 0; \
6051 r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6053 $(SET_LIB_PATH) \
6054 $(HOST_EXPORTS) \
6055 for flag in $(EXTRA_HOST_FLAGS); do \
6056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6057 done; \
6058 echo "Doing distclean in dosutils" ; \
6059 (cd dosutils && \
6060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6062 "RANLIB=$${RANLIB}" \
6063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6064 distclean) \
6065 || exit 1
6067 @endif dosutils
6069 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6070 maybe-maintainer-clean-dosutils:
6071 @if dosutils
6072 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6074 maintainer-clean-dosutils:
6075 @[ -f ./dosutils/Makefile ] || exit 0; \
6076 r=`${PWD_COMMAND}`; export r; \
6077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6078 $(SET_LIB_PATH) \
6079 $(HOST_EXPORTS) \
6080 for flag in $(EXTRA_HOST_FLAGS); do \
6081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6082 done; \
6083 echo "Doing maintainer-clean in dosutils" ; \
6084 (cd dosutils && \
6085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6087 "RANLIB=$${RANLIB}" \
6088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6089 maintainer-clean) \
6090 || exit 1
6092 @endif dosutils
6095 .PHONY: configure-etc maybe-configure-etc
6096 maybe-configure-etc:
6097 @if etc
6098 maybe-configure-etc: configure-etc
6099 configure-etc:
6100 @test ! -f etc/Makefile || exit 0; \
6101 [ -d etc ] || mkdir etc; \
6102 r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6104 $(HOST_EXPORTS) \
6105 echo Configuring in etc; \
6106 cd etc || exit 1; \
6107 case $(srcdir) in \
6108 \.) \
6109 srcdiroption="--srcdir=."; \
6110 libsrcdir=".";; \
6111 /* | [A-Za-z]:[\\/]*) \
6112 srcdiroption="--srcdir=$(srcdir)/etc"; \
6113 libsrcdir="$$s/etc";; \
6114 *) \
6115 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6116 libsrcdir="$$s/etc";; \
6117 esac; \
6118 $(SHELL) $${libsrcdir}/configure \
6119 $(HOST_CONFIGARGS) $${srcdiroption} \
6120 || exit 1
6121 @endif etc
6123 .PHONY: all-etc maybe-all-etc
6124 maybe-all-etc:
6125 @if etc
6126 maybe-all-etc: all-etc
6127 all-etc: configure-etc
6128 @r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 $(SET_LIB_PATH) \
6131 $(HOST_EXPORTS) \
6132 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6133 @endif etc
6135 .PHONY: check-etc maybe-check-etc
6136 maybe-check-etc:
6137 @if etc
6138 maybe-check-etc: check-etc
6140 check-etc:
6141 @r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 $(SET_LIB_PATH) \
6144 $(HOST_EXPORTS) \
6145 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6147 @endif etc
6149 .PHONY: install-etc maybe-install-etc
6150 maybe-install-etc:
6151 @if etc
6152 maybe-install-etc: install-etc
6154 install-etc: installdirs
6155 @r=`${PWD_COMMAND}`; export r; \
6156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6157 $(SET_LIB_PATH) \
6158 $(HOST_EXPORTS) \
6159 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6161 @endif etc
6163 # Other targets (info, dvi, etc.)
6165 .PHONY: maybe-info-etc info-etc
6166 maybe-info-etc:
6167 @if etc
6168 maybe-info-etc: info-etc
6170 info-etc: \
6171 configure-etc
6172 @[ -f ./etc/Makefile ] || exit 0; \
6173 r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(SET_LIB_PATH) \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS); do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing info in etc" ; \
6181 (cd etc && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6186 info) \
6187 || exit 1
6189 @endif etc
6191 .PHONY: maybe-dvi-etc dvi-etc
6192 maybe-dvi-etc:
6193 @if etc
6194 maybe-dvi-etc: dvi-etc
6196 dvi-etc: \
6197 configure-etc
6198 @[ -f ./etc/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(SET_LIB_PATH) \
6202 $(HOST_EXPORTS) \
6203 for flag in $(EXTRA_HOST_FLAGS); do \
6204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 done; \
6206 echo "Doing dvi in etc" ; \
6207 (cd etc && \
6208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6210 "RANLIB=$${RANLIB}" \
6211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6212 dvi) \
6213 || exit 1
6215 @endif etc
6217 .PHONY: maybe-TAGS-etc TAGS-etc
6218 maybe-TAGS-etc:
6219 @if etc
6220 maybe-TAGS-etc: TAGS-etc
6222 TAGS-etc: \
6223 configure-etc
6224 @[ -f ./etc/Makefile ] || exit 0; \
6225 r=`${PWD_COMMAND}`; export r; \
6226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 $(SET_LIB_PATH) \
6228 $(HOST_EXPORTS) \
6229 for flag in $(EXTRA_HOST_FLAGS); do \
6230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6231 done; \
6232 echo "Doing TAGS in etc" ; \
6233 (cd etc && \
6234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6236 "RANLIB=$${RANLIB}" \
6237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6238 TAGS) \
6239 || exit 1
6241 @endif etc
6243 .PHONY: maybe-install-info-etc install-info-etc
6244 maybe-install-info-etc:
6245 @if etc
6246 maybe-install-info-etc: install-info-etc
6248 install-info-etc: \
6249 configure-etc \
6250 info-etc
6251 @[ -f ./etc/Makefile ] || exit 0; \
6252 r=`${PWD_COMMAND}`; export r; \
6253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6254 $(SET_LIB_PATH) \
6255 $(HOST_EXPORTS) \
6256 for flag in $(EXTRA_HOST_FLAGS); do \
6257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6258 done; \
6259 echo "Doing install-info in etc" ; \
6260 (cd etc && \
6261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6263 "RANLIB=$${RANLIB}" \
6264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6265 install-info) \
6266 || exit 1
6268 @endif etc
6270 .PHONY: maybe-installcheck-etc installcheck-etc
6271 maybe-installcheck-etc:
6272 @if etc
6273 maybe-installcheck-etc: installcheck-etc
6275 installcheck-etc: \
6276 configure-etc
6277 @[ -f ./etc/Makefile ] || exit 0; \
6278 r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 $(SET_LIB_PATH) \
6281 $(HOST_EXPORTS) \
6282 for flag in $(EXTRA_HOST_FLAGS); do \
6283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6284 done; \
6285 echo "Doing installcheck in etc" ; \
6286 (cd etc && \
6287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6289 "RANLIB=$${RANLIB}" \
6290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6291 installcheck) \
6292 || exit 1
6294 @endif etc
6296 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6297 maybe-mostlyclean-etc:
6298 @if etc
6299 maybe-mostlyclean-etc: mostlyclean-etc
6301 mostlyclean-etc:
6302 @[ -f ./etc/Makefile ] || exit 0; \
6303 r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(SET_LIB_PATH) \
6306 $(HOST_EXPORTS) \
6307 for flag in $(EXTRA_HOST_FLAGS); do \
6308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6309 done; \
6310 echo "Doing mostlyclean in etc" ; \
6311 (cd etc && \
6312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6314 "RANLIB=$${RANLIB}" \
6315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6316 mostlyclean) \
6317 || exit 1
6319 @endif etc
6321 .PHONY: maybe-clean-etc clean-etc
6322 maybe-clean-etc:
6323 @if etc
6324 maybe-clean-etc: clean-etc
6326 clean-etc:
6327 @[ -f ./etc/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(SET_LIB_PATH) \
6331 $(HOST_EXPORTS) \
6332 for flag in $(EXTRA_HOST_FLAGS); do \
6333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6334 done; \
6335 echo "Doing clean in etc" ; \
6336 (cd etc && \
6337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6339 "RANLIB=$${RANLIB}" \
6340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6341 clean) \
6342 || exit 1
6344 @endif etc
6346 .PHONY: maybe-distclean-etc distclean-etc
6347 maybe-distclean-etc:
6348 @if etc
6349 maybe-distclean-etc: distclean-etc
6351 distclean-etc:
6352 @[ -f ./etc/Makefile ] || exit 0; \
6353 r=`${PWD_COMMAND}`; export r; \
6354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6355 $(SET_LIB_PATH) \
6356 $(HOST_EXPORTS) \
6357 for flag in $(EXTRA_HOST_FLAGS); do \
6358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6359 done; \
6360 echo "Doing distclean in etc" ; \
6361 (cd etc && \
6362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6364 "RANLIB=$${RANLIB}" \
6365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6366 distclean) \
6367 || exit 1
6369 @endif etc
6371 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6372 maybe-maintainer-clean-etc:
6373 @if etc
6374 maybe-maintainer-clean-etc: maintainer-clean-etc
6376 maintainer-clean-etc:
6377 @[ -f ./etc/Makefile ] || exit 0; \
6378 r=`${PWD_COMMAND}`; export r; \
6379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6380 $(SET_LIB_PATH) \
6381 $(HOST_EXPORTS) \
6382 for flag in $(EXTRA_HOST_FLAGS); do \
6383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6384 done; \
6385 echo "Doing maintainer-clean in etc" ; \
6386 (cd etc && \
6387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6389 "RANLIB=$${RANLIB}" \
6390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6391 maintainer-clean) \
6392 || exit 1
6394 @endif etc
6397 .PHONY: configure-fastjar maybe-configure-fastjar
6398 maybe-configure-fastjar:
6399 @if fastjar
6400 maybe-configure-fastjar: configure-fastjar
6401 configure-fastjar:
6402 @test ! -f fastjar/Makefile || exit 0; \
6403 [ -d fastjar ] || mkdir fastjar; \
6404 r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 $(HOST_EXPORTS) \
6407 echo Configuring in fastjar; \
6408 cd fastjar || exit 1; \
6409 case $(srcdir) in \
6410 \.) \
6411 srcdiroption="--srcdir=."; \
6412 libsrcdir=".";; \
6413 /* | [A-Za-z]:[\\/]*) \
6414 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6415 libsrcdir="$$s/fastjar";; \
6416 *) \
6417 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6418 libsrcdir="$$s/fastjar";; \
6419 esac; \
6420 $(SHELL) $${libsrcdir}/configure \
6421 $(HOST_CONFIGARGS) $${srcdiroption} \
6422 || exit 1
6423 @endif fastjar
6425 .PHONY: all-fastjar maybe-all-fastjar
6426 maybe-all-fastjar:
6427 @if fastjar
6428 maybe-all-fastjar: all-fastjar
6429 all-fastjar: configure-fastjar
6430 @r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6432 $(SET_LIB_PATH) \
6433 $(HOST_EXPORTS) \
6434 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6435 @endif fastjar
6437 .PHONY: check-fastjar maybe-check-fastjar
6438 maybe-check-fastjar:
6439 @if fastjar
6440 maybe-check-fastjar: check-fastjar
6442 # This module is only tested in a native toolchain.
6443 check-fastjar:
6444 @if [ '$(host)' = '$(target)' ] ; then \
6445 r=`${PWD_COMMAND}`; export r; \
6446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6447 $(SET_LIB_PATH) \
6448 $(HOST_EXPORTS) \
6449 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6452 @endif fastjar
6454 .PHONY: install-fastjar maybe-install-fastjar
6455 maybe-install-fastjar:
6456 @if fastjar
6457 maybe-install-fastjar: install-fastjar
6459 install-fastjar: installdirs
6460 @r=`${PWD_COMMAND}`; export r; \
6461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6462 $(SET_LIB_PATH) \
6463 $(HOST_EXPORTS) \
6464 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6466 @endif fastjar
6468 # Other targets (info, dvi, etc.)
6470 .PHONY: maybe-info-fastjar info-fastjar
6471 maybe-info-fastjar:
6472 @if fastjar
6473 maybe-info-fastjar: info-fastjar
6475 info-fastjar: \
6476 configure-fastjar
6477 @[ -f ./fastjar/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 $(SET_LIB_PATH) \
6481 $(HOST_EXPORTS) \
6482 for flag in $(EXTRA_HOST_FLAGS); do \
6483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6484 done; \
6485 echo "Doing info in fastjar" ; \
6486 (cd fastjar && \
6487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6489 "RANLIB=$${RANLIB}" \
6490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6491 info) \
6492 || exit 1
6494 @endif fastjar
6496 .PHONY: maybe-dvi-fastjar dvi-fastjar
6497 maybe-dvi-fastjar:
6498 @if fastjar
6499 maybe-dvi-fastjar: dvi-fastjar
6501 dvi-fastjar: \
6502 configure-fastjar
6503 @[ -f ./fastjar/Makefile ] || exit 0; \
6504 r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(SET_LIB_PATH) \
6507 $(HOST_EXPORTS) \
6508 for flag in $(EXTRA_HOST_FLAGS); do \
6509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6510 done; \
6511 echo "Doing dvi in fastjar" ; \
6512 (cd fastjar && \
6513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6515 "RANLIB=$${RANLIB}" \
6516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6517 dvi) \
6518 || exit 1
6520 @endif fastjar
6522 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6523 maybe-TAGS-fastjar:
6524 @if fastjar
6525 maybe-TAGS-fastjar: TAGS-fastjar
6527 TAGS-fastjar: \
6528 configure-fastjar
6529 @[ -f ./fastjar/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(SET_LIB_PATH) \
6533 $(HOST_EXPORTS) \
6534 for flag in $(EXTRA_HOST_FLAGS); do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 done; \
6537 echo "Doing TAGS in fastjar" ; \
6538 (cd fastjar && \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6543 TAGS) \
6544 || exit 1
6546 @endif fastjar
6548 .PHONY: maybe-install-info-fastjar install-info-fastjar
6549 maybe-install-info-fastjar:
6550 @if fastjar
6551 maybe-install-info-fastjar: install-info-fastjar
6553 install-info-fastjar: \
6554 configure-fastjar \
6555 info-fastjar
6556 @[ -f ./fastjar/Makefile ] || exit 0; \
6557 r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(SET_LIB_PATH) \
6560 $(HOST_EXPORTS) \
6561 for flag in $(EXTRA_HOST_FLAGS); do \
6562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6563 done; \
6564 echo "Doing install-info in fastjar" ; \
6565 (cd fastjar && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6568 "RANLIB=$${RANLIB}" \
6569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6570 install-info) \
6571 || exit 1
6573 @endif fastjar
6575 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6576 maybe-installcheck-fastjar:
6577 @if fastjar
6578 maybe-installcheck-fastjar: installcheck-fastjar
6580 installcheck-fastjar: \
6581 configure-fastjar
6582 @[ -f ./fastjar/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 $(SET_LIB_PATH) \
6586 $(HOST_EXPORTS) \
6587 for flag in $(EXTRA_HOST_FLAGS); do \
6588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 done; \
6590 echo "Doing installcheck in fastjar" ; \
6591 (cd fastjar && \
6592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6594 "RANLIB=$${RANLIB}" \
6595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6596 installcheck) \
6597 || exit 1
6599 @endif fastjar
6601 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6602 maybe-mostlyclean-fastjar:
6603 @if fastjar
6604 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6606 mostlyclean-fastjar:
6607 @[ -f ./fastjar/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(SET_LIB_PATH) \
6611 $(HOST_EXPORTS) \
6612 for flag in $(EXTRA_HOST_FLAGS); do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 done; \
6615 echo "Doing mostlyclean in fastjar" ; \
6616 (cd fastjar && \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6621 mostlyclean) \
6622 || exit 1
6624 @endif fastjar
6626 .PHONY: maybe-clean-fastjar clean-fastjar
6627 maybe-clean-fastjar:
6628 @if fastjar
6629 maybe-clean-fastjar: clean-fastjar
6631 clean-fastjar:
6632 @[ -f ./fastjar/Makefile ] || exit 0; \
6633 r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 $(SET_LIB_PATH) \
6636 $(HOST_EXPORTS) \
6637 for flag in $(EXTRA_HOST_FLAGS); do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 done; \
6640 echo "Doing clean in fastjar" ; \
6641 (cd fastjar && \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6646 clean) \
6647 || exit 1
6649 @endif fastjar
6651 .PHONY: maybe-distclean-fastjar distclean-fastjar
6652 maybe-distclean-fastjar:
6653 @if fastjar
6654 maybe-distclean-fastjar: distclean-fastjar
6656 distclean-fastjar:
6657 @[ -f ./fastjar/Makefile ] || exit 0; \
6658 r=`${PWD_COMMAND}`; export r; \
6659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6660 $(SET_LIB_PATH) \
6661 $(HOST_EXPORTS) \
6662 for flag in $(EXTRA_HOST_FLAGS); do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 done; \
6665 echo "Doing distclean in fastjar" ; \
6666 (cd fastjar && \
6667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6669 "RANLIB=$${RANLIB}" \
6670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6671 distclean) \
6672 || exit 1
6674 @endif fastjar
6676 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6677 maybe-maintainer-clean-fastjar:
6678 @if fastjar
6679 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6681 maintainer-clean-fastjar:
6682 @[ -f ./fastjar/Makefile ] || exit 0; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 $(SET_LIB_PATH) \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS); do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing maintainer-clean in fastjar" ; \
6691 (cd fastjar && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6696 maintainer-clean) \
6697 || exit 1
6699 @endif fastjar
6702 .PHONY: configure-fileutils maybe-configure-fileutils
6703 maybe-configure-fileutils:
6704 @if fileutils
6705 maybe-configure-fileutils: configure-fileutils
6706 configure-fileutils:
6707 @test ! -f fileutils/Makefile || exit 0; \
6708 [ -d fileutils ] || mkdir fileutils; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 echo Configuring in fileutils; \
6713 cd fileutils || exit 1; \
6714 case $(srcdir) in \
6715 \.) \
6716 srcdiroption="--srcdir=."; \
6717 libsrcdir=".";; \
6718 /* | [A-Za-z]:[\\/]*) \
6719 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6720 libsrcdir="$$s/fileutils";; \
6721 *) \
6722 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6723 libsrcdir="$$s/fileutils";; \
6724 esac; \
6725 $(SHELL) $${libsrcdir}/configure \
6726 $(HOST_CONFIGARGS) $${srcdiroption} \
6727 || exit 1
6728 @endif fileutils
6730 .PHONY: all-fileutils maybe-all-fileutils
6731 maybe-all-fileutils:
6732 @if fileutils
6733 maybe-all-fileutils: all-fileutils
6734 all-fileutils: configure-fileutils
6735 @r=`${PWD_COMMAND}`; export r; \
6736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6737 $(SET_LIB_PATH) \
6738 $(HOST_EXPORTS) \
6739 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6740 @endif fileutils
6742 .PHONY: check-fileutils maybe-check-fileutils
6743 maybe-check-fileutils:
6744 @if fileutils
6745 maybe-check-fileutils: check-fileutils
6747 check-fileutils:
6748 @r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6750 $(SET_LIB_PATH) \
6751 $(HOST_EXPORTS) \
6752 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6754 @endif fileutils
6756 .PHONY: install-fileutils maybe-install-fileutils
6757 maybe-install-fileutils:
6758 @if fileutils
6759 maybe-install-fileutils: install-fileutils
6761 install-fileutils: installdirs
6762 @r=`${PWD_COMMAND}`; export r; \
6763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6764 $(SET_LIB_PATH) \
6765 $(HOST_EXPORTS) \
6766 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6768 @endif fileutils
6770 # Other targets (info, dvi, etc.)
6772 .PHONY: maybe-info-fileutils info-fileutils
6773 maybe-info-fileutils:
6774 @if fileutils
6775 maybe-info-fileutils: info-fileutils
6777 info-fileutils: \
6778 configure-fileutils
6779 @[ -f ./fileutils/Makefile ] || exit 0; \
6780 r=`${PWD_COMMAND}`; export r; \
6781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6782 $(SET_LIB_PATH) \
6783 $(HOST_EXPORTS) \
6784 for flag in $(EXTRA_HOST_FLAGS); do \
6785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6786 done; \
6787 echo "Doing info in fileutils" ; \
6788 (cd fileutils && \
6789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6791 "RANLIB=$${RANLIB}" \
6792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6793 info) \
6794 || exit 1
6796 @endif fileutils
6798 .PHONY: maybe-dvi-fileutils dvi-fileutils
6799 maybe-dvi-fileutils:
6800 @if fileutils
6801 maybe-dvi-fileutils: dvi-fileutils
6803 dvi-fileutils: \
6804 configure-fileutils
6805 @[ -f ./fileutils/Makefile ] || exit 0; \
6806 r=`${PWD_COMMAND}`; export r; \
6807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6808 $(SET_LIB_PATH) \
6809 $(HOST_EXPORTS) \
6810 for flag in $(EXTRA_HOST_FLAGS); do \
6811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6812 done; \
6813 echo "Doing dvi in fileutils" ; \
6814 (cd fileutils && \
6815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6817 "RANLIB=$${RANLIB}" \
6818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6819 dvi) \
6820 || exit 1
6822 @endif fileutils
6824 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6825 maybe-TAGS-fileutils:
6826 @if fileutils
6827 maybe-TAGS-fileutils: TAGS-fileutils
6829 TAGS-fileutils: \
6830 configure-fileutils
6831 @[ -f ./fileutils/Makefile ] || exit 0; \
6832 r=`${PWD_COMMAND}`; export r; \
6833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6834 $(SET_LIB_PATH) \
6835 $(HOST_EXPORTS) \
6836 for flag in $(EXTRA_HOST_FLAGS); do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6838 done; \
6839 echo "Doing TAGS in fileutils" ; \
6840 (cd fileutils && \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6845 TAGS) \
6846 || exit 1
6848 @endif fileutils
6850 .PHONY: maybe-install-info-fileutils install-info-fileutils
6851 maybe-install-info-fileutils:
6852 @if fileutils
6853 maybe-install-info-fileutils: install-info-fileutils
6855 install-info-fileutils: \
6856 configure-fileutils \
6857 info-fileutils
6858 @[ -f ./fileutils/Makefile ] || exit 0; \
6859 r=`${PWD_COMMAND}`; export r; \
6860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6861 $(SET_LIB_PATH) \
6862 $(HOST_EXPORTS) \
6863 for flag in $(EXTRA_HOST_FLAGS); do \
6864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6865 done; \
6866 echo "Doing install-info in fileutils" ; \
6867 (cd fileutils && \
6868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6870 "RANLIB=$${RANLIB}" \
6871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6872 install-info) \
6873 || exit 1
6875 @endif fileutils
6877 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6878 maybe-installcheck-fileutils:
6879 @if fileutils
6880 maybe-installcheck-fileutils: installcheck-fileutils
6882 installcheck-fileutils: \
6883 configure-fileutils
6884 @[ -f ./fileutils/Makefile ] || exit 0; \
6885 r=`${PWD_COMMAND}`; export r; \
6886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6887 $(SET_LIB_PATH) \
6888 $(HOST_EXPORTS) \
6889 for flag in $(EXTRA_HOST_FLAGS); do \
6890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6891 done; \
6892 echo "Doing installcheck in fileutils" ; \
6893 (cd fileutils && \
6894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6896 "RANLIB=$${RANLIB}" \
6897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6898 installcheck) \
6899 || exit 1
6901 @endif fileutils
6903 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6904 maybe-mostlyclean-fileutils:
6905 @if fileutils
6906 maybe-mostlyclean-fileutils: mostlyclean-fileutils
6908 mostlyclean-fileutils:
6909 @[ -f ./fileutils/Makefile ] || exit 0; \
6910 r=`${PWD_COMMAND}`; export r; \
6911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6912 $(SET_LIB_PATH) \
6913 $(HOST_EXPORTS) \
6914 for flag in $(EXTRA_HOST_FLAGS); do \
6915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6916 done; \
6917 echo "Doing mostlyclean in fileutils" ; \
6918 (cd fileutils && \
6919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6921 "RANLIB=$${RANLIB}" \
6922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6923 mostlyclean) \
6924 || exit 1
6926 @endif fileutils
6928 .PHONY: maybe-clean-fileutils clean-fileutils
6929 maybe-clean-fileutils:
6930 @if fileutils
6931 maybe-clean-fileutils: clean-fileutils
6933 clean-fileutils:
6934 @[ -f ./fileutils/Makefile ] || exit 0; \
6935 r=`${PWD_COMMAND}`; export r; \
6936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6937 $(SET_LIB_PATH) \
6938 $(HOST_EXPORTS) \
6939 for flag in $(EXTRA_HOST_FLAGS); do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6941 done; \
6942 echo "Doing clean in fileutils" ; \
6943 (cd fileutils && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6948 clean) \
6949 || exit 1
6951 @endif fileutils
6953 .PHONY: maybe-distclean-fileutils distclean-fileutils
6954 maybe-distclean-fileutils:
6955 @if fileutils
6956 maybe-distclean-fileutils: distclean-fileutils
6958 distclean-fileutils:
6959 @[ -f ./fileutils/Makefile ] || exit 0; \
6960 r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6962 $(SET_LIB_PATH) \
6963 $(HOST_EXPORTS) \
6964 for flag in $(EXTRA_HOST_FLAGS); do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6966 done; \
6967 echo "Doing distclean in fileutils" ; \
6968 (cd fileutils && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6973 distclean) \
6974 || exit 1
6976 @endif fileutils
6978 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6979 maybe-maintainer-clean-fileutils:
6980 @if fileutils
6981 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
6983 maintainer-clean-fileutils:
6984 @[ -f ./fileutils/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 $(SET_LIB_PATH) \
6988 $(HOST_EXPORTS) \
6989 for flag in $(EXTRA_HOST_FLAGS); do \
6990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6991 done; \
6992 echo "Doing maintainer-clean in fileutils" ; \
6993 (cd fileutils && \
6994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6996 "RANLIB=$${RANLIB}" \
6997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6998 maintainer-clean) \
6999 || exit 1
7001 @endif fileutils
7004 .PHONY: configure-findutils maybe-configure-findutils
7005 maybe-configure-findutils:
7006 @if findutils
7007 maybe-configure-findutils: configure-findutils
7008 configure-findutils:
7009 @test ! -f findutils/Makefile || exit 0; \
7010 [ -d findutils ] || mkdir findutils; \
7011 r=`${PWD_COMMAND}`; export r; \
7012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7013 $(HOST_EXPORTS) \
7014 echo Configuring in findutils; \
7015 cd findutils || exit 1; \
7016 case $(srcdir) in \
7017 \.) \
7018 srcdiroption="--srcdir=."; \
7019 libsrcdir=".";; \
7020 /* | [A-Za-z]:[\\/]*) \
7021 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7022 libsrcdir="$$s/findutils";; \
7023 *) \
7024 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7025 libsrcdir="$$s/findutils";; \
7026 esac; \
7027 $(SHELL) $${libsrcdir}/configure \
7028 $(HOST_CONFIGARGS) $${srcdiroption} \
7029 || exit 1
7030 @endif findutils
7032 .PHONY: all-findutils maybe-all-findutils
7033 maybe-all-findutils:
7034 @if findutils
7035 maybe-all-findutils: all-findutils
7036 all-findutils: configure-findutils
7037 @r=`${PWD_COMMAND}`; export r; \
7038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 $(SET_LIB_PATH) \
7040 $(HOST_EXPORTS) \
7041 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7042 @endif findutils
7044 .PHONY: check-findutils maybe-check-findutils
7045 maybe-check-findutils:
7046 @if findutils
7047 maybe-check-findutils: check-findutils
7049 check-findutils:
7050 @r=`${PWD_COMMAND}`; export r; \
7051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7052 $(SET_LIB_PATH) \
7053 $(HOST_EXPORTS) \
7054 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7056 @endif findutils
7058 .PHONY: install-findutils maybe-install-findutils
7059 maybe-install-findutils:
7060 @if findutils
7061 maybe-install-findutils: install-findutils
7063 install-findutils: installdirs
7064 @r=`${PWD_COMMAND}`; export r; \
7065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7066 $(SET_LIB_PATH) \
7067 $(HOST_EXPORTS) \
7068 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7070 @endif findutils
7072 # Other targets (info, dvi, etc.)
7074 .PHONY: maybe-info-findutils info-findutils
7075 maybe-info-findutils:
7076 @if findutils
7077 maybe-info-findutils: info-findutils
7079 info-findutils: \
7080 configure-findutils
7081 @[ -f ./findutils/Makefile ] || exit 0; \
7082 r=`${PWD_COMMAND}`; export r; \
7083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7084 $(SET_LIB_PATH) \
7085 $(HOST_EXPORTS) \
7086 for flag in $(EXTRA_HOST_FLAGS); do \
7087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7088 done; \
7089 echo "Doing info in findutils" ; \
7090 (cd findutils && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7093 "RANLIB=$${RANLIB}" \
7094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7095 info) \
7096 || exit 1
7098 @endif findutils
7100 .PHONY: maybe-dvi-findutils dvi-findutils
7101 maybe-dvi-findutils:
7102 @if findutils
7103 maybe-dvi-findutils: dvi-findutils
7105 dvi-findutils: \
7106 configure-findutils
7107 @[ -f ./findutils/Makefile ] || exit 0; \
7108 r=`${PWD_COMMAND}`; export r; \
7109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110 $(SET_LIB_PATH) \
7111 $(HOST_EXPORTS) \
7112 for flag in $(EXTRA_HOST_FLAGS); do \
7113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7114 done; \
7115 echo "Doing dvi in findutils" ; \
7116 (cd findutils && \
7117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7119 "RANLIB=$${RANLIB}" \
7120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7121 dvi) \
7122 || exit 1
7124 @endif findutils
7126 .PHONY: maybe-TAGS-findutils TAGS-findutils
7127 maybe-TAGS-findutils:
7128 @if findutils
7129 maybe-TAGS-findutils: TAGS-findutils
7131 TAGS-findutils: \
7132 configure-findutils
7133 @[ -f ./findutils/Makefile ] || exit 0; \
7134 r=`${PWD_COMMAND}`; export r; \
7135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7136 $(SET_LIB_PATH) \
7137 $(HOST_EXPORTS) \
7138 for flag in $(EXTRA_HOST_FLAGS); do \
7139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 done; \
7141 echo "Doing TAGS in findutils" ; \
7142 (cd findutils && \
7143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7145 "RANLIB=$${RANLIB}" \
7146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7147 TAGS) \
7148 || exit 1
7150 @endif findutils
7152 .PHONY: maybe-install-info-findutils install-info-findutils
7153 maybe-install-info-findutils:
7154 @if findutils
7155 maybe-install-info-findutils: install-info-findutils
7157 install-info-findutils: \
7158 configure-findutils \
7159 info-findutils
7160 @[ -f ./findutils/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7163 $(SET_LIB_PATH) \
7164 $(HOST_EXPORTS) \
7165 for flag in $(EXTRA_HOST_FLAGS); do \
7166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7167 done; \
7168 echo "Doing install-info in findutils" ; \
7169 (cd findutils && \
7170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7172 "RANLIB=$${RANLIB}" \
7173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7174 install-info) \
7175 || exit 1
7177 @endif findutils
7179 .PHONY: maybe-installcheck-findutils installcheck-findutils
7180 maybe-installcheck-findutils:
7181 @if findutils
7182 maybe-installcheck-findutils: installcheck-findutils
7184 installcheck-findutils: \
7185 configure-findutils
7186 @[ -f ./findutils/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7189 $(SET_LIB_PATH) \
7190 $(HOST_EXPORTS) \
7191 for flag in $(EXTRA_HOST_FLAGS); do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 done; \
7194 echo "Doing installcheck in findutils" ; \
7195 (cd findutils && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7200 installcheck) \
7201 || exit 1
7203 @endif findutils
7205 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7206 maybe-mostlyclean-findutils:
7207 @if findutils
7208 maybe-mostlyclean-findutils: mostlyclean-findutils
7210 mostlyclean-findutils:
7211 @[ -f ./findutils/Makefile ] || exit 0; \
7212 r=`${PWD_COMMAND}`; export r; \
7213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7214 $(SET_LIB_PATH) \
7215 $(HOST_EXPORTS) \
7216 for flag in $(EXTRA_HOST_FLAGS); do \
7217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7218 done; \
7219 echo "Doing mostlyclean in findutils" ; \
7220 (cd findutils && \
7221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7223 "RANLIB=$${RANLIB}" \
7224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7225 mostlyclean) \
7226 || exit 1
7228 @endif findutils
7230 .PHONY: maybe-clean-findutils clean-findutils
7231 maybe-clean-findutils:
7232 @if findutils
7233 maybe-clean-findutils: clean-findutils
7235 clean-findutils:
7236 @[ -f ./findutils/Makefile ] || exit 0; \
7237 r=`${PWD_COMMAND}`; export r; \
7238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7239 $(SET_LIB_PATH) \
7240 $(HOST_EXPORTS) \
7241 for flag in $(EXTRA_HOST_FLAGS); do \
7242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7243 done; \
7244 echo "Doing clean in findutils" ; \
7245 (cd findutils && \
7246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7248 "RANLIB=$${RANLIB}" \
7249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7250 clean) \
7251 || exit 1
7253 @endif findutils
7255 .PHONY: maybe-distclean-findutils distclean-findutils
7256 maybe-distclean-findutils:
7257 @if findutils
7258 maybe-distclean-findutils: distclean-findutils
7260 distclean-findutils:
7261 @[ -f ./findutils/Makefile ] || exit 0; \
7262 r=`${PWD_COMMAND}`; export r; \
7263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7264 $(SET_LIB_PATH) \
7265 $(HOST_EXPORTS) \
7266 for flag in $(EXTRA_HOST_FLAGS); do \
7267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7268 done; \
7269 echo "Doing distclean in findutils" ; \
7270 (cd findutils && \
7271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7273 "RANLIB=$${RANLIB}" \
7274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7275 distclean) \
7276 || exit 1
7278 @endif findutils
7280 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7281 maybe-maintainer-clean-findutils:
7282 @if findutils
7283 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7285 maintainer-clean-findutils:
7286 @[ -f ./findutils/Makefile ] || exit 0; \
7287 r=`${PWD_COMMAND}`; export r; \
7288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7289 $(SET_LIB_PATH) \
7290 $(HOST_EXPORTS) \
7291 for flag in $(EXTRA_HOST_FLAGS); do \
7292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7293 done; \
7294 echo "Doing maintainer-clean in findutils" ; \
7295 (cd findutils && \
7296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7298 "RANLIB=$${RANLIB}" \
7299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7300 maintainer-clean) \
7301 || exit 1
7303 @endif findutils
7306 .PHONY: configure-find maybe-configure-find
7307 maybe-configure-find:
7308 @if find
7309 maybe-configure-find: configure-find
7310 configure-find:
7311 @test ! -f find/Makefile || exit 0; \
7312 [ -d find ] || mkdir find; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 $(HOST_EXPORTS) \
7316 echo Configuring in find; \
7317 cd find || exit 1; \
7318 case $(srcdir) in \
7319 \.) \
7320 srcdiroption="--srcdir=."; \
7321 libsrcdir=".";; \
7322 /* | [A-Za-z]:[\\/]*) \
7323 srcdiroption="--srcdir=$(srcdir)/find"; \
7324 libsrcdir="$$s/find";; \
7325 *) \
7326 srcdiroption="--srcdir=../$(srcdir)/find"; \
7327 libsrcdir="$$s/find";; \
7328 esac; \
7329 $(SHELL) $${libsrcdir}/configure \
7330 $(HOST_CONFIGARGS) $${srcdiroption} \
7331 || exit 1
7332 @endif find
7334 .PHONY: all-find maybe-all-find
7335 maybe-all-find:
7336 @if find
7337 maybe-all-find: all-find
7338 all-find: configure-find
7339 @r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7341 $(SET_LIB_PATH) \
7342 $(HOST_EXPORTS) \
7343 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7344 @endif find
7346 .PHONY: check-find maybe-check-find
7347 maybe-check-find:
7348 @if find
7349 maybe-check-find: check-find
7351 check-find:
7352 @r=`${PWD_COMMAND}`; export r; \
7353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7354 $(SET_LIB_PATH) \
7355 $(HOST_EXPORTS) \
7356 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7358 @endif find
7360 .PHONY: install-find maybe-install-find
7361 maybe-install-find:
7362 @if find
7363 maybe-install-find: install-find
7365 install-find: installdirs
7366 @r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(SET_LIB_PATH) \
7369 $(HOST_EXPORTS) \
7370 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7372 @endif find
7374 # Other targets (info, dvi, etc.)
7376 .PHONY: maybe-info-find info-find
7377 maybe-info-find:
7378 @if find
7379 maybe-info-find: info-find
7381 info-find: \
7382 configure-find
7383 @[ -f ./find/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7386 $(SET_LIB_PATH) \
7387 $(HOST_EXPORTS) \
7388 for flag in $(EXTRA_HOST_FLAGS); do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 done; \
7391 echo "Doing info in find" ; \
7392 (cd find && \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7397 info) \
7398 || exit 1
7400 @endif find
7402 .PHONY: maybe-dvi-find dvi-find
7403 maybe-dvi-find:
7404 @if find
7405 maybe-dvi-find: dvi-find
7407 dvi-find: \
7408 configure-find
7409 @[ -f ./find/Makefile ] || exit 0; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7412 $(SET_LIB_PATH) \
7413 $(HOST_EXPORTS) \
7414 for flag in $(EXTRA_HOST_FLAGS); do \
7415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7416 done; \
7417 echo "Doing dvi in find" ; \
7418 (cd find && \
7419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7421 "RANLIB=$${RANLIB}" \
7422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7423 dvi) \
7424 || exit 1
7426 @endif find
7428 .PHONY: maybe-TAGS-find TAGS-find
7429 maybe-TAGS-find:
7430 @if find
7431 maybe-TAGS-find: TAGS-find
7433 TAGS-find: \
7434 configure-find
7435 @[ -f ./find/Makefile ] || exit 0; \
7436 r=`${PWD_COMMAND}`; export r; \
7437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7438 $(SET_LIB_PATH) \
7439 $(HOST_EXPORTS) \
7440 for flag in $(EXTRA_HOST_FLAGS); do \
7441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7442 done; \
7443 echo "Doing TAGS in find" ; \
7444 (cd find && \
7445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7447 "RANLIB=$${RANLIB}" \
7448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7449 TAGS) \
7450 || exit 1
7452 @endif find
7454 .PHONY: maybe-install-info-find install-info-find
7455 maybe-install-info-find:
7456 @if find
7457 maybe-install-info-find: install-info-find
7459 install-info-find: \
7460 configure-find \
7461 info-find
7462 @[ -f ./find/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7465 $(SET_LIB_PATH) \
7466 $(HOST_EXPORTS) \
7467 for flag in $(EXTRA_HOST_FLAGS); do \
7468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7469 done; \
7470 echo "Doing install-info in find" ; \
7471 (cd find && \
7472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7474 "RANLIB=$${RANLIB}" \
7475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7476 install-info) \
7477 || exit 1
7479 @endif find
7481 .PHONY: maybe-installcheck-find installcheck-find
7482 maybe-installcheck-find:
7483 @if find
7484 maybe-installcheck-find: installcheck-find
7486 installcheck-find: \
7487 configure-find
7488 @[ -f ./find/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(SET_LIB_PATH) \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS); do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing installcheck in find" ; \
7497 (cd find && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7502 installcheck) \
7503 || exit 1
7505 @endif find
7507 .PHONY: maybe-mostlyclean-find mostlyclean-find
7508 maybe-mostlyclean-find:
7509 @if find
7510 maybe-mostlyclean-find: mostlyclean-find
7512 mostlyclean-find:
7513 @[ -f ./find/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(SET_LIB_PATH) \
7517 $(HOST_EXPORTS) \
7518 for flag in $(EXTRA_HOST_FLAGS); do \
7519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7520 done; \
7521 echo "Doing mostlyclean in find" ; \
7522 (cd find && \
7523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525 "RANLIB=$${RANLIB}" \
7526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7527 mostlyclean) \
7528 || exit 1
7530 @endif find
7532 .PHONY: maybe-clean-find clean-find
7533 maybe-clean-find:
7534 @if find
7535 maybe-clean-find: clean-find
7537 clean-find:
7538 @[ -f ./find/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(SET_LIB_PATH) \
7542 $(HOST_EXPORTS) \
7543 for flag in $(EXTRA_HOST_FLAGS); do \
7544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7545 done; \
7546 echo "Doing clean in find" ; \
7547 (cd find && \
7548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7550 "RANLIB=$${RANLIB}" \
7551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7552 clean) \
7553 || exit 1
7555 @endif find
7557 .PHONY: maybe-distclean-find distclean-find
7558 maybe-distclean-find:
7559 @if find
7560 maybe-distclean-find: distclean-find
7562 distclean-find:
7563 @[ -f ./find/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(SET_LIB_PATH) \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS); do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing distclean in find" ; \
7572 (cd find && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7577 distclean) \
7578 || exit 1
7580 @endif find
7582 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7583 maybe-maintainer-clean-find:
7584 @if find
7585 maybe-maintainer-clean-find: maintainer-clean-find
7587 maintainer-clean-find:
7588 @[ -f ./find/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(SET_LIB_PATH) \
7592 $(HOST_EXPORTS) \
7593 for flag in $(EXTRA_HOST_FLAGS); do \
7594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 done; \
7596 echo "Doing maintainer-clean in find" ; \
7597 (cd find && \
7598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7600 "RANLIB=$${RANLIB}" \
7601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7602 maintainer-clean) \
7603 || exit 1
7605 @endif find
7608 .PHONY: configure-flex maybe-configure-flex
7609 maybe-configure-flex:
7610 @if flex
7611 maybe-configure-flex: configure-flex
7612 configure-flex:
7613 @test ! -f flex/Makefile || exit 0; \
7614 [ -d flex ] || mkdir flex; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 echo Configuring in flex; \
7619 cd flex || exit 1; \
7620 case $(srcdir) in \
7621 \.) \
7622 srcdiroption="--srcdir=."; \
7623 libsrcdir=".";; \
7624 /* | [A-Za-z]:[\\/]*) \
7625 srcdiroption="--srcdir=$(srcdir)/flex"; \
7626 libsrcdir="$$s/flex";; \
7627 *) \
7628 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7629 libsrcdir="$$s/flex";; \
7630 esac; \
7631 $(SHELL) $${libsrcdir}/configure \
7632 $(HOST_CONFIGARGS) $${srcdiroption} \
7633 || exit 1
7634 @endif flex
7636 .PHONY: all-flex maybe-all-flex
7637 maybe-all-flex:
7638 @if flex
7639 maybe-all-flex: all-flex
7640 all-flex: configure-flex
7641 @r=`${PWD_COMMAND}`; export r; \
7642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7643 $(SET_LIB_PATH) \
7644 $(HOST_EXPORTS) \
7645 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7646 @endif flex
7648 .PHONY: check-flex maybe-check-flex
7649 maybe-check-flex:
7650 @if flex
7651 maybe-check-flex: check-flex
7653 # This module is only tested in a native toolchain.
7654 check-flex:
7655 @if [ '$(host)' = '$(target)' ] ; then \
7656 r=`${PWD_COMMAND}`; export r; \
7657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7658 $(SET_LIB_PATH) \
7659 $(HOST_EXPORTS) \
7660 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7663 @endif flex
7665 .PHONY: install-flex maybe-install-flex
7666 maybe-install-flex:
7667 @if flex
7668 maybe-install-flex: install-flex
7670 install-flex: installdirs
7671 @r=`${PWD_COMMAND}`; export r; \
7672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 $(SET_LIB_PATH) \
7674 $(HOST_EXPORTS) \
7675 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7677 @endif flex
7679 # Other targets (info, dvi, etc.)
7681 .PHONY: maybe-info-flex info-flex
7682 maybe-info-flex:
7683 @if flex
7684 maybe-info-flex: info-flex
7686 info-flex: \
7687 configure-flex
7688 @[ -f ./flex/Makefile ] || exit 0; \
7689 r=`${PWD_COMMAND}`; export r; \
7690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7691 $(SET_LIB_PATH) \
7692 $(HOST_EXPORTS) \
7693 for flag in $(EXTRA_HOST_FLAGS); do \
7694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 done; \
7696 echo "Doing info in flex" ; \
7697 (cd flex && \
7698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7700 "RANLIB=$${RANLIB}" \
7701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7702 info) \
7703 || exit 1
7705 @endif flex
7707 .PHONY: maybe-dvi-flex dvi-flex
7708 maybe-dvi-flex:
7709 @if flex
7710 maybe-dvi-flex: dvi-flex
7712 dvi-flex: \
7713 configure-flex
7714 @[ -f ./flex/Makefile ] || exit 0; \
7715 r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(SET_LIB_PATH) \
7718 $(HOST_EXPORTS) \
7719 for flag in $(EXTRA_HOST_FLAGS); do \
7720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7721 done; \
7722 echo "Doing dvi in flex" ; \
7723 (cd flex && \
7724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7726 "RANLIB=$${RANLIB}" \
7727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7728 dvi) \
7729 || exit 1
7731 @endif flex
7733 .PHONY: maybe-TAGS-flex TAGS-flex
7734 maybe-TAGS-flex:
7735 @if flex
7736 maybe-TAGS-flex: TAGS-flex
7738 TAGS-flex: \
7739 configure-flex
7740 @[ -f ./flex/Makefile ] || exit 0; \
7741 r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 $(SET_LIB_PATH) \
7744 $(HOST_EXPORTS) \
7745 for flag in $(EXTRA_HOST_FLAGS); do \
7746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7747 done; \
7748 echo "Doing TAGS in flex" ; \
7749 (cd flex && \
7750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7752 "RANLIB=$${RANLIB}" \
7753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7754 TAGS) \
7755 || exit 1
7757 @endif flex
7759 .PHONY: maybe-install-info-flex install-info-flex
7760 maybe-install-info-flex:
7761 @if flex
7762 maybe-install-info-flex: install-info-flex
7764 install-info-flex: \
7765 configure-flex \
7766 info-flex
7767 @[ -f ./flex/Makefile ] || exit 0; \
7768 r=`${PWD_COMMAND}`; export r; \
7769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7770 $(SET_LIB_PATH) \
7771 $(HOST_EXPORTS) \
7772 for flag in $(EXTRA_HOST_FLAGS); do \
7773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7774 done; \
7775 echo "Doing install-info in flex" ; \
7776 (cd flex && \
7777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779 "RANLIB=$${RANLIB}" \
7780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7781 install-info) \
7782 || exit 1
7784 @endif flex
7786 .PHONY: maybe-installcheck-flex installcheck-flex
7787 maybe-installcheck-flex:
7788 @if flex
7789 maybe-installcheck-flex: installcheck-flex
7791 installcheck-flex: \
7792 configure-flex
7793 @[ -f ./flex/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(SET_LIB_PATH) \
7797 $(HOST_EXPORTS) \
7798 for flag in $(EXTRA_HOST_FLAGS); do \
7799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7800 done; \
7801 echo "Doing installcheck in flex" ; \
7802 (cd flex && \
7803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7805 "RANLIB=$${RANLIB}" \
7806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7807 installcheck) \
7808 || exit 1
7810 @endif flex
7812 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7813 maybe-mostlyclean-flex:
7814 @if flex
7815 maybe-mostlyclean-flex: mostlyclean-flex
7817 mostlyclean-flex:
7818 @[ -f ./flex/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(SET_LIB_PATH) \
7822 $(HOST_EXPORTS) \
7823 for flag in $(EXTRA_HOST_FLAGS); do \
7824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7825 done; \
7826 echo "Doing mostlyclean in flex" ; \
7827 (cd flex && \
7828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7830 "RANLIB=$${RANLIB}" \
7831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7832 mostlyclean) \
7833 || exit 1
7835 @endif flex
7837 .PHONY: maybe-clean-flex clean-flex
7838 maybe-clean-flex:
7839 @if flex
7840 maybe-clean-flex: clean-flex
7842 clean-flex:
7843 @[ -f ./flex/Makefile ] || exit 0; \
7844 r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(SET_LIB_PATH) \
7847 $(HOST_EXPORTS) \
7848 for flag in $(EXTRA_HOST_FLAGS); do \
7849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 done; \
7851 echo "Doing clean in flex" ; \
7852 (cd flex && \
7853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7855 "RANLIB=$${RANLIB}" \
7856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 clean) \
7858 || exit 1
7860 @endif flex
7862 .PHONY: maybe-distclean-flex distclean-flex
7863 maybe-distclean-flex:
7864 @if flex
7865 maybe-distclean-flex: distclean-flex
7867 distclean-flex:
7868 @[ -f ./flex/Makefile ] || exit 0; \
7869 r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7871 $(SET_LIB_PATH) \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS); do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing distclean in flex" ; \
7877 (cd flex && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 distclean) \
7883 || exit 1
7885 @endif flex
7887 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7888 maybe-maintainer-clean-flex:
7889 @if flex
7890 maybe-maintainer-clean-flex: maintainer-clean-flex
7892 maintainer-clean-flex:
7893 @[ -f ./flex/Makefile ] || exit 0; \
7894 r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(SET_LIB_PATH) \
7897 $(HOST_EXPORTS) \
7898 for flag in $(EXTRA_HOST_FLAGS); do \
7899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7900 done; \
7901 echo "Doing maintainer-clean in flex" ; \
7902 (cd flex && \
7903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7905 "RANLIB=$${RANLIB}" \
7906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7907 maintainer-clean) \
7908 || exit 1
7910 @endif flex
7913 .PHONY: configure-gas maybe-configure-gas
7914 maybe-configure-gas:
7915 @if gas
7916 maybe-configure-gas: configure-gas
7917 configure-gas:
7918 @test ! -f gas/Makefile || exit 0; \
7919 [ -d gas ] || mkdir gas; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 echo Configuring in gas; \
7924 cd gas || exit 1; \
7925 case $(srcdir) in \
7926 \.) \
7927 srcdiroption="--srcdir=."; \
7928 libsrcdir=".";; \
7929 /* | [A-Za-z]:[\\/]*) \
7930 srcdiroption="--srcdir=$(srcdir)/gas"; \
7931 libsrcdir="$$s/gas";; \
7932 *) \
7933 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7934 libsrcdir="$$s/gas";; \
7935 esac; \
7936 $(SHELL) $${libsrcdir}/configure \
7937 $(HOST_CONFIGARGS) $${srcdiroption} \
7938 || exit 1
7939 @endif gas
7941 .PHONY: all-gas maybe-all-gas
7942 maybe-all-gas:
7943 @if gas
7944 maybe-all-gas: all-gas
7945 all-gas: configure-gas
7946 @r=`${PWD_COMMAND}`; export r; \
7947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7948 $(SET_LIB_PATH) \
7949 $(HOST_EXPORTS) \
7950 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7951 @endif gas
7953 .PHONY: check-gas maybe-check-gas
7954 maybe-check-gas:
7955 @if gas
7956 maybe-check-gas: check-gas
7958 check-gas:
7959 @r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(SET_LIB_PATH) \
7962 $(HOST_EXPORTS) \
7963 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7965 @endif gas
7967 .PHONY: install-gas maybe-install-gas
7968 maybe-install-gas:
7969 @if gas
7970 maybe-install-gas: install-gas
7972 install-gas: installdirs
7973 @r=`${PWD_COMMAND}`; export r; \
7974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 $(SET_LIB_PATH) \
7976 $(HOST_EXPORTS) \
7977 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7979 @endif gas
7981 # Other targets (info, dvi, etc.)
7983 .PHONY: maybe-info-gas info-gas
7984 maybe-info-gas:
7985 @if gas
7986 maybe-info-gas: info-gas
7988 info-gas: \
7989 configure-gas
7990 @[ -f ./gas/Makefile ] || exit 0; \
7991 r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 $(SET_LIB_PATH) \
7994 $(HOST_EXPORTS) \
7995 for flag in $(EXTRA_HOST_FLAGS); do \
7996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7997 done; \
7998 echo "Doing info in gas" ; \
7999 (cd gas && \
8000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8002 "RANLIB=$${RANLIB}" \
8003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8004 info) \
8005 || exit 1
8007 @endif gas
8009 .PHONY: maybe-dvi-gas dvi-gas
8010 maybe-dvi-gas:
8011 @if gas
8012 maybe-dvi-gas: dvi-gas
8014 dvi-gas: \
8015 configure-gas
8016 @[ -f ./gas/Makefile ] || exit 0; \
8017 r=`${PWD_COMMAND}`; export r; \
8018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8019 $(SET_LIB_PATH) \
8020 $(HOST_EXPORTS) \
8021 for flag in $(EXTRA_HOST_FLAGS); do \
8022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8023 done; \
8024 echo "Doing dvi in gas" ; \
8025 (cd gas && \
8026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8028 "RANLIB=$${RANLIB}" \
8029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8030 dvi) \
8031 || exit 1
8033 @endif gas
8035 .PHONY: maybe-TAGS-gas TAGS-gas
8036 maybe-TAGS-gas:
8037 @if gas
8038 maybe-TAGS-gas: TAGS-gas
8040 TAGS-gas: \
8041 configure-gas
8042 @[ -f ./gas/Makefile ] || exit 0; \
8043 r=`${PWD_COMMAND}`; export r; \
8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 $(SET_LIB_PATH) \
8046 $(HOST_EXPORTS) \
8047 for flag in $(EXTRA_HOST_FLAGS); do \
8048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8049 done; \
8050 echo "Doing TAGS in gas" ; \
8051 (cd gas && \
8052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8054 "RANLIB=$${RANLIB}" \
8055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8056 TAGS) \
8057 || exit 1
8059 @endif gas
8061 .PHONY: maybe-install-info-gas install-info-gas
8062 maybe-install-info-gas:
8063 @if gas
8064 maybe-install-info-gas: install-info-gas
8066 install-info-gas: \
8067 configure-gas \
8068 info-gas
8069 @[ -f ./gas/Makefile ] || exit 0; \
8070 r=`${PWD_COMMAND}`; export r; \
8071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8072 $(SET_LIB_PATH) \
8073 $(HOST_EXPORTS) \
8074 for flag in $(EXTRA_HOST_FLAGS); do \
8075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8076 done; \
8077 echo "Doing install-info in gas" ; \
8078 (cd gas && \
8079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8081 "RANLIB=$${RANLIB}" \
8082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8083 install-info) \
8084 || exit 1
8086 @endif gas
8088 .PHONY: maybe-installcheck-gas installcheck-gas
8089 maybe-installcheck-gas:
8090 @if gas
8091 maybe-installcheck-gas: installcheck-gas
8093 installcheck-gas: \
8094 configure-gas
8095 @[ -f ./gas/Makefile ] || exit 0; \
8096 r=`${PWD_COMMAND}`; export r; \
8097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8098 $(SET_LIB_PATH) \
8099 $(HOST_EXPORTS) \
8100 for flag in $(EXTRA_HOST_FLAGS); do \
8101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8102 done; \
8103 echo "Doing installcheck in gas" ; \
8104 (cd gas && \
8105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8107 "RANLIB=$${RANLIB}" \
8108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8109 installcheck) \
8110 || exit 1
8112 @endif gas
8114 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8115 maybe-mostlyclean-gas:
8116 @if gas
8117 maybe-mostlyclean-gas: mostlyclean-gas
8119 mostlyclean-gas:
8120 @[ -f ./gas/Makefile ] || exit 0; \
8121 r=`${PWD_COMMAND}`; export r; \
8122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 $(SET_LIB_PATH) \
8124 $(HOST_EXPORTS) \
8125 for flag in $(EXTRA_HOST_FLAGS); do \
8126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8127 done; \
8128 echo "Doing mostlyclean in gas" ; \
8129 (cd gas && \
8130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8132 "RANLIB=$${RANLIB}" \
8133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8134 mostlyclean) \
8135 || exit 1
8137 @endif gas
8139 .PHONY: maybe-clean-gas clean-gas
8140 maybe-clean-gas:
8141 @if gas
8142 maybe-clean-gas: clean-gas
8144 clean-gas:
8145 @[ -f ./gas/Makefile ] || exit 0; \
8146 r=`${PWD_COMMAND}`; export r; \
8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8148 $(SET_LIB_PATH) \
8149 $(HOST_EXPORTS) \
8150 for flag in $(EXTRA_HOST_FLAGS); do \
8151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8152 done; \
8153 echo "Doing clean in gas" ; \
8154 (cd gas && \
8155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8157 "RANLIB=$${RANLIB}" \
8158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8159 clean) \
8160 || exit 1
8162 @endif gas
8164 .PHONY: maybe-distclean-gas distclean-gas
8165 maybe-distclean-gas:
8166 @if gas
8167 maybe-distclean-gas: distclean-gas
8169 distclean-gas:
8170 @[ -f ./gas/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8173 $(SET_LIB_PATH) \
8174 $(HOST_EXPORTS) \
8175 for flag in $(EXTRA_HOST_FLAGS); do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177 done; \
8178 echo "Doing distclean in gas" ; \
8179 (cd gas && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8184 distclean) \
8185 || exit 1
8187 @endif gas
8189 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8190 maybe-maintainer-clean-gas:
8191 @if gas
8192 maybe-maintainer-clean-gas: maintainer-clean-gas
8194 maintainer-clean-gas:
8195 @[ -f ./gas/Makefile ] || exit 0; \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8198 $(SET_LIB_PATH) \
8199 $(HOST_EXPORTS) \
8200 for flag in $(EXTRA_HOST_FLAGS); do \
8201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8202 done; \
8203 echo "Doing maintainer-clean in gas" ; \
8204 (cd gas && \
8205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8207 "RANLIB=$${RANLIB}" \
8208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8209 maintainer-clean) \
8210 || exit 1
8212 @endif gas
8215 .PHONY: configure-gawk maybe-configure-gawk
8216 maybe-configure-gawk:
8217 @if gawk
8218 maybe-configure-gawk: configure-gawk
8219 configure-gawk:
8220 @test ! -f gawk/Makefile || exit 0; \
8221 [ -d gawk ] || mkdir gawk; \
8222 r=`${PWD_COMMAND}`; export r; \
8223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8224 $(HOST_EXPORTS) \
8225 echo Configuring in gawk; \
8226 cd gawk || exit 1; \
8227 case $(srcdir) in \
8228 \.) \
8229 srcdiroption="--srcdir=."; \
8230 libsrcdir=".";; \
8231 /* | [A-Za-z]:[\\/]*) \
8232 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8233 libsrcdir="$$s/gawk";; \
8234 *) \
8235 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8236 libsrcdir="$$s/gawk";; \
8237 esac; \
8238 $(SHELL) $${libsrcdir}/configure \
8239 $(HOST_CONFIGARGS) $${srcdiroption} \
8240 || exit 1
8241 @endif gawk
8243 .PHONY: all-gawk maybe-all-gawk
8244 maybe-all-gawk:
8245 @if gawk
8246 maybe-all-gawk: all-gawk
8247 all-gawk: configure-gawk
8248 @r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(SET_LIB_PATH) \
8251 $(HOST_EXPORTS) \
8252 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8253 @endif gawk
8255 .PHONY: check-gawk maybe-check-gawk
8256 maybe-check-gawk:
8257 @if gawk
8258 maybe-check-gawk: check-gawk
8260 check-gawk:
8261 @r=`${PWD_COMMAND}`; export r; \
8262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8263 $(SET_LIB_PATH) \
8264 $(HOST_EXPORTS) \
8265 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8267 @endif gawk
8269 .PHONY: install-gawk maybe-install-gawk
8270 maybe-install-gawk:
8271 @if gawk
8272 maybe-install-gawk: install-gawk
8274 install-gawk: installdirs
8275 @r=`${PWD_COMMAND}`; export r; \
8276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8277 $(SET_LIB_PATH) \
8278 $(HOST_EXPORTS) \
8279 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8281 @endif gawk
8283 # Other targets (info, dvi, etc.)
8285 .PHONY: maybe-info-gawk info-gawk
8286 maybe-info-gawk:
8287 @if gawk
8288 maybe-info-gawk: info-gawk
8290 info-gawk: \
8291 configure-gawk
8292 @[ -f ./gawk/Makefile ] || exit 0; \
8293 r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 $(SET_LIB_PATH) \
8296 $(HOST_EXPORTS) \
8297 for flag in $(EXTRA_HOST_FLAGS); do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299 done; \
8300 echo "Doing info in gawk" ; \
8301 (cd gawk && \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8306 info) \
8307 || exit 1
8309 @endif gawk
8311 .PHONY: maybe-dvi-gawk dvi-gawk
8312 maybe-dvi-gawk:
8313 @if gawk
8314 maybe-dvi-gawk: dvi-gawk
8316 dvi-gawk: \
8317 configure-gawk
8318 @[ -f ./gawk/Makefile ] || exit 0; \
8319 r=`${PWD_COMMAND}`; export r; \
8320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8321 $(SET_LIB_PATH) \
8322 $(HOST_EXPORTS) \
8323 for flag in $(EXTRA_HOST_FLAGS); do \
8324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8325 done; \
8326 echo "Doing dvi in gawk" ; \
8327 (cd gawk && \
8328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8330 "RANLIB=$${RANLIB}" \
8331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8332 dvi) \
8333 || exit 1
8335 @endif gawk
8337 .PHONY: maybe-TAGS-gawk TAGS-gawk
8338 maybe-TAGS-gawk:
8339 @if gawk
8340 maybe-TAGS-gawk: TAGS-gawk
8342 TAGS-gawk: \
8343 configure-gawk
8344 @[ -f ./gawk/Makefile ] || exit 0; \
8345 r=`${PWD_COMMAND}`; export r; \
8346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8347 $(SET_LIB_PATH) \
8348 $(HOST_EXPORTS) \
8349 for flag in $(EXTRA_HOST_FLAGS); do \
8350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8351 done; \
8352 echo "Doing TAGS in gawk" ; \
8353 (cd gawk && \
8354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8356 "RANLIB=$${RANLIB}" \
8357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8358 TAGS) \
8359 || exit 1
8361 @endif gawk
8363 .PHONY: maybe-install-info-gawk install-info-gawk
8364 maybe-install-info-gawk:
8365 @if gawk
8366 maybe-install-info-gawk: install-info-gawk
8368 install-info-gawk: \
8369 configure-gawk \
8370 info-gawk
8371 @[ -f ./gawk/Makefile ] || exit 0; \
8372 r=`${PWD_COMMAND}`; export r; \
8373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 $(SET_LIB_PATH) \
8375 $(HOST_EXPORTS) \
8376 for flag in $(EXTRA_HOST_FLAGS); do \
8377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8378 done; \
8379 echo "Doing install-info in gawk" ; \
8380 (cd gawk && \
8381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383 "RANLIB=$${RANLIB}" \
8384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8385 install-info) \
8386 || exit 1
8388 @endif gawk
8390 .PHONY: maybe-installcheck-gawk installcheck-gawk
8391 maybe-installcheck-gawk:
8392 @if gawk
8393 maybe-installcheck-gawk: installcheck-gawk
8395 installcheck-gawk: \
8396 configure-gawk
8397 @[ -f ./gawk/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(SET_LIB_PATH) \
8401 $(HOST_EXPORTS) \
8402 for flag in $(EXTRA_HOST_FLAGS); do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8404 done; \
8405 echo "Doing installcheck in gawk" ; \
8406 (cd gawk && \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 installcheck) \
8412 || exit 1
8414 @endif gawk
8416 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8417 maybe-mostlyclean-gawk:
8418 @if gawk
8419 maybe-mostlyclean-gawk: mostlyclean-gawk
8421 mostlyclean-gawk:
8422 @[ -f ./gawk/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(SET_LIB_PATH) \
8426 $(HOST_EXPORTS) \
8427 for flag in $(EXTRA_HOST_FLAGS); do \
8428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8429 done; \
8430 echo "Doing mostlyclean in gawk" ; \
8431 (cd gawk && \
8432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8434 "RANLIB=$${RANLIB}" \
8435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8436 mostlyclean) \
8437 || exit 1
8439 @endif gawk
8441 .PHONY: maybe-clean-gawk clean-gawk
8442 maybe-clean-gawk:
8443 @if gawk
8444 maybe-clean-gawk: clean-gawk
8446 clean-gawk:
8447 @[ -f ./gawk/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 clean in gawk" ; \
8456 (cd gawk && \
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 clean) \
8462 || exit 1
8464 @endif gawk
8466 .PHONY: maybe-distclean-gawk distclean-gawk
8467 maybe-distclean-gawk:
8468 @if gawk
8469 maybe-distclean-gawk: distclean-gawk
8471 distclean-gawk:
8472 @[ -f ./gawk/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 distclean in gawk" ; \
8481 (cd gawk && \
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 distclean) \
8487 || exit 1
8489 @endif gawk
8491 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8492 maybe-maintainer-clean-gawk:
8493 @if gawk
8494 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8496 maintainer-clean-gawk:
8497 @[ -f ./gawk/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 maintainer-clean in gawk" ; \
8506 (cd gawk && \
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 maintainer-clean) \
8512 || exit 1
8514 @endif gawk
8517 .PHONY: configure-gettext maybe-configure-gettext
8518 maybe-configure-gettext:
8519 @if gettext
8520 maybe-configure-gettext: configure-gettext
8521 configure-gettext:
8522 @test ! -f gettext/Makefile || exit 0; \
8523 [ -d gettext ] || mkdir gettext; \
8524 r=`${PWD_COMMAND}`; export r; \
8525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 $(HOST_EXPORTS) \
8527 echo Configuring in gettext; \
8528 cd gettext || exit 1; \
8529 case $(srcdir) in \
8530 \.) \
8531 srcdiroption="--srcdir=."; \
8532 libsrcdir=".";; \
8533 /* | [A-Za-z]:[\\/]*) \
8534 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8535 libsrcdir="$$s/gettext";; \
8536 *) \
8537 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8538 libsrcdir="$$s/gettext";; \
8539 esac; \
8540 $(SHELL) $${libsrcdir}/configure \
8541 $(HOST_CONFIGARGS) $${srcdiroption} \
8542 || exit 1
8543 @endif gettext
8545 .PHONY: all-gettext maybe-all-gettext
8546 maybe-all-gettext:
8547 @if gettext
8548 maybe-all-gettext: all-gettext
8549 all-gettext: configure-gettext
8550 @r=`${PWD_COMMAND}`; export r; \
8551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8552 $(SET_LIB_PATH) \
8553 $(HOST_EXPORTS) \
8554 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8555 @endif gettext
8557 .PHONY: check-gettext maybe-check-gettext
8558 maybe-check-gettext:
8559 @if gettext
8560 maybe-check-gettext: check-gettext
8562 check-gettext:
8563 @r=`${PWD_COMMAND}`; export r; \
8564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8565 $(SET_LIB_PATH) \
8566 $(HOST_EXPORTS) \
8567 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8569 @endif gettext
8571 .PHONY: install-gettext maybe-install-gettext
8572 maybe-install-gettext:
8573 @if gettext
8574 maybe-install-gettext: install-gettext
8576 install-gettext: installdirs
8577 @r=`${PWD_COMMAND}`; export r; \
8578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8579 $(SET_LIB_PATH) \
8580 $(HOST_EXPORTS) \
8581 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8583 @endif gettext
8585 # Other targets (info, dvi, etc.)
8587 .PHONY: maybe-info-gettext info-gettext
8588 maybe-info-gettext:
8589 @if gettext
8590 maybe-info-gettext: info-gettext
8592 info-gettext: \
8593 configure-gettext
8594 @[ -f ./gettext/Makefile ] || exit 0; \
8595 r=`${PWD_COMMAND}`; export r; \
8596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8597 $(SET_LIB_PATH) \
8598 $(HOST_EXPORTS) \
8599 for flag in $(EXTRA_HOST_FLAGS); do \
8600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8601 done; \
8602 echo "Doing info in gettext" ; \
8603 (cd gettext && \
8604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606 "RANLIB=$${RANLIB}" \
8607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8608 info) \
8609 || exit 1
8611 @endif gettext
8613 .PHONY: maybe-dvi-gettext dvi-gettext
8614 maybe-dvi-gettext:
8615 @if gettext
8616 maybe-dvi-gettext: dvi-gettext
8618 dvi-gettext: \
8619 configure-gettext
8620 @[ -f ./gettext/Makefile ] || exit 0; \
8621 r=`${PWD_COMMAND}`; export r; \
8622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8623 $(SET_LIB_PATH) \
8624 $(HOST_EXPORTS) \
8625 for flag in $(EXTRA_HOST_FLAGS); do \
8626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8627 done; \
8628 echo "Doing dvi in gettext" ; \
8629 (cd gettext && \
8630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8632 "RANLIB=$${RANLIB}" \
8633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8634 dvi) \
8635 || exit 1
8637 @endif gettext
8639 .PHONY: maybe-TAGS-gettext TAGS-gettext
8640 maybe-TAGS-gettext:
8641 @if gettext
8642 maybe-TAGS-gettext: TAGS-gettext
8644 TAGS-gettext: \
8645 configure-gettext
8646 @[ -f ./gettext/Makefile ] || exit 0; \
8647 r=`${PWD_COMMAND}`; export r; \
8648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8649 $(SET_LIB_PATH) \
8650 $(HOST_EXPORTS) \
8651 for flag in $(EXTRA_HOST_FLAGS); do \
8652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 done; \
8654 echo "Doing TAGS in gettext" ; \
8655 (cd gettext && \
8656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8658 "RANLIB=$${RANLIB}" \
8659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8660 TAGS) \
8661 || exit 1
8663 @endif gettext
8665 .PHONY: maybe-install-info-gettext install-info-gettext
8666 maybe-install-info-gettext:
8667 @if gettext
8668 maybe-install-info-gettext: install-info-gettext
8670 install-info-gettext: \
8671 configure-gettext \
8672 info-gettext
8673 @[ -f ./gettext/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 $(SET_LIB_PATH) \
8677 $(HOST_EXPORTS) \
8678 for flag in $(EXTRA_HOST_FLAGS); do \
8679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8680 done; \
8681 echo "Doing install-info in gettext" ; \
8682 (cd gettext && \
8683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685 "RANLIB=$${RANLIB}" \
8686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8687 install-info) \
8688 || exit 1
8690 @endif gettext
8692 .PHONY: maybe-installcheck-gettext installcheck-gettext
8693 maybe-installcheck-gettext:
8694 @if gettext
8695 maybe-installcheck-gettext: installcheck-gettext
8697 installcheck-gettext: \
8698 configure-gettext
8699 @[ -f ./gettext/Makefile ] || exit 0; \
8700 r=`${PWD_COMMAND}`; export r; \
8701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702 $(SET_LIB_PATH) \
8703 $(HOST_EXPORTS) \
8704 for flag in $(EXTRA_HOST_FLAGS); do \
8705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8706 done; \
8707 echo "Doing installcheck in gettext" ; \
8708 (cd gettext && \
8709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8711 "RANLIB=$${RANLIB}" \
8712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8713 installcheck) \
8714 || exit 1
8716 @endif gettext
8718 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
8719 maybe-mostlyclean-gettext:
8720 @if gettext
8721 maybe-mostlyclean-gettext: mostlyclean-gettext
8723 mostlyclean-gettext:
8724 @[ -f ./gettext/Makefile ] || exit 0; \
8725 r=`${PWD_COMMAND}`; export r; \
8726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727 $(SET_LIB_PATH) \
8728 $(HOST_EXPORTS) \
8729 for flag in $(EXTRA_HOST_FLAGS); do \
8730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8731 done; \
8732 echo "Doing mostlyclean in gettext" ; \
8733 (cd gettext && \
8734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8736 "RANLIB=$${RANLIB}" \
8737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8738 mostlyclean) \
8739 || exit 1
8741 @endif gettext
8743 .PHONY: maybe-clean-gettext clean-gettext
8744 maybe-clean-gettext:
8745 @if gettext
8746 maybe-clean-gettext: clean-gettext
8748 clean-gettext:
8749 @[ -f ./gettext/Makefile ] || exit 0; \
8750 r=`${PWD_COMMAND}`; export r; \
8751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8752 $(SET_LIB_PATH) \
8753 $(HOST_EXPORTS) \
8754 for flag in $(EXTRA_HOST_FLAGS); do \
8755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8756 done; \
8757 echo "Doing clean in gettext" ; \
8758 (cd gettext && \
8759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8761 "RANLIB=$${RANLIB}" \
8762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8763 clean) \
8764 || exit 1
8766 @endif gettext
8768 .PHONY: maybe-distclean-gettext distclean-gettext
8769 maybe-distclean-gettext:
8770 @if gettext
8771 maybe-distclean-gettext: distclean-gettext
8773 distclean-gettext:
8774 @[ -f ./gettext/Makefile ] || exit 0; \
8775 r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8777 $(SET_LIB_PATH) \
8778 $(HOST_EXPORTS) \
8779 for flag in $(EXTRA_HOST_FLAGS); do \
8780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8781 done; \
8782 echo "Doing distclean in gettext" ; \
8783 (cd gettext && \
8784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8786 "RANLIB=$${RANLIB}" \
8787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8788 distclean) \
8789 || exit 1
8791 @endif gettext
8793 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
8794 maybe-maintainer-clean-gettext:
8795 @if gettext
8796 maybe-maintainer-clean-gettext: maintainer-clean-gettext
8798 maintainer-clean-gettext:
8799 @[ -f ./gettext/Makefile ] || exit 0; \
8800 r=`${PWD_COMMAND}`; export r; \
8801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8802 $(SET_LIB_PATH) \
8803 $(HOST_EXPORTS) \
8804 for flag in $(EXTRA_HOST_FLAGS); do \
8805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8806 done; \
8807 echo "Doing maintainer-clean in gettext" ; \
8808 (cd gettext && \
8809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8811 "RANLIB=$${RANLIB}" \
8812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8813 maintainer-clean) \
8814 || exit 1
8816 @endif gettext
8819 .PHONY: configure-gnuserv maybe-configure-gnuserv
8820 maybe-configure-gnuserv:
8821 @if gnuserv
8822 maybe-configure-gnuserv: configure-gnuserv
8823 configure-gnuserv:
8824 @test ! -f gnuserv/Makefile || exit 0; \
8825 [ -d gnuserv ] || mkdir gnuserv; \
8826 r=`${PWD_COMMAND}`; export r; \
8827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8828 $(HOST_EXPORTS) \
8829 echo Configuring in gnuserv; \
8830 cd gnuserv || exit 1; \
8831 case $(srcdir) in \
8832 \.) \
8833 srcdiroption="--srcdir=."; \
8834 libsrcdir=".";; \
8835 /* | [A-Za-z]:[\\/]*) \
8836 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
8837 libsrcdir="$$s/gnuserv";; \
8838 *) \
8839 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
8840 libsrcdir="$$s/gnuserv";; \
8841 esac; \
8842 $(SHELL) $${libsrcdir}/configure \
8843 $(HOST_CONFIGARGS) $${srcdiroption} \
8844 || exit 1
8845 @endif gnuserv
8847 .PHONY: all-gnuserv maybe-all-gnuserv
8848 maybe-all-gnuserv:
8849 @if gnuserv
8850 maybe-all-gnuserv: all-gnuserv
8851 all-gnuserv: configure-gnuserv
8852 @r=`${PWD_COMMAND}`; export r; \
8853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8854 $(SET_LIB_PATH) \
8855 $(HOST_EXPORTS) \
8856 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
8857 @endif gnuserv
8859 .PHONY: check-gnuserv maybe-check-gnuserv
8860 maybe-check-gnuserv:
8861 @if gnuserv
8862 maybe-check-gnuserv: check-gnuserv
8864 check-gnuserv:
8865 @r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(SET_LIB_PATH) \
8868 $(HOST_EXPORTS) \
8869 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8871 @endif gnuserv
8873 .PHONY: install-gnuserv maybe-install-gnuserv
8874 maybe-install-gnuserv:
8875 @if gnuserv
8876 maybe-install-gnuserv: install-gnuserv
8878 install-gnuserv: installdirs
8879 @r=`${PWD_COMMAND}`; export r; \
8880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8881 $(SET_LIB_PATH) \
8882 $(HOST_EXPORTS) \
8883 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8885 @endif gnuserv
8887 # Other targets (info, dvi, etc.)
8889 .PHONY: maybe-info-gnuserv info-gnuserv
8890 maybe-info-gnuserv:
8891 @if gnuserv
8892 maybe-info-gnuserv: info-gnuserv
8894 info-gnuserv: \
8895 configure-gnuserv
8896 @[ -f ./gnuserv/Makefile ] || exit 0; \
8897 r=`${PWD_COMMAND}`; export r; \
8898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8899 $(SET_LIB_PATH) \
8900 $(HOST_EXPORTS) \
8901 for flag in $(EXTRA_HOST_FLAGS); do \
8902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8903 done; \
8904 echo "Doing info in gnuserv" ; \
8905 (cd gnuserv && \
8906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8908 "RANLIB=$${RANLIB}" \
8909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8910 info) \
8911 || exit 1
8913 @endif gnuserv
8915 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8916 maybe-dvi-gnuserv:
8917 @if gnuserv
8918 maybe-dvi-gnuserv: dvi-gnuserv
8920 dvi-gnuserv: \
8921 configure-gnuserv
8922 @[ -f ./gnuserv/Makefile ] || exit 0; \
8923 r=`${PWD_COMMAND}`; export r; \
8924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8925 $(SET_LIB_PATH) \
8926 $(HOST_EXPORTS) \
8927 for flag in $(EXTRA_HOST_FLAGS); do \
8928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8929 done; \
8930 echo "Doing dvi in gnuserv" ; \
8931 (cd gnuserv && \
8932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8934 "RANLIB=$${RANLIB}" \
8935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8936 dvi) \
8937 || exit 1
8939 @endif gnuserv
8941 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8942 maybe-TAGS-gnuserv:
8943 @if gnuserv
8944 maybe-TAGS-gnuserv: TAGS-gnuserv
8946 TAGS-gnuserv: \
8947 configure-gnuserv
8948 @[ -f ./gnuserv/Makefile ] || exit 0; \
8949 r=`${PWD_COMMAND}`; export r; \
8950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8951 $(SET_LIB_PATH) \
8952 $(HOST_EXPORTS) \
8953 for flag in $(EXTRA_HOST_FLAGS); do \
8954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 done; \
8956 echo "Doing TAGS in gnuserv" ; \
8957 (cd gnuserv && \
8958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8960 "RANLIB=$${RANLIB}" \
8961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8962 TAGS) \
8963 || exit 1
8965 @endif gnuserv
8967 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8968 maybe-install-info-gnuserv:
8969 @if gnuserv
8970 maybe-install-info-gnuserv: install-info-gnuserv
8972 install-info-gnuserv: \
8973 configure-gnuserv \
8974 info-gnuserv
8975 @[ -f ./gnuserv/Makefile ] || exit 0; \
8976 r=`${PWD_COMMAND}`; export r; \
8977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 $(SET_LIB_PATH) \
8979 $(HOST_EXPORTS) \
8980 for flag in $(EXTRA_HOST_FLAGS); do \
8981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8982 done; \
8983 echo "Doing install-info in gnuserv" ; \
8984 (cd gnuserv && \
8985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8987 "RANLIB=$${RANLIB}" \
8988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8989 install-info) \
8990 || exit 1
8992 @endif gnuserv
8994 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8995 maybe-installcheck-gnuserv:
8996 @if gnuserv
8997 maybe-installcheck-gnuserv: installcheck-gnuserv
8999 installcheck-gnuserv: \
9000 configure-gnuserv
9001 @[ -f ./gnuserv/Makefile ] || exit 0; \
9002 r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 $(SET_LIB_PATH) \
9005 $(HOST_EXPORTS) \
9006 for flag in $(EXTRA_HOST_FLAGS); do \
9007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9008 done; \
9009 echo "Doing installcheck in gnuserv" ; \
9010 (cd gnuserv && \
9011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9013 "RANLIB=$${RANLIB}" \
9014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9015 installcheck) \
9016 || exit 1
9018 @endif gnuserv
9020 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9021 maybe-mostlyclean-gnuserv:
9022 @if gnuserv
9023 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9025 mostlyclean-gnuserv:
9026 @[ -f ./gnuserv/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9029 $(SET_LIB_PATH) \
9030 $(HOST_EXPORTS) \
9031 for flag in $(EXTRA_HOST_FLAGS); do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9033 done; \
9034 echo "Doing mostlyclean in gnuserv" ; \
9035 (cd gnuserv && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 mostlyclean) \
9041 || exit 1
9043 @endif gnuserv
9045 .PHONY: maybe-clean-gnuserv clean-gnuserv
9046 maybe-clean-gnuserv:
9047 @if gnuserv
9048 maybe-clean-gnuserv: clean-gnuserv
9050 clean-gnuserv:
9051 @[ -f ./gnuserv/Makefile ] || exit 0; \
9052 r=`${PWD_COMMAND}`; export r; \
9053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9054 $(SET_LIB_PATH) \
9055 $(HOST_EXPORTS) \
9056 for flag in $(EXTRA_HOST_FLAGS); do \
9057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9058 done; \
9059 echo "Doing clean in gnuserv" ; \
9060 (cd gnuserv && \
9061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9063 "RANLIB=$${RANLIB}" \
9064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9065 clean) \
9066 || exit 1
9068 @endif gnuserv
9070 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9071 maybe-distclean-gnuserv:
9072 @if gnuserv
9073 maybe-distclean-gnuserv: distclean-gnuserv
9075 distclean-gnuserv:
9076 @[ -f ./gnuserv/Makefile ] || exit 0; \
9077 r=`${PWD_COMMAND}`; export r; \
9078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9079 $(SET_LIB_PATH) \
9080 $(HOST_EXPORTS) \
9081 for flag in $(EXTRA_HOST_FLAGS); do \
9082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9083 done; \
9084 echo "Doing distclean in gnuserv" ; \
9085 (cd gnuserv && \
9086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9088 "RANLIB=$${RANLIB}" \
9089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9090 distclean) \
9091 || exit 1
9093 @endif gnuserv
9095 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9096 maybe-maintainer-clean-gnuserv:
9097 @if gnuserv
9098 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9100 maintainer-clean-gnuserv:
9101 @[ -f ./gnuserv/Makefile ] || exit 0; \
9102 r=`${PWD_COMMAND}`; export r; \
9103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9104 $(SET_LIB_PATH) \
9105 $(HOST_EXPORTS) \
9106 for flag in $(EXTRA_HOST_FLAGS); do \
9107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9108 done; \
9109 echo "Doing maintainer-clean in gnuserv" ; \
9110 (cd gnuserv && \
9111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9113 "RANLIB=$${RANLIB}" \
9114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9115 maintainer-clean) \
9116 || exit 1
9118 @endif gnuserv
9121 .PHONY: configure-gprof maybe-configure-gprof
9122 maybe-configure-gprof:
9123 @if gprof
9124 maybe-configure-gprof: configure-gprof
9125 configure-gprof:
9126 @test ! -f gprof/Makefile || exit 0; \
9127 [ -d gprof ] || mkdir gprof; \
9128 r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9130 $(HOST_EXPORTS) \
9131 echo Configuring in gprof; \
9132 cd gprof || exit 1; \
9133 case $(srcdir) in \
9134 \.) \
9135 srcdiroption="--srcdir=."; \
9136 libsrcdir=".";; \
9137 /* | [A-Za-z]:[\\/]*) \
9138 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9139 libsrcdir="$$s/gprof";; \
9140 *) \
9141 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9142 libsrcdir="$$s/gprof";; \
9143 esac; \
9144 $(SHELL) $${libsrcdir}/configure \
9145 $(HOST_CONFIGARGS) $${srcdiroption} \
9146 || exit 1
9147 @endif gprof
9149 .PHONY: all-gprof maybe-all-gprof
9150 maybe-all-gprof:
9151 @if gprof
9152 maybe-all-gprof: all-gprof
9153 all-gprof: configure-gprof
9154 @r=`${PWD_COMMAND}`; export r; \
9155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9156 $(SET_LIB_PATH) \
9157 $(HOST_EXPORTS) \
9158 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9159 @endif gprof
9161 .PHONY: check-gprof maybe-check-gprof
9162 maybe-check-gprof:
9163 @if gprof
9164 maybe-check-gprof: check-gprof
9166 check-gprof:
9167 @r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(SET_LIB_PATH) \
9170 $(HOST_EXPORTS) \
9171 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9173 @endif gprof
9175 .PHONY: install-gprof maybe-install-gprof
9176 maybe-install-gprof:
9177 @if gprof
9178 maybe-install-gprof: install-gprof
9180 install-gprof: installdirs
9181 @r=`${PWD_COMMAND}`; export r; \
9182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9183 $(SET_LIB_PATH) \
9184 $(HOST_EXPORTS) \
9185 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9187 @endif gprof
9189 # Other targets (info, dvi, etc.)
9191 .PHONY: maybe-info-gprof info-gprof
9192 maybe-info-gprof:
9193 @if gprof
9194 maybe-info-gprof: info-gprof
9196 info-gprof: \
9197 configure-gprof
9198 @[ -f ./gprof/Makefile ] || exit 0; \
9199 r=`${PWD_COMMAND}`; export r; \
9200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9201 $(SET_LIB_PATH) \
9202 $(HOST_EXPORTS) \
9203 for flag in $(EXTRA_HOST_FLAGS); do \
9204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9205 done; \
9206 echo "Doing info in gprof" ; \
9207 (cd gprof && \
9208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9210 "RANLIB=$${RANLIB}" \
9211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9212 info) \
9213 || exit 1
9215 @endif gprof
9217 .PHONY: maybe-dvi-gprof dvi-gprof
9218 maybe-dvi-gprof:
9219 @if gprof
9220 maybe-dvi-gprof: dvi-gprof
9222 dvi-gprof: \
9223 configure-gprof
9224 @[ -f ./gprof/Makefile ] || exit 0; \
9225 r=`${PWD_COMMAND}`; export r; \
9226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9227 $(SET_LIB_PATH) \
9228 $(HOST_EXPORTS) \
9229 for flag in $(EXTRA_HOST_FLAGS); do \
9230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9231 done; \
9232 echo "Doing dvi in gprof" ; \
9233 (cd gprof && \
9234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9236 "RANLIB=$${RANLIB}" \
9237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9238 dvi) \
9239 || exit 1
9241 @endif gprof
9243 .PHONY: maybe-TAGS-gprof TAGS-gprof
9244 maybe-TAGS-gprof:
9245 @if gprof
9246 maybe-TAGS-gprof: TAGS-gprof
9248 TAGS-gprof: \
9249 configure-gprof
9250 @[ -f ./gprof/Makefile ] || exit 0; \
9251 r=`${PWD_COMMAND}`; export r; \
9252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9253 $(SET_LIB_PATH) \
9254 $(HOST_EXPORTS) \
9255 for flag in $(EXTRA_HOST_FLAGS); do \
9256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9257 done; \
9258 echo "Doing TAGS in gprof" ; \
9259 (cd gprof && \
9260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9262 "RANLIB=$${RANLIB}" \
9263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9264 TAGS) \
9265 || exit 1
9267 @endif gprof
9269 .PHONY: maybe-install-info-gprof install-info-gprof
9270 maybe-install-info-gprof:
9271 @if gprof
9272 maybe-install-info-gprof: install-info-gprof
9274 install-info-gprof: \
9275 configure-gprof \
9276 info-gprof
9277 @[ -f ./gprof/Makefile ] || exit 0; \
9278 r=`${PWD_COMMAND}`; export r; \
9279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9280 $(SET_LIB_PATH) \
9281 $(HOST_EXPORTS) \
9282 for flag in $(EXTRA_HOST_FLAGS); do \
9283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9284 done; \
9285 echo "Doing install-info in gprof" ; \
9286 (cd gprof && \
9287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9289 "RANLIB=$${RANLIB}" \
9290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9291 install-info) \
9292 || exit 1
9294 @endif gprof
9296 .PHONY: maybe-installcheck-gprof installcheck-gprof
9297 maybe-installcheck-gprof:
9298 @if gprof
9299 maybe-installcheck-gprof: installcheck-gprof
9301 installcheck-gprof: \
9302 configure-gprof
9303 @[ -f ./gprof/Makefile ] || exit 0; \
9304 r=`${PWD_COMMAND}`; export r; \
9305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9306 $(SET_LIB_PATH) \
9307 $(HOST_EXPORTS) \
9308 for flag in $(EXTRA_HOST_FLAGS); do \
9309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9310 done; \
9311 echo "Doing installcheck in gprof" ; \
9312 (cd gprof && \
9313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9315 "RANLIB=$${RANLIB}" \
9316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9317 installcheck) \
9318 || exit 1
9320 @endif gprof
9322 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9323 maybe-mostlyclean-gprof:
9324 @if gprof
9325 maybe-mostlyclean-gprof: mostlyclean-gprof
9327 mostlyclean-gprof:
9328 @[ -f ./gprof/Makefile ] || exit 0; \
9329 r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 $(SET_LIB_PATH) \
9332 $(HOST_EXPORTS) \
9333 for flag in $(EXTRA_HOST_FLAGS); do \
9334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9335 done; \
9336 echo "Doing mostlyclean in gprof" ; \
9337 (cd gprof && \
9338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9340 "RANLIB=$${RANLIB}" \
9341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9342 mostlyclean) \
9343 || exit 1
9345 @endif gprof
9347 .PHONY: maybe-clean-gprof clean-gprof
9348 maybe-clean-gprof:
9349 @if gprof
9350 maybe-clean-gprof: clean-gprof
9352 clean-gprof:
9353 @[ -f ./gprof/Makefile ] || exit 0; \
9354 r=`${PWD_COMMAND}`; export r; \
9355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9356 $(SET_LIB_PATH) \
9357 $(HOST_EXPORTS) \
9358 for flag in $(EXTRA_HOST_FLAGS); do \
9359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9360 done; \
9361 echo "Doing clean in gprof" ; \
9362 (cd gprof && \
9363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9365 "RANLIB=$${RANLIB}" \
9366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9367 clean) \
9368 || exit 1
9370 @endif gprof
9372 .PHONY: maybe-distclean-gprof distclean-gprof
9373 maybe-distclean-gprof:
9374 @if gprof
9375 maybe-distclean-gprof: distclean-gprof
9377 distclean-gprof:
9378 @[ -f ./gprof/Makefile ] || exit 0; \
9379 r=`${PWD_COMMAND}`; export r; \
9380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9381 $(SET_LIB_PATH) \
9382 $(HOST_EXPORTS) \
9383 for flag in $(EXTRA_HOST_FLAGS); do \
9384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9385 done; \
9386 echo "Doing distclean in gprof" ; \
9387 (cd gprof && \
9388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9390 "RANLIB=$${RANLIB}" \
9391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9392 distclean) \
9393 || exit 1
9395 @endif gprof
9397 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9398 maybe-maintainer-clean-gprof:
9399 @if gprof
9400 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9402 maintainer-clean-gprof:
9403 @[ -f ./gprof/Makefile ] || exit 0; \
9404 r=`${PWD_COMMAND}`; export r; \
9405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9406 $(SET_LIB_PATH) \
9407 $(HOST_EXPORTS) \
9408 for flag in $(EXTRA_HOST_FLAGS); do \
9409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9410 done; \
9411 echo "Doing maintainer-clean in gprof" ; \
9412 (cd gprof && \
9413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9415 "RANLIB=$${RANLIB}" \
9416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9417 maintainer-clean) \
9418 || exit 1
9420 @endif gprof
9423 .PHONY: configure-gzip maybe-configure-gzip
9424 maybe-configure-gzip:
9425 @if gzip
9426 maybe-configure-gzip: configure-gzip
9427 configure-gzip:
9428 @test ! -f gzip/Makefile || exit 0; \
9429 [ -d gzip ] || mkdir gzip; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9432 $(HOST_EXPORTS) \
9433 echo Configuring in gzip; \
9434 cd gzip || exit 1; \
9435 case $(srcdir) in \
9436 \.) \
9437 srcdiroption="--srcdir=."; \
9438 libsrcdir=".";; \
9439 /* | [A-Za-z]:[\\/]*) \
9440 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9441 libsrcdir="$$s/gzip";; \
9442 *) \
9443 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9444 libsrcdir="$$s/gzip";; \
9445 esac; \
9446 $(SHELL) $${libsrcdir}/configure \
9447 $(HOST_CONFIGARGS) $${srcdiroption} \
9448 || exit 1
9449 @endif gzip
9451 .PHONY: all-gzip maybe-all-gzip
9452 maybe-all-gzip:
9453 @if gzip
9454 maybe-all-gzip: all-gzip
9455 all-gzip: configure-gzip
9456 @r=`${PWD_COMMAND}`; export r; \
9457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9458 $(SET_LIB_PATH) \
9459 $(HOST_EXPORTS) \
9460 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9461 @endif gzip
9463 .PHONY: check-gzip maybe-check-gzip
9464 maybe-check-gzip:
9465 @if gzip
9466 maybe-check-gzip: check-gzip
9468 check-gzip:
9469 @r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9471 $(SET_LIB_PATH) \
9472 $(HOST_EXPORTS) \
9473 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9475 @endif gzip
9477 .PHONY: install-gzip maybe-install-gzip
9478 maybe-install-gzip:
9479 @if gzip
9480 maybe-install-gzip: install-gzip
9482 install-gzip: installdirs
9483 @r=`${PWD_COMMAND}`; export r; \
9484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9485 $(SET_LIB_PATH) \
9486 $(HOST_EXPORTS) \
9487 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9489 @endif gzip
9491 # Other targets (info, dvi, etc.)
9493 .PHONY: maybe-info-gzip info-gzip
9494 maybe-info-gzip:
9495 @if gzip
9496 maybe-info-gzip: info-gzip
9498 info-gzip: \
9499 configure-gzip
9500 @[ -f ./gzip/Makefile ] || exit 0; \
9501 r=`${PWD_COMMAND}`; export r; \
9502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9503 $(SET_LIB_PATH) \
9504 $(HOST_EXPORTS) \
9505 for flag in $(EXTRA_HOST_FLAGS); do \
9506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9507 done; \
9508 echo "Doing info in gzip" ; \
9509 (cd gzip && \
9510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9512 "RANLIB=$${RANLIB}" \
9513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9514 info) \
9515 || exit 1
9517 @endif gzip
9519 .PHONY: maybe-dvi-gzip dvi-gzip
9520 maybe-dvi-gzip:
9521 @if gzip
9522 maybe-dvi-gzip: dvi-gzip
9524 dvi-gzip: \
9525 configure-gzip
9526 @[ -f ./gzip/Makefile ] || exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 $(SET_LIB_PATH) \
9530 $(HOST_EXPORTS) \
9531 for flag in $(EXTRA_HOST_FLAGS); do \
9532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9533 done; \
9534 echo "Doing dvi in gzip" ; \
9535 (cd gzip && \
9536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9538 "RANLIB=$${RANLIB}" \
9539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9540 dvi) \
9541 || exit 1
9543 @endif gzip
9545 .PHONY: maybe-TAGS-gzip TAGS-gzip
9546 maybe-TAGS-gzip:
9547 @if gzip
9548 maybe-TAGS-gzip: TAGS-gzip
9550 TAGS-gzip: \
9551 configure-gzip
9552 @[ -f ./gzip/Makefile ] || exit 0; \
9553 r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 $(SET_LIB_PATH) \
9556 $(HOST_EXPORTS) \
9557 for flag in $(EXTRA_HOST_FLAGS); do \
9558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9559 done; \
9560 echo "Doing TAGS in gzip" ; \
9561 (cd gzip && \
9562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9564 "RANLIB=$${RANLIB}" \
9565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9566 TAGS) \
9567 || exit 1
9569 @endif gzip
9571 .PHONY: maybe-install-info-gzip install-info-gzip
9572 maybe-install-info-gzip:
9573 @if gzip
9574 maybe-install-info-gzip: install-info-gzip
9576 install-info-gzip: \
9577 configure-gzip \
9578 info-gzip
9579 @[ -f ./gzip/Makefile ] || exit 0; \
9580 r=`${PWD_COMMAND}`; export r; \
9581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9582 $(SET_LIB_PATH) \
9583 $(HOST_EXPORTS) \
9584 for flag in $(EXTRA_HOST_FLAGS); do \
9585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9586 done; \
9587 echo "Doing install-info in gzip" ; \
9588 (cd gzip && \
9589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9591 "RANLIB=$${RANLIB}" \
9592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9593 install-info) \
9594 || exit 1
9596 @endif gzip
9598 .PHONY: maybe-installcheck-gzip installcheck-gzip
9599 maybe-installcheck-gzip:
9600 @if gzip
9601 maybe-installcheck-gzip: installcheck-gzip
9603 installcheck-gzip: \
9604 configure-gzip
9605 @[ -f ./gzip/Makefile ] || exit 0; \
9606 r=`${PWD_COMMAND}`; export r; \
9607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 $(SET_LIB_PATH) \
9609 $(HOST_EXPORTS) \
9610 for flag in $(EXTRA_HOST_FLAGS); do \
9611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9612 done; \
9613 echo "Doing installcheck in gzip" ; \
9614 (cd gzip && \
9615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9617 "RANLIB=$${RANLIB}" \
9618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9619 installcheck) \
9620 || exit 1
9622 @endif gzip
9624 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9625 maybe-mostlyclean-gzip:
9626 @if gzip
9627 maybe-mostlyclean-gzip: mostlyclean-gzip
9629 mostlyclean-gzip:
9630 @[ -f ./gzip/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9633 $(SET_LIB_PATH) \
9634 $(HOST_EXPORTS) \
9635 for flag in $(EXTRA_HOST_FLAGS); do \
9636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9637 done; \
9638 echo "Doing mostlyclean in gzip" ; \
9639 (cd gzip && \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642 "RANLIB=$${RANLIB}" \
9643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9644 mostlyclean) \
9645 || exit 1
9647 @endif gzip
9649 .PHONY: maybe-clean-gzip clean-gzip
9650 maybe-clean-gzip:
9651 @if gzip
9652 maybe-clean-gzip: clean-gzip
9654 clean-gzip:
9655 @[ -f ./gzip/Makefile ] || exit 0; \
9656 r=`${PWD_COMMAND}`; export r; \
9657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9658 $(SET_LIB_PATH) \
9659 $(HOST_EXPORTS) \
9660 for flag in $(EXTRA_HOST_FLAGS); do \
9661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9662 done; \
9663 echo "Doing clean in gzip" ; \
9664 (cd gzip && \
9665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9667 "RANLIB=$${RANLIB}" \
9668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9669 clean) \
9670 || exit 1
9672 @endif gzip
9674 .PHONY: maybe-distclean-gzip distclean-gzip
9675 maybe-distclean-gzip:
9676 @if gzip
9677 maybe-distclean-gzip: distclean-gzip
9679 distclean-gzip:
9680 @[ -f ./gzip/Makefile ] || exit 0; \
9681 r=`${PWD_COMMAND}`; export r; \
9682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9683 $(SET_LIB_PATH) \
9684 $(HOST_EXPORTS) \
9685 for flag in $(EXTRA_HOST_FLAGS); do \
9686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9687 done; \
9688 echo "Doing distclean in gzip" ; \
9689 (cd gzip && \
9690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9692 "RANLIB=$${RANLIB}" \
9693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9694 distclean) \
9695 || exit 1
9697 @endif gzip
9699 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
9700 maybe-maintainer-clean-gzip:
9701 @if gzip
9702 maybe-maintainer-clean-gzip: maintainer-clean-gzip
9704 maintainer-clean-gzip:
9705 @[ -f ./gzip/Makefile ] || exit 0; \
9706 r=`${PWD_COMMAND}`; export r; \
9707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 $(SET_LIB_PATH) \
9709 $(HOST_EXPORTS) \
9710 for flag in $(EXTRA_HOST_FLAGS); do \
9711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9712 done; \
9713 echo "Doing maintainer-clean in gzip" ; \
9714 (cd gzip && \
9715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9717 "RANLIB=$${RANLIB}" \
9718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9719 maintainer-clean) \
9720 || exit 1
9722 @endif gzip
9725 .PHONY: configure-hello maybe-configure-hello
9726 maybe-configure-hello:
9727 @if hello
9728 maybe-configure-hello: configure-hello
9729 configure-hello:
9730 @test ! -f hello/Makefile || exit 0; \
9731 [ -d hello ] || mkdir hello; \
9732 r=`${PWD_COMMAND}`; export r; \
9733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734 $(HOST_EXPORTS) \
9735 echo Configuring in hello; \
9736 cd hello || exit 1; \
9737 case $(srcdir) in \
9738 \.) \
9739 srcdiroption="--srcdir=."; \
9740 libsrcdir=".";; \
9741 /* | [A-Za-z]:[\\/]*) \
9742 srcdiroption="--srcdir=$(srcdir)/hello"; \
9743 libsrcdir="$$s/hello";; \
9744 *) \
9745 srcdiroption="--srcdir=../$(srcdir)/hello"; \
9746 libsrcdir="$$s/hello";; \
9747 esac; \
9748 $(SHELL) $${libsrcdir}/configure \
9749 $(HOST_CONFIGARGS) $${srcdiroption} \
9750 || exit 1
9751 @endif hello
9753 .PHONY: all-hello maybe-all-hello
9754 maybe-all-hello:
9755 @if hello
9756 maybe-all-hello: all-hello
9757 all-hello: configure-hello
9758 @r=`${PWD_COMMAND}`; export r; \
9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9760 $(SET_LIB_PATH) \
9761 $(HOST_EXPORTS) \
9762 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
9763 @endif hello
9765 .PHONY: check-hello maybe-check-hello
9766 maybe-check-hello:
9767 @if hello
9768 maybe-check-hello: check-hello
9770 check-hello:
9771 @r=`${PWD_COMMAND}`; export r; \
9772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9773 $(SET_LIB_PATH) \
9774 $(HOST_EXPORTS) \
9775 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
9777 @endif hello
9779 .PHONY: install-hello maybe-install-hello
9780 maybe-install-hello:
9781 @if hello
9782 maybe-install-hello: install-hello
9784 install-hello: installdirs
9785 @r=`${PWD_COMMAND}`; export r; \
9786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9787 $(SET_LIB_PATH) \
9788 $(HOST_EXPORTS) \
9789 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
9791 @endif hello
9793 # Other targets (info, dvi, etc.)
9795 .PHONY: maybe-info-hello info-hello
9796 maybe-info-hello:
9797 @if hello
9798 maybe-info-hello: info-hello
9800 info-hello: \
9801 configure-hello
9802 @[ -f ./hello/Makefile ] || exit 0; \
9803 r=`${PWD_COMMAND}`; export r; \
9804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 $(SET_LIB_PATH) \
9806 $(HOST_EXPORTS) \
9807 for flag in $(EXTRA_HOST_FLAGS); do \
9808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9809 done; \
9810 echo "Doing info in hello" ; \
9811 (cd hello && \
9812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9814 "RANLIB=$${RANLIB}" \
9815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9816 info) \
9817 || exit 1
9819 @endif hello
9821 .PHONY: maybe-dvi-hello dvi-hello
9822 maybe-dvi-hello:
9823 @if hello
9824 maybe-dvi-hello: dvi-hello
9826 dvi-hello: \
9827 configure-hello
9828 @[ -f ./hello/Makefile ] || exit 0; \
9829 r=`${PWD_COMMAND}`; export r; \
9830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9831 $(SET_LIB_PATH) \
9832 $(HOST_EXPORTS) \
9833 for flag in $(EXTRA_HOST_FLAGS); do \
9834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9835 done; \
9836 echo "Doing dvi in hello" ; \
9837 (cd hello && \
9838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9840 "RANLIB=$${RANLIB}" \
9841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9842 dvi) \
9843 || exit 1
9845 @endif hello
9847 .PHONY: maybe-TAGS-hello TAGS-hello
9848 maybe-TAGS-hello:
9849 @if hello
9850 maybe-TAGS-hello: TAGS-hello
9852 TAGS-hello: \
9853 configure-hello
9854 @[ -f ./hello/Makefile ] || exit 0; \
9855 r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(SET_LIB_PATH) \
9858 $(HOST_EXPORTS) \
9859 for flag in $(EXTRA_HOST_FLAGS); do \
9860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9861 done; \
9862 echo "Doing TAGS in hello" ; \
9863 (cd hello && \
9864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9866 "RANLIB=$${RANLIB}" \
9867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9868 TAGS) \
9869 || exit 1
9871 @endif hello
9873 .PHONY: maybe-install-info-hello install-info-hello
9874 maybe-install-info-hello:
9875 @if hello
9876 maybe-install-info-hello: install-info-hello
9878 install-info-hello: \
9879 configure-hello \
9880 info-hello
9881 @[ -f ./hello/Makefile ] || exit 0; \
9882 r=`${PWD_COMMAND}`; export r; \
9883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9884 $(SET_LIB_PATH) \
9885 $(HOST_EXPORTS) \
9886 for flag in $(EXTRA_HOST_FLAGS); do \
9887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9888 done; \
9889 echo "Doing install-info in hello" ; \
9890 (cd hello && \
9891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9893 "RANLIB=$${RANLIB}" \
9894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9895 install-info) \
9896 || exit 1
9898 @endif hello
9900 .PHONY: maybe-installcheck-hello installcheck-hello
9901 maybe-installcheck-hello:
9902 @if hello
9903 maybe-installcheck-hello: installcheck-hello
9905 installcheck-hello: \
9906 configure-hello
9907 @[ -f ./hello/Makefile ] || exit 0; \
9908 r=`${PWD_COMMAND}`; export r; \
9909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9910 $(SET_LIB_PATH) \
9911 $(HOST_EXPORTS) \
9912 for flag in $(EXTRA_HOST_FLAGS); do \
9913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9914 done; \
9915 echo "Doing installcheck in hello" ; \
9916 (cd hello && \
9917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9919 "RANLIB=$${RANLIB}" \
9920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9921 installcheck) \
9922 || exit 1
9924 @endif hello
9926 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
9927 maybe-mostlyclean-hello:
9928 @if hello
9929 maybe-mostlyclean-hello: mostlyclean-hello
9931 mostlyclean-hello:
9932 @[ -f ./hello/Makefile ] || exit 0; \
9933 r=`${PWD_COMMAND}`; export r; \
9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9935 $(SET_LIB_PATH) \
9936 $(HOST_EXPORTS) \
9937 for flag in $(EXTRA_HOST_FLAGS); do \
9938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9939 done; \
9940 echo "Doing mostlyclean in hello" ; \
9941 (cd hello && \
9942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9944 "RANLIB=$${RANLIB}" \
9945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9946 mostlyclean) \
9947 || exit 1
9949 @endif hello
9951 .PHONY: maybe-clean-hello clean-hello
9952 maybe-clean-hello:
9953 @if hello
9954 maybe-clean-hello: clean-hello
9956 clean-hello:
9957 @[ -f ./hello/Makefile ] || exit 0; \
9958 r=`${PWD_COMMAND}`; export r; \
9959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9960 $(SET_LIB_PATH) \
9961 $(HOST_EXPORTS) \
9962 for flag in $(EXTRA_HOST_FLAGS); do \
9963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9964 done; \
9965 echo "Doing clean in hello" ; \
9966 (cd hello && \
9967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9969 "RANLIB=$${RANLIB}" \
9970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9971 clean) \
9972 || exit 1
9974 @endif hello
9976 .PHONY: maybe-distclean-hello distclean-hello
9977 maybe-distclean-hello:
9978 @if hello
9979 maybe-distclean-hello: distclean-hello
9981 distclean-hello:
9982 @[ -f ./hello/Makefile ] || exit 0; \
9983 r=`${PWD_COMMAND}`; export r; \
9984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9985 $(SET_LIB_PATH) \
9986 $(HOST_EXPORTS) \
9987 for flag in $(EXTRA_HOST_FLAGS); do \
9988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9989 done; \
9990 echo "Doing distclean in hello" ; \
9991 (cd hello && \
9992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9994 "RANLIB=$${RANLIB}" \
9995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9996 distclean) \
9997 || exit 1
9999 @endif hello
10001 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10002 maybe-maintainer-clean-hello:
10003 @if hello
10004 maybe-maintainer-clean-hello: maintainer-clean-hello
10006 maintainer-clean-hello:
10007 @[ -f ./hello/Makefile ] || exit 0; \
10008 r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(SET_LIB_PATH) \
10011 $(HOST_EXPORTS) \
10012 for flag in $(EXTRA_HOST_FLAGS); do \
10013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10014 done; \
10015 echo "Doing maintainer-clean in hello" ; \
10016 (cd hello && \
10017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10019 "RANLIB=$${RANLIB}" \
10020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10021 maintainer-clean) \
10022 || exit 1
10024 @endif hello
10027 .PHONY: configure-indent maybe-configure-indent
10028 maybe-configure-indent:
10029 @if indent
10030 maybe-configure-indent: configure-indent
10031 configure-indent:
10032 @test ! -f indent/Makefile || exit 0; \
10033 [ -d indent ] || mkdir indent; \
10034 r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 $(HOST_EXPORTS) \
10037 echo Configuring in indent; \
10038 cd indent || exit 1; \
10039 case $(srcdir) in \
10040 \.) \
10041 srcdiroption="--srcdir=."; \
10042 libsrcdir=".";; \
10043 /* | [A-Za-z]:[\\/]*) \
10044 srcdiroption="--srcdir=$(srcdir)/indent"; \
10045 libsrcdir="$$s/indent";; \
10046 *) \
10047 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10048 libsrcdir="$$s/indent";; \
10049 esac; \
10050 $(SHELL) $${libsrcdir}/configure \
10051 $(HOST_CONFIGARGS) $${srcdiroption} \
10052 || exit 1
10053 @endif indent
10055 .PHONY: all-indent maybe-all-indent
10056 maybe-all-indent:
10057 @if indent
10058 maybe-all-indent: all-indent
10059 all-indent: configure-indent
10060 @r=`${PWD_COMMAND}`; export r; \
10061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10062 $(SET_LIB_PATH) \
10063 $(HOST_EXPORTS) \
10064 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10065 @endif indent
10067 .PHONY: check-indent maybe-check-indent
10068 maybe-check-indent:
10069 @if indent
10070 maybe-check-indent: check-indent
10072 check-indent:
10073 @r=`${PWD_COMMAND}`; export r; \
10074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10075 $(SET_LIB_PATH) \
10076 $(HOST_EXPORTS) \
10077 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10079 @endif indent
10081 .PHONY: install-indent maybe-install-indent
10082 maybe-install-indent:
10083 @if indent
10084 maybe-install-indent: install-indent
10086 install-indent: installdirs
10087 @r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(SET_LIB_PATH) \
10090 $(HOST_EXPORTS) \
10091 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10093 @endif indent
10095 # Other targets (info, dvi, etc.)
10097 .PHONY: maybe-info-indent info-indent
10098 maybe-info-indent:
10099 @if indent
10100 maybe-info-indent: info-indent
10102 info-indent: \
10103 configure-indent
10104 @[ -f ./indent/Makefile ] || exit 0; \
10105 r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(SET_LIB_PATH) \
10108 $(HOST_EXPORTS) \
10109 for flag in $(EXTRA_HOST_FLAGS); do \
10110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10111 done; \
10112 echo "Doing info in indent" ; \
10113 (cd indent && \
10114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10116 "RANLIB=$${RANLIB}" \
10117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10118 info) \
10119 || exit 1
10121 @endif indent
10123 .PHONY: maybe-dvi-indent dvi-indent
10124 maybe-dvi-indent:
10125 @if indent
10126 maybe-dvi-indent: dvi-indent
10128 dvi-indent: \
10129 configure-indent
10130 @[ -f ./indent/Makefile ] || exit 0; \
10131 r=`${PWD_COMMAND}`; export r; \
10132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10133 $(SET_LIB_PATH) \
10134 $(HOST_EXPORTS) \
10135 for flag in $(EXTRA_HOST_FLAGS); do \
10136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10137 done; \
10138 echo "Doing dvi in indent" ; \
10139 (cd indent && \
10140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10142 "RANLIB=$${RANLIB}" \
10143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10144 dvi) \
10145 || exit 1
10147 @endif indent
10149 .PHONY: maybe-TAGS-indent TAGS-indent
10150 maybe-TAGS-indent:
10151 @if indent
10152 maybe-TAGS-indent: TAGS-indent
10154 TAGS-indent: \
10155 configure-indent
10156 @[ -f ./indent/Makefile ] || exit 0; \
10157 r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 $(SET_LIB_PATH) \
10160 $(HOST_EXPORTS) \
10161 for flag in $(EXTRA_HOST_FLAGS); do \
10162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10163 done; \
10164 echo "Doing TAGS in indent" ; \
10165 (cd indent && \
10166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10168 "RANLIB=$${RANLIB}" \
10169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10170 TAGS) \
10171 || exit 1
10173 @endif indent
10175 .PHONY: maybe-install-info-indent install-info-indent
10176 maybe-install-info-indent:
10177 @if indent
10178 maybe-install-info-indent: install-info-indent
10180 install-info-indent: \
10181 configure-indent \
10182 info-indent
10183 @[ -f ./indent/Makefile ] || exit 0; \
10184 r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 $(SET_LIB_PATH) \
10187 $(HOST_EXPORTS) \
10188 for flag in $(EXTRA_HOST_FLAGS); do \
10189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10190 done; \
10191 echo "Doing install-info in indent" ; \
10192 (cd indent && \
10193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10195 "RANLIB=$${RANLIB}" \
10196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10197 install-info) \
10198 || exit 1
10200 @endif indent
10202 .PHONY: maybe-installcheck-indent installcheck-indent
10203 maybe-installcheck-indent:
10204 @if indent
10205 maybe-installcheck-indent: installcheck-indent
10207 installcheck-indent: \
10208 configure-indent
10209 @[ -f ./indent/Makefile ] || exit 0; \
10210 r=`${PWD_COMMAND}`; export r; \
10211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10212 $(SET_LIB_PATH) \
10213 $(HOST_EXPORTS) \
10214 for flag in $(EXTRA_HOST_FLAGS); do \
10215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10216 done; \
10217 echo "Doing installcheck in indent" ; \
10218 (cd indent && \
10219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10221 "RANLIB=$${RANLIB}" \
10222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10223 installcheck) \
10224 || exit 1
10226 @endif indent
10228 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10229 maybe-mostlyclean-indent:
10230 @if indent
10231 maybe-mostlyclean-indent: mostlyclean-indent
10233 mostlyclean-indent:
10234 @[ -f ./indent/Makefile ] || exit 0; \
10235 r=`${PWD_COMMAND}`; export r; \
10236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10237 $(SET_LIB_PATH) \
10238 $(HOST_EXPORTS) \
10239 for flag in $(EXTRA_HOST_FLAGS); do \
10240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10241 done; \
10242 echo "Doing mostlyclean in indent" ; \
10243 (cd indent && \
10244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10246 "RANLIB=$${RANLIB}" \
10247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10248 mostlyclean) \
10249 || exit 1
10251 @endif indent
10253 .PHONY: maybe-clean-indent clean-indent
10254 maybe-clean-indent:
10255 @if indent
10256 maybe-clean-indent: clean-indent
10258 clean-indent:
10259 @[ -f ./indent/Makefile ] || exit 0; \
10260 r=`${PWD_COMMAND}`; export r; \
10261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10262 $(SET_LIB_PATH) \
10263 $(HOST_EXPORTS) \
10264 for flag in $(EXTRA_HOST_FLAGS); do \
10265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10266 done; \
10267 echo "Doing clean in indent" ; \
10268 (cd indent && \
10269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10271 "RANLIB=$${RANLIB}" \
10272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10273 clean) \
10274 || exit 1
10276 @endif indent
10278 .PHONY: maybe-distclean-indent distclean-indent
10279 maybe-distclean-indent:
10280 @if indent
10281 maybe-distclean-indent: distclean-indent
10283 distclean-indent:
10284 @[ -f ./indent/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(SET_LIB_PATH) \
10288 $(HOST_EXPORTS) \
10289 for flag in $(EXTRA_HOST_FLAGS); do \
10290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10291 done; \
10292 echo "Doing distclean in indent" ; \
10293 (cd indent && \
10294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296 "RANLIB=$${RANLIB}" \
10297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10298 distclean) \
10299 || exit 1
10301 @endif indent
10303 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10304 maybe-maintainer-clean-indent:
10305 @if indent
10306 maybe-maintainer-clean-indent: maintainer-clean-indent
10308 maintainer-clean-indent:
10309 @[ -f ./indent/Makefile ] || exit 0; \
10310 r=`${PWD_COMMAND}`; export r; \
10311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10312 $(SET_LIB_PATH) \
10313 $(HOST_EXPORTS) \
10314 for flag in $(EXTRA_HOST_FLAGS); do \
10315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10316 done; \
10317 echo "Doing maintainer-clean in indent" ; \
10318 (cd indent && \
10319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10321 "RANLIB=$${RANLIB}" \
10322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10323 maintainer-clean) \
10324 || exit 1
10326 @endif indent
10329 .PHONY: configure-intl maybe-configure-intl
10330 maybe-configure-intl:
10331 @if intl
10332 maybe-configure-intl: configure-intl
10333 configure-intl:
10334 @test ! -f intl/Makefile || exit 0; \
10335 [ -d intl ] || mkdir intl; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(HOST_EXPORTS) \
10339 echo Configuring in intl; \
10340 cd intl || exit 1; \
10341 case $(srcdir) in \
10342 \.) \
10343 srcdiroption="--srcdir=."; \
10344 libsrcdir=".";; \
10345 /* | [A-Za-z]:[\\/]*) \
10346 srcdiroption="--srcdir=$(srcdir)/intl"; \
10347 libsrcdir="$$s/intl";; \
10348 *) \
10349 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10350 libsrcdir="$$s/intl";; \
10351 esac; \
10352 $(SHELL) $${libsrcdir}/configure \
10353 $(HOST_CONFIGARGS) $${srcdiroption} \
10354 || exit 1
10355 @endif intl
10357 .PHONY: all-intl maybe-all-intl
10358 maybe-all-intl:
10359 @if intl
10360 maybe-all-intl: all-intl
10361 all-intl: configure-intl
10362 @r=`${PWD_COMMAND}`; export r; \
10363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10364 $(SET_LIB_PATH) \
10365 $(HOST_EXPORTS) \
10366 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10367 @endif intl
10369 .PHONY: check-intl maybe-check-intl
10370 maybe-check-intl:
10371 @if intl
10372 maybe-check-intl: check-intl
10374 check-intl:
10375 @r=`${PWD_COMMAND}`; export r; \
10376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10377 $(SET_LIB_PATH) \
10378 $(HOST_EXPORTS) \
10379 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10381 @endif intl
10383 .PHONY: install-intl maybe-install-intl
10384 maybe-install-intl:
10385 @if intl
10386 maybe-install-intl: install-intl
10388 install-intl: installdirs
10389 @r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 $(SET_LIB_PATH) \
10392 $(HOST_EXPORTS) \
10393 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10395 @endif intl
10397 # Other targets (info, dvi, etc.)
10399 .PHONY: maybe-info-intl info-intl
10400 maybe-info-intl:
10401 @if intl
10402 maybe-info-intl: info-intl
10404 info-intl: \
10405 configure-intl
10406 @[ -f ./intl/Makefile ] || exit 0; \
10407 r=`${PWD_COMMAND}`; export r; \
10408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10409 $(SET_LIB_PATH) \
10410 $(HOST_EXPORTS) \
10411 for flag in $(EXTRA_HOST_FLAGS); do \
10412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 done; \
10414 echo "Doing info in intl" ; \
10415 (cd intl && \
10416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10418 "RANLIB=$${RANLIB}" \
10419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10420 info) \
10421 || exit 1
10423 @endif intl
10425 .PHONY: maybe-dvi-intl dvi-intl
10426 maybe-dvi-intl:
10427 @if intl
10428 maybe-dvi-intl: dvi-intl
10430 dvi-intl: \
10431 configure-intl
10432 @[ -f ./intl/Makefile ] || exit 0; \
10433 r=`${PWD_COMMAND}`; export r; \
10434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 $(SET_LIB_PATH) \
10436 $(HOST_EXPORTS) \
10437 for flag in $(EXTRA_HOST_FLAGS); do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing dvi in intl" ; \
10441 (cd intl && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 dvi) \
10447 || exit 1
10449 @endif intl
10451 .PHONY: maybe-TAGS-intl TAGS-intl
10452 maybe-TAGS-intl:
10453 @if intl
10454 maybe-TAGS-intl: TAGS-intl
10456 TAGS-intl: \
10457 configure-intl
10458 @[ -f ./intl/Makefile ] || exit 0; \
10459 r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 $(SET_LIB_PATH) \
10462 $(HOST_EXPORTS) \
10463 for flag in $(EXTRA_HOST_FLAGS); do \
10464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10465 done; \
10466 echo "Doing TAGS in intl" ; \
10467 (cd intl && \
10468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10470 "RANLIB=$${RANLIB}" \
10471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10472 TAGS) \
10473 || exit 1
10475 @endif intl
10477 .PHONY: maybe-install-info-intl install-info-intl
10478 maybe-install-info-intl:
10479 @if intl
10480 maybe-install-info-intl: install-info-intl
10482 install-info-intl: \
10483 configure-intl \
10484 info-intl
10485 @[ -f ./intl/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(SET_LIB_PATH) \
10489 $(HOST_EXPORTS) \
10490 for flag in $(EXTRA_HOST_FLAGS); do \
10491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10492 done; \
10493 echo "Doing install-info in intl" ; \
10494 (cd intl && \
10495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10497 "RANLIB=$${RANLIB}" \
10498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10499 install-info) \
10500 || exit 1
10502 @endif intl
10504 .PHONY: maybe-installcheck-intl installcheck-intl
10505 maybe-installcheck-intl:
10506 @if intl
10507 maybe-installcheck-intl: installcheck-intl
10509 installcheck-intl: \
10510 configure-intl
10511 @[ -f ./intl/Makefile ] || exit 0; \
10512 r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(SET_LIB_PATH) \
10515 $(HOST_EXPORTS) \
10516 for flag in $(EXTRA_HOST_FLAGS); do \
10517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10518 done; \
10519 echo "Doing installcheck in intl" ; \
10520 (cd intl && \
10521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10523 "RANLIB=$${RANLIB}" \
10524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10525 installcheck) \
10526 || exit 1
10528 @endif intl
10530 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10531 maybe-mostlyclean-intl:
10532 @if intl
10533 maybe-mostlyclean-intl: mostlyclean-intl
10535 mostlyclean-intl:
10536 @[ -f ./intl/Makefile ] || exit 0; \
10537 r=`${PWD_COMMAND}`; export r; \
10538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10539 $(SET_LIB_PATH) \
10540 $(HOST_EXPORTS) \
10541 for flag in $(EXTRA_HOST_FLAGS); do \
10542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10543 done; \
10544 echo "Doing mostlyclean in intl" ; \
10545 (cd intl && \
10546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10548 "RANLIB=$${RANLIB}" \
10549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10550 mostlyclean) \
10551 || exit 1
10553 @endif intl
10555 .PHONY: maybe-clean-intl clean-intl
10556 maybe-clean-intl:
10557 @if intl
10558 maybe-clean-intl: clean-intl
10560 clean-intl:
10561 @[ -f ./intl/Makefile ] || exit 0; \
10562 r=`${PWD_COMMAND}`; export r; \
10563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10564 $(SET_LIB_PATH) \
10565 $(HOST_EXPORTS) \
10566 for flag in $(EXTRA_HOST_FLAGS); do \
10567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10568 done; \
10569 echo "Doing clean in intl" ; \
10570 (cd intl && \
10571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10573 "RANLIB=$${RANLIB}" \
10574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10575 clean) \
10576 || exit 1
10578 @endif intl
10580 .PHONY: maybe-distclean-intl distclean-intl
10581 maybe-distclean-intl:
10582 @if intl
10583 maybe-distclean-intl: distclean-intl
10585 distclean-intl:
10586 @[ -f ./intl/Makefile ] || exit 0; \
10587 r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 $(SET_LIB_PATH) \
10590 $(HOST_EXPORTS) \
10591 for flag in $(EXTRA_HOST_FLAGS); do \
10592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10593 done; \
10594 echo "Doing distclean in intl" ; \
10595 (cd intl && \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10598 "RANLIB=$${RANLIB}" \
10599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10600 distclean) \
10601 || exit 1
10603 @endif intl
10605 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10606 maybe-maintainer-clean-intl:
10607 @if intl
10608 maybe-maintainer-clean-intl: maintainer-clean-intl
10610 maintainer-clean-intl:
10611 @[ -f ./intl/Makefile ] || exit 0; \
10612 r=`${PWD_COMMAND}`; export r; \
10613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10614 $(SET_LIB_PATH) \
10615 $(HOST_EXPORTS) \
10616 for flag in $(EXTRA_HOST_FLAGS); do \
10617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10618 done; \
10619 echo "Doing maintainer-clean in intl" ; \
10620 (cd intl && \
10621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10623 "RANLIB=$${RANLIB}" \
10624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10625 maintainer-clean) \
10626 || exit 1
10628 @endif intl
10631 .PHONY: configure-tcl maybe-configure-tcl
10632 maybe-configure-tcl:
10633 @if tcl
10634 maybe-configure-tcl: configure-tcl
10635 configure-tcl:
10636 @test ! -f tcl/Makefile || exit 0; \
10637 [ -d tcl ] || mkdir tcl; \
10638 r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640 $(HOST_EXPORTS) \
10641 echo Configuring in tcl; \
10642 cd tcl || exit 1; \
10643 case $(srcdir) in \
10644 \.) \
10645 srcdiroption="--srcdir=."; \
10646 libsrcdir=".";; \
10647 /* | [A-Za-z]:[\\/]*) \
10648 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10649 libsrcdir="$$s/tcl";; \
10650 *) \
10651 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10652 libsrcdir="$$s/tcl";; \
10653 esac; \
10654 $(SHELL) $${libsrcdir}/configure \
10655 $(HOST_CONFIGARGS) $${srcdiroption} \
10656 || exit 1
10657 @endif tcl
10659 .PHONY: all-tcl maybe-all-tcl
10660 maybe-all-tcl:
10661 @if tcl
10662 maybe-all-tcl: all-tcl
10663 all-tcl: configure-tcl
10664 @r=`${PWD_COMMAND}`; export r; \
10665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10666 $(SET_LIB_PATH) \
10667 $(HOST_EXPORTS) \
10668 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
10669 @endif tcl
10671 .PHONY: check-tcl maybe-check-tcl
10672 maybe-check-tcl:
10673 @if tcl
10674 maybe-check-tcl: check-tcl
10676 check-tcl:
10677 @r=`${PWD_COMMAND}`; export r; \
10678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10679 $(SET_LIB_PATH) \
10680 $(HOST_EXPORTS) \
10681 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
10683 @endif tcl
10685 .PHONY: install-tcl maybe-install-tcl
10686 maybe-install-tcl:
10687 @if tcl
10688 maybe-install-tcl: install-tcl
10690 install-tcl: installdirs
10691 @r=`${PWD_COMMAND}`; export r; \
10692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10693 $(SET_LIB_PATH) \
10694 $(HOST_EXPORTS) \
10695 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
10697 @endif tcl
10699 # Other targets (info, dvi, etc.)
10701 .PHONY: maybe-info-tcl info-tcl
10702 maybe-info-tcl:
10703 @if tcl
10704 maybe-info-tcl: info-tcl
10706 info-tcl: \
10707 configure-tcl
10708 @[ -f ./tcl/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 info in tcl" ; \
10717 (cd tcl && \
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 info) \
10723 || exit 1
10725 @endif tcl
10727 .PHONY: maybe-dvi-tcl dvi-tcl
10728 maybe-dvi-tcl:
10729 @if tcl
10730 maybe-dvi-tcl: dvi-tcl
10732 dvi-tcl: \
10733 configure-tcl
10734 @[ -f ./tcl/Makefile ] || exit 0; \
10735 r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 $(SET_LIB_PATH) \
10738 $(HOST_EXPORTS) \
10739 for flag in $(EXTRA_HOST_FLAGS); do \
10740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10741 done; \
10742 echo "Doing dvi in tcl" ; \
10743 (cd tcl && \
10744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10746 "RANLIB=$${RANLIB}" \
10747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10748 dvi) \
10749 || exit 1
10751 @endif tcl
10753 .PHONY: maybe-TAGS-tcl TAGS-tcl
10754 maybe-TAGS-tcl:
10755 @if tcl
10756 maybe-TAGS-tcl: TAGS-tcl
10758 TAGS-tcl: \
10759 configure-tcl
10760 @[ -f ./tcl/Makefile ] || exit 0; \
10761 r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10763 $(SET_LIB_PATH) \
10764 $(HOST_EXPORTS) \
10765 for flag in $(EXTRA_HOST_FLAGS); do \
10766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 done; \
10768 echo "Doing TAGS in tcl" ; \
10769 (cd tcl && \
10770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10772 "RANLIB=$${RANLIB}" \
10773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10774 TAGS) \
10775 || exit 1
10777 @endif tcl
10779 .PHONY: maybe-install-info-tcl install-info-tcl
10780 maybe-install-info-tcl:
10781 @if tcl
10782 maybe-install-info-tcl: install-info-tcl
10784 install-info-tcl: \
10785 configure-tcl \
10786 info-tcl
10787 @[ -f ./tcl/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(SET_LIB_PATH) \
10791 $(HOST_EXPORTS) \
10792 for flag in $(EXTRA_HOST_FLAGS); do \
10793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10794 done; \
10795 echo "Doing install-info in tcl" ; \
10796 (cd tcl && \
10797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10799 "RANLIB=$${RANLIB}" \
10800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10801 install-info) \
10802 || exit 1
10804 @endif tcl
10806 .PHONY: maybe-installcheck-tcl installcheck-tcl
10807 maybe-installcheck-tcl:
10808 @if tcl
10809 maybe-installcheck-tcl: installcheck-tcl
10811 installcheck-tcl: \
10812 configure-tcl
10813 @[ -f ./tcl/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 $(SET_LIB_PATH) \
10817 $(HOST_EXPORTS) \
10818 for flag in $(EXTRA_HOST_FLAGS); do \
10819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10820 done; \
10821 echo "Doing installcheck in tcl" ; \
10822 (cd tcl && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10825 "RANLIB=$${RANLIB}" \
10826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10827 installcheck) \
10828 || exit 1
10830 @endif tcl
10832 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10833 maybe-mostlyclean-tcl:
10834 @if tcl
10835 maybe-mostlyclean-tcl: mostlyclean-tcl
10837 # tcl doesn't support mostlyclean.
10838 mostlyclean-tcl:
10840 @endif tcl
10842 .PHONY: maybe-clean-tcl clean-tcl
10843 maybe-clean-tcl:
10844 @if tcl
10845 maybe-clean-tcl: clean-tcl
10847 clean-tcl:
10848 @[ -f ./tcl/Makefile ] || exit 0; \
10849 r=`${PWD_COMMAND}`; export r; \
10850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10851 $(SET_LIB_PATH) \
10852 $(HOST_EXPORTS) \
10853 for flag in $(EXTRA_HOST_FLAGS); do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10855 done; \
10856 echo "Doing clean in tcl" ; \
10857 (cd tcl && \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10862 clean) \
10863 || exit 1
10865 @endif tcl
10867 .PHONY: maybe-distclean-tcl distclean-tcl
10868 maybe-distclean-tcl:
10869 @if tcl
10870 maybe-distclean-tcl: distclean-tcl
10872 distclean-tcl:
10873 @[ -f ./tcl/Makefile ] || exit 0; \
10874 r=`${PWD_COMMAND}`; export r; \
10875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 $(SET_LIB_PATH) \
10877 $(HOST_EXPORTS) \
10878 for flag in $(EXTRA_HOST_FLAGS); do \
10879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10880 done; \
10881 echo "Doing distclean in tcl" ; \
10882 (cd tcl && \
10883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10885 "RANLIB=$${RANLIB}" \
10886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10887 distclean) \
10888 || exit 1
10890 @endif tcl
10892 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
10893 maybe-maintainer-clean-tcl:
10894 @if tcl
10895 maybe-maintainer-clean-tcl: maintainer-clean-tcl
10897 maintainer-clean-tcl:
10898 @[ -f ./tcl/Makefile ] || exit 0; \
10899 r=`${PWD_COMMAND}`; export r; \
10900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10901 $(SET_LIB_PATH) \
10902 $(HOST_EXPORTS) \
10903 for flag in $(EXTRA_HOST_FLAGS); do \
10904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10905 done; \
10906 echo "Doing maintainer-clean in tcl" ; \
10907 (cd tcl && \
10908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10910 "RANLIB=$${RANLIB}" \
10911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10912 maintainer-clean) \
10913 || exit 1
10915 @endif tcl
10918 .PHONY: configure-itcl maybe-configure-itcl
10919 maybe-configure-itcl:
10920 @if itcl
10921 maybe-configure-itcl: configure-itcl
10922 configure-itcl:
10923 @test ! -f itcl/Makefile || exit 0; \
10924 [ -d itcl ] || mkdir itcl; \
10925 r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10927 $(HOST_EXPORTS) \
10928 echo Configuring in itcl; \
10929 cd itcl || exit 1; \
10930 case $(srcdir) in \
10931 \.) \
10932 srcdiroption="--srcdir=."; \
10933 libsrcdir=".";; \
10934 /* | [A-Za-z]:[\\/]*) \
10935 srcdiroption="--srcdir=$(srcdir)/itcl"; \
10936 libsrcdir="$$s/itcl";; \
10937 *) \
10938 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
10939 libsrcdir="$$s/itcl";; \
10940 esac; \
10941 $(SHELL) $${libsrcdir}/configure \
10942 $(HOST_CONFIGARGS) $${srcdiroption} \
10943 || exit 1
10944 @endif itcl
10946 .PHONY: all-itcl maybe-all-itcl
10947 maybe-all-itcl:
10948 @if itcl
10949 maybe-all-itcl: all-itcl
10950 all-itcl: configure-itcl
10951 @r=`${PWD_COMMAND}`; export r; \
10952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10953 $(SET_LIB_PATH) \
10954 $(HOST_EXPORTS) \
10955 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
10956 @endif itcl
10958 .PHONY: check-itcl maybe-check-itcl
10959 maybe-check-itcl:
10960 @if itcl
10961 maybe-check-itcl: check-itcl
10963 check-itcl:
10964 @r=`${PWD_COMMAND}`; export r; \
10965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10966 $(SET_LIB_PATH) \
10967 $(HOST_EXPORTS) \
10968 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
10970 @endif itcl
10972 .PHONY: install-itcl maybe-install-itcl
10973 maybe-install-itcl:
10974 @if itcl
10975 maybe-install-itcl: install-itcl
10977 install-itcl: installdirs
10978 @r=`${PWD_COMMAND}`; export r; \
10979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10980 $(SET_LIB_PATH) \
10981 $(HOST_EXPORTS) \
10982 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
10984 @endif itcl
10986 # Other targets (info, dvi, etc.)
10988 .PHONY: maybe-info-itcl info-itcl
10989 maybe-info-itcl:
10990 @if itcl
10991 maybe-info-itcl: info-itcl
10993 info-itcl: \
10994 configure-itcl
10995 @[ -f ./itcl/Makefile ] || exit 0; \
10996 r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 $(SET_LIB_PATH) \
10999 $(HOST_EXPORTS) \
11000 for flag in $(EXTRA_HOST_FLAGS); do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 done; \
11003 echo "Doing info in itcl" ; \
11004 (cd itcl && \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11009 info) \
11010 || exit 1
11012 @endif itcl
11014 .PHONY: maybe-dvi-itcl dvi-itcl
11015 maybe-dvi-itcl:
11016 @if itcl
11017 maybe-dvi-itcl: dvi-itcl
11019 dvi-itcl: \
11020 configure-itcl
11021 @[ -f ./itcl/Makefile ] || exit 0; \
11022 r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 $(SET_LIB_PATH) \
11025 $(HOST_EXPORTS) \
11026 for flag in $(EXTRA_HOST_FLAGS); do \
11027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11028 done; \
11029 echo "Doing dvi in itcl" ; \
11030 (cd itcl && \
11031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11033 "RANLIB=$${RANLIB}" \
11034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11035 dvi) \
11036 || exit 1
11038 @endif itcl
11040 .PHONY: maybe-TAGS-itcl TAGS-itcl
11041 maybe-TAGS-itcl:
11042 @if itcl
11043 maybe-TAGS-itcl: TAGS-itcl
11045 TAGS-itcl: \
11046 configure-itcl
11047 @[ -f ./itcl/Makefile ] || exit 0; \
11048 r=`${PWD_COMMAND}`; export r; \
11049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11050 $(SET_LIB_PATH) \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS); do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing TAGS in itcl" ; \
11056 (cd itcl && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11061 TAGS) \
11062 || exit 1
11064 @endif itcl
11066 .PHONY: maybe-install-info-itcl install-info-itcl
11067 maybe-install-info-itcl:
11068 @if itcl
11069 maybe-install-info-itcl: install-info-itcl
11071 install-info-itcl: \
11072 configure-itcl \
11073 info-itcl
11074 @[ -f ./itcl/Makefile ] || exit 0; \
11075 r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 $(SET_LIB_PATH) \
11078 $(HOST_EXPORTS) \
11079 for flag in $(EXTRA_HOST_FLAGS); do \
11080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11081 done; \
11082 echo "Doing install-info in itcl" ; \
11083 (cd itcl && \
11084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11086 "RANLIB=$${RANLIB}" \
11087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11088 install-info) \
11089 || exit 1
11091 @endif itcl
11093 .PHONY: maybe-installcheck-itcl installcheck-itcl
11094 maybe-installcheck-itcl:
11095 @if itcl
11096 maybe-installcheck-itcl: installcheck-itcl
11098 installcheck-itcl: \
11099 configure-itcl
11100 @[ -f ./itcl/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11103 $(SET_LIB_PATH) \
11104 $(HOST_EXPORTS) \
11105 for flag in $(EXTRA_HOST_FLAGS); do \
11106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11107 done; \
11108 echo "Doing installcheck in itcl" ; \
11109 (cd itcl && \
11110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11112 "RANLIB=$${RANLIB}" \
11113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11114 installcheck) \
11115 || exit 1
11117 @endif itcl
11119 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11120 maybe-mostlyclean-itcl:
11121 @if itcl
11122 maybe-mostlyclean-itcl: mostlyclean-itcl
11124 mostlyclean-itcl:
11125 @[ -f ./itcl/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(SET_LIB_PATH) \
11129 $(HOST_EXPORTS) \
11130 for flag in $(EXTRA_HOST_FLAGS); do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 done; \
11133 echo "Doing mostlyclean in itcl" ; \
11134 (cd itcl && \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11139 mostlyclean) \
11140 || exit 1
11142 @endif itcl
11144 .PHONY: maybe-clean-itcl clean-itcl
11145 maybe-clean-itcl:
11146 @if itcl
11147 maybe-clean-itcl: clean-itcl
11149 clean-itcl:
11150 @[ -f ./itcl/Makefile ] || exit 0; \
11151 r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 $(SET_LIB_PATH) \
11154 $(HOST_EXPORTS) \
11155 for flag in $(EXTRA_HOST_FLAGS); do \
11156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11157 done; \
11158 echo "Doing clean in itcl" ; \
11159 (cd itcl && \
11160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11162 "RANLIB=$${RANLIB}" \
11163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11164 clean) \
11165 || exit 1
11167 @endif itcl
11169 .PHONY: maybe-distclean-itcl distclean-itcl
11170 maybe-distclean-itcl:
11171 @if itcl
11172 maybe-distclean-itcl: distclean-itcl
11174 distclean-itcl:
11175 @[ -f ./itcl/Makefile ] || exit 0; \
11176 r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(SET_LIB_PATH) \
11179 $(HOST_EXPORTS) \
11180 for flag in $(EXTRA_HOST_FLAGS); do \
11181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11182 done; \
11183 echo "Doing distclean in itcl" ; \
11184 (cd itcl && \
11185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11187 "RANLIB=$${RANLIB}" \
11188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11189 distclean) \
11190 || exit 1
11192 @endif itcl
11194 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11195 maybe-maintainer-clean-itcl:
11196 @if itcl
11197 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11199 maintainer-clean-itcl:
11200 @[ -f ./itcl/Makefile ] || exit 0; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(SET_LIB_PATH) \
11204 $(HOST_EXPORTS) \
11205 for flag in $(EXTRA_HOST_FLAGS); do \
11206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11207 done; \
11208 echo "Doing maintainer-clean in itcl" ; \
11209 (cd itcl && \
11210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11212 "RANLIB=$${RANLIB}" \
11213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11214 maintainer-clean) \
11215 || exit 1
11217 @endif itcl
11220 .PHONY: configure-ld maybe-configure-ld
11221 maybe-configure-ld:
11222 @if ld
11223 maybe-configure-ld: configure-ld
11224 configure-ld:
11225 @test ! -f ld/Makefile || exit 0; \
11226 [ -d ld ] || mkdir ld; \
11227 r=`${PWD_COMMAND}`; export r; \
11228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11229 $(HOST_EXPORTS) \
11230 echo Configuring in ld; \
11231 cd ld || exit 1; \
11232 case $(srcdir) in \
11233 \.) \
11234 srcdiroption="--srcdir=."; \
11235 libsrcdir=".";; \
11236 /* | [A-Za-z]:[\\/]*) \
11237 srcdiroption="--srcdir=$(srcdir)/ld"; \
11238 libsrcdir="$$s/ld";; \
11239 *) \
11240 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11241 libsrcdir="$$s/ld";; \
11242 esac; \
11243 $(SHELL) $${libsrcdir}/configure \
11244 $(HOST_CONFIGARGS) $${srcdiroption} \
11245 || exit 1
11246 @endif ld
11248 .PHONY: all-ld maybe-all-ld
11249 maybe-all-ld:
11250 @if ld
11251 maybe-all-ld: all-ld
11252 all-ld: configure-ld
11253 @r=`${PWD_COMMAND}`; export r; \
11254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11255 $(SET_LIB_PATH) \
11256 $(HOST_EXPORTS) \
11257 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11258 @endif ld
11260 .PHONY: check-ld maybe-check-ld
11261 maybe-check-ld:
11262 @if ld
11263 maybe-check-ld: check-ld
11265 check-ld:
11266 @r=`${PWD_COMMAND}`; export r; \
11267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11268 $(SET_LIB_PATH) \
11269 $(HOST_EXPORTS) \
11270 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11272 @endif ld
11274 .PHONY: install-ld maybe-install-ld
11275 maybe-install-ld:
11276 @if ld
11277 maybe-install-ld: install-ld
11279 install-ld: installdirs
11280 @r=`${PWD_COMMAND}`; export r; \
11281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11282 $(SET_LIB_PATH) \
11283 $(HOST_EXPORTS) \
11284 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11286 @endif ld
11288 # Other targets (info, dvi, etc.)
11290 .PHONY: maybe-info-ld info-ld
11291 maybe-info-ld:
11292 @if ld
11293 maybe-info-ld: info-ld
11295 info-ld: \
11296 configure-ld
11297 @[ -f ./ld/Makefile ] || exit 0; \
11298 r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 $(SET_LIB_PATH) \
11301 $(HOST_EXPORTS) \
11302 for flag in $(EXTRA_HOST_FLAGS); do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11304 done; \
11305 echo "Doing info in ld" ; \
11306 (cd ld && \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 info) \
11312 || exit 1
11314 @endif ld
11316 .PHONY: maybe-dvi-ld dvi-ld
11317 maybe-dvi-ld:
11318 @if ld
11319 maybe-dvi-ld: dvi-ld
11321 dvi-ld: \
11322 configure-ld
11323 @[ -f ./ld/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11326 $(SET_LIB_PATH) \
11327 $(HOST_EXPORTS) \
11328 for flag in $(EXTRA_HOST_FLAGS); do \
11329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330 done; \
11331 echo "Doing dvi in ld" ; \
11332 (cd ld && \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335 "RANLIB=$${RANLIB}" \
11336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11337 dvi) \
11338 || exit 1
11340 @endif ld
11342 .PHONY: maybe-TAGS-ld TAGS-ld
11343 maybe-TAGS-ld:
11344 @if ld
11345 maybe-TAGS-ld: TAGS-ld
11347 TAGS-ld: \
11348 configure-ld
11349 @[ -f ./ld/Makefile ] || exit 0; \
11350 r=`${PWD_COMMAND}`; export r; \
11351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 $(SET_LIB_PATH) \
11353 $(HOST_EXPORTS) \
11354 for flag in $(EXTRA_HOST_FLAGS); do \
11355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11356 done; \
11357 echo "Doing TAGS in ld" ; \
11358 (cd ld && \
11359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11361 "RANLIB=$${RANLIB}" \
11362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11363 TAGS) \
11364 || exit 1
11366 @endif ld
11368 .PHONY: maybe-install-info-ld install-info-ld
11369 maybe-install-info-ld:
11370 @if ld
11371 maybe-install-info-ld: install-info-ld
11373 install-info-ld: \
11374 configure-ld \
11375 info-ld
11376 @[ -f ./ld/Makefile ] || exit 0; \
11377 r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11379 $(SET_LIB_PATH) \
11380 $(HOST_EXPORTS) \
11381 for flag in $(EXTRA_HOST_FLAGS); do \
11382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11383 done; \
11384 echo "Doing install-info in ld" ; \
11385 (cd ld && \
11386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11388 "RANLIB=$${RANLIB}" \
11389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11390 install-info) \
11391 || exit 1
11393 @endif ld
11395 .PHONY: maybe-installcheck-ld installcheck-ld
11396 maybe-installcheck-ld:
11397 @if ld
11398 maybe-installcheck-ld: installcheck-ld
11400 installcheck-ld: \
11401 configure-ld
11402 @[ -f ./ld/Makefile ] || exit 0; \
11403 r=`${PWD_COMMAND}`; export r; \
11404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11405 $(SET_LIB_PATH) \
11406 $(HOST_EXPORTS) \
11407 for flag in $(EXTRA_HOST_FLAGS); do \
11408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11409 done; \
11410 echo "Doing installcheck in ld" ; \
11411 (cd ld && \
11412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414 "RANLIB=$${RANLIB}" \
11415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11416 installcheck) \
11417 || exit 1
11419 @endif ld
11421 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11422 maybe-mostlyclean-ld:
11423 @if ld
11424 maybe-mostlyclean-ld: mostlyclean-ld
11426 mostlyclean-ld:
11427 @[ -f ./ld/Makefile ] || exit 0; \
11428 r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(SET_LIB_PATH) \
11431 $(HOST_EXPORTS) \
11432 for flag in $(EXTRA_HOST_FLAGS); do \
11433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 done; \
11435 echo "Doing mostlyclean in ld" ; \
11436 (cd ld && \
11437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11439 "RANLIB=$${RANLIB}" \
11440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11441 mostlyclean) \
11442 || exit 1
11444 @endif ld
11446 .PHONY: maybe-clean-ld clean-ld
11447 maybe-clean-ld:
11448 @if ld
11449 maybe-clean-ld: clean-ld
11451 clean-ld:
11452 @[ -f ./ld/Makefile ] || exit 0; \
11453 r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 $(SET_LIB_PATH) \
11456 $(HOST_EXPORTS) \
11457 for flag in $(EXTRA_HOST_FLAGS); do \
11458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11459 done; \
11460 echo "Doing clean in ld" ; \
11461 (cd ld && \
11462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11464 "RANLIB=$${RANLIB}" \
11465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11466 clean) \
11467 || exit 1
11469 @endif ld
11471 .PHONY: maybe-distclean-ld distclean-ld
11472 maybe-distclean-ld:
11473 @if ld
11474 maybe-distclean-ld: distclean-ld
11476 distclean-ld:
11477 @[ -f ./ld/Makefile ] || exit 0; \
11478 r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 $(SET_LIB_PATH) \
11481 $(HOST_EXPORTS) \
11482 for flag in $(EXTRA_HOST_FLAGS); do \
11483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11484 done; \
11485 echo "Doing distclean in ld" ; \
11486 (cd ld && \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489 "RANLIB=$${RANLIB}" \
11490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11491 distclean) \
11492 || exit 1
11494 @endif ld
11496 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11497 maybe-maintainer-clean-ld:
11498 @if ld
11499 maybe-maintainer-clean-ld: maintainer-clean-ld
11501 maintainer-clean-ld:
11502 @[ -f ./ld/Makefile ] || exit 0; \
11503 r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11505 $(SET_LIB_PATH) \
11506 $(HOST_EXPORTS) \
11507 for flag in $(EXTRA_HOST_FLAGS); do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509 done; \
11510 echo "Doing maintainer-clean in ld" ; \
11511 (cd ld && \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11516 maintainer-clean) \
11517 || exit 1
11519 @endif ld
11522 .PHONY: configure-libcpp maybe-configure-libcpp
11523 maybe-configure-libcpp:
11524 @if libcpp
11525 maybe-configure-libcpp: configure-libcpp
11526 configure-libcpp:
11527 @test ! -f libcpp/Makefile || exit 0; \
11528 [ -d libcpp ] || mkdir libcpp; \
11529 r=`${PWD_COMMAND}`; export r; \
11530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11531 $(HOST_EXPORTS) \
11532 echo Configuring in libcpp; \
11533 cd libcpp || exit 1; \
11534 case $(srcdir) in \
11535 \.) \
11536 srcdiroption="--srcdir=."; \
11537 libsrcdir=".";; \
11538 /* | [A-Za-z]:[\\/]*) \
11539 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
11540 libsrcdir="$$s/libcpp";; \
11541 *) \
11542 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
11543 libsrcdir="$$s/libcpp";; \
11544 esac; \
11545 $(SHELL) $${libsrcdir}/configure \
11546 $(HOST_CONFIGARGS) $${srcdiroption} \
11547 || exit 1
11548 @endif libcpp
11550 .PHONY: all-libcpp maybe-all-libcpp
11551 maybe-all-libcpp:
11552 @if libcpp
11553 maybe-all-libcpp: all-libcpp
11554 all-libcpp: configure-libcpp
11555 @r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 $(SET_LIB_PATH) \
11558 $(HOST_EXPORTS) \
11559 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
11560 @endif libcpp
11562 .PHONY: check-libcpp maybe-check-libcpp
11563 maybe-check-libcpp:
11564 @if libcpp
11565 maybe-check-libcpp: check-libcpp
11567 check-libcpp:
11568 @r=`${PWD_COMMAND}`; export r; \
11569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11570 $(SET_LIB_PATH) \
11571 $(HOST_EXPORTS) \
11572 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
11574 @endif libcpp
11576 .PHONY: install-libcpp maybe-install-libcpp
11577 maybe-install-libcpp:
11578 @if libcpp
11579 maybe-install-libcpp: install-libcpp
11581 install-libcpp: installdirs
11582 @r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11584 $(SET_LIB_PATH) \
11585 $(HOST_EXPORTS) \
11586 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
11588 @endif libcpp
11590 # Other targets (info, dvi, etc.)
11592 .PHONY: maybe-info-libcpp info-libcpp
11593 maybe-info-libcpp:
11594 @if libcpp
11595 maybe-info-libcpp: info-libcpp
11597 info-libcpp: \
11598 configure-libcpp
11599 @[ -f ./libcpp/Makefile ] || exit 0; \
11600 r=`${PWD_COMMAND}`; export r; \
11601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11602 $(SET_LIB_PATH) \
11603 $(HOST_EXPORTS) \
11604 for flag in $(EXTRA_HOST_FLAGS); do \
11605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 done; \
11607 echo "Doing info in libcpp" ; \
11608 (cd libcpp && \
11609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11611 "RANLIB=$${RANLIB}" \
11612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11613 info) \
11614 || exit 1
11616 @endif libcpp
11618 .PHONY: maybe-dvi-libcpp dvi-libcpp
11619 maybe-dvi-libcpp:
11620 @if libcpp
11621 maybe-dvi-libcpp: dvi-libcpp
11623 dvi-libcpp: \
11624 configure-libcpp
11625 @[ -f ./libcpp/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(SET_LIB_PATH) \
11629 $(HOST_EXPORTS) \
11630 for flag in $(EXTRA_HOST_FLAGS); do \
11631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11632 done; \
11633 echo "Doing dvi in libcpp" ; \
11634 (cd libcpp && \
11635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11637 "RANLIB=$${RANLIB}" \
11638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11639 dvi) \
11640 || exit 1
11642 @endif libcpp
11644 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
11645 maybe-TAGS-libcpp:
11646 @if libcpp
11647 maybe-TAGS-libcpp: TAGS-libcpp
11649 TAGS-libcpp: \
11650 configure-libcpp
11651 @[ -f ./libcpp/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(SET_LIB_PATH) \
11655 $(HOST_EXPORTS) \
11656 for flag in $(EXTRA_HOST_FLAGS); do \
11657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11658 done; \
11659 echo "Doing TAGS in libcpp" ; \
11660 (cd libcpp && \
11661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11663 "RANLIB=$${RANLIB}" \
11664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11665 TAGS) \
11666 || exit 1
11668 @endif libcpp
11670 .PHONY: maybe-install-info-libcpp install-info-libcpp
11671 maybe-install-info-libcpp:
11672 @if libcpp
11673 maybe-install-info-libcpp: install-info-libcpp
11675 install-info-libcpp: \
11676 configure-libcpp \
11677 info-libcpp
11678 @[ -f ./libcpp/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11681 $(SET_LIB_PATH) \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS); do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing install-info in libcpp" ; \
11687 (cd libcpp && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11692 install-info) \
11693 || exit 1
11695 @endif libcpp
11697 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
11698 maybe-installcheck-libcpp:
11699 @if libcpp
11700 maybe-installcheck-libcpp: installcheck-libcpp
11702 installcheck-libcpp: \
11703 configure-libcpp
11704 @[ -f ./libcpp/Makefile ] || exit 0; \
11705 r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11707 $(SET_LIB_PATH) \
11708 $(HOST_EXPORTS) \
11709 for flag in $(EXTRA_HOST_FLAGS); do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711 done; \
11712 echo "Doing installcheck in libcpp" ; \
11713 (cd libcpp && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11718 installcheck) \
11719 || exit 1
11721 @endif libcpp
11723 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
11724 maybe-mostlyclean-libcpp:
11725 @if libcpp
11726 maybe-mostlyclean-libcpp: mostlyclean-libcpp
11728 mostlyclean-libcpp:
11729 @[ -f ./libcpp/Makefile ] || exit 0; \
11730 r=`${PWD_COMMAND}`; export r; \
11731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11732 $(SET_LIB_PATH) \
11733 $(HOST_EXPORTS) \
11734 for flag in $(EXTRA_HOST_FLAGS); do \
11735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11736 done; \
11737 echo "Doing mostlyclean in libcpp" ; \
11738 (cd libcpp && \
11739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11741 "RANLIB=$${RANLIB}" \
11742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11743 mostlyclean) \
11744 || exit 1
11746 @endif libcpp
11748 .PHONY: maybe-clean-libcpp clean-libcpp
11749 maybe-clean-libcpp:
11750 @if libcpp
11751 maybe-clean-libcpp: clean-libcpp
11753 clean-libcpp:
11754 @[ -f ./libcpp/Makefile ] || exit 0; \
11755 r=`${PWD_COMMAND}`; export r; \
11756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11757 $(SET_LIB_PATH) \
11758 $(HOST_EXPORTS) \
11759 for flag in $(EXTRA_HOST_FLAGS); do \
11760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11761 done; \
11762 echo "Doing clean in libcpp" ; \
11763 (cd libcpp && \
11764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11766 "RANLIB=$${RANLIB}" \
11767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11768 clean) \
11769 || exit 1
11771 @endif libcpp
11773 .PHONY: maybe-distclean-libcpp distclean-libcpp
11774 maybe-distclean-libcpp:
11775 @if libcpp
11776 maybe-distclean-libcpp: distclean-libcpp
11778 distclean-libcpp:
11779 @[ -f ./libcpp/Makefile ] || exit 0; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 $(SET_LIB_PATH) \
11783 $(HOST_EXPORTS) \
11784 for flag in $(EXTRA_HOST_FLAGS); do \
11785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11786 done; \
11787 echo "Doing distclean in libcpp" ; \
11788 (cd libcpp && \
11789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11791 "RANLIB=$${RANLIB}" \
11792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11793 distclean) \
11794 || exit 1
11796 @endif libcpp
11798 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
11799 maybe-maintainer-clean-libcpp:
11800 @if libcpp
11801 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
11803 maintainer-clean-libcpp:
11804 @[ -f ./libcpp/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(SET_LIB_PATH) \
11808 $(HOST_EXPORTS) \
11809 for flag in $(EXTRA_HOST_FLAGS); do \
11810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11811 done; \
11812 echo "Doing maintainer-clean in libcpp" ; \
11813 (cd libcpp && \
11814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11816 "RANLIB=$${RANLIB}" \
11817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11818 maintainer-clean) \
11819 || exit 1
11821 @endif libcpp
11824 .PHONY: configure-libgui maybe-configure-libgui
11825 maybe-configure-libgui:
11826 @if libgui
11827 maybe-configure-libgui: configure-libgui
11828 configure-libgui:
11829 @test ! -f libgui/Makefile || exit 0; \
11830 [ -d libgui ] || mkdir libgui; \
11831 r=`${PWD_COMMAND}`; export r; \
11832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11833 $(HOST_EXPORTS) \
11834 echo Configuring in libgui; \
11835 cd libgui || exit 1; \
11836 case $(srcdir) in \
11837 \.) \
11838 srcdiroption="--srcdir=."; \
11839 libsrcdir=".";; \
11840 /* | [A-Za-z]:[\\/]*) \
11841 srcdiroption="--srcdir=$(srcdir)/libgui"; \
11842 libsrcdir="$$s/libgui";; \
11843 *) \
11844 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
11845 libsrcdir="$$s/libgui";; \
11846 esac; \
11847 $(SHELL) $${libsrcdir}/configure \
11848 $(HOST_CONFIGARGS) $${srcdiroption} \
11849 || exit 1
11850 @endif libgui
11852 .PHONY: all-libgui maybe-all-libgui
11853 maybe-all-libgui:
11854 @if libgui
11855 maybe-all-libgui: all-libgui
11856 all-libgui: configure-libgui
11857 @r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 $(SET_LIB_PATH) \
11860 $(HOST_EXPORTS) \
11861 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
11862 @endif libgui
11864 .PHONY: check-libgui maybe-check-libgui
11865 maybe-check-libgui:
11866 @if libgui
11867 maybe-check-libgui: check-libgui
11869 check-libgui:
11870 @r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 $(SET_LIB_PATH) \
11873 $(HOST_EXPORTS) \
11874 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
11876 @endif libgui
11878 .PHONY: install-libgui maybe-install-libgui
11879 maybe-install-libgui:
11880 @if libgui
11881 maybe-install-libgui: install-libgui
11883 install-libgui: installdirs
11884 @r=`${PWD_COMMAND}`; export r; \
11885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11886 $(SET_LIB_PATH) \
11887 $(HOST_EXPORTS) \
11888 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
11890 @endif libgui
11892 # Other targets (info, dvi, etc.)
11894 .PHONY: maybe-info-libgui info-libgui
11895 maybe-info-libgui:
11896 @if libgui
11897 maybe-info-libgui: info-libgui
11899 info-libgui: \
11900 configure-libgui
11901 @[ -f ./libgui/Makefile ] || exit 0; \
11902 r=`${PWD_COMMAND}`; export r; \
11903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11904 $(SET_LIB_PATH) \
11905 $(HOST_EXPORTS) \
11906 for flag in $(EXTRA_HOST_FLAGS); do \
11907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11908 done; \
11909 echo "Doing info in libgui" ; \
11910 (cd libgui && \
11911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11913 "RANLIB=$${RANLIB}" \
11914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11915 info) \
11916 || exit 1
11918 @endif libgui
11920 .PHONY: maybe-dvi-libgui dvi-libgui
11921 maybe-dvi-libgui:
11922 @if libgui
11923 maybe-dvi-libgui: dvi-libgui
11925 dvi-libgui: \
11926 configure-libgui
11927 @[ -f ./libgui/Makefile ] || exit 0; \
11928 r=`${PWD_COMMAND}`; export r; \
11929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 $(SET_LIB_PATH) \
11931 $(HOST_EXPORTS) \
11932 for flag in $(EXTRA_HOST_FLAGS); do \
11933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11934 done; \
11935 echo "Doing dvi in libgui" ; \
11936 (cd libgui && \
11937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11939 "RANLIB=$${RANLIB}" \
11940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11941 dvi) \
11942 || exit 1
11944 @endif libgui
11946 .PHONY: maybe-TAGS-libgui TAGS-libgui
11947 maybe-TAGS-libgui:
11948 @if libgui
11949 maybe-TAGS-libgui: TAGS-libgui
11951 TAGS-libgui: \
11952 configure-libgui
11953 @[ -f ./libgui/Makefile ] || exit 0; \
11954 r=`${PWD_COMMAND}`; export r; \
11955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11956 $(SET_LIB_PATH) \
11957 $(HOST_EXPORTS) \
11958 for flag in $(EXTRA_HOST_FLAGS); do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11960 done; \
11961 echo "Doing TAGS in libgui" ; \
11962 (cd libgui && \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11967 TAGS) \
11968 || exit 1
11970 @endif libgui
11972 .PHONY: maybe-install-info-libgui install-info-libgui
11973 maybe-install-info-libgui:
11974 @if libgui
11975 maybe-install-info-libgui: install-info-libgui
11977 install-info-libgui: \
11978 configure-libgui \
11979 info-libgui
11980 @[ -f ./libgui/Makefile ] || exit 0; \
11981 r=`${PWD_COMMAND}`; export r; \
11982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11983 $(SET_LIB_PATH) \
11984 $(HOST_EXPORTS) \
11985 for flag in $(EXTRA_HOST_FLAGS); do \
11986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11987 done; \
11988 echo "Doing install-info in libgui" ; \
11989 (cd libgui && \
11990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11992 "RANLIB=$${RANLIB}" \
11993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11994 install-info) \
11995 || exit 1
11997 @endif libgui
11999 .PHONY: maybe-installcheck-libgui installcheck-libgui
12000 maybe-installcheck-libgui:
12001 @if libgui
12002 maybe-installcheck-libgui: installcheck-libgui
12004 installcheck-libgui: \
12005 configure-libgui
12006 @[ -f ./libgui/Makefile ] || exit 0; \
12007 r=`${PWD_COMMAND}`; export r; \
12008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 $(SET_LIB_PATH) \
12010 $(HOST_EXPORTS) \
12011 for flag in $(EXTRA_HOST_FLAGS); do \
12012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12013 done; \
12014 echo "Doing installcheck in libgui" ; \
12015 (cd libgui && \
12016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12018 "RANLIB=$${RANLIB}" \
12019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12020 installcheck) \
12021 || exit 1
12023 @endif libgui
12025 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12026 maybe-mostlyclean-libgui:
12027 @if libgui
12028 maybe-mostlyclean-libgui: mostlyclean-libgui
12030 mostlyclean-libgui:
12031 @[ -f ./libgui/Makefile ] || exit 0; \
12032 r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12034 $(SET_LIB_PATH) \
12035 $(HOST_EXPORTS) \
12036 for flag in $(EXTRA_HOST_FLAGS); do \
12037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12038 done; \
12039 echo "Doing mostlyclean in libgui" ; \
12040 (cd libgui && \
12041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12043 "RANLIB=$${RANLIB}" \
12044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12045 mostlyclean) \
12046 || exit 1
12048 @endif libgui
12050 .PHONY: maybe-clean-libgui clean-libgui
12051 maybe-clean-libgui:
12052 @if libgui
12053 maybe-clean-libgui: clean-libgui
12055 clean-libgui:
12056 @[ -f ./libgui/Makefile ] || exit 0; \
12057 r=`${PWD_COMMAND}`; export r; \
12058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12059 $(SET_LIB_PATH) \
12060 $(HOST_EXPORTS) \
12061 for flag in $(EXTRA_HOST_FLAGS); do \
12062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12063 done; \
12064 echo "Doing clean in libgui" ; \
12065 (cd libgui && \
12066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12068 "RANLIB=$${RANLIB}" \
12069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12070 clean) \
12071 || exit 1
12073 @endif libgui
12075 .PHONY: maybe-distclean-libgui distclean-libgui
12076 maybe-distclean-libgui:
12077 @if libgui
12078 maybe-distclean-libgui: distclean-libgui
12080 distclean-libgui:
12081 @[ -f ./libgui/Makefile ] || exit 0; \
12082 r=`${PWD_COMMAND}`; export r; \
12083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12084 $(SET_LIB_PATH) \
12085 $(HOST_EXPORTS) \
12086 for flag in $(EXTRA_HOST_FLAGS); do \
12087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12088 done; \
12089 echo "Doing distclean in libgui" ; \
12090 (cd libgui && \
12091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12093 "RANLIB=$${RANLIB}" \
12094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12095 distclean) \
12096 || exit 1
12098 @endif libgui
12100 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12101 maybe-maintainer-clean-libgui:
12102 @if libgui
12103 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12105 maintainer-clean-libgui:
12106 @[ -f ./libgui/Makefile ] || exit 0; \
12107 r=`${PWD_COMMAND}`; export r; \
12108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12109 $(SET_LIB_PATH) \
12110 $(HOST_EXPORTS) \
12111 for flag in $(EXTRA_HOST_FLAGS); do \
12112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12113 done; \
12114 echo "Doing maintainer-clean in libgui" ; \
12115 (cd libgui && \
12116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12118 "RANLIB=$${RANLIB}" \
12119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12120 maintainer-clean) \
12121 || exit 1
12123 @endif libgui
12126 .PHONY: configure-libbanshee maybe-configure-libbanshee
12127 maybe-configure-libbanshee:
12128 @if libbanshee
12129 maybe-configure-libbanshee: configure-libbanshee
12130 configure-libbanshee:
12131 @test ! -f libbanshee/Makefile || exit 0; \
12132 [ -d libbanshee ] || mkdir libbanshee; \
12133 r=`${PWD_COMMAND}`; export r; \
12134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12135 $(HOST_EXPORTS) \
12136 echo Configuring in libbanshee; \
12137 cd libbanshee || exit 1; \
12138 case $(srcdir) in \
12139 \.) \
12140 srcdiroption="--srcdir=."; \
12141 libsrcdir=".";; \
12142 /* | [A-Za-z]:[\\/]*) \
12143 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12144 libsrcdir="$$s/libbanshee";; \
12145 *) \
12146 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12147 libsrcdir="$$s/libbanshee";; \
12148 esac; \
12149 $(SHELL) $${libsrcdir}/configure \
12150 $(HOST_CONFIGARGS) $${srcdiroption} \
12151 || exit 1
12152 @endif libbanshee
12154 .PHONY: all-libbanshee maybe-all-libbanshee
12155 maybe-all-libbanshee:
12156 @if libbanshee
12157 maybe-all-libbanshee: all-libbanshee
12158 all-libbanshee: configure-libbanshee
12159 @r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 $(SET_LIB_PATH) \
12162 $(HOST_EXPORTS) \
12163 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12164 @endif libbanshee
12166 .PHONY: check-libbanshee maybe-check-libbanshee
12167 maybe-check-libbanshee:
12168 @if libbanshee
12169 maybe-check-libbanshee: check-libbanshee
12171 check-libbanshee:
12172 @r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 $(SET_LIB_PATH) \
12175 $(HOST_EXPORTS) \
12176 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12178 @endif libbanshee
12180 .PHONY: install-libbanshee maybe-install-libbanshee
12181 maybe-install-libbanshee:
12182 @if libbanshee
12183 maybe-install-libbanshee: install-libbanshee
12185 install-libbanshee:
12187 @endif libbanshee
12189 # Other targets (info, dvi, etc.)
12191 .PHONY: maybe-info-libbanshee info-libbanshee
12192 maybe-info-libbanshee:
12193 @if libbanshee
12194 maybe-info-libbanshee: info-libbanshee
12196 info-libbanshee: \
12197 configure-libbanshee
12198 @[ -f ./libbanshee/Makefile ] || exit 0; \
12199 r=`${PWD_COMMAND}`; export r; \
12200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12201 $(SET_LIB_PATH) \
12202 $(HOST_EXPORTS) \
12203 for flag in $(EXTRA_HOST_FLAGS); do \
12204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12205 done; \
12206 echo "Doing info in libbanshee" ; \
12207 (cd libbanshee && \
12208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12210 "RANLIB=$${RANLIB}" \
12211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12212 info) \
12213 || exit 1
12215 @endif libbanshee
12217 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12218 maybe-dvi-libbanshee:
12219 @if libbanshee
12220 maybe-dvi-libbanshee: dvi-libbanshee
12222 dvi-libbanshee: \
12223 configure-libbanshee
12224 @[ -f ./libbanshee/Makefile ] || exit 0; \
12225 r=`${PWD_COMMAND}`; export r; \
12226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12227 $(SET_LIB_PATH) \
12228 $(HOST_EXPORTS) \
12229 for flag in $(EXTRA_HOST_FLAGS); do \
12230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12231 done; \
12232 echo "Doing dvi in libbanshee" ; \
12233 (cd libbanshee && \
12234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12236 "RANLIB=$${RANLIB}" \
12237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12238 dvi) \
12239 || exit 1
12241 @endif libbanshee
12243 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12244 maybe-TAGS-libbanshee:
12245 @if libbanshee
12246 maybe-TAGS-libbanshee: TAGS-libbanshee
12248 TAGS-libbanshee: \
12249 configure-libbanshee
12250 @[ -f ./libbanshee/Makefile ] || exit 0; \
12251 r=`${PWD_COMMAND}`; export r; \
12252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12253 $(SET_LIB_PATH) \
12254 $(HOST_EXPORTS) \
12255 for flag in $(EXTRA_HOST_FLAGS); do \
12256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12257 done; \
12258 echo "Doing TAGS in libbanshee" ; \
12259 (cd libbanshee && \
12260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12262 "RANLIB=$${RANLIB}" \
12263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12264 TAGS) \
12265 || exit 1
12267 @endif libbanshee
12269 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12270 maybe-install-info-libbanshee:
12271 @if libbanshee
12272 maybe-install-info-libbanshee: install-info-libbanshee
12274 install-info-libbanshee: \
12275 configure-libbanshee \
12276 info-libbanshee
12277 @[ -f ./libbanshee/Makefile ] || exit 0; \
12278 r=`${PWD_COMMAND}`; export r; \
12279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12280 $(SET_LIB_PATH) \
12281 $(HOST_EXPORTS) \
12282 for flag in $(EXTRA_HOST_FLAGS); do \
12283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12284 done; \
12285 echo "Doing install-info in libbanshee" ; \
12286 (cd libbanshee && \
12287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12289 "RANLIB=$${RANLIB}" \
12290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12291 install-info) \
12292 || exit 1
12294 @endif libbanshee
12296 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12297 maybe-installcheck-libbanshee:
12298 @if libbanshee
12299 maybe-installcheck-libbanshee: installcheck-libbanshee
12301 installcheck-libbanshee: \
12302 configure-libbanshee
12303 @[ -f ./libbanshee/Makefile ] || exit 0; \
12304 r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 $(SET_LIB_PATH) \
12307 $(HOST_EXPORTS) \
12308 for flag in $(EXTRA_HOST_FLAGS); do \
12309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12310 done; \
12311 echo "Doing installcheck in libbanshee" ; \
12312 (cd libbanshee && \
12313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12315 "RANLIB=$${RANLIB}" \
12316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12317 installcheck) \
12318 || exit 1
12320 @endif libbanshee
12322 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12323 maybe-mostlyclean-libbanshee:
12324 @if libbanshee
12325 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12327 mostlyclean-libbanshee:
12328 @[ -f ./libbanshee/Makefile ] || exit 0; \
12329 r=`${PWD_COMMAND}`; export r; \
12330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12331 $(SET_LIB_PATH) \
12332 $(HOST_EXPORTS) \
12333 for flag in $(EXTRA_HOST_FLAGS); do \
12334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12335 done; \
12336 echo "Doing mostlyclean in libbanshee" ; \
12337 (cd libbanshee && \
12338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12340 "RANLIB=$${RANLIB}" \
12341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12342 mostlyclean) \
12343 || exit 1
12345 @endif libbanshee
12347 .PHONY: maybe-clean-libbanshee clean-libbanshee
12348 maybe-clean-libbanshee:
12349 @if libbanshee
12350 maybe-clean-libbanshee: clean-libbanshee
12352 clean-libbanshee:
12353 @[ -f ./libbanshee/Makefile ] || exit 0; \
12354 r=`${PWD_COMMAND}`; export r; \
12355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12356 $(SET_LIB_PATH) \
12357 $(HOST_EXPORTS) \
12358 for flag in $(EXTRA_HOST_FLAGS); do \
12359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12360 done; \
12361 echo "Doing clean in libbanshee" ; \
12362 (cd libbanshee && \
12363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12365 "RANLIB=$${RANLIB}" \
12366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12367 clean) \
12368 || exit 1
12370 @endif libbanshee
12372 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12373 maybe-distclean-libbanshee:
12374 @if libbanshee
12375 maybe-distclean-libbanshee: distclean-libbanshee
12377 distclean-libbanshee:
12378 @[ -f ./libbanshee/Makefile ] || exit 0; \
12379 r=`${PWD_COMMAND}`; export r; \
12380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12381 $(SET_LIB_PATH) \
12382 $(HOST_EXPORTS) \
12383 for flag in $(EXTRA_HOST_FLAGS); do \
12384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12385 done; \
12386 echo "Doing distclean in libbanshee" ; \
12387 (cd libbanshee && \
12388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12390 "RANLIB=$${RANLIB}" \
12391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12392 distclean) \
12393 || exit 1
12395 @endif libbanshee
12397 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12398 maybe-maintainer-clean-libbanshee:
12399 @if libbanshee
12400 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12402 maintainer-clean-libbanshee:
12403 @[ -f ./libbanshee/Makefile ] || exit 0; \
12404 r=`${PWD_COMMAND}`; export r; \
12405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12406 $(SET_LIB_PATH) \
12407 $(HOST_EXPORTS) \
12408 for flag in $(EXTRA_HOST_FLAGS); do \
12409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12410 done; \
12411 echo "Doing maintainer-clean in libbanshee" ; \
12412 (cd libbanshee && \
12413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12415 "RANLIB=$${RANLIB}" \
12416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12417 maintainer-clean) \
12418 || exit 1
12420 @endif libbanshee
12423 .PHONY: configure-libiberty maybe-configure-libiberty
12424 maybe-configure-libiberty:
12425 @if libiberty
12426 maybe-configure-libiberty: configure-libiberty
12427 configure-libiberty:
12428 @test ! -f libiberty/Makefile || exit 0; \
12429 [ -d libiberty ] || mkdir libiberty; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(HOST_EXPORTS) \
12433 echo Configuring in libiberty; \
12434 cd libiberty || exit 1; \
12435 case $(srcdir) in \
12436 \.) \
12437 srcdiroption="--srcdir=."; \
12438 libsrcdir=".";; \
12439 /* | [A-Za-z]:[\\/]*) \
12440 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12441 libsrcdir="$$s/libiberty";; \
12442 *) \
12443 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12444 libsrcdir="$$s/libiberty";; \
12445 esac; \
12446 $(SHELL) $${libsrcdir}/configure \
12447 $(HOST_CONFIGARGS) $${srcdiroption} \
12448 || exit 1
12449 @endif libiberty
12451 .PHONY: all-libiberty maybe-all-libiberty
12452 maybe-all-libiberty:
12453 @if libiberty
12454 maybe-all-libiberty: all-libiberty
12455 all-libiberty: configure-libiberty
12456 @r=`${PWD_COMMAND}`; export r; \
12457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12458 $(SET_LIB_PATH) \
12459 $(HOST_EXPORTS) \
12460 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12461 @endif libiberty
12463 .PHONY: check-libiberty maybe-check-libiberty
12464 maybe-check-libiberty:
12465 @if libiberty
12466 maybe-check-libiberty: check-libiberty
12468 check-libiberty:
12469 @r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12471 $(SET_LIB_PATH) \
12472 $(HOST_EXPORTS) \
12473 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12475 @endif libiberty
12477 .PHONY: install-libiberty maybe-install-libiberty
12478 maybe-install-libiberty:
12479 @if libiberty
12480 maybe-install-libiberty: install-libiberty
12482 install-libiberty: installdirs
12483 @r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 $(SET_LIB_PATH) \
12486 $(HOST_EXPORTS) \
12487 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12489 @endif libiberty
12491 # Other targets (info, dvi, etc.)
12493 .PHONY: maybe-info-libiberty info-libiberty
12494 maybe-info-libiberty:
12495 @if libiberty
12496 maybe-info-libiberty: info-libiberty
12498 info-libiberty: \
12499 configure-libiberty
12500 @[ -f ./libiberty/Makefile ] || exit 0; \
12501 r=`${PWD_COMMAND}`; export r; \
12502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12503 $(SET_LIB_PATH) \
12504 $(HOST_EXPORTS) \
12505 for flag in $(EXTRA_HOST_FLAGS); do \
12506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12507 done; \
12508 echo "Doing info in libiberty" ; \
12509 (cd libiberty && \
12510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12512 "RANLIB=$${RANLIB}" \
12513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12514 info) \
12515 || exit 1
12517 @endif libiberty
12519 .PHONY: maybe-dvi-libiberty dvi-libiberty
12520 maybe-dvi-libiberty:
12521 @if libiberty
12522 maybe-dvi-libiberty: dvi-libiberty
12524 dvi-libiberty: \
12525 configure-libiberty
12526 @[ -f ./libiberty/Makefile ] || exit 0; \
12527 r=`${PWD_COMMAND}`; export r; \
12528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12529 $(SET_LIB_PATH) \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS); do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing dvi in libiberty" ; \
12535 (cd libiberty && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12540 dvi) \
12541 || exit 1
12543 @endif libiberty
12545 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12546 maybe-TAGS-libiberty:
12547 @if libiberty
12548 maybe-TAGS-libiberty: TAGS-libiberty
12550 TAGS-libiberty: \
12551 configure-libiberty
12552 @[ -f ./libiberty/Makefile ] || exit 0; \
12553 r=`${PWD_COMMAND}`; export r; \
12554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12555 $(SET_LIB_PATH) \
12556 $(HOST_EXPORTS) \
12557 for flag in $(EXTRA_HOST_FLAGS); do \
12558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 done; \
12560 echo "Doing TAGS in libiberty" ; \
12561 (cd libiberty && \
12562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12564 "RANLIB=$${RANLIB}" \
12565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12566 TAGS) \
12567 || exit 1
12569 @endif libiberty
12571 .PHONY: maybe-install-info-libiberty install-info-libiberty
12572 maybe-install-info-libiberty:
12573 @if libiberty
12574 maybe-install-info-libiberty: install-info-libiberty
12576 install-info-libiberty: \
12577 configure-libiberty \
12578 info-libiberty
12579 @[ -f ./libiberty/Makefile ] || exit 0; \
12580 r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 $(SET_LIB_PATH) \
12583 $(HOST_EXPORTS) \
12584 for flag in $(EXTRA_HOST_FLAGS); do \
12585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12586 done; \
12587 echo "Doing install-info in libiberty" ; \
12588 (cd libiberty && \
12589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591 "RANLIB=$${RANLIB}" \
12592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12593 install-info) \
12594 || exit 1
12596 @endif libiberty
12598 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12599 maybe-installcheck-libiberty:
12600 @if libiberty
12601 maybe-installcheck-libiberty: installcheck-libiberty
12603 installcheck-libiberty: \
12604 configure-libiberty
12605 @[ -f ./libiberty/Makefile ] || exit 0; \
12606 r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608 $(SET_LIB_PATH) \
12609 $(HOST_EXPORTS) \
12610 for flag in $(EXTRA_HOST_FLAGS); do \
12611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12612 done; \
12613 echo "Doing installcheck in libiberty" ; \
12614 (cd libiberty && \
12615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12617 "RANLIB=$${RANLIB}" \
12618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12619 installcheck) \
12620 || exit 1
12622 @endif libiberty
12624 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12625 maybe-mostlyclean-libiberty:
12626 @if libiberty
12627 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12629 mostlyclean-libiberty:
12630 @[ -f ./libiberty/Makefile ] || exit 0; \
12631 r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633 $(SET_LIB_PATH) \
12634 $(HOST_EXPORTS) \
12635 for flag in $(EXTRA_HOST_FLAGS); do \
12636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12637 done; \
12638 echo "Doing mostlyclean in libiberty" ; \
12639 (cd libiberty && \
12640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12642 "RANLIB=$${RANLIB}" \
12643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12644 mostlyclean) \
12645 || exit 1
12647 @endif libiberty
12649 .PHONY: maybe-clean-libiberty clean-libiberty
12650 maybe-clean-libiberty:
12651 @if libiberty
12652 maybe-clean-libiberty: clean-libiberty
12654 clean-libiberty:
12655 @[ -f ./libiberty/Makefile ] || exit 0; \
12656 r=`${PWD_COMMAND}`; export r; \
12657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12658 $(SET_LIB_PATH) \
12659 $(HOST_EXPORTS) \
12660 for flag in $(EXTRA_HOST_FLAGS); do \
12661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12662 done; \
12663 echo "Doing clean in libiberty" ; \
12664 (cd libiberty && \
12665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667 "RANLIB=$${RANLIB}" \
12668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12669 clean) \
12670 || exit 1
12672 @endif libiberty
12674 .PHONY: maybe-distclean-libiberty distclean-libiberty
12675 maybe-distclean-libiberty:
12676 @if libiberty
12677 maybe-distclean-libiberty: distclean-libiberty
12679 distclean-libiberty:
12680 @[ -f ./libiberty/Makefile ] || exit 0; \
12681 r=`${PWD_COMMAND}`; export r; \
12682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12683 $(SET_LIB_PATH) \
12684 $(HOST_EXPORTS) \
12685 for flag in $(EXTRA_HOST_FLAGS); do \
12686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12687 done; \
12688 echo "Doing distclean in libiberty" ; \
12689 (cd libiberty && \
12690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12692 "RANLIB=$${RANLIB}" \
12693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12694 distclean) \
12695 || exit 1
12697 @endif libiberty
12699 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
12700 maybe-maintainer-clean-libiberty:
12701 @if libiberty
12702 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
12704 maintainer-clean-libiberty:
12705 @[ -f ./libiberty/Makefile ] || exit 0; \
12706 r=`${PWD_COMMAND}`; export r; \
12707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12708 $(SET_LIB_PATH) \
12709 $(HOST_EXPORTS) \
12710 for flag in $(EXTRA_HOST_FLAGS); do \
12711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12712 done; \
12713 echo "Doing maintainer-clean in libiberty" ; \
12714 (cd libiberty && \
12715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12717 "RANLIB=$${RANLIB}" \
12718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12719 maintainer-clean) \
12720 || exit 1
12722 @endif libiberty
12725 .PHONY: configure-libtool maybe-configure-libtool
12726 maybe-configure-libtool:
12727 @if libtool
12728 maybe-configure-libtool: configure-libtool
12729 configure-libtool:
12730 @test ! -f libtool/Makefile || exit 0; \
12731 [ -d libtool ] || mkdir libtool; \
12732 r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 $(HOST_EXPORTS) \
12735 echo Configuring in libtool; \
12736 cd libtool || exit 1; \
12737 case $(srcdir) in \
12738 \.) \
12739 srcdiroption="--srcdir=."; \
12740 libsrcdir=".";; \
12741 /* | [A-Za-z]:[\\/]*) \
12742 srcdiroption="--srcdir=$(srcdir)/libtool"; \
12743 libsrcdir="$$s/libtool";; \
12744 *) \
12745 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
12746 libsrcdir="$$s/libtool";; \
12747 esac; \
12748 $(SHELL) $${libsrcdir}/configure \
12749 $(HOST_CONFIGARGS) $${srcdiroption} \
12750 || exit 1
12751 @endif libtool
12753 .PHONY: all-libtool maybe-all-libtool
12754 maybe-all-libtool:
12755 @if libtool
12756 maybe-all-libtool: all-libtool
12757 all-libtool: configure-libtool
12758 @r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12760 $(SET_LIB_PATH) \
12761 $(HOST_EXPORTS) \
12762 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
12763 @endif libtool
12765 .PHONY: check-libtool maybe-check-libtool
12766 maybe-check-libtool:
12767 @if libtool
12768 maybe-check-libtool: check-libtool
12770 check-libtool:
12771 @r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12773 $(SET_LIB_PATH) \
12774 $(HOST_EXPORTS) \
12775 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
12777 @endif libtool
12779 .PHONY: install-libtool maybe-install-libtool
12780 maybe-install-libtool:
12781 @if libtool
12782 maybe-install-libtool: install-libtool
12784 install-libtool: installdirs
12785 @r=`${PWD_COMMAND}`; export r; \
12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12787 $(SET_LIB_PATH) \
12788 $(HOST_EXPORTS) \
12789 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
12791 @endif libtool
12793 # Other targets (info, dvi, etc.)
12795 .PHONY: maybe-info-libtool info-libtool
12796 maybe-info-libtool:
12797 @if libtool
12798 maybe-info-libtool: info-libtool
12800 info-libtool: \
12801 configure-libtool
12802 @[ -f ./libtool/Makefile ] || exit 0; \
12803 r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12805 $(SET_LIB_PATH) \
12806 $(HOST_EXPORTS) \
12807 for flag in $(EXTRA_HOST_FLAGS); do \
12808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12809 done; \
12810 echo "Doing info in libtool" ; \
12811 (cd libtool && \
12812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12814 "RANLIB=$${RANLIB}" \
12815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12816 info) \
12817 || exit 1
12819 @endif libtool
12821 .PHONY: maybe-dvi-libtool dvi-libtool
12822 maybe-dvi-libtool:
12823 @if libtool
12824 maybe-dvi-libtool: dvi-libtool
12826 dvi-libtool: \
12827 configure-libtool
12828 @[ -f ./libtool/Makefile ] || exit 0; \
12829 r=`${PWD_COMMAND}`; export r; \
12830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12831 $(SET_LIB_PATH) \
12832 $(HOST_EXPORTS) \
12833 for flag in $(EXTRA_HOST_FLAGS); do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835 done; \
12836 echo "Doing dvi in libtool" ; \
12837 (cd libtool && \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12842 dvi) \
12843 || exit 1
12845 @endif libtool
12847 .PHONY: maybe-TAGS-libtool TAGS-libtool
12848 maybe-TAGS-libtool:
12849 @if libtool
12850 maybe-TAGS-libtool: TAGS-libtool
12852 TAGS-libtool: \
12853 configure-libtool
12854 @[ -f ./libtool/Makefile ] || exit 0; \
12855 r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12857 $(SET_LIB_PATH) \
12858 $(HOST_EXPORTS) \
12859 for flag in $(EXTRA_HOST_FLAGS); do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 done; \
12862 echo "Doing TAGS in libtool" ; \
12863 (cd libtool && \
12864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12866 "RANLIB=$${RANLIB}" \
12867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12868 TAGS) \
12869 || exit 1
12871 @endif libtool
12873 .PHONY: maybe-install-info-libtool install-info-libtool
12874 maybe-install-info-libtool:
12875 @if libtool
12876 maybe-install-info-libtool: install-info-libtool
12878 install-info-libtool: \
12879 configure-libtool \
12880 info-libtool
12881 @[ -f ./libtool/Makefile ] || exit 0; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12884 $(SET_LIB_PATH) \
12885 $(HOST_EXPORTS) \
12886 for flag in $(EXTRA_HOST_FLAGS); do \
12887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12888 done; \
12889 echo "Doing install-info in libtool" ; \
12890 (cd libtool && \
12891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12893 "RANLIB=$${RANLIB}" \
12894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12895 install-info) \
12896 || exit 1
12898 @endif libtool
12900 .PHONY: maybe-installcheck-libtool installcheck-libtool
12901 maybe-installcheck-libtool:
12902 @if libtool
12903 maybe-installcheck-libtool: installcheck-libtool
12905 installcheck-libtool: \
12906 configure-libtool
12907 @[ -f ./libtool/Makefile ] || exit 0; \
12908 r=`${PWD_COMMAND}`; export r; \
12909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12910 $(SET_LIB_PATH) \
12911 $(HOST_EXPORTS) \
12912 for flag in $(EXTRA_HOST_FLAGS); do \
12913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12914 done; \
12915 echo "Doing installcheck in libtool" ; \
12916 (cd libtool && \
12917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12919 "RANLIB=$${RANLIB}" \
12920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12921 installcheck) \
12922 || exit 1
12924 @endif libtool
12926 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
12927 maybe-mostlyclean-libtool:
12928 @if libtool
12929 maybe-mostlyclean-libtool: mostlyclean-libtool
12931 mostlyclean-libtool:
12932 @[ -f ./libtool/Makefile ] || exit 0; \
12933 r=`${PWD_COMMAND}`; export r; \
12934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12935 $(SET_LIB_PATH) \
12936 $(HOST_EXPORTS) \
12937 for flag in $(EXTRA_HOST_FLAGS); do \
12938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12939 done; \
12940 echo "Doing mostlyclean in libtool" ; \
12941 (cd libtool && \
12942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12944 "RANLIB=$${RANLIB}" \
12945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12946 mostlyclean) \
12947 || exit 1
12949 @endif libtool
12951 .PHONY: maybe-clean-libtool clean-libtool
12952 maybe-clean-libtool:
12953 @if libtool
12954 maybe-clean-libtool: clean-libtool
12956 clean-libtool:
12957 @[ -f ./libtool/Makefile ] || exit 0; \
12958 r=`${PWD_COMMAND}`; export r; \
12959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12960 $(SET_LIB_PATH) \
12961 $(HOST_EXPORTS) \
12962 for flag in $(EXTRA_HOST_FLAGS); do \
12963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12964 done; \
12965 echo "Doing clean in libtool" ; \
12966 (cd libtool && \
12967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12969 "RANLIB=$${RANLIB}" \
12970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12971 clean) \
12972 || exit 1
12974 @endif libtool
12976 .PHONY: maybe-distclean-libtool distclean-libtool
12977 maybe-distclean-libtool:
12978 @if libtool
12979 maybe-distclean-libtool: distclean-libtool
12981 distclean-libtool:
12982 @[ -f ./libtool/Makefile ] || exit 0; \
12983 r=`${PWD_COMMAND}`; export r; \
12984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12985 $(SET_LIB_PATH) \
12986 $(HOST_EXPORTS) \
12987 for flag in $(EXTRA_HOST_FLAGS); do \
12988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12989 done; \
12990 echo "Doing distclean in libtool" ; \
12991 (cd libtool && \
12992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12994 "RANLIB=$${RANLIB}" \
12995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12996 distclean) \
12997 || exit 1
12999 @endif libtool
13001 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13002 maybe-maintainer-clean-libtool:
13003 @if libtool
13004 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13006 maintainer-clean-libtool:
13007 @[ -f ./libtool/Makefile ] || exit 0; \
13008 r=`${PWD_COMMAND}`; export r; \
13009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13010 $(SET_LIB_PATH) \
13011 $(HOST_EXPORTS) \
13012 for flag in $(EXTRA_HOST_FLAGS); do \
13013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13014 done; \
13015 echo "Doing maintainer-clean in libtool" ; \
13016 (cd libtool && \
13017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13019 "RANLIB=$${RANLIB}" \
13020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13021 maintainer-clean) \
13022 || exit 1
13024 @endif libtool
13027 .PHONY: configure-m4 maybe-configure-m4
13028 maybe-configure-m4:
13029 @if m4
13030 maybe-configure-m4: configure-m4
13031 configure-m4:
13032 @test ! -f m4/Makefile || exit 0; \
13033 [ -d m4 ] || mkdir m4; \
13034 r=`${PWD_COMMAND}`; export r; \
13035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13036 $(HOST_EXPORTS) \
13037 echo Configuring in m4; \
13038 cd m4 || exit 1; \
13039 case $(srcdir) in \
13040 \.) \
13041 srcdiroption="--srcdir=."; \
13042 libsrcdir=".";; \
13043 /* | [A-Za-z]:[\\/]*) \
13044 srcdiroption="--srcdir=$(srcdir)/m4"; \
13045 libsrcdir="$$s/m4";; \
13046 *) \
13047 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13048 libsrcdir="$$s/m4";; \
13049 esac; \
13050 $(SHELL) $${libsrcdir}/configure \
13051 $(HOST_CONFIGARGS) $${srcdiroption} \
13052 || exit 1
13053 @endif m4
13055 .PHONY: all-m4 maybe-all-m4
13056 maybe-all-m4:
13057 @if m4
13058 maybe-all-m4: all-m4
13059 all-m4: configure-m4
13060 @r=`${PWD_COMMAND}`; export r; \
13061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13062 $(SET_LIB_PATH) \
13063 $(HOST_EXPORTS) \
13064 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13065 @endif m4
13067 .PHONY: check-m4 maybe-check-m4
13068 maybe-check-m4:
13069 @if m4
13070 maybe-check-m4: check-m4
13072 check-m4:
13073 @r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(SET_LIB_PATH) \
13076 $(HOST_EXPORTS) \
13077 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13079 @endif m4
13081 .PHONY: install-m4 maybe-install-m4
13082 maybe-install-m4:
13083 @if m4
13084 maybe-install-m4: install-m4
13086 install-m4: installdirs
13087 @r=`${PWD_COMMAND}`; export r; \
13088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13089 $(SET_LIB_PATH) \
13090 $(HOST_EXPORTS) \
13091 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13093 @endif m4
13095 # Other targets (info, dvi, etc.)
13097 .PHONY: maybe-info-m4 info-m4
13098 maybe-info-m4:
13099 @if m4
13100 maybe-info-m4: info-m4
13102 info-m4: \
13103 configure-m4
13104 @[ -f ./m4/Makefile ] || exit 0; \
13105 r=`${PWD_COMMAND}`; export r; \
13106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 $(SET_LIB_PATH) \
13108 $(HOST_EXPORTS) \
13109 for flag in $(EXTRA_HOST_FLAGS); do \
13110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13111 done; \
13112 echo "Doing info in m4" ; \
13113 (cd m4 && \
13114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13116 "RANLIB=$${RANLIB}" \
13117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13118 info) \
13119 || exit 1
13121 @endif m4
13123 .PHONY: maybe-dvi-m4 dvi-m4
13124 maybe-dvi-m4:
13125 @if m4
13126 maybe-dvi-m4: dvi-m4
13128 dvi-m4: \
13129 configure-m4
13130 @[ -f ./m4/Makefile ] || exit 0; \
13131 r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 $(SET_LIB_PATH) \
13134 $(HOST_EXPORTS) \
13135 for flag in $(EXTRA_HOST_FLAGS); do \
13136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13137 done; \
13138 echo "Doing dvi in m4" ; \
13139 (cd m4 && \
13140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13142 "RANLIB=$${RANLIB}" \
13143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13144 dvi) \
13145 || exit 1
13147 @endif m4
13149 .PHONY: maybe-TAGS-m4 TAGS-m4
13150 maybe-TAGS-m4:
13151 @if m4
13152 maybe-TAGS-m4: TAGS-m4
13154 TAGS-m4: \
13155 configure-m4
13156 @[ -f ./m4/Makefile ] || exit 0; \
13157 r=`${PWD_COMMAND}`; export r; \
13158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 $(SET_LIB_PATH) \
13160 $(HOST_EXPORTS) \
13161 for flag in $(EXTRA_HOST_FLAGS); do \
13162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13163 done; \
13164 echo "Doing TAGS in m4" ; \
13165 (cd m4 && \
13166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13168 "RANLIB=$${RANLIB}" \
13169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13170 TAGS) \
13171 || exit 1
13173 @endif m4
13175 .PHONY: maybe-install-info-m4 install-info-m4
13176 maybe-install-info-m4:
13177 @if m4
13178 maybe-install-info-m4: install-info-m4
13180 install-info-m4: \
13181 configure-m4 \
13182 info-m4
13183 @[ -f ./m4/Makefile ] || exit 0; \
13184 r=`${PWD_COMMAND}`; export r; \
13185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13186 $(SET_LIB_PATH) \
13187 $(HOST_EXPORTS) \
13188 for flag in $(EXTRA_HOST_FLAGS); do \
13189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13190 done; \
13191 echo "Doing install-info in m4" ; \
13192 (cd m4 && \
13193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13195 "RANLIB=$${RANLIB}" \
13196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13197 install-info) \
13198 || exit 1
13200 @endif m4
13202 .PHONY: maybe-installcheck-m4 installcheck-m4
13203 maybe-installcheck-m4:
13204 @if m4
13205 maybe-installcheck-m4: installcheck-m4
13207 installcheck-m4: \
13208 configure-m4
13209 @[ -f ./m4/Makefile ] || exit 0; \
13210 r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13212 $(SET_LIB_PATH) \
13213 $(HOST_EXPORTS) \
13214 for flag in $(EXTRA_HOST_FLAGS); do \
13215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13216 done; \
13217 echo "Doing installcheck in m4" ; \
13218 (cd m4 && \
13219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13221 "RANLIB=$${RANLIB}" \
13222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13223 installcheck) \
13224 || exit 1
13226 @endif m4
13228 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13229 maybe-mostlyclean-m4:
13230 @if m4
13231 maybe-mostlyclean-m4: mostlyclean-m4
13233 mostlyclean-m4:
13234 @[ -f ./m4/Makefile ] || exit 0; \
13235 r=`${PWD_COMMAND}`; export r; \
13236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 $(SET_LIB_PATH) \
13238 $(HOST_EXPORTS) \
13239 for flag in $(EXTRA_HOST_FLAGS); do \
13240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13241 done; \
13242 echo "Doing mostlyclean in m4" ; \
13243 (cd m4 && \
13244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13246 "RANLIB=$${RANLIB}" \
13247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13248 mostlyclean) \
13249 || exit 1
13251 @endif m4
13253 .PHONY: maybe-clean-m4 clean-m4
13254 maybe-clean-m4:
13255 @if m4
13256 maybe-clean-m4: clean-m4
13258 clean-m4:
13259 @[ -f ./m4/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 clean in m4" ; \
13268 (cd m4 && \
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 clean) \
13274 || exit 1
13276 @endif m4
13278 .PHONY: maybe-distclean-m4 distclean-m4
13279 maybe-distclean-m4:
13280 @if m4
13281 maybe-distclean-m4: distclean-m4
13283 distclean-m4:
13284 @[ -f ./m4/Makefile ] || exit 0; \
13285 r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13287 $(SET_LIB_PATH) \
13288 $(HOST_EXPORTS) \
13289 for flag in $(EXTRA_HOST_FLAGS); do \
13290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13291 done; \
13292 echo "Doing distclean in m4" ; \
13293 (cd m4 && \
13294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13296 "RANLIB=$${RANLIB}" \
13297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13298 distclean) \
13299 || exit 1
13301 @endif m4
13303 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13304 maybe-maintainer-clean-m4:
13305 @if m4
13306 maybe-maintainer-clean-m4: maintainer-clean-m4
13308 maintainer-clean-m4:
13309 @[ -f ./m4/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13312 $(SET_LIB_PATH) \
13313 $(HOST_EXPORTS) \
13314 for flag in $(EXTRA_HOST_FLAGS); do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13316 done; \
13317 echo "Doing maintainer-clean in m4" ; \
13318 (cd m4 && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13323 maintainer-clean) \
13324 || exit 1
13326 @endif m4
13329 .PHONY: configure-make maybe-configure-make
13330 maybe-configure-make:
13331 @if make
13332 maybe-configure-make: configure-make
13333 configure-make:
13334 @test ! -f make/Makefile || exit 0; \
13335 [ -d make ] || mkdir make; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13338 $(HOST_EXPORTS) \
13339 echo Configuring in make; \
13340 cd make || exit 1; \
13341 case $(srcdir) in \
13342 \.) \
13343 srcdiroption="--srcdir=."; \
13344 libsrcdir=".";; \
13345 /* | [A-Za-z]:[\\/]*) \
13346 srcdiroption="--srcdir=$(srcdir)/make"; \
13347 libsrcdir="$$s/make";; \
13348 *) \
13349 srcdiroption="--srcdir=../$(srcdir)/make"; \
13350 libsrcdir="$$s/make";; \
13351 esac; \
13352 $(SHELL) $${libsrcdir}/configure \
13353 $(HOST_CONFIGARGS) $${srcdiroption} \
13354 || exit 1
13355 @endif make
13357 .PHONY: all-make maybe-all-make
13358 maybe-all-make:
13359 @if make
13360 maybe-all-make: all-make
13361 all-make: configure-make
13362 @r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 $(SET_LIB_PATH) \
13365 $(HOST_EXPORTS) \
13366 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13367 @endif make
13369 .PHONY: check-make maybe-check-make
13370 maybe-check-make:
13371 @if make
13372 maybe-check-make: check-make
13374 check-make:
13375 @r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377 $(SET_LIB_PATH) \
13378 $(HOST_EXPORTS) \
13379 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13381 @endif make
13383 .PHONY: install-make maybe-install-make
13384 maybe-install-make:
13385 @if make
13386 maybe-install-make: install-make
13388 install-make: installdirs
13389 @r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13391 $(SET_LIB_PATH) \
13392 $(HOST_EXPORTS) \
13393 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13395 @endif make
13397 # Other targets (info, dvi, etc.)
13399 .PHONY: maybe-info-make info-make
13400 maybe-info-make:
13401 @if make
13402 maybe-info-make: info-make
13404 info-make: \
13405 configure-make
13406 @[ -f ./make/Makefile ] || exit 0; \
13407 r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13409 $(SET_LIB_PATH) \
13410 $(HOST_EXPORTS) \
13411 for flag in $(EXTRA_HOST_FLAGS); do \
13412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 done; \
13414 echo "Doing info in make" ; \
13415 (cd make && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13418 "RANLIB=$${RANLIB}" \
13419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13420 info) \
13421 || exit 1
13423 @endif make
13425 .PHONY: maybe-dvi-make dvi-make
13426 maybe-dvi-make:
13427 @if make
13428 maybe-dvi-make: dvi-make
13430 dvi-make: \
13431 configure-make
13432 @[ -f ./make/Makefile ] || exit 0; \
13433 r=`${PWD_COMMAND}`; export r; \
13434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13435 $(SET_LIB_PATH) \
13436 $(HOST_EXPORTS) \
13437 for flag in $(EXTRA_HOST_FLAGS); do \
13438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13439 done; \
13440 echo "Doing dvi in make" ; \
13441 (cd make && \
13442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13444 "RANLIB=$${RANLIB}" \
13445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13446 dvi) \
13447 || exit 1
13449 @endif make
13451 .PHONY: maybe-TAGS-make TAGS-make
13452 maybe-TAGS-make:
13453 @if make
13454 maybe-TAGS-make: TAGS-make
13456 TAGS-make: \
13457 configure-make
13458 @[ -f ./make/Makefile ] || exit 0; \
13459 r=`${PWD_COMMAND}`; export r; \
13460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13461 $(SET_LIB_PATH) \
13462 $(HOST_EXPORTS) \
13463 for flag in $(EXTRA_HOST_FLAGS); do \
13464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13465 done; \
13466 echo "Doing TAGS in make" ; \
13467 (cd make && \
13468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13470 "RANLIB=$${RANLIB}" \
13471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13472 TAGS) \
13473 || exit 1
13475 @endif make
13477 .PHONY: maybe-install-info-make install-info-make
13478 maybe-install-info-make:
13479 @if make
13480 maybe-install-info-make: install-info-make
13482 install-info-make: \
13483 configure-make \
13484 info-make
13485 @[ -f ./make/Makefile ] || exit 0; \
13486 r=`${PWD_COMMAND}`; export r; \
13487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13488 $(SET_LIB_PATH) \
13489 $(HOST_EXPORTS) \
13490 for flag in $(EXTRA_HOST_FLAGS); do \
13491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13492 done; \
13493 echo "Doing install-info in make" ; \
13494 (cd make && \
13495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13497 "RANLIB=$${RANLIB}" \
13498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13499 install-info) \
13500 || exit 1
13502 @endif make
13504 .PHONY: maybe-installcheck-make installcheck-make
13505 maybe-installcheck-make:
13506 @if make
13507 maybe-installcheck-make: installcheck-make
13509 installcheck-make: \
13510 configure-make
13511 @[ -f ./make/Makefile ] || exit 0; \
13512 r=`${PWD_COMMAND}`; export r; \
13513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13514 $(SET_LIB_PATH) \
13515 $(HOST_EXPORTS) \
13516 for flag in $(EXTRA_HOST_FLAGS); do \
13517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13518 done; \
13519 echo "Doing installcheck in make" ; \
13520 (cd make && \
13521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13523 "RANLIB=$${RANLIB}" \
13524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13525 installcheck) \
13526 || exit 1
13528 @endif make
13530 .PHONY: maybe-mostlyclean-make mostlyclean-make
13531 maybe-mostlyclean-make:
13532 @if make
13533 maybe-mostlyclean-make: mostlyclean-make
13535 mostlyclean-make:
13536 @[ -f ./make/Makefile ] || exit 0; \
13537 r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(SET_LIB_PATH) \
13540 $(HOST_EXPORTS) \
13541 for flag in $(EXTRA_HOST_FLAGS); do \
13542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13543 done; \
13544 echo "Doing mostlyclean in make" ; \
13545 (cd make && \
13546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13548 "RANLIB=$${RANLIB}" \
13549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13550 mostlyclean) \
13551 || exit 1
13553 @endif make
13555 .PHONY: maybe-clean-make clean-make
13556 maybe-clean-make:
13557 @if make
13558 maybe-clean-make: clean-make
13560 clean-make:
13561 @[ -f ./make/Makefile ] || exit 0; \
13562 r=`${PWD_COMMAND}`; export r; \
13563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13564 $(SET_LIB_PATH) \
13565 $(HOST_EXPORTS) \
13566 for flag in $(EXTRA_HOST_FLAGS); do \
13567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13568 done; \
13569 echo "Doing clean in make" ; \
13570 (cd make && \
13571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13573 "RANLIB=$${RANLIB}" \
13574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13575 clean) \
13576 || exit 1
13578 @endif make
13580 .PHONY: maybe-distclean-make distclean-make
13581 maybe-distclean-make:
13582 @if make
13583 maybe-distclean-make: distclean-make
13585 distclean-make:
13586 @[ -f ./make/Makefile ] || exit 0; \
13587 r=`${PWD_COMMAND}`; export r; \
13588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13589 $(SET_LIB_PATH) \
13590 $(HOST_EXPORTS) \
13591 for flag in $(EXTRA_HOST_FLAGS); do \
13592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13593 done; \
13594 echo "Doing distclean in make" ; \
13595 (cd make && \
13596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13598 "RANLIB=$${RANLIB}" \
13599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13600 distclean) \
13601 || exit 1
13603 @endif make
13605 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13606 maybe-maintainer-clean-make:
13607 @if make
13608 maybe-maintainer-clean-make: maintainer-clean-make
13610 maintainer-clean-make:
13611 @[ -f ./make/Makefile ] || exit 0; \
13612 r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 $(SET_LIB_PATH) \
13615 $(HOST_EXPORTS) \
13616 for flag in $(EXTRA_HOST_FLAGS); do \
13617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13618 done; \
13619 echo "Doing maintainer-clean in make" ; \
13620 (cd make && \
13621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13623 "RANLIB=$${RANLIB}" \
13624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13625 maintainer-clean) \
13626 || exit 1
13628 @endif make
13631 .PHONY: configure-mmalloc maybe-configure-mmalloc
13632 maybe-configure-mmalloc:
13633 @if mmalloc
13634 maybe-configure-mmalloc: configure-mmalloc
13635 configure-mmalloc:
13636 @test ! -f mmalloc/Makefile || exit 0; \
13637 [ -d mmalloc ] || mkdir mmalloc; \
13638 r=`${PWD_COMMAND}`; export r; \
13639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13640 $(HOST_EXPORTS) \
13641 echo Configuring in mmalloc; \
13642 cd mmalloc || exit 1; \
13643 case $(srcdir) in \
13644 \.) \
13645 srcdiroption="--srcdir=."; \
13646 libsrcdir=".";; \
13647 /* | [A-Za-z]:[\\/]*) \
13648 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13649 libsrcdir="$$s/mmalloc";; \
13650 *) \
13651 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13652 libsrcdir="$$s/mmalloc";; \
13653 esac; \
13654 $(SHELL) $${libsrcdir}/configure \
13655 $(HOST_CONFIGARGS) $${srcdiroption} \
13656 || exit 1
13657 @endif mmalloc
13659 .PHONY: all-mmalloc maybe-all-mmalloc
13660 maybe-all-mmalloc:
13661 @if mmalloc
13662 maybe-all-mmalloc: all-mmalloc
13663 all-mmalloc: configure-mmalloc
13664 @r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13666 $(SET_LIB_PATH) \
13667 $(HOST_EXPORTS) \
13668 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
13669 @endif mmalloc
13671 .PHONY: check-mmalloc maybe-check-mmalloc
13672 maybe-check-mmalloc:
13673 @if mmalloc
13674 maybe-check-mmalloc: check-mmalloc
13676 check-mmalloc:
13678 @endif mmalloc
13680 .PHONY: install-mmalloc maybe-install-mmalloc
13681 maybe-install-mmalloc:
13682 @if mmalloc
13683 maybe-install-mmalloc: install-mmalloc
13685 install-mmalloc: installdirs
13686 @r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 $(SET_LIB_PATH) \
13689 $(HOST_EXPORTS) \
13690 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
13692 @endif mmalloc
13694 # Other targets (info, dvi, etc.)
13696 .PHONY: maybe-info-mmalloc info-mmalloc
13697 maybe-info-mmalloc:
13698 @if mmalloc
13699 maybe-info-mmalloc: info-mmalloc
13701 info-mmalloc: \
13702 configure-mmalloc
13703 @[ -f ./mmalloc/Makefile ] || exit 0; \
13704 r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 $(SET_LIB_PATH) \
13707 $(HOST_EXPORTS) \
13708 for flag in $(EXTRA_HOST_FLAGS); do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 done; \
13711 echo "Doing info in mmalloc" ; \
13712 (cd mmalloc && \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13717 info) \
13718 || exit 1
13720 @endif mmalloc
13722 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
13723 maybe-dvi-mmalloc:
13724 @if mmalloc
13725 maybe-dvi-mmalloc: dvi-mmalloc
13727 dvi-mmalloc: \
13728 configure-mmalloc
13729 @[ -f ./mmalloc/Makefile ] || exit 0; \
13730 r=`${PWD_COMMAND}`; export r; \
13731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 $(SET_LIB_PATH) \
13733 $(HOST_EXPORTS) \
13734 for flag in $(EXTRA_HOST_FLAGS); do \
13735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13736 done; \
13737 echo "Doing dvi in mmalloc" ; \
13738 (cd mmalloc && \
13739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13741 "RANLIB=$${RANLIB}" \
13742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13743 dvi) \
13744 || exit 1
13746 @endif mmalloc
13748 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
13749 maybe-TAGS-mmalloc:
13750 @if mmalloc
13751 maybe-TAGS-mmalloc: TAGS-mmalloc
13753 TAGS-mmalloc: \
13754 configure-mmalloc
13755 @[ -f ./mmalloc/Makefile ] || exit 0; \
13756 r=`${PWD_COMMAND}`; export r; \
13757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13758 $(SET_LIB_PATH) \
13759 $(HOST_EXPORTS) \
13760 for flag in $(EXTRA_HOST_FLAGS); do \
13761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13762 done; \
13763 echo "Doing TAGS in mmalloc" ; \
13764 (cd mmalloc && \
13765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13767 "RANLIB=$${RANLIB}" \
13768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13769 TAGS) \
13770 || exit 1
13772 @endif mmalloc
13774 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
13775 maybe-install-info-mmalloc:
13776 @if mmalloc
13777 maybe-install-info-mmalloc: install-info-mmalloc
13779 install-info-mmalloc: \
13780 configure-mmalloc \
13781 info-mmalloc
13782 @[ -f ./mmalloc/Makefile ] || exit 0; \
13783 r=`${PWD_COMMAND}`; export r; \
13784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 $(SET_LIB_PATH) \
13786 $(HOST_EXPORTS) \
13787 for flag in $(EXTRA_HOST_FLAGS); do \
13788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13789 done; \
13790 echo "Doing install-info in mmalloc" ; \
13791 (cd mmalloc && \
13792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13794 "RANLIB=$${RANLIB}" \
13795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13796 install-info) \
13797 || exit 1
13799 @endif mmalloc
13801 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
13802 maybe-installcheck-mmalloc:
13803 @if mmalloc
13804 maybe-installcheck-mmalloc: installcheck-mmalloc
13806 installcheck-mmalloc: \
13807 configure-mmalloc
13808 @[ -f ./mmalloc/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(SET_LIB_PATH) \
13812 $(HOST_EXPORTS) \
13813 for flag in $(EXTRA_HOST_FLAGS); do \
13814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 done; \
13816 echo "Doing installcheck in mmalloc" ; \
13817 (cd mmalloc && \
13818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13820 "RANLIB=$${RANLIB}" \
13821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13822 installcheck) \
13823 || exit 1
13825 @endif mmalloc
13827 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
13828 maybe-mostlyclean-mmalloc:
13829 @if mmalloc
13830 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
13832 mostlyclean-mmalloc:
13833 @[ -f ./mmalloc/Makefile ] || exit 0; \
13834 r=`${PWD_COMMAND}`; export r; \
13835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13836 $(SET_LIB_PATH) \
13837 $(HOST_EXPORTS) \
13838 for flag in $(EXTRA_HOST_FLAGS); do \
13839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13840 done; \
13841 echo "Doing mostlyclean in mmalloc" ; \
13842 (cd mmalloc && \
13843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13845 "RANLIB=$${RANLIB}" \
13846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 mostlyclean) \
13848 || exit 1
13850 @endif mmalloc
13852 .PHONY: maybe-clean-mmalloc clean-mmalloc
13853 maybe-clean-mmalloc:
13854 @if mmalloc
13855 maybe-clean-mmalloc: clean-mmalloc
13857 clean-mmalloc:
13858 @[ -f ./mmalloc/Makefile ] || exit 0; \
13859 r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 $(SET_LIB_PATH) \
13862 $(HOST_EXPORTS) \
13863 for flag in $(EXTRA_HOST_FLAGS); do \
13864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13865 done; \
13866 echo "Doing clean in mmalloc" ; \
13867 (cd mmalloc && \
13868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13870 "RANLIB=$${RANLIB}" \
13871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13872 clean) \
13873 || exit 1
13875 @endif mmalloc
13877 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
13878 maybe-distclean-mmalloc:
13879 @if mmalloc
13880 maybe-distclean-mmalloc: distclean-mmalloc
13882 distclean-mmalloc:
13883 @[ -f ./mmalloc/Makefile ] || exit 0; \
13884 r=`${PWD_COMMAND}`; export r; \
13885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13886 $(SET_LIB_PATH) \
13887 $(HOST_EXPORTS) \
13888 for flag in $(EXTRA_HOST_FLAGS); do \
13889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13890 done; \
13891 echo "Doing distclean in mmalloc" ; \
13892 (cd mmalloc && \
13893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13895 "RANLIB=$${RANLIB}" \
13896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13897 distclean) \
13898 || exit 1
13900 @endif mmalloc
13902 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
13903 maybe-maintainer-clean-mmalloc:
13904 @if mmalloc
13905 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
13907 maintainer-clean-mmalloc:
13908 @[ -f ./mmalloc/Makefile ] || exit 0; \
13909 r=`${PWD_COMMAND}`; export r; \
13910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13911 $(SET_LIB_PATH) \
13912 $(HOST_EXPORTS) \
13913 for flag in $(EXTRA_HOST_FLAGS); do \
13914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13915 done; \
13916 echo "Doing maintainer-clean in mmalloc" ; \
13917 (cd mmalloc && \
13918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13920 "RANLIB=$${RANLIB}" \
13921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13922 maintainer-clean) \
13923 || exit 1
13925 @endif mmalloc
13928 .PHONY: configure-patch maybe-configure-patch
13929 maybe-configure-patch:
13930 @if patch
13931 maybe-configure-patch: configure-patch
13932 configure-patch:
13933 @test ! -f patch/Makefile || exit 0; \
13934 [ -d patch ] || mkdir patch; \
13935 r=`${PWD_COMMAND}`; export r; \
13936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13937 $(HOST_EXPORTS) \
13938 echo Configuring in patch; \
13939 cd patch || exit 1; \
13940 case $(srcdir) in \
13941 \.) \
13942 srcdiroption="--srcdir=."; \
13943 libsrcdir=".";; \
13944 /* | [A-Za-z]:[\\/]*) \
13945 srcdiroption="--srcdir=$(srcdir)/patch"; \
13946 libsrcdir="$$s/patch";; \
13947 *) \
13948 srcdiroption="--srcdir=../$(srcdir)/patch"; \
13949 libsrcdir="$$s/patch";; \
13950 esac; \
13951 $(SHELL) $${libsrcdir}/configure \
13952 $(HOST_CONFIGARGS) $${srcdiroption} \
13953 || exit 1
13954 @endif patch
13956 .PHONY: all-patch maybe-all-patch
13957 maybe-all-patch:
13958 @if patch
13959 maybe-all-patch: all-patch
13960 all-patch: configure-patch
13961 @r=`${PWD_COMMAND}`; export r; \
13962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13963 $(SET_LIB_PATH) \
13964 $(HOST_EXPORTS) \
13965 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
13966 @endif patch
13968 .PHONY: check-patch maybe-check-patch
13969 maybe-check-patch:
13970 @if patch
13971 maybe-check-patch: check-patch
13973 check-patch:
13974 @r=`${PWD_COMMAND}`; export r; \
13975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 $(SET_LIB_PATH) \
13977 $(HOST_EXPORTS) \
13978 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
13980 @endif patch
13982 .PHONY: install-patch maybe-install-patch
13983 maybe-install-patch:
13984 @if patch
13985 maybe-install-patch: install-patch
13987 install-patch: installdirs
13988 @r=`${PWD_COMMAND}`; export r; \
13989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13990 $(SET_LIB_PATH) \
13991 $(HOST_EXPORTS) \
13992 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
13994 @endif patch
13996 # Other targets (info, dvi, etc.)
13998 .PHONY: maybe-info-patch info-patch
13999 maybe-info-patch:
14000 @if patch
14001 maybe-info-patch: info-patch
14003 info-patch: \
14004 configure-patch
14005 @[ -f ./patch/Makefile ] || exit 0; \
14006 r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 $(SET_LIB_PATH) \
14009 $(HOST_EXPORTS) \
14010 for flag in $(EXTRA_HOST_FLAGS); do \
14011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14012 done; \
14013 echo "Doing info in patch" ; \
14014 (cd patch && \
14015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14017 "RANLIB=$${RANLIB}" \
14018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14019 info) \
14020 || exit 1
14022 @endif patch
14024 .PHONY: maybe-dvi-patch dvi-patch
14025 maybe-dvi-patch:
14026 @if patch
14027 maybe-dvi-patch: dvi-patch
14029 dvi-patch: \
14030 configure-patch
14031 @[ -f ./patch/Makefile ] || exit 0; \
14032 r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 $(SET_LIB_PATH) \
14035 $(HOST_EXPORTS) \
14036 for flag in $(EXTRA_HOST_FLAGS); do \
14037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14038 done; \
14039 echo "Doing dvi in patch" ; \
14040 (cd patch && \
14041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14043 "RANLIB=$${RANLIB}" \
14044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14045 dvi) \
14046 || exit 1
14048 @endif patch
14050 .PHONY: maybe-TAGS-patch TAGS-patch
14051 maybe-TAGS-patch:
14052 @if patch
14053 maybe-TAGS-patch: TAGS-patch
14055 TAGS-patch: \
14056 configure-patch
14057 @[ -f ./patch/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(SET_LIB_PATH) \
14061 $(HOST_EXPORTS) \
14062 for flag in $(EXTRA_HOST_FLAGS); do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064 done; \
14065 echo "Doing TAGS in patch" ; \
14066 (cd patch && \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14071 TAGS) \
14072 || exit 1
14074 @endif patch
14076 .PHONY: maybe-install-info-patch install-info-patch
14077 maybe-install-info-patch:
14078 @if patch
14079 maybe-install-info-patch: install-info-patch
14081 install-info-patch: \
14082 configure-patch \
14083 info-patch
14084 @[ -f ./patch/Makefile ] || exit 0; \
14085 r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 $(SET_LIB_PATH) \
14088 $(HOST_EXPORTS) \
14089 for flag in $(EXTRA_HOST_FLAGS); do \
14090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14091 done; \
14092 echo "Doing install-info in patch" ; \
14093 (cd patch && \
14094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14096 "RANLIB=$${RANLIB}" \
14097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14098 install-info) \
14099 || exit 1
14101 @endif patch
14103 .PHONY: maybe-installcheck-patch installcheck-patch
14104 maybe-installcheck-patch:
14105 @if patch
14106 maybe-installcheck-patch: installcheck-patch
14108 installcheck-patch: \
14109 configure-patch
14110 @[ -f ./patch/Makefile ] || exit 0; \
14111 r=`${PWD_COMMAND}`; export r; \
14112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14113 $(SET_LIB_PATH) \
14114 $(HOST_EXPORTS) \
14115 for flag in $(EXTRA_HOST_FLAGS); do \
14116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14117 done; \
14118 echo "Doing installcheck in patch" ; \
14119 (cd patch && \
14120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14122 "RANLIB=$${RANLIB}" \
14123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14124 installcheck) \
14125 || exit 1
14127 @endif patch
14129 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14130 maybe-mostlyclean-patch:
14131 @if patch
14132 maybe-mostlyclean-patch: mostlyclean-patch
14134 mostlyclean-patch:
14135 @[ -f ./patch/Makefile ] || exit 0; \
14136 r=`${PWD_COMMAND}`; export r; \
14137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 $(SET_LIB_PATH) \
14139 $(HOST_EXPORTS) \
14140 for flag in $(EXTRA_HOST_FLAGS); do \
14141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14142 done; \
14143 echo "Doing mostlyclean in patch" ; \
14144 (cd patch && \
14145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14147 "RANLIB=$${RANLIB}" \
14148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14149 mostlyclean) \
14150 || exit 1
14152 @endif patch
14154 .PHONY: maybe-clean-patch clean-patch
14155 maybe-clean-patch:
14156 @if patch
14157 maybe-clean-patch: clean-patch
14159 clean-patch:
14160 @[ -f ./patch/Makefile ] || exit 0; \
14161 r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(SET_LIB_PATH) \
14164 $(HOST_EXPORTS) \
14165 for flag in $(EXTRA_HOST_FLAGS); do \
14166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14167 done; \
14168 echo "Doing clean in patch" ; \
14169 (cd patch && \
14170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14172 "RANLIB=$${RANLIB}" \
14173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14174 clean) \
14175 || exit 1
14177 @endif patch
14179 .PHONY: maybe-distclean-patch distclean-patch
14180 maybe-distclean-patch:
14181 @if patch
14182 maybe-distclean-patch: distclean-patch
14184 distclean-patch:
14185 @[ -f ./patch/Makefile ] || exit 0; \
14186 r=`${PWD_COMMAND}`; export r; \
14187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14188 $(SET_LIB_PATH) \
14189 $(HOST_EXPORTS) \
14190 for flag in $(EXTRA_HOST_FLAGS); do \
14191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14192 done; \
14193 echo "Doing distclean in patch" ; \
14194 (cd patch && \
14195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14197 "RANLIB=$${RANLIB}" \
14198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14199 distclean) \
14200 || exit 1
14202 @endif patch
14204 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14205 maybe-maintainer-clean-patch:
14206 @if patch
14207 maybe-maintainer-clean-patch: maintainer-clean-patch
14209 maintainer-clean-patch:
14210 @[ -f ./patch/Makefile ] || exit 0; \
14211 r=`${PWD_COMMAND}`; export r; \
14212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 $(SET_LIB_PATH) \
14214 $(HOST_EXPORTS) \
14215 for flag in $(EXTRA_HOST_FLAGS); do \
14216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14217 done; \
14218 echo "Doing maintainer-clean in patch" ; \
14219 (cd patch && \
14220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14222 "RANLIB=$${RANLIB}" \
14223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14224 maintainer-clean) \
14225 || exit 1
14227 @endif patch
14230 .PHONY: configure-perl maybe-configure-perl
14231 maybe-configure-perl:
14232 @if perl
14233 maybe-configure-perl: configure-perl
14234 configure-perl:
14235 @test ! -f perl/Makefile || exit 0; \
14236 [ -d perl ] || mkdir perl; \
14237 r=`${PWD_COMMAND}`; export r; \
14238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14239 $(HOST_EXPORTS) \
14240 echo Configuring in perl; \
14241 cd perl || exit 1; \
14242 case $(srcdir) in \
14243 \.) \
14244 srcdiroption="--srcdir=."; \
14245 libsrcdir=".";; \
14246 /* | [A-Za-z]:[\\/]*) \
14247 srcdiroption="--srcdir=$(srcdir)/perl"; \
14248 libsrcdir="$$s/perl";; \
14249 *) \
14250 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14251 libsrcdir="$$s/perl";; \
14252 esac; \
14253 $(SHELL) $${libsrcdir}/configure \
14254 $(HOST_CONFIGARGS) $${srcdiroption} \
14255 || exit 1
14256 @endif perl
14258 .PHONY: all-perl maybe-all-perl
14259 maybe-all-perl:
14260 @if perl
14261 maybe-all-perl: all-perl
14262 all-perl: configure-perl
14263 @r=`${PWD_COMMAND}`; export r; \
14264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14265 $(SET_LIB_PATH) \
14266 $(HOST_EXPORTS) \
14267 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14268 @endif perl
14270 .PHONY: check-perl maybe-check-perl
14271 maybe-check-perl:
14272 @if perl
14273 maybe-check-perl: check-perl
14275 check-perl:
14276 @r=`${PWD_COMMAND}`; export r; \
14277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14278 $(SET_LIB_PATH) \
14279 $(HOST_EXPORTS) \
14280 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14282 @endif perl
14284 .PHONY: install-perl maybe-install-perl
14285 maybe-install-perl:
14286 @if perl
14287 maybe-install-perl: install-perl
14289 install-perl: installdirs
14290 @r=`${PWD_COMMAND}`; export r; \
14291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14292 $(SET_LIB_PATH) \
14293 $(HOST_EXPORTS) \
14294 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14296 @endif perl
14298 # Other targets (info, dvi, etc.)
14300 .PHONY: maybe-info-perl info-perl
14301 maybe-info-perl:
14302 @if perl
14303 maybe-info-perl: info-perl
14305 info-perl: \
14306 configure-perl
14307 @[ -f ./perl/Makefile ] || exit 0; \
14308 r=`${PWD_COMMAND}`; export r; \
14309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14310 $(SET_LIB_PATH) \
14311 $(HOST_EXPORTS) \
14312 for flag in $(EXTRA_HOST_FLAGS); do \
14313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14314 done; \
14315 echo "Doing info in perl" ; \
14316 (cd perl && \
14317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14319 "RANLIB=$${RANLIB}" \
14320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14321 info) \
14322 || exit 1
14324 @endif perl
14326 .PHONY: maybe-dvi-perl dvi-perl
14327 maybe-dvi-perl:
14328 @if perl
14329 maybe-dvi-perl: dvi-perl
14331 dvi-perl: \
14332 configure-perl
14333 @[ -f ./perl/Makefile ] || exit 0; \
14334 r=`${PWD_COMMAND}`; export r; \
14335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14336 $(SET_LIB_PATH) \
14337 $(HOST_EXPORTS) \
14338 for flag in $(EXTRA_HOST_FLAGS); do \
14339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14340 done; \
14341 echo "Doing dvi in perl" ; \
14342 (cd perl && \
14343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14345 "RANLIB=$${RANLIB}" \
14346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14347 dvi) \
14348 || exit 1
14350 @endif perl
14352 .PHONY: maybe-TAGS-perl TAGS-perl
14353 maybe-TAGS-perl:
14354 @if perl
14355 maybe-TAGS-perl: TAGS-perl
14357 TAGS-perl: \
14358 configure-perl
14359 @[ -f ./perl/Makefile ] || exit 0; \
14360 r=`${PWD_COMMAND}`; export r; \
14361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14362 $(SET_LIB_PATH) \
14363 $(HOST_EXPORTS) \
14364 for flag in $(EXTRA_HOST_FLAGS); do \
14365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14366 done; \
14367 echo "Doing TAGS in perl" ; \
14368 (cd perl && \
14369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14371 "RANLIB=$${RANLIB}" \
14372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14373 TAGS) \
14374 || exit 1
14376 @endif perl
14378 .PHONY: maybe-install-info-perl install-info-perl
14379 maybe-install-info-perl:
14380 @if perl
14381 maybe-install-info-perl: install-info-perl
14383 install-info-perl: \
14384 configure-perl \
14385 info-perl
14386 @[ -f ./perl/Makefile ] || exit 0; \
14387 r=`${PWD_COMMAND}`; export r; \
14388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14389 $(SET_LIB_PATH) \
14390 $(HOST_EXPORTS) \
14391 for flag in $(EXTRA_HOST_FLAGS); do \
14392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14393 done; \
14394 echo "Doing install-info in perl" ; \
14395 (cd perl && \
14396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14398 "RANLIB=$${RANLIB}" \
14399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14400 install-info) \
14401 || exit 1
14403 @endif perl
14405 .PHONY: maybe-installcheck-perl installcheck-perl
14406 maybe-installcheck-perl:
14407 @if perl
14408 maybe-installcheck-perl: installcheck-perl
14410 installcheck-perl: \
14411 configure-perl
14412 @[ -f ./perl/Makefile ] || exit 0; \
14413 r=`${PWD_COMMAND}`; export r; \
14414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14415 $(SET_LIB_PATH) \
14416 $(HOST_EXPORTS) \
14417 for flag in $(EXTRA_HOST_FLAGS); do \
14418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14419 done; \
14420 echo "Doing installcheck in perl" ; \
14421 (cd perl && \
14422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14424 "RANLIB=$${RANLIB}" \
14425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14426 installcheck) \
14427 || exit 1
14429 @endif perl
14431 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14432 maybe-mostlyclean-perl:
14433 @if perl
14434 maybe-mostlyclean-perl: mostlyclean-perl
14436 mostlyclean-perl:
14437 @[ -f ./perl/Makefile ] || exit 0; \
14438 r=`${PWD_COMMAND}`; export r; \
14439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14440 $(SET_LIB_PATH) \
14441 $(HOST_EXPORTS) \
14442 for flag in $(EXTRA_HOST_FLAGS); do \
14443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14444 done; \
14445 echo "Doing mostlyclean in perl" ; \
14446 (cd perl && \
14447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14449 "RANLIB=$${RANLIB}" \
14450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14451 mostlyclean) \
14452 || exit 1
14454 @endif perl
14456 .PHONY: maybe-clean-perl clean-perl
14457 maybe-clean-perl:
14458 @if perl
14459 maybe-clean-perl: clean-perl
14461 clean-perl:
14462 @[ -f ./perl/Makefile ] || exit 0; \
14463 r=`${PWD_COMMAND}`; export r; \
14464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14465 $(SET_LIB_PATH) \
14466 $(HOST_EXPORTS) \
14467 for flag in $(EXTRA_HOST_FLAGS); do \
14468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14469 done; \
14470 echo "Doing clean in perl" ; \
14471 (cd perl && \
14472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14474 "RANLIB=$${RANLIB}" \
14475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14476 clean) \
14477 || exit 1
14479 @endif perl
14481 .PHONY: maybe-distclean-perl distclean-perl
14482 maybe-distclean-perl:
14483 @if perl
14484 maybe-distclean-perl: distclean-perl
14486 distclean-perl:
14487 @[ -f ./perl/Makefile ] || exit 0; \
14488 r=`${PWD_COMMAND}`; export r; \
14489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14490 $(SET_LIB_PATH) \
14491 $(HOST_EXPORTS) \
14492 for flag in $(EXTRA_HOST_FLAGS); do \
14493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14494 done; \
14495 echo "Doing distclean in perl" ; \
14496 (cd perl && \
14497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14499 "RANLIB=$${RANLIB}" \
14500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14501 distclean) \
14502 || exit 1
14504 @endif perl
14506 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14507 maybe-maintainer-clean-perl:
14508 @if perl
14509 maybe-maintainer-clean-perl: maintainer-clean-perl
14511 maintainer-clean-perl:
14512 @[ -f ./perl/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14515 $(SET_LIB_PATH) \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS); do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing maintainer-clean in perl" ; \
14521 (cd perl && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 maintainer-clean) \
14527 || exit 1
14529 @endif perl
14532 .PHONY: configure-prms maybe-configure-prms
14533 maybe-configure-prms:
14534 @if prms
14535 maybe-configure-prms: configure-prms
14536 configure-prms:
14537 @test ! -f prms/Makefile || exit 0; \
14538 [ -d prms ] || mkdir prms; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14541 $(HOST_EXPORTS) \
14542 echo Configuring in prms; \
14543 cd prms || exit 1; \
14544 case $(srcdir) in \
14545 \.) \
14546 srcdiroption="--srcdir=."; \
14547 libsrcdir=".";; \
14548 /* | [A-Za-z]:[\\/]*) \
14549 srcdiroption="--srcdir=$(srcdir)/prms"; \
14550 libsrcdir="$$s/prms";; \
14551 *) \
14552 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14553 libsrcdir="$$s/prms";; \
14554 esac; \
14555 $(SHELL) $${libsrcdir}/configure \
14556 $(HOST_CONFIGARGS) $${srcdiroption} \
14557 || exit 1
14558 @endif prms
14560 .PHONY: all-prms maybe-all-prms
14561 maybe-all-prms:
14562 @if prms
14563 maybe-all-prms: all-prms
14564 all-prms: configure-prms
14565 @r=`${PWD_COMMAND}`; export r; \
14566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14567 $(SET_LIB_PATH) \
14568 $(HOST_EXPORTS) \
14569 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14570 @endif prms
14572 .PHONY: check-prms maybe-check-prms
14573 maybe-check-prms:
14574 @if prms
14575 maybe-check-prms: check-prms
14577 check-prms:
14578 @r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(SET_LIB_PATH) \
14581 $(HOST_EXPORTS) \
14582 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14584 @endif prms
14586 .PHONY: install-prms maybe-install-prms
14587 maybe-install-prms:
14588 @if prms
14589 maybe-install-prms: install-prms
14591 install-prms: installdirs
14592 @r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(SET_LIB_PATH) \
14595 $(HOST_EXPORTS) \
14596 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14598 @endif prms
14600 # Other targets (info, dvi, etc.)
14602 .PHONY: maybe-info-prms info-prms
14603 maybe-info-prms:
14604 @if prms
14605 maybe-info-prms: info-prms
14607 info-prms: \
14608 configure-prms
14609 @[ -f ./prms/Makefile ] || exit 0; \
14610 r=`${PWD_COMMAND}`; export r; \
14611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14612 $(SET_LIB_PATH) \
14613 $(HOST_EXPORTS) \
14614 for flag in $(EXTRA_HOST_FLAGS); do \
14615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14616 done; \
14617 echo "Doing info in prms" ; \
14618 (cd prms && \
14619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14621 "RANLIB=$${RANLIB}" \
14622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14623 info) \
14624 || exit 1
14626 @endif prms
14628 .PHONY: maybe-dvi-prms dvi-prms
14629 maybe-dvi-prms:
14630 @if prms
14631 maybe-dvi-prms: dvi-prms
14633 dvi-prms: \
14634 configure-prms
14635 @[ -f ./prms/Makefile ] || exit 0; \
14636 r=`${PWD_COMMAND}`; export r; \
14637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638 $(SET_LIB_PATH) \
14639 $(HOST_EXPORTS) \
14640 for flag in $(EXTRA_HOST_FLAGS); do \
14641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14642 done; \
14643 echo "Doing dvi in prms" ; \
14644 (cd prms && \
14645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14647 "RANLIB=$${RANLIB}" \
14648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14649 dvi) \
14650 || exit 1
14652 @endif prms
14654 .PHONY: maybe-TAGS-prms TAGS-prms
14655 maybe-TAGS-prms:
14656 @if prms
14657 maybe-TAGS-prms: TAGS-prms
14659 TAGS-prms: \
14660 configure-prms
14661 @[ -f ./prms/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 TAGS in prms" ; \
14670 (cd prms && \
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 TAGS) \
14676 || exit 1
14678 @endif prms
14680 .PHONY: maybe-install-info-prms install-info-prms
14681 maybe-install-info-prms:
14682 @if prms
14683 maybe-install-info-prms: install-info-prms
14685 install-info-prms: \
14686 configure-prms \
14687 info-prms
14688 @[ -f ./prms/Makefile ] || exit 0; \
14689 r=`${PWD_COMMAND}`; export r; \
14690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14691 $(SET_LIB_PATH) \
14692 $(HOST_EXPORTS) \
14693 for flag in $(EXTRA_HOST_FLAGS); do \
14694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14695 done; \
14696 echo "Doing install-info in prms" ; \
14697 (cd prms && \
14698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14700 "RANLIB=$${RANLIB}" \
14701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14702 install-info) \
14703 || exit 1
14705 @endif prms
14707 .PHONY: maybe-installcheck-prms installcheck-prms
14708 maybe-installcheck-prms:
14709 @if prms
14710 maybe-installcheck-prms: installcheck-prms
14712 installcheck-prms: \
14713 configure-prms
14714 @[ -f ./prms/Makefile ] || exit 0; \
14715 r=`${PWD_COMMAND}`; export r; \
14716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14717 $(SET_LIB_PATH) \
14718 $(HOST_EXPORTS) \
14719 for flag in $(EXTRA_HOST_FLAGS); do \
14720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14721 done; \
14722 echo "Doing installcheck in prms" ; \
14723 (cd prms && \
14724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14726 "RANLIB=$${RANLIB}" \
14727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14728 installcheck) \
14729 || exit 1
14731 @endif prms
14733 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
14734 maybe-mostlyclean-prms:
14735 @if prms
14736 maybe-mostlyclean-prms: mostlyclean-prms
14738 mostlyclean-prms:
14739 @[ -f ./prms/Makefile ] || exit 0; \
14740 r=`${PWD_COMMAND}`; export r; \
14741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14742 $(SET_LIB_PATH) \
14743 $(HOST_EXPORTS) \
14744 for flag in $(EXTRA_HOST_FLAGS); do \
14745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14746 done; \
14747 echo "Doing mostlyclean in prms" ; \
14748 (cd prms && \
14749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14751 "RANLIB=$${RANLIB}" \
14752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14753 mostlyclean) \
14754 || exit 1
14756 @endif prms
14758 .PHONY: maybe-clean-prms clean-prms
14759 maybe-clean-prms:
14760 @if prms
14761 maybe-clean-prms: clean-prms
14763 clean-prms:
14764 @[ -f ./prms/Makefile ] || exit 0; \
14765 r=`${PWD_COMMAND}`; export r; \
14766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14767 $(SET_LIB_PATH) \
14768 $(HOST_EXPORTS) \
14769 for flag in $(EXTRA_HOST_FLAGS); do \
14770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14771 done; \
14772 echo "Doing clean in prms" ; \
14773 (cd prms && \
14774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14776 "RANLIB=$${RANLIB}" \
14777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14778 clean) \
14779 || exit 1
14781 @endif prms
14783 .PHONY: maybe-distclean-prms distclean-prms
14784 maybe-distclean-prms:
14785 @if prms
14786 maybe-distclean-prms: distclean-prms
14788 distclean-prms:
14789 @[ -f ./prms/Makefile ] || exit 0; \
14790 r=`${PWD_COMMAND}`; export r; \
14791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14792 $(SET_LIB_PATH) \
14793 $(HOST_EXPORTS) \
14794 for flag in $(EXTRA_HOST_FLAGS); do \
14795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14796 done; \
14797 echo "Doing distclean in prms" ; \
14798 (cd prms && \
14799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14801 "RANLIB=$${RANLIB}" \
14802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14803 distclean) \
14804 || exit 1
14806 @endif prms
14808 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
14809 maybe-maintainer-clean-prms:
14810 @if prms
14811 maybe-maintainer-clean-prms: maintainer-clean-prms
14813 maintainer-clean-prms:
14814 @[ -f ./prms/Makefile ] || exit 0; \
14815 r=`${PWD_COMMAND}`; export r; \
14816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14817 $(SET_LIB_PATH) \
14818 $(HOST_EXPORTS) \
14819 for flag in $(EXTRA_HOST_FLAGS); do \
14820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14821 done; \
14822 echo "Doing maintainer-clean in prms" ; \
14823 (cd prms && \
14824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14826 "RANLIB=$${RANLIB}" \
14827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14828 maintainer-clean) \
14829 || exit 1
14831 @endif prms
14834 .PHONY: configure-rcs maybe-configure-rcs
14835 maybe-configure-rcs:
14836 @if rcs
14837 maybe-configure-rcs: configure-rcs
14838 configure-rcs:
14839 @test ! -f rcs/Makefile || exit 0; \
14840 [ -d rcs ] || mkdir rcs; \
14841 r=`${PWD_COMMAND}`; export r; \
14842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14843 $(HOST_EXPORTS) \
14844 echo Configuring in rcs; \
14845 cd rcs || exit 1; \
14846 case $(srcdir) in \
14847 \.) \
14848 srcdiroption="--srcdir=."; \
14849 libsrcdir=".";; \
14850 /* | [A-Za-z]:[\\/]*) \
14851 srcdiroption="--srcdir=$(srcdir)/rcs"; \
14852 libsrcdir="$$s/rcs";; \
14853 *) \
14854 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
14855 libsrcdir="$$s/rcs";; \
14856 esac; \
14857 $(SHELL) $${libsrcdir}/configure \
14858 $(HOST_CONFIGARGS) $${srcdiroption} \
14859 || exit 1
14860 @endif rcs
14862 .PHONY: all-rcs maybe-all-rcs
14863 maybe-all-rcs:
14864 @if rcs
14865 maybe-all-rcs: all-rcs
14866 all-rcs: configure-rcs
14867 @r=`${PWD_COMMAND}`; export r; \
14868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14869 $(SET_LIB_PATH) \
14870 $(HOST_EXPORTS) \
14871 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
14872 @endif rcs
14874 .PHONY: check-rcs maybe-check-rcs
14875 maybe-check-rcs:
14876 @if rcs
14877 maybe-check-rcs: check-rcs
14879 check-rcs:
14880 @r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 $(SET_LIB_PATH) \
14883 $(HOST_EXPORTS) \
14884 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
14886 @endif rcs
14888 .PHONY: install-rcs maybe-install-rcs
14889 maybe-install-rcs:
14890 @if rcs
14891 maybe-install-rcs: install-rcs
14893 install-rcs: installdirs
14894 @r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(SET_LIB_PATH) \
14897 $(HOST_EXPORTS) \
14898 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
14900 @endif rcs
14902 # Other targets (info, dvi, etc.)
14904 .PHONY: maybe-info-rcs info-rcs
14905 maybe-info-rcs:
14906 @if rcs
14907 maybe-info-rcs: info-rcs
14909 info-rcs: \
14910 configure-rcs
14911 @[ -f ./rcs/Makefile ] || exit 0; \
14912 r=`${PWD_COMMAND}`; export r; \
14913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14914 $(SET_LIB_PATH) \
14915 $(HOST_EXPORTS) \
14916 for flag in $(EXTRA_HOST_FLAGS); do \
14917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14918 done; \
14919 echo "Doing info in rcs" ; \
14920 (cd rcs && \
14921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14923 "RANLIB=$${RANLIB}" \
14924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14925 info) \
14926 || exit 1
14928 @endif rcs
14930 .PHONY: maybe-dvi-rcs dvi-rcs
14931 maybe-dvi-rcs:
14932 @if rcs
14933 maybe-dvi-rcs: dvi-rcs
14935 dvi-rcs: \
14936 configure-rcs
14937 @[ -f ./rcs/Makefile ] || exit 0; \
14938 r=`${PWD_COMMAND}`; export r; \
14939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 $(SET_LIB_PATH) \
14941 $(HOST_EXPORTS) \
14942 for flag in $(EXTRA_HOST_FLAGS); do \
14943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14944 done; \
14945 echo "Doing dvi in rcs" ; \
14946 (cd rcs && \
14947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14949 "RANLIB=$${RANLIB}" \
14950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14951 dvi) \
14952 || exit 1
14954 @endif rcs
14956 .PHONY: maybe-TAGS-rcs TAGS-rcs
14957 maybe-TAGS-rcs:
14958 @if rcs
14959 maybe-TAGS-rcs: TAGS-rcs
14961 TAGS-rcs: \
14962 configure-rcs
14963 @[ -f ./rcs/Makefile ] || exit 0; \
14964 r=`${PWD_COMMAND}`; export r; \
14965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14966 $(SET_LIB_PATH) \
14967 $(HOST_EXPORTS) \
14968 for flag in $(EXTRA_HOST_FLAGS); do \
14969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14970 done; \
14971 echo "Doing TAGS in rcs" ; \
14972 (cd rcs && \
14973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14975 "RANLIB=$${RANLIB}" \
14976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14977 TAGS) \
14978 || exit 1
14980 @endif rcs
14982 .PHONY: maybe-install-info-rcs install-info-rcs
14983 maybe-install-info-rcs:
14984 @if rcs
14985 maybe-install-info-rcs: install-info-rcs
14987 install-info-rcs: \
14988 configure-rcs \
14989 info-rcs
14990 @[ -f ./rcs/Makefile ] || exit 0; \
14991 r=`${PWD_COMMAND}`; export r; \
14992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14993 $(SET_LIB_PATH) \
14994 $(HOST_EXPORTS) \
14995 for flag in $(EXTRA_HOST_FLAGS); do \
14996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14997 done; \
14998 echo "Doing install-info in rcs" ; \
14999 (cd rcs && \
15000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15002 "RANLIB=$${RANLIB}" \
15003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15004 install-info) \
15005 || exit 1
15007 @endif rcs
15009 .PHONY: maybe-installcheck-rcs installcheck-rcs
15010 maybe-installcheck-rcs:
15011 @if rcs
15012 maybe-installcheck-rcs: installcheck-rcs
15014 installcheck-rcs: \
15015 configure-rcs
15016 @[ -f ./rcs/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 installcheck in rcs" ; \
15025 (cd rcs && \
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 installcheck) \
15031 || exit 1
15033 @endif rcs
15035 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15036 maybe-mostlyclean-rcs:
15037 @if rcs
15038 maybe-mostlyclean-rcs: mostlyclean-rcs
15040 mostlyclean-rcs:
15041 @[ -f ./rcs/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 mostlyclean in rcs" ; \
15050 (cd rcs && \
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 mostlyclean) \
15056 || exit 1
15058 @endif rcs
15060 .PHONY: maybe-clean-rcs clean-rcs
15061 maybe-clean-rcs:
15062 @if rcs
15063 maybe-clean-rcs: clean-rcs
15065 clean-rcs:
15066 @[ -f ./rcs/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 clean in rcs" ; \
15075 (cd rcs && \
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 clean) \
15081 || exit 1
15083 @endif rcs
15085 .PHONY: maybe-distclean-rcs distclean-rcs
15086 maybe-distclean-rcs:
15087 @if rcs
15088 maybe-distclean-rcs: distclean-rcs
15090 distclean-rcs:
15091 @[ -f ./rcs/Makefile ] || exit 0; \
15092 r=`${PWD_COMMAND}`; export r; \
15093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15094 $(SET_LIB_PATH) \
15095 $(HOST_EXPORTS) \
15096 for flag in $(EXTRA_HOST_FLAGS); do \
15097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15098 done; \
15099 echo "Doing distclean in rcs" ; \
15100 (cd rcs && \
15101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15103 "RANLIB=$${RANLIB}" \
15104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15105 distclean) \
15106 || exit 1
15108 @endif rcs
15110 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15111 maybe-maintainer-clean-rcs:
15112 @if rcs
15113 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15115 maintainer-clean-rcs:
15116 @[ -f ./rcs/Makefile ] || exit 0; \
15117 r=`${PWD_COMMAND}`; export r; \
15118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15119 $(SET_LIB_PATH) \
15120 $(HOST_EXPORTS) \
15121 for flag in $(EXTRA_HOST_FLAGS); do \
15122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15123 done; \
15124 echo "Doing maintainer-clean in rcs" ; \
15125 (cd rcs && \
15126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15128 "RANLIB=$${RANLIB}" \
15129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15130 maintainer-clean) \
15131 || exit 1
15133 @endif rcs
15136 .PHONY: configure-readline maybe-configure-readline
15137 maybe-configure-readline:
15138 @if readline
15139 maybe-configure-readline: configure-readline
15140 configure-readline:
15141 @test ! -f readline/Makefile || exit 0; \
15142 [ -d readline ] || mkdir readline; \
15143 r=`${PWD_COMMAND}`; export r; \
15144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15145 $(HOST_EXPORTS) \
15146 echo Configuring in readline; \
15147 cd readline || exit 1; \
15148 case $(srcdir) in \
15149 \.) \
15150 srcdiroption="--srcdir=."; \
15151 libsrcdir=".";; \
15152 /* | [A-Za-z]:[\\/]*) \
15153 srcdiroption="--srcdir=$(srcdir)/readline"; \
15154 libsrcdir="$$s/readline";; \
15155 *) \
15156 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15157 libsrcdir="$$s/readline";; \
15158 esac; \
15159 $(SHELL) $${libsrcdir}/configure \
15160 $(HOST_CONFIGARGS) $${srcdiroption} \
15161 || exit 1
15162 @endif readline
15164 .PHONY: all-readline maybe-all-readline
15165 maybe-all-readline:
15166 @if readline
15167 maybe-all-readline: all-readline
15168 all-readline: configure-readline
15169 @r=`${PWD_COMMAND}`; export r; \
15170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15171 $(SET_LIB_PATH) \
15172 $(HOST_EXPORTS) \
15173 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15174 @endif readline
15176 .PHONY: check-readline maybe-check-readline
15177 maybe-check-readline:
15178 @if readline
15179 maybe-check-readline: check-readline
15181 check-readline:
15182 @r=`${PWD_COMMAND}`; export r; \
15183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15184 $(SET_LIB_PATH) \
15185 $(HOST_EXPORTS) \
15186 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15188 @endif readline
15190 .PHONY: install-readline maybe-install-readline
15191 maybe-install-readline:
15192 @if readline
15193 maybe-install-readline: install-readline
15195 install-readline: installdirs
15196 @r=`${PWD_COMMAND}`; export r; \
15197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15198 $(SET_LIB_PATH) \
15199 $(HOST_EXPORTS) \
15200 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15202 @endif readline
15204 # Other targets (info, dvi, etc.)
15206 .PHONY: maybe-info-readline info-readline
15207 maybe-info-readline:
15208 @if readline
15209 maybe-info-readline: info-readline
15211 info-readline: \
15212 configure-readline
15213 @[ -f ./readline/Makefile ] || exit 0; \
15214 r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 $(SET_LIB_PATH) \
15217 $(HOST_EXPORTS) \
15218 for flag in $(EXTRA_HOST_FLAGS); do \
15219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15220 done; \
15221 echo "Doing info in readline" ; \
15222 (cd readline && \
15223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15225 "RANLIB=$${RANLIB}" \
15226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15227 info) \
15228 || exit 1
15230 @endif readline
15232 .PHONY: maybe-dvi-readline dvi-readline
15233 maybe-dvi-readline:
15234 @if readline
15235 maybe-dvi-readline: dvi-readline
15237 dvi-readline: \
15238 configure-readline
15239 @[ -f ./readline/Makefile ] || exit 0; \
15240 r=`${PWD_COMMAND}`; export r; \
15241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15242 $(SET_LIB_PATH) \
15243 $(HOST_EXPORTS) \
15244 for flag in $(EXTRA_HOST_FLAGS); do \
15245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15246 done; \
15247 echo "Doing dvi in readline" ; \
15248 (cd readline && \
15249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15251 "RANLIB=$${RANLIB}" \
15252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15253 dvi) \
15254 || exit 1
15256 @endif readline
15258 .PHONY: maybe-TAGS-readline TAGS-readline
15259 maybe-TAGS-readline:
15260 @if readline
15261 maybe-TAGS-readline: TAGS-readline
15263 TAGS-readline: \
15264 configure-readline
15265 @[ -f ./readline/Makefile ] || exit 0; \
15266 r=`${PWD_COMMAND}`; export r; \
15267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15268 $(SET_LIB_PATH) \
15269 $(HOST_EXPORTS) \
15270 for flag in $(EXTRA_HOST_FLAGS); do \
15271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15272 done; \
15273 echo "Doing TAGS in readline" ; \
15274 (cd readline && \
15275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15277 "RANLIB=$${RANLIB}" \
15278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15279 TAGS) \
15280 || exit 1
15282 @endif readline
15284 .PHONY: maybe-install-info-readline install-info-readline
15285 maybe-install-info-readline:
15286 @if readline
15287 maybe-install-info-readline: install-info-readline
15289 install-info-readline: \
15290 configure-readline \
15291 info-readline
15292 @[ -f ./readline/Makefile ] || exit 0; \
15293 r=`${PWD_COMMAND}`; export r; \
15294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15295 $(SET_LIB_PATH) \
15296 $(HOST_EXPORTS) \
15297 for flag in $(EXTRA_HOST_FLAGS); do \
15298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15299 done; \
15300 echo "Doing install-info in readline" ; \
15301 (cd readline && \
15302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15304 "RANLIB=$${RANLIB}" \
15305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15306 install-info) \
15307 || exit 1
15309 @endif readline
15311 .PHONY: maybe-installcheck-readline installcheck-readline
15312 maybe-installcheck-readline:
15313 @if readline
15314 maybe-installcheck-readline: installcheck-readline
15316 installcheck-readline: \
15317 configure-readline
15318 @[ -f ./readline/Makefile ] || exit 0; \
15319 r=`${PWD_COMMAND}`; export r; \
15320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15321 $(SET_LIB_PATH) \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS); do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing installcheck in readline" ; \
15327 (cd readline && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15332 installcheck) \
15333 || exit 1
15335 @endif readline
15337 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15338 maybe-mostlyclean-readline:
15339 @if readline
15340 maybe-mostlyclean-readline: mostlyclean-readline
15342 mostlyclean-readline:
15343 @[ -f ./readline/Makefile ] || exit 0; \
15344 r=`${PWD_COMMAND}`; export r; \
15345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15346 $(SET_LIB_PATH) \
15347 $(HOST_EXPORTS) \
15348 for flag in $(EXTRA_HOST_FLAGS); do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350 done; \
15351 echo "Doing mostlyclean in readline" ; \
15352 (cd readline && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357 mostlyclean) \
15358 || exit 1
15360 @endif readline
15362 .PHONY: maybe-clean-readline clean-readline
15363 maybe-clean-readline:
15364 @if readline
15365 maybe-clean-readline: clean-readline
15367 clean-readline:
15368 @[ -f ./readline/Makefile ] || exit 0; \
15369 r=`${PWD_COMMAND}`; export r; \
15370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15371 $(SET_LIB_PATH) \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS); do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing clean in readline" ; \
15377 (cd readline && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15382 clean) \
15383 || exit 1
15385 @endif readline
15387 .PHONY: maybe-distclean-readline distclean-readline
15388 maybe-distclean-readline:
15389 @if readline
15390 maybe-distclean-readline: distclean-readline
15392 distclean-readline:
15393 @[ -f ./readline/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(SET_LIB_PATH) \
15397 $(HOST_EXPORTS) \
15398 for flag in $(EXTRA_HOST_FLAGS); do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400 done; \
15401 echo "Doing distclean in readline" ; \
15402 (cd readline && \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407 distclean) \
15408 || exit 1
15410 @endif readline
15412 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15413 maybe-maintainer-clean-readline:
15414 @if readline
15415 maybe-maintainer-clean-readline: maintainer-clean-readline
15417 maintainer-clean-readline:
15418 @[ -f ./readline/Makefile ] || exit 0; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 $(SET_LIB_PATH) \
15422 $(HOST_EXPORTS) \
15423 for flag in $(EXTRA_HOST_FLAGS); do \
15424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15425 done; \
15426 echo "Doing maintainer-clean in readline" ; \
15427 (cd readline && \
15428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15430 "RANLIB=$${RANLIB}" \
15431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15432 maintainer-clean) \
15433 || exit 1
15435 @endif readline
15438 .PHONY: configure-release maybe-configure-release
15439 maybe-configure-release:
15440 @if release
15441 maybe-configure-release: configure-release
15442 configure-release:
15443 @test ! -f release/Makefile || exit 0; \
15444 [ -d release ] || mkdir release; \
15445 r=`${PWD_COMMAND}`; export r; \
15446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15447 $(HOST_EXPORTS) \
15448 echo Configuring in release; \
15449 cd release || exit 1; \
15450 case $(srcdir) in \
15451 \.) \
15452 srcdiroption="--srcdir=."; \
15453 libsrcdir=".";; \
15454 /* | [A-Za-z]:[\\/]*) \
15455 srcdiroption="--srcdir=$(srcdir)/release"; \
15456 libsrcdir="$$s/release";; \
15457 *) \
15458 srcdiroption="--srcdir=../$(srcdir)/release"; \
15459 libsrcdir="$$s/release";; \
15460 esac; \
15461 $(SHELL) $${libsrcdir}/configure \
15462 $(HOST_CONFIGARGS) $${srcdiroption} \
15463 || exit 1
15464 @endif release
15466 .PHONY: all-release maybe-all-release
15467 maybe-all-release:
15468 @if release
15469 maybe-all-release: all-release
15470 all-release: configure-release
15471 @r=`${PWD_COMMAND}`; export r; \
15472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15473 $(SET_LIB_PATH) \
15474 $(HOST_EXPORTS) \
15475 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15476 @endif release
15478 .PHONY: check-release maybe-check-release
15479 maybe-check-release:
15480 @if release
15481 maybe-check-release: check-release
15483 check-release:
15485 @endif release
15487 .PHONY: install-release maybe-install-release
15488 maybe-install-release:
15489 @if release
15490 maybe-install-release: install-release
15492 install-release:
15494 @endif release
15496 # Other targets (info, dvi, etc.)
15498 .PHONY: maybe-info-release info-release
15499 maybe-info-release:
15500 @if release
15501 maybe-info-release: info-release
15503 info-release: \
15504 configure-release
15505 @[ -f ./release/Makefile ] || exit 0; \
15506 r=`${PWD_COMMAND}`; export r; \
15507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 $(SET_LIB_PATH) \
15509 $(HOST_EXPORTS) \
15510 for flag in $(EXTRA_HOST_FLAGS); do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15512 done; \
15513 echo "Doing info in release" ; \
15514 (cd release && \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15519 info) \
15520 || exit 1
15522 @endif release
15524 .PHONY: maybe-dvi-release dvi-release
15525 maybe-dvi-release:
15526 @if release
15527 maybe-dvi-release: dvi-release
15529 dvi-release: \
15530 configure-release
15531 @[ -f ./release/Makefile ] || exit 0; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(SET_LIB_PATH) \
15535 $(HOST_EXPORTS) \
15536 for flag in $(EXTRA_HOST_FLAGS); do \
15537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15538 done; \
15539 echo "Doing dvi in release" ; \
15540 (cd release && \
15541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15543 "RANLIB=$${RANLIB}" \
15544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15545 dvi) \
15546 || exit 1
15548 @endif release
15550 .PHONY: maybe-TAGS-release TAGS-release
15551 maybe-TAGS-release:
15552 @if release
15553 maybe-TAGS-release: TAGS-release
15555 TAGS-release: \
15556 configure-release
15557 @[ -f ./release/Makefile ] || exit 0; \
15558 r=`${PWD_COMMAND}`; export r; \
15559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15560 $(SET_LIB_PATH) \
15561 $(HOST_EXPORTS) \
15562 for flag in $(EXTRA_HOST_FLAGS); do \
15563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15564 done; \
15565 echo "Doing TAGS in release" ; \
15566 (cd release && \
15567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15569 "RANLIB=$${RANLIB}" \
15570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15571 TAGS) \
15572 || exit 1
15574 @endif release
15576 .PHONY: maybe-install-info-release install-info-release
15577 maybe-install-info-release:
15578 @if release
15579 maybe-install-info-release: install-info-release
15581 install-info-release: \
15582 configure-release \
15583 info-release
15584 @[ -f ./release/Makefile ] || exit 0; \
15585 r=`${PWD_COMMAND}`; export r; \
15586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 $(SET_LIB_PATH) \
15588 $(HOST_EXPORTS) \
15589 for flag in $(EXTRA_HOST_FLAGS); do \
15590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15591 done; \
15592 echo "Doing install-info in release" ; \
15593 (cd release && \
15594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15596 "RANLIB=$${RANLIB}" \
15597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15598 install-info) \
15599 || exit 1
15601 @endif release
15603 .PHONY: maybe-installcheck-release installcheck-release
15604 maybe-installcheck-release:
15605 @if release
15606 maybe-installcheck-release: installcheck-release
15608 installcheck-release: \
15609 configure-release
15610 @[ -f ./release/Makefile ] || exit 0; \
15611 r=`${PWD_COMMAND}`; export r; \
15612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15613 $(SET_LIB_PATH) \
15614 $(HOST_EXPORTS) \
15615 for flag in $(EXTRA_HOST_FLAGS); do \
15616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 done; \
15618 echo "Doing installcheck in release" ; \
15619 (cd release && \
15620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15622 "RANLIB=$${RANLIB}" \
15623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 installcheck) \
15625 || exit 1
15627 @endif release
15629 .PHONY: maybe-mostlyclean-release mostlyclean-release
15630 maybe-mostlyclean-release:
15631 @if release
15632 maybe-mostlyclean-release: mostlyclean-release
15634 mostlyclean-release:
15635 @[ -f ./release/Makefile ] || exit 0; \
15636 r=`${PWD_COMMAND}`; export r; \
15637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15638 $(SET_LIB_PATH) \
15639 $(HOST_EXPORTS) \
15640 for flag in $(EXTRA_HOST_FLAGS); do \
15641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15642 done; \
15643 echo "Doing mostlyclean in release" ; \
15644 (cd release && \
15645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15647 "RANLIB=$${RANLIB}" \
15648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15649 mostlyclean) \
15650 || exit 1
15652 @endif release
15654 .PHONY: maybe-clean-release clean-release
15655 maybe-clean-release:
15656 @if release
15657 maybe-clean-release: clean-release
15659 clean-release:
15660 @[ -f ./release/Makefile ] || exit 0; \
15661 r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 $(SET_LIB_PATH) \
15664 $(HOST_EXPORTS) \
15665 for flag in $(EXTRA_HOST_FLAGS); do \
15666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15667 done; \
15668 echo "Doing clean in release" ; \
15669 (cd release && \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15672 "RANLIB=$${RANLIB}" \
15673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15674 clean) \
15675 || exit 1
15677 @endif release
15679 .PHONY: maybe-distclean-release distclean-release
15680 maybe-distclean-release:
15681 @if release
15682 maybe-distclean-release: distclean-release
15684 distclean-release:
15685 @[ -f ./release/Makefile ] || exit 0; \
15686 r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 $(SET_LIB_PATH) \
15689 $(HOST_EXPORTS) \
15690 for flag in $(EXTRA_HOST_FLAGS); do \
15691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15692 done; \
15693 echo "Doing distclean in release" ; \
15694 (cd release && \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15697 "RANLIB=$${RANLIB}" \
15698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15699 distclean) \
15700 || exit 1
15702 @endif release
15704 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
15705 maybe-maintainer-clean-release:
15706 @if release
15707 maybe-maintainer-clean-release: maintainer-clean-release
15709 maintainer-clean-release:
15710 @[ -f ./release/Makefile ] || exit 0; \
15711 r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 $(SET_LIB_PATH) \
15714 $(HOST_EXPORTS) \
15715 for flag in $(EXTRA_HOST_FLAGS); do \
15716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15717 done; \
15718 echo "Doing maintainer-clean in release" ; \
15719 (cd release && \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15722 "RANLIB=$${RANLIB}" \
15723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15724 maintainer-clean) \
15725 || exit 1
15727 @endif release
15730 .PHONY: configure-recode maybe-configure-recode
15731 maybe-configure-recode:
15732 @if recode
15733 maybe-configure-recode: configure-recode
15734 configure-recode:
15735 @test ! -f recode/Makefile || exit 0; \
15736 [ -d recode ] || mkdir recode; \
15737 r=`${PWD_COMMAND}`; export r; \
15738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15739 $(HOST_EXPORTS) \
15740 echo Configuring in recode; \
15741 cd recode || exit 1; \
15742 case $(srcdir) in \
15743 \.) \
15744 srcdiroption="--srcdir=."; \
15745 libsrcdir=".";; \
15746 /* | [A-Za-z]:[\\/]*) \
15747 srcdiroption="--srcdir=$(srcdir)/recode"; \
15748 libsrcdir="$$s/recode";; \
15749 *) \
15750 srcdiroption="--srcdir=../$(srcdir)/recode"; \
15751 libsrcdir="$$s/recode";; \
15752 esac; \
15753 $(SHELL) $${libsrcdir}/configure \
15754 $(HOST_CONFIGARGS) $${srcdiroption} \
15755 || exit 1
15756 @endif recode
15758 .PHONY: all-recode maybe-all-recode
15759 maybe-all-recode:
15760 @if recode
15761 maybe-all-recode: all-recode
15762 all-recode: configure-recode
15763 @r=`${PWD_COMMAND}`; export r; \
15764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15765 $(SET_LIB_PATH) \
15766 $(HOST_EXPORTS) \
15767 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
15768 @endif recode
15770 .PHONY: check-recode maybe-check-recode
15771 maybe-check-recode:
15772 @if recode
15773 maybe-check-recode: check-recode
15775 check-recode:
15776 @r=`${PWD_COMMAND}`; export r; \
15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15778 $(SET_LIB_PATH) \
15779 $(HOST_EXPORTS) \
15780 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
15782 @endif recode
15784 .PHONY: install-recode maybe-install-recode
15785 maybe-install-recode:
15786 @if recode
15787 maybe-install-recode: install-recode
15789 install-recode: installdirs
15790 @r=`${PWD_COMMAND}`; export r; \
15791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 $(SET_LIB_PATH) \
15793 $(HOST_EXPORTS) \
15794 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
15796 @endif recode
15798 # Other targets (info, dvi, etc.)
15800 .PHONY: maybe-info-recode info-recode
15801 maybe-info-recode:
15802 @if recode
15803 maybe-info-recode: info-recode
15805 info-recode: \
15806 configure-recode
15807 @[ -f ./recode/Makefile ] || exit 0; \
15808 r=`${PWD_COMMAND}`; export r; \
15809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15810 $(SET_LIB_PATH) \
15811 $(HOST_EXPORTS) \
15812 for flag in $(EXTRA_HOST_FLAGS); do \
15813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15814 done; \
15815 echo "Doing info in recode" ; \
15816 (cd recode && \
15817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15819 "RANLIB=$${RANLIB}" \
15820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15821 info) \
15822 || exit 1
15824 @endif recode
15826 .PHONY: maybe-dvi-recode dvi-recode
15827 maybe-dvi-recode:
15828 @if recode
15829 maybe-dvi-recode: dvi-recode
15831 dvi-recode: \
15832 configure-recode
15833 @[ -f ./recode/Makefile ] || exit 0; \
15834 r=`${PWD_COMMAND}`; export r; \
15835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15836 $(SET_LIB_PATH) \
15837 $(HOST_EXPORTS) \
15838 for flag in $(EXTRA_HOST_FLAGS); do \
15839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15840 done; \
15841 echo "Doing dvi in recode" ; \
15842 (cd recode && \
15843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15845 "RANLIB=$${RANLIB}" \
15846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15847 dvi) \
15848 || exit 1
15850 @endif recode
15852 .PHONY: maybe-TAGS-recode TAGS-recode
15853 maybe-TAGS-recode:
15854 @if recode
15855 maybe-TAGS-recode: TAGS-recode
15857 TAGS-recode: \
15858 configure-recode
15859 @[ -f ./recode/Makefile ] || exit 0; \
15860 r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 $(SET_LIB_PATH) \
15863 $(HOST_EXPORTS) \
15864 for flag in $(EXTRA_HOST_FLAGS); do \
15865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15866 done; \
15867 echo "Doing TAGS in recode" ; \
15868 (cd recode && \
15869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15871 "RANLIB=$${RANLIB}" \
15872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15873 TAGS) \
15874 || exit 1
15876 @endif recode
15878 .PHONY: maybe-install-info-recode install-info-recode
15879 maybe-install-info-recode:
15880 @if recode
15881 maybe-install-info-recode: install-info-recode
15883 install-info-recode: \
15884 configure-recode \
15885 info-recode
15886 @[ -f ./recode/Makefile ] || exit 0; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 $(SET_LIB_PATH) \
15890 $(HOST_EXPORTS) \
15891 for flag in $(EXTRA_HOST_FLAGS); do \
15892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15893 done; \
15894 echo "Doing install-info in recode" ; \
15895 (cd recode && \
15896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15898 "RANLIB=$${RANLIB}" \
15899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15900 install-info) \
15901 || exit 1
15903 @endif recode
15905 .PHONY: maybe-installcheck-recode installcheck-recode
15906 maybe-installcheck-recode:
15907 @if recode
15908 maybe-installcheck-recode: installcheck-recode
15910 installcheck-recode: \
15911 configure-recode
15912 @[ -f ./recode/Makefile ] || exit 0; \
15913 r=`${PWD_COMMAND}`; export r; \
15914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15915 $(SET_LIB_PATH) \
15916 $(HOST_EXPORTS) \
15917 for flag in $(EXTRA_HOST_FLAGS); do \
15918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15919 done; \
15920 echo "Doing installcheck in recode" ; \
15921 (cd recode && \
15922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15924 "RANLIB=$${RANLIB}" \
15925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15926 installcheck) \
15927 || exit 1
15929 @endif recode
15931 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
15932 maybe-mostlyclean-recode:
15933 @if recode
15934 maybe-mostlyclean-recode: mostlyclean-recode
15936 mostlyclean-recode:
15937 @[ -f ./recode/Makefile ] || exit 0; \
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 $(SET_LIB_PATH) \
15941 $(HOST_EXPORTS) \
15942 for flag in $(EXTRA_HOST_FLAGS); do \
15943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15944 done; \
15945 echo "Doing mostlyclean in recode" ; \
15946 (cd recode && \
15947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15949 "RANLIB=$${RANLIB}" \
15950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15951 mostlyclean) \
15952 || exit 1
15954 @endif recode
15956 .PHONY: maybe-clean-recode clean-recode
15957 maybe-clean-recode:
15958 @if recode
15959 maybe-clean-recode: clean-recode
15961 clean-recode:
15962 @[ -f ./recode/Makefile ] || exit 0; \
15963 r=`${PWD_COMMAND}`; export r; \
15964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15965 $(SET_LIB_PATH) \
15966 $(HOST_EXPORTS) \
15967 for flag in $(EXTRA_HOST_FLAGS); do \
15968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15969 done; \
15970 echo "Doing clean in recode" ; \
15971 (cd recode && \
15972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15974 "RANLIB=$${RANLIB}" \
15975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15976 clean) \
15977 || exit 1
15979 @endif recode
15981 .PHONY: maybe-distclean-recode distclean-recode
15982 maybe-distclean-recode:
15983 @if recode
15984 maybe-distclean-recode: distclean-recode
15986 distclean-recode:
15987 @[ -f ./recode/Makefile ] || exit 0; \
15988 r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15990 $(SET_LIB_PATH) \
15991 $(HOST_EXPORTS) \
15992 for flag in $(EXTRA_HOST_FLAGS); do \
15993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15994 done; \
15995 echo "Doing distclean in recode" ; \
15996 (cd recode && \
15997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15999 "RANLIB=$${RANLIB}" \
16000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16001 distclean) \
16002 || exit 1
16004 @endif recode
16006 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16007 maybe-maintainer-clean-recode:
16008 @if recode
16009 maybe-maintainer-clean-recode: maintainer-clean-recode
16011 maintainer-clean-recode:
16012 @[ -f ./recode/Makefile ] || exit 0; \
16013 r=`${PWD_COMMAND}`; export r; \
16014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16015 $(SET_LIB_PATH) \
16016 $(HOST_EXPORTS) \
16017 for flag in $(EXTRA_HOST_FLAGS); do \
16018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16019 done; \
16020 echo "Doing maintainer-clean in recode" ; \
16021 (cd recode && \
16022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16024 "RANLIB=$${RANLIB}" \
16025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16026 maintainer-clean) \
16027 || exit 1
16029 @endif recode
16032 .PHONY: configure-sed maybe-configure-sed
16033 maybe-configure-sed:
16034 @if sed
16035 maybe-configure-sed: configure-sed
16036 configure-sed:
16037 @test ! -f sed/Makefile || exit 0; \
16038 [ -d sed ] || mkdir sed; \
16039 r=`${PWD_COMMAND}`; export r; \
16040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16041 $(HOST_EXPORTS) \
16042 echo Configuring in sed; \
16043 cd sed || exit 1; \
16044 case $(srcdir) in \
16045 \.) \
16046 srcdiroption="--srcdir=."; \
16047 libsrcdir=".";; \
16048 /* | [A-Za-z]:[\\/]*) \
16049 srcdiroption="--srcdir=$(srcdir)/sed"; \
16050 libsrcdir="$$s/sed";; \
16051 *) \
16052 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16053 libsrcdir="$$s/sed";; \
16054 esac; \
16055 $(SHELL) $${libsrcdir}/configure \
16056 $(HOST_CONFIGARGS) $${srcdiroption} \
16057 || exit 1
16058 @endif sed
16060 .PHONY: all-sed maybe-all-sed
16061 maybe-all-sed:
16062 @if sed
16063 maybe-all-sed: all-sed
16064 all-sed: configure-sed
16065 @r=`${PWD_COMMAND}`; export r; \
16066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16067 $(SET_LIB_PATH) \
16068 $(HOST_EXPORTS) \
16069 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16070 @endif sed
16072 .PHONY: check-sed maybe-check-sed
16073 maybe-check-sed:
16074 @if sed
16075 maybe-check-sed: check-sed
16077 check-sed:
16078 @r=`${PWD_COMMAND}`; export r; \
16079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16080 $(SET_LIB_PATH) \
16081 $(HOST_EXPORTS) \
16082 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16084 @endif sed
16086 .PHONY: install-sed maybe-install-sed
16087 maybe-install-sed:
16088 @if sed
16089 maybe-install-sed: install-sed
16091 install-sed: installdirs
16092 @r=`${PWD_COMMAND}`; export r; \
16093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16094 $(SET_LIB_PATH) \
16095 $(HOST_EXPORTS) \
16096 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16098 @endif sed
16100 # Other targets (info, dvi, etc.)
16102 .PHONY: maybe-info-sed info-sed
16103 maybe-info-sed:
16104 @if sed
16105 maybe-info-sed: info-sed
16107 info-sed: \
16108 configure-sed
16109 @[ -f ./sed/Makefile ] || exit 0; \
16110 r=`${PWD_COMMAND}`; export r; \
16111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16112 $(SET_LIB_PATH) \
16113 $(HOST_EXPORTS) \
16114 for flag in $(EXTRA_HOST_FLAGS); do \
16115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16116 done; \
16117 echo "Doing info in sed" ; \
16118 (cd sed && \
16119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16121 "RANLIB=$${RANLIB}" \
16122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16123 info) \
16124 || exit 1
16126 @endif sed
16128 .PHONY: maybe-dvi-sed dvi-sed
16129 maybe-dvi-sed:
16130 @if sed
16131 maybe-dvi-sed: dvi-sed
16133 dvi-sed: \
16134 configure-sed
16135 @[ -f ./sed/Makefile ] || exit 0; \
16136 r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 $(SET_LIB_PATH) \
16139 $(HOST_EXPORTS) \
16140 for flag in $(EXTRA_HOST_FLAGS); do \
16141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16142 done; \
16143 echo "Doing dvi in sed" ; \
16144 (cd sed && \
16145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16147 "RANLIB=$${RANLIB}" \
16148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16149 dvi) \
16150 || exit 1
16152 @endif sed
16154 .PHONY: maybe-TAGS-sed TAGS-sed
16155 maybe-TAGS-sed:
16156 @if sed
16157 maybe-TAGS-sed: TAGS-sed
16159 TAGS-sed: \
16160 configure-sed
16161 @[ -f ./sed/Makefile ] || exit 0; \
16162 r=`${PWD_COMMAND}`; export r; \
16163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 $(SET_LIB_PATH) \
16165 $(HOST_EXPORTS) \
16166 for flag in $(EXTRA_HOST_FLAGS); do \
16167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16168 done; \
16169 echo "Doing TAGS in sed" ; \
16170 (cd sed && \
16171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16173 "RANLIB=$${RANLIB}" \
16174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16175 TAGS) \
16176 || exit 1
16178 @endif sed
16180 .PHONY: maybe-install-info-sed install-info-sed
16181 maybe-install-info-sed:
16182 @if sed
16183 maybe-install-info-sed: install-info-sed
16185 install-info-sed: \
16186 configure-sed \
16187 info-sed
16188 @[ -f ./sed/Makefile ] || exit 0; \
16189 r=`${PWD_COMMAND}`; export r; \
16190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16191 $(SET_LIB_PATH) \
16192 $(HOST_EXPORTS) \
16193 for flag in $(EXTRA_HOST_FLAGS); do \
16194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16195 done; \
16196 echo "Doing install-info in sed" ; \
16197 (cd sed && \
16198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16200 "RANLIB=$${RANLIB}" \
16201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16202 install-info) \
16203 || exit 1
16205 @endif sed
16207 .PHONY: maybe-installcheck-sed installcheck-sed
16208 maybe-installcheck-sed:
16209 @if sed
16210 maybe-installcheck-sed: installcheck-sed
16212 installcheck-sed: \
16213 configure-sed
16214 @[ -f ./sed/Makefile ] || exit 0; \
16215 r=`${PWD_COMMAND}`; export r; \
16216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16217 $(SET_LIB_PATH) \
16218 $(HOST_EXPORTS) \
16219 for flag in $(EXTRA_HOST_FLAGS); do \
16220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16221 done; \
16222 echo "Doing installcheck in sed" ; \
16223 (cd sed && \
16224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16226 "RANLIB=$${RANLIB}" \
16227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16228 installcheck) \
16229 || exit 1
16231 @endif sed
16233 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16234 maybe-mostlyclean-sed:
16235 @if sed
16236 maybe-mostlyclean-sed: mostlyclean-sed
16238 mostlyclean-sed:
16239 @[ -f ./sed/Makefile ] || exit 0; \
16240 r=`${PWD_COMMAND}`; export r; \
16241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 $(SET_LIB_PATH) \
16243 $(HOST_EXPORTS) \
16244 for flag in $(EXTRA_HOST_FLAGS); do \
16245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16246 done; \
16247 echo "Doing mostlyclean in sed" ; \
16248 (cd sed && \
16249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16251 "RANLIB=$${RANLIB}" \
16252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16253 mostlyclean) \
16254 || exit 1
16256 @endif sed
16258 .PHONY: maybe-clean-sed clean-sed
16259 maybe-clean-sed:
16260 @if sed
16261 maybe-clean-sed: clean-sed
16263 clean-sed:
16264 @[ -f ./sed/Makefile ] || exit 0; \
16265 r=`${PWD_COMMAND}`; export r; \
16266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16267 $(SET_LIB_PATH) \
16268 $(HOST_EXPORTS) \
16269 for flag in $(EXTRA_HOST_FLAGS); do \
16270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16271 done; \
16272 echo "Doing clean in sed" ; \
16273 (cd sed && \
16274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16276 "RANLIB=$${RANLIB}" \
16277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16278 clean) \
16279 || exit 1
16281 @endif sed
16283 .PHONY: maybe-distclean-sed distclean-sed
16284 maybe-distclean-sed:
16285 @if sed
16286 maybe-distclean-sed: distclean-sed
16288 distclean-sed:
16289 @[ -f ./sed/Makefile ] || exit 0; \
16290 r=`${PWD_COMMAND}`; export r; \
16291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16292 $(SET_LIB_PATH) \
16293 $(HOST_EXPORTS) \
16294 for flag in $(EXTRA_HOST_FLAGS); do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 done; \
16297 echo "Doing distclean in sed" ; \
16298 (cd sed && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16303 distclean) \
16304 || exit 1
16306 @endif sed
16308 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16309 maybe-maintainer-clean-sed:
16310 @if sed
16311 maybe-maintainer-clean-sed: maintainer-clean-sed
16313 maintainer-clean-sed:
16314 @[ -f ./sed/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(SET_LIB_PATH) \
16318 $(HOST_EXPORTS) \
16319 for flag in $(EXTRA_HOST_FLAGS); do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 done; \
16322 echo "Doing maintainer-clean in sed" ; \
16323 (cd sed && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 maintainer-clean) \
16329 || exit 1
16331 @endif sed
16334 .PHONY: configure-send-pr maybe-configure-send-pr
16335 maybe-configure-send-pr:
16336 @if send-pr
16337 maybe-configure-send-pr: configure-send-pr
16338 configure-send-pr:
16339 @test ! -f send-pr/Makefile || exit 0; \
16340 [ -d send-pr ] || mkdir send-pr; \
16341 r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 echo Configuring in send-pr; \
16345 cd send-pr || exit 1; \
16346 case $(srcdir) in \
16347 \.) \
16348 srcdiroption="--srcdir=."; \
16349 libsrcdir=".";; \
16350 /* | [A-Za-z]:[\\/]*) \
16351 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16352 libsrcdir="$$s/send-pr";; \
16353 *) \
16354 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16355 libsrcdir="$$s/send-pr";; \
16356 esac; \
16357 $(SHELL) $${libsrcdir}/configure \
16358 $(HOST_CONFIGARGS) $${srcdiroption} \
16359 || exit 1
16360 @endif send-pr
16362 .PHONY: all-send-pr maybe-all-send-pr
16363 maybe-all-send-pr:
16364 @if send-pr
16365 maybe-all-send-pr: all-send-pr
16366 all-send-pr: configure-send-pr
16367 @r=`${PWD_COMMAND}`; export r; \
16368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16369 $(SET_LIB_PATH) \
16370 $(HOST_EXPORTS) \
16371 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16372 @endif send-pr
16374 .PHONY: check-send-pr maybe-check-send-pr
16375 maybe-check-send-pr:
16376 @if send-pr
16377 maybe-check-send-pr: check-send-pr
16379 check-send-pr:
16380 @r=`${PWD_COMMAND}`; export r; \
16381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16382 $(SET_LIB_PATH) \
16383 $(HOST_EXPORTS) \
16384 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16386 @endif send-pr
16388 .PHONY: install-send-pr maybe-install-send-pr
16389 maybe-install-send-pr:
16390 @if send-pr
16391 maybe-install-send-pr: install-send-pr
16393 install-send-pr: installdirs
16394 @r=`${PWD_COMMAND}`; export r; \
16395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16396 $(SET_LIB_PATH) \
16397 $(HOST_EXPORTS) \
16398 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16400 @endif send-pr
16402 # Other targets (info, dvi, etc.)
16404 .PHONY: maybe-info-send-pr info-send-pr
16405 maybe-info-send-pr:
16406 @if send-pr
16407 maybe-info-send-pr: info-send-pr
16409 info-send-pr: \
16410 configure-send-pr
16411 @[ -f ./send-pr/Makefile ] || exit 0; \
16412 r=`${PWD_COMMAND}`; export r; \
16413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16414 $(SET_LIB_PATH) \
16415 $(HOST_EXPORTS) \
16416 for flag in $(EXTRA_HOST_FLAGS); do \
16417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16418 done; \
16419 echo "Doing info in send-pr" ; \
16420 (cd send-pr && \
16421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16423 "RANLIB=$${RANLIB}" \
16424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16425 info) \
16426 || exit 1
16428 @endif send-pr
16430 .PHONY: maybe-dvi-send-pr dvi-send-pr
16431 maybe-dvi-send-pr:
16432 @if send-pr
16433 maybe-dvi-send-pr: dvi-send-pr
16435 dvi-send-pr: \
16436 configure-send-pr
16437 @[ -f ./send-pr/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16440 $(SET_LIB_PATH) \
16441 $(HOST_EXPORTS) \
16442 for flag in $(EXTRA_HOST_FLAGS); do \
16443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16444 done; \
16445 echo "Doing dvi in send-pr" ; \
16446 (cd send-pr && \
16447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16449 "RANLIB=$${RANLIB}" \
16450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16451 dvi) \
16452 || exit 1
16454 @endif send-pr
16456 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16457 maybe-TAGS-send-pr:
16458 @if send-pr
16459 maybe-TAGS-send-pr: TAGS-send-pr
16461 TAGS-send-pr: \
16462 configure-send-pr
16463 @[ -f ./send-pr/Makefile ] || exit 0; \
16464 r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16466 $(SET_LIB_PATH) \
16467 $(HOST_EXPORTS) \
16468 for flag in $(EXTRA_HOST_FLAGS); do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470 done; \
16471 echo "Doing TAGS in send-pr" ; \
16472 (cd send-pr && \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16477 TAGS) \
16478 || exit 1
16480 @endif send-pr
16482 .PHONY: maybe-install-info-send-pr install-info-send-pr
16483 maybe-install-info-send-pr:
16484 @if send-pr
16485 maybe-install-info-send-pr: install-info-send-pr
16487 install-info-send-pr: \
16488 configure-send-pr \
16489 info-send-pr
16490 @[ -f ./send-pr/Makefile ] || exit 0; \
16491 r=`${PWD_COMMAND}`; export r; \
16492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 $(SET_LIB_PATH) \
16494 $(HOST_EXPORTS) \
16495 for flag in $(EXTRA_HOST_FLAGS); do \
16496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16497 done; \
16498 echo "Doing install-info in send-pr" ; \
16499 (cd send-pr && \
16500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16502 "RANLIB=$${RANLIB}" \
16503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16504 install-info) \
16505 || exit 1
16507 @endif send-pr
16509 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16510 maybe-installcheck-send-pr:
16511 @if send-pr
16512 maybe-installcheck-send-pr: installcheck-send-pr
16514 installcheck-send-pr: \
16515 configure-send-pr
16516 @[ -f ./send-pr/Makefile ] || exit 0; \
16517 r=`${PWD_COMMAND}`; export r; \
16518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 $(SET_LIB_PATH) \
16520 $(HOST_EXPORTS) \
16521 for flag in $(EXTRA_HOST_FLAGS); do \
16522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16523 done; \
16524 echo "Doing installcheck in send-pr" ; \
16525 (cd send-pr && \
16526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16528 "RANLIB=$${RANLIB}" \
16529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16530 installcheck) \
16531 || exit 1
16533 @endif send-pr
16535 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16536 maybe-mostlyclean-send-pr:
16537 @if send-pr
16538 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16540 mostlyclean-send-pr:
16541 @[ -f ./send-pr/Makefile ] || exit 0; \
16542 r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 $(SET_LIB_PATH) \
16545 $(HOST_EXPORTS) \
16546 for flag in $(EXTRA_HOST_FLAGS); do \
16547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16548 done; \
16549 echo "Doing mostlyclean in send-pr" ; \
16550 (cd send-pr && \
16551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16553 "RANLIB=$${RANLIB}" \
16554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16555 mostlyclean) \
16556 || exit 1
16558 @endif send-pr
16560 .PHONY: maybe-clean-send-pr clean-send-pr
16561 maybe-clean-send-pr:
16562 @if send-pr
16563 maybe-clean-send-pr: clean-send-pr
16565 clean-send-pr:
16566 @[ -f ./send-pr/Makefile ] || exit 0; \
16567 r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16569 $(SET_LIB_PATH) \
16570 $(HOST_EXPORTS) \
16571 for flag in $(EXTRA_HOST_FLAGS); do \
16572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 done; \
16574 echo "Doing clean in send-pr" ; \
16575 (cd send-pr && \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16578 "RANLIB=$${RANLIB}" \
16579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16580 clean) \
16581 || exit 1
16583 @endif send-pr
16585 .PHONY: maybe-distclean-send-pr distclean-send-pr
16586 maybe-distclean-send-pr:
16587 @if send-pr
16588 maybe-distclean-send-pr: distclean-send-pr
16590 distclean-send-pr:
16591 @[ -f ./send-pr/Makefile ] || exit 0; \
16592 r=`${PWD_COMMAND}`; export r; \
16593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16594 $(SET_LIB_PATH) \
16595 $(HOST_EXPORTS) \
16596 for flag in $(EXTRA_HOST_FLAGS); do \
16597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16598 done; \
16599 echo "Doing distclean in send-pr" ; \
16600 (cd send-pr && \
16601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16603 "RANLIB=$${RANLIB}" \
16604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16605 distclean) \
16606 || exit 1
16608 @endif send-pr
16610 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16611 maybe-maintainer-clean-send-pr:
16612 @if send-pr
16613 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16615 maintainer-clean-send-pr:
16616 @[ -f ./send-pr/Makefile ] || exit 0; \
16617 r=`${PWD_COMMAND}`; export r; \
16618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16619 $(SET_LIB_PATH) \
16620 $(HOST_EXPORTS) \
16621 for flag in $(EXTRA_HOST_FLAGS); do \
16622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16623 done; \
16624 echo "Doing maintainer-clean in send-pr" ; \
16625 (cd send-pr && \
16626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16628 "RANLIB=$${RANLIB}" \
16629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16630 maintainer-clean) \
16631 || exit 1
16633 @endif send-pr
16636 .PHONY: configure-shellutils maybe-configure-shellutils
16637 maybe-configure-shellutils:
16638 @if shellutils
16639 maybe-configure-shellutils: configure-shellutils
16640 configure-shellutils:
16641 @test ! -f shellutils/Makefile || exit 0; \
16642 [ -d shellutils ] || mkdir shellutils; \
16643 r=`${PWD_COMMAND}`; export r; \
16644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 $(HOST_EXPORTS) \
16646 echo Configuring in shellutils; \
16647 cd shellutils || exit 1; \
16648 case $(srcdir) in \
16649 \.) \
16650 srcdiroption="--srcdir=."; \
16651 libsrcdir=".";; \
16652 /* | [A-Za-z]:[\\/]*) \
16653 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16654 libsrcdir="$$s/shellutils";; \
16655 *) \
16656 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16657 libsrcdir="$$s/shellutils";; \
16658 esac; \
16659 $(SHELL) $${libsrcdir}/configure \
16660 $(HOST_CONFIGARGS) $${srcdiroption} \
16661 || exit 1
16662 @endif shellutils
16664 .PHONY: all-shellutils maybe-all-shellutils
16665 maybe-all-shellutils:
16666 @if shellutils
16667 maybe-all-shellutils: all-shellutils
16668 all-shellutils: configure-shellutils
16669 @r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 $(SET_LIB_PATH) \
16672 $(HOST_EXPORTS) \
16673 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
16674 @endif shellutils
16676 .PHONY: check-shellutils maybe-check-shellutils
16677 maybe-check-shellutils:
16678 @if shellutils
16679 maybe-check-shellutils: check-shellutils
16681 check-shellutils:
16682 @r=`${PWD_COMMAND}`; export r; \
16683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16684 $(SET_LIB_PATH) \
16685 $(HOST_EXPORTS) \
16686 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
16688 @endif shellutils
16690 .PHONY: install-shellutils maybe-install-shellutils
16691 maybe-install-shellutils:
16692 @if shellutils
16693 maybe-install-shellutils: install-shellutils
16695 install-shellutils: installdirs
16696 @r=`${PWD_COMMAND}`; export r; \
16697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16698 $(SET_LIB_PATH) \
16699 $(HOST_EXPORTS) \
16700 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
16702 @endif shellutils
16704 # Other targets (info, dvi, etc.)
16706 .PHONY: maybe-info-shellutils info-shellutils
16707 maybe-info-shellutils:
16708 @if shellutils
16709 maybe-info-shellutils: info-shellutils
16711 info-shellutils: \
16712 configure-shellutils
16713 @[ -f ./shellutils/Makefile ] || exit 0; \
16714 r=`${PWD_COMMAND}`; export r; \
16715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16716 $(SET_LIB_PATH) \
16717 $(HOST_EXPORTS) \
16718 for flag in $(EXTRA_HOST_FLAGS); do \
16719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16720 done; \
16721 echo "Doing info in shellutils" ; \
16722 (cd shellutils && \
16723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16725 "RANLIB=$${RANLIB}" \
16726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16727 info) \
16728 || exit 1
16730 @endif shellutils
16732 .PHONY: maybe-dvi-shellutils dvi-shellutils
16733 maybe-dvi-shellutils:
16734 @if shellutils
16735 maybe-dvi-shellutils: dvi-shellutils
16737 dvi-shellutils: \
16738 configure-shellutils
16739 @[ -f ./shellutils/Makefile ] || exit 0; \
16740 r=`${PWD_COMMAND}`; export r; \
16741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16742 $(SET_LIB_PATH) \
16743 $(HOST_EXPORTS) \
16744 for flag in $(EXTRA_HOST_FLAGS); do \
16745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16746 done; \
16747 echo "Doing dvi in shellutils" ; \
16748 (cd shellutils && \
16749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16751 "RANLIB=$${RANLIB}" \
16752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16753 dvi) \
16754 || exit 1
16756 @endif shellutils
16758 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
16759 maybe-TAGS-shellutils:
16760 @if shellutils
16761 maybe-TAGS-shellutils: TAGS-shellutils
16763 TAGS-shellutils: \
16764 configure-shellutils
16765 @[ -f ./shellutils/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16768 $(SET_LIB_PATH) \
16769 $(HOST_EXPORTS) \
16770 for flag in $(EXTRA_HOST_FLAGS); do \
16771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16772 done; \
16773 echo "Doing TAGS in shellutils" ; \
16774 (cd shellutils && \
16775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16777 "RANLIB=$${RANLIB}" \
16778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16779 TAGS) \
16780 || exit 1
16782 @endif shellutils
16784 .PHONY: maybe-install-info-shellutils install-info-shellutils
16785 maybe-install-info-shellutils:
16786 @if shellutils
16787 maybe-install-info-shellutils: install-info-shellutils
16789 install-info-shellutils: \
16790 configure-shellutils \
16791 info-shellutils
16792 @[ -f ./shellutils/Makefile ] || exit 0; \
16793 r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 $(SET_LIB_PATH) \
16796 $(HOST_EXPORTS) \
16797 for flag in $(EXTRA_HOST_FLAGS); do \
16798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16799 done; \
16800 echo "Doing install-info in shellutils" ; \
16801 (cd shellutils && \
16802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16804 "RANLIB=$${RANLIB}" \
16805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16806 install-info) \
16807 || exit 1
16809 @endif shellutils
16811 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
16812 maybe-installcheck-shellutils:
16813 @if shellutils
16814 maybe-installcheck-shellutils: installcheck-shellutils
16816 installcheck-shellutils: \
16817 configure-shellutils
16818 @[ -f ./shellutils/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(SET_LIB_PATH) \
16822 $(HOST_EXPORTS) \
16823 for flag in $(EXTRA_HOST_FLAGS); do \
16824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16825 done; \
16826 echo "Doing installcheck in shellutils" ; \
16827 (cd shellutils && \
16828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16830 "RANLIB=$${RANLIB}" \
16831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16832 installcheck) \
16833 || exit 1
16835 @endif shellutils
16837 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
16838 maybe-mostlyclean-shellutils:
16839 @if shellutils
16840 maybe-mostlyclean-shellutils: mostlyclean-shellutils
16842 mostlyclean-shellutils:
16843 @[ -f ./shellutils/Makefile ] || exit 0; \
16844 r=`${PWD_COMMAND}`; export r; \
16845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16846 $(SET_LIB_PATH) \
16847 $(HOST_EXPORTS) \
16848 for flag in $(EXTRA_HOST_FLAGS); do \
16849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16850 done; \
16851 echo "Doing mostlyclean in shellutils" ; \
16852 (cd shellutils && \
16853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16855 "RANLIB=$${RANLIB}" \
16856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16857 mostlyclean) \
16858 || exit 1
16860 @endif shellutils
16862 .PHONY: maybe-clean-shellutils clean-shellutils
16863 maybe-clean-shellutils:
16864 @if shellutils
16865 maybe-clean-shellutils: clean-shellutils
16867 clean-shellutils:
16868 @[ -f ./shellutils/Makefile ] || exit 0; \
16869 r=`${PWD_COMMAND}`; export r; \
16870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16871 $(SET_LIB_PATH) \
16872 $(HOST_EXPORTS) \
16873 for flag in $(EXTRA_HOST_FLAGS); do \
16874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16875 done; \
16876 echo "Doing clean in shellutils" ; \
16877 (cd shellutils && \
16878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16880 "RANLIB=$${RANLIB}" \
16881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16882 clean) \
16883 || exit 1
16885 @endif shellutils
16887 .PHONY: maybe-distclean-shellutils distclean-shellutils
16888 maybe-distclean-shellutils:
16889 @if shellutils
16890 maybe-distclean-shellutils: distclean-shellutils
16892 distclean-shellutils:
16893 @[ -f ./shellutils/Makefile ] || exit 0; \
16894 r=`${PWD_COMMAND}`; export r; \
16895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 $(SET_LIB_PATH) \
16897 $(HOST_EXPORTS) \
16898 for flag in $(EXTRA_HOST_FLAGS); do \
16899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16900 done; \
16901 echo "Doing distclean in shellutils" ; \
16902 (cd shellutils && \
16903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905 "RANLIB=$${RANLIB}" \
16906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16907 distclean) \
16908 || exit 1
16910 @endif shellutils
16912 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16913 maybe-maintainer-clean-shellutils:
16914 @if shellutils
16915 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
16917 maintainer-clean-shellutils:
16918 @[ -f ./shellutils/Makefile ] || exit 0; \
16919 r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 $(SET_LIB_PATH) \
16922 $(HOST_EXPORTS) \
16923 for flag in $(EXTRA_HOST_FLAGS); do \
16924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16925 done; \
16926 echo "Doing maintainer-clean in shellutils" ; \
16927 (cd shellutils && \
16928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16930 "RANLIB=$${RANLIB}" \
16931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16932 maintainer-clean) \
16933 || exit 1
16935 @endif shellutils
16938 .PHONY: configure-sid maybe-configure-sid
16939 maybe-configure-sid:
16940 @if sid
16941 maybe-configure-sid: configure-sid
16942 configure-sid:
16943 @test ! -f sid/Makefile || exit 0; \
16944 [ -d sid ] || mkdir sid; \
16945 r=`${PWD_COMMAND}`; export r; \
16946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16947 $(HOST_EXPORTS) \
16948 echo Configuring in sid; \
16949 cd sid || exit 1; \
16950 case $(srcdir) in \
16951 \.) \
16952 srcdiroption="--srcdir=."; \
16953 libsrcdir=".";; \
16954 /* | [A-Za-z]:[\\/]*) \
16955 srcdiroption="--srcdir=$(srcdir)/sid"; \
16956 libsrcdir="$$s/sid";; \
16957 *) \
16958 srcdiroption="--srcdir=../$(srcdir)/sid"; \
16959 libsrcdir="$$s/sid";; \
16960 esac; \
16961 $(SHELL) $${libsrcdir}/configure \
16962 $(HOST_CONFIGARGS) $${srcdiroption} \
16963 || exit 1
16964 @endif sid
16966 .PHONY: all-sid maybe-all-sid
16967 maybe-all-sid:
16968 @if sid
16969 maybe-all-sid: all-sid
16970 all-sid: configure-sid
16971 @r=`${PWD_COMMAND}`; export r; \
16972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16973 $(SET_LIB_PATH) \
16974 $(HOST_EXPORTS) \
16975 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
16976 @endif sid
16978 .PHONY: check-sid maybe-check-sid
16979 maybe-check-sid:
16980 @if sid
16981 maybe-check-sid: check-sid
16983 check-sid:
16984 @r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 $(SET_LIB_PATH) \
16987 $(HOST_EXPORTS) \
16988 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
16990 @endif sid
16992 .PHONY: install-sid maybe-install-sid
16993 maybe-install-sid:
16994 @if sid
16995 maybe-install-sid: install-sid
16997 install-sid: installdirs
16998 @r=`${PWD_COMMAND}`; export r; \
16999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 $(SET_LIB_PATH) \
17001 $(HOST_EXPORTS) \
17002 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17004 @endif sid
17006 # Other targets (info, dvi, etc.)
17008 .PHONY: maybe-info-sid info-sid
17009 maybe-info-sid:
17010 @if sid
17011 maybe-info-sid: info-sid
17013 info-sid: \
17014 configure-sid
17015 @[ -f ./sid/Makefile ] || exit 0; \
17016 r=`${PWD_COMMAND}`; export r; \
17017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17018 $(SET_LIB_PATH) \
17019 $(HOST_EXPORTS) \
17020 for flag in $(EXTRA_HOST_FLAGS); do \
17021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17022 done; \
17023 echo "Doing info in sid" ; \
17024 (cd sid && \
17025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17027 "RANLIB=$${RANLIB}" \
17028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17029 info) \
17030 || exit 1
17032 @endif sid
17034 .PHONY: maybe-dvi-sid dvi-sid
17035 maybe-dvi-sid:
17036 @if sid
17037 maybe-dvi-sid: dvi-sid
17039 dvi-sid: \
17040 configure-sid
17041 @[ -f ./sid/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 dvi in sid" ; \
17050 (cd sid && \
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 dvi) \
17056 || exit 1
17058 @endif sid
17060 .PHONY: maybe-TAGS-sid TAGS-sid
17061 maybe-TAGS-sid:
17062 @if sid
17063 maybe-TAGS-sid: TAGS-sid
17065 TAGS-sid: \
17066 configure-sid
17067 @[ -f ./sid/Makefile ] || exit 0; \
17068 r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 $(SET_LIB_PATH) \
17071 $(HOST_EXPORTS) \
17072 for flag in $(EXTRA_HOST_FLAGS); do \
17073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17074 done; \
17075 echo "Doing TAGS in sid" ; \
17076 (cd sid && \
17077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17079 "RANLIB=$${RANLIB}" \
17080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17081 TAGS) \
17082 || exit 1
17084 @endif sid
17086 .PHONY: maybe-install-info-sid install-info-sid
17087 maybe-install-info-sid:
17088 @if sid
17089 maybe-install-info-sid: install-info-sid
17091 install-info-sid: \
17092 configure-sid \
17093 info-sid
17094 @[ -f ./sid/Makefile ] || exit 0; \
17095 r=`${PWD_COMMAND}`; export r; \
17096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17097 $(SET_LIB_PATH) \
17098 $(HOST_EXPORTS) \
17099 for flag in $(EXTRA_HOST_FLAGS); do \
17100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17101 done; \
17102 echo "Doing install-info in sid" ; \
17103 (cd sid && \
17104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17106 "RANLIB=$${RANLIB}" \
17107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17108 install-info) \
17109 || exit 1
17111 @endif sid
17113 .PHONY: maybe-installcheck-sid installcheck-sid
17114 maybe-installcheck-sid:
17115 @if sid
17116 maybe-installcheck-sid: installcheck-sid
17118 installcheck-sid: \
17119 configure-sid
17120 @[ -f ./sid/Makefile ] || exit 0; \
17121 r=`${PWD_COMMAND}`; export r; \
17122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17123 $(SET_LIB_PATH) \
17124 $(HOST_EXPORTS) \
17125 for flag in $(EXTRA_HOST_FLAGS); do \
17126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17127 done; \
17128 echo "Doing installcheck in sid" ; \
17129 (cd sid && \
17130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17132 "RANLIB=$${RANLIB}" \
17133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17134 installcheck) \
17135 || exit 1
17137 @endif sid
17139 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17140 maybe-mostlyclean-sid:
17141 @if sid
17142 maybe-mostlyclean-sid: mostlyclean-sid
17144 mostlyclean-sid:
17145 @[ -f ./sid/Makefile ] || exit 0; \
17146 r=`${PWD_COMMAND}`; export r; \
17147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17148 $(SET_LIB_PATH) \
17149 $(HOST_EXPORTS) \
17150 for flag in $(EXTRA_HOST_FLAGS); do \
17151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17152 done; \
17153 echo "Doing mostlyclean in sid" ; \
17154 (cd sid && \
17155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17157 "RANLIB=$${RANLIB}" \
17158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17159 mostlyclean) \
17160 || exit 1
17162 @endif sid
17164 .PHONY: maybe-clean-sid clean-sid
17165 maybe-clean-sid:
17166 @if sid
17167 maybe-clean-sid: clean-sid
17169 clean-sid:
17170 @[ -f ./sid/Makefile ] || exit 0; \
17171 r=`${PWD_COMMAND}`; export r; \
17172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17173 $(SET_LIB_PATH) \
17174 $(HOST_EXPORTS) \
17175 for flag in $(EXTRA_HOST_FLAGS); do \
17176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17177 done; \
17178 echo "Doing clean in sid" ; \
17179 (cd sid && \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17182 "RANLIB=$${RANLIB}" \
17183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17184 clean) \
17185 || exit 1
17187 @endif sid
17189 .PHONY: maybe-distclean-sid distclean-sid
17190 maybe-distclean-sid:
17191 @if sid
17192 maybe-distclean-sid: distclean-sid
17194 distclean-sid:
17195 @[ -f ./sid/Makefile ] || exit 0; \
17196 r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17198 $(SET_LIB_PATH) \
17199 $(HOST_EXPORTS) \
17200 for flag in $(EXTRA_HOST_FLAGS); do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17202 done; \
17203 echo "Doing distclean in sid" ; \
17204 (cd sid && \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17209 distclean) \
17210 || exit 1
17212 @endif sid
17214 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17215 maybe-maintainer-clean-sid:
17216 @if sid
17217 maybe-maintainer-clean-sid: maintainer-clean-sid
17219 maintainer-clean-sid:
17220 @[ -f ./sid/Makefile ] || exit 0; \
17221 r=`${PWD_COMMAND}`; export r; \
17222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17223 $(SET_LIB_PATH) \
17224 $(HOST_EXPORTS) \
17225 for flag in $(EXTRA_HOST_FLAGS); do \
17226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17227 done; \
17228 echo "Doing maintainer-clean in sid" ; \
17229 (cd sid && \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17232 "RANLIB=$${RANLIB}" \
17233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17234 maintainer-clean) \
17235 || exit 1
17237 @endif sid
17240 .PHONY: configure-sim maybe-configure-sim
17241 maybe-configure-sim:
17242 @if sim
17243 maybe-configure-sim: configure-sim
17244 configure-sim:
17245 @test ! -f sim/Makefile || exit 0; \
17246 [ -d sim ] || mkdir sim; \
17247 r=`${PWD_COMMAND}`; export r; \
17248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17249 $(HOST_EXPORTS) \
17250 echo Configuring in sim; \
17251 cd sim || exit 1; \
17252 case $(srcdir) in \
17253 \.) \
17254 srcdiroption="--srcdir=."; \
17255 libsrcdir=".";; \
17256 /* | [A-Za-z]:[\\/]*) \
17257 srcdiroption="--srcdir=$(srcdir)/sim"; \
17258 libsrcdir="$$s/sim";; \
17259 *) \
17260 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17261 libsrcdir="$$s/sim";; \
17262 esac; \
17263 $(SHELL) $${libsrcdir}/configure \
17264 $(HOST_CONFIGARGS) $${srcdiroption} \
17265 || exit 1
17266 @endif sim
17268 .PHONY: all-sim maybe-all-sim
17269 maybe-all-sim:
17270 @if sim
17271 maybe-all-sim: all-sim
17272 all-sim: configure-sim
17273 @r=`${PWD_COMMAND}`; export r; \
17274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17275 $(SET_LIB_PATH) \
17276 $(HOST_EXPORTS) \
17277 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17278 @endif sim
17280 .PHONY: check-sim maybe-check-sim
17281 maybe-check-sim:
17282 @if sim
17283 maybe-check-sim: check-sim
17285 check-sim:
17286 @r=`${PWD_COMMAND}`; export r; \
17287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17288 $(SET_LIB_PATH) \
17289 $(HOST_EXPORTS) \
17290 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17292 @endif sim
17294 .PHONY: install-sim maybe-install-sim
17295 maybe-install-sim:
17296 @if sim
17297 maybe-install-sim: install-sim
17299 install-sim: installdirs
17300 @r=`${PWD_COMMAND}`; export r; \
17301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17302 $(SET_LIB_PATH) \
17303 $(HOST_EXPORTS) \
17304 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17306 @endif sim
17308 # Other targets (info, dvi, etc.)
17310 .PHONY: maybe-info-sim info-sim
17311 maybe-info-sim:
17312 @if sim
17313 maybe-info-sim: info-sim
17315 info-sim: \
17316 configure-sim
17317 @[ -f ./sim/Makefile ] || exit 0; \
17318 r=`${PWD_COMMAND}`; export r; \
17319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17320 $(SET_LIB_PATH) \
17321 $(HOST_EXPORTS) \
17322 for flag in $(EXTRA_HOST_FLAGS); do \
17323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17324 done; \
17325 echo "Doing info in sim" ; \
17326 (cd sim && \
17327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17329 "RANLIB=$${RANLIB}" \
17330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17331 info) \
17332 || exit 1
17334 @endif sim
17336 .PHONY: maybe-dvi-sim dvi-sim
17337 maybe-dvi-sim:
17338 @if sim
17339 maybe-dvi-sim: dvi-sim
17341 dvi-sim: \
17342 configure-sim
17343 @[ -f ./sim/Makefile ] || exit 0; \
17344 r=`${PWD_COMMAND}`; export r; \
17345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17346 $(SET_LIB_PATH) \
17347 $(HOST_EXPORTS) \
17348 for flag in $(EXTRA_HOST_FLAGS); do \
17349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17350 done; \
17351 echo "Doing dvi in sim" ; \
17352 (cd sim && \
17353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17355 "RANLIB=$${RANLIB}" \
17356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17357 dvi) \
17358 || exit 1
17360 @endif sim
17362 .PHONY: maybe-TAGS-sim TAGS-sim
17363 maybe-TAGS-sim:
17364 @if sim
17365 maybe-TAGS-sim: TAGS-sim
17367 TAGS-sim: \
17368 configure-sim
17369 @[ -f ./sim/Makefile ] || exit 0; \
17370 r=`${PWD_COMMAND}`; export r; \
17371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17372 $(SET_LIB_PATH) \
17373 $(HOST_EXPORTS) \
17374 for flag in $(EXTRA_HOST_FLAGS); do \
17375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17376 done; \
17377 echo "Doing TAGS in sim" ; \
17378 (cd sim && \
17379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17381 "RANLIB=$${RANLIB}" \
17382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17383 TAGS) \
17384 || exit 1
17386 @endif sim
17388 .PHONY: maybe-install-info-sim install-info-sim
17389 maybe-install-info-sim:
17390 @if sim
17391 maybe-install-info-sim: install-info-sim
17393 install-info-sim: \
17394 configure-sim \
17395 info-sim
17396 @[ -f ./sim/Makefile ] || exit 0; \
17397 r=`${PWD_COMMAND}`; export r; \
17398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17399 $(SET_LIB_PATH) \
17400 $(HOST_EXPORTS) \
17401 for flag in $(EXTRA_HOST_FLAGS); do \
17402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17403 done; \
17404 echo "Doing install-info in sim" ; \
17405 (cd sim && \
17406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17408 "RANLIB=$${RANLIB}" \
17409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17410 install-info) \
17411 || exit 1
17413 @endif sim
17415 .PHONY: maybe-installcheck-sim installcheck-sim
17416 maybe-installcheck-sim:
17417 @if sim
17418 maybe-installcheck-sim: installcheck-sim
17420 installcheck-sim: \
17421 configure-sim
17422 @[ -f ./sim/Makefile ] || exit 0; \
17423 r=`${PWD_COMMAND}`; export r; \
17424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17425 $(SET_LIB_PATH) \
17426 $(HOST_EXPORTS) \
17427 for flag in $(EXTRA_HOST_FLAGS); do \
17428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17429 done; \
17430 echo "Doing installcheck in sim" ; \
17431 (cd sim && \
17432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17434 "RANLIB=$${RANLIB}" \
17435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17436 installcheck) \
17437 || exit 1
17439 @endif sim
17441 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17442 maybe-mostlyclean-sim:
17443 @if sim
17444 maybe-mostlyclean-sim: mostlyclean-sim
17446 mostlyclean-sim:
17447 @[ -f ./sim/Makefile ] || exit 0; \
17448 r=`${PWD_COMMAND}`; export r; \
17449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17450 $(SET_LIB_PATH) \
17451 $(HOST_EXPORTS) \
17452 for flag in $(EXTRA_HOST_FLAGS); do \
17453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17454 done; \
17455 echo "Doing mostlyclean in sim" ; \
17456 (cd sim && \
17457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17459 "RANLIB=$${RANLIB}" \
17460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17461 mostlyclean) \
17462 || exit 1
17464 @endif sim
17466 .PHONY: maybe-clean-sim clean-sim
17467 maybe-clean-sim:
17468 @if sim
17469 maybe-clean-sim: clean-sim
17471 clean-sim:
17472 @[ -f ./sim/Makefile ] || exit 0; \
17473 r=`${PWD_COMMAND}`; export r; \
17474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17475 $(SET_LIB_PATH) \
17476 $(HOST_EXPORTS) \
17477 for flag in $(EXTRA_HOST_FLAGS); do \
17478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17479 done; \
17480 echo "Doing clean in sim" ; \
17481 (cd sim && \
17482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17484 "RANLIB=$${RANLIB}" \
17485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17486 clean) \
17487 || exit 1
17489 @endif sim
17491 .PHONY: maybe-distclean-sim distclean-sim
17492 maybe-distclean-sim:
17493 @if sim
17494 maybe-distclean-sim: distclean-sim
17496 distclean-sim:
17497 @[ -f ./sim/Makefile ] || exit 0; \
17498 r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(SET_LIB_PATH) \
17501 $(HOST_EXPORTS) \
17502 for flag in $(EXTRA_HOST_FLAGS); do \
17503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17504 done; \
17505 echo "Doing distclean in sim" ; \
17506 (cd sim && \
17507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17509 "RANLIB=$${RANLIB}" \
17510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17511 distclean) \
17512 || exit 1
17514 @endif sim
17516 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17517 maybe-maintainer-clean-sim:
17518 @if sim
17519 maybe-maintainer-clean-sim: maintainer-clean-sim
17521 maintainer-clean-sim:
17522 @[ -f ./sim/Makefile ] || exit 0; \
17523 r=`${PWD_COMMAND}`; export r; \
17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 $(SET_LIB_PATH) \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS); do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing maintainer-clean in sim" ; \
17531 (cd sim && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17536 maintainer-clean) \
17537 || exit 1
17539 @endif sim
17542 .PHONY: configure-tar maybe-configure-tar
17543 maybe-configure-tar:
17544 @if tar
17545 maybe-configure-tar: configure-tar
17546 configure-tar:
17547 @test ! -f tar/Makefile || exit 0; \
17548 [ -d tar ] || mkdir tar; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(HOST_EXPORTS) \
17552 echo Configuring in tar; \
17553 cd tar || exit 1; \
17554 case $(srcdir) in \
17555 \.) \
17556 srcdiroption="--srcdir=."; \
17557 libsrcdir=".";; \
17558 /* | [A-Za-z]:[\\/]*) \
17559 srcdiroption="--srcdir=$(srcdir)/tar"; \
17560 libsrcdir="$$s/tar";; \
17561 *) \
17562 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17563 libsrcdir="$$s/tar";; \
17564 esac; \
17565 $(SHELL) $${libsrcdir}/configure \
17566 $(HOST_CONFIGARGS) $${srcdiroption} \
17567 || exit 1
17568 @endif tar
17570 .PHONY: all-tar maybe-all-tar
17571 maybe-all-tar:
17572 @if tar
17573 maybe-all-tar: all-tar
17574 all-tar: configure-tar
17575 @r=`${PWD_COMMAND}`; export r; \
17576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 $(SET_LIB_PATH) \
17578 $(HOST_EXPORTS) \
17579 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17580 @endif tar
17582 .PHONY: check-tar maybe-check-tar
17583 maybe-check-tar:
17584 @if tar
17585 maybe-check-tar: check-tar
17587 check-tar:
17588 @r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 $(SET_LIB_PATH) \
17591 $(HOST_EXPORTS) \
17592 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17594 @endif tar
17596 .PHONY: install-tar maybe-install-tar
17597 maybe-install-tar:
17598 @if tar
17599 maybe-install-tar: install-tar
17601 install-tar: installdirs
17602 @r=`${PWD_COMMAND}`; export r; \
17603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 $(SET_LIB_PATH) \
17605 $(HOST_EXPORTS) \
17606 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17608 @endif tar
17610 # Other targets (info, dvi, etc.)
17612 .PHONY: maybe-info-tar info-tar
17613 maybe-info-tar:
17614 @if tar
17615 maybe-info-tar: info-tar
17617 info-tar: \
17618 configure-tar
17619 @[ -f ./tar/Makefile ] || exit 0; \
17620 r=`${PWD_COMMAND}`; export r; \
17621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17622 $(SET_LIB_PATH) \
17623 $(HOST_EXPORTS) \
17624 for flag in $(EXTRA_HOST_FLAGS); do \
17625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17626 done; \
17627 echo "Doing info in tar" ; \
17628 (cd tar && \
17629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17631 "RANLIB=$${RANLIB}" \
17632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17633 info) \
17634 || exit 1
17636 @endif tar
17638 .PHONY: maybe-dvi-tar dvi-tar
17639 maybe-dvi-tar:
17640 @if tar
17641 maybe-dvi-tar: dvi-tar
17643 dvi-tar: \
17644 configure-tar
17645 @[ -f ./tar/Makefile ] || exit 0; \
17646 r=`${PWD_COMMAND}`; export r; \
17647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17648 $(SET_LIB_PATH) \
17649 $(HOST_EXPORTS) \
17650 for flag in $(EXTRA_HOST_FLAGS); do \
17651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17652 done; \
17653 echo "Doing dvi in tar" ; \
17654 (cd tar && \
17655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17657 "RANLIB=$${RANLIB}" \
17658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17659 dvi) \
17660 || exit 1
17662 @endif tar
17664 .PHONY: maybe-TAGS-tar TAGS-tar
17665 maybe-TAGS-tar:
17666 @if tar
17667 maybe-TAGS-tar: TAGS-tar
17669 TAGS-tar: \
17670 configure-tar
17671 @[ -f ./tar/Makefile ] || exit 0; \
17672 r=`${PWD_COMMAND}`; export r; \
17673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17674 $(SET_LIB_PATH) \
17675 $(HOST_EXPORTS) \
17676 for flag in $(EXTRA_HOST_FLAGS); do \
17677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17678 done; \
17679 echo "Doing TAGS in tar" ; \
17680 (cd tar && \
17681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17683 "RANLIB=$${RANLIB}" \
17684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17685 TAGS) \
17686 || exit 1
17688 @endif tar
17690 .PHONY: maybe-install-info-tar install-info-tar
17691 maybe-install-info-tar:
17692 @if tar
17693 maybe-install-info-tar: install-info-tar
17695 install-info-tar: \
17696 configure-tar \
17697 info-tar
17698 @[ -f ./tar/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17701 $(SET_LIB_PATH) \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS); do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing install-info in tar" ; \
17707 (cd tar && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17712 install-info) \
17713 || exit 1
17715 @endif tar
17717 .PHONY: maybe-installcheck-tar installcheck-tar
17718 maybe-installcheck-tar:
17719 @if tar
17720 maybe-installcheck-tar: installcheck-tar
17722 installcheck-tar: \
17723 configure-tar
17724 @[ -f ./tar/Makefile ] || exit 0; \
17725 r=`${PWD_COMMAND}`; export r; \
17726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17727 $(SET_LIB_PATH) \
17728 $(HOST_EXPORTS) \
17729 for flag in $(EXTRA_HOST_FLAGS); do \
17730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17731 done; \
17732 echo "Doing installcheck in tar" ; \
17733 (cd tar && \
17734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17736 "RANLIB=$${RANLIB}" \
17737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17738 installcheck) \
17739 || exit 1
17741 @endif tar
17743 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
17744 maybe-mostlyclean-tar:
17745 @if tar
17746 maybe-mostlyclean-tar: mostlyclean-tar
17748 mostlyclean-tar:
17749 @[ -f ./tar/Makefile ] || exit 0; \
17750 r=`${PWD_COMMAND}`; export r; \
17751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17752 $(SET_LIB_PATH) \
17753 $(HOST_EXPORTS) \
17754 for flag in $(EXTRA_HOST_FLAGS); do \
17755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17756 done; \
17757 echo "Doing mostlyclean in tar" ; \
17758 (cd tar && \
17759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17761 "RANLIB=$${RANLIB}" \
17762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17763 mostlyclean) \
17764 || exit 1
17766 @endif tar
17768 .PHONY: maybe-clean-tar clean-tar
17769 maybe-clean-tar:
17770 @if tar
17771 maybe-clean-tar: clean-tar
17773 clean-tar:
17774 @[ -f ./tar/Makefile ] || exit 0; \
17775 r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 $(SET_LIB_PATH) \
17778 $(HOST_EXPORTS) \
17779 for flag in $(EXTRA_HOST_FLAGS); do \
17780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17781 done; \
17782 echo "Doing clean in tar" ; \
17783 (cd tar && \
17784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17786 "RANLIB=$${RANLIB}" \
17787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17788 clean) \
17789 || exit 1
17791 @endif tar
17793 .PHONY: maybe-distclean-tar distclean-tar
17794 maybe-distclean-tar:
17795 @if tar
17796 maybe-distclean-tar: distclean-tar
17798 distclean-tar:
17799 @[ -f ./tar/Makefile ] || exit 0; \
17800 r=`${PWD_COMMAND}`; export r; \
17801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 $(SET_LIB_PATH) \
17803 $(HOST_EXPORTS) \
17804 for flag in $(EXTRA_HOST_FLAGS); do \
17805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17806 done; \
17807 echo "Doing distclean in tar" ; \
17808 (cd tar && \
17809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17811 "RANLIB=$${RANLIB}" \
17812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17813 distclean) \
17814 || exit 1
17816 @endif tar
17818 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
17819 maybe-maintainer-clean-tar:
17820 @if tar
17821 maybe-maintainer-clean-tar: maintainer-clean-tar
17823 maintainer-clean-tar:
17824 @[ -f ./tar/Makefile ] || exit 0; \
17825 r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17827 $(SET_LIB_PATH) \
17828 $(HOST_EXPORTS) \
17829 for flag in $(EXTRA_HOST_FLAGS); do \
17830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17831 done; \
17832 echo "Doing maintainer-clean in tar" ; \
17833 (cd tar && \
17834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17836 "RANLIB=$${RANLIB}" \
17837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17838 maintainer-clean) \
17839 || exit 1
17841 @endif tar
17844 .PHONY: configure-texinfo maybe-configure-texinfo
17845 maybe-configure-texinfo:
17846 @if texinfo
17847 maybe-configure-texinfo: configure-texinfo
17848 configure-texinfo:
17849 @test ! -f texinfo/Makefile || exit 0; \
17850 [ -d texinfo ] || mkdir texinfo; \
17851 r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 $(HOST_EXPORTS) \
17854 echo Configuring in texinfo; \
17855 cd texinfo || exit 1; \
17856 case $(srcdir) in \
17857 \.) \
17858 srcdiroption="--srcdir=."; \
17859 libsrcdir=".";; \
17860 /* | [A-Za-z]:[\\/]*) \
17861 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
17862 libsrcdir="$$s/texinfo";; \
17863 *) \
17864 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
17865 libsrcdir="$$s/texinfo";; \
17866 esac; \
17867 $(SHELL) $${libsrcdir}/configure \
17868 $(HOST_CONFIGARGS) $${srcdiroption} \
17869 || exit 1
17870 @endif texinfo
17872 .PHONY: all-texinfo maybe-all-texinfo
17873 maybe-all-texinfo:
17874 @if texinfo
17875 maybe-all-texinfo: all-texinfo
17876 all-texinfo: configure-texinfo
17877 @r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(SET_LIB_PATH) \
17880 $(HOST_EXPORTS) \
17881 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
17882 @endif texinfo
17884 .PHONY: check-texinfo maybe-check-texinfo
17885 maybe-check-texinfo:
17886 @if texinfo
17887 maybe-check-texinfo: check-texinfo
17889 check-texinfo:
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(SET_LIB_PATH) \
17893 $(HOST_EXPORTS) \
17894 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
17896 @endif texinfo
17898 .PHONY: install-texinfo maybe-install-texinfo
17899 maybe-install-texinfo:
17900 @if texinfo
17901 maybe-install-texinfo: install-texinfo
17903 install-texinfo:
17905 @endif texinfo
17907 # Other targets (info, dvi, etc.)
17909 .PHONY: maybe-info-texinfo info-texinfo
17910 maybe-info-texinfo:
17911 @if texinfo
17912 maybe-info-texinfo: info-texinfo
17914 info-texinfo: \
17915 configure-texinfo
17916 @[ -f ./texinfo/Makefile ] || exit 0; \
17917 r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 $(SET_LIB_PATH) \
17920 $(HOST_EXPORTS) \
17921 for flag in $(EXTRA_HOST_FLAGS); do \
17922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17923 done; \
17924 echo "Doing info in texinfo" ; \
17925 (cd texinfo && \
17926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17928 "RANLIB=$${RANLIB}" \
17929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17930 info) \
17931 || exit 1
17933 @endif texinfo
17935 .PHONY: maybe-dvi-texinfo dvi-texinfo
17936 maybe-dvi-texinfo:
17937 @if texinfo
17938 maybe-dvi-texinfo: dvi-texinfo
17940 dvi-texinfo: \
17941 configure-texinfo
17942 @[ -f ./texinfo/Makefile ] || exit 0; \
17943 r=`${PWD_COMMAND}`; export r; \
17944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17945 $(SET_LIB_PATH) \
17946 $(HOST_EXPORTS) \
17947 for flag in $(EXTRA_HOST_FLAGS); do \
17948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17949 done; \
17950 echo "Doing dvi in texinfo" ; \
17951 (cd texinfo && \
17952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17954 "RANLIB=$${RANLIB}" \
17955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17956 dvi) \
17957 || exit 1
17959 @endif texinfo
17961 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
17962 maybe-TAGS-texinfo:
17963 @if texinfo
17964 maybe-TAGS-texinfo: TAGS-texinfo
17966 TAGS-texinfo: \
17967 configure-texinfo
17968 @[ -f ./texinfo/Makefile ] || exit 0; \
17969 r=`${PWD_COMMAND}`; export r; \
17970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17971 $(SET_LIB_PATH) \
17972 $(HOST_EXPORTS) \
17973 for flag in $(EXTRA_HOST_FLAGS); do \
17974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17975 done; \
17976 echo "Doing TAGS in texinfo" ; \
17977 (cd texinfo && \
17978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17980 "RANLIB=$${RANLIB}" \
17981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17982 TAGS) \
17983 || exit 1
17985 @endif texinfo
17987 .PHONY: maybe-install-info-texinfo install-info-texinfo
17988 maybe-install-info-texinfo:
17989 @if texinfo
17990 maybe-install-info-texinfo: install-info-texinfo
17992 install-info-texinfo: \
17993 configure-texinfo \
17994 info-texinfo
17995 @[ -f ./texinfo/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(SET_LIB_PATH) \
17999 $(HOST_EXPORTS) \
18000 for flag in $(EXTRA_HOST_FLAGS); do \
18001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 done; \
18003 echo "Doing install-info in texinfo" ; \
18004 (cd texinfo && \
18005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18007 "RANLIB=$${RANLIB}" \
18008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18009 install-info) \
18010 || exit 1
18012 @endif texinfo
18014 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18015 maybe-installcheck-texinfo:
18016 @if texinfo
18017 maybe-installcheck-texinfo: installcheck-texinfo
18019 installcheck-texinfo: \
18020 configure-texinfo
18021 @[ -f ./texinfo/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 installcheck in texinfo" ; \
18030 (cd texinfo && \
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 installcheck) \
18036 || exit 1
18038 @endif texinfo
18040 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18041 maybe-mostlyclean-texinfo:
18042 @if texinfo
18043 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18045 mostlyclean-texinfo:
18046 @[ -f ./texinfo/Makefile ] || exit 0; \
18047 r=`${PWD_COMMAND}`; export r; \
18048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18049 $(SET_LIB_PATH) \
18050 $(HOST_EXPORTS) \
18051 for flag in $(EXTRA_HOST_FLAGS); do \
18052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18053 done; \
18054 echo "Doing mostlyclean in texinfo" ; \
18055 (cd texinfo && \
18056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18058 "RANLIB=$${RANLIB}" \
18059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18060 mostlyclean) \
18061 || exit 1
18063 @endif texinfo
18065 .PHONY: maybe-clean-texinfo clean-texinfo
18066 maybe-clean-texinfo:
18067 @if texinfo
18068 maybe-clean-texinfo: clean-texinfo
18070 clean-texinfo:
18071 @[ -f ./texinfo/Makefile ] || exit 0; \
18072 r=`${PWD_COMMAND}`; export r; \
18073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18074 $(SET_LIB_PATH) \
18075 $(HOST_EXPORTS) \
18076 for flag in $(EXTRA_HOST_FLAGS); do \
18077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18078 done; \
18079 echo "Doing clean in texinfo" ; \
18080 (cd texinfo && \
18081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18083 "RANLIB=$${RANLIB}" \
18084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18085 clean) \
18086 || exit 1
18088 @endif texinfo
18090 .PHONY: maybe-distclean-texinfo distclean-texinfo
18091 maybe-distclean-texinfo:
18092 @if texinfo
18093 maybe-distclean-texinfo: distclean-texinfo
18095 distclean-texinfo:
18096 @[ -f ./texinfo/Makefile ] || exit 0; \
18097 r=`${PWD_COMMAND}`; export r; \
18098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18099 $(SET_LIB_PATH) \
18100 $(HOST_EXPORTS) \
18101 for flag in $(EXTRA_HOST_FLAGS); do \
18102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18103 done; \
18104 echo "Doing distclean in texinfo" ; \
18105 (cd texinfo && \
18106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18108 "RANLIB=$${RANLIB}" \
18109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18110 distclean) \
18111 || exit 1
18113 @endif texinfo
18115 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18116 maybe-maintainer-clean-texinfo:
18117 @if texinfo
18118 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18120 maintainer-clean-texinfo:
18121 @[ -f ./texinfo/Makefile ] || exit 0; \
18122 r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 $(SET_LIB_PATH) \
18125 $(HOST_EXPORTS) \
18126 for flag in $(EXTRA_HOST_FLAGS); do \
18127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18128 done; \
18129 echo "Doing maintainer-clean in texinfo" ; \
18130 (cd texinfo && \
18131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18133 "RANLIB=$${RANLIB}" \
18134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18135 maintainer-clean) \
18136 || exit 1
18138 @endif texinfo
18141 .PHONY: configure-textutils maybe-configure-textutils
18142 maybe-configure-textutils:
18143 @if textutils
18144 maybe-configure-textutils: configure-textutils
18145 configure-textutils:
18146 @test ! -f textutils/Makefile || exit 0; \
18147 [ -d textutils ] || mkdir textutils; \
18148 r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 $(HOST_EXPORTS) \
18151 echo Configuring in textutils; \
18152 cd textutils || exit 1; \
18153 case $(srcdir) in \
18154 \.) \
18155 srcdiroption="--srcdir=."; \
18156 libsrcdir=".";; \
18157 /* | [A-Za-z]:[\\/]*) \
18158 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18159 libsrcdir="$$s/textutils";; \
18160 *) \
18161 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18162 libsrcdir="$$s/textutils";; \
18163 esac; \
18164 $(SHELL) $${libsrcdir}/configure \
18165 $(HOST_CONFIGARGS) $${srcdiroption} \
18166 || exit 1
18167 @endif textutils
18169 .PHONY: all-textutils maybe-all-textutils
18170 maybe-all-textutils:
18171 @if textutils
18172 maybe-all-textutils: all-textutils
18173 all-textutils: configure-textutils
18174 @r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 $(SET_LIB_PATH) \
18177 $(HOST_EXPORTS) \
18178 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18179 @endif textutils
18181 .PHONY: check-textutils maybe-check-textutils
18182 maybe-check-textutils:
18183 @if textutils
18184 maybe-check-textutils: check-textutils
18186 check-textutils:
18187 @r=`${PWD_COMMAND}`; export r; \
18188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18189 $(SET_LIB_PATH) \
18190 $(HOST_EXPORTS) \
18191 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18193 @endif textutils
18195 .PHONY: install-textutils maybe-install-textutils
18196 maybe-install-textutils:
18197 @if textutils
18198 maybe-install-textutils: install-textutils
18200 install-textutils: installdirs
18201 @r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 $(SET_LIB_PATH) \
18204 $(HOST_EXPORTS) \
18205 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18207 @endif textutils
18209 # Other targets (info, dvi, etc.)
18211 .PHONY: maybe-info-textutils info-textutils
18212 maybe-info-textutils:
18213 @if textutils
18214 maybe-info-textutils: info-textutils
18216 info-textutils: \
18217 configure-textutils
18218 @[ -f ./textutils/Makefile ] || exit 0; \
18219 r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18221 $(SET_LIB_PATH) \
18222 $(HOST_EXPORTS) \
18223 for flag in $(EXTRA_HOST_FLAGS); do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18225 done; \
18226 echo "Doing info in textutils" ; \
18227 (cd textutils && \
18228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230 "RANLIB=$${RANLIB}" \
18231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 info) \
18233 || exit 1
18235 @endif textutils
18237 .PHONY: maybe-dvi-textutils dvi-textutils
18238 maybe-dvi-textutils:
18239 @if textutils
18240 maybe-dvi-textutils: dvi-textutils
18242 dvi-textutils: \
18243 configure-textutils
18244 @[ -f ./textutils/Makefile ] || exit 0; \
18245 r=`${PWD_COMMAND}`; export r; \
18246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 $(SET_LIB_PATH) \
18248 $(HOST_EXPORTS) \
18249 for flag in $(EXTRA_HOST_FLAGS); do \
18250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18251 done; \
18252 echo "Doing dvi in textutils" ; \
18253 (cd textutils && \
18254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18256 "RANLIB=$${RANLIB}" \
18257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18258 dvi) \
18259 || exit 1
18261 @endif textutils
18263 .PHONY: maybe-TAGS-textutils TAGS-textutils
18264 maybe-TAGS-textutils:
18265 @if textutils
18266 maybe-TAGS-textutils: TAGS-textutils
18268 TAGS-textutils: \
18269 configure-textutils
18270 @[ -f ./textutils/Makefile ] || exit 0; \
18271 r=`${PWD_COMMAND}`; export r; \
18272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18273 $(SET_LIB_PATH) \
18274 $(HOST_EXPORTS) \
18275 for flag in $(EXTRA_HOST_FLAGS); do \
18276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18277 done; \
18278 echo "Doing TAGS in textutils" ; \
18279 (cd textutils && \
18280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18282 "RANLIB=$${RANLIB}" \
18283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18284 TAGS) \
18285 || exit 1
18287 @endif textutils
18289 .PHONY: maybe-install-info-textutils install-info-textutils
18290 maybe-install-info-textutils:
18291 @if textutils
18292 maybe-install-info-textutils: install-info-textutils
18294 install-info-textutils: \
18295 configure-textutils \
18296 info-textutils
18297 @[ -f ./textutils/Makefile ] || exit 0; \
18298 r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18300 $(SET_LIB_PATH) \
18301 $(HOST_EXPORTS) \
18302 for flag in $(EXTRA_HOST_FLAGS); do \
18303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18304 done; \
18305 echo "Doing install-info in textutils" ; \
18306 (cd textutils && \
18307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18309 "RANLIB=$${RANLIB}" \
18310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18311 install-info) \
18312 || exit 1
18314 @endif textutils
18316 .PHONY: maybe-installcheck-textutils installcheck-textutils
18317 maybe-installcheck-textutils:
18318 @if textutils
18319 maybe-installcheck-textutils: installcheck-textutils
18321 installcheck-textutils: \
18322 configure-textutils
18323 @[ -f ./textutils/Makefile ] || exit 0; \
18324 r=`${PWD_COMMAND}`; export r; \
18325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18326 $(SET_LIB_PATH) \
18327 $(HOST_EXPORTS) \
18328 for flag in $(EXTRA_HOST_FLAGS); do \
18329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18330 done; \
18331 echo "Doing installcheck in textutils" ; \
18332 (cd textutils && \
18333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18335 "RANLIB=$${RANLIB}" \
18336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18337 installcheck) \
18338 || exit 1
18340 @endif textutils
18342 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18343 maybe-mostlyclean-textutils:
18344 @if textutils
18345 maybe-mostlyclean-textutils: mostlyclean-textutils
18347 mostlyclean-textutils:
18348 @[ -f ./textutils/Makefile ] || exit 0; \
18349 r=`${PWD_COMMAND}`; export r; \
18350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18351 $(SET_LIB_PATH) \
18352 $(HOST_EXPORTS) \
18353 for flag in $(EXTRA_HOST_FLAGS); do \
18354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18355 done; \
18356 echo "Doing mostlyclean in textutils" ; \
18357 (cd textutils && \
18358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18360 "RANLIB=$${RANLIB}" \
18361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18362 mostlyclean) \
18363 || exit 1
18365 @endif textutils
18367 .PHONY: maybe-clean-textutils clean-textutils
18368 maybe-clean-textutils:
18369 @if textutils
18370 maybe-clean-textutils: clean-textutils
18372 clean-textutils:
18373 @[ -f ./textutils/Makefile ] || exit 0; \
18374 r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 $(SET_LIB_PATH) \
18377 $(HOST_EXPORTS) \
18378 for flag in $(EXTRA_HOST_FLAGS); do \
18379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18380 done; \
18381 echo "Doing clean in textutils" ; \
18382 (cd textutils && \
18383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18385 "RANLIB=$${RANLIB}" \
18386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18387 clean) \
18388 || exit 1
18390 @endif textutils
18392 .PHONY: maybe-distclean-textutils distclean-textutils
18393 maybe-distclean-textutils:
18394 @if textutils
18395 maybe-distclean-textutils: distclean-textutils
18397 distclean-textutils:
18398 @[ -f ./textutils/Makefile ] || exit 0; \
18399 r=`${PWD_COMMAND}`; export r; \
18400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18401 $(SET_LIB_PATH) \
18402 $(HOST_EXPORTS) \
18403 for flag in $(EXTRA_HOST_FLAGS); do \
18404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18405 done; \
18406 echo "Doing distclean in textutils" ; \
18407 (cd textutils && \
18408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18410 "RANLIB=$${RANLIB}" \
18411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18412 distclean) \
18413 || exit 1
18415 @endif textutils
18417 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18418 maybe-maintainer-clean-textutils:
18419 @if textutils
18420 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18422 maintainer-clean-textutils:
18423 @[ -f ./textutils/Makefile ] || exit 0; \
18424 r=`${PWD_COMMAND}`; export r; \
18425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18426 $(SET_LIB_PATH) \
18427 $(HOST_EXPORTS) \
18428 for flag in $(EXTRA_HOST_FLAGS); do \
18429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18430 done; \
18431 echo "Doing maintainer-clean in textutils" ; \
18432 (cd textutils && \
18433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18435 "RANLIB=$${RANLIB}" \
18436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18437 maintainer-clean) \
18438 || exit 1
18440 @endif textutils
18443 .PHONY: configure-time maybe-configure-time
18444 maybe-configure-time:
18445 @if time
18446 maybe-configure-time: configure-time
18447 configure-time:
18448 @test ! -f time/Makefile || exit 0; \
18449 [ -d time ] || mkdir time; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 $(HOST_EXPORTS) \
18453 echo Configuring in time; \
18454 cd time || exit 1; \
18455 case $(srcdir) in \
18456 \.) \
18457 srcdiroption="--srcdir=."; \
18458 libsrcdir=".";; \
18459 /* | [A-Za-z]:[\\/]*) \
18460 srcdiroption="--srcdir=$(srcdir)/time"; \
18461 libsrcdir="$$s/time";; \
18462 *) \
18463 srcdiroption="--srcdir=../$(srcdir)/time"; \
18464 libsrcdir="$$s/time";; \
18465 esac; \
18466 $(SHELL) $${libsrcdir}/configure \
18467 $(HOST_CONFIGARGS) $${srcdiroption} \
18468 || exit 1
18469 @endif time
18471 .PHONY: all-time maybe-all-time
18472 maybe-all-time:
18473 @if time
18474 maybe-all-time: all-time
18475 all-time: configure-time
18476 @r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18478 $(SET_LIB_PATH) \
18479 $(HOST_EXPORTS) \
18480 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18481 @endif time
18483 .PHONY: check-time maybe-check-time
18484 maybe-check-time:
18485 @if time
18486 maybe-check-time: check-time
18488 check-time:
18489 @r=`${PWD_COMMAND}`; export r; \
18490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18491 $(SET_LIB_PATH) \
18492 $(HOST_EXPORTS) \
18493 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18495 @endif time
18497 .PHONY: install-time maybe-install-time
18498 maybe-install-time:
18499 @if time
18500 maybe-install-time: install-time
18502 install-time: installdirs
18503 @r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(SET_LIB_PATH) \
18506 $(HOST_EXPORTS) \
18507 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18509 @endif time
18511 # Other targets (info, dvi, etc.)
18513 .PHONY: maybe-info-time info-time
18514 maybe-info-time:
18515 @if time
18516 maybe-info-time: info-time
18518 info-time: \
18519 configure-time
18520 @[ -f ./time/Makefile ] || exit 0; \
18521 r=`${PWD_COMMAND}`; export r; \
18522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18523 $(SET_LIB_PATH) \
18524 $(HOST_EXPORTS) \
18525 for flag in $(EXTRA_HOST_FLAGS); do \
18526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18527 done; \
18528 echo "Doing info in time" ; \
18529 (cd time && \
18530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18532 "RANLIB=$${RANLIB}" \
18533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18534 info) \
18535 || exit 1
18537 @endif time
18539 .PHONY: maybe-dvi-time dvi-time
18540 maybe-dvi-time:
18541 @if time
18542 maybe-dvi-time: dvi-time
18544 dvi-time: \
18545 configure-time
18546 @[ -f ./time/Makefile ] || exit 0; \
18547 r=`${PWD_COMMAND}`; export r; \
18548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18549 $(SET_LIB_PATH) \
18550 $(HOST_EXPORTS) \
18551 for flag in $(EXTRA_HOST_FLAGS); do \
18552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18553 done; \
18554 echo "Doing dvi in time" ; \
18555 (cd time && \
18556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18558 "RANLIB=$${RANLIB}" \
18559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18560 dvi) \
18561 || exit 1
18563 @endif time
18565 .PHONY: maybe-TAGS-time TAGS-time
18566 maybe-TAGS-time:
18567 @if time
18568 maybe-TAGS-time: TAGS-time
18570 TAGS-time: \
18571 configure-time
18572 @[ -f ./time/Makefile ] || exit 0; \
18573 r=`${PWD_COMMAND}`; export r; \
18574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18575 $(SET_LIB_PATH) \
18576 $(HOST_EXPORTS) \
18577 for flag in $(EXTRA_HOST_FLAGS); do \
18578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18579 done; \
18580 echo "Doing TAGS in time" ; \
18581 (cd time && \
18582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18584 "RANLIB=$${RANLIB}" \
18585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18586 TAGS) \
18587 || exit 1
18589 @endif time
18591 .PHONY: maybe-install-info-time install-info-time
18592 maybe-install-info-time:
18593 @if time
18594 maybe-install-info-time: install-info-time
18596 install-info-time: \
18597 configure-time \
18598 info-time
18599 @[ -f ./time/Makefile ] || exit 0; \
18600 r=`${PWD_COMMAND}`; export r; \
18601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18602 $(SET_LIB_PATH) \
18603 $(HOST_EXPORTS) \
18604 for flag in $(EXTRA_HOST_FLAGS); do \
18605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18606 done; \
18607 echo "Doing install-info in time" ; \
18608 (cd time && \
18609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18611 "RANLIB=$${RANLIB}" \
18612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18613 install-info) \
18614 || exit 1
18616 @endif time
18618 .PHONY: maybe-installcheck-time installcheck-time
18619 maybe-installcheck-time:
18620 @if time
18621 maybe-installcheck-time: installcheck-time
18623 installcheck-time: \
18624 configure-time
18625 @[ -f ./time/Makefile ] || exit 0; \
18626 r=`${PWD_COMMAND}`; export r; \
18627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18628 $(SET_LIB_PATH) \
18629 $(HOST_EXPORTS) \
18630 for flag in $(EXTRA_HOST_FLAGS); do \
18631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18632 done; \
18633 echo "Doing installcheck in time" ; \
18634 (cd time && \
18635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18637 "RANLIB=$${RANLIB}" \
18638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18639 installcheck) \
18640 || exit 1
18642 @endif time
18644 .PHONY: maybe-mostlyclean-time mostlyclean-time
18645 maybe-mostlyclean-time:
18646 @if time
18647 maybe-mostlyclean-time: mostlyclean-time
18649 mostlyclean-time:
18650 @[ -f ./time/Makefile ] || exit 0; \
18651 r=`${PWD_COMMAND}`; export r; \
18652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18653 $(SET_LIB_PATH) \
18654 $(HOST_EXPORTS) \
18655 for flag in $(EXTRA_HOST_FLAGS); do \
18656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18657 done; \
18658 echo "Doing mostlyclean in time" ; \
18659 (cd time && \
18660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18662 "RANLIB=$${RANLIB}" \
18663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18664 mostlyclean) \
18665 || exit 1
18667 @endif time
18669 .PHONY: maybe-clean-time clean-time
18670 maybe-clean-time:
18671 @if time
18672 maybe-clean-time: clean-time
18674 clean-time:
18675 @[ -f ./time/Makefile ] || exit 0; \
18676 r=`${PWD_COMMAND}`; export r; \
18677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18678 $(SET_LIB_PATH) \
18679 $(HOST_EXPORTS) \
18680 for flag in $(EXTRA_HOST_FLAGS); do \
18681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18682 done; \
18683 echo "Doing clean in time" ; \
18684 (cd time && \
18685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18687 "RANLIB=$${RANLIB}" \
18688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18689 clean) \
18690 || exit 1
18692 @endif time
18694 .PHONY: maybe-distclean-time distclean-time
18695 maybe-distclean-time:
18696 @if time
18697 maybe-distclean-time: distclean-time
18699 distclean-time:
18700 @[ -f ./time/Makefile ] || exit 0; \
18701 r=`${PWD_COMMAND}`; export r; \
18702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18703 $(SET_LIB_PATH) \
18704 $(HOST_EXPORTS) \
18705 for flag in $(EXTRA_HOST_FLAGS); do \
18706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18707 done; \
18708 echo "Doing distclean in time" ; \
18709 (cd time && \
18710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18712 "RANLIB=$${RANLIB}" \
18713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18714 distclean) \
18715 || exit 1
18717 @endif time
18719 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
18720 maybe-maintainer-clean-time:
18721 @if time
18722 maybe-maintainer-clean-time: maintainer-clean-time
18724 maintainer-clean-time:
18725 @[ -f ./time/Makefile ] || exit 0; \
18726 r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18728 $(SET_LIB_PATH) \
18729 $(HOST_EXPORTS) \
18730 for flag in $(EXTRA_HOST_FLAGS); do \
18731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18732 done; \
18733 echo "Doing maintainer-clean in time" ; \
18734 (cd time && \
18735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18737 "RANLIB=$${RANLIB}" \
18738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18739 maintainer-clean) \
18740 || exit 1
18742 @endif time
18745 .PHONY: configure-uudecode maybe-configure-uudecode
18746 maybe-configure-uudecode:
18747 @if uudecode
18748 maybe-configure-uudecode: configure-uudecode
18749 configure-uudecode:
18750 @test ! -f uudecode/Makefile || exit 0; \
18751 [ -d uudecode ] || mkdir uudecode; \
18752 r=`${PWD_COMMAND}`; export r; \
18753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18754 $(HOST_EXPORTS) \
18755 echo Configuring in uudecode; \
18756 cd uudecode || exit 1; \
18757 case $(srcdir) in \
18758 \.) \
18759 srcdiroption="--srcdir=."; \
18760 libsrcdir=".";; \
18761 /* | [A-Za-z]:[\\/]*) \
18762 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
18763 libsrcdir="$$s/uudecode";; \
18764 *) \
18765 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
18766 libsrcdir="$$s/uudecode";; \
18767 esac; \
18768 $(SHELL) $${libsrcdir}/configure \
18769 $(HOST_CONFIGARGS) $${srcdiroption} \
18770 || exit 1
18771 @endif uudecode
18773 .PHONY: all-uudecode maybe-all-uudecode
18774 maybe-all-uudecode:
18775 @if uudecode
18776 maybe-all-uudecode: all-uudecode
18777 all-uudecode: configure-uudecode
18778 @r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 $(SET_LIB_PATH) \
18781 $(HOST_EXPORTS) \
18782 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
18783 @endif uudecode
18785 .PHONY: check-uudecode maybe-check-uudecode
18786 maybe-check-uudecode:
18787 @if uudecode
18788 maybe-check-uudecode: check-uudecode
18790 check-uudecode:
18791 @r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 $(SET_LIB_PATH) \
18794 $(HOST_EXPORTS) \
18795 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
18797 @endif uudecode
18799 .PHONY: install-uudecode maybe-install-uudecode
18800 maybe-install-uudecode:
18801 @if uudecode
18802 maybe-install-uudecode: install-uudecode
18804 install-uudecode: installdirs
18805 @r=`${PWD_COMMAND}`; export r; \
18806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18807 $(SET_LIB_PATH) \
18808 $(HOST_EXPORTS) \
18809 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
18811 @endif uudecode
18813 # Other targets (info, dvi, etc.)
18815 .PHONY: maybe-info-uudecode info-uudecode
18816 maybe-info-uudecode:
18817 @if uudecode
18818 maybe-info-uudecode: info-uudecode
18820 info-uudecode: \
18821 configure-uudecode
18822 @[ -f ./uudecode/Makefile ] || exit 0; \
18823 r=`${PWD_COMMAND}`; export r; \
18824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18825 $(SET_LIB_PATH) \
18826 $(HOST_EXPORTS) \
18827 for flag in $(EXTRA_HOST_FLAGS); do \
18828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18829 done; \
18830 echo "Doing info in uudecode" ; \
18831 (cd uudecode && \
18832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18834 "RANLIB=$${RANLIB}" \
18835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18836 info) \
18837 || exit 1
18839 @endif uudecode
18841 .PHONY: maybe-dvi-uudecode dvi-uudecode
18842 maybe-dvi-uudecode:
18843 @if uudecode
18844 maybe-dvi-uudecode: dvi-uudecode
18846 dvi-uudecode: \
18847 configure-uudecode
18848 @[ -f ./uudecode/Makefile ] || exit 0; \
18849 r=`${PWD_COMMAND}`; export r; \
18850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18851 $(SET_LIB_PATH) \
18852 $(HOST_EXPORTS) \
18853 for flag in $(EXTRA_HOST_FLAGS); do \
18854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18855 done; \
18856 echo "Doing dvi in uudecode" ; \
18857 (cd uudecode && \
18858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18860 "RANLIB=$${RANLIB}" \
18861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18862 dvi) \
18863 || exit 1
18865 @endif uudecode
18867 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
18868 maybe-TAGS-uudecode:
18869 @if uudecode
18870 maybe-TAGS-uudecode: TAGS-uudecode
18872 TAGS-uudecode: \
18873 configure-uudecode
18874 @[ -f ./uudecode/Makefile ] || exit 0; \
18875 r=`${PWD_COMMAND}`; export r; \
18876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18877 $(SET_LIB_PATH) \
18878 $(HOST_EXPORTS) \
18879 for flag in $(EXTRA_HOST_FLAGS); do \
18880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18881 done; \
18882 echo "Doing TAGS in uudecode" ; \
18883 (cd uudecode && \
18884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18886 "RANLIB=$${RANLIB}" \
18887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18888 TAGS) \
18889 || exit 1
18891 @endif uudecode
18893 .PHONY: maybe-install-info-uudecode install-info-uudecode
18894 maybe-install-info-uudecode:
18895 @if uudecode
18896 maybe-install-info-uudecode: install-info-uudecode
18898 install-info-uudecode: \
18899 configure-uudecode \
18900 info-uudecode
18901 @[ -f ./uudecode/Makefile ] || exit 0; \
18902 r=`${PWD_COMMAND}`; export r; \
18903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18904 $(SET_LIB_PATH) \
18905 $(HOST_EXPORTS) \
18906 for flag in $(EXTRA_HOST_FLAGS); do \
18907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18908 done; \
18909 echo "Doing install-info in uudecode" ; \
18910 (cd uudecode && \
18911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18913 "RANLIB=$${RANLIB}" \
18914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18915 install-info) \
18916 || exit 1
18918 @endif uudecode
18920 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
18921 maybe-installcheck-uudecode:
18922 @if uudecode
18923 maybe-installcheck-uudecode: installcheck-uudecode
18925 installcheck-uudecode: \
18926 configure-uudecode
18927 @[ -f ./uudecode/Makefile ] || exit 0; \
18928 r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930 $(SET_LIB_PATH) \
18931 $(HOST_EXPORTS) \
18932 for flag in $(EXTRA_HOST_FLAGS); do \
18933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18934 done; \
18935 echo "Doing installcheck in uudecode" ; \
18936 (cd uudecode && \
18937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18939 "RANLIB=$${RANLIB}" \
18940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18941 installcheck) \
18942 || exit 1
18944 @endif uudecode
18946 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
18947 maybe-mostlyclean-uudecode:
18948 @if uudecode
18949 maybe-mostlyclean-uudecode: mostlyclean-uudecode
18951 mostlyclean-uudecode:
18952 @[ -f ./uudecode/Makefile ] || exit 0; \
18953 r=`${PWD_COMMAND}`; export r; \
18954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18955 $(SET_LIB_PATH) \
18956 $(HOST_EXPORTS) \
18957 for flag in $(EXTRA_HOST_FLAGS); do \
18958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18959 done; \
18960 echo "Doing mostlyclean in uudecode" ; \
18961 (cd uudecode && \
18962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18964 "RANLIB=$${RANLIB}" \
18965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18966 mostlyclean) \
18967 || exit 1
18969 @endif uudecode
18971 .PHONY: maybe-clean-uudecode clean-uudecode
18972 maybe-clean-uudecode:
18973 @if uudecode
18974 maybe-clean-uudecode: clean-uudecode
18976 clean-uudecode:
18977 @[ -f ./uudecode/Makefile ] || exit 0; \
18978 r=`${PWD_COMMAND}`; export r; \
18979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18980 $(SET_LIB_PATH) \
18981 $(HOST_EXPORTS) \
18982 for flag in $(EXTRA_HOST_FLAGS); do \
18983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18984 done; \
18985 echo "Doing clean in uudecode" ; \
18986 (cd uudecode && \
18987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18989 "RANLIB=$${RANLIB}" \
18990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18991 clean) \
18992 || exit 1
18994 @endif uudecode
18996 .PHONY: maybe-distclean-uudecode distclean-uudecode
18997 maybe-distclean-uudecode:
18998 @if uudecode
18999 maybe-distclean-uudecode: distclean-uudecode
19001 distclean-uudecode:
19002 @[ -f ./uudecode/Makefile ] || exit 0; \
19003 r=`${PWD_COMMAND}`; export r; \
19004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19005 $(SET_LIB_PATH) \
19006 $(HOST_EXPORTS) \
19007 for flag in $(EXTRA_HOST_FLAGS); do \
19008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19009 done; \
19010 echo "Doing distclean in uudecode" ; \
19011 (cd uudecode && \
19012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19014 "RANLIB=$${RANLIB}" \
19015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19016 distclean) \
19017 || exit 1
19019 @endif uudecode
19021 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19022 maybe-maintainer-clean-uudecode:
19023 @if uudecode
19024 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19026 maintainer-clean-uudecode:
19027 @[ -f ./uudecode/Makefile ] || exit 0; \
19028 r=`${PWD_COMMAND}`; export r; \
19029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19030 $(SET_LIB_PATH) \
19031 $(HOST_EXPORTS) \
19032 for flag in $(EXTRA_HOST_FLAGS); do \
19033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19034 done; \
19035 echo "Doing maintainer-clean in uudecode" ; \
19036 (cd uudecode && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19041 maintainer-clean) \
19042 || exit 1
19044 @endif uudecode
19047 .PHONY: configure-wdiff maybe-configure-wdiff
19048 maybe-configure-wdiff:
19049 @if wdiff
19050 maybe-configure-wdiff: configure-wdiff
19051 configure-wdiff:
19052 @test ! -f wdiff/Makefile || exit 0; \
19053 [ -d wdiff ] || mkdir wdiff; \
19054 r=`${PWD_COMMAND}`; export r; \
19055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 $(HOST_EXPORTS) \
19057 echo Configuring in wdiff; \
19058 cd wdiff || exit 1; \
19059 case $(srcdir) in \
19060 \.) \
19061 srcdiroption="--srcdir=."; \
19062 libsrcdir=".";; \
19063 /* | [A-Za-z]:[\\/]*) \
19064 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19065 libsrcdir="$$s/wdiff";; \
19066 *) \
19067 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19068 libsrcdir="$$s/wdiff";; \
19069 esac; \
19070 $(SHELL) $${libsrcdir}/configure \
19071 $(HOST_CONFIGARGS) $${srcdiroption} \
19072 || exit 1
19073 @endif wdiff
19075 .PHONY: all-wdiff maybe-all-wdiff
19076 maybe-all-wdiff:
19077 @if wdiff
19078 maybe-all-wdiff: all-wdiff
19079 all-wdiff: configure-wdiff
19080 @r=`${PWD_COMMAND}`; export r; \
19081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19082 $(SET_LIB_PATH) \
19083 $(HOST_EXPORTS) \
19084 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19085 @endif wdiff
19087 .PHONY: check-wdiff maybe-check-wdiff
19088 maybe-check-wdiff:
19089 @if wdiff
19090 maybe-check-wdiff: check-wdiff
19092 check-wdiff:
19093 @r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 $(SET_LIB_PATH) \
19096 $(HOST_EXPORTS) \
19097 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19099 @endif wdiff
19101 .PHONY: install-wdiff maybe-install-wdiff
19102 maybe-install-wdiff:
19103 @if wdiff
19104 maybe-install-wdiff: install-wdiff
19106 install-wdiff: installdirs
19107 @r=`${PWD_COMMAND}`; export r; \
19108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19109 $(SET_LIB_PATH) \
19110 $(HOST_EXPORTS) \
19111 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19113 @endif wdiff
19115 # Other targets (info, dvi, etc.)
19117 .PHONY: maybe-info-wdiff info-wdiff
19118 maybe-info-wdiff:
19119 @if wdiff
19120 maybe-info-wdiff: info-wdiff
19122 info-wdiff: \
19123 configure-wdiff
19124 @[ -f ./wdiff/Makefile ] || exit 0; \
19125 r=`${PWD_COMMAND}`; export r; \
19126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19127 $(SET_LIB_PATH) \
19128 $(HOST_EXPORTS) \
19129 for flag in $(EXTRA_HOST_FLAGS); do \
19130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19131 done; \
19132 echo "Doing info in wdiff" ; \
19133 (cd wdiff && \
19134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19136 "RANLIB=$${RANLIB}" \
19137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19138 info) \
19139 || exit 1
19141 @endif wdiff
19143 .PHONY: maybe-dvi-wdiff dvi-wdiff
19144 maybe-dvi-wdiff:
19145 @if wdiff
19146 maybe-dvi-wdiff: dvi-wdiff
19148 dvi-wdiff: \
19149 configure-wdiff
19150 @[ -f ./wdiff/Makefile ] || exit 0; \
19151 r=`${PWD_COMMAND}`; export r; \
19152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19153 $(SET_LIB_PATH) \
19154 $(HOST_EXPORTS) \
19155 for flag in $(EXTRA_HOST_FLAGS); do \
19156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19157 done; \
19158 echo "Doing dvi in wdiff" ; \
19159 (cd wdiff && \
19160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19162 "RANLIB=$${RANLIB}" \
19163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19164 dvi) \
19165 || exit 1
19167 @endif wdiff
19169 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19170 maybe-TAGS-wdiff:
19171 @if wdiff
19172 maybe-TAGS-wdiff: TAGS-wdiff
19174 TAGS-wdiff: \
19175 configure-wdiff
19176 @[ -f ./wdiff/Makefile ] || exit 0; \
19177 r=`${PWD_COMMAND}`; export r; \
19178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19179 $(SET_LIB_PATH) \
19180 $(HOST_EXPORTS) \
19181 for flag in $(EXTRA_HOST_FLAGS); do \
19182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19183 done; \
19184 echo "Doing TAGS in wdiff" ; \
19185 (cd wdiff && \
19186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19188 "RANLIB=$${RANLIB}" \
19189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19190 TAGS) \
19191 || exit 1
19193 @endif wdiff
19195 .PHONY: maybe-install-info-wdiff install-info-wdiff
19196 maybe-install-info-wdiff:
19197 @if wdiff
19198 maybe-install-info-wdiff: install-info-wdiff
19200 install-info-wdiff: \
19201 configure-wdiff \
19202 info-wdiff
19203 @[ -f ./wdiff/Makefile ] || exit 0; \
19204 r=`${PWD_COMMAND}`; export r; \
19205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19206 $(SET_LIB_PATH) \
19207 $(HOST_EXPORTS) \
19208 for flag in $(EXTRA_HOST_FLAGS); do \
19209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19210 done; \
19211 echo "Doing install-info in wdiff" ; \
19212 (cd wdiff && \
19213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19215 "RANLIB=$${RANLIB}" \
19216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19217 install-info) \
19218 || exit 1
19220 @endif wdiff
19222 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19223 maybe-installcheck-wdiff:
19224 @if wdiff
19225 maybe-installcheck-wdiff: installcheck-wdiff
19227 installcheck-wdiff: \
19228 configure-wdiff
19229 @[ -f ./wdiff/Makefile ] || exit 0; \
19230 r=`${PWD_COMMAND}`; export r; \
19231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19232 $(SET_LIB_PATH) \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS); do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing installcheck in wdiff" ; \
19238 (cd wdiff && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19243 installcheck) \
19244 || exit 1
19246 @endif wdiff
19248 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19249 maybe-mostlyclean-wdiff:
19250 @if wdiff
19251 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19253 mostlyclean-wdiff:
19254 @[ -f ./wdiff/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(SET_LIB_PATH) \
19258 $(HOST_EXPORTS) \
19259 for flag in $(EXTRA_HOST_FLAGS); do \
19260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19261 done; \
19262 echo "Doing mostlyclean in wdiff" ; \
19263 (cd wdiff && \
19264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19266 "RANLIB=$${RANLIB}" \
19267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19268 mostlyclean) \
19269 || exit 1
19271 @endif wdiff
19273 .PHONY: maybe-clean-wdiff clean-wdiff
19274 maybe-clean-wdiff:
19275 @if wdiff
19276 maybe-clean-wdiff: clean-wdiff
19278 clean-wdiff:
19279 @[ -f ./wdiff/Makefile ] || exit 0; \
19280 r=`${PWD_COMMAND}`; export r; \
19281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19282 $(SET_LIB_PATH) \
19283 $(HOST_EXPORTS) \
19284 for flag in $(EXTRA_HOST_FLAGS); do \
19285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19286 done; \
19287 echo "Doing clean in wdiff" ; \
19288 (cd wdiff && \
19289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19291 "RANLIB=$${RANLIB}" \
19292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19293 clean) \
19294 || exit 1
19296 @endif wdiff
19298 .PHONY: maybe-distclean-wdiff distclean-wdiff
19299 maybe-distclean-wdiff:
19300 @if wdiff
19301 maybe-distclean-wdiff: distclean-wdiff
19303 distclean-wdiff:
19304 @[ -f ./wdiff/Makefile ] || exit 0; \
19305 r=`${PWD_COMMAND}`; export r; \
19306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 $(SET_LIB_PATH) \
19308 $(HOST_EXPORTS) \
19309 for flag in $(EXTRA_HOST_FLAGS); do \
19310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19311 done; \
19312 echo "Doing distclean in wdiff" ; \
19313 (cd wdiff && \
19314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19316 "RANLIB=$${RANLIB}" \
19317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19318 distclean) \
19319 || exit 1
19321 @endif wdiff
19323 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19324 maybe-maintainer-clean-wdiff:
19325 @if wdiff
19326 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19328 maintainer-clean-wdiff:
19329 @[ -f ./wdiff/Makefile ] || exit 0; \
19330 r=`${PWD_COMMAND}`; export r; \
19331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 $(SET_LIB_PATH) \
19333 $(HOST_EXPORTS) \
19334 for flag in $(EXTRA_HOST_FLAGS); do \
19335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19336 done; \
19337 echo "Doing maintainer-clean in wdiff" ; \
19338 (cd wdiff && \
19339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19341 "RANLIB=$${RANLIB}" \
19342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19343 maintainer-clean) \
19344 || exit 1
19346 @endif wdiff
19349 .PHONY: configure-zip maybe-configure-zip
19350 maybe-configure-zip:
19351 @if zip
19352 maybe-configure-zip: configure-zip
19353 configure-zip:
19354 @test ! -f zip/Makefile || exit 0; \
19355 [ -d zip ] || mkdir zip; \
19356 r=`${PWD_COMMAND}`; export r; \
19357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19358 $(HOST_EXPORTS) \
19359 echo Configuring in zip; \
19360 cd zip || exit 1; \
19361 case $(srcdir) in \
19362 \.) \
19363 srcdiroption="--srcdir=."; \
19364 libsrcdir=".";; \
19365 /* | [A-Za-z]:[\\/]*) \
19366 srcdiroption="--srcdir=$(srcdir)/zip"; \
19367 libsrcdir="$$s/zip";; \
19368 *) \
19369 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19370 libsrcdir="$$s/zip";; \
19371 esac; \
19372 $(SHELL) $${libsrcdir}/configure \
19373 $(HOST_CONFIGARGS) $${srcdiroption} \
19374 || exit 1
19375 @endif zip
19377 .PHONY: all-zip maybe-all-zip
19378 maybe-all-zip:
19379 @if zip
19380 maybe-all-zip: all-zip
19381 all-zip: configure-zip
19382 @r=`${PWD_COMMAND}`; export r; \
19383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19384 $(SET_LIB_PATH) \
19385 $(HOST_EXPORTS) \
19386 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19387 @endif zip
19389 .PHONY: check-zip maybe-check-zip
19390 maybe-check-zip:
19391 @if zip
19392 maybe-check-zip: check-zip
19394 # This module is only tested in a native toolchain.
19395 check-zip:
19396 @if [ '$(host)' = '$(target)' ] ; then \
19397 r=`${PWD_COMMAND}`; export r; \
19398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 $(SET_LIB_PATH) \
19400 $(HOST_EXPORTS) \
19401 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19404 @endif zip
19406 .PHONY: install-zip maybe-install-zip
19407 maybe-install-zip:
19408 @if zip
19409 maybe-install-zip: install-zip
19411 install-zip: installdirs
19412 @r=`${PWD_COMMAND}`; export r; \
19413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19414 $(SET_LIB_PATH) \
19415 $(HOST_EXPORTS) \
19416 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19418 @endif zip
19420 # Other targets (info, dvi, etc.)
19422 .PHONY: maybe-info-zip info-zip
19423 maybe-info-zip:
19424 @if zip
19425 maybe-info-zip: info-zip
19427 info-zip: \
19428 configure-zip
19429 @[ -f ./zip/Makefile ] || exit 0; \
19430 r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(SET_LIB_PATH) \
19433 $(HOST_EXPORTS) \
19434 for flag in $(EXTRA_HOST_FLAGS); do \
19435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19436 done; \
19437 echo "Doing info in zip" ; \
19438 (cd zip && \
19439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19441 "RANLIB=$${RANLIB}" \
19442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19443 info) \
19444 || exit 1
19446 @endif zip
19448 .PHONY: maybe-dvi-zip dvi-zip
19449 maybe-dvi-zip:
19450 @if zip
19451 maybe-dvi-zip: dvi-zip
19453 dvi-zip: \
19454 configure-zip
19455 @[ -f ./zip/Makefile ] || exit 0; \
19456 r=`${PWD_COMMAND}`; export r; \
19457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19458 $(SET_LIB_PATH) \
19459 $(HOST_EXPORTS) \
19460 for flag in $(EXTRA_HOST_FLAGS); do \
19461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19462 done; \
19463 echo "Doing dvi in zip" ; \
19464 (cd zip && \
19465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19467 "RANLIB=$${RANLIB}" \
19468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19469 dvi) \
19470 || exit 1
19472 @endif zip
19474 .PHONY: maybe-TAGS-zip TAGS-zip
19475 maybe-TAGS-zip:
19476 @if zip
19477 maybe-TAGS-zip: TAGS-zip
19479 TAGS-zip: \
19480 configure-zip
19481 @[ -f ./zip/Makefile ] || exit 0; \
19482 r=`${PWD_COMMAND}`; export r; \
19483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19484 $(SET_LIB_PATH) \
19485 $(HOST_EXPORTS) \
19486 for flag in $(EXTRA_HOST_FLAGS); do \
19487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19488 done; \
19489 echo "Doing TAGS in zip" ; \
19490 (cd zip && \
19491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19493 "RANLIB=$${RANLIB}" \
19494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19495 TAGS) \
19496 || exit 1
19498 @endif zip
19500 .PHONY: maybe-install-info-zip install-info-zip
19501 maybe-install-info-zip:
19502 @if zip
19503 maybe-install-info-zip: install-info-zip
19505 install-info-zip: \
19506 configure-zip \
19507 info-zip
19508 @[ -f ./zip/Makefile ] || exit 0; \
19509 r=`${PWD_COMMAND}`; export r; \
19510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19511 $(SET_LIB_PATH) \
19512 $(HOST_EXPORTS) \
19513 for flag in $(EXTRA_HOST_FLAGS); do \
19514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19515 done; \
19516 echo "Doing install-info in zip" ; \
19517 (cd zip && \
19518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19520 "RANLIB=$${RANLIB}" \
19521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19522 install-info) \
19523 || exit 1
19525 @endif zip
19527 .PHONY: maybe-installcheck-zip installcheck-zip
19528 maybe-installcheck-zip:
19529 @if zip
19530 maybe-installcheck-zip: installcheck-zip
19532 installcheck-zip: \
19533 configure-zip
19534 @[ -f ./zip/Makefile ] || exit 0; \
19535 r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(SET_LIB_PATH) \
19538 $(HOST_EXPORTS) \
19539 for flag in $(EXTRA_HOST_FLAGS); do \
19540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19541 done; \
19542 echo "Doing installcheck in zip" ; \
19543 (cd zip && \
19544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19546 "RANLIB=$${RANLIB}" \
19547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19548 installcheck) \
19549 || exit 1
19551 @endif zip
19553 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19554 maybe-mostlyclean-zip:
19555 @if zip
19556 maybe-mostlyclean-zip: mostlyclean-zip
19558 mostlyclean-zip:
19559 @[ -f ./zip/Makefile ] || exit 0; \
19560 r=`${PWD_COMMAND}`; export r; \
19561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19562 $(SET_LIB_PATH) \
19563 $(HOST_EXPORTS) \
19564 for flag in $(EXTRA_HOST_FLAGS); do \
19565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19566 done; \
19567 echo "Doing mostlyclean in zip" ; \
19568 (cd zip && \
19569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19571 "RANLIB=$${RANLIB}" \
19572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19573 mostlyclean) \
19574 || exit 1
19576 @endif zip
19578 .PHONY: maybe-clean-zip clean-zip
19579 maybe-clean-zip:
19580 @if zip
19581 maybe-clean-zip: clean-zip
19583 clean-zip:
19584 @[ -f ./zip/Makefile ] || exit 0; \
19585 r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(SET_LIB_PATH) \
19588 $(HOST_EXPORTS) \
19589 for flag in $(EXTRA_HOST_FLAGS); do \
19590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19591 done; \
19592 echo "Doing clean in zip" ; \
19593 (cd zip && \
19594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19596 "RANLIB=$${RANLIB}" \
19597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19598 clean) \
19599 || exit 1
19601 @endif zip
19603 .PHONY: maybe-distclean-zip distclean-zip
19604 maybe-distclean-zip:
19605 @if zip
19606 maybe-distclean-zip: distclean-zip
19608 distclean-zip:
19609 @[ -f ./zip/Makefile ] || exit 0; \
19610 r=`${PWD_COMMAND}`; export r; \
19611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19612 $(SET_LIB_PATH) \
19613 $(HOST_EXPORTS) \
19614 for flag in $(EXTRA_HOST_FLAGS); do \
19615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 done; \
19617 echo "Doing distclean in zip" ; \
19618 (cd zip && \
19619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19621 "RANLIB=$${RANLIB}" \
19622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19623 distclean) \
19624 || exit 1
19626 @endif zip
19628 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19629 maybe-maintainer-clean-zip:
19630 @if zip
19631 maybe-maintainer-clean-zip: maintainer-clean-zip
19633 maintainer-clean-zip:
19634 @[ -f ./zip/Makefile ] || exit 0; \
19635 r=`${PWD_COMMAND}`; export r; \
19636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19637 $(SET_LIB_PATH) \
19638 $(HOST_EXPORTS) \
19639 for flag in $(EXTRA_HOST_FLAGS); do \
19640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19641 done; \
19642 echo "Doing maintainer-clean in zip" ; \
19643 (cd zip && \
19644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19646 "RANLIB=$${RANLIB}" \
19647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19648 maintainer-clean) \
19649 || exit 1
19651 @endif zip
19654 .PHONY: configure-zlib maybe-configure-zlib
19655 maybe-configure-zlib:
19656 @if zlib
19657 maybe-configure-zlib: configure-zlib
19658 configure-zlib:
19659 @test ! -f zlib/Makefile || exit 0; \
19660 [ -d zlib ] || mkdir zlib; \
19661 r=`${PWD_COMMAND}`; export r; \
19662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19663 $(HOST_EXPORTS) \
19664 echo Configuring in zlib; \
19665 cd zlib || exit 1; \
19666 case $(srcdir) in \
19667 \.) \
19668 srcdiroption="--srcdir=."; \
19669 libsrcdir=".";; \
19670 /* | [A-Za-z]:[\\/]*) \
19671 srcdiroption="--srcdir=$(srcdir)/zlib"; \
19672 libsrcdir="$$s/zlib";; \
19673 *) \
19674 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
19675 libsrcdir="$$s/zlib";; \
19676 esac; \
19677 $(SHELL) $${libsrcdir}/configure \
19678 $(HOST_CONFIGARGS) $${srcdiroption} \
19679 || exit 1
19680 @endif zlib
19682 .PHONY: all-zlib maybe-all-zlib
19683 maybe-all-zlib:
19684 @if zlib
19685 maybe-all-zlib: all-zlib
19686 all-zlib: configure-zlib
19687 @r=`${PWD_COMMAND}`; export r; \
19688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19689 $(SET_LIB_PATH) \
19690 $(HOST_EXPORTS) \
19691 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
19692 @endif zlib
19694 .PHONY: check-zlib maybe-check-zlib
19695 maybe-check-zlib:
19696 @if zlib
19697 maybe-check-zlib: check-zlib
19699 check-zlib:
19701 @endif zlib
19703 .PHONY: install-zlib maybe-install-zlib
19704 maybe-install-zlib:
19705 @if zlib
19706 maybe-install-zlib: install-zlib
19708 install-zlib:
19710 @endif zlib
19712 # Other targets (info, dvi, etc.)
19714 .PHONY: maybe-info-zlib info-zlib
19715 maybe-info-zlib:
19716 @if zlib
19717 maybe-info-zlib: info-zlib
19719 info-zlib: \
19720 configure-zlib
19721 @[ -f ./zlib/Makefile ] || exit 0; \
19722 r=`${PWD_COMMAND}`; export r; \
19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19724 $(SET_LIB_PATH) \
19725 $(HOST_EXPORTS) \
19726 for flag in $(EXTRA_HOST_FLAGS); do \
19727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19728 done; \
19729 echo "Doing info in zlib" ; \
19730 (cd zlib && \
19731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19733 "RANLIB=$${RANLIB}" \
19734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19735 info) \
19736 || exit 1
19738 @endif zlib
19740 .PHONY: maybe-dvi-zlib dvi-zlib
19741 maybe-dvi-zlib:
19742 @if zlib
19743 maybe-dvi-zlib: dvi-zlib
19745 dvi-zlib: \
19746 configure-zlib
19747 @[ -f ./zlib/Makefile ] || exit 0; \
19748 r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 $(SET_LIB_PATH) \
19751 $(HOST_EXPORTS) \
19752 for flag in $(EXTRA_HOST_FLAGS); do \
19753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19754 done; \
19755 echo "Doing dvi in zlib" ; \
19756 (cd zlib && \
19757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19759 "RANLIB=$${RANLIB}" \
19760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19761 dvi) \
19762 || exit 1
19764 @endif zlib
19766 .PHONY: maybe-TAGS-zlib TAGS-zlib
19767 maybe-TAGS-zlib:
19768 @if zlib
19769 maybe-TAGS-zlib: TAGS-zlib
19771 TAGS-zlib: \
19772 configure-zlib
19773 @[ -f ./zlib/Makefile ] || exit 0; \
19774 r=`${PWD_COMMAND}`; export r; \
19775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19776 $(SET_LIB_PATH) \
19777 $(HOST_EXPORTS) \
19778 for flag in $(EXTRA_HOST_FLAGS); do \
19779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19780 done; \
19781 echo "Doing TAGS in zlib" ; \
19782 (cd zlib && \
19783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19785 "RANLIB=$${RANLIB}" \
19786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19787 TAGS) \
19788 || exit 1
19790 @endif zlib
19792 .PHONY: maybe-install-info-zlib install-info-zlib
19793 maybe-install-info-zlib:
19794 @if zlib
19795 maybe-install-info-zlib: install-info-zlib
19797 install-info-zlib: \
19798 configure-zlib \
19799 info-zlib
19800 @[ -f ./zlib/Makefile ] || exit 0; \
19801 r=`${PWD_COMMAND}`; export r; \
19802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19803 $(SET_LIB_PATH) \
19804 $(HOST_EXPORTS) \
19805 for flag in $(EXTRA_HOST_FLAGS); do \
19806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19807 done; \
19808 echo "Doing install-info in zlib" ; \
19809 (cd zlib && \
19810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19812 "RANLIB=$${RANLIB}" \
19813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19814 install-info) \
19815 || exit 1
19817 @endif zlib
19819 .PHONY: maybe-installcheck-zlib installcheck-zlib
19820 maybe-installcheck-zlib:
19821 @if zlib
19822 maybe-installcheck-zlib: installcheck-zlib
19824 installcheck-zlib: \
19825 configure-zlib
19826 @[ -f ./zlib/Makefile ] || exit 0; \
19827 r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(SET_LIB_PATH) \
19830 $(HOST_EXPORTS) \
19831 for flag in $(EXTRA_HOST_FLAGS); do \
19832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19833 done; \
19834 echo "Doing installcheck in zlib" ; \
19835 (cd zlib && \
19836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19838 "RANLIB=$${RANLIB}" \
19839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19840 installcheck) \
19841 || exit 1
19843 @endif zlib
19845 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
19846 maybe-mostlyclean-zlib:
19847 @if zlib
19848 maybe-mostlyclean-zlib: mostlyclean-zlib
19850 mostlyclean-zlib:
19851 @[ -f ./zlib/Makefile ] || exit 0; \
19852 r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 $(SET_LIB_PATH) \
19855 $(HOST_EXPORTS) \
19856 for flag in $(EXTRA_HOST_FLAGS); do \
19857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19858 done; \
19859 echo "Doing mostlyclean in zlib" ; \
19860 (cd zlib && \
19861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19863 "RANLIB=$${RANLIB}" \
19864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19865 mostlyclean) \
19866 || exit 1
19868 @endif zlib
19870 .PHONY: maybe-clean-zlib clean-zlib
19871 maybe-clean-zlib:
19872 @if zlib
19873 maybe-clean-zlib: clean-zlib
19875 clean-zlib:
19876 @[ -f ./zlib/Makefile ] || exit 0; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 $(SET_LIB_PATH) \
19880 $(HOST_EXPORTS) \
19881 for flag in $(EXTRA_HOST_FLAGS); do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19883 done; \
19884 echo "Doing clean in zlib" ; \
19885 (cd zlib && \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19890 clean) \
19891 || exit 1
19893 @endif zlib
19895 .PHONY: maybe-distclean-zlib distclean-zlib
19896 maybe-distclean-zlib:
19897 @if zlib
19898 maybe-distclean-zlib: distclean-zlib
19900 distclean-zlib:
19901 @[ -f ./zlib/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 distclean in zlib" ; \
19910 (cd zlib && \
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 distclean) \
19916 || exit 1
19918 @endif zlib
19920 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
19921 maybe-maintainer-clean-zlib:
19922 @if zlib
19923 maybe-maintainer-clean-zlib: maintainer-clean-zlib
19925 maintainer-clean-zlib:
19926 @[ -f ./zlib/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 maintainer-clean in zlib" ; \
19935 (cd zlib && \
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 maintainer-clean) \
19941 || exit 1
19943 @endif zlib
19946 .PHONY: configure-gdb maybe-configure-gdb
19947 maybe-configure-gdb:
19948 @if gdb
19949 maybe-configure-gdb: configure-gdb
19950 configure-gdb:
19951 @test ! -f gdb/Makefile || exit 0; \
19952 [ -d gdb ] || mkdir gdb; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 $(HOST_EXPORTS) \
19956 echo Configuring in gdb; \
19957 cd gdb || exit 1; \
19958 case $(srcdir) in \
19959 \.) \
19960 srcdiroption="--srcdir=."; \
19961 libsrcdir=".";; \
19962 /* | [A-Za-z]:[\\/]*) \
19963 srcdiroption="--srcdir=$(srcdir)/gdb"; \
19964 libsrcdir="$$s/gdb";; \
19965 *) \
19966 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
19967 libsrcdir="$$s/gdb";; \
19968 esac; \
19969 $(SHELL) $${libsrcdir}/configure \
19970 $(HOST_CONFIGARGS) $${srcdiroption} \
19971 || exit 1
19972 @endif gdb
19974 .PHONY: all-gdb maybe-all-gdb
19975 maybe-all-gdb:
19976 @if gdb
19977 maybe-all-gdb: all-gdb
19978 all-gdb: configure-gdb
19979 @r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 $(SET_LIB_PATH) \
19982 $(HOST_EXPORTS) \
19983 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
19984 @endif gdb
19986 .PHONY: check-gdb maybe-check-gdb
19987 maybe-check-gdb:
19988 @if gdb
19989 maybe-check-gdb: check-gdb
19991 check-gdb:
19992 @r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(SET_LIB_PATH) \
19995 $(HOST_EXPORTS) \
19996 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
19998 @endif gdb
20000 .PHONY: install-gdb maybe-install-gdb
20001 maybe-install-gdb:
20002 @if gdb
20003 maybe-install-gdb: install-gdb
20005 install-gdb: installdirs
20006 @r=`${PWD_COMMAND}`; export r; \
20007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20008 $(SET_LIB_PATH) \
20009 $(HOST_EXPORTS) \
20010 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20012 @endif gdb
20014 # Other targets (info, dvi, etc.)
20016 .PHONY: maybe-info-gdb info-gdb
20017 maybe-info-gdb:
20018 @if gdb
20019 maybe-info-gdb: info-gdb
20021 info-gdb: \
20022 configure-gdb
20023 @[ -f ./gdb/Makefile ] || exit 0; \
20024 r=`${PWD_COMMAND}`; export r; \
20025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20026 $(SET_LIB_PATH) \
20027 $(HOST_EXPORTS) \
20028 for flag in $(EXTRA_HOST_FLAGS); do \
20029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20030 done; \
20031 echo "Doing info in gdb" ; \
20032 (cd gdb && \
20033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20035 "RANLIB=$${RANLIB}" \
20036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20037 info) \
20038 || exit 1
20040 @endif gdb
20042 .PHONY: maybe-dvi-gdb dvi-gdb
20043 maybe-dvi-gdb:
20044 @if gdb
20045 maybe-dvi-gdb: dvi-gdb
20047 dvi-gdb: \
20048 configure-gdb
20049 @[ -f ./gdb/Makefile ] || exit 0; \
20050 r=`${PWD_COMMAND}`; export r; \
20051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20052 $(SET_LIB_PATH) \
20053 $(HOST_EXPORTS) \
20054 for flag in $(EXTRA_HOST_FLAGS); do \
20055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20056 done; \
20057 echo "Doing dvi in gdb" ; \
20058 (cd gdb && \
20059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20061 "RANLIB=$${RANLIB}" \
20062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20063 dvi) \
20064 || exit 1
20066 @endif gdb
20068 .PHONY: maybe-TAGS-gdb TAGS-gdb
20069 maybe-TAGS-gdb:
20070 @if gdb
20071 maybe-TAGS-gdb: TAGS-gdb
20073 TAGS-gdb: \
20074 configure-gdb
20075 @[ -f ./gdb/Makefile ] || exit 0; \
20076 r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 $(SET_LIB_PATH) \
20079 $(HOST_EXPORTS) \
20080 for flag in $(EXTRA_HOST_FLAGS); do \
20081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20082 done; \
20083 echo "Doing TAGS in gdb" ; \
20084 (cd gdb && \
20085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20087 "RANLIB=$${RANLIB}" \
20088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20089 TAGS) \
20090 || exit 1
20092 @endif gdb
20094 .PHONY: maybe-install-info-gdb install-info-gdb
20095 maybe-install-info-gdb:
20096 @if gdb
20097 maybe-install-info-gdb: install-info-gdb
20099 install-info-gdb: \
20100 configure-gdb \
20101 info-gdb
20102 @[ -f ./gdb/Makefile ] || exit 0; \
20103 r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20105 $(SET_LIB_PATH) \
20106 $(HOST_EXPORTS) \
20107 for flag in $(EXTRA_HOST_FLAGS); do \
20108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20109 done; \
20110 echo "Doing install-info in gdb" ; \
20111 (cd gdb && \
20112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20114 "RANLIB=$${RANLIB}" \
20115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20116 install-info) \
20117 || exit 1
20119 @endif gdb
20121 .PHONY: maybe-installcheck-gdb installcheck-gdb
20122 maybe-installcheck-gdb:
20123 @if gdb
20124 maybe-installcheck-gdb: installcheck-gdb
20126 installcheck-gdb: \
20127 configure-gdb
20128 @[ -f ./gdb/Makefile ] || exit 0; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(SET_LIB_PATH) \
20132 $(HOST_EXPORTS) \
20133 for flag in $(EXTRA_HOST_FLAGS); do \
20134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20135 done; \
20136 echo "Doing installcheck in gdb" ; \
20137 (cd gdb && \
20138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20140 "RANLIB=$${RANLIB}" \
20141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20142 installcheck) \
20143 || exit 1
20145 @endif gdb
20147 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20148 maybe-mostlyclean-gdb:
20149 @if gdb
20150 maybe-mostlyclean-gdb: mostlyclean-gdb
20152 mostlyclean-gdb:
20153 @[ -f ./gdb/Makefile ] || exit 0; \
20154 r=`${PWD_COMMAND}`; export r; \
20155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20156 $(SET_LIB_PATH) \
20157 $(HOST_EXPORTS) \
20158 for flag in $(EXTRA_HOST_FLAGS); do \
20159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20160 done; \
20161 echo "Doing mostlyclean in gdb" ; \
20162 (cd gdb && \
20163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20165 "RANLIB=$${RANLIB}" \
20166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 mostlyclean) \
20168 || exit 1
20170 @endif gdb
20172 .PHONY: maybe-clean-gdb clean-gdb
20173 maybe-clean-gdb:
20174 @if gdb
20175 maybe-clean-gdb: clean-gdb
20177 clean-gdb:
20178 @[ -f ./gdb/Makefile ] || exit 0; \
20179 r=`${PWD_COMMAND}`; export r; \
20180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20181 $(SET_LIB_PATH) \
20182 $(HOST_EXPORTS) \
20183 for flag in $(EXTRA_HOST_FLAGS); do \
20184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20185 done; \
20186 echo "Doing clean in gdb" ; \
20187 (cd gdb && \
20188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20190 "RANLIB=$${RANLIB}" \
20191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20192 clean) \
20193 || exit 1
20195 @endif gdb
20197 .PHONY: maybe-distclean-gdb distclean-gdb
20198 maybe-distclean-gdb:
20199 @if gdb
20200 maybe-distclean-gdb: distclean-gdb
20202 distclean-gdb:
20203 @[ -f ./gdb/Makefile ] || exit 0; \
20204 r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 $(SET_LIB_PATH) \
20207 $(HOST_EXPORTS) \
20208 for flag in $(EXTRA_HOST_FLAGS); do \
20209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20210 done; \
20211 echo "Doing distclean in gdb" ; \
20212 (cd gdb && \
20213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20215 "RANLIB=$${RANLIB}" \
20216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20217 distclean) \
20218 || exit 1
20220 @endif gdb
20222 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20223 maybe-maintainer-clean-gdb:
20224 @if gdb
20225 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20227 maintainer-clean-gdb:
20228 @[ -f ./gdb/Makefile ] || exit 0; \
20229 r=`${PWD_COMMAND}`; export r; \
20230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20231 $(SET_LIB_PATH) \
20232 $(HOST_EXPORTS) \
20233 for flag in $(EXTRA_HOST_FLAGS); do \
20234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20235 done; \
20236 echo "Doing maintainer-clean in gdb" ; \
20237 (cd gdb && \
20238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20240 "RANLIB=$${RANLIB}" \
20241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20242 maintainer-clean) \
20243 || exit 1
20245 @endif gdb
20248 .PHONY: configure-expect maybe-configure-expect
20249 maybe-configure-expect:
20250 @if expect
20251 maybe-configure-expect: configure-expect
20252 configure-expect:
20253 @test ! -f expect/Makefile || exit 0; \
20254 [ -d expect ] || mkdir expect; \
20255 r=`${PWD_COMMAND}`; export r; \
20256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20257 $(HOST_EXPORTS) \
20258 echo Configuring in expect; \
20259 cd expect || exit 1; \
20260 case $(srcdir) in \
20261 \.) \
20262 srcdiroption="--srcdir=."; \
20263 libsrcdir=".";; \
20264 /* | [A-Za-z]:[\\/]*) \
20265 srcdiroption="--srcdir=$(srcdir)/expect"; \
20266 libsrcdir="$$s/expect";; \
20267 *) \
20268 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20269 libsrcdir="$$s/expect";; \
20270 esac; \
20271 $(SHELL) $${libsrcdir}/configure \
20272 $(HOST_CONFIGARGS) $${srcdiroption} \
20273 || exit 1
20274 @endif expect
20276 .PHONY: all-expect maybe-all-expect
20277 maybe-all-expect:
20278 @if expect
20279 maybe-all-expect: all-expect
20280 all-expect: configure-expect
20281 @r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 $(SET_LIB_PATH) \
20284 $(HOST_EXPORTS) \
20285 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20286 @endif expect
20288 .PHONY: check-expect maybe-check-expect
20289 maybe-check-expect:
20290 @if expect
20291 maybe-check-expect: check-expect
20293 check-expect:
20294 @r=`${PWD_COMMAND}`; export r; \
20295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20296 $(SET_LIB_PATH) \
20297 $(HOST_EXPORTS) \
20298 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20300 @endif expect
20302 .PHONY: install-expect maybe-install-expect
20303 maybe-install-expect:
20304 @if expect
20305 maybe-install-expect: install-expect
20307 install-expect: installdirs
20308 @r=`${PWD_COMMAND}`; export r; \
20309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 $(SET_LIB_PATH) \
20311 $(HOST_EXPORTS) \
20312 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20314 @endif expect
20316 # Other targets (info, dvi, etc.)
20318 .PHONY: maybe-info-expect info-expect
20319 maybe-info-expect:
20320 @if expect
20321 maybe-info-expect: info-expect
20323 info-expect: \
20324 configure-expect
20325 @[ -f ./expect/Makefile ] || exit 0; \
20326 r=`${PWD_COMMAND}`; export r; \
20327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20328 $(SET_LIB_PATH) \
20329 $(HOST_EXPORTS) \
20330 for flag in $(EXTRA_HOST_FLAGS); do \
20331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20332 done; \
20333 echo "Doing info in expect" ; \
20334 (cd expect && \
20335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20337 "RANLIB=$${RANLIB}" \
20338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20339 info) \
20340 || exit 1
20342 @endif expect
20344 .PHONY: maybe-dvi-expect dvi-expect
20345 maybe-dvi-expect:
20346 @if expect
20347 maybe-dvi-expect: dvi-expect
20349 dvi-expect: \
20350 configure-expect
20351 @[ -f ./expect/Makefile ] || exit 0; \
20352 r=`${PWD_COMMAND}`; export r; \
20353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20354 $(SET_LIB_PATH) \
20355 $(HOST_EXPORTS) \
20356 for flag in $(EXTRA_HOST_FLAGS); do \
20357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20358 done; \
20359 echo "Doing dvi in expect" ; \
20360 (cd expect && \
20361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20363 "RANLIB=$${RANLIB}" \
20364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20365 dvi) \
20366 || exit 1
20368 @endif expect
20370 .PHONY: maybe-TAGS-expect TAGS-expect
20371 maybe-TAGS-expect:
20372 @if expect
20373 maybe-TAGS-expect: TAGS-expect
20375 TAGS-expect: \
20376 configure-expect
20377 @[ -f ./expect/Makefile ] || exit 0; \
20378 r=`${PWD_COMMAND}`; export r; \
20379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20380 $(SET_LIB_PATH) \
20381 $(HOST_EXPORTS) \
20382 for flag in $(EXTRA_HOST_FLAGS); do \
20383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20384 done; \
20385 echo "Doing TAGS in expect" ; \
20386 (cd expect && \
20387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20389 "RANLIB=$${RANLIB}" \
20390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20391 TAGS) \
20392 || exit 1
20394 @endif expect
20396 .PHONY: maybe-install-info-expect install-info-expect
20397 maybe-install-info-expect:
20398 @if expect
20399 maybe-install-info-expect: install-info-expect
20401 install-info-expect: \
20402 configure-expect \
20403 info-expect
20404 @[ -f ./expect/Makefile ] || exit 0; \
20405 r=`${PWD_COMMAND}`; export r; \
20406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20407 $(SET_LIB_PATH) \
20408 $(HOST_EXPORTS) \
20409 for flag in $(EXTRA_HOST_FLAGS); do \
20410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20411 done; \
20412 echo "Doing install-info in expect" ; \
20413 (cd expect && \
20414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20416 "RANLIB=$${RANLIB}" \
20417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20418 install-info) \
20419 || exit 1
20421 @endif expect
20423 .PHONY: maybe-installcheck-expect installcheck-expect
20424 maybe-installcheck-expect:
20425 @if expect
20426 maybe-installcheck-expect: installcheck-expect
20428 installcheck-expect: \
20429 configure-expect
20430 @[ -f ./expect/Makefile ] || exit 0; \
20431 r=`${PWD_COMMAND}`; export r; \
20432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20433 $(SET_LIB_PATH) \
20434 $(HOST_EXPORTS) \
20435 for flag in $(EXTRA_HOST_FLAGS); do \
20436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20437 done; \
20438 echo "Doing installcheck in expect" ; \
20439 (cd expect && \
20440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20442 "RANLIB=$${RANLIB}" \
20443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20444 installcheck) \
20445 || exit 1
20447 @endif expect
20449 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20450 maybe-mostlyclean-expect:
20451 @if expect
20452 maybe-mostlyclean-expect: mostlyclean-expect
20454 mostlyclean-expect:
20455 @[ -f ./expect/Makefile ] || exit 0; \
20456 r=`${PWD_COMMAND}`; export r; \
20457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20458 $(SET_LIB_PATH) \
20459 $(HOST_EXPORTS) \
20460 for flag in $(EXTRA_HOST_FLAGS); do \
20461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20462 done; \
20463 echo "Doing mostlyclean in expect" ; \
20464 (cd expect && \
20465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20467 "RANLIB=$${RANLIB}" \
20468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20469 mostlyclean) \
20470 || exit 1
20472 @endif expect
20474 .PHONY: maybe-clean-expect clean-expect
20475 maybe-clean-expect:
20476 @if expect
20477 maybe-clean-expect: clean-expect
20479 clean-expect:
20480 @[ -f ./expect/Makefile ] || exit 0; \
20481 r=`${PWD_COMMAND}`; export r; \
20482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20483 $(SET_LIB_PATH) \
20484 $(HOST_EXPORTS) \
20485 for flag in $(EXTRA_HOST_FLAGS); do \
20486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20487 done; \
20488 echo "Doing clean in expect" ; \
20489 (cd expect && \
20490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20492 "RANLIB=$${RANLIB}" \
20493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20494 clean) \
20495 || exit 1
20497 @endif expect
20499 .PHONY: maybe-distclean-expect distclean-expect
20500 maybe-distclean-expect:
20501 @if expect
20502 maybe-distclean-expect: distclean-expect
20504 distclean-expect:
20505 @[ -f ./expect/Makefile ] || exit 0; \
20506 r=`${PWD_COMMAND}`; export r; \
20507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 $(SET_LIB_PATH) \
20509 $(HOST_EXPORTS) \
20510 for flag in $(EXTRA_HOST_FLAGS); do \
20511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20512 done; \
20513 echo "Doing distclean in expect" ; \
20514 (cd expect && \
20515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20517 "RANLIB=$${RANLIB}" \
20518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20519 distclean) \
20520 || exit 1
20522 @endif expect
20524 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20525 maybe-maintainer-clean-expect:
20526 @if expect
20527 maybe-maintainer-clean-expect: maintainer-clean-expect
20529 maintainer-clean-expect:
20530 @[ -f ./expect/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 maintainer-clean in expect" ; \
20539 (cd expect && \
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 maintainer-clean) \
20545 || exit 1
20547 @endif expect
20550 .PHONY: configure-guile maybe-configure-guile
20551 maybe-configure-guile:
20552 @if guile
20553 maybe-configure-guile: configure-guile
20554 configure-guile:
20555 @test ! -f guile/Makefile || exit 0; \
20556 [ -d guile ] || mkdir guile; \
20557 r=`${PWD_COMMAND}`; export r; \
20558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20559 $(HOST_EXPORTS) \
20560 echo Configuring in guile; \
20561 cd guile || exit 1; \
20562 case $(srcdir) in \
20563 \.) \
20564 srcdiroption="--srcdir=."; \
20565 libsrcdir=".";; \
20566 /* | [A-Za-z]:[\\/]*) \
20567 srcdiroption="--srcdir=$(srcdir)/guile"; \
20568 libsrcdir="$$s/guile";; \
20569 *) \
20570 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20571 libsrcdir="$$s/guile";; \
20572 esac; \
20573 $(SHELL) $${libsrcdir}/configure \
20574 $(HOST_CONFIGARGS) $${srcdiroption} \
20575 || exit 1
20576 @endif guile
20578 .PHONY: all-guile maybe-all-guile
20579 maybe-all-guile:
20580 @if guile
20581 maybe-all-guile: all-guile
20582 all-guile: configure-guile
20583 @r=`${PWD_COMMAND}`; export r; \
20584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20585 $(SET_LIB_PATH) \
20586 $(HOST_EXPORTS) \
20587 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20588 @endif guile
20590 .PHONY: check-guile maybe-check-guile
20591 maybe-check-guile:
20592 @if guile
20593 maybe-check-guile: check-guile
20595 check-guile:
20596 @r=`${PWD_COMMAND}`; export r; \
20597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20598 $(SET_LIB_PATH) \
20599 $(HOST_EXPORTS) \
20600 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20602 @endif guile
20604 .PHONY: install-guile maybe-install-guile
20605 maybe-install-guile:
20606 @if guile
20607 maybe-install-guile: install-guile
20609 install-guile: installdirs
20610 @r=`${PWD_COMMAND}`; export r; \
20611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20612 $(SET_LIB_PATH) \
20613 $(HOST_EXPORTS) \
20614 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20616 @endif guile
20618 # Other targets (info, dvi, etc.)
20620 .PHONY: maybe-info-guile info-guile
20621 maybe-info-guile:
20622 @if guile
20623 maybe-info-guile: info-guile
20625 info-guile: \
20626 configure-guile
20627 @[ -f ./guile/Makefile ] || exit 0; \
20628 r=`${PWD_COMMAND}`; export r; \
20629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20630 $(SET_LIB_PATH) \
20631 $(HOST_EXPORTS) \
20632 for flag in $(EXTRA_HOST_FLAGS); do \
20633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20634 done; \
20635 echo "Doing info in guile" ; \
20636 (cd guile && \
20637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20639 "RANLIB=$${RANLIB}" \
20640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20641 info) \
20642 || exit 1
20644 @endif guile
20646 .PHONY: maybe-dvi-guile dvi-guile
20647 maybe-dvi-guile:
20648 @if guile
20649 maybe-dvi-guile: dvi-guile
20651 dvi-guile: \
20652 configure-guile
20653 @[ -f ./guile/Makefile ] || exit 0; \
20654 r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(SET_LIB_PATH) \
20657 $(HOST_EXPORTS) \
20658 for flag in $(EXTRA_HOST_FLAGS); do \
20659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20660 done; \
20661 echo "Doing dvi in guile" ; \
20662 (cd guile && \
20663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20665 "RANLIB=$${RANLIB}" \
20666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20667 dvi) \
20668 || exit 1
20670 @endif guile
20672 .PHONY: maybe-TAGS-guile TAGS-guile
20673 maybe-TAGS-guile:
20674 @if guile
20675 maybe-TAGS-guile: TAGS-guile
20677 TAGS-guile: \
20678 configure-guile
20679 @[ -f ./guile/Makefile ] || exit 0; \
20680 r=`${PWD_COMMAND}`; export r; \
20681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 $(SET_LIB_PATH) \
20683 $(HOST_EXPORTS) \
20684 for flag in $(EXTRA_HOST_FLAGS); do \
20685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20686 done; \
20687 echo "Doing TAGS in guile" ; \
20688 (cd guile && \
20689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20691 "RANLIB=$${RANLIB}" \
20692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20693 TAGS) \
20694 || exit 1
20696 @endif guile
20698 .PHONY: maybe-install-info-guile install-info-guile
20699 maybe-install-info-guile:
20700 @if guile
20701 maybe-install-info-guile: install-info-guile
20703 install-info-guile: \
20704 configure-guile \
20705 info-guile
20706 @[ -f ./guile/Makefile ] || exit 0; \
20707 r=`${PWD_COMMAND}`; export r; \
20708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20709 $(SET_LIB_PATH) \
20710 $(HOST_EXPORTS) \
20711 for flag in $(EXTRA_HOST_FLAGS); do \
20712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20713 done; \
20714 echo "Doing install-info in guile" ; \
20715 (cd guile && \
20716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20718 "RANLIB=$${RANLIB}" \
20719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20720 install-info) \
20721 || exit 1
20723 @endif guile
20725 .PHONY: maybe-installcheck-guile installcheck-guile
20726 maybe-installcheck-guile:
20727 @if guile
20728 maybe-installcheck-guile: installcheck-guile
20730 installcheck-guile: \
20731 configure-guile
20732 @[ -f ./guile/Makefile ] || exit 0; \
20733 r=`${PWD_COMMAND}`; export r; \
20734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 $(SET_LIB_PATH) \
20736 $(HOST_EXPORTS) \
20737 for flag in $(EXTRA_HOST_FLAGS); do \
20738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20739 done; \
20740 echo "Doing installcheck in guile" ; \
20741 (cd guile && \
20742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20744 "RANLIB=$${RANLIB}" \
20745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20746 installcheck) \
20747 || exit 1
20749 @endif guile
20751 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
20752 maybe-mostlyclean-guile:
20753 @if guile
20754 maybe-mostlyclean-guile: mostlyclean-guile
20756 mostlyclean-guile:
20757 @[ -f ./guile/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(SET_LIB_PATH) \
20761 $(HOST_EXPORTS) \
20762 for flag in $(EXTRA_HOST_FLAGS); do \
20763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20764 done; \
20765 echo "Doing mostlyclean in guile" ; \
20766 (cd guile && \
20767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20769 "RANLIB=$${RANLIB}" \
20770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20771 mostlyclean) \
20772 || exit 1
20774 @endif guile
20776 .PHONY: maybe-clean-guile clean-guile
20777 maybe-clean-guile:
20778 @if guile
20779 maybe-clean-guile: clean-guile
20781 clean-guile:
20782 @[ -f ./guile/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(SET_LIB_PATH) \
20786 $(HOST_EXPORTS) \
20787 for flag in $(EXTRA_HOST_FLAGS); do \
20788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20789 done; \
20790 echo "Doing clean in guile" ; \
20791 (cd guile && \
20792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20794 "RANLIB=$${RANLIB}" \
20795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20796 clean) \
20797 || exit 1
20799 @endif guile
20801 .PHONY: maybe-distclean-guile distclean-guile
20802 maybe-distclean-guile:
20803 @if guile
20804 maybe-distclean-guile: distclean-guile
20806 distclean-guile:
20807 @[ -f ./guile/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 distclean in guile" ; \
20816 (cd guile && \
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 distclean) \
20822 || exit 1
20824 @endif guile
20826 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
20827 maybe-maintainer-clean-guile:
20828 @if guile
20829 maybe-maintainer-clean-guile: maintainer-clean-guile
20831 maintainer-clean-guile:
20832 @[ -f ./guile/Makefile ] || exit 0; \
20833 r=`${PWD_COMMAND}`; export r; \
20834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20835 $(SET_LIB_PATH) \
20836 $(HOST_EXPORTS) \
20837 for flag in $(EXTRA_HOST_FLAGS); do \
20838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20839 done; \
20840 echo "Doing maintainer-clean in guile" ; \
20841 (cd guile && \
20842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20844 "RANLIB=$${RANLIB}" \
20845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20846 maintainer-clean) \
20847 || exit 1
20849 @endif guile
20852 .PHONY: configure-tk maybe-configure-tk
20853 maybe-configure-tk:
20854 @if tk
20855 maybe-configure-tk: configure-tk
20856 configure-tk:
20857 @test ! -f tk/Makefile || exit 0; \
20858 [ -d tk ] || mkdir tk; \
20859 r=`${PWD_COMMAND}`; export r; \
20860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20861 $(HOST_EXPORTS) \
20862 echo Configuring in tk; \
20863 cd tk || exit 1; \
20864 case $(srcdir) in \
20865 \.) \
20866 srcdiroption="--srcdir=."; \
20867 libsrcdir=".";; \
20868 /* | [A-Za-z]:[\\/]*) \
20869 srcdiroption="--srcdir=$(srcdir)/tk"; \
20870 libsrcdir="$$s/tk";; \
20871 *) \
20872 srcdiroption="--srcdir=../$(srcdir)/tk"; \
20873 libsrcdir="$$s/tk";; \
20874 esac; \
20875 $(SHELL) $${libsrcdir}/configure \
20876 $(HOST_CONFIGARGS) $${srcdiroption} \
20877 || exit 1
20878 @endif tk
20880 .PHONY: all-tk maybe-all-tk
20881 maybe-all-tk:
20882 @if tk
20883 maybe-all-tk: all-tk
20884 all-tk: configure-tk
20885 @r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20887 $(SET_LIB_PATH) \
20888 $(HOST_EXPORTS) \
20889 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20890 @endif tk
20892 .PHONY: check-tk maybe-check-tk
20893 maybe-check-tk:
20894 @if tk
20895 maybe-check-tk: check-tk
20897 check-tk:
20898 @r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(SET_LIB_PATH) \
20901 $(HOST_EXPORTS) \
20902 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20904 @endif tk
20906 .PHONY: install-tk maybe-install-tk
20907 maybe-install-tk:
20908 @if tk
20909 maybe-install-tk: install-tk
20911 install-tk: installdirs
20912 @r=`${PWD_COMMAND}`; export r; \
20913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20914 $(SET_LIB_PATH) \
20915 $(HOST_EXPORTS) \
20916 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20918 @endif tk
20920 # Other targets (info, dvi, etc.)
20922 .PHONY: maybe-info-tk info-tk
20923 maybe-info-tk:
20924 @if tk
20925 maybe-info-tk: info-tk
20927 info-tk: \
20928 configure-tk
20929 @[ -f ./tk/Makefile ] || exit 0; \
20930 r=`${PWD_COMMAND}`; export r; \
20931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20932 $(SET_LIB_PATH) \
20933 $(HOST_EXPORTS) \
20934 for flag in $(EXTRA_HOST_FLAGS); do \
20935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20936 done; \
20937 echo "Doing info in tk" ; \
20938 (cd tk && \
20939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20941 "RANLIB=$${RANLIB}" \
20942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20943 info) \
20944 || exit 1
20946 @endif tk
20948 .PHONY: maybe-dvi-tk dvi-tk
20949 maybe-dvi-tk:
20950 @if tk
20951 maybe-dvi-tk: dvi-tk
20953 dvi-tk: \
20954 configure-tk
20955 @[ -f ./tk/Makefile ] || exit 0; \
20956 r=`${PWD_COMMAND}`; export r; \
20957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 $(SET_LIB_PATH) \
20959 $(HOST_EXPORTS) \
20960 for flag in $(EXTRA_HOST_FLAGS); do \
20961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20962 done; \
20963 echo "Doing dvi in tk" ; \
20964 (cd tk && \
20965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20967 "RANLIB=$${RANLIB}" \
20968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20969 dvi) \
20970 || exit 1
20972 @endif tk
20974 .PHONY: maybe-TAGS-tk TAGS-tk
20975 maybe-TAGS-tk:
20976 @if tk
20977 maybe-TAGS-tk: TAGS-tk
20979 TAGS-tk: \
20980 configure-tk
20981 @[ -f ./tk/Makefile ] || exit 0; \
20982 r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 $(SET_LIB_PATH) \
20985 $(HOST_EXPORTS) \
20986 for flag in $(EXTRA_HOST_FLAGS); do \
20987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20988 done; \
20989 echo "Doing TAGS in tk" ; \
20990 (cd tk && \
20991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20993 "RANLIB=$${RANLIB}" \
20994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20995 TAGS) \
20996 || exit 1
20998 @endif tk
21000 .PHONY: maybe-install-info-tk install-info-tk
21001 maybe-install-info-tk:
21002 @if tk
21003 maybe-install-info-tk: install-info-tk
21005 install-info-tk: \
21006 configure-tk \
21007 info-tk
21008 @[ -f ./tk/Makefile ] || exit 0; \
21009 r=`${PWD_COMMAND}`; export r; \
21010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21011 $(SET_LIB_PATH) \
21012 $(HOST_EXPORTS) \
21013 for flag in $(EXTRA_HOST_FLAGS); do \
21014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21015 done; \
21016 echo "Doing install-info in tk" ; \
21017 (cd tk && \
21018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21020 "RANLIB=$${RANLIB}" \
21021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21022 install-info) \
21023 || exit 1
21025 @endif tk
21027 .PHONY: maybe-installcheck-tk installcheck-tk
21028 maybe-installcheck-tk:
21029 @if tk
21030 maybe-installcheck-tk: installcheck-tk
21032 installcheck-tk: \
21033 configure-tk
21034 @[ -f ./tk/Makefile ] || exit 0; \
21035 r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21037 $(SET_LIB_PATH) \
21038 $(HOST_EXPORTS) \
21039 for flag in $(EXTRA_HOST_FLAGS); do \
21040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21041 done; \
21042 echo "Doing installcheck in tk" ; \
21043 (cd tk && \
21044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21046 "RANLIB=$${RANLIB}" \
21047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21048 installcheck) \
21049 || exit 1
21051 @endif tk
21053 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21054 maybe-mostlyclean-tk:
21055 @if tk
21056 maybe-mostlyclean-tk: mostlyclean-tk
21058 mostlyclean-tk:
21059 @[ -f ./tk/Makefile ] || exit 0; \
21060 r=`${PWD_COMMAND}`; export r; \
21061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21062 $(SET_LIB_PATH) \
21063 $(HOST_EXPORTS) \
21064 for flag in $(EXTRA_HOST_FLAGS); do \
21065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21066 done; \
21067 echo "Doing mostlyclean in tk" ; \
21068 (cd tk && \
21069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21071 "RANLIB=$${RANLIB}" \
21072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21073 mostlyclean) \
21074 || exit 1
21076 @endif tk
21078 .PHONY: maybe-clean-tk clean-tk
21079 maybe-clean-tk:
21080 @if tk
21081 maybe-clean-tk: clean-tk
21083 clean-tk:
21084 @[ -f ./tk/Makefile ] || exit 0; \
21085 r=`${PWD_COMMAND}`; export r; \
21086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 $(SET_LIB_PATH) \
21088 $(HOST_EXPORTS) \
21089 for flag in $(EXTRA_HOST_FLAGS); do \
21090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21091 done; \
21092 echo "Doing clean in tk" ; \
21093 (cd tk && \
21094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21096 "RANLIB=$${RANLIB}" \
21097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21098 clean) \
21099 || exit 1
21101 @endif tk
21103 .PHONY: maybe-distclean-tk distclean-tk
21104 maybe-distclean-tk:
21105 @if tk
21106 maybe-distclean-tk: distclean-tk
21108 distclean-tk:
21109 @[ -f ./tk/Makefile ] || exit 0; \
21110 r=`${PWD_COMMAND}`; export r; \
21111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21112 $(SET_LIB_PATH) \
21113 $(HOST_EXPORTS) \
21114 for flag in $(EXTRA_HOST_FLAGS); do \
21115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21116 done; \
21117 echo "Doing distclean in tk" ; \
21118 (cd tk && \
21119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21121 "RANLIB=$${RANLIB}" \
21122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21123 distclean) \
21124 || exit 1
21126 @endif tk
21128 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21129 maybe-maintainer-clean-tk:
21130 @if tk
21131 maybe-maintainer-clean-tk: maintainer-clean-tk
21133 maintainer-clean-tk:
21134 @[ -f ./tk/Makefile ] || exit 0; \
21135 r=`${PWD_COMMAND}`; export r; \
21136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21137 $(SET_LIB_PATH) \
21138 $(HOST_EXPORTS) \
21139 for flag in $(EXTRA_HOST_FLAGS); do \
21140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21141 done; \
21142 echo "Doing maintainer-clean in tk" ; \
21143 (cd tk && \
21144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21146 "RANLIB=$${RANLIB}" \
21147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21148 maintainer-clean) \
21149 || exit 1
21151 @endif tk
21154 .PHONY: configure-tix maybe-configure-tix
21155 maybe-configure-tix:
21156 @if tix
21157 maybe-configure-tix: configure-tix
21158 configure-tix:
21159 @test ! -f tix/Makefile || exit 0; \
21160 [ -d tix ] || mkdir tix; \
21161 r=`${PWD_COMMAND}`; export r; \
21162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21163 $(HOST_EXPORTS) \
21164 echo Configuring in tix; \
21165 cd tix || exit 1; \
21166 case $(srcdir) in \
21167 \.) \
21168 srcdiroption="--srcdir=."; \
21169 libsrcdir=".";; \
21170 /* | [A-Za-z]:[\\/]*) \
21171 srcdiroption="--srcdir=$(srcdir)/tix"; \
21172 libsrcdir="$$s/tix";; \
21173 *) \
21174 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21175 libsrcdir="$$s/tix";; \
21176 esac; \
21177 $(SHELL) $${libsrcdir}/configure \
21178 $(HOST_CONFIGARGS) $${srcdiroption} \
21179 || exit 1
21180 @endif tix
21182 .PHONY: all-tix maybe-all-tix
21183 maybe-all-tix:
21184 @if tix
21185 maybe-all-tix: all-tix
21186 all-tix: configure-tix
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(SET_LIB_PATH) \
21190 $(HOST_EXPORTS) \
21191 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21192 @endif tix
21194 .PHONY: check-tix maybe-check-tix
21195 maybe-check-tix:
21196 @if tix
21197 maybe-check-tix: check-tix
21199 check-tix:
21200 @r=`${PWD_COMMAND}`; export r; \
21201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 $(SET_LIB_PATH) \
21203 $(HOST_EXPORTS) \
21204 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21206 @endif tix
21208 .PHONY: install-tix maybe-install-tix
21209 maybe-install-tix:
21210 @if tix
21211 maybe-install-tix: install-tix
21213 install-tix: installdirs
21214 @r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216 $(SET_LIB_PATH) \
21217 $(HOST_EXPORTS) \
21218 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21220 @endif tix
21222 # Other targets (info, dvi, etc.)
21224 .PHONY: maybe-info-tix info-tix
21225 maybe-info-tix:
21226 @if tix
21227 maybe-info-tix: info-tix
21229 info-tix: \
21230 configure-tix
21231 @[ -f ./tix/Makefile ] || exit 0; \
21232 r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 $(SET_LIB_PATH) \
21235 $(HOST_EXPORTS) \
21236 for flag in $(EXTRA_HOST_FLAGS); do \
21237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21238 done; \
21239 echo "Doing info in tix" ; \
21240 (cd tix && \
21241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21243 "RANLIB=$${RANLIB}" \
21244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21245 info) \
21246 || exit 1
21248 @endif tix
21250 .PHONY: maybe-dvi-tix dvi-tix
21251 maybe-dvi-tix:
21252 @if tix
21253 maybe-dvi-tix: dvi-tix
21255 dvi-tix: \
21256 configure-tix
21257 @[ -f ./tix/Makefile ] || exit 0; \
21258 r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 $(SET_LIB_PATH) \
21261 $(HOST_EXPORTS) \
21262 for flag in $(EXTRA_HOST_FLAGS); do \
21263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21264 done; \
21265 echo "Doing dvi in tix" ; \
21266 (cd tix && \
21267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21269 "RANLIB=$${RANLIB}" \
21270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21271 dvi) \
21272 || exit 1
21274 @endif tix
21276 .PHONY: maybe-TAGS-tix TAGS-tix
21277 maybe-TAGS-tix:
21278 @if tix
21279 maybe-TAGS-tix: TAGS-tix
21281 TAGS-tix: \
21282 configure-tix
21283 @[ -f ./tix/Makefile ] || exit 0; \
21284 r=`${PWD_COMMAND}`; export r; \
21285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21286 $(SET_LIB_PATH) \
21287 $(HOST_EXPORTS) \
21288 for flag in $(EXTRA_HOST_FLAGS); do \
21289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21290 done; \
21291 echo "Doing TAGS in tix" ; \
21292 (cd tix && \
21293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21295 "RANLIB=$${RANLIB}" \
21296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21297 TAGS) \
21298 || exit 1
21300 @endif tix
21302 .PHONY: maybe-install-info-tix install-info-tix
21303 maybe-install-info-tix:
21304 @if tix
21305 maybe-install-info-tix: install-info-tix
21307 install-info-tix: \
21308 configure-tix \
21309 info-tix
21310 @[ -f ./tix/Makefile ] || exit 0; \
21311 r=`${PWD_COMMAND}`; export r; \
21312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 $(SET_LIB_PATH) \
21314 $(HOST_EXPORTS) \
21315 for flag in $(EXTRA_HOST_FLAGS); do \
21316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21317 done; \
21318 echo "Doing install-info in tix" ; \
21319 (cd tix && \
21320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21322 "RANLIB=$${RANLIB}" \
21323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21324 install-info) \
21325 || exit 1
21327 @endif tix
21329 .PHONY: maybe-installcheck-tix installcheck-tix
21330 maybe-installcheck-tix:
21331 @if tix
21332 maybe-installcheck-tix: installcheck-tix
21334 installcheck-tix: \
21335 configure-tix
21336 @[ -f ./tix/Makefile ] || exit 0; \
21337 r=`${PWD_COMMAND}`; export r; \
21338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21339 $(SET_LIB_PATH) \
21340 $(HOST_EXPORTS) \
21341 for flag in $(EXTRA_HOST_FLAGS); do \
21342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21343 done; \
21344 echo "Doing installcheck in tix" ; \
21345 (cd tix && \
21346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21348 "RANLIB=$${RANLIB}" \
21349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21350 installcheck) \
21351 || exit 1
21353 @endif tix
21355 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21356 maybe-mostlyclean-tix:
21357 @if tix
21358 maybe-mostlyclean-tix: mostlyclean-tix
21360 mostlyclean-tix:
21361 @[ -f ./tix/Makefile ] || exit 0; \
21362 r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364 $(SET_LIB_PATH) \
21365 $(HOST_EXPORTS) \
21366 for flag in $(EXTRA_HOST_FLAGS); do \
21367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21368 done; \
21369 echo "Doing mostlyclean in tix" ; \
21370 (cd tix && \
21371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21373 "RANLIB=$${RANLIB}" \
21374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21375 mostlyclean) \
21376 || exit 1
21378 @endif tix
21380 .PHONY: maybe-clean-tix clean-tix
21381 maybe-clean-tix:
21382 @if tix
21383 maybe-clean-tix: clean-tix
21385 clean-tix:
21386 @[ -f ./tix/Makefile ] || exit 0; \
21387 r=`${PWD_COMMAND}`; export r; \
21388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21389 $(SET_LIB_PATH) \
21390 $(HOST_EXPORTS) \
21391 for flag in $(EXTRA_HOST_FLAGS); do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21393 done; \
21394 echo "Doing clean in tix" ; \
21395 (cd tix && \
21396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21398 "RANLIB=$${RANLIB}" \
21399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21400 clean) \
21401 || exit 1
21403 @endif tix
21405 .PHONY: maybe-distclean-tix distclean-tix
21406 maybe-distclean-tix:
21407 @if tix
21408 maybe-distclean-tix: distclean-tix
21410 distclean-tix:
21411 @[ -f ./tix/Makefile ] || exit 0; \
21412 r=`${PWD_COMMAND}`; export r; \
21413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 $(SET_LIB_PATH) \
21415 $(HOST_EXPORTS) \
21416 for flag in $(EXTRA_HOST_FLAGS); do \
21417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21418 done; \
21419 echo "Doing distclean in tix" ; \
21420 (cd tix && \
21421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21423 "RANLIB=$${RANLIB}" \
21424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21425 distclean) \
21426 || exit 1
21428 @endif tix
21430 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21431 maybe-maintainer-clean-tix:
21432 @if tix
21433 maybe-maintainer-clean-tix: maintainer-clean-tix
21435 maintainer-clean-tix:
21436 @[ -f ./tix/Makefile ] || exit 0; \
21437 r=`${PWD_COMMAND}`; export r; \
21438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21439 $(SET_LIB_PATH) \
21440 $(HOST_EXPORTS) \
21441 for flag in $(EXTRA_HOST_FLAGS); do \
21442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21443 done; \
21444 echo "Doing maintainer-clean in tix" ; \
21445 (cd tix && \
21446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21448 "RANLIB=$${RANLIB}" \
21449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21450 maintainer-clean) \
21451 || exit 1
21453 @endif tix
21456 .PHONY: configure-libtermcap maybe-configure-libtermcap
21457 maybe-configure-libtermcap:
21458 @if libtermcap
21459 maybe-configure-libtermcap: configure-libtermcap
21460 configure-libtermcap:
21461 @test ! -f libtermcap/Makefile || exit 0; \
21462 [ -d libtermcap ] || mkdir libtermcap; \
21463 r=`${PWD_COMMAND}`; export r; \
21464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21465 $(HOST_EXPORTS) \
21466 echo Configuring in libtermcap; \
21467 cd libtermcap || exit 1; \
21468 case $(srcdir) in \
21469 \.) \
21470 srcdiroption="--srcdir=."; \
21471 libsrcdir=".";; \
21472 /* | [A-Za-z]:[\\/]*) \
21473 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21474 libsrcdir="$$s/libtermcap";; \
21475 *) \
21476 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21477 libsrcdir="$$s/libtermcap";; \
21478 esac; \
21479 $(SHELL) $${libsrcdir}/configure \
21480 $(HOST_CONFIGARGS) $${srcdiroption} \
21481 || exit 1
21482 @endif libtermcap
21484 .PHONY: all-libtermcap maybe-all-libtermcap
21485 maybe-all-libtermcap:
21486 @if libtermcap
21487 maybe-all-libtermcap: all-libtermcap
21488 all-libtermcap: configure-libtermcap
21489 @r=`${PWD_COMMAND}`; export r; \
21490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21491 $(SET_LIB_PATH) \
21492 $(HOST_EXPORTS) \
21493 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21494 @endif libtermcap
21496 .PHONY: check-libtermcap maybe-check-libtermcap
21497 maybe-check-libtermcap:
21498 @if libtermcap
21499 maybe-check-libtermcap: check-libtermcap
21501 check-libtermcap:
21503 @endif libtermcap
21505 .PHONY: install-libtermcap maybe-install-libtermcap
21506 maybe-install-libtermcap:
21507 @if libtermcap
21508 maybe-install-libtermcap: install-libtermcap
21510 install-libtermcap: installdirs
21511 @r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(SET_LIB_PATH) \
21514 $(HOST_EXPORTS) \
21515 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21517 @endif libtermcap
21519 # Other targets (info, dvi, etc.)
21521 .PHONY: maybe-info-libtermcap info-libtermcap
21522 maybe-info-libtermcap:
21523 @if libtermcap
21524 maybe-info-libtermcap: info-libtermcap
21526 info-libtermcap: \
21527 configure-libtermcap
21528 @[ -f ./libtermcap/Makefile ] || exit 0; \
21529 r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531 $(SET_LIB_PATH) \
21532 $(HOST_EXPORTS) \
21533 for flag in $(EXTRA_HOST_FLAGS); do \
21534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 done; \
21536 echo "Doing info in libtermcap" ; \
21537 (cd libtermcap && \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21540 "RANLIB=$${RANLIB}" \
21541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21542 info) \
21543 || exit 1
21545 @endif libtermcap
21547 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21548 maybe-dvi-libtermcap:
21549 @if libtermcap
21550 maybe-dvi-libtermcap: dvi-libtermcap
21552 dvi-libtermcap: \
21553 configure-libtermcap
21554 @[ -f ./libtermcap/Makefile ] || exit 0; \
21555 r=`${PWD_COMMAND}`; export r; \
21556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21557 $(SET_LIB_PATH) \
21558 $(HOST_EXPORTS) \
21559 for flag in $(EXTRA_HOST_FLAGS); do \
21560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21561 done; \
21562 echo "Doing dvi in libtermcap" ; \
21563 (cd libtermcap && \
21564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21566 "RANLIB=$${RANLIB}" \
21567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21568 dvi) \
21569 || exit 1
21571 @endif libtermcap
21573 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21574 maybe-TAGS-libtermcap:
21575 @if libtermcap
21576 maybe-TAGS-libtermcap: TAGS-libtermcap
21578 TAGS-libtermcap: \
21579 configure-libtermcap
21580 @[ -f ./libtermcap/Makefile ] || exit 0; \
21581 r=`${PWD_COMMAND}`; export r; \
21582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21583 $(SET_LIB_PATH) \
21584 $(HOST_EXPORTS) \
21585 for flag in $(EXTRA_HOST_FLAGS); do \
21586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21587 done; \
21588 echo "Doing TAGS in libtermcap" ; \
21589 (cd libtermcap && \
21590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21592 "RANLIB=$${RANLIB}" \
21593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21594 TAGS) \
21595 || exit 1
21597 @endif libtermcap
21599 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21600 maybe-install-info-libtermcap:
21601 @if libtermcap
21602 maybe-install-info-libtermcap: install-info-libtermcap
21604 install-info-libtermcap: \
21605 configure-libtermcap \
21606 info-libtermcap
21607 @[ -f ./libtermcap/Makefile ] || exit 0; \
21608 r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(SET_LIB_PATH) \
21611 $(HOST_EXPORTS) \
21612 for flag in $(EXTRA_HOST_FLAGS); do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614 done; \
21615 echo "Doing install-info in libtermcap" ; \
21616 (cd libtermcap && \
21617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619 "RANLIB=$${RANLIB}" \
21620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21621 install-info) \
21622 || exit 1
21624 @endif libtermcap
21626 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21627 maybe-installcheck-libtermcap:
21628 @if libtermcap
21629 maybe-installcheck-libtermcap: installcheck-libtermcap
21631 installcheck-libtermcap: \
21632 configure-libtermcap
21633 @[ -f ./libtermcap/Makefile ] || exit 0; \
21634 r=`${PWD_COMMAND}`; export r; \
21635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21636 $(SET_LIB_PATH) \
21637 $(HOST_EXPORTS) \
21638 for flag in $(EXTRA_HOST_FLAGS); do \
21639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21640 done; \
21641 echo "Doing installcheck in libtermcap" ; \
21642 (cd libtermcap && \
21643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21645 "RANLIB=$${RANLIB}" \
21646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21647 installcheck) \
21648 || exit 1
21650 @endif libtermcap
21652 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21653 maybe-mostlyclean-libtermcap:
21654 @if libtermcap
21655 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21657 # libtermcap doesn't support mostlyclean.
21658 mostlyclean-libtermcap:
21660 @endif libtermcap
21662 .PHONY: maybe-clean-libtermcap clean-libtermcap
21663 maybe-clean-libtermcap:
21664 @if libtermcap
21665 maybe-clean-libtermcap: clean-libtermcap
21667 # libtermcap doesn't support clean.
21668 clean-libtermcap:
21670 @endif libtermcap
21672 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21673 maybe-distclean-libtermcap:
21674 @if libtermcap
21675 maybe-distclean-libtermcap: distclean-libtermcap
21677 # libtermcap doesn't support distclean.
21678 distclean-libtermcap:
21680 @endif libtermcap
21682 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21683 maybe-maintainer-clean-libtermcap:
21684 @if libtermcap
21685 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21687 # libtermcap doesn't support maintainer-clean.
21688 maintainer-clean-libtermcap:
21690 @endif libtermcap
21693 .PHONY: configure-utils maybe-configure-utils
21694 maybe-configure-utils:
21695 @if utils
21696 maybe-configure-utils: configure-utils
21697 configure-utils:
21698 @test ! -f utils/Makefile || exit 0; \
21699 [ -d utils ] || mkdir utils; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702 $(HOST_EXPORTS) \
21703 echo Configuring in utils; \
21704 cd utils || exit 1; \
21705 case $(srcdir) in \
21706 \.) \
21707 srcdiroption="--srcdir=."; \
21708 libsrcdir=".";; \
21709 /* | [A-Za-z]:[\\/]*) \
21710 srcdiroption="--srcdir=$(srcdir)/utils"; \
21711 libsrcdir="$$s/utils";; \
21712 *) \
21713 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21714 libsrcdir="$$s/utils";; \
21715 esac; \
21716 $(SHELL) $${libsrcdir}/configure \
21717 $(HOST_CONFIGARGS) $${srcdiroption} \
21718 || exit 1
21719 @endif utils
21721 .PHONY: all-utils maybe-all-utils
21722 maybe-all-utils:
21723 @if utils
21724 maybe-all-utils: all-utils
21725 all-utils: configure-utils
21726 @r=`${PWD_COMMAND}`; export r; \
21727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 $(SET_LIB_PATH) \
21729 $(HOST_EXPORTS) \
21730 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21731 @endif utils
21733 .PHONY: check-utils maybe-check-utils
21734 maybe-check-utils:
21735 @if utils
21736 maybe-check-utils: check-utils
21738 check-utils:
21740 @endif utils
21742 .PHONY: install-utils maybe-install-utils
21743 maybe-install-utils:
21744 @if utils
21745 maybe-install-utils: install-utils
21747 install-utils: installdirs
21748 @r=`${PWD_COMMAND}`; export r; \
21749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21750 $(SET_LIB_PATH) \
21751 $(HOST_EXPORTS) \
21752 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21754 @endif utils
21756 # Other targets (info, dvi, etc.)
21758 .PHONY: maybe-info-utils info-utils
21759 maybe-info-utils:
21760 @if utils
21761 maybe-info-utils: info-utils
21763 info-utils: \
21764 configure-utils
21765 @[ -f ./utils/Makefile ] || exit 0; \
21766 r=`${PWD_COMMAND}`; export r; \
21767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21768 $(SET_LIB_PATH) \
21769 $(HOST_EXPORTS) \
21770 for flag in $(EXTRA_HOST_FLAGS); do \
21771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21772 done; \
21773 echo "Doing info in utils" ; \
21774 (cd utils && \
21775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21777 "RANLIB=$${RANLIB}" \
21778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21779 info) \
21780 || exit 1
21782 @endif utils
21784 .PHONY: maybe-dvi-utils dvi-utils
21785 maybe-dvi-utils:
21786 @if utils
21787 maybe-dvi-utils: dvi-utils
21789 dvi-utils: \
21790 configure-utils
21791 @[ -f ./utils/Makefile ] || exit 0; \
21792 r=`${PWD_COMMAND}`; export r; \
21793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21794 $(SET_LIB_PATH) \
21795 $(HOST_EXPORTS) \
21796 for flag in $(EXTRA_HOST_FLAGS); do \
21797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21798 done; \
21799 echo "Doing dvi in utils" ; \
21800 (cd utils && \
21801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21803 "RANLIB=$${RANLIB}" \
21804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21805 dvi) \
21806 || exit 1
21808 @endif utils
21810 .PHONY: maybe-TAGS-utils TAGS-utils
21811 maybe-TAGS-utils:
21812 @if utils
21813 maybe-TAGS-utils: TAGS-utils
21815 TAGS-utils: \
21816 configure-utils
21817 @[ -f ./utils/Makefile ] || exit 0; \
21818 r=`${PWD_COMMAND}`; export r; \
21819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21820 $(SET_LIB_PATH) \
21821 $(HOST_EXPORTS) \
21822 for flag in $(EXTRA_HOST_FLAGS); do \
21823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21824 done; \
21825 echo "Doing TAGS in utils" ; \
21826 (cd utils && \
21827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21829 "RANLIB=$${RANLIB}" \
21830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21831 TAGS) \
21832 || exit 1
21834 @endif utils
21836 .PHONY: maybe-install-info-utils install-info-utils
21837 maybe-install-info-utils:
21838 @if utils
21839 maybe-install-info-utils: install-info-utils
21841 install-info-utils: \
21842 configure-utils \
21843 info-utils
21844 @[ -f ./utils/Makefile ] || exit 0; \
21845 r=`${PWD_COMMAND}`; export r; \
21846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847 $(SET_LIB_PATH) \
21848 $(HOST_EXPORTS) \
21849 for flag in $(EXTRA_HOST_FLAGS); do \
21850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21851 done; \
21852 echo "Doing install-info in utils" ; \
21853 (cd utils && \
21854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21856 "RANLIB=$${RANLIB}" \
21857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21858 install-info) \
21859 || exit 1
21861 @endif utils
21863 .PHONY: maybe-installcheck-utils installcheck-utils
21864 maybe-installcheck-utils:
21865 @if utils
21866 maybe-installcheck-utils: installcheck-utils
21868 installcheck-utils: \
21869 configure-utils
21870 @[ -f ./utils/Makefile ] || exit 0; \
21871 r=`${PWD_COMMAND}`; export r; \
21872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21873 $(SET_LIB_PATH) \
21874 $(HOST_EXPORTS) \
21875 for flag in $(EXTRA_HOST_FLAGS); do \
21876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21877 done; \
21878 echo "Doing installcheck in utils" ; \
21879 (cd utils && \
21880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21882 "RANLIB=$${RANLIB}" \
21883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21884 installcheck) \
21885 || exit 1
21887 @endif utils
21889 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21890 maybe-mostlyclean-utils:
21891 @if utils
21892 maybe-mostlyclean-utils: mostlyclean-utils
21894 mostlyclean-utils:
21895 @[ -f ./utils/Makefile ] || exit 0; \
21896 r=`${PWD_COMMAND}`; export r; \
21897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21898 $(SET_LIB_PATH) \
21899 $(HOST_EXPORTS) \
21900 for flag in $(EXTRA_HOST_FLAGS); do \
21901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21902 done; \
21903 echo "Doing mostlyclean in utils" ; \
21904 (cd utils && \
21905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21907 "RANLIB=$${RANLIB}" \
21908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21909 mostlyclean) \
21910 || exit 1
21912 @endif utils
21914 .PHONY: maybe-clean-utils clean-utils
21915 maybe-clean-utils:
21916 @if utils
21917 maybe-clean-utils: clean-utils
21919 clean-utils:
21920 @[ -f ./utils/Makefile ] || exit 0; \
21921 r=`${PWD_COMMAND}`; export r; \
21922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21923 $(SET_LIB_PATH) \
21924 $(HOST_EXPORTS) \
21925 for flag in $(EXTRA_HOST_FLAGS); do \
21926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21927 done; \
21928 echo "Doing clean in utils" ; \
21929 (cd utils && \
21930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21932 "RANLIB=$${RANLIB}" \
21933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21934 clean) \
21935 || exit 1
21937 @endif utils
21939 .PHONY: maybe-distclean-utils distclean-utils
21940 maybe-distclean-utils:
21941 @if utils
21942 maybe-distclean-utils: distclean-utils
21944 distclean-utils:
21945 @[ -f ./utils/Makefile ] || exit 0; \
21946 r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 $(SET_LIB_PATH) \
21949 $(HOST_EXPORTS) \
21950 for flag in $(EXTRA_HOST_FLAGS); do \
21951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21952 done; \
21953 echo "Doing distclean in utils" ; \
21954 (cd utils && \
21955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21957 "RANLIB=$${RANLIB}" \
21958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21959 distclean) \
21960 || exit 1
21962 @endif utils
21964 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
21965 maybe-maintainer-clean-utils:
21966 @if utils
21967 maybe-maintainer-clean-utils: maintainer-clean-utils
21969 maintainer-clean-utils:
21970 @[ -f ./utils/Makefile ] || exit 0; \
21971 r=`${PWD_COMMAND}`; export r; \
21972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21973 $(SET_LIB_PATH) \
21974 $(HOST_EXPORTS) \
21975 for flag in $(EXTRA_HOST_FLAGS); do \
21976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21977 done; \
21978 echo "Doing maintainer-clean in utils" ; \
21979 (cd utils && \
21980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21982 "RANLIB=$${RANLIB}" \
21983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21984 maintainer-clean) \
21985 || exit 1
21987 @endif utils
21991 # ---------------------------------------
21992 # Modules which run on the target machine
21993 # ---------------------------------------
21995 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21996 maybe-configure-target-libstdc++-v3:
21997 @if target-libstdc++-v3
21998 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22000 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22001 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22003 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22004 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22006 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22007 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22009 r=`${PWD_COMMAND}`; export r; \
22010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22011 $(SET_LIB_PATH) \
22012 $(RAW_CXX_TARGET_EXPORTS) \
22013 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22014 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22015 case $(srcdir) in \
22016 /* | [A-Za-z]:[\\/]*) \
22017 topdir=$(srcdir) ;; \
22018 *) \
22019 case "$(TARGET_SUBDIR)" in \
22020 .) topdir="../$(srcdir)" ;; \
22021 *) topdir="../../$(srcdir)" ;; \
22022 esac ;; \
22023 esac; \
22024 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22025 libsrcdir="$$s/libstdc++-v3"; \
22026 rm -f no-such-file || : ; \
22027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22028 $(TARGET_CONFIGARGS) $${srcdiroption} \
22029 --with-target-subdir="$(TARGET_SUBDIR)" \
22030 || exit 1
22031 @endif target-libstdc++-v3
22033 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22034 maybe-all-target-libstdc++-v3:
22035 @if target-libstdc++-v3
22036 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22037 all-target-libstdc++-v3: configure-target-libstdc++-v3
22038 @r=`${PWD_COMMAND}`; export r; \
22039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22040 $(SET_LIB_PATH) \
22041 $(RAW_CXX_TARGET_EXPORTS) \
22042 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22043 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22044 @endif target-libstdc++-v3
22046 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22047 maybe-check-target-libstdc++-v3:
22048 @if target-libstdc++-v3
22049 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22051 check-target-libstdc++-v3:
22052 @r=`${PWD_COMMAND}`; export r; \
22053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22054 $(SET_LIB_PATH) \
22055 $(RAW_CXX_TARGET_EXPORTS) \
22056 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22057 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22059 @endif target-libstdc++-v3
22061 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22062 maybe-install-target-libstdc++-v3:
22063 @if target-libstdc++-v3
22064 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22066 install-target-libstdc++-v3: installdirs
22067 @r=`${PWD_COMMAND}`; export r; \
22068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22069 $(SET_LIB_PATH) \
22070 $(RAW_CXX_TARGET_EXPORTS) \
22071 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22072 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22074 @endif target-libstdc++-v3
22076 # Other targets (info, dvi, etc.)
22078 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22079 maybe-info-target-libstdc++-v3:
22080 @if target-libstdc++-v3
22081 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22083 info-target-libstdc++-v3: \
22084 configure-target-libstdc++-v3
22085 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22086 r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 $(SET_LIB_PATH) \
22089 $(RAW_CXX_TARGET_EXPORTS) \
22090 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22091 for flag in $(EXTRA_TARGET_FLAGS); do \
22092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22093 done; \
22094 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22097 "RANLIB=$${RANLIB}" \
22098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22099 info) \
22100 || exit 1
22102 @endif target-libstdc++-v3
22104 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22105 maybe-dvi-target-libstdc++-v3:
22106 @if target-libstdc++-v3
22107 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22109 dvi-target-libstdc++-v3: \
22110 configure-target-libstdc++-v3
22111 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22112 r=`${PWD_COMMAND}`; export r; \
22113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 $(SET_LIB_PATH) \
22115 $(RAW_CXX_TARGET_EXPORTS) \
22116 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22117 for flag in $(EXTRA_TARGET_FLAGS); do \
22118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22119 done; \
22120 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22123 "RANLIB=$${RANLIB}" \
22124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22125 dvi) \
22126 || exit 1
22128 @endif target-libstdc++-v3
22130 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22131 maybe-TAGS-target-libstdc++-v3:
22132 @if target-libstdc++-v3
22133 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22135 TAGS-target-libstdc++-v3: \
22136 configure-target-libstdc++-v3
22137 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22138 r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(SET_LIB_PATH) \
22141 $(RAW_CXX_TARGET_EXPORTS) \
22142 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22143 for flag in $(EXTRA_TARGET_FLAGS); do \
22144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22145 done; \
22146 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22149 "RANLIB=$${RANLIB}" \
22150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22151 TAGS) \
22152 || exit 1
22154 @endif target-libstdc++-v3
22156 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22157 maybe-install-info-target-libstdc++-v3:
22158 @if target-libstdc++-v3
22159 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22161 install-info-target-libstdc++-v3: \
22162 configure-target-libstdc++-v3 \
22163 info-target-libstdc++-v3
22164 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22165 r=`${PWD_COMMAND}`; export r; \
22166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 $(SET_LIB_PATH) \
22168 $(RAW_CXX_TARGET_EXPORTS) \
22169 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22170 for flag in $(EXTRA_TARGET_FLAGS); do \
22171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22172 done; \
22173 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22176 "RANLIB=$${RANLIB}" \
22177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22178 install-info) \
22179 || exit 1
22181 @endif target-libstdc++-v3
22183 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22184 maybe-installcheck-target-libstdc++-v3:
22185 @if target-libstdc++-v3
22186 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22188 installcheck-target-libstdc++-v3: \
22189 configure-target-libstdc++-v3
22190 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22191 r=`${PWD_COMMAND}`; export r; \
22192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22193 $(SET_LIB_PATH) \
22194 $(RAW_CXX_TARGET_EXPORTS) \
22195 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22196 for flag in $(EXTRA_TARGET_FLAGS); do \
22197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22198 done; \
22199 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22202 "RANLIB=$${RANLIB}" \
22203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22204 installcheck) \
22205 || exit 1
22207 @endif target-libstdc++-v3
22209 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22210 maybe-mostlyclean-target-libstdc++-v3:
22211 @if target-libstdc++-v3
22212 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22214 mostlyclean-target-libstdc++-v3:
22215 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22216 r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22218 $(SET_LIB_PATH) \
22219 $(RAW_CXX_TARGET_EXPORTS) \
22220 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22221 for flag in $(EXTRA_TARGET_FLAGS); do \
22222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22223 done; \
22224 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22227 "RANLIB=$${RANLIB}" \
22228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22229 mostlyclean) \
22230 || exit 1
22232 @endif target-libstdc++-v3
22234 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22235 maybe-clean-target-libstdc++-v3:
22236 @if target-libstdc++-v3
22237 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22239 clean-target-libstdc++-v3:
22240 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22241 r=`${PWD_COMMAND}`; export r; \
22242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22243 $(SET_LIB_PATH) \
22244 $(RAW_CXX_TARGET_EXPORTS) \
22245 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22246 for flag in $(EXTRA_TARGET_FLAGS); do \
22247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22248 done; \
22249 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22252 "RANLIB=$${RANLIB}" \
22253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22254 clean) \
22255 || exit 1
22257 @endif target-libstdc++-v3
22259 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22260 maybe-distclean-target-libstdc++-v3:
22261 @if target-libstdc++-v3
22262 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22264 distclean-target-libstdc++-v3:
22265 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22266 r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22268 $(SET_LIB_PATH) \
22269 $(RAW_CXX_TARGET_EXPORTS) \
22270 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22271 for flag in $(EXTRA_TARGET_FLAGS); do \
22272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22273 done; \
22274 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22277 "RANLIB=$${RANLIB}" \
22278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22279 distclean) \
22280 || exit 1
22282 @endif target-libstdc++-v3
22284 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22285 maybe-maintainer-clean-target-libstdc++-v3:
22286 @if target-libstdc++-v3
22287 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22289 maintainer-clean-target-libstdc++-v3:
22290 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22291 r=`${PWD_COMMAND}`; export r; \
22292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 $(SET_LIB_PATH) \
22294 $(RAW_CXX_TARGET_EXPORTS) \
22295 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22296 for flag in $(EXTRA_TARGET_FLAGS); do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22298 done; \
22299 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22302 "RANLIB=$${RANLIB}" \
22303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22304 maintainer-clean) \
22305 || exit 1
22307 @endif target-libstdc++-v3
22310 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22311 maybe-configure-target-libmudflap:
22312 @if target-libmudflap
22313 maybe-configure-target-libmudflap: configure-target-libmudflap
22315 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22316 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22317 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22318 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22319 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22321 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22322 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22323 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22324 r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22326 $(SET_LIB_PATH) \
22327 $(NORMAL_TARGET_EXPORTS) \
22328 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22329 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22330 case $(srcdir) in \
22331 /* | [A-Za-z]:[\\/]*) \
22332 topdir=$(srcdir) ;; \
22333 *) \
22334 case "$(TARGET_SUBDIR)" in \
22335 .) topdir="../$(srcdir)" ;; \
22336 *) topdir="../../$(srcdir)" ;; \
22337 esac ;; \
22338 esac; \
22339 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22340 libsrcdir="$$s/libmudflap"; \
22341 rm -f no-such-file || : ; \
22342 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22343 $(TARGET_CONFIGARGS) $${srcdiroption} \
22344 --with-target-subdir="$(TARGET_SUBDIR)" \
22345 || exit 1
22346 @endif target-libmudflap
22348 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22349 maybe-all-target-libmudflap:
22350 @if target-libmudflap
22351 maybe-all-target-libmudflap: all-target-libmudflap
22352 all-target-libmudflap: configure-target-libmudflap
22353 @r=`${PWD_COMMAND}`; export r; \
22354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22355 $(SET_LIB_PATH) \
22356 $(NORMAL_TARGET_EXPORTS) \
22357 (cd $(TARGET_SUBDIR)/libmudflap && \
22358 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22359 @endif target-libmudflap
22361 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22362 maybe-check-target-libmudflap:
22363 @if target-libmudflap
22364 maybe-check-target-libmudflap: check-target-libmudflap
22366 check-target-libmudflap:
22367 @r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(SET_LIB_PATH) \
22370 $(NORMAL_TARGET_EXPORTS) \
22371 (cd $(TARGET_SUBDIR)/libmudflap && \
22372 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22374 @endif target-libmudflap
22376 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22377 maybe-install-target-libmudflap:
22378 @if target-libmudflap
22379 maybe-install-target-libmudflap: install-target-libmudflap
22381 install-target-libmudflap: installdirs
22382 @r=`${PWD_COMMAND}`; export r; \
22383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22384 $(SET_LIB_PATH) \
22385 $(NORMAL_TARGET_EXPORTS) \
22386 (cd $(TARGET_SUBDIR)/libmudflap && \
22387 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22389 @endif target-libmudflap
22391 # Other targets (info, dvi, etc.)
22393 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22394 maybe-info-target-libmudflap:
22395 @if target-libmudflap
22396 maybe-info-target-libmudflap: info-target-libmudflap
22398 info-target-libmudflap: \
22399 configure-target-libmudflap
22400 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22401 r=`${PWD_COMMAND}`; export r; \
22402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22403 $(SET_LIB_PATH) \
22404 $(NORMAL_TARGET_EXPORTS) \
22405 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22406 for flag in $(EXTRA_TARGET_FLAGS); do \
22407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22408 done; \
22409 (cd $(TARGET_SUBDIR)/libmudflap && \
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 target-libmudflap
22419 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22420 maybe-dvi-target-libmudflap:
22421 @if target-libmudflap
22422 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22424 dvi-target-libmudflap: \
22425 configure-target-libmudflap
22426 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22427 r=`${PWD_COMMAND}`; export r; \
22428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 $(SET_LIB_PATH) \
22430 $(NORMAL_TARGET_EXPORTS) \
22431 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22432 for flag in $(EXTRA_TARGET_FLAGS); do \
22433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22434 done; \
22435 (cd $(TARGET_SUBDIR)/libmudflap && \
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 target-libmudflap
22445 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22446 maybe-TAGS-target-libmudflap:
22447 @if target-libmudflap
22448 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22450 TAGS-target-libmudflap: \
22451 configure-target-libmudflap
22452 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22453 r=`${PWD_COMMAND}`; export r; \
22454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22455 $(SET_LIB_PATH) \
22456 $(NORMAL_TARGET_EXPORTS) \
22457 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22458 for flag in $(EXTRA_TARGET_FLAGS); do \
22459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22460 done; \
22461 (cd $(TARGET_SUBDIR)/libmudflap && \
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 TAGS) \
22467 || exit 1
22469 @endif target-libmudflap
22471 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22472 maybe-install-info-target-libmudflap:
22473 @if target-libmudflap
22474 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22476 install-info-target-libmudflap: \
22477 configure-target-libmudflap \
22478 info-target-libmudflap
22479 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22480 r=`${PWD_COMMAND}`; export r; \
22481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22482 $(SET_LIB_PATH) \
22483 $(NORMAL_TARGET_EXPORTS) \
22484 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22485 for flag in $(EXTRA_TARGET_FLAGS); do \
22486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22487 done; \
22488 (cd $(TARGET_SUBDIR)/libmudflap && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22493 install-info) \
22494 || exit 1
22496 @endif target-libmudflap
22498 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22499 maybe-installcheck-target-libmudflap:
22500 @if target-libmudflap
22501 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22503 installcheck-target-libmudflap: \
22504 configure-target-libmudflap
22505 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22506 r=`${PWD_COMMAND}`; export r; \
22507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22508 $(SET_LIB_PATH) \
22509 $(NORMAL_TARGET_EXPORTS) \
22510 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22511 for flag in $(EXTRA_TARGET_FLAGS); do \
22512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22513 done; \
22514 (cd $(TARGET_SUBDIR)/libmudflap && \
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 installcheck) \
22520 || exit 1
22522 @endif target-libmudflap
22524 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22525 maybe-mostlyclean-target-libmudflap:
22526 @if target-libmudflap
22527 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22529 mostlyclean-target-libmudflap:
22530 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(SET_LIB_PATH) \
22534 $(NORMAL_TARGET_EXPORTS) \
22535 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22536 for flag in $(EXTRA_TARGET_FLAGS); do \
22537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22538 done; \
22539 (cd $(TARGET_SUBDIR)/libmudflap && \
22540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22542 "RANLIB=$${RANLIB}" \
22543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22544 mostlyclean) \
22545 || exit 1
22547 @endif target-libmudflap
22549 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22550 maybe-clean-target-libmudflap:
22551 @if target-libmudflap
22552 maybe-clean-target-libmudflap: clean-target-libmudflap
22554 clean-target-libmudflap:
22555 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22556 r=`${PWD_COMMAND}`; export r; \
22557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(SET_LIB_PATH) \
22559 $(NORMAL_TARGET_EXPORTS) \
22560 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22561 for flag in $(EXTRA_TARGET_FLAGS); do \
22562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22563 done; \
22564 (cd $(TARGET_SUBDIR)/libmudflap && \
22565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22567 "RANLIB=$${RANLIB}" \
22568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22569 clean) \
22570 || exit 1
22572 @endif target-libmudflap
22574 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22575 maybe-distclean-target-libmudflap:
22576 @if target-libmudflap
22577 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22579 distclean-target-libmudflap:
22580 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22581 r=`${PWD_COMMAND}`; export r; \
22582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22583 $(SET_LIB_PATH) \
22584 $(NORMAL_TARGET_EXPORTS) \
22585 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22586 for flag in $(EXTRA_TARGET_FLAGS); do \
22587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22588 done; \
22589 (cd $(TARGET_SUBDIR)/libmudflap && \
22590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22592 "RANLIB=$${RANLIB}" \
22593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22594 distclean) \
22595 || exit 1
22597 @endif target-libmudflap
22599 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22600 maybe-maintainer-clean-target-libmudflap:
22601 @if target-libmudflap
22602 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22604 maintainer-clean-target-libmudflap:
22605 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22606 r=`${PWD_COMMAND}`; export r; \
22607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 $(SET_LIB_PATH) \
22609 $(NORMAL_TARGET_EXPORTS) \
22610 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22611 for flag in $(EXTRA_TARGET_FLAGS); do \
22612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22613 done; \
22614 (cd $(TARGET_SUBDIR)/libmudflap && \
22615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22617 "RANLIB=$${RANLIB}" \
22618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22619 maintainer-clean) \
22620 || exit 1
22622 @endif target-libmudflap
22625 .PHONY: configure-target-newlib maybe-configure-target-newlib
22626 maybe-configure-target-newlib:
22627 @if target-newlib
22628 maybe-configure-target-newlib: configure-target-newlib
22630 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22631 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22633 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22634 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22636 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22637 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22639 r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 $(SET_LIB_PATH) \
22642 $(NORMAL_TARGET_EXPORTS) \
22643 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22644 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22645 case $(srcdir) in \
22646 /* | [A-Za-z]:[\\/]*) \
22647 topdir=$(srcdir) ;; \
22648 *) \
22649 case "$(TARGET_SUBDIR)" in \
22650 .) topdir="../$(srcdir)" ;; \
22651 *) topdir="../../$(srcdir)" ;; \
22652 esac ;; \
22653 esac; \
22654 srcdiroption="--srcdir=$${topdir}/newlib"; \
22655 libsrcdir="$$s/newlib"; \
22656 rm -f no-such-file || : ; \
22657 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22658 $(TARGET_CONFIGARGS) $${srcdiroption} \
22659 --with-target-subdir="$(TARGET_SUBDIR)" \
22660 || exit 1
22661 @endif target-newlib
22663 .PHONY: all-target-newlib maybe-all-target-newlib
22664 maybe-all-target-newlib:
22665 @if target-newlib
22666 maybe-all-target-newlib: all-target-newlib
22667 all-target-newlib: configure-target-newlib
22668 @r=`${PWD_COMMAND}`; export r; \
22669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22670 $(SET_LIB_PATH) \
22671 $(NORMAL_TARGET_EXPORTS) \
22672 (cd $(TARGET_SUBDIR)/newlib && \
22673 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22674 @endif target-newlib
22676 .PHONY: check-target-newlib maybe-check-target-newlib
22677 maybe-check-target-newlib:
22678 @if target-newlib
22679 maybe-check-target-newlib: check-target-newlib
22681 check-target-newlib:
22682 @r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22684 $(SET_LIB_PATH) \
22685 $(NORMAL_TARGET_EXPORTS) \
22686 (cd $(TARGET_SUBDIR)/newlib && \
22687 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22689 @endif target-newlib
22691 .PHONY: install-target-newlib maybe-install-target-newlib
22692 maybe-install-target-newlib:
22693 @if target-newlib
22694 maybe-install-target-newlib: install-target-newlib
22696 install-target-newlib: installdirs
22697 @r=`${PWD_COMMAND}`; export r; \
22698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 $(SET_LIB_PATH) \
22700 $(NORMAL_TARGET_EXPORTS) \
22701 (cd $(TARGET_SUBDIR)/newlib && \
22702 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22704 @endif target-newlib
22706 # Other targets (info, dvi, etc.)
22708 .PHONY: maybe-info-target-newlib info-target-newlib
22709 maybe-info-target-newlib:
22710 @if target-newlib
22711 maybe-info-target-newlib: info-target-newlib
22713 info-target-newlib: \
22714 configure-target-newlib
22715 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22716 r=`${PWD_COMMAND}`; export r; \
22717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22718 $(SET_LIB_PATH) \
22719 $(NORMAL_TARGET_EXPORTS) \
22720 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22721 for flag in $(EXTRA_TARGET_FLAGS); do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22723 done; \
22724 (cd $(TARGET_SUBDIR)/newlib && \
22725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22727 "RANLIB=$${RANLIB}" \
22728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22729 info) \
22730 || exit 1
22732 @endif target-newlib
22734 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22735 maybe-dvi-target-newlib:
22736 @if target-newlib
22737 maybe-dvi-target-newlib: dvi-target-newlib
22739 dvi-target-newlib: \
22740 configure-target-newlib
22741 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22742 r=`${PWD_COMMAND}`; export r; \
22743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22744 $(SET_LIB_PATH) \
22745 $(NORMAL_TARGET_EXPORTS) \
22746 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22747 for flag in $(EXTRA_TARGET_FLAGS); do \
22748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22749 done; \
22750 (cd $(TARGET_SUBDIR)/newlib && \
22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22753 "RANLIB=$${RANLIB}" \
22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22755 dvi) \
22756 || exit 1
22758 @endif target-newlib
22760 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22761 maybe-TAGS-target-newlib:
22762 @if target-newlib
22763 maybe-TAGS-target-newlib: TAGS-target-newlib
22765 TAGS-target-newlib: \
22766 configure-target-newlib
22767 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 $(SET_LIB_PATH) \
22771 $(NORMAL_TARGET_EXPORTS) \
22772 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22773 for flag in $(EXTRA_TARGET_FLAGS); do \
22774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22775 done; \
22776 (cd $(TARGET_SUBDIR)/newlib && \
22777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22779 "RANLIB=$${RANLIB}" \
22780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22781 TAGS) \
22782 || exit 1
22784 @endif target-newlib
22786 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22787 maybe-install-info-target-newlib:
22788 @if target-newlib
22789 maybe-install-info-target-newlib: install-info-target-newlib
22791 install-info-target-newlib: \
22792 configure-target-newlib \
22793 info-target-newlib
22794 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22795 r=`${PWD_COMMAND}`; export r; \
22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22797 $(SET_LIB_PATH) \
22798 $(NORMAL_TARGET_EXPORTS) \
22799 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22800 for flag in $(EXTRA_TARGET_FLAGS); do \
22801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22802 done; \
22803 (cd $(TARGET_SUBDIR)/newlib && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 install-info) \
22809 || exit 1
22811 @endif target-newlib
22813 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22814 maybe-installcheck-target-newlib:
22815 @if target-newlib
22816 maybe-installcheck-target-newlib: installcheck-target-newlib
22818 installcheck-target-newlib: \
22819 configure-target-newlib
22820 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22821 r=`${PWD_COMMAND}`; export r; \
22822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 $(SET_LIB_PATH) \
22824 $(NORMAL_TARGET_EXPORTS) \
22825 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22826 for flag in $(EXTRA_TARGET_FLAGS); do \
22827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22828 done; \
22829 (cd $(TARGET_SUBDIR)/newlib && \
22830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22832 "RANLIB=$${RANLIB}" \
22833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22834 installcheck) \
22835 || exit 1
22837 @endif target-newlib
22839 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22840 maybe-mostlyclean-target-newlib:
22841 @if target-newlib
22842 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22844 mostlyclean-target-newlib:
22845 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22846 r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 $(SET_LIB_PATH) \
22849 $(NORMAL_TARGET_EXPORTS) \
22850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22851 for flag in $(EXTRA_TARGET_FLAGS); do \
22852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22853 done; \
22854 (cd $(TARGET_SUBDIR)/newlib && \
22855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22857 "RANLIB=$${RANLIB}" \
22858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22859 mostlyclean) \
22860 || exit 1
22862 @endif target-newlib
22864 .PHONY: maybe-clean-target-newlib clean-target-newlib
22865 maybe-clean-target-newlib:
22866 @if target-newlib
22867 maybe-clean-target-newlib: clean-target-newlib
22869 clean-target-newlib:
22870 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22871 r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 $(SET_LIB_PATH) \
22874 $(NORMAL_TARGET_EXPORTS) \
22875 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22876 for flag in $(EXTRA_TARGET_FLAGS); do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22878 done; \
22879 (cd $(TARGET_SUBDIR)/newlib && \
22880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22882 "RANLIB=$${RANLIB}" \
22883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22884 clean) \
22885 || exit 1
22887 @endif target-newlib
22889 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22890 maybe-distclean-target-newlib:
22891 @if target-newlib
22892 maybe-distclean-target-newlib: distclean-target-newlib
22894 distclean-target-newlib:
22895 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22896 r=`${PWD_COMMAND}`; export r; \
22897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22898 $(SET_LIB_PATH) \
22899 $(NORMAL_TARGET_EXPORTS) \
22900 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22901 for flag in $(EXTRA_TARGET_FLAGS); do \
22902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22903 done; \
22904 (cd $(TARGET_SUBDIR)/newlib && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22909 distclean) \
22910 || exit 1
22912 @endif target-newlib
22914 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22915 maybe-maintainer-clean-target-newlib:
22916 @if target-newlib
22917 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22919 maintainer-clean-target-newlib:
22920 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22921 r=`${PWD_COMMAND}`; export r; \
22922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 $(SET_LIB_PATH) \
22924 $(NORMAL_TARGET_EXPORTS) \
22925 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22926 for flag in $(EXTRA_TARGET_FLAGS); do \
22927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22928 done; \
22929 (cd $(TARGET_SUBDIR)/newlib && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22932 "RANLIB=$${RANLIB}" \
22933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22934 maintainer-clean) \
22935 || exit 1
22937 @endif target-newlib
22940 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
22941 maybe-configure-target-libgfortran:
22942 @if target-libgfortran
22943 maybe-configure-target-libgfortran: configure-target-libgfortran
22945 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22946 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
22947 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22948 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
22949 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
22951 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
22952 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
22953 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22954 r=`${PWD_COMMAND}`; export r; \
22955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22956 $(SET_LIB_PATH) \
22957 $(NORMAL_TARGET_EXPORTS) \
22958 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
22959 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
22960 case $(srcdir) in \
22961 /* | [A-Za-z]:[\\/]*) \
22962 topdir=$(srcdir) ;; \
22963 *) \
22964 case "$(TARGET_SUBDIR)" in \
22965 .) topdir="../$(srcdir)" ;; \
22966 *) topdir="../../$(srcdir)" ;; \
22967 esac ;; \
22968 esac; \
22969 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
22970 libsrcdir="$$s/libgfortran"; \
22971 rm -f no-such-file || : ; \
22972 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22973 $(TARGET_CONFIGARGS) $${srcdiroption} \
22974 --with-target-subdir="$(TARGET_SUBDIR)" \
22975 || exit 1
22976 @endif target-libgfortran
22978 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
22979 maybe-all-target-libgfortran:
22980 @if target-libgfortran
22981 maybe-all-target-libgfortran: all-target-libgfortran
22982 all-target-libgfortran: configure-target-libgfortran
22983 @r=`${PWD_COMMAND}`; export r; \
22984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22985 $(SET_LIB_PATH) \
22986 $(NORMAL_TARGET_EXPORTS) \
22987 (cd $(TARGET_SUBDIR)/libgfortran && \
22988 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22989 @endif target-libgfortran
22991 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
22992 maybe-check-target-libgfortran:
22993 @if target-libgfortran
22994 maybe-check-target-libgfortran: check-target-libgfortran
22996 check-target-libgfortran:
22997 @r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 $(SET_LIB_PATH) \
23000 $(NORMAL_TARGET_EXPORTS) \
23001 (cd $(TARGET_SUBDIR)/libgfortran && \
23002 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23004 @endif target-libgfortran
23006 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23007 maybe-install-target-libgfortran:
23008 @if target-libgfortran
23009 maybe-install-target-libgfortran: install-target-libgfortran
23011 install-target-libgfortran: installdirs
23012 @r=`${PWD_COMMAND}`; export r; \
23013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23014 $(SET_LIB_PATH) \
23015 $(NORMAL_TARGET_EXPORTS) \
23016 (cd $(TARGET_SUBDIR)/libgfortran && \
23017 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23019 @endif target-libgfortran
23021 # Other targets (info, dvi, etc.)
23023 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23024 maybe-info-target-libgfortran:
23025 @if target-libgfortran
23026 maybe-info-target-libgfortran: info-target-libgfortran
23028 info-target-libgfortran: \
23029 configure-target-libgfortran
23030 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23031 r=`${PWD_COMMAND}`; export r; \
23032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23033 $(SET_LIB_PATH) \
23034 $(NORMAL_TARGET_EXPORTS) \
23035 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23036 for flag in $(EXTRA_TARGET_FLAGS); do \
23037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23038 done; \
23039 (cd $(TARGET_SUBDIR)/libgfortran && \
23040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23042 "RANLIB=$${RANLIB}" \
23043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23044 info) \
23045 || exit 1
23047 @endif target-libgfortran
23049 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23050 maybe-dvi-target-libgfortran:
23051 @if target-libgfortran
23052 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23054 dvi-target-libgfortran: \
23055 configure-target-libgfortran
23056 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23057 r=`${PWD_COMMAND}`; export r; \
23058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23059 $(SET_LIB_PATH) \
23060 $(NORMAL_TARGET_EXPORTS) \
23061 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23062 for flag in $(EXTRA_TARGET_FLAGS); do \
23063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23064 done; \
23065 (cd $(TARGET_SUBDIR)/libgfortran && \
23066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23068 "RANLIB=$${RANLIB}" \
23069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23070 dvi) \
23071 || exit 1
23073 @endif target-libgfortran
23075 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23076 maybe-TAGS-target-libgfortran:
23077 @if target-libgfortran
23078 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23080 TAGS-target-libgfortran: \
23081 configure-target-libgfortran
23082 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23083 r=`${PWD_COMMAND}`; export r; \
23084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23085 $(SET_LIB_PATH) \
23086 $(NORMAL_TARGET_EXPORTS) \
23087 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23088 for flag in $(EXTRA_TARGET_FLAGS); do \
23089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23090 done; \
23091 (cd $(TARGET_SUBDIR)/libgfortran && \
23092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23094 "RANLIB=$${RANLIB}" \
23095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23096 TAGS) \
23097 || exit 1
23099 @endif target-libgfortran
23101 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23102 maybe-install-info-target-libgfortran:
23103 @if target-libgfortran
23104 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23106 install-info-target-libgfortran: \
23107 configure-target-libgfortran \
23108 info-target-libgfortran
23109 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23110 r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23112 $(SET_LIB_PATH) \
23113 $(NORMAL_TARGET_EXPORTS) \
23114 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23115 for flag in $(EXTRA_TARGET_FLAGS); do \
23116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23117 done; \
23118 (cd $(TARGET_SUBDIR)/libgfortran && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23123 install-info) \
23124 || exit 1
23126 @endif target-libgfortran
23128 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23129 maybe-installcheck-target-libgfortran:
23130 @if target-libgfortran
23131 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23133 installcheck-target-libgfortran: \
23134 configure-target-libgfortran
23135 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23136 r=`${PWD_COMMAND}`; export r; \
23137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 $(SET_LIB_PATH) \
23139 $(NORMAL_TARGET_EXPORTS) \
23140 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23141 for flag in $(EXTRA_TARGET_FLAGS); do \
23142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23143 done; \
23144 (cd $(TARGET_SUBDIR)/libgfortran && \
23145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23147 "RANLIB=$${RANLIB}" \
23148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23149 installcheck) \
23150 || exit 1
23152 @endif target-libgfortran
23154 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23155 maybe-mostlyclean-target-libgfortran:
23156 @if target-libgfortran
23157 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23159 mostlyclean-target-libgfortran:
23160 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23161 r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 $(SET_LIB_PATH) \
23164 $(NORMAL_TARGET_EXPORTS) \
23165 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23166 for flag in $(EXTRA_TARGET_FLAGS); do \
23167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23168 done; \
23169 (cd $(TARGET_SUBDIR)/libgfortran && \
23170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23172 "RANLIB=$${RANLIB}" \
23173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23174 mostlyclean) \
23175 || exit 1
23177 @endif target-libgfortran
23179 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23180 maybe-clean-target-libgfortran:
23181 @if target-libgfortran
23182 maybe-clean-target-libgfortran: clean-target-libgfortran
23184 clean-target-libgfortran:
23185 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23186 r=`${PWD_COMMAND}`; export r; \
23187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23188 $(SET_LIB_PATH) \
23189 $(NORMAL_TARGET_EXPORTS) \
23190 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23191 for flag in $(EXTRA_TARGET_FLAGS); do \
23192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23193 done; \
23194 (cd $(TARGET_SUBDIR)/libgfortran && \
23195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23197 "RANLIB=$${RANLIB}" \
23198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23199 clean) \
23200 || exit 1
23202 @endif target-libgfortran
23204 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23205 maybe-distclean-target-libgfortran:
23206 @if target-libgfortran
23207 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23209 distclean-target-libgfortran:
23210 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23211 r=`${PWD_COMMAND}`; export r; \
23212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23213 $(SET_LIB_PATH) \
23214 $(NORMAL_TARGET_EXPORTS) \
23215 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23216 for flag in $(EXTRA_TARGET_FLAGS); do \
23217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23218 done; \
23219 (cd $(TARGET_SUBDIR)/libgfortran && \
23220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23222 "RANLIB=$${RANLIB}" \
23223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23224 distclean) \
23225 || exit 1
23227 @endif target-libgfortran
23229 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23230 maybe-maintainer-clean-target-libgfortran:
23231 @if target-libgfortran
23232 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23234 maintainer-clean-target-libgfortran:
23235 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23236 r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(SET_LIB_PATH) \
23239 $(NORMAL_TARGET_EXPORTS) \
23240 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23241 for flag in $(EXTRA_TARGET_FLAGS); do \
23242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23243 done; \
23244 (cd $(TARGET_SUBDIR)/libgfortran && \
23245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23247 "RANLIB=$${RANLIB}" \
23248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23249 maintainer-clean) \
23250 || exit 1
23252 @endif target-libgfortran
23255 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23256 maybe-configure-target-libobjc:
23257 @if target-libobjc
23258 maybe-configure-target-libobjc: configure-target-libobjc
23260 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23261 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23263 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23264 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23266 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23267 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23268 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23269 r=`${PWD_COMMAND}`; export r; \
23270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23271 $(SET_LIB_PATH) \
23272 $(NORMAL_TARGET_EXPORTS) \
23273 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23274 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23275 case $(srcdir) in \
23276 /* | [A-Za-z]:[\\/]*) \
23277 topdir=$(srcdir) ;; \
23278 *) \
23279 case "$(TARGET_SUBDIR)" in \
23280 .) topdir="../$(srcdir)" ;; \
23281 *) topdir="../../$(srcdir)" ;; \
23282 esac ;; \
23283 esac; \
23284 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23285 libsrcdir="$$s/libobjc"; \
23286 rm -f no-such-file || : ; \
23287 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23288 $(TARGET_CONFIGARGS) $${srcdiroption} \
23289 --with-target-subdir="$(TARGET_SUBDIR)" \
23290 || exit 1
23291 @endif target-libobjc
23293 .PHONY: all-target-libobjc maybe-all-target-libobjc
23294 maybe-all-target-libobjc:
23295 @if target-libobjc
23296 maybe-all-target-libobjc: all-target-libobjc
23297 all-target-libobjc: configure-target-libobjc
23298 @r=`${PWD_COMMAND}`; export r; \
23299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 $(SET_LIB_PATH) \
23301 $(NORMAL_TARGET_EXPORTS) \
23302 (cd $(TARGET_SUBDIR)/libobjc && \
23303 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23304 @endif target-libobjc
23306 .PHONY: check-target-libobjc maybe-check-target-libobjc
23307 maybe-check-target-libobjc:
23308 @if target-libobjc
23309 maybe-check-target-libobjc: check-target-libobjc
23311 check-target-libobjc:
23312 @r=`${PWD_COMMAND}`; export r; \
23313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23314 $(SET_LIB_PATH) \
23315 $(NORMAL_TARGET_EXPORTS) \
23316 (cd $(TARGET_SUBDIR)/libobjc && \
23317 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23319 @endif target-libobjc
23321 .PHONY: install-target-libobjc maybe-install-target-libobjc
23322 maybe-install-target-libobjc:
23323 @if target-libobjc
23324 maybe-install-target-libobjc: install-target-libobjc
23326 install-target-libobjc: installdirs
23327 @r=`${PWD_COMMAND}`; export r; \
23328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23329 $(SET_LIB_PATH) \
23330 $(NORMAL_TARGET_EXPORTS) \
23331 (cd $(TARGET_SUBDIR)/libobjc && \
23332 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23334 @endif target-libobjc
23336 # Other targets (info, dvi, etc.)
23338 .PHONY: maybe-info-target-libobjc info-target-libobjc
23339 maybe-info-target-libobjc:
23340 @if target-libobjc
23341 maybe-info-target-libobjc: info-target-libobjc
23343 info-target-libobjc: \
23344 configure-target-libobjc
23345 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23346 r=`${PWD_COMMAND}`; export r; \
23347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23348 $(SET_LIB_PATH) \
23349 $(NORMAL_TARGET_EXPORTS) \
23350 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23351 for flag in $(EXTRA_TARGET_FLAGS); do \
23352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23353 done; \
23354 (cd $(TARGET_SUBDIR)/libobjc && \
23355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23357 "RANLIB=$${RANLIB}" \
23358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23359 info) \
23360 || exit 1
23362 @endif target-libobjc
23364 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23365 maybe-dvi-target-libobjc:
23366 @if target-libobjc
23367 maybe-dvi-target-libobjc: dvi-target-libobjc
23369 dvi-target-libobjc: \
23370 configure-target-libobjc
23371 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23372 r=`${PWD_COMMAND}`; export r; \
23373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23374 $(SET_LIB_PATH) \
23375 $(NORMAL_TARGET_EXPORTS) \
23376 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23377 for flag in $(EXTRA_TARGET_FLAGS); do \
23378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23379 done; \
23380 (cd $(TARGET_SUBDIR)/libobjc && \
23381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23383 "RANLIB=$${RANLIB}" \
23384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23385 dvi) \
23386 || exit 1
23388 @endif target-libobjc
23390 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23391 maybe-TAGS-target-libobjc:
23392 @if target-libobjc
23393 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23395 TAGS-target-libobjc: \
23396 configure-target-libobjc
23397 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23400 $(SET_LIB_PATH) \
23401 $(NORMAL_TARGET_EXPORTS) \
23402 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23403 for flag in $(EXTRA_TARGET_FLAGS); do \
23404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23405 done; \
23406 (cd $(TARGET_SUBDIR)/libobjc && \
23407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23409 "RANLIB=$${RANLIB}" \
23410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23411 TAGS) \
23412 || exit 1
23414 @endif target-libobjc
23416 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23417 maybe-install-info-target-libobjc:
23418 @if target-libobjc
23419 maybe-install-info-target-libobjc: install-info-target-libobjc
23421 install-info-target-libobjc: \
23422 configure-target-libobjc \
23423 info-target-libobjc
23424 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(SET_LIB_PATH) \
23428 $(NORMAL_TARGET_EXPORTS) \
23429 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23430 for flag in $(EXTRA_TARGET_FLAGS); do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432 done; \
23433 (cd $(TARGET_SUBDIR)/libobjc && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438 install-info) \
23439 || exit 1
23441 @endif target-libobjc
23443 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23444 maybe-installcheck-target-libobjc:
23445 @if target-libobjc
23446 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23448 installcheck-target-libobjc: \
23449 configure-target-libobjc
23450 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23451 r=`${PWD_COMMAND}`; export r; \
23452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23453 $(SET_LIB_PATH) \
23454 $(NORMAL_TARGET_EXPORTS) \
23455 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23456 for flag in $(EXTRA_TARGET_FLAGS); do \
23457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23458 done; \
23459 (cd $(TARGET_SUBDIR)/libobjc && \
23460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23462 "RANLIB=$${RANLIB}" \
23463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23464 installcheck) \
23465 || exit 1
23467 @endif target-libobjc
23469 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23470 maybe-mostlyclean-target-libobjc:
23471 @if target-libobjc
23472 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23474 mostlyclean-target-libobjc:
23475 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23476 r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(SET_LIB_PATH) \
23479 $(NORMAL_TARGET_EXPORTS) \
23480 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23481 for flag in $(EXTRA_TARGET_FLAGS); do \
23482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23483 done; \
23484 (cd $(TARGET_SUBDIR)/libobjc && \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23487 "RANLIB=$${RANLIB}" \
23488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23489 mostlyclean) \
23490 || exit 1
23492 @endif target-libobjc
23494 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23495 maybe-clean-target-libobjc:
23496 @if target-libobjc
23497 maybe-clean-target-libobjc: clean-target-libobjc
23499 clean-target-libobjc:
23500 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23501 r=`${PWD_COMMAND}`; export r; \
23502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23503 $(SET_LIB_PATH) \
23504 $(NORMAL_TARGET_EXPORTS) \
23505 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23506 for flag in $(EXTRA_TARGET_FLAGS); do \
23507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23508 done; \
23509 (cd $(TARGET_SUBDIR)/libobjc && \
23510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23512 "RANLIB=$${RANLIB}" \
23513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23514 clean) \
23515 || exit 1
23517 @endif target-libobjc
23519 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23520 maybe-distclean-target-libobjc:
23521 @if target-libobjc
23522 maybe-distclean-target-libobjc: distclean-target-libobjc
23524 distclean-target-libobjc:
23525 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23526 r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 $(SET_LIB_PATH) \
23529 $(NORMAL_TARGET_EXPORTS) \
23530 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23531 for flag in $(EXTRA_TARGET_FLAGS); do \
23532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23533 done; \
23534 (cd $(TARGET_SUBDIR)/libobjc && \
23535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23537 "RANLIB=$${RANLIB}" \
23538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23539 distclean) \
23540 || exit 1
23542 @endif target-libobjc
23544 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23545 maybe-maintainer-clean-target-libobjc:
23546 @if target-libobjc
23547 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23549 maintainer-clean-target-libobjc:
23550 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23551 r=`${PWD_COMMAND}`; export r; \
23552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23553 $(SET_LIB_PATH) \
23554 $(NORMAL_TARGET_EXPORTS) \
23555 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23556 for flag in $(EXTRA_TARGET_FLAGS); do \
23557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23558 done; \
23559 (cd $(TARGET_SUBDIR)/libobjc && \
23560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23562 "RANLIB=$${RANLIB}" \
23563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23564 maintainer-clean) \
23565 || exit 1
23567 @endif target-libobjc
23570 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23571 maybe-configure-target-libtermcap:
23572 @if target-libtermcap
23573 maybe-configure-target-libtermcap: configure-target-libtermcap
23575 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23576 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23578 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23579 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23581 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23582 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23584 r=`${PWD_COMMAND}`; export r; \
23585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23586 $(SET_LIB_PATH) \
23587 $(NORMAL_TARGET_EXPORTS) \
23588 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23589 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23590 case $(srcdir) in \
23591 /* | [A-Za-z]:[\\/]*) \
23592 topdir=$(srcdir) ;; \
23593 *) \
23594 case "$(TARGET_SUBDIR)" in \
23595 .) topdir="../$(srcdir)" ;; \
23596 *) topdir="../../$(srcdir)" ;; \
23597 esac ;; \
23598 esac; \
23599 if [ "$(srcdir)" = "." ] ; then \
23600 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23601 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23602 if [ -f Makefile ]; then \
23603 if $(MAKE) distclean; then \
23604 true; \
23605 else \
23606 exit 1; \
23607 fi; \
23608 else \
23609 true; \
23610 fi; \
23611 else \
23612 exit 1; \
23613 fi; \
23614 else \
23615 true; \
23616 fi; \
23617 srcdiroption="--srcdir=."; \
23618 libsrcdir="."; \
23619 else \
23620 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23621 libsrcdir="$$s/libtermcap"; \
23622 fi; \
23623 rm -f no-such-file || : ; \
23624 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23625 $(TARGET_CONFIGARGS) $${srcdiroption} \
23626 --with-target-subdir="$(TARGET_SUBDIR)" \
23627 || exit 1
23628 @endif target-libtermcap
23630 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23631 maybe-all-target-libtermcap:
23632 @if target-libtermcap
23633 maybe-all-target-libtermcap: all-target-libtermcap
23634 all-target-libtermcap: configure-target-libtermcap
23635 @r=`${PWD_COMMAND}`; export r; \
23636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23637 $(SET_LIB_PATH) \
23638 $(NORMAL_TARGET_EXPORTS) \
23639 (cd $(TARGET_SUBDIR)/libtermcap && \
23640 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23641 @endif target-libtermcap
23643 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23644 maybe-check-target-libtermcap:
23645 @if target-libtermcap
23646 maybe-check-target-libtermcap: check-target-libtermcap
23648 # Dummy target for uncheckable module.
23649 check-target-libtermcap:
23651 @endif target-libtermcap
23653 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23654 maybe-install-target-libtermcap:
23655 @if target-libtermcap
23656 maybe-install-target-libtermcap: install-target-libtermcap
23658 install-target-libtermcap: installdirs
23659 @r=`${PWD_COMMAND}`; export r; \
23660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23661 $(SET_LIB_PATH) \
23662 $(NORMAL_TARGET_EXPORTS) \
23663 (cd $(TARGET_SUBDIR)/libtermcap && \
23664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23666 @endif target-libtermcap
23668 # Other targets (info, dvi, etc.)
23670 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23671 maybe-info-target-libtermcap:
23672 @if target-libtermcap
23673 maybe-info-target-libtermcap: info-target-libtermcap
23675 info-target-libtermcap: \
23676 configure-target-libtermcap
23677 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23678 r=`${PWD_COMMAND}`; export r; \
23679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23680 $(SET_LIB_PATH) \
23681 $(NORMAL_TARGET_EXPORTS) \
23682 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23683 for flag in $(EXTRA_TARGET_FLAGS); do \
23684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23685 done; \
23686 (cd $(TARGET_SUBDIR)/libtermcap && \
23687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23689 "RANLIB=$${RANLIB}" \
23690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23691 info) \
23692 || exit 1
23694 @endif target-libtermcap
23696 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23697 maybe-dvi-target-libtermcap:
23698 @if target-libtermcap
23699 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23701 dvi-target-libtermcap: \
23702 configure-target-libtermcap
23703 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23704 r=`${PWD_COMMAND}`; export r; \
23705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23706 $(SET_LIB_PATH) \
23707 $(NORMAL_TARGET_EXPORTS) \
23708 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23709 for flag in $(EXTRA_TARGET_FLAGS); do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711 done; \
23712 (cd $(TARGET_SUBDIR)/libtermcap && \
23713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23715 "RANLIB=$${RANLIB}" \
23716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23717 dvi) \
23718 || exit 1
23720 @endif target-libtermcap
23722 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23723 maybe-TAGS-target-libtermcap:
23724 @if target-libtermcap
23725 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23727 TAGS-target-libtermcap: \
23728 configure-target-libtermcap
23729 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23730 r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732 $(SET_LIB_PATH) \
23733 $(NORMAL_TARGET_EXPORTS) \
23734 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23735 for flag in $(EXTRA_TARGET_FLAGS); do \
23736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23737 done; \
23738 (cd $(TARGET_SUBDIR)/libtermcap && \
23739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23741 "RANLIB=$${RANLIB}" \
23742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23743 TAGS) \
23744 || exit 1
23746 @endif target-libtermcap
23748 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23749 maybe-install-info-target-libtermcap:
23750 @if target-libtermcap
23751 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23753 install-info-target-libtermcap: \
23754 configure-target-libtermcap \
23755 info-target-libtermcap
23756 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23757 r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 $(SET_LIB_PATH) \
23760 $(NORMAL_TARGET_EXPORTS) \
23761 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23762 for flag in $(EXTRA_TARGET_FLAGS); do \
23763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23764 done; \
23765 (cd $(TARGET_SUBDIR)/libtermcap && \
23766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23768 "RANLIB=$${RANLIB}" \
23769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23770 install-info) \
23771 || exit 1
23773 @endif target-libtermcap
23775 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23776 maybe-installcheck-target-libtermcap:
23777 @if target-libtermcap
23778 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23780 installcheck-target-libtermcap: \
23781 configure-target-libtermcap
23782 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23783 r=`${PWD_COMMAND}`; export r; \
23784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23785 $(SET_LIB_PATH) \
23786 $(NORMAL_TARGET_EXPORTS) \
23787 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23788 for flag in $(EXTRA_TARGET_FLAGS); do \
23789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23790 done; \
23791 (cd $(TARGET_SUBDIR)/libtermcap && \
23792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23794 "RANLIB=$${RANLIB}" \
23795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23796 installcheck) \
23797 || exit 1
23799 @endif target-libtermcap
23801 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23802 maybe-mostlyclean-target-libtermcap:
23803 @if target-libtermcap
23804 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23806 # libtermcap doesn't support mostlyclean.
23807 mostlyclean-target-libtermcap:
23809 @endif target-libtermcap
23811 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23812 maybe-clean-target-libtermcap:
23813 @if target-libtermcap
23814 maybe-clean-target-libtermcap: clean-target-libtermcap
23816 # libtermcap doesn't support clean.
23817 clean-target-libtermcap:
23819 @endif target-libtermcap
23821 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23822 maybe-distclean-target-libtermcap:
23823 @if target-libtermcap
23824 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23826 # libtermcap doesn't support distclean.
23827 distclean-target-libtermcap:
23829 @endif target-libtermcap
23831 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23832 maybe-maintainer-clean-target-libtermcap:
23833 @if target-libtermcap
23834 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23836 # libtermcap doesn't support maintainer-clean.
23837 maintainer-clean-target-libtermcap:
23839 @endif target-libtermcap
23842 .PHONY: configure-target-winsup maybe-configure-target-winsup
23843 maybe-configure-target-winsup:
23844 @if target-winsup
23845 maybe-configure-target-winsup: configure-target-winsup
23847 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23848 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23849 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23850 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23851 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23853 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23854 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23855 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23856 r=`${PWD_COMMAND}`; export r; \
23857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 $(SET_LIB_PATH) \
23859 $(NORMAL_TARGET_EXPORTS) \
23860 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23861 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23862 case $(srcdir) in \
23863 /* | [A-Za-z]:[\\/]*) \
23864 topdir=$(srcdir) ;; \
23865 *) \
23866 case "$(TARGET_SUBDIR)" in \
23867 .) topdir="../$(srcdir)" ;; \
23868 *) topdir="../../$(srcdir)" ;; \
23869 esac ;; \
23870 esac; \
23871 srcdiroption="--srcdir=$${topdir}/winsup"; \
23872 libsrcdir="$$s/winsup"; \
23873 rm -f no-such-file || : ; \
23874 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23875 $(TARGET_CONFIGARGS) $${srcdiroption} \
23876 --with-target-subdir="$(TARGET_SUBDIR)" \
23877 || exit 1
23878 @endif target-winsup
23880 .PHONY: all-target-winsup maybe-all-target-winsup
23881 maybe-all-target-winsup:
23882 @if target-winsup
23883 maybe-all-target-winsup: all-target-winsup
23884 all-target-winsup: configure-target-winsup
23885 @r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23887 $(SET_LIB_PATH) \
23888 $(NORMAL_TARGET_EXPORTS) \
23889 (cd $(TARGET_SUBDIR)/winsup && \
23890 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23891 @endif target-winsup
23893 .PHONY: check-target-winsup maybe-check-target-winsup
23894 maybe-check-target-winsup:
23895 @if target-winsup
23896 maybe-check-target-winsup: check-target-winsup
23898 check-target-winsup:
23899 @r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(SET_LIB_PATH) \
23902 $(NORMAL_TARGET_EXPORTS) \
23903 (cd $(TARGET_SUBDIR)/winsup && \
23904 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23906 @endif target-winsup
23908 .PHONY: install-target-winsup maybe-install-target-winsup
23909 maybe-install-target-winsup:
23910 @if target-winsup
23911 maybe-install-target-winsup: install-target-winsup
23913 install-target-winsup: installdirs
23914 @r=`${PWD_COMMAND}`; export r; \
23915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23916 $(SET_LIB_PATH) \
23917 $(NORMAL_TARGET_EXPORTS) \
23918 (cd $(TARGET_SUBDIR)/winsup && \
23919 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23921 @endif target-winsup
23923 # Other targets (info, dvi, etc.)
23925 .PHONY: maybe-info-target-winsup info-target-winsup
23926 maybe-info-target-winsup:
23927 @if target-winsup
23928 maybe-info-target-winsup: info-target-winsup
23930 info-target-winsup: \
23931 configure-target-winsup
23932 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23935 $(SET_LIB_PATH) \
23936 $(NORMAL_TARGET_EXPORTS) \
23937 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
23938 for flag in $(EXTRA_TARGET_FLAGS); do \
23939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23940 done; \
23941 (cd $(TARGET_SUBDIR)/winsup && \
23942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23944 "RANLIB=$${RANLIB}" \
23945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23946 info) \
23947 || exit 1
23949 @endif target-winsup
23951 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
23952 maybe-dvi-target-winsup:
23953 @if target-winsup
23954 maybe-dvi-target-winsup: dvi-target-winsup
23956 dvi-target-winsup: \
23957 configure-target-winsup
23958 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23959 r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(SET_LIB_PATH) \
23962 $(NORMAL_TARGET_EXPORTS) \
23963 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
23964 for flag in $(EXTRA_TARGET_FLAGS); do \
23965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23966 done; \
23967 (cd $(TARGET_SUBDIR)/winsup && \
23968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23970 "RANLIB=$${RANLIB}" \
23971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23972 dvi) \
23973 || exit 1
23975 @endif target-winsup
23977 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
23978 maybe-TAGS-target-winsup:
23979 @if target-winsup
23980 maybe-TAGS-target-winsup: TAGS-target-winsup
23982 TAGS-target-winsup: \
23983 configure-target-winsup
23984 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23985 r=`${PWD_COMMAND}`; export r; \
23986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23987 $(SET_LIB_PATH) \
23988 $(NORMAL_TARGET_EXPORTS) \
23989 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
23990 for flag in $(EXTRA_TARGET_FLAGS); do \
23991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23992 done; \
23993 (cd $(TARGET_SUBDIR)/winsup && \
23994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23996 "RANLIB=$${RANLIB}" \
23997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23998 TAGS) \
23999 || exit 1
24001 @endif target-winsup
24003 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24004 maybe-install-info-target-winsup:
24005 @if target-winsup
24006 maybe-install-info-target-winsup: install-info-target-winsup
24008 install-info-target-winsup: \
24009 configure-target-winsup \
24010 info-target-winsup
24011 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24012 r=`${PWD_COMMAND}`; export r; \
24013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24014 $(SET_LIB_PATH) \
24015 $(NORMAL_TARGET_EXPORTS) \
24016 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24017 for flag in $(EXTRA_TARGET_FLAGS); do \
24018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24019 done; \
24020 (cd $(TARGET_SUBDIR)/winsup && \
24021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24023 "RANLIB=$${RANLIB}" \
24024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24025 install-info) \
24026 || exit 1
24028 @endif target-winsup
24030 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24031 maybe-installcheck-target-winsup:
24032 @if target-winsup
24033 maybe-installcheck-target-winsup: installcheck-target-winsup
24035 installcheck-target-winsup: \
24036 configure-target-winsup
24037 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24038 r=`${PWD_COMMAND}`; export r; \
24039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24040 $(SET_LIB_PATH) \
24041 $(NORMAL_TARGET_EXPORTS) \
24042 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24043 for flag in $(EXTRA_TARGET_FLAGS); do \
24044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24045 done; \
24046 (cd $(TARGET_SUBDIR)/winsup && \
24047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24049 "RANLIB=$${RANLIB}" \
24050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24051 installcheck) \
24052 || exit 1
24054 @endif target-winsup
24056 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24057 maybe-mostlyclean-target-winsup:
24058 @if target-winsup
24059 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24061 mostlyclean-target-winsup:
24062 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24063 r=`${PWD_COMMAND}`; export r; \
24064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24065 $(SET_LIB_PATH) \
24066 $(NORMAL_TARGET_EXPORTS) \
24067 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24068 for flag in $(EXTRA_TARGET_FLAGS); do \
24069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24070 done; \
24071 (cd $(TARGET_SUBDIR)/winsup && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24076 mostlyclean) \
24077 || exit 1
24079 @endif target-winsup
24081 .PHONY: maybe-clean-target-winsup clean-target-winsup
24082 maybe-clean-target-winsup:
24083 @if target-winsup
24084 maybe-clean-target-winsup: clean-target-winsup
24086 clean-target-winsup:
24087 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24088 r=`${PWD_COMMAND}`; export r; \
24089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24090 $(SET_LIB_PATH) \
24091 $(NORMAL_TARGET_EXPORTS) \
24092 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24093 for flag in $(EXTRA_TARGET_FLAGS); do \
24094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24095 done; \
24096 (cd $(TARGET_SUBDIR)/winsup && \
24097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24099 "RANLIB=$${RANLIB}" \
24100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24101 clean) \
24102 || exit 1
24104 @endif target-winsup
24106 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24107 maybe-distclean-target-winsup:
24108 @if target-winsup
24109 maybe-distclean-target-winsup: distclean-target-winsup
24111 distclean-target-winsup:
24112 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24113 r=`${PWD_COMMAND}`; export r; \
24114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 $(SET_LIB_PATH) \
24116 $(NORMAL_TARGET_EXPORTS) \
24117 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24118 for flag in $(EXTRA_TARGET_FLAGS); do \
24119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24120 done; \
24121 (cd $(TARGET_SUBDIR)/winsup && \
24122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24124 "RANLIB=$${RANLIB}" \
24125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24126 distclean) \
24127 || exit 1
24129 @endif target-winsup
24131 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24132 maybe-maintainer-clean-target-winsup:
24133 @if target-winsup
24134 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24136 maintainer-clean-target-winsup:
24137 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24138 r=`${PWD_COMMAND}`; export r; \
24139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24140 $(SET_LIB_PATH) \
24141 $(NORMAL_TARGET_EXPORTS) \
24142 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24143 for flag in $(EXTRA_TARGET_FLAGS); do \
24144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24145 done; \
24146 (cd $(TARGET_SUBDIR)/winsup && \
24147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24149 "RANLIB=$${RANLIB}" \
24150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24151 maintainer-clean) \
24152 || exit 1
24154 @endif target-winsup
24157 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24158 maybe-configure-target-libgloss:
24159 @if target-libgloss
24160 maybe-configure-target-libgloss: configure-target-libgloss
24162 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24163 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24165 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24166 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24168 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24169 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24171 r=`${PWD_COMMAND}`; export r; \
24172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24173 $(SET_LIB_PATH) \
24174 $(NORMAL_TARGET_EXPORTS) \
24175 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24176 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24177 case $(srcdir) in \
24178 /* | [A-Za-z]:[\\/]*) \
24179 topdir=$(srcdir) ;; \
24180 *) \
24181 case "$(TARGET_SUBDIR)" in \
24182 .) topdir="../$(srcdir)" ;; \
24183 *) topdir="../../$(srcdir)" ;; \
24184 esac ;; \
24185 esac; \
24186 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24187 libsrcdir="$$s/libgloss"; \
24188 rm -f no-such-file || : ; \
24189 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24190 $(TARGET_CONFIGARGS) $${srcdiroption} \
24191 --with-target-subdir="$(TARGET_SUBDIR)" \
24192 || exit 1
24193 @endif target-libgloss
24195 .PHONY: all-target-libgloss maybe-all-target-libgloss
24196 maybe-all-target-libgloss:
24197 @if target-libgloss
24198 maybe-all-target-libgloss: all-target-libgloss
24199 all-target-libgloss: configure-target-libgloss
24200 @r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202 $(SET_LIB_PATH) \
24203 $(NORMAL_TARGET_EXPORTS) \
24204 (cd $(TARGET_SUBDIR)/libgloss && \
24205 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24206 @endif target-libgloss
24208 .PHONY: check-target-libgloss maybe-check-target-libgloss
24209 maybe-check-target-libgloss:
24210 @if target-libgloss
24211 maybe-check-target-libgloss: check-target-libgloss
24213 # Dummy target for uncheckable module.
24214 check-target-libgloss:
24216 @endif target-libgloss
24218 .PHONY: install-target-libgloss maybe-install-target-libgloss
24219 maybe-install-target-libgloss:
24220 @if target-libgloss
24221 maybe-install-target-libgloss: install-target-libgloss
24223 install-target-libgloss: installdirs
24224 @r=`${PWD_COMMAND}`; export r; \
24225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24226 $(SET_LIB_PATH) \
24227 $(NORMAL_TARGET_EXPORTS) \
24228 (cd $(TARGET_SUBDIR)/libgloss && \
24229 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24231 @endif target-libgloss
24233 # Other targets (info, dvi, etc.)
24235 .PHONY: maybe-info-target-libgloss info-target-libgloss
24236 maybe-info-target-libgloss:
24237 @if target-libgloss
24238 maybe-info-target-libgloss: info-target-libgloss
24240 info-target-libgloss: \
24241 configure-target-libgloss
24242 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24243 r=`${PWD_COMMAND}`; export r; \
24244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 $(SET_LIB_PATH) \
24246 $(NORMAL_TARGET_EXPORTS) \
24247 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24248 for flag in $(EXTRA_TARGET_FLAGS); do \
24249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24250 done; \
24251 (cd $(TARGET_SUBDIR)/libgloss && \
24252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24254 "RANLIB=$${RANLIB}" \
24255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24256 info) \
24257 || exit 1
24259 @endif target-libgloss
24261 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24262 maybe-dvi-target-libgloss:
24263 @if target-libgloss
24264 maybe-dvi-target-libgloss: dvi-target-libgloss
24266 dvi-target-libgloss: \
24267 configure-target-libgloss
24268 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24269 r=`${PWD_COMMAND}`; export r; \
24270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24271 $(SET_LIB_PATH) \
24272 $(NORMAL_TARGET_EXPORTS) \
24273 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24274 for flag in $(EXTRA_TARGET_FLAGS); do \
24275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24276 done; \
24277 (cd $(TARGET_SUBDIR)/libgloss && \
24278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24280 "RANLIB=$${RANLIB}" \
24281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24282 dvi) \
24283 || exit 1
24285 @endif target-libgloss
24287 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24288 maybe-TAGS-target-libgloss:
24289 @if target-libgloss
24290 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24292 TAGS-target-libgloss: \
24293 configure-target-libgloss
24294 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24295 r=`${PWD_COMMAND}`; export r; \
24296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24297 $(SET_LIB_PATH) \
24298 $(NORMAL_TARGET_EXPORTS) \
24299 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24300 for flag in $(EXTRA_TARGET_FLAGS); do \
24301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24302 done; \
24303 (cd $(TARGET_SUBDIR)/libgloss && \
24304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24306 "RANLIB=$${RANLIB}" \
24307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24308 TAGS) \
24309 || exit 1
24311 @endif target-libgloss
24313 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24314 maybe-install-info-target-libgloss:
24315 @if target-libgloss
24316 maybe-install-info-target-libgloss: install-info-target-libgloss
24318 install-info-target-libgloss: \
24319 configure-target-libgloss \
24320 info-target-libgloss
24321 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24322 r=`${PWD_COMMAND}`; export r; \
24323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24324 $(SET_LIB_PATH) \
24325 $(NORMAL_TARGET_EXPORTS) \
24326 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24327 for flag in $(EXTRA_TARGET_FLAGS); do \
24328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24329 done; \
24330 (cd $(TARGET_SUBDIR)/libgloss && \
24331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24333 "RANLIB=$${RANLIB}" \
24334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24335 install-info) \
24336 || exit 1
24338 @endif target-libgloss
24340 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24341 maybe-installcheck-target-libgloss:
24342 @if target-libgloss
24343 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24345 installcheck-target-libgloss: \
24346 configure-target-libgloss
24347 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24348 r=`${PWD_COMMAND}`; export r; \
24349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24350 $(SET_LIB_PATH) \
24351 $(NORMAL_TARGET_EXPORTS) \
24352 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24353 for flag in $(EXTRA_TARGET_FLAGS); do \
24354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24355 done; \
24356 (cd $(TARGET_SUBDIR)/libgloss && \
24357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24359 "RANLIB=$${RANLIB}" \
24360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24361 installcheck) \
24362 || exit 1
24364 @endif target-libgloss
24366 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24367 maybe-mostlyclean-target-libgloss:
24368 @if target-libgloss
24369 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24371 mostlyclean-target-libgloss:
24372 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24373 r=`${PWD_COMMAND}`; export r; \
24374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24375 $(SET_LIB_PATH) \
24376 $(NORMAL_TARGET_EXPORTS) \
24377 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24378 for flag in $(EXTRA_TARGET_FLAGS); do \
24379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24380 done; \
24381 (cd $(TARGET_SUBDIR)/libgloss && \
24382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24384 "RANLIB=$${RANLIB}" \
24385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24386 mostlyclean) \
24387 || exit 1
24389 @endif target-libgloss
24391 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24392 maybe-clean-target-libgloss:
24393 @if target-libgloss
24394 maybe-clean-target-libgloss: clean-target-libgloss
24396 clean-target-libgloss:
24397 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24398 r=`${PWD_COMMAND}`; export r; \
24399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24400 $(SET_LIB_PATH) \
24401 $(NORMAL_TARGET_EXPORTS) \
24402 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24403 for flag in $(EXTRA_TARGET_FLAGS); do \
24404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24405 done; \
24406 (cd $(TARGET_SUBDIR)/libgloss && \
24407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24409 "RANLIB=$${RANLIB}" \
24410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24411 clean) \
24412 || exit 1
24414 @endif target-libgloss
24416 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24417 maybe-distclean-target-libgloss:
24418 @if target-libgloss
24419 maybe-distclean-target-libgloss: distclean-target-libgloss
24421 distclean-target-libgloss:
24422 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24423 r=`${PWD_COMMAND}`; export r; \
24424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24425 $(SET_LIB_PATH) \
24426 $(NORMAL_TARGET_EXPORTS) \
24427 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24428 for flag in $(EXTRA_TARGET_FLAGS); do \
24429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24430 done; \
24431 (cd $(TARGET_SUBDIR)/libgloss && \
24432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24434 "RANLIB=$${RANLIB}" \
24435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24436 distclean) \
24437 || exit 1
24439 @endif target-libgloss
24441 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24442 maybe-maintainer-clean-target-libgloss:
24443 @if target-libgloss
24444 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24446 maintainer-clean-target-libgloss:
24447 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24448 r=`${PWD_COMMAND}`; export r; \
24449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 $(SET_LIB_PATH) \
24451 $(NORMAL_TARGET_EXPORTS) \
24452 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24453 for flag in $(EXTRA_TARGET_FLAGS); do \
24454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24455 done; \
24456 (cd $(TARGET_SUBDIR)/libgloss && \
24457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24459 "RANLIB=$${RANLIB}" \
24460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24461 maintainer-clean) \
24462 || exit 1
24464 @endif target-libgloss
24467 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24468 maybe-configure-target-libiberty:
24469 @if target-libiberty
24470 maybe-configure-target-libiberty: configure-target-libiberty
24472 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24473 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24474 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24475 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24476 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24478 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24479 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24481 r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24483 $(SET_LIB_PATH) \
24484 $(NORMAL_TARGET_EXPORTS) \
24485 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24486 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24487 case $(srcdir) in \
24488 /* | [A-Za-z]:[\\/]*) \
24489 topdir=$(srcdir) ;; \
24490 *) \
24491 case "$(TARGET_SUBDIR)" in \
24492 .) topdir="../$(srcdir)" ;; \
24493 *) topdir="../../$(srcdir)" ;; \
24494 esac ;; \
24495 esac; \
24496 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24497 libsrcdir="$$s/libiberty"; \
24498 rm -f no-such-file || : ; \
24499 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24500 $(TARGET_CONFIGARGS) $${srcdiroption} \
24501 --with-target-subdir="$(TARGET_SUBDIR)" \
24502 || exit 1
24503 @endif target-libiberty
24505 .PHONY: all-target-libiberty maybe-all-target-libiberty
24506 maybe-all-target-libiberty:
24507 @if target-libiberty
24508 maybe-all-target-libiberty: all-target-libiberty
24509 all-target-libiberty: configure-target-libiberty
24510 @r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24512 $(SET_LIB_PATH) \
24513 $(NORMAL_TARGET_EXPORTS) \
24514 (cd $(TARGET_SUBDIR)/libiberty && \
24515 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24516 @endif target-libiberty
24518 .PHONY: check-target-libiberty maybe-check-target-libiberty
24519 maybe-check-target-libiberty:
24520 @if target-libiberty
24521 maybe-check-target-libiberty: check-target-libiberty
24523 check-target-libiberty:
24524 @r=`${PWD_COMMAND}`; export r; \
24525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24526 $(SET_LIB_PATH) \
24527 $(NORMAL_TARGET_EXPORTS) \
24528 (cd $(TARGET_SUBDIR)/libiberty && \
24529 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24531 @endif target-libiberty
24533 .PHONY: install-target-libiberty maybe-install-target-libiberty
24534 maybe-install-target-libiberty:
24535 @if target-libiberty
24536 maybe-install-target-libiberty: install-target-libiberty
24538 install-target-libiberty: installdirs
24539 @r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 $(SET_LIB_PATH) \
24542 $(NORMAL_TARGET_EXPORTS) \
24543 (cd $(TARGET_SUBDIR)/libiberty && \
24544 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24546 @endif target-libiberty
24548 # Other targets (info, dvi, etc.)
24550 .PHONY: maybe-info-target-libiberty info-target-libiberty
24551 maybe-info-target-libiberty:
24552 @if target-libiberty
24553 maybe-info-target-libiberty: info-target-libiberty
24555 info-target-libiberty: \
24556 configure-target-libiberty
24557 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24558 r=`${PWD_COMMAND}`; export r; \
24559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24560 $(SET_LIB_PATH) \
24561 $(NORMAL_TARGET_EXPORTS) \
24562 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24563 for flag in $(EXTRA_TARGET_FLAGS); do \
24564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24565 done; \
24566 (cd $(TARGET_SUBDIR)/libiberty && \
24567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24569 "RANLIB=$${RANLIB}" \
24570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24571 info) \
24572 || exit 1
24574 @endif target-libiberty
24576 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24577 maybe-dvi-target-libiberty:
24578 @if target-libiberty
24579 maybe-dvi-target-libiberty: dvi-target-libiberty
24581 dvi-target-libiberty: \
24582 configure-target-libiberty
24583 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24584 r=`${PWD_COMMAND}`; export r; \
24585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24586 $(SET_LIB_PATH) \
24587 $(NORMAL_TARGET_EXPORTS) \
24588 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24589 for flag in $(EXTRA_TARGET_FLAGS); do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 (cd $(TARGET_SUBDIR)/libiberty && \
24593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24595 "RANLIB=$${RANLIB}" \
24596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24597 dvi) \
24598 || exit 1
24600 @endif target-libiberty
24602 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24603 maybe-TAGS-target-libiberty:
24604 @if target-libiberty
24605 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24607 TAGS-target-libiberty: \
24608 configure-target-libiberty
24609 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24610 r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24612 $(SET_LIB_PATH) \
24613 $(NORMAL_TARGET_EXPORTS) \
24614 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24615 for flag in $(EXTRA_TARGET_FLAGS); do \
24616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24617 done; \
24618 (cd $(TARGET_SUBDIR)/libiberty && \
24619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24621 "RANLIB=$${RANLIB}" \
24622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24623 TAGS) \
24624 || exit 1
24626 @endif target-libiberty
24628 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24629 maybe-install-info-target-libiberty:
24630 @if target-libiberty
24631 maybe-install-info-target-libiberty: install-info-target-libiberty
24633 install-info-target-libiberty: \
24634 configure-target-libiberty \
24635 info-target-libiberty
24636 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(SET_LIB_PATH) \
24640 $(NORMAL_TARGET_EXPORTS) \
24641 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24642 for flag in $(EXTRA_TARGET_FLAGS); do \
24643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24644 done; \
24645 (cd $(TARGET_SUBDIR)/libiberty && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24650 install-info) \
24651 || exit 1
24653 @endif target-libiberty
24655 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24656 maybe-installcheck-target-libiberty:
24657 @if target-libiberty
24658 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24660 installcheck-target-libiberty: \
24661 configure-target-libiberty
24662 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24663 r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 $(SET_LIB_PATH) \
24666 $(NORMAL_TARGET_EXPORTS) \
24667 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24668 for flag in $(EXTRA_TARGET_FLAGS); do \
24669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24670 done; \
24671 (cd $(TARGET_SUBDIR)/libiberty && \
24672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24674 "RANLIB=$${RANLIB}" \
24675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24676 installcheck) \
24677 || exit 1
24679 @endif target-libiberty
24681 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24682 maybe-mostlyclean-target-libiberty:
24683 @if target-libiberty
24684 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24686 mostlyclean-target-libiberty:
24687 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24688 r=`${PWD_COMMAND}`; export r; \
24689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24690 $(SET_LIB_PATH) \
24691 $(NORMAL_TARGET_EXPORTS) \
24692 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24693 for flag in $(EXTRA_TARGET_FLAGS); do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 (cd $(TARGET_SUBDIR)/libiberty && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 mostlyclean) \
24702 || exit 1
24704 @endif target-libiberty
24706 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24707 maybe-clean-target-libiberty:
24708 @if target-libiberty
24709 maybe-clean-target-libiberty: clean-target-libiberty
24711 clean-target-libiberty:
24712 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24713 r=`${PWD_COMMAND}`; export r; \
24714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(SET_LIB_PATH) \
24716 $(NORMAL_TARGET_EXPORTS) \
24717 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24718 for flag in $(EXTRA_TARGET_FLAGS); do \
24719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 done; \
24721 (cd $(TARGET_SUBDIR)/libiberty && \
24722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24724 "RANLIB=$${RANLIB}" \
24725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24726 clean) \
24727 || exit 1
24729 @endif target-libiberty
24731 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24732 maybe-distclean-target-libiberty:
24733 @if target-libiberty
24734 maybe-distclean-target-libiberty: distclean-target-libiberty
24736 distclean-target-libiberty:
24737 @[ -f $(TARGET_SUBDIR)/libiberty/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 distclean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 distclean) \
24752 || exit 1
24754 @endif target-libiberty
24756 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24757 maybe-maintainer-clean-target-libiberty:
24758 @if target-libiberty
24759 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24761 maintainer-clean-target-libiberty:
24762 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24763 r=`${PWD_COMMAND}`; export r; \
24764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24765 $(SET_LIB_PATH) \
24766 $(NORMAL_TARGET_EXPORTS) \
24767 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24768 for flag in $(EXTRA_TARGET_FLAGS); do \
24769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24770 done; \
24771 (cd $(TARGET_SUBDIR)/libiberty && \
24772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24774 "RANLIB=$${RANLIB}" \
24775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24776 maintainer-clean) \
24777 || exit 1
24779 @endif target-libiberty
24782 .PHONY: configure-target-gperf maybe-configure-target-gperf
24783 maybe-configure-target-gperf:
24784 @if target-gperf
24785 maybe-configure-target-gperf: configure-target-gperf
24787 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24788 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24789 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24790 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24791 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24793 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24794 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24796 r=`${PWD_COMMAND}`; export r; \
24797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(SET_LIB_PATH) \
24799 $(NORMAL_TARGET_EXPORTS) \
24800 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24801 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24802 case $(srcdir) in \
24803 /* | [A-Za-z]:[\\/]*) \
24804 topdir=$(srcdir) ;; \
24805 *) \
24806 case "$(TARGET_SUBDIR)" in \
24807 .) topdir="../$(srcdir)" ;; \
24808 *) topdir="../../$(srcdir)" ;; \
24809 esac ;; \
24810 esac; \
24811 srcdiroption="--srcdir=$${topdir}/gperf"; \
24812 libsrcdir="$$s/gperf"; \
24813 rm -f no-such-file || : ; \
24814 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24815 $(TARGET_CONFIGARGS) $${srcdiroption} \
24816 --with-target-subdir="$(TARGET_SUBDIR)" \
24817 || exit 1
24818 @endif target-gperf
24820 .PHONY: all-target-gperf maybe-all-target-gperf
24821 maybe-all-target-gperf:
24822 @if target-gperf
24823 maybe-all-target-gperf: all-target-gperf
24824 all-target-gperf: configure-target-gperf
24825 @r=`${PWD_COMMAND}`; export r; \
24826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24827 $(SET_LIB_PATH) \
24828 $(NORMAL_TARGET_EXPORTS) \
24829 (cd $(TARGET_SUBDIR)/gperf && \
24830 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24831 @endif target-gperf
24833 .PHONY: check-target-gperf maybe-check-target-gperf
24834 maybe-check-target-gperf:
24835 @if target-gperf
24836 maybe-check-target-gperf: check-target-gperf
24838 check-target-gperf:
24839 @r=`${PWD_COMMAND}`; export r; \
24840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(SET_LIB_PATH) \
24842 $(NORMAL_TARGET_EXPORTS) \
24843 (cd $(TARGET_SUBDIR)/gperf && \
24844 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24846 @endif target-gperf
24848 .PHONY: install-target-gperf maybe-install-target-gperf
24849 maybe-install-target-gperf:
24850 @if target-gperf
24851 maybe-install-target-gperf: install-target-gperf
24853 install-target-gperf: installdirs
24854 @r=`${PWD_COMMAND}`; export r; \
24855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24856 $(SET_LIB_PATH) \
24857 $(NORMAL_TARGET_EXPORTS) \
24858 (cd $(TARGET_SUBDIR)/gperf && \
24859 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24861 @endif target-gperf
24863 # Other targets (info, dvi, etc.)
24865 .PHONY: maybe-info-target-gperf info-target-gperf
24866 maybe-info-target-gperf:
24867 @if target-gperf
24868 maybe-info-target-gperf: info-target-gperf
24870 info-target-gperf: \
24871 configure-target-gperf
24872 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(SET_LIB_PATH) \
24876 $(NORMAL_TARGET_EXPORTS) \
24877 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24878 for flag in $(EXTRA_TARGET_FLAGS); do \
24879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24880 done; \
24881 (cd $(TARGET_SUBDIR)/gperf && \
24882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24884 "RANLIB=$${RANLIB}" \
24885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24886 info) \
24887 || exit 1
24889 @endif target-gperf
24891 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24892 maybe-dvi-target-gperf:
24893 @if target-gperf
24894 maybe-dvi-target-gperf: dvi-target-gperf
24896 dvi-target-gperf: \
24897 configure-target-gperf
24898 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24899 r=`${PWD_COMMAND}`; export r; \
24900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24901 $(SET_LIB_PATH) \
24902 $(NORMAL_TARGET_EXPORTS) \
24903 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24904 for flag in $(EXTRA_TARGET_FLAGS); do \
24905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24906 done; \
24907 (cd $(TARGET_SUBDIR)/gperf && \
24908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24910 "RANLIB=$${RANLIB}" \
24911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24912 dvi) \
24913 || exit 1
24915 @endif target-gperf
24917 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24918 maybe-TAGS-target-gperf:
24919 @if target-gperf
24920 maybe-TAGS-target-gperf: TAGS-target-gperf
24922 TAGS-target-gperf: \
24923 configure-target-gperf
24924 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24925 r=`${PWD_COMMAND}`; export r; \
24926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24927 $(SET_LIB_PATH) \
24928 $(NORMAL_TARGET_EXPORTS) \
24929 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
24930 for flag in $(EXTRA_TARGET_FLAGS); do \
24931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24932 done; \
24933 (cd $(TARGET_SUBDIR)/gperf && \
24934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24936 "RANLIB=$${RANLIB}" \
24937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24938 TAGS) \
24939 || exit 1
24941 @endif target-gperf
24943 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
24944 maybe-install-info-target-gperf:
24945 @if target-gperf
24946 maybe-install-info-target-gperf: install-info-target-gperf
24948 install-info-target-gperf: \
24949 configure-target-gperf \
24950 info-target-gperf
24951 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(SET_LIB_PATH) \
24955 $(NORMAL_TARGET_EXPORTS) \
24956 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
24957 for flag in $(EXTRA_TARGET_FLAGS); do \
24958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24959 done; \
24960 (cd $(TARGET_SUBDIR)/gperf && \
24961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24963 "RANLIB=$${RANLIB}" \
24964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24965 install-info) \
24966 || exit 1
24968 @endif target-gperf
24970 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
24971 maybe-installcheck-target-gperf:
24972 @if target-gperf
24973 maybe-installcheck-target-gperf: installcheck-target-gperf
24975 installcheck-target-gperf: \
24976 configure-target-gperf
24977 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24978 r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(SET_LIB_PATH) \
24981 $(NORMAL_TARGET_EXPORTS) \
24982 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
24983 for flag in $(EXTRA_TARGET_FLAGS); do \
24984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24985 done; \
24986 (cd $(TARGET_SUBDIR)/gperf && \
24987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24989 "RANLIB=$${RANLIB}" \
24990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24991 installcheck) \
24992 || exit 1
24994 @endif target-gperf
24996 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
24997 maybe-mostlyclean-target-gperf:
24998 @if target-gperf
24999 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25001 mostlyclean-target-gperf:
25002 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25003 r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 $(SET_LIB_PATH) \
25006 $(NORMAL_TARGET_EXPORTS) \
25007 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25008 for flag in $(EXTRA_TARGET_FLAGS); do \
25009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25010 done; \
25011 (cd $(TARGET_SUBDIR)/gperf && \
25012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25014 "RANLIB=$${RANLIB}" \
25015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25016 mostlyclean) \
25017 || exit 1
25019 @endif target-gperf
25021 .PHONY: maybe-clean-target-gperf clean-target-gperf
25022 maybe-clean-target-gperf:
25023 @if target-gperf
25024 maybe-clean-target-gperf: clean-target-gperf
25026 clean-target-gperf:
25027 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25028 r=`${PWD_COMMAND}`; export r; \
25029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25030 $(SET_LIB_PATH) \
25031 $(NORMAL_TARGET_EXPORTS) \
25032 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25033 for flag in $(EXTRA_TARGET_FLAGS); do \
25034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25035 done; \
25036 (cd $(TARGET_SUBDIR)/gperf && \
25037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039 "RANLIB=$${RANLIB}" \
25040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25041 clean) \
25042 || exit 1
25044 @endif target-gperf
25046 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25047 maybe-distclean-target-gperf:
25048 @if target-gperf
25049 maybe-distclean-target-gperf: distclean-target-gperf
25051 distclean-target-gperf:
25052 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25053 r=`${PWD_COMMAND}`; export r; \
25054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 $(SET_LIB_PATH) \
25056 $(NORMAL_TARGET_EXPORTS) \
25057 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25058 for flag in $(EXTRA_TARGET_FLAGS); do \
25059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 done; \
25061 (cd $(TARGET_SUBDIR)/gperf && \
25062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25064 "RANLIB=$${RANLIB}" \
25065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25066 distclean) \
25067 || exit 1
25069 @endif target-gperf
25071 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25072 maybe-maintainer-clean-target-gperf:
25073 @if target-gperf
25074 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25076 maintainer-clean-target-gperf:
25077 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25078 r=`${PWD_COMMAND}`; export r; \
25079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25080 $(SET_LIB_PATH) \
25081 $(NORMAL_TARGET_EXPORTS) \
25082 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25083 for flag in $(EXTRA_TARGET_FLAGS); do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25085 done; \
25086 (cd $(TARGET_SUBDIR)/gperf && \
25087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25089 "RANLIB=$${RANLIB}" \
25090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25091 maintainer-clean) \
25092 || exit 1
25094 @endif target-gperf
25097 .PHONY: configure-target-examples maybe-configure-target-examples
25098 maybe-configure-target-examples:
25099 @if target-examples
25100 maybe-configure-target-examples: configure-target-examples
25102 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25103 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25104 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25105 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25106 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25108 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25109 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25110 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25111 r=`${PWD_COMMAND}`; export r; \
25112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25113 $(SET_LIB_PATH) \
25114 $(NORMAL_TARGET_EXPORTS) \
25115 echo Configuring in $(TARGET_SUBDIR)/examples; \
25116 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25117 case $(srcdir) in \
25118 /* | [A-Za-z]:[\\/]*) \
25119 topdir=$(srcdir) ;; \
25120 *) \
25121 case "$(TARGET_SUBDIR)" in \
25122 .) topdir="../$(srcdir)" ;; \
25123 *) topdir="../../$(srcdir)" ;; \
25124 esac ;; \
25125 esac; \
25126 srcdiroption="--srcdir=$${topdir}/examples"; \
25127 libsrcdir="$$s/examples"; \
25128 rm -f no-such-file || : ; \
25129 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25130 $(TARGET_CONFIGARGS) $${srcdiroption} \
25131 --with-target-subdir="$(TARGET_SUBDIR)" \
25132 || exit 1
25133 @endif target-examples
25135 .PHONY: all-target-examples maybe-all-target-examples
25136 maybe-all-target-examples:
25137 @if target-examples
25138 maybe-all-target-examples: all-target-examples
25139 all-target-examples: configure-target-examples
25140 @r=`${PWD_COMMAND}`; export r; \
25141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25142 $(SET_LIB_PATH) \
25143 $(NORMAL_TARGET_EXPORTS) \
25144 (cd $(TARGET_SUBDIR)/examples && \
25145 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25146 @endif target-examples
25148 .PHONY: check-target-examples maybe-check-target-examples
25149 maybe-check-target-examples:
25150 @if target-examples
25151 maybe-check-target-examples: check-target-examples
25153 # Dummy target for uncheckable module.
25154 check-target-examples:
25156 @endif target-examples
25158 .PHONY: install-target-examples maybe-install-target-examples
25159 maybe-install-target-examples:
25160 @if target-examples
25161 maybe-install-target-examples: install-target-examples
25163 # Dummy target for uninstallable.
25164 install-target-examples:
25166 @endif target-examples
25168 # Other targets (info, dvi, etc.)
25170 .PHONY: maybe-info-target-examples info-target-examples
25171 maybe-info-target-examples:
25172 @if target-examples
25173 maybe-info-target-examples: info-target-examples
25175 info-target-examples: \
25176 configure-target-examples
25177 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25178 r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(SET_LIB_PATH) \
25181 $(NORMAL_TARGET_EXPORTS) \
25182 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25183 for flag in $(EXTRA_TARGET_FLAGS); do \
25184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25185 done; \
25186 (cd $(TARGET_SUBDIR)/examples && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25189 "RANLIB=$${RANLIB}" \
25190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 info) \
25192 || exit 1
25194 @endif target-examples
25196 .PHONY: maybe-dvi-target-examples dvi-target-examples
25197 maybe-dvi-target-examples:
25198 @if target-examples
25199 maybe-dvi-target-examples: dvi-target-examples
25201 dvi-target-examples: \
25202 configure-target-examples
25203 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25204 r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(SET_LIB_PATH) \
25207 $(NORMAL_TARGET_EXPORTS) \
25208 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25209 for flag in $(EXTRA_TARGET_FLAGS); do \
25210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25211 done; \
25212 (cd $(TARGET_SUBDIR)/examples && \
25213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25215 "RANLIB=$${RANLIB}" \
25216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25217 dvi) \
25218 || exit 1
25220 @endif target-examples
25222 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25223 maybe-TAGS-target-examples:
25224 @if target-examples
25225 maybe-TAGS-target-examples: TAGS-target-examples
25227 TAGS-target-examples: \
25228 configure-target-examples
25229 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25230 r=`${PWD_COMMAND}`; export r; \
25231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25232 $(SET_LIB_PATH) \
25233 $(NORMAL_TARGET_EXPORTS) \
25234 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25235 for flag in $(EXTRA_TARGET_FLAGS); do \
25236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25237 done; \
25238 (cd $(TARGET_SUBDIR)/examples && \
25239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25241 "RANLIB=$${RANLIB}" \
25242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25243 TAGS) \
25244 || exit 1
25246 @endif target-examples
25248 .PHONY: maybe-install-info-target-examples install-info-target-examples
25249 maybe-install-info-target-examples:
25250 @if target-examples
25251 maybe-install-info-target-examples: install-info-target-examples
25253 install-info-target-examples: \
25254 configure-target-examples \
25255 info-target-examples
25256 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25257 r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25259 $(SET_LIB_PATH) \
25260 $(NORMAL_TARGET_EXPORTS) \
25261 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25262 for flag in $(EXTRA_TARGET_FLAGS); do \
25263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25264 done; \
25265 (cd $(TARGET_SUBDIR)/examples && \
25266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25268 "RANLIB=$${RANLIB}" \
25269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25270 install-info) \
25271 || exit 1
25273 @endif target-examples
25275 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25276 maybe-installcheck-target-examples:
25277 @if target-examples
25278 maybe-installcheck-target-examples: installcheck-target-examples
25280 installcheck-target-examples: \
25281 configure-target-examples
25282 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25283 r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25285 $(SET_LIB_PATH) \
25286 $(NORMAL_TARGET_EXPORTS) \
25287 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25288 for flag in $(EXTRA_TARGET_FLAGS); do \
25289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25290 done; \
25291 (cd $(TARGET_SUBDIR)/examples && \
25292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25294 "RANLIB=$${RANLIB}" \
25295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25296 installcheck) \
25297 || exit 1
25299 @endif target-examples
25301 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25302 maybe-mostlyclean-target-examples:
25303 @if target-examples
25304 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25306 mostlyclean-target-examples:
25307 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25308 r=`${PWD_COMMAND}`; export r; \
25309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25310 $(SET_LIB_PATH) \
25311 $(NORMAL_TARGET_EXPORTS) \
25312 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25313 for flag in $(EXTRA_TARGET_FLAGS); do \
25314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25315 done; \
25316 (cd $(TARGET_SUBDIR)/examples && \
25317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25319 "RANLIB=$${RANLIB}" \
25320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25321 mostlyclean) \
25322 || exit 1
25324 @endif target-examples
25326 .PHONY: maybe-clean-target-examples clean-target-examples
25327 maybe-clean-target-examples:
25328 @if target-examples
25329 maybe-clean-target-examples: clean-target-examples
25331 clean-target-examples:
25332 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25333 r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 $(SET_LIB_PATH) \
25336 $(NORMAL_TARGET_EXPORTS) \
25337 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25338 for flag in $(EXTRA_TARGET_FLAGS); do \
25339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25340 done; \
25341 (cd $(TARGET_SUBDIR)/examples && \
25342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25344 "RANLIB=$${RANLIB}" \
25345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25346 clean) \
25347 || exit 1
25349 @endif target-examples
25351 .PHONY: maybe-distclean-target-examples distclean-target-examples
25352 maybe-distclean-target-examples:
25353 @if target-examples
25354 maybe-distclean-target-examples: distclean-target-examples
25356 distclean-target-examples:
25357 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25358 r=`${PWD_COMMAND}`; export r; \
25359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25360 $(SET_LIB_PATH) \
25361 $(NORMAL_TARGET_EXPORTS) \
25362 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25363 for flag in $(EXTRA_TARGET_FLAGS); do \
25364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25365 done; \
25366 (cd $(TARGET_SUBDIR)/examples && \
25367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25369 "RANLIB=$${RANLIB}" \
25370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25371 distclean) \
25372 || exit 1
25374 @endif target-examples
25376 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25377 maybe-maintainer-clean-target-examples:
25378 @if target-examples
25379 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25381 maintainer-clean-target-examples:
25382 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25383 r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 $(SET_LIB_PATH) \
25386 $(NORMAL_TARGET_EXPORTS) \
25387 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25388 for flag in $(EXTRA_TARGET_FLAGS); do \
25389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25390 done; \
25391 (cd $(TARGET_SUBDIR)/examples && \
25392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25394 "RANLIB=$${RANLIB}" \
25395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25396 maintainer-clean) \
25397 || exit 1
25399 @endif target-examples
25402 .PHONY: configure-target-libffi maybe-configure-target-libffi
25403 maybe-configure-target-libffi:
25404 @if target-libffi
25405 maybe-configure-target-libffi: configure-target-libffi
25407 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25408 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25409 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25410 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25411 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25413 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25414 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25415 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25416 r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(SET_LIB_PATH) \
25419 $(NORMAL_TARGET_EXPORTS) \
25420 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25421 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25422 case $(srcdir) in \
25423 /* | [A-Za-z]:[\\/]*) \
25424 topdir=$(srcdir) ;; \
25425 *) \
25426 case "$(TARGET_SUBDIR)" in \
25427 .) topdir="../$(srcdir)" ;; \
25428 *) topdir="../../$(srcdir)" ;; \
25429 esac ;; \
25430 esac; \
25431 srcdiroption="--srcdir=$${topdir}/libffi"; \
25432 libsrcdir="$$s/libffi"; \
25433 rm -f no-such-file || : ; \
25434 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25435 $(TARGET_CONFIGARGS) $${srcdiroption} \
25436 --with-target-subdir="$(TARGET_SUBDIR)" \
25437 || exit 1
25438 @endif target-libffi
25440 .PHONY: all-target-libffi maybe-all-target-libffi
25441 maybe-all-target-libffi:
25442 @if target-libffi
25443 maybe-all-target-libffi: all-target-libffi
25444 all-target-libffi: configure-target-libffi
25445 @r=`${PWD_COMMAND}`; export r; \
25446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25447 $(SET_LIB_PATH) \
25448 $(NORMAL_TARGET_EXPORTS) \
25449 (cd $(TARGET_SUBDIR)/libffi && \
25450 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25451 @endif target-libffi
25453 .PHONY: check-target-libffi maybe-check-target-libffi
25454 maybe-check-target-libffi:
25455 @if target-libffi
25456 maybe-check-target-libffi: check-target-libffi
25458 check-target-libffi:
25459 @r=`${PWD_COMMAND}`; export r; \
25460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25461 $(SET_LIB_PATH) \
25462 $(NORMAL_TARGET_EXPORTS) \
25463 (cd $(TARGET_SUBDIR)/libffi && \
25464 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25466 @endif target-libffi
25468 .PHONY: install-target-libffi maybe-install-target-libffi
25469 maybe-install-target-libffi:
25470 @if target-libffi
25471 maybe-install-target-libffi: install-target-libffi
25473 install-target-libffi: installdirs
25474 @r=`${PWD_COMMAND}`; export r; \
25475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25476 $(SET_LIB_PATH) \
25477 $(NORMAL_TARGET_EXPORTS) \
25478 (cd $(TARGET_SUBDIR)/libffi && \
25479 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25481 @endif target-libffi
25483 # Other targets (info, dvi, etc.)
25485 .PHONY: maybe-info-target-libffi info-target-libffi
25486 maybe-info-target-libffi:
25487 @if target-libffi
25488 maybe-info-target-libffi: info-target-libffi
25490 info-target-libffi: \
25491 configure-target-libffi
25492 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495 $(SET_LIB_PATH) \
25496 $(NORMAL_TARGET_EXPORTS) \
25497 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25498 for flag in $(EXTRA_TARGET_FLAGS); do \
25499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25500 done; \
25501 (cd $(TARGET_SUBDIR)/libffi && \
25502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25504 "RANLIB=$${RANLIB}" \
25505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25506 info) \
25507 || exit 1
25509 @endif target-libffi
25511 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25512 maybe-dvi-target-libffi:
25513 @if target-libffi
25514 maybe-dvi-target-libffi: dvi-target-libffi
25516 dvi-target-libffi: \
25517 configure-target-libffi
25518 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25519 r=`${PWD_COMMAND}`; export r; \
25520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25521 $(SET_LIB_PATH) \
25522 $(NORMAL_TARGET_EXPORTS) \
25523 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25524 for flag in $(EXTRA_TARGET_FLAGS); do \
25525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25526 done; \
25527 (cd $(TARGET_SUBDIR)/libffi && \
25528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25530 "RANLIB=$${RANLIB}" \
25531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25532 dvi) \
25533 || exit 1
25535 @endif target-libffi
25537 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25538 maybe-TAGS-target-libffi:
25539 @if target-libffi
25540 maybe-TAGS-target-libffi: TAGS-target-libffi
25542 TAGS-target-libffi: \
25543 configure-target-libffi
25544 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25545 r=`${PWD_COMMAND}`; export r; \
25546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25547 $(SET_LIB_PATH) \
25548 $(NORMAL_TARGET_EXPORTS) \
25549 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25550 for flag in $(EXTRA_TARGET_FLAGS); do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 (cd $(TARGET_SUBDIR)/libffi && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25558 TAGS) \
25559 || exit 1
25561 @endif target-libffi
25563 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25564 maybe-install-info-target-libffi:
25565 @if target-libffi
25566 maybe-install-info-target-libffi: install-info-target-libffi
25568 install-info-target-libffi: \
25569 configure-target-libffi \
25570 info-target-libffi
25571 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(SET_LIB_PATH) \
25575 $(NORMAL_TARGET_EXPORTS) \
25576 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25577 for flag in $(EXTRA_TARGET_FLAGS); do \
25578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25579 done; \
25580 (cd $(TARGET_SUBDIR)/libffi && \
25581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25583 "RANLIB=$${RANLIB}" \
25584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25585 install-info) \
25586 || exit 1
25588 @endif target-libffi
25590 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25591 maybe-installcheck-target-libffi:
25592 @if target-libffi
25593 maybe-installcheck-target-libffi: installcheck-target-libffi
25595 installcheck-target-libffi: \
25596 configure-target-libffi
25597 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25598 r=`${PWD_COMMAND}`; export r; \
25599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25600 $(SET_LIB_PATH) \
25601 $(NORMAL_TARGET_EXPORTS) \
25602 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25603 for flag in $(EXTRA_TARGET_FLAGS); do \
25604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25605 done; \
25606 (cd $(TARGET_SUBDIR)/libffi && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25609 "RANLIB=$${RANLIB}" \
25610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25611 installcheck) \
25612 || exit 1
25614 @endif target-libffi
25616 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25617 maybe-mostlyclean-target-libffi:
25618 @if target-libffi
25619 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25621 mostlyclean-target-libffi:
25622 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25623 r=`${PWD_COMMAND}`; export r; \
25624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25625 $(SET_LIB_PATH) \
25626 $(NORMAL_TARGET_EXPORTS) \
25627 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25628 for flag in $(EXTRA_TARGET_FLAGS); do \
25629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25630 done; \
25631 (cd $(TARGET_SUBDIR)/libffi && \
25632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25634 "RANLIB=$${RANLIB}" \
25635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25636 mostlyclean) \
25637 || exit 1
25639 @endif target-libffi
25641 .PHONY: maybe-clean-target-libffi clean-target-libffi
25642 maybe-clean-target-libffi:
25643 @if target-libffi
25644 maybe-clean-target-libffi: clean-target-libffi
25646 clean-target-libffi:
25647 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25648 r=`${PWD_COMMAND}`; export r; \
25649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25650 $(SET_LIB_PATH) \
25651 $(NORMAL_TARGET_EXPORTS) \
25652 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25653 for flag in $(EXTRA_TARGET_FLAGS); do \
25654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25655 done; \
25656 (cd $(TARGET_SUBDIR)/libffi && \
25657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25659 "RANLIB=$${RANLIB}" \
25660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25661 clean) \
25662 || exit 1
25664 @endif target-libffi
25666 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25667 maybe-distclean-target-libffi:
25668 @if target-libffi
25669 maybe-distclean-target-libffi: distclean-target-libffi
25671 distclean-target-libffi:
25672 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25673 r=`${PWD_COMMAND}`; export r; \
25674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25675 $(SET_LIB_PATH) \
25676 $(NORMAL_TARGET_EXPORTS) \
25677 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25678 for flag in $(EXTRA_TARGET_FLAGS); do \
25679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25680 done; \
25681 (cd $(TARGET_SUBDIR)/libffi && \
25682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25684 "RANLIB=$${RANLIB}" \
25685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25686 distclean) \
25687 || exit 1
25689 @endif target-libffi
25691 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25692 maybe-maintainer-clean-target-libffi:
25693 @if target-libffi
25694 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25696 maintainer-clean-target-libffi:
25697 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25698 r=`${PWD_COMMAND}`; export r; \
25699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25700 $(SET_LIB_PATH) \
25701 $(NORMAL_TARGET_EXPORTS) \
25702 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25703 for flag in $(EXTRA_TARGET_FLAGS); do \
25704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25705 done; \
25706 (cd $(TARGET_SUBDIR)/libffi && \
25707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25709 "RANLIB=$${RANLIB}" \
25710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25711 maintainer-clean) \
25712 || exit 1
25714 @endif target-libffi
25717 .PHONY: configure-target-libjava maybe-configure-target-libjava
25718 maybe-configure-target-libjava:
25719 @if target-libjava
25720 maybe-configure-target-libjava: configure-target-libjava
25722 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25723 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25725 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25726 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25728 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25729 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25730 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25731 r=`${PWD_COMMAND}`; export r; \
25732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(SET_LIB_PATH) \
25734 $(RAW_CXX_TARGET_EXPORTS) \
25735 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25736 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25737 case $(srcdir) in \
25738 /* | [A-Za-z]:[\\/]*) \
25739 topdir=$(srcdir) ;; \
25740 *) \
25741 case "$(TARGET_SUBDIR)" in \
25742 .) topdir="../$(srcdir)" ;; \
25743 *) topdir="../../$(srcdir)" ;; \
25744 esac ;; \
25745 esac; \
25746 srcdiroption="--srcdir=$${topdir}/libjava"; \
25747 libsrcdir="$$s/libjava"; \
25748 rm -f no-such-file || : ; \
25749 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25750 $(TARGET_CONFIGARGS) $${srcdiroption} \
25751 --with-target-subdir="$(TARGET_SUBDIR)" \
25752 || exit 1
25753 @endif target-libjava
25755 .PHONY: all-target-libjava maybe-all-target-libjava
25756 maybe-all-target-libjava:
25757 @if target-libjava
25758 maybe-all-target-libjava: all-target-libjava
25759 all-target-libjava: configure-target-libjava
25760 @r=`${PWD_COMMAND}`; export r; \
25761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(SET_LIB_PATH) \
25763 $(RAW_CXX_TARGET_EXPORTS) \
25764 (cd $(TARGET_SUBDIR)/libjava && \
25765 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
25766 @endif target-libjava
25768 .PHONY: check-target-libjava maybe-check-target-libjava
25769 maybe-check-target-libjava:
25770 @if target-libjava
25771 maybe-check-target-libjava: check-target-libjava
25773 check-target-libjava:
25774 @r=`${PWD_COMMAND}`; export r; \
25775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25776 $(SET_LIB_PATH) \
25777 $(RAW_CXX_TARGET_EXPORTS) \
25778 (cd $(TARGET_SUBDIR)/libjava && \
25779 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25781 @endif target-libjava
25783 .PHONY: install-target-libjava maybe-install-target-libjava
25784 maybe-install-target-libjava:
25785 @if target-libjava
25786 maybe-install-target-libjava: install-target-libjava
25788 install-target-libjava: installdirs
25789 @r=`${PWD_COMMAND}`; export r; \
25790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25791 $(SET_LIB_PATH) \
25792 $(RAW_CXX_TARGET_EXPORTS) \
25793 (cd $(TARGET_SUBDIR)/libjava && \
25794 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25796 @endif target-libjava
25798 # Other targets (info, dvi, etc.)
25800 .PHONY: maybe-info-target-libjava info-target-libjava
25801 maybe-info-target-libjava:
25802 @if target-libjava
25803 maybe-info-target-libjava: info-target-libjava
25805 info-target-libjava: \
25806 configure-target-libjava
25807 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25808 r=`${PWD_COMMAND}`; export r; \
25809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25810 $(SET_LIB_PATH) \
25811 $(RAW_CXX_TARGET_EXPORTS) \
25812 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25813 for flag in $(EXTRA_TARGET_FLAGS); do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 done; \
25816 (cd $(TARGET_SUBDIR)/libjava && \
25817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25819 "RANLIB=$${RANLIB}" \
25820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25821 info) \
25822 || exit 1
25824 @endif target-libjava
25826 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25827 maybe-dvi-target-libjava:
25828 @if target-libjava
25829 maybe-dvi-target-libjava: dvi-target-libjava
25831 dvi-target-libjava: \
25832 configure-target-libjava
25833 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25834 r=`${PWD_COMMAND}`; export r; \
25835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25836 $(SET_LIB_PATH) \
25837 $(RAW_CXX_TARGET_EXPORTS) \
25838 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25839 for flag in $(EXTRA_TARGET_FLAGS); do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 done; \
25842 (cd $(TARGET_SUBDIR)/libjava && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25847 dvi) \
25848 || exit 1
25850 @endif target-libjava
25852 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25853 maybe-TAGS-target-libjava:
25854 @if target-libjava
25855 maybe-TAGS-target-libjava: TAGS-target-libjava
25857 TAGS-target-libjava: \
25858 configure-target-libjava
25859 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(SET_LIB_PATH) \
25863 $(RAW_CXX_TARGET_EXPORTS) \
25864 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25865 for flag in $(EXTRA_TARGET_FLAGS); do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 (cd $(TARGET_SUBDIR)/libjava && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25873 TAGS) \
25874 || exit 1
25876 @endif target-libjava
25878 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25879 maybe-install-info-target-libjava:
25880 @if target-libjava
25881 maybe-install-info-target-libjava: install-info-target-libjava
25883 install-info-target-libjava: \
25884 configure-target-libjava \
25885 info-target-libjava
25886 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(SET_LIB_PATH) \
25890 $(RAW_CXX_TARGET_EXPORTS) \
25891 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 (cd $(TARGET_SUBDIR)/libjava && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 install-info) \
25901 || exit 1
25903 @endif target-libjava
25905 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25906 maybe-installcheck-target-libjava:
25907 @if target-libjava
25908 maybe-installcheck-target-libjava: installcheck-target-libjava
25910 installcheck-target-libjava: \
25911 configure-target-libjava
25912 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(SET_LIB_PATH) \
25916 $(RAW_CXX_TARGET_EXPORTS) \
25917 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25918 for flag in $(EXTRA_TARGET_FLAGS); do \
25919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920 done; \
25921 (cd $(TARGET_SUBDIR)/libjava && \
25922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924 "RANLIB=$${RANLIB}" \
25925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926 installcheck) \
25927 || exit 1
25929 @endif target-libjava
25931 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
25932 maybe-mostlyclean-target-libjava:
25933 @if target-libjava
25934 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
25936 mostlyclean-target-libjava:
25937 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25938 r=`${PWD_COMMAND}`; export r; \
25939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25940 $(SET_LIB_PATH) \
25941 $(RAW_CXX_TARGET_EXPORTS) \
25942 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
25943 for flag in $(EXTRA_TARGET_FLAGS); do \
25944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25945 done; \
25946 (cd $(TARGET_SUBDIR)/libjava && \
25947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25949 "RANLIB=$${RANLIB}" \
25950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25951 mostlyclean) \
25952 || exit 1
25954 @endif target-libjava
25956 .PHONY: maybe-clean-target-libjava clean-target-libjava
25957 maybe-clean-target-libjava:
25958 @if target-libjava
25959 maybe-clean-target-libjava: clean-target-libjava
25961 clean-target-libjava:
25962 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25963 r=`${PWD_COMMAND}`; export r; \
25964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25965 $(SET_LIB_PATH) \
25966 $(RAW_CXX_TARGET_EXPORTS) \
25967 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
25968 for flag in $(EXTRA_TARGET_FLAGS); do \
25969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25970 done; \
25971 (cd $(TARGET_SUBDIR)/libjava && \
25972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25974 "RANLIB=$${RANLIB}" \
25975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25976 clean) \
25977 || exit 1
25979 @endif target-libjava
25981 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
25982 maybe-distclean-target-libjava:
25983 @if target-libjava
25984 maybe-distclean-target-libjava: distclean-target-libjava
25986 distclean-target-libjava:
25987 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25988 r=`${PWD_COMMAND}`; export r; \
25989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 $(SET_LIB_PATH) \
25991 $(RAW_CXX_TARGET_EXPORTS) \
25992 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
25993 for flag in $(EXTRA_TARGET_FLAGS); do \
25994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25995 done; \
25996 (cd $(TARGET_SUBDIR)/libjava && \
25997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25999 "RANLIB=$${RANLIB}" \
26000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26001 distclean) \
26002 || exit 1
26004 @endif target-libjava
26006 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26007 maybe-maintainer-clean-target-libjava:
26008 @if target-libjava
26009 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26011 maintainer-clean-target-libjava:
26012 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26013 r=`${PWD_COMMAND}`; export r; \
26014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26015 $(SET_LIB_PATH) \
26016 $(RAW_CXX_TARGET_EXPORTS) \
26017 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26018 for flag in $(EXTRA_TARGET_FLAGS); do \
26019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26020 done; \
26021 (cd $(TARGET_SUBDIR)/libjava && \
26022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26024 "RANLIB=$${RANLIB}" \
26025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26026 maintainer-clean) \
26027 || exit 1
26029 @endif target-libjava
26032 .PHONY: configure-target-zlib maybe-configure-target-zlib
26033 maybe-configure-target-zlib:
26034 @if target-zlib
26035 maybe-configure-target-zlib: configure-target-zlib
26037 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26038 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26040 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26041 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26043 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26044 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26045 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26046 r=`${PWD_COMMAND}`; export r; \
26047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26048 $(SET_LIB_PATH) \
26049 $(NORMAL_TARGET_EXPORTS) \
26050 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26051 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26052 case $(srcdir) in \
26053 /* | [A-Za-z]:[\\/]*) \
26054 topdir=$(srcdir) ;; \
26055 *) \
26056 case "$(TARGET_SUBDIR)" in \
26057 .) topdir="../$(srcdir)" ;; \
26058 *) topdir="../../$(srcdir)" ;; \
26059 esac ;; \
26060 esac; \
26061 if [ "$(srcdir)" = "." ] ; then \
26062 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26063 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26064 if [ -f Makefile ]; then \
26065 if $(MAKE) distclean; then \
26066 true; \
26067 else \
26068 exit 1; \
26069 fi; \
26070 else \
26071 true; \
26072 fi; \
26073 else \
26074 exit 1; \
26075 fi; \
26076 else \
26077 true; \
26078 fi; \
26079 srcdiroption="--srcdir=."; \
26080 libsrcdir="."; \
26081 else \
26082 srcdiroption="--srcdir=$${topdir}/zlib"; \
26083 libsrcdir="$$s/zlib"; \
26084 fi; \
26085 rm -f no-such-file || : ; \
26086 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26087 $(TARGET_CONFIGARGS) $${srcdiroption} \
26088 --with-target-subdir="$(TARGET_SUBDIR)" \
26089 || exit 1
26090 @endif target-zlib
26092 .PHONY: all-target-zlib maybe-all-target-zlib
26093 maybe-all-target-zlib:
26094 @if target-zlib
26095 maybe-all-target-zlib: all-target-zlib
26096 all-target-zlib: configure-target-zlib
26097 @r=`${PWD_COMMAND}`; export r; \
26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26099 $(SET_LIB_PATH) \
26100 $(NORMAL_TARGET_EXPORTS) \
26101 (cd $(TARGET_SUBDIR)/zlib && \
26102 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26103 @endif target-zlib
26105 .PHONY: check-target-zlib maybe-check-target-zlib
26106 maybe-check-target-zlib:
26107 @if target-zlib
26108 maybe-check-target-zlib: check-target-zlib
26110 check-target-zlib:
26111 @r=`${PWD_COMMAND}`; export r; \
26112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26113 $(SET_LIB_PATH) \
26114 $(NORMAL_TARGET_EXPORTS) \
26115 (cd $(TARGET_SUBDIR)/zlib && \
26116 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26118 @endif target-zlib
26120 .PHONY: install-target-zlib maybe-install-target-zlib
26121 maybe-install-target-zlib:
26122 @if target-zlib
26123 maybe-install-target-zlib: install-target-zlib
26125 install-target-zlib: installdirs
26126 @r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(SET_LIB_PATH) \
26129 $(NORMAL_TARGET_EXPORTS) \
26130 (cd $(TARGET_SUBDIR)/zlib && \
26131 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26133 @endif target-zlib
26135 # Other targets (info, dvi, etc.)
26137 .PHONY: maybe-info-target-zlib info-target-zlib
26138 maybe-info-target-zlib:
26139 @if target-zlib
26140 maybe-info-target-zlib: info-target-zlib
26142 info-target-zlib: \
26143 configure-target-zlib
26144 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26145 r=`${PWD_COMMAND}`; export r; \
26146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26147 $(SET_LIB_PATH) \
26148 $(NORMAL_TARGET_EXPORTS) \
26149 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26150 for flag in $(EXTRA_TARGET_FLAGS); do \
26151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26152 done; \
26153 (cd $(TARGET_SUBDIR)/zlib && \
26154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26156 "RANLIB=$${RANLIB}" \
26157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26158 info) \
26159 || exit 1
26161 @endif target-zlib
26163 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26164 maybe-dvi-target-zlib:
26165 @if target-zlib
26166 maybe-dvi-target-zlib: dvi-target-zlib
26168 dvi-target-zlib: \
26169 configure-target-zlib
26170 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26171 r=`${PWD_COMMAND}`; export r; \
26172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26173 $(SET_LIB_PATH) \
26174 $(NORMAL_TARGET_EXPORTS) \
26175 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26176 for flag in $(EXTRA_TARGET_FLAGS); do \
26177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26178 done; \
26179 (cd $(TARGET_SUBDIR)/zlib && \
26180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26182 "RANLIB=$${RANLIB}" \
26183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26184 dvi) \
26185 || exit 1
26187 @endif target-zlib
26189 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26190 maybe-TAGS-target-zlib:
26191 @if target-zlib
26192 maybe-TAGS-target-zlib: TAGS-target-zlib
26194 TAGS-target-zlib: \
26195 configure-target-zlib
26196 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26197 r=`${PWD_COMMAND}`; export r; \
26198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26199 $(SET_LIB_PATH) \
26200 $(NORMAL_TARGET_EXPORTS) \
26201 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26202 for flag in $(EXTRA_TARGET_FLAGS); do \
26203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26204 done; \
26205 (cd $(TARGET_SUBDIR)/zlib && \
26206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26208 "RANLIB=$${RANLIB}" \
26209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26210 TAGS) \
26211 || exit 1
26213 @endif target-zlib
26215 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26216 maybe-install-info-target-zlib:
26217 @if target-zlib
26218 maybe-install-info-target-zlib: install-info-target-zlib
26220 install-info-target-zlib: \
26221 configure-target-zlib \
26222 info-target-zlib
26223 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26224 r=`${PWD_COMMAND}`; export r; \
26225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26226 $(SET_LIB_PATH) \
26227 $(NORMAL_TARGET_EXPORTS) \
26228 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26229 for flag in $(EXTRA_TARGET_FLAGS); do \
26230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26231 done; \
26232 (cd $(TARGET_SUBDIR)/zlib && \
26233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26235 "RANLIB=$${RANLIB}" \
26236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26237 install-info) \
26238 || exit 1
26240 @endif target-zlib
26242 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26243 maybe-installcheck-target-zlib:
26244 @if target-zlib
26245 maybe-installcheck-target-zlib: installcheck-target-zlib
26247 installcheck-target-zlib: \
26248 configure-target-zlib
26249 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26250 r=`${PWD_COMMAND}`; export r; \
26251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26252 $(SET_LIB_PATH) \
26253 $(NORMAL_TARGET_EXPORTS) \
26254 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26255 for flag in $(EXTRA_TARGET_FLAGS); do \
26256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26257 done; \
26258 (cd $(TARGET_SUBDIR)/zlib && \
26259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26261 "RANLIB=$${RANLIB}" \
26262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26263 installcheck) \
26264 || exit 1
26266 @endif target-zlib
26268 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26269 maybe-mostlyclean-target-zlib:
26270 @if target-zlib
26271 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26273 mostlyclean-target-zlib:
26274 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26275 r=`${PWD_COMMAND}`; export r; \
26276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26277 $(SET_LIB_PATH) \
26278 $(NORMAL_TARGET_EXPORTS) \
26279 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26280 for flag in $(EXTRA_TARGET_FLAGS); do \
26281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26282 done; \
26283 (cd $(TARGET_SUBDIR)/zlib && \
26284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26286 "RANLIB=$${RANLIB}" \
26287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26288 mostlyclean) \
26289 || exit 1
26291 @endif target-zlib
26293 .PHONY: maybe-clean-target-zlib clean-target-zlib
26294 maybe-clean-target-zlib:
26295 @if target-zlib
26296 maybe-clean-target-zlib: clean-target-zlib
26298 clean-target-zlib:
26299 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26300 r=`${PWD_COMMAND}`; export r; \
26301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26302 $(SET_LIB_PATH) \
26303 $(NORMAL_TARGET_EXPORTS) \
26304 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26305 for flag in $(EXTRA_TARGET_FLAGS); do \
26306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26307 done; \
26308 (cd $(TARGET_SUBDIR)/zlib && \
26309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26311 "RANLIB=$${RANLIB}" \
26312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26313 clean) \
26314 || exit 1
26316 @endif target-zlib
26318 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26319 maybe-distclean-target-zlib:
26320 @if target-zlib
26321 maybe-distclean-target-zlib: distclean-target-zlib
26323 distclean-target-zlib:
26324 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26325 r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26327 $(SET_LIB_PATH) \
26328 $(NORMAL_TARGET_EXPORTS) \
26329 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26330 for flag in $(EXTRA_TARGET_FLAGS); do \
26331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26332 done; \
26333 (cd $(TARGET_SUBDIR)/zlib && \
26334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26336 "RANLIB=$${RANLIB}" \
26337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26338 distclean) \
26339 || exit 1
26341 @endif target-zlib
26343 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26344 maybe-maintainer-clean-target-zlib:
26345 @if target-zlib
26346 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26348 maintainer-clean-target-zlib:
26349 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26350 r=`${PWD_COMMAND}`; export r; \
26351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26352 $(SET_LIB_PATH) \
26353 $(NORMAL_TARGET_EXPORTS) \
26354 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26355 for flag in $(EXTRA_TARGET_FLAGS); do \
26356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26357 done; \
26358 (cd $(TARGET_SUBDIR)/zlib && \
26359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26361 "RANLIB=$${RANLIB}" \
26362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26363 maintainer-clean) \
26364 || exit 1
26366 @endif target-zlib
26369 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26370 maybe-configure-target-boehm-gc:
26371 @if target-boehm-gc
26372 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26374 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26375 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26376 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26377 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26378 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26380 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26381 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26383 r=`${PWD_COMMAND}`; export r; \
26384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26385 $(SET_LIB_PATH) \
26386 $(NORMAL_TARGET_EXPORTS) \
26387 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26388 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26389 case $(srcdir) in \
26390 /* | [A-Za-z]:[\\/]*) \
26391 topdir=$(srcdir) ;; \
26392 *) \
26393 case "$(TARGET_SUBDIR)" in \
26394 .) topdir="../$(srcdir)" ;; \
26395 *) topdir="../../$(srcdir)" ;; \
26396 esac ;; \
26397 esac; \
26398 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26399 libsrcdir="$$s/boehm-gc"; \
26400 rm -f no-such-file || : ; \
26401 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26402 $(TARGET_CONFIGARGS) $${srcdiroption} \
26403 --with-target-subdir="$(TARGET_SUBDIR)" \
26404 || exit 1
26405 @endif target-boehm-gc
26407 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26408 maybe-all-target-boehm-gc:
26409 @if target-boehm-gc
26410 maybe-all-target-boehm-gc: all-target-boehm-gc
26411 all-target-boehm-gc: configure-target-boehm-gc
26412 @r=`${PWD_COMMAND}`; export r; \
26413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 $(SET_LIB_PATH) \
26415 $(NORMAL_TARGET_EXPORTS) \
26416 (cd $(TARGET_SUBDIR)/boehm-gc && \
26417 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26418 @endif target-boehm-gc
26420 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26421 maybe-check-target-boehm-gc:
26422 @if target-boehm-gc
26423 maybe-check-target-boehm-gc: check-target-boehm-gc
26425 check-target-boehm-gc:
26426 @r=`${PWD_COMMAND}`; export r; \
26427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26428 $(SET_LIB_PATH) \
26429 $(NORMAL_TARGET_EXPORTS) \
26430 (cd $(TARGET_SUBDIR)/boehm-gc && \
26431 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26433 @endif target-boehm-gc
26435 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26436 maybe-install-target-boehm-gc:
26437 @if target-boehm-gc
26438 maybe-install-target-boehm-gc: install-target-boehm-gc
26440 install-target-boehm-gc: installdirs
26441 @r=`${PWD_COMMAND}`; export r; \
26442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26443 $(SET_LIB_PATH) \
26444 $(NORMAL_TARGET_EXPORTS) \
26445 (cd $(TARGET_SUBDIR)/boehm-gc && \
26446 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26448 @endif target-boehm-gc
26450 # Other targets (info, dvi, etc.)
26452 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26453 maybe-info-target-boehm-gc:
26454 @if target-boehm-gc
26455 maybe-info-target-boehm-gc: info-target-boehm-gc
26457 info-target-boehm-gc: \
26458 configure-target-boehm-gc
26459 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26460 r=`${PWD_COMMAND}`; export r; \
26461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26462 $(SET_LIB_PATH) \
26463 $(NORMAL_TARGET_EXPORTS) \
26464 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26465 for flag in $(EXTRA_TARGET_FLAGS); do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26467 done; \
26468 (cd $(TARGET_SUBDIR)/boehm-gc && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26473 info) \
26474 || exit 1
26476 @endif target-boehm-gc
26478 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26479 maybe-dvi-target-boehm-gc:
26480 @if target-boehm-gc
26481 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26483 dvi-target-boehm-gc: \
26484 configure-target-boehm-gc
26485 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26486 r=`${PWD_COMMAND}`; export r; \
26487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 $(SET_LIB_PATH) \
26489 $(NORMAL_TARGET_EXPORTS) \
26490 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26491 for flag in $(EXTRA_TARGET_FLAGS); do \
26492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26493 done; \
26494 (cd $(TARGET_SUBDIR)/boehm-gc && \
26495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26497 "RANLIB=$${RANLIB}" \
26498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26499 dvi) \
26500 || exit 1
26502 @endif target-boehm-gc
26504 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26505 maybe-TAGS-target-boehm-gc:
26506 @if target-boehm-gc
26507 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26509 TAGS-target-boehm-gc: \
26510 configure-target-boehm-gc
26511 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26512 r=`${PWD_COMMAND}`; export r; \
26513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26514 $(SET_LIB_PATH) \
26515 $(NORMAL_TARGET_EXPORTS) \
26516 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26517 for flag in $(EXTRA_TARGET_FLAGS); do \
26518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26519 done; \
26520 (cd $(TARGET_SUBDIR)/boehm-gc && \
26521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26523 "RANLIB=$${RANLIB}" \
26524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26525 TAGS) \
26526 || exit 1
26528 @endif target-boehm-gc
26530 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26531 maybe-install-info-target-boehm-gc:
26532 @if target-boehm-gc
26533 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26535 install-info-target-boehm-gc: \
26536 configure-target-boehm-gc \
26537 info-target-boehm-gc
26538 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(SET_LIB_PATH) \
26542 $(NORMAL_TARGET_EXPORTS) \
26543 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26544 for flag in $(EXTRA_TARGET_FLAGS); do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546 done; \
26547 (cd $(TARGET_SUBDIR)/boehm-gc && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26552 install-info) \
26553 || exit 1
26555 @endif target-boehm-gc
26557 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26558 maybe-installcheck-target-boehm-gc:
26559 @if target-boehm-gc
26560 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26562 installcheck-target-boehm-gc: \
26563 configure-target-boehm-gc
26564 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26565 r=`${PWD_COMMAND}`; export r; \
26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26567 $(SET_LIB_PATH) \
26568 $(NORMAL_TARGET_EXPORTS) \
26569 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26570 for flag in $(EXTRA_TARGET_FLAGS); do \
26571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26572 done; \
26573 (cd $(TARGET_SUBDIR)/boehm-gc && \
26574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26576 "RANLIB=$${RANLIB}" \
26577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26578 installcheck) \
26579 || exit 1
26581 @endif target-boehm-gc
26583 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26584 maybe-mostlyclean-target-boehm-gc:
26585 @if target-boehm-gc
26586 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26588 mostlyclean-target-boehm-gc:
26589 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26590 r=`${PWD_COMMAND}`; export r; \
26591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 $(SET_LIB_PATH) \
26593 $(NORMAL_TARGET_EXPORTS) \
26594 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26595 for flag in $(EXTRA_TARGET_FLAGS); do \
26596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26597 done; \
26598 (cd $(TARGET_SUBDIR)/boehm-gc && \
26599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26601 "RANLIB=$${RANLIB}" \
26602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26603 mostlyclean) \
26604 || exit 1
26606 @endif target-boehm-gc
26608 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26609 maybe-clean-target-boehm-gc:
26610 @if target-boehm-gc
26611 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26613 clean-target-boehm-gc:
26614 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26615 r=`${PWD_COMMAND}`; export r; \
26616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26617 $(SET_LIB_PATH) \
26618 $(NORMAL_TARGET_EXPORTS) \
26619 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26620 for flag in $(EXTRA_TARGET_FLAGS); do \
26621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26622 done; \
26623 (cd $(TARGET_SUBDIR)/boehm-gc && \
26624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26626 "RANLIB=$${RANLIB}" \
26627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26628 clean) \
26629 || exit 1
26631 @endif target-boehm-gc
26633 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26634 maybe-distclean-target-boehm-gc:
26635 @if target-boehm-gc
26636 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26638 distclean-target-boehm-gc:
26639 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26640 r=`${PWD_COMMAND}`; export r; \
26641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 $(SET_LIB_PATH) \
26643 $(NORMAL_TARGET_EXPORTS) \
26644 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26645 for flag in $(EXTRA_TARGET_FLAGS); do \
26646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26647 done; \
26648 (cd $(TARGET_SUBDIR)/boehm-gc && \
26649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26651 "RANLIB=$${RANLIB}" \
26652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26653 distclean) \
26654 || exit 1
26656 @endif target-boehm-gc
26658 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26659 maybe-maintainer-clean-target-boehm-gc:
26660 @if target-boehm-gc
26661 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26663 maintainer-clean-target-boehm-gc:
26664 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26665 r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(SET_LIB_PATH) \
26668 $(NORMAL_TARGET_EXPORTS) \
26669 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26670 for flag in $(EXTRA_TARGET_FLAGS); do \
26671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26672 done; \
26673 (cd $(TARGET_SUBDIR)/boehm-gc && \
26674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26676 "RANLIB=$${RANLIB}" \
26677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26678 maintainer-clean) \
26679 || exit 1
26681 @endif target-boehm-gc
26684 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26685 maybe-configure-target-qthreads:
26686 @if target-qthreads
26687 maybe-configure-target-qthreads: configure-target-qthreads
26689 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26690 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26691 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26692 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26693 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26695 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26696 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26697 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26698 r=`${PWD_COMMAND}`; export r; \
26699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26700 $(SET_LIB_PATH) \
26701 $(NORMAL_TARGET_EXPORTS) \
26702 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26703 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26704 case $(srcdir) in \
26705 /* | [A-Za-z]:[\\/]*) \
26706 topdir=$(srcdir) ;; \
26707 *) \
26708 case "$(TARGET_SUBDIR)" in \
26709 .) topdir="../$(srcdir)" ;; \
26710 *) topdir="../../$(srcdir)" ;; \
26711 esac ;; \
26712 esac; \
26713 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26714 libsrcdir="$$s/qthreads"; \
26715 rm -f no-such-file || : ; \
26716 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26717 $(TARGET_CONFIGARGS) $${srcdiroption} \
26718 --with-target-subdir="$(TARGET_SUBDIR)" \
26719 || exit 1
26720 @endif target-qthreads
26722 .PHONY: all-target-qthreads maybe-all-target-qthreads
26723 maybe-all-target-qthreads:
26724 @if target-qthreads
26725 maybe-all-target-qthreads: all-target-qthreads
26726 all-target-qthreads: configure-target-qthreads
26727 @r=`${PWD_COMMAND}`; export r; \
26728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26729 $(SET_LIB_PATH) \
26730 $(NORMAL_TARGET_EXPORTS) \
26731 (cd $(TARGET_SUBDIR)/qthreads && \
26732 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26733 @endif target-qthreads
26735 .PHONY: check-target-qthreads maybe-check-target-qthreads
26736 maybe-check-target-qthreads:
26737 @if target-qthreads
26738 maybe-check-target-qthreads: check-target-qthreads
26740 check-target-qthreads:
26741 @r=`${PWD_COMMAND}`; export r; \
26742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26743 $(SET_LIB_PATH) \
26744 $(NORMAL_TARGET_EXPORTS) \
26745 (cd $(TARGET_SUBDIR)/qthreads && \
26746 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26748 @endif target-qthreads
26750 .PHONY: install-target-qthreads maybe-install-target-qthreads
26751 maybe-install-target-qthreads:
26752 @if target-qthreads
26753 maybe-install-target-qthreads: install-target-qthreads
26755 install-target-qthreads: installdirs
26756 @r=`${PWD_COMMAND}`; export r; \
26757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26758 $(SET_LIB_PATH) \
26759 $(NORMAL_TARGET_EXPORTS) \
26760 (cd $(TARGET_SUBDIR)/qthreads && \
26761 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26763 @endif target-qthreads
26765 # Other targets (info, dvi, etc.)
26767 .PHONY: maybe-info-target-qthreads info-target-qthreads
26768 maybe-info-target-qthreads:
26769 @if target-qthreads
26770 maybe-info-target-qthreads: info-target-qthreads
26772 info-target-qthreads: \
26773 configure-target-qthreads
26774 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26775 r=`${PWD_COMMAND}`; export r; \
26776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26777 $(SET_LIB_PATH) \
26778 $(NORMAL_TARGET_EXPORTS) \
26779 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26780 for flag in $(EXTRA_TARGET_FLAGS); do \
26781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26782 done; \
26783 (cd $(TARGET_SUBDIR)/qthreads && \
26784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26786 "RANLIB=$${RANLIB}" \
26787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26788 info) \
26789 || exit 1
26791 @endif target-qthreads
26793 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26794 maybe-dvi-target-qthreads:
26795 @if target-qthreads
26796 maybe-dvi-target-qthreads: dvi-target-qthreads
26798 dvi-target-qthreads: \
26799 configure-target-qthreads
26800 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26801 r=`${PWD_COMMAND}`; export r; \
26802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26803 $(SET_LIB_PATH) \
26804 $(NORMAL_TARGET_EXPORTS) \
26805 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26806 for flag in $(EXTRA_TARGET_FLAGS); do \
26807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26808 done; \
26809 (cd $(TARGET_SUBDIR)/qthreads && \
26810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26812 "RANLIB=$${RANLIB}" \
26813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26814 dvi) \
26815 || exit 1
26817 @endif target-qthreads
26819 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26820 maybe-TAGS-target-qthreads:
26821 @if target-qthreads
26822 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26824 TAGS-target-qthreads: \
26825 configure-target-qthreads
26826 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26827 r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26829 $(SET_LIB_PATH) \
26830 $(NORMAL_TARGET_EXPORTS) \
26831 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26832 for flag in $(EXTRA_TARGET_FLAGS); do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 done; \
26835 (cd $(TARGET_SUBDIR)/qthreads && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26840 TAGS) \
26841 || exit 1
26843 @endif target-qthreads
26845 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26846 maybe-install-info-target-qthreads:
26847 @if target-qthreads
26848 maybe-install-info-target-qthreads: install-info-target-qthreads
26850 install-info-target-qthreads: \
26851 configure-target-qthreads \
26852 info-target-qthreads
26853 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26854 r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26856 $(SET_LIB_PATH) \
26857 $(NORMAL_TARGET_EXPORTS) \
26858 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26859 for flag in $(EXTRA_TARGET_FLAGS); do \
26860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26861 done; \
26862 (cd $(TARGET_SUBDIR)/qthreads && \
26863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26865 "RANLIB=$${RANLIB}" \
26866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26867 install-info) \
26868 || exit 1
26870 @endif target-qthreads
26872 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26873 maybe-installcheck-target-qthreads:
26874 @if target-qthreads
26875 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26877 installcheck-target-qthreads: \
26878 configure-target-qthreads
26879 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26880 r=`${PWD_COMMAND}`; export r; \
26881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26882 $(SET_LIB_PATH) \
26883 $(NORMAL_TARGET_EXPORTS) \
26884 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26885 for flag in $(EXTRA_TARGET_FLAGS); do \
26886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26887 done; \
26888 (cd $(TARGET_SUBDIR)/qthreads && \
26889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26891 "RANLIB=$${RANLIB}" \
26892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26893 installcheck) \
26894 || exit 1
26896 @endif target-qthreads
26898 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26899 maybe-mostlyclean-target-qthreads:
26900 @if target-qthreads
26901 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26903 mostlyclean-target-qthreads:
26904 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26905 r=`${PWD_COMMAND}`; export r; \
26906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26907 $(SET_LIB_PATH) \
26908 $(NORMAL_TARGET_EXPORTS) \
26909 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26910 for flag in $(EXTRA_TARGET_FLAGS); do \
26911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26912 done; \
26913 (cd $(TARGET_SUBDIR)/qthreads && \
26914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26916 "RANLIB=$${RANLIB}" \
26917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26918 mostlyclean) \
26919 || exit 1
26921 @endif target-qthreads
26923 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
26924 maybe-clean-target-qthreads:
26925 @if target-qthreads
26926 maybe-clean-target-qthreads: clean-target-qthreads
26928 clean-target-qthreads:
26929 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26930 r=`${PWD_COMMAND}`; export r; \
26931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26932 $(SET_LIB_PATH) \
26933 $(NORMAL_TARGET_EXPORTS) \
26934 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
26935 for flag in $(EXTRA_TARGET_FLAGS); do \
26936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26937 done; \
26938 (cd $(TARGET_SUBDIR)/qthreads && \
26939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26941 "RANLIB=$${RANLIB}" \
26942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26943 clean) \
26944 || exit 1
26946 @endif target-qthreads
26948 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
26949 maybe-distclean-target-qthreads:
26950 @if target-qthreads
26951 maybe-distclean-target-qthreads: distclean-target-qthreads
26953 distclean-target-qthreads:
26954 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26955 r=`${PWD_COMMAND}`; export r; \
26956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26957 $(SET_LIB_PATH) \
26958 $(NORMAL_TARGET_EXPORTS) \
26959 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
26960 for flag in $(EXTRA_TARGET_FLAGS); do \
26961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26962 done; \
26963 (cd $(TARGET_SUBDIR)/qthreads && \
26964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26966 "RANLIB=$${RANLIB}" \
26967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26968 distclean) \
26969 || exit 1
26971 @endif target-qthreads
26973 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
26974 maybe-maintainer-clean-target-qthreads:
26975 @if target-qthreads
26976 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
26978 maintainer-clean-target-qthreads:
26979 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26980 r=`${PWD_COMMAND}`; export r; \
26981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26982 $(SET_LIB_PATH) \
26983 $(NORMAL_TARGET_EXPORTS) \
26984 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
26985 for flag in $(EXTRA_TARGET_FLAGS); do \
26986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26987 done; \
26988 (cd $(TARGET_SUBDIR)/qthreads && \
26989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26991 "RANLIB=$${RANLIB}" \
26992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26993 maintainer-clean) \
26994 || exit 1
26996 @endif target-qthreads
26999 .PHONY: configure-target-rda maybe-configure-target-rda
27000 maybe-configure-target-rda:
27001 @if target-rda
27002 maybe-configure-target-rda: configure-target-rda
27004 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27005 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27007 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27008 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27010 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27011 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27013 r=`${PWD_COMMAND}`; export r; \
27014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27015 $(SET_LIB_PATH) \
27016 $(NORMAL_TARGET_EXPORTS) \
27017 echo Configuring in $(TARGET_SUBDIR)/rda; \
27018 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27019 case $(srcdir) in \
27020 /* | [A-Za-z]:[\\/]*) \
27021 topdir=$(srcdir) ;; \
27022 *) \
27023 case "$(TARGET_SUBDIR)" in \
27024 .) topdir="../$(srcdir)" ;; \
27025 *) topdir="../../$(srcdir)" ;; \
27026 esac ;; \
27027 esac; \
27028 srcdiroption="--srcdir=$${topdir}/rda"; \
27029 libsrcdir="$$s/rda"; \
27030 rm -f no-such-file || : ; \
27031 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27032 $(TARGET_CONFIGARGS) $${srcdiroption} \
27033 --with-target-subdir="$(TARGET_SUBDIR)" \
27034 || exit 1
27035 @endif target-rda
27037 .PHONY: all-target-rda maybe-all-target-rda
27038 maybe-all-target-rda:
27039 @if target-rda
27040 maybe-all-target-rda: all-target-rda
27041 all-target-rda: configure-target-rda
27042 @r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(SET_LIB_PATH) \
27045 $(NORMAL_TARGET_EXPORTS) \
27046 (cd $(TARGET_SUBDIR)/rda && \
27047 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27048 @endif target-rda
27050 .PHONY: check-target-rda maybe-check-target-rda
27051 maybe-check-target-rda:
27052 @if target-rda
27053 maybe-check-target-rda: check-target-rda
27055 check-target-rda:
27056 @r=`${PWD_COMMAND}`; export r; \
27057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27058 $(SET_LIB_PATH) \
27059 $(NORMAL_TARGET_EXPORTS) \
27060 (cd $(TARGET_SUBDIR)/rda && \
27061 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27063 @endif target-rda
27065 .PHONY: install-target-rda maybe-install-target-rda
27066 maybe-install-target-rda:
27067 @if target-rda
27068 maybe-install-target-rda: install-target-rda
27070 install-target-rda: installdirs
27071 @r=`${PWD_COMMAND}`; export r; \
27072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27073 $(SET_LIB_PATH) \
27074 $(NORMAL_TARGET_EXPORTS) \
27075 (cd $(TARGET_SUBDIR)/rda && \
27076 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27078 @endif target-rda
27080 # Other targets (info, dvi, etc.)
27082 .PHONY: maybe-info-target-rda info-target-rda
27083 maybe-info-target-rda:
27084 @if target-rda
27085 maybe-info-target-rda: info-target-rda
27087 info-target-rda: \
27088 configure-target-rda
27089 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27090 r=`${PWD_COMMAND}`; export r; \
27091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27092 $(SET_LIB_PATH) \
27093 $(NORMAL_TARGET_EXPORTS) \
27094 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27095 for flag in $(EXTRA_TARGET_FLAGS); do \
27096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27097 done; \
27098 (cd $(TARGET_SUBDIR)/rda && \
27099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27101 "RANLIB=$${RANLIB}" \
27102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27103 info) \
27104 || exit 1
27106 @endif target-rda
27108 .PHONY: maybe-dvi-target-rda dvi-target-rda
27109 maybe-dvi-target-rda:
27110 @if target-rda
27111 maybe-dvi-target-rda: dvi-target-rda
27113 dvi-target-rda: \
27114 configure-target-rda
27115 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27116 r=`${PWD_COMMAND}`; export r; \
27117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27118 $(SET_LIB_PATH) \
27119 $(NORMAL_TARGET_EXPORTS) \
27120 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27121 for flag in $(EXTRA_TARGET_FLAGS); do \
27122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27123 done; \
27124 (cd $(TARGET_SUBDIR)/rda && \
27125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27127 "RANLIB=$${RANLIB}" \
27128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27129 dvi) \
27130 || exit 1
27132 @endif target-rda
27134 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27135 maybe-TAGS-target-rda:
27136 @if target-rda
27137 maybe-TAGS-target-rda: TAGS-target-rda
27139 TAGS-target-rda: \
27140 configure-target-rda
27141 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27142 r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 $(SET_LIB_PATH) \
27145 $(NORMAL_TARGET_EXPORTS) \
27146 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27147 for flag in $(EXTRA_TARGET_FLAGS); do \
27148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27149 done; \
27150 (cd $(TARGET_SUBDIR)/rda && \
27151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27153 "RANLIB=$${RANLIB}" \
27154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27155 TAGS) \
27156 || exit 1
27158 @endif target-rda
27160 .PHONY: maybe-install-info-target-rda install-info-target-rda
27161 maybe-install-info-target-rda:
27162 @if target-rda
27163 maybe-install-info-target-rda: install-info-target-rda
27165 install-info-target-rda: \
27166 configure-target-rda \
27167 info-target-rda
27168 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(SET_LIB_PATH) \
27172 $(NORMAL_TARGET_EXPORTS) \
27173 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27174 for flag in $(EXTRA_TARGET_FLAGS); do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 done; \
27177 (cd $(TARGET_SUBDIR)/rda && \
27178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27180 "RANLIB=$${RANLIB}" \
27181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27182 install-info) \
27183 || exit 1
27185 @endif target-rda
27187 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27188 maybe-installcheck-target-rda:
27189 @if target-rda
27190 maybe-installcheck-target-rda: installcheck-target-rda
27192 installcheck-target-rda: \
27193 configure-target-rda
27194 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27195 r=`${PWD_COMMAND}`; export r; \
27196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27197 $(SET_LIB_PATH) \
27198 $(NORMAL_TARGET_EXPORTS) \
27199 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27200 for flag in $(EXTRA_TARGET_FLAGS); do \
27201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27202 done; \
27203 (cd $(TARGET_SUBDIR)/rda && \
27204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27206 "RANLIB=$${RANLIB}" \
27207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27208 installcheck) \
27209 || exit 1
27211 @endif target-rda
27213 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27214 maybe-mostlyclean-target-rda:
27215 @if target-rda
27216 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27218 mostlyclean-target-rda:
27219 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27220 r=`${PWD_COMMAND}`; export r; \
27221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27222 $(SET_LIB_PATH) \
27223 $(NORMAL_TARGET_EXPORTS) \
27224 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27225 for flag in $(EXTRA_TARGET_FLAGS); do \
27226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27227 done; \
27228 (cd $(TARGET_SUBDIR)/rda && \
27229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27231 "RANLIB=$${RANLIB}" \
27232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27233 mostlyclean) \
27234 || exit 1
27236 @endif target-rda
27238 .PHONY: maybe-clean-target-rda clean-target-rda
27239 maybe-clean-target-rda:
27240 @if target-rda
27241 maybe-clean-target-rda: clean-target-rda
27243 clean-target-rda:
27244 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27245 r=`${PWD_COMMAND}`; export r; \
27246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27247 $(SET_LIB_PATH) \
27248 $(NORMAL_TARGET_EXPORTS) \
27249 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27250 for flag in $(EXTRA_TARGET_FLAGS); do \
27251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27252 done; \
27253 (cd $(TARGET_SUBDIR)/rda && \
27254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27256 "RANLIB=$${RANLIB}" \
27257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27258 clean) \
27259 || exit 1
27261 @endif target-rda
27263 .PHONY: maybe-distclean-target-rda distclean-target-rda
27264 maybe-distclean-target-rda:
27265 @if target-rda
27266 maybe-distclean-target-rda: distclean-target-rda
27268 distclean-target-rda:
27269 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27270 r=`${PWD_COMMAND}`; export r; \
27271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 $(SET_LIB_PATH) \
27273 $(NORMAL_TARGET_EXPORTS) \
27274 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27275 for flag in $(EXTRA_TARGET_FLAGS); do \
27276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27277 done; \
27278 (cd $(TARGET_SUBDIR)/rda && \
27279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27281 "RANLIB=$${RANLIB}" \
27282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27283 distclean) \
27284 || exit 1
27286 @endif target-rda
27288 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27289 maybe-maintainer-clean-target-rda:
27290 @if target-rda
27291 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27293 maintainer-clean-target-rda:
27294 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27295 r=`${PWD_COMMAND}`; export r; \
27296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27297 $(SET_LIB_PATH) \
27298 $(NORMAL_TARGET_EXPORTS) \
27299 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27300 for flag in $(EXTRA_TARGET_FLAGS); do \
27301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27302 done; \
27303 (cd $(TARGET_SUBDIR)/rda && \
27304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27306 "RANLIB=$${RANLIB}" \
27307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27308 maintainer-clean) \
27309 || exit 1
27311 @endif target-rda
27314 .PHONY: configure-target-libada maybe-configure-target-libada
27315 maybe-configure-target-libada:
27316 @if target-libada
27317 maybe-configure-target-libada: configure-target-libada
27319 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27320 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27322 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27323 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27325 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27326 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27328 r=`${PWD_COMMAND}`; export r; \
27329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27330 $(SET_LIB_PATH) \
27331 $(NORMAL_TARGET_EXPORTS) \
27332 echo Configuring in $(TARGET_SUBDIR)/libada; \
27333 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27334 case $(srcdir) in \
27335 /* | [A-Za-z]:[\\/]*) \
27336 topdir=$(srcdir) ;; \
27337 *) \
27338 case "$(TARGET_SUBDIR)" in \
27339 .) topdir="../$(srcdir)" ;; \
27340 *) topdir="../../$(srcdir)" ;; \
27341 esac ;; \
27342 esac; \
27343 srcdiroption="--srcdir=$${topdir}/libada"; \
27344 libsrcdir="$$s/libada"; \
27345 rm -f no-such-file || : ; \
27346 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27347 $(TARGET_CONFIGARGS) $${srcdiroption} \
27348 --with-target-subdir="$(TARGET_SUBDIR)" \
27349 || exit 1
27350 @endif target-libada
27352 .PHONY: all-target-libada maybe-all-target-libada
27353 maybe-all-target-libada:
27354 @if target-libada
27355 maybe-all-target-libada: all-target-libada
27356 all-target-libada: configure-target-libada
27357 @r=`${PWD_COMMAND}`; export r; \
27358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27359 $(SET_LIB_PATH) \
27360 $(NORMAL_TARGET_EXPORTS) \
27361 (cd $(TARGET_SUBDIR)/libada && \
27362 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27363 @endif target-libada
27365 .PHONY: check-target-libada maybe-check-target-libada
27366 maybe-check-target-libada:
27367 @if target-libada
27368 maybe-check-target-libada: check-target-libada
27370 check-target-libada:
27371 @r=`${PWD_COMMAND}`; export r; \
27372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27373 $(SET_LIB_PATH) \
27374 $(NORMAL_TARGET_EXPORTS) \
27375 (cd $(TARGET_SUBDIR)/libada && \
27376 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27378 @endif target-libada
27380 .PHONY: install-target-libada maybe-install-target-libada
27381 maybe-install-target-libada:
27382 @if target-libada
27383 maybe-install-target-libada: install-target-libada
27385 install-target-libada: installdirs
27386 @r=`${PWD_COMMAND}`; export r; \
27387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27388 $(SET_LIB_PATH) \
27389 $(NORMAL_TARGET_EXPORTS) \
27390 (cd $(TARGET_SUBDIR)/libada && \
27391 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27393 @endif target-libada
27395 # Other targets (info, dvi, etc.)
27397 .PHONY: maybe-info-target-libada info-target-libada
27398 maybe-info-target-libada:
27399 @if target-libada
27400 maybe-info-target-libada: info-target-libada
27402 info-target-libada: \
27403 configure-target-libada
27404 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(SET_LIB_PATH) \
27408 $(NORMAL_TARGET_EXPORTS) \
27409 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27410 for flag in $(EXTRA_TARGET_FLAGS); do \
27411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27412 done; \
27413 (cd $(TARGET_SUBDIR)/libada && \
27414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27416 "RANLIB=$${RANLIB}" \
27417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27418 info) \
27419 || exit 1
27421 @endif target-libada
27423 .PHONY: maybe-dvi-target-libada dvi-target-libada
27424 maybe-dvi-target-libada:
27425 @if target-libada
27426 maybe-dvi-target-libada: dvi-target-libada
27428 dvi-target-libada: \
27429 configure-target-libada
27430 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27431 r=`${PWD_COMMAND}`; export r; \
27432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27433 $(SET_LIB_PATH) \
27434 $(NORMAL_TARGET_EXPORTS) \
27435 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27436 for flag in $(EXTRA_TARGET_FLAGS); do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 (cd $(TARGET_SUBDIR)/libada && \
27440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27442 "RANLIB=$${RANLIB}" \
27443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27444 dvi) \
27445 || exit 1
27447 @endif target-libada
27449 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27450 maybe-TAGS-target-libada:
27451 @if target-libada
27452 maybe-TAGS-target-libada: TAGS-target-libada
27454 TAGS-target-libada: \
27455 configure-target-libada
27456 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(SET_LIB_PATH) \
27460 $(NORMAL_TARGET_EXPORTS) \
27461 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27462 for flag in $(EXTRA_TARGET_FLAGS); do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27464 done; \
27465 (cd $(TARGET_SUBDIR)/libada && \
27466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27468 "RANLIB=$${RANLIB}" \
27469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27470 TAGS) \
27471 || exit 1
27473 @endif target-libada
27475 .PHONY: maybe-install-info-target-libada install-info-target-libada
27476 maybe-install-info-target-libada:
27477 @if target-libada
27478 maybe-install-info-target-libada: install-info-target-libada
27480 install-info-target-libada: \
27481 configure-target-libada \
27482 info-target-libada
27483 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27484 r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(SET_LIB_PATH) \
27487 $(NORMAL_TARGET_EXPORTS) \
27488 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27489 for flag in $(EXTRA_TARGET_FLAGS); do \
27490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27491 done; \
27492 (cd $(TARGET_SUBDIR)/libada && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27497 install-info) \
27498 || exit 1
27500 @endif target-libada
27502 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27503 maybe-installcheck-target-libada:
27504 @if target-libada
27505 maybe-installcheck-target-libada: installcheck-target-libada
27507 installcheck-target-libada: \
27508 configure-target-libada
27509 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27510 r=`${PWD_COMMAND}`; export r; \
27511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27512 $(SET_LIB_PATH) \
27513 $(NORMAL_TARGET_EXPORTS) \
27514 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27515 for flag in $(EXTRA_TARGET_FLAGS); do \
27516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27517 done; \
27518 (cd $(TARGET_SUBDIR)/libada && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523 installcheck) \
27524 || exit 1
27526 @endif target-libada
27528 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27529 maybe-mostlyclean-target-libada:
27530 @if target-libada
27531 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27533 mostlyclean-target-libada:
27534 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27535 r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(SET_LIB_PATH) \
27538 $(NORMAL_TARGET_EXPORTS) \
27539 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27540 for flag in $(EXTRA_TARGET_FLAGS); do \
27541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27542 done; \
27543 (cd $(TARGET_SUBDIR)/libada && \
27544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27546 "RANLIB=$${RANLIB}" \
27547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27548 mostlyclean) \
27549 || exit 1
27551 @endif target-libada
27553 .PHONY: maybe-clean-target-libada clean-target-libada
27554 maybe-clean-target-libada:
27555 @if target-libada
27556 maybe-clean-target-libada: clean-target-libada
27558 clean-target-libada:
27559 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27560 r=`${PWD_COMMAND}`; export r; \
27561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27562 $(SET_LIB_PATH) \
27563 $(NORMAL_TARGET_EXPORTS) \
27564 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27565 for flag in $(EXTRA_TARGET_FLAGS); do \
27566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27567 done; \
27568 (cd $(TARGET_SUBDIR)/libada && \
27569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27571 "RANLIB=$${RANLIB}" \
27572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27573 clean) \
27574 || exit 1
27576 @endif target-libada
27578 .PHONY: maybe-distclean-target-libada distclean-target-libada
27579 maybe-distclean-target-libada:
27580 @if target-libada
27581 maybe-distclean-target-libada: distclean-target-libada
27583 distclean-target-libada:
27584 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27585 r=`${PWD_COMMAND}`; export r; \
27586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27587 $(SET_LIB_PATH) \
27588 $(NORMAL_TARGET_EXPORTS) \
27589 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27590 for flag in $(EXTRA_TARGET_FLAGS); do \
27591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27592 done; \
27593 (cd $(TARGET_SUBDIR)/libada && \
27594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27596 "RANLIB=$${RANLIB}" \
27597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27598 distclean) \
27599 || exit 1
27601 @endif target-libada
27603 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27604 maybe-maintainer-clean-target-libada:
27605 @if target-libada
27606 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27608 maintainer-clean-target-libada:
27609 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27610 r=`${PWD_COMMAND}`; export r; \
27611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27612 $(SET_LIB_PATH) \
27613 $(NORMAL_TARGET_EXPORTS) \
27614 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27615 for flag in $(EXTRA_TARGET_FLAGS); do \
27616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27617 done; \
27618 (cd $(TARGET_SUBDIR)/libada && \
27619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27621 "RANLIB=$${RANLIB}" \
27622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27623 maintainer-clean) \
27624 || exit 1
27626 @endif target-libada
27630 # ----------
27631 # GCC module
27632 # ----------
27634 # Unfortunately, while gcc _should_ be a host module,
27635 # libgcc is a target module, and gen* programs are
27636 # build modules. So GCC is a sort of hybrid.
27638 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27639 # Don't use shared host config.cache, as it will confuse later
27640 # directories; GCC wants slightly different values for some
27641 # precious variables. *sigh*
27643 # We must skip configuring if toplevel bootstrap is going.
27644 .PHONY: configure-gcc maybe-configure-gcc
27645 maybe-configure-gcc:
27646 @if gcc
27647 maybe-configure-gcc: configure-gcc
27648 configure-gcc:
27649 @test ! -f gcc/Makefile || exit 0; \
27650 [ -f stage_last ] && exit 0; \
27651 [ -d gcc ] || mkdir gcc; \
27652 r=`${PWD_COMMAND}`; export r; \
27653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27654 $(GCC_HOST_EXPORTS) \
27655 echo Configuring in gcc; \
27656 cd gcc || exit 1; \
27657 case $(srcdir) in \
27658 \.) \
27659 srcdiroption="--srcdir=."; \
27660 libsrcdir=".";; \
27661 /* | [A-Za-z]:[\\/]*) \
27662 srcdiroption="--srcdir=$(srcdir)/gcc"; \
27663 libsrcdir="$$s/gcc";; \
27664 *) \
27665 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
27666 libsrcdir="$$s/gcc";; \
27667 esac; \
27668 $(SHELL) $${libsrcdir}/configure \
27669 $(HOST_CONFIGARGS) $${srcdiroption} \
27670 || exit 1
27671 @endif gcc
27673 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
27674 # causes trouble. This wart will be fixed eventually by moving
27675 # the bootstrap behavior to this file.
27676 .PHONY: all-gcc maybe-all-gcc
27677 maybe-all-gcc:
27678 @if gcc
27679 maybe-all-gcc: all-gcc
27680 all-gcc: configure-gcc
27681 r=`${PWD_COMMAND}`; export r; \
27682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27683 $(GCC_HOST_EXPORTS) \
27684 if [ -f stage_last ] ; then \
27685 true ; \
27686 elif [ -f gcc/stage_last ] ; then \
27687 $(SET_LIB_PATH) \
27688 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
27689 else \
27690 $(SET_LIB_PATH) \
27691 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
27693 @endif gcc
27695 # Building GCC uses some tools for rebuilding "source" files
27696 # like texinfo, bison/byacc, etc. So we must depend on those.
27698 # While building GCC, it may be necessary to run various target
27699 # programs like the assembler, linker, etc. So we depend on
27700 # those too.
27702 # In theory, on an SMP all those dependencies can be resolved
27703 # in parallel.
27705 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27706 .PHONY: $(GCC_STRAP_TARGETS)
27707 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
27708 @r=`${PWD_COMMAND}`; export r; \
27709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27710 $(SET_LIB_PATH) \
27711 $(GCC_HOST_EXPORTS) \
27712 echo "Bootstrapping the compiler"; \
27713 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27714 @r=`${PWD_COMMAND}`; export r; \
27715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27716 case "$@" in \
27717 *bootstrap4-lean ) \
27718 msg="Comparing stage3 and stage4 of the compiler"; \
27719 compare=compare3-lean ;; \
27720 *bootstrap4 ) \
27721 msg="Comparing stage3 and stage4 of the compiler"; \
27722 compare=compare3 ;; \
27723 *-lean ) \
27724 msg="Comparing stage2 and stage3 of the compiler"; \
27725 compare=compare-lean ;; \
27726 * ) \
27727 msg="Comparing stage2 and stage3 of the compiler"; \
27728 compare=compare ;; \
27729 esac; \
27730 $(SET_LIB_PATH) \
27731 $(GCC_HOST_EXPORTS) \
27732 echo "$$msg"; \
27733 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27734 @r=`${PWD_COMMAND}`; export r; \
27735 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27736 $(SET_LIB_PATH) \
27737 echo "Building runtime libraries"; \
27738 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27740 profiledbootstrap: all-bootstrap configure-gcc
27741 @r=`${PWD_COMMAND}`; export r; \
27742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27743 $(SET_LIB_PATH) \
27744 $(GCC_HOST_EXPORTS) \
27745 echo "Bootstrapping the compiler"; \
27746 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27747 @r=`${PWD_COMMAND}`; export r; \
27748 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27749 $(SET_LIB_PATH) \
27750 echo "Building runtime libraries and training compiler"; \
27751 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27752 @r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27754 $(SET_LIB_PATH) \
27755 $(GCC_HOST_EXPORTS) \
27756 echo "Building feedback based compiler"; \
27757 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27759 .PHONY: cross
27760 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
27761 @r=`${PWD_COMMAND}`; export r; \
27762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27763 $(SET_LIB_PATH) \
27764 $(GCC_HOST_EXPORTS) \
27765 echo "Building the C and C++ compiler"; \
27766 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27767 @r=`${PWD_COMMAND}`; export r; \
27768 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27769 $(SET_LIB_PATH) \
27770 echo "Building runtime libraries"; \
27771 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
27772 LANGUAGES="c c++" all
27774 .PHONY: check-gcc maybe-check-gcc
27775 maybe-check-gcc:
27776 @if gcc
27777 maybe-check-gcc: check-gcc
27778 check-gcc:
27779 @if [ -f ./gcc/Makefile ] ; then \
27780 r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(SET_LIB_PATH) \
27783 $(GCC_HOST_EXPORTS) \
27784 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
27785 else \
27786 true; \
27789 .PHONY: check-gcc-c++
27790 check-gcc-c++:
27791 @if [ -f ./gcc/Makefile ] ; then \
27792 r=`${PWD_COMMAND}`; export r; \
27793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27794 $(SET_LIB_PATH) \
27795 $(GCC_HOST_EXPORTS) \
27796 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27797 else \
27798 true; \
27801 .PHONY: check-c++
27802 check-c++: check-target-libstdc++-v3 check-gcc-c++
27803 @endif gcc
27805 .PHONY: install-gcc maybe-install-gcc
27806 maybe-install-gcc:
27807 @if gcc
27808 maybe-install-gcc: install-gcc
27809 install-gcc:
27810 @if [ -f ./gcc/Makefile ] ; then \
27811 r=`${PWD_COMMAND}`; export r; \
27812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27813 $(SET_LIB_PATH) \
27814 $(GCC_HOST_EXPORTS) \
27815 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27816 else \
27817 true; \
27819 @endif gcc
27821 # Install the gcc headers files, but not the fixed include files,
27822 # which Cygnus is not allowed to distribute. This rule is very
27823 # dependent on the workings of the gcc Makefile.in.
27824 .PHONY: gcc-no-fixedincludes
27825 gcc-no-fixedincludes:
27826 @if [ -f ./gcc/Makefile ]; then \
27827 rm -rf gcc/tmp-include; \
27828 mv gcc/include gcc/tmp-include 2>/dev/null; \
27829 mkdir gcc/include; \
27830 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27831 touch gcc/stmp-fixinc gcc/include/fixed; \
27832 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27833 r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27835 $(SET_LIB_PATH) \
27836 $(GCC_HOST_EXPORTS) \
27837 (cd ./gcc && \
27838 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27839 rm -rf gcc/include; \
27840 mv gcc/tmp-include gcc/include 2>/dev/null; \
27841 else true; fi
27843 # Other targets (dvi, info, etc.)
27845 .PHONY: maybe-info-gcc info-gcc
27846 maybe-info-gcc:
27847 @if gcc
27848 maybe-info-gcc: info-gcc
27849 info-gcc: \
27850 configure-gcc
27851 @[ -f ./gcc/Makefile ] || exit 0; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(SET_LIB_PATH) \
27855 for flag in $(EXTRA_GCC_FLAGS); do \
27856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27857 done; \
27858 $(GCC_HOST_EXPORTS) \
27859 echo "Doing info in gcc" ; \
27860 (cd gcc && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27863 "RANLIB=$${RANLIB}" \
27864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27865 info) \
27866 || exit 1
27867 @endif gcc
27870 .PHONY: maybe-dvi-gcc dvi-gcc
27871 maybe-dvi-gcc:
27872 @if gcc
27873 maybe-dvi-gcc: dvi-gcc
27874 dvi-gcc: \
27875 configure-gcc
27876 @[ -f ./gcc/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(SET_LIB_PATH) \
27880 for flag in $(EXTRA_GCC_FLAGS); do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 $(GCC_HOST_EXPORTS) \
27884 echo "Doing dvi in gcc" ; \
27885 (cd gcc && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27890 dvi) \
27891 || exit 1
27892 @endif gcc
27895 .PHONY: maybe-TAGS-gcc TAGS-gcc
27896 maybe-TAGS-gcc:
27897 @if gcc
27898 maybe-TAGS-gcc: TAGS-gcc
27899 TAGS-gcc: \
27900 configure-gcc
27901 @[ -f ./gcc/Makefile ] || exit 0; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(SET_LIB_PATH) \
27905 for flag in $(EXTRA_GCC_FLAGS); do \
27906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27907 done; \
27908 $(GCC_HOST_EXPORTS) \
27909 echo "Doing TAGS in gcc" ; \
27910 (cd gcc && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27915 TAGS) \
27916 || exit 1
27917 @endif gcc
27920 .PHONY: maybe-install-info-gcc install-info-gcc
27921 maybe-install-info-gcc:
27922 @if gcc
27923 maybe-install-info-gcc: install-info-gcc
27924 install-info-gcc: \
27925 configure-gcc \
27926 info-gcc
27927 @[ -f ./gcc/Makefile ] || exit 0; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(SET_LIB_PATH) \
27931 for flag in $(EXTRA_GCC_FLAGS); do \
27932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27933 done; \
27934 $(GCC_HOST_EXPORTS) \
27935 echo "Doing install-info in gcc" ; \
27936 (cd gcc && \
27937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27939 "RANLIB=$${RANLIB}" \
27940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27941 install-info) \
27942 || exit 1
27943 @endif gcc
27946 .PHONY: maybe-installcheck-gcc installcheck-gcc
27947 maybe-installcheck-gcc:
27948 @if gcc
27949 maybe-installcheck-gcc: installcheck-gcc
27950 installcheck-gcc: \
27951 configure-gcc
27952 @[ -f ./gcc/Makefile ] || exit 0; \
27953 r=`${PWD_COMMAND}`; export r; \
27954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27955 $(SET_LIB_PATH) \
27956 for flag in $(EXTRA_GCC_FLAGS); do \
27957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27958 done; \
27959 $(GCC_HOST_EXPORTS) \
27960 echo "Doing installcheck in gcc" ; \
27961 (cd gcc && \
27962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27964 "RANLIB=$${RANLIB}" \
27965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27966 installcheck) \
27967 || exit 1
27968 @endif gcc
27971 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
27972 maybe-mostlyclean-gcc:
27973 @if gcc
27974 maybe-mostlyclean-gcc: mostlyclean-gcc
27975 mostlyclean-gcc:
27976 @[ -f ./gcc/Makefile ] || exit 0; \
27977 r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 $(SET_LIB_PATH) \
27980 for flag in $(EXTRA_GCC_FLAGS); do \
27981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27982 done; \
27983 $(GCC_HOST_EXPORTS) \
27984 echo "Doing mostlyclean in gcc" ; \
27985 (cd gcc && \
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 mostlyclean) \
27991 || exit 1
27992 @endif gcc
27995 .PHONY: maybe-clean-gcc clean-gcc
27996 maybe-clean-gcc:
27997 @if gcc
27998 maybe-clean-gcc: clean-gcc
27999 clean-gcc:
28000 @[ -f ./gcc/Makefile ] || exit 0; \
28001 r=`${PWD_COMMAND}`; export r; \
28002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28003 $(SET_LIB_PATH) \
28004 for flag in $(EXTRA_GCC_FLAGS); do \
28005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28006 done; \
28007 $(GCC_HOST_EXPORTS) \
28008 echo "Doing clean in gcc" ; \
28009 (cd gcc && \
28010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28012 "RANLIB=$${RANLIB}" \
28013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28014 clean) \
28015 || exit 1
28016 @endif gcc
28019 .PHONY: maybe-distclean-gcc distclean-gcc
28020 maybe-distclean-gcc:
28021 @if gcc
28022 maybe-distclean-gcc: distclean-gcc
28023 distclean-gcc:
28024 @[ -f ./gcc/Makefile ] || exit 0; \
28025 r=`${PWD_COMMAND}`; export r; \
28026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28027 $(SET_LIB_PATH) \
28028 for flag in $(EXTRA_GCC_FLAGS); do \
28029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28030 done; \
28031 $(GCC_HOST_EXPORTS) \
28032 echo "Doing distclean in gcc" ; \
28033 (cd gcc && \
28034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28036 "RANLIB=$${RANLIB}" \
28037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28038 distclean) \
28039 || exit 1
28040 @endif gcc
28043 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
28044 maybe-maintainer-clean-gcc:
28045 @if gcc
28046 maybe-maintainer-clean-gcc: maintainer-clean-gcc
28047 maintainer-clean-gcc:
28048 @[ -f ./gcc/Makefile ] || exit 0; \
28049 r=`${PWD_COMMAND}`; export r; \
28050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28051 $(SET_LIB_PATH) \
28052 for flag in $(EXTRA_GCC_FLAGS); do \
28053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28054 done; \
28055 $(GCC_HOST_EXPORTS) \
28056 echo "Doing maintainer-clean in gcc" ; \
28057 (cd gcc && \
28058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28060 "RANLIB=$${RANLIB}" \
28061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28062 maintainer-clean) \
28063 || exit 1
28064 @endif gcc
28068 # ---------------------
28069 # GCC bootstrap support
28070 # ---------------------
28072 # We track the current stage (the one in 'gcc') in the stage_last file.
28073 # We name the build directories for the various stages "stage1-gcc",
28074 # "stage2-gcc","stage3-gcc", etc.
28076 # Since the 'compare' process will fail (on debugging information) if any
28077 # directory names are different, we need to link the gcc directory for
28078 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28079 # the build directories constant as well. For the latter, we use naked names
28080 # like 'gcc', because the scripts in that directory assume it. We use
28081 # mv on platforms where symlinks to directories do not work or are not
28082 # reliable.
28084 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28085 # be kept, so that libraries can find it. Ick!
28087 # It would be best to preinstall gcc into a staging area (and in the
28088 # future, gather there all prebootstrap packages). This would allow
28089 # assemblers and linkers can be bootstrapped as well as the compiler
28090 # (both in a combined tree, or separately). This however requires some
28091 # change to the gcc driver, again in order to avoid comparison failures.
28093 # Bugs: This is almost certainly not parallel-make safe.
28095 # 'touch' doesn't work right on some platforms.
28096 STAMP = echo timestamp >
28098 # Only build the C compiler for stage1, because that is the only one that
28099 # we can guarantee will build with the native compiler, and also it is the
28100 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28101 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28102 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28104 STAGE1_CFLAGS=@stage1_cflags@
28105 STAGE1_LANGUAGES=@stage1_languages@
28107 # We only want to compare .o files, so set this!
28108 objext = .o
28110 # Real targets act phony if they depend on phony targets; this hack
28111 # prevents gratuitous rebuilding of stage 1.
28112 prebootstrap:
28113 $(MAKE) all-bootstrap
28114 $(STAMP) prebootstrap
28116 # Flags to pass to stage2 and later makes.
28117 BOOT_CFLAGS= -g -O2
28118 POSTSTAGE1_FLAGS_TO_PASS = \
28119 CFLAGS="$(BOOT_CFLAGS)" \
28120 ADAC="\$$(CC)"
28122 # For stage 1:
28123 # * We force-disable intermodule optimizations, even if
28124 # --enable-intermodule was passed, since the installed compiler probably
28125 # can't handle them. Luckily, autoconf always respects
28126 # the last argument when conflicting --enable arguments are passed.
28127 # * Likewise, we force-disable coverage flags, since the installed compiler
28128 # probably has never heard of them.
28129 # * We build only C (and possibly Ada).
28132 .PHONY: new-stage1-start new-stage1-end
28134 new-stage1-start:
28135 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28136 echo stage1 > stage_last ; \
28137 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28138 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28140 new-stage1-end:
28141 rm -f stage_last ; \
28142 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28144 # Bubble a bugfix through all the stages up to stage 1. They
28145 # are remade, but not reconfigured. The next stage (if any) will not
28146 # be reconfigured as well.
28147 .PHONY: new-stage1-bubble
28148 new-stage1-bubble:
28149 @if [ -f all-stage1-gcc ] ; then \
28150 echo Remaking stage 1 ; \
28151 rm -f all-stage1-gcc ; \
28152 $(MAKE) all-stage1-gcc && \
28153 if [ -f configure-stage2-gcc ] ; then \
28154 $(STAMP) configure-stage2-gcc ; \
28155 fi ; \
28156 else \
28157 $(MAKE) all-stage1-gcc ; \
28160 configure-stage1-gcc: prebootstrap
28161 $(MAKE) new-stage1-start
28162 @if [ -f stage1-gcc/Makefile ] ; then \
28163 $(STAMP) configure-stage1-gcc ; \
28164 exit 0; \
28165 else \
28166 true ; \
28167 fi ; \
28168 r=`${PWD_COMMAND}`; export r; \
28169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28170 $(GCC_HOST_EXPORTS) \
28171 echo Configuring stage 1 in gcc ; \
28172 cd gcc || exit 1; \
28173 case $(srcdir) in \
28174 \.) \
28175 srcdiroption="--srcdir=."; \
28176 libsrcdir=".";; \
28177 /* | [A-Za-z]:[\\/]*) \
28178 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28179 libsrcdir="$$s/gcc";; \
28180 *) \
28181 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28182 libsrcdir="$$s/gcc";; \
28183 esac; \
28184 $(SHELL) $${libsrcdir}/configure \
28185 $(HOST_CONFIGARGS) $${srcdiroption} \
28186 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28187 $(STAMP) ../configure-stage1-gcc
28189 all-stage1-gcc: configure-stage1-gcc
28190 $(MAKE) new-stage1-start
28191 @r=`${PWD_COMMAND}`; export r; \
28192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28193 $(GCC_HOST_EXPORTS) \
28194 cd gcc && \
28195 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28196 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28202 .PHONY: new-restage1 distclean-stage1
28204 distclean-stage1: distclean-stage2
28205 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28206 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28208 new-restage1: distclean-stage2
28209 rm -rf all-stage1-gcc
28210 $(MAKE) all-stage1-gcc
28215 .PHONY: new-stage2-start new-stage2-end
28217 new-stage2-start:
28218 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28219 echo stage2 > stage_last ; \
28220 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28221 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28222 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28224 new-stage2-end:
28225 rm -f stage_last ; \
28226 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28227 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28229 # Bubble a bugfix through all the stages up to stage 2. They
28230 # are remade, but not reconfigured. The next stage (if any) will not
28231 # be reconfigured as well.
28232 .PHONY: new-stage2-bubble
28233 new-stage2-bubble: new-stage1-bubble
28234 @if [ -f all-stage2-gcc ] ; then \
28235 echo Remaking stage 2 ; \
28236 rm -f all-stage2-gcc ; \
28237 $(MAKE) all-stage2-gcc && \
28238 if [ -f configure-stage3-gcc ] ; then \
28239 $(STAMP) configure-stage3-gcc ; \
28240 fi ; \
28241 else \
28242 $(MAKE) all-stage2-gcc ; \
28245 configure-stage2-gcc: all-stage1-gcc
28246 $(MAKE) new-stage2-start
28247 @if [ -f stage2-gcc/Makefile ] ; then \
28248 $(STAMP) configure-stage2-gcc ; \
28249 exit 0; \
28250 else \
28251 true ; \
28252 fi ; \
28253 r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(STAGE_HOST_EXPORTS) \
28256 echo Configuring stage 2 in gcc ; \
28257 cd gcc || exit 1; \
28258 case $(srcdir) in \
28259 \.) \
28260 srcdiroption="--srcdir=."; \
28261 libsrcdir=".";; \
28262 /* | [A-Za-z]:[\\/]*) \
28263 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28264 libsrcdir="$$s/gcc";; \
28265 *) \
28266 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28267 libsrcdir="$$s/gcc";; \
28268 esac; \
28269 $(SHELL) $${libsrcdir}/configure \
28270 $(HOST_CONFIGARGS) $${srcdiroption} \
28271 @stage2_werror_flag@ && \
28272 $(STAMP) ../configure-stage2-gcc
28274 all-stage2-gcc: configure-stage2-gcc
28275 $(MAKE) new-stage2-start
28276 @r=`${PWD_COMMAND}`; export r; \
28277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28278 $(STAGE_HOST_EXPORTS) \
28279 cd gcc && \
28280 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28281 CC="$${CC}" CC_FOR_BUILD="${CC_FOR_BUILD}" \
28282 STAGE_PREFIX=$$r/stage1-gcc/ \
28283 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage2-gcc
28289 .PHONY: new-restage2 distclean-stage2
28291 distclean-stage2: distclean-stage3
28292 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28293 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28295 new-restage2: distclean-stage3
28296 rm -rf all-stage2-gcc
28297 $(MAKE) all-stage2-gcc
28302 .PHONY: new-stage3-start new-stage3-end
28304 new-stage3-start:
28305 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28306 echo stage3 > stage_last ; \
28307 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28308 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28309 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28311 new-stage3-end:
28312 rm -f stage_last ; \
28313 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28314 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28316 # Bubble a bugfix through all the stages up to stage 3. They
28317 # are remade, but not reconfigured. The next stage (if any) will not
28318 # be reconfigured as well.
28319 .PHONY: new-stage3-bubble
28320 new-stage3-bubble: new-stage2-bubble
28321 @if [ -f all-stage3-gcc ] ; then \
28322 echo Remaking stage 3 ; \
28323 rm -f all-stage3-gcc ; \
28324 $(MAKE) all-stage3-gcc ; \
28325 else \
28326 $(MAKE) all-stage3-gcc ; \
28329 configure-stage3-gcc: all-stage2-gcc
28330 $(MAKE) new-stage3-start
28331 @if [ -f stage3-gcc/Makefile ] ; then \
28332 $(STAMP) configure-stage3-gcc ; \
28333 exit 0; \
28334 else \
28335 true ; \
28336 fi ; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(STAGE_HOST_EXPORTS) \
28340 echo Configuring stage 3 in gcc ; \
28341 cd gcc || exit 1; \
28342 case $(srcdir) in \
28343 \.) \
28344 srcdiroption="--srcdir=."; \
28345 libsrcdir=".";; \
28346 /* | [A-Za-z]:[\\/]*) \
28347 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28348 libsrcdir="$$s/gcc";; \
28349 *) \
28350 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28351 libsrcdir="$$s/gcc";; \
28352 esac; \
28353 $(SHELL) $${libsrcdir}/configure \
28354 $(HOST_CONFIGARGS) $${srcdiroption} \
28355 @stage2_werror_flag@ && \
28356 $(STAMP) ../configure-stage3-gcc
28358 all-stage3-gcc: configure-stage3-gcc
28359 $(MAKE) new-stage3-start
28360 @r=`${PWD_COMMAND}`; export r; \
28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28362 $(STAGE_HOST_EXPORTS) \
28363 cd gcc && \
28364 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28365 CC="$${CC}" CC_FOR_BUILD="${CC_FOR_BUILD}" \
28366 STAGE_PREFIX=$$r/stage2-gcc/ \
28367 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage3-gcc
28370 compare: all-stage3-gcc
28371 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28372 @r=`${PWD_COMMAND}`; export r; \
28373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28374 rm -f .bad_compare ; \
28375 cd stage3-gcc; \
28376 files=`find . -name "*$(objext)" -print` ; \
28377 cd .. ; \
28378 for file in $${files} ; do \
28379 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28380 @do_compare@ > /dev/null 2>&1; \
28381 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28382 done ; \
28383 if [ -f .bad_compare ]; then \
28384 echo "Bootstrap comparison failure!"; \
28385 cat .bad_compare; \
28386 exit 1; \
28387 else \
28388 true; \
28389 fi ; \
28390 $(STAMP) compare
28394 .PHONY: new-bootstrap
28395 new-bootstrap:
28396 $(MAKE) new-stage3-bubble compare \
28397 new-stage3-start all new-stage3-end
28400 .PHONY: new-restage3 distclean-stage3
28402 distclean-stage3:
28403 [ -f stage_last ] && $(MAKE) new-`cat stage_last`-end || :
28404 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28406 new-restage3:
28407 rm -rf all-stage3-gcc compare
28408 $(MAKE) compare
28411 .PHONY: new-cleanstrap
28412 new-cleanstrap: distclean-stage1 new-bootstrap
28417 # --------------------------------------
28418 # Dependencies between different modules
28419 # --------------------------------------
28421 # There are two types of dependencies here: 'hard' dependencies, where one
28422 # module simply won't build without the other; and 'soft' dependencies, where
28423 # if the depended-on module is missing, the depending module will do without
28424 # or find a substitute somewhere (perhaps installed). Soft dependencies
28425 # are specified by depending on a 'maybe-' target. If you're not sure,
28426 # it's safer to use a soft dependency.
28428 # Host modules specific to gcc.
28429 # GCC needs to identify certain tools.
28430 # GCC also needs the information exported by the intl configure script.
28431 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
28432 all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee maybe-all-libcpp
28433 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
28434 all-libcpp: maybe-all-libiberty maybe-all-intl
28435 # This is a slightly kludgy method of getting dependencies on
28436 # all-build-libiberty correct; it would be better to build it every time.
28437 all-gcc: maybe-all-build-libiberty
28438 all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libcpp maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib
28440 # Host modules specific to gdb.
28441 # GDB needs to know that the simulator is being built.
28442 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
28443 GDB_TK = @GDB_TK@
28444 all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
28445 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
28446 configure-libgui: maybe-configure-tcl maybe-configure-tk
28447 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
28449 # Host modules specific to binutils.
28450 configure-bfd: configure-libiberty
28451 all-bfd: maybe-all-libiberty maybe-all-intl
28452 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
28453 # We put install-opcodes before install-binutils because the installed
28454 # binutils might be on PATH, and they might need the shared opcodes
28455 # library.
28456 install-binutils: maybe-install-opcodes
28457 # libopcodes depends on libbfd
28458 install-opcodes: maybe-install-bfd
28459 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
28460 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
28461 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
28462 all-opcodes: maybe-all-bfd maybe-all-libiberty
28464 # Other host modules in the 'src' repository.
28465 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
28466 configure-expect: maybe-configure-tcl maybe-configure-tk
28467 all-expect: maybe-all-tcl maybe-all-tk
28468 configure-itcl: maybe-configure-tcl maybe-configure-tk
28469 all-itcl: maybe-all-tcl maybe-all-tk
28470 # We put install-tcl before install-itcl because itcl wants to run a
28471 # program on installation which uses the Tcl libraries.
28472 install-itcl: maybe-install-tcl
28473 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
28474 install-sid: maybe-install-tcl maybe-install-tk
28475 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
28476 configure-tk: maybe-configure-tcl
28477 all-tk: maybe-all-tcl
28478 configure-tix: maybe-configure-tcl maybe-configure-tk
28479 all-tix: maybe-all-tcl maybe-all-tk
28480 all-texinfo: maybe-all-libiberty
28482 # Other host modules. Warning, these are not well tested.
28483 all-autoconf: maybe-all-m4 maybe-all-texinfo
28484 all-automake: maybe-all-m4 maybe-all-texinfo
28485 all-bison: maybe-all-texinfo
28486 all-diff: maybe-all-libiberty
28487 all-fastjar: maybe-all-zlib maybe-all-libiberty
28488 all-fileutils: maybe-all-libiberty
28489 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
28490 all-gzip: maybe-all-libiberty
28491 all-hello: maybe-all-libiberty
28492 all-m4: maybe-all-libiberty maybe-all-texinfo
28493 all-make: maybe-all-libiberty maybe-all-intl
28494 all-patch: maybe-all-libiberty
28495 all-prms: maybe-all-libiberty
28496 all-recode: maybe-all-libiberty
28497 all-sed: maybe-all-libiberty
28498 all-send-pr: maybe-all-prms
28499 all-tar: maybe-all-libiberty
28500 all-uudecode: maybe-all-libiberty
28502 ALL_GCC = maybe-all-gcc
28503 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
28504 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
28506 # Target modules specific to gcc.
28507 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
28508 configure-target-fastjar: maybe-configure-target-zlib
28509 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
28510 configure-target-libada: $(ALL_GCC_C)
28511 configure-target-libgfortran: $(ALL_GCC_C)
28512 configure-target-libffi: $(ALL_GCC_C)
28513 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
28514 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
28515 configure-target-libobjc: $(ALL_GCC_C)
28516 all-target-libobjc: maybe-all-target-libiberty
28517 configure-target-libstdc++-v3: $(ALL_GCC_C)
28518 all-target-libstdc++-v3: maybe-all-target-libiberty
28519 configure-target-zlib: $(ALL_GCC_C)
28521 # Target modules in the 'src' repository.
28522 configure-target-examples: $(ALL_GCC_C)
28523 configure-target-libgloss: $(ALL_GCC)
28524 all-target-libgloss: maybe-configure-target-newlib
28525 configure-target-libiberty: $(ALL_GCC)
28526 configure-target-libtermcap: $(ALL_GCC_C)
28527 configure-target-newlib: $(ALL_GCC)
28528 configure-target-rda: $(ALL_GCC_C)
28529 configure-target-winsup: $(ALL_GCC_C)
28530 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
28532 # Other target modules. Warning, these are not well tested.
28533 configure-target-gperf: $(ALL_GCC_CXX)
28534 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
28535 configure-target-qthreads: $(ALL_GCC_C)
28537 # Serialization dependencies. Host configures don't work well in parallel to
28538 # each other, due to contention over config.cache. Target configures and
28539 # build configures are similar.
28540 @serialization_dependencies@
28542 # --------------------------------
28543 # Regenerating top level configury
28544 # --------------------------------
28546 # Multilib.out tells target dirs what multilibs they should build.
28547 # There is really only one copy. We use the 'timestamp' method to
28548 # work around various timestamp bugs on some systems.
28549 # We use move-if-change so that it's only considered updated when it
28550 # actually changes, because it has to depend on a phony target.
28551 multilib.out: maybe-all-gcc
28552 @r=`${PWD_COMMAND}`; export r; \
28553 echo "Checking multilib configuration..."; \
28554 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
28555 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
28557 # Rebuilding Makefile.in, using autogen.
28558 AUTOGEN = autogen
28559 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
28560 cd $(srcdir) && $(AUTOGEN) Makefile.def
28562 # Rebuilding Makefile.
28563 Makefile: $(srcdir)/Makefile.in config.status
28564 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
28566 config.status: configure $(gcc_version_trigger)
28567 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
28569 # Rebuilding configure.
28570 AUTOCONF = autoconf
28571 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
28572 cd $(srcdir) && $(AUTOCONF)
28574 # ------------------------------
28575 # Special directives to GNU Make
28576 # ------------------------------
28578 # Don't pass command-line variables to submakes.
28579 .NOEXPORT:
28580 MAKEOVERRIDES=
28582 # end of Makefile.in