Adjust for "mov rX=imm" changes.
[binutils.git] / Makefile.in
blob5a42f868c43bbe7e786acb378983fba80cb216da
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
113 # This is the list of variables to export in the environment when
114 # configuring subdirectories for the build system. It must also be
115 # exported whenever recursing into a build directory in case that
116 # directory's Makefile re-runs configure.
117 BUILD_EXPORTS = \
118 AR="$(AR_FOR_BUILD)"; export AR; \
119 AS="$(AS_FOR_BUILD)"; export AS; \
120 CC="$(CC_FOR_BUILD)"; export CC; \
121 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
122 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
123 CXX="$(CXX_FOR_BUILD)"; export CXX; \
124 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
125 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
126 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
127 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
128 LD="$(LD_FOR_BUILD)"; export LD; \
129 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
130 NM="$(NM_FOR_BUILD)"; export NM; \
131 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
132 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
134 # This is the list of directories to built for the host system.
135 SUBDIRS = @configdirs@
136 # This is set by the configure script to the arguments to use when configuring
137 # directories built for the host system.
138 HOST_CONFIGARGS = @host_configargs@
139 # This is the list of variables to export in the environment when
140 # configuring subdirectories for the host system. It must also be
141 # exported whenever recursing into a host directory in case that
142 # directory's Makefile re-runs configure.
143 HOST_EXPORTS = \
144 CC="$(CC)"; export CC; \
145 CFLAGS="$(CFLAGS)"; export CFLAGS; \
146 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
147 CXX="$(CXX)"; export CXX; \
148 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
149 AR="$(AR)"; export AR; \
150 AS="$(AS)"; export AS; \
151 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
152 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
153 LD="$(LD)"; export LD; \
154 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
155 NM="$(NM)"; export NM; \
156 RANLIB="$(RANLIB)"; export RANLIB; \
157 WINDRES="$(WINDRES)"; export WINDRES; \
158 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
159 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
160 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
161 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
162 GMPINC="$(HOST_GMPINC)"; export GMPINC;
164 # Similar, for later GCC stages.
165 STAGE_HOST_EXPORTS = \
166 $(HOST_EXPORTS) \
167 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
168 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
170 # This is set by the configure script to the list of directories which
171 # should be built using the target tools.
172 TARGET_CONFIGDIRS = @target_configdirs@
173 # Target libraries are put under this directory:
174 TARGET_SUBDIR = @target_subdir@
175 # This is set by the configure script to the arguments to use when configuring
176 # directories built for the target.
177 TARGET_CONFIGARGS = @target_configargs@
178 # This is the list of variables to export in the environment when
179 # configuring subdirectories for the host system. It must also be
180 # exported whenever recursing into a host directory in case that
181 # directory's Makefile re-runs configure.
182 BASE_TARGET_EXPORTS = \
183 AR="$(AR_FOR_TARGET)"; export AR; \
184 AS="$(AS_FOR_TARGET)"; export AS; \
185 CC="$(CC_FOR_TARGET)"; export CC; \
186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193 LD="$(LD_FOR_TARGET)"; export LD; \
194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195 NM="$(NM_FOR_TARGET)"; export NM; \
196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
199 RAW_CXX_TARGET_EXPORTS = \
200 $(BASE_TARGET_EXPORTS) \
201 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
202 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
204 NORMAL_TARGET_EXPORTS = \
205 $(BASE_TARGET_EXPORTS) \
206 CXX="$(CXX_FOR_TARGET)"; export CXX;
208 # Where to find GMP
209 HOST_GMPLIBS = @gmplibs@
210 HOST_GMPINC = @gmpinc@
212 # ----------------------------------------------
213 # Programs producing files for the BUILD machine
214 # ----------------------------------------------
216 SHELL = @config_shell@
218 # pwd command to use. Allow user to override default by setting PWDCMD in
219 # the environment to account for automounters. The make variable must not
220 # be called PWDCMD, otherwise the value set here is passed to make
221 # subprocesses and overrides the setting from the user's environment.
222 # Don't use PWD since it is a common shell environment variable and we
223 # don't want to corrupt it.
224 PWD_COMMAND = $${PWDCMD-pwd}
226 # compilers to use to create programs which must be run in the build
227 # environment.
228 CC_FOR_BUILD = @CC_FOR_BUILD@
229 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
231 CXX_FOR_BUILD = $(CXX)
233 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
234 # here so that they can be overridden by Makefile fragments.
235 BUILD_PREFIX = @BUILD_PREFIX@
236 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
238 BISON=@BISON@
239 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
240 echo $$r/bison/bison -L $$s/bison/ ; \
241 else \
242 echo bison ; \
245 DEFAULT_YACC = @DEFAULT_YACC@
246 YACC=@YACC@
247 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
248 echo $$r/bison/bison -y -L $$s/bison/ ; \
249 elif [ -f $$r/byacc/byacc ] ; then \
250 echo $$r/byacc/byacc ; \
251 else \
252 echo ${DEFAULT_YACC} ; \
255 DEFAULT_LEX = @DEFAULT_LEX@
256 LEX=@LEX@
257 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
258 then echo $$r/flex/flex ; \
259 else echo ${DEFAULT_LEX} ; fi`
261 DEFAULT_M4 = @DEFAULT_M4@
262 M4 = `if [ -f $$r/m4/m4 ] ; \
263 then echo $$r/m4/m4 ; \
264 else echo ${DEFAULT_M4} ; fi`
266 # For an installed makeinfo, we require it to be from texinfo 4.2 or
267 # higher, else we use the "missing" dummy.
268 MAKEINFO=@MAKEINFO@
269 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
270 then echo $$r/texinfo/makeinfo/makeinfo ; \
271 else if (makeinfo --version \
272 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
273 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
275 # This just becomes part of the MAKEINFO definition passed down to
276 # sub-makes. It lets flags be given on the command line while still
277 # using the makeinfo from the object tree.
278 # (Default to avoid splitting info files by setting the threshold high.)
279 MAKEINFOFLAGS = --split-size=5000000
281 EXPECT = `if [ -f $$r/expect/expect ] ; \
282 then echo $$r/expect/expect ; \
283 else echo expect ; fi`
285 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
286 then echo $$s/dejagnu/runtest ; \
287 else echo runtest ; fi`
289 # ---------------------------------------------
290 # Programs producing files for the HOST machine
291 # ---------------------------------------------
293 # This is the list of directories that may be needed in RPATH_ENVVAR
294 # so that programs built for the host machine work.
295 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
297 AS = @AS@
299 AR = @AR@
300 AR_FLAGS = rc
302 CC = @CC@
303 CFLAGS = @CFLAGS@
304 LIBCFLAGS = $(CFLAGS)
306 CXX = @CXX@
307 CXXFLAGS = @CXXFLAGS@
308 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
310 DLLTOOL = @DLLTOOL@
312 NM = @NM@
314 LD = @LD@
315 LDFLAGS =
317 RANLIB = @RANLIB@
319 WINDRES = @WINDRES@
321 PICFLAG =
323 # -----------------------------------------------
324 # Programs producing files for the TARGET machine
325 # -----------------------------------------------
327 # This is the list of directories that may be needed in RPATH_ENVVAR
328 # so that prorgams built for the target machine work.
329 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
331 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
333 AR_FOR_TARGET=@AR_FOR_TARGET@
334 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
335 USUAL_AR_FOR_TARGET = ` \
336 if [ -f $$r/binutils/ar ] ; then \
337 echo $$r/binutils/ar ; \
338 else \
339 if [ '$(host)' = '$(target)' ] ; then \
340 echo $(AR); \
341 else \
342 echo $(CONFIGURED_AR_FOR_TARGET) ; \
343 fi; \
346 AS_FOR_TARGET=@AS_FOR_TARGET@
347 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
348 USUAL_AS_FOR_TARGET = ` \
349 if [ -f $$r/gas/as-new ] ; then \
350 echo $$r/gas/as-new ; \
351 elif [ -f $$r/gcc/xgcc ]; then \
352 $(CC_FOR_TARGET) -print-prog-name=as ; \
353 else \
354 if [ '$(host)' = '$(target)' ] ; then \
355 echo $(AS); \
356 else \
357 echo $(CONFIGURED_AS_FOR_TARGET) ; \
358 fi; \
361 CC_FOR_TARGET = @CC_FOR_TARGET@
362 # During gcc bootstrap, if we use some random cc for stage1 then
363 # CFLAGS will be just -g. We want to ensure that TARGET libraries
364 # (which we know are built with gcc) are built with optimizations so
365 # prepend -O2 when setting CFLAGS_FOR_TARGET.
366 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
367 # If GCC_FOR_TARGET is not overriden on the command line, then this
368 # variable is passed down to the gcc Makefile, where it is used to
369 # build libgcc2.a. We define it here so that it can itself be
370 # overridden on the command line.
371 GCC_FOR_TARGET=@GCC_FOR_TARGET@
372 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
373 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
375 CXX_FOR_TARGET = @CXX_FOR_TARGET@
376 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
377 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
378 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
379 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
380 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
382 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
383 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
384 USUAL_DLLTOOL_FOR_TARGET = ` \
385 if [ -f $$r/binutils/dlltool ] ; then \
386 echo $$r/binutils/dlltool ; \
387 else \
388 if [ '$(host)' = '$(target)' ] ; then \
389 echo $(DLLTOOL); \
390 else \
391 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
392 fi; \
395 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
396 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
398 LD_FOR_TARGET=@LD_FOR_TARGET@
399 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
400 USUAL_LD_FOR_TARGET = ` \
401 if [ -f $$r/ld/ld-new ] ; then \
402 echo $$r/ld/ld-new ; \
403 elif [ -f $$r/gcc/xgcc ]; then \
404 $(CC_FOR_TARGET) -print-prog-name=ld ; \
405 else \
406 if [ '$(host)' = '$(target)' ] ; then \
407 echo $(LD); \
408 else \
409 echo $(CONFIGURED_LD_FOR_TARGET) ; \
410 fi; \
413 LDFLAGS_FOR_TARGET =
415 NM_FOR_TARGET=@NM_FOR_TARGET@
416 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
417 USUAL_NM_FOR_TARGET = ` \
418 if [ -f $$r/binutils/nm-new ] ; then \
419 echo $$r/binutils/nm-new ; \
420 elif [ -f $$r/gcc/xgcc ]; then \
421 $(CC_FOR_TARGET) -print-prog-name=nm ; \
422 else \
423 if [ '$(host)' = '$(target)' ] ; then \
424 echo $(NM); \
425 else \
426 echo $(CONFIGURED_NM_FOR_TARGET) ; \
427 fi; \
430 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
431 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
432 USUAL_RANLIB_FOR_TARGET = ` \
433 if [ -f $$r/binutils/ranlib ] ; then \
434 echo $$r/binutils/ranlib ; \
435 else \
436 if [ '$(host)' = '$(target)' ] ; then \
437 if [ x'$(RANLIB)' != x ]; then \
438 echo $(RANLIB); \
439 else \
440 echo ranlib; \
441 fi; \
442 else \
443 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
444 fi; \
447 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
448 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
449 USUAL_WINDRES_FOR_TARGET = ` \
450 if [ -f $$r/binutils/windres ] ; then \
451 echo $$r/binutils/windres ; \
452 else \
453 if [ '$(host)' = '$(target)' ] ; then \
454 echo $(WINDRES); \
455 else \
456 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
457 fi; \
460 PICFLAG_FOR_TARGET =
462 # ------------------------------------
463 # Miscellaneous targets and flag lists
464 # ------------------------------------
466 # The first rule in the file had better be this one. Don't put any above it.
467 # This lives here to allow makefile fragments to contain dependencies.
468 @default_target@:
470 #### host and target specific makefile fragments come in here.
471 @target_makefile_frag@
472 @alphaieee_frag@
473 @ospace_frag@
474 @host_makefile_frag@
477 # Flags to pass down to all sub-makes.
478 BASE_FLAGS_TO_PASS = \
479 "DESTDIR=$(DESTDIR)" \
480 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
481 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
482 "bindir=$(bindir)" \
483 "datadir=$(datadir)" \
484 "exec_prefix=$(exec_prefix)" \
485 "includedir=$(includedir)" \
486 "infodir=$(infodir)" \
487 "libdir=$(libdir)" \
488 "libexecdir=$(libexecdir)" \
489 "lispdir=$(lispdir)" \
490 "libstdcxx_incdir=$(libstdcxx_incdir)" \
491 "libsubdir=$(libsubdir)" \
492 "localstatedir=$(localstatedir)" \
493 "mandir=$(mandir)" \
494 "oldincludedir=$(oldincludedir)" \
495 "prefix=$(prefix)" \
496 "sbindir=$(sbindir)" \
497 "sharedstatedir=$(sharedstatedir)" \
498 "sysconfdir=$(sysconfdir)" \
499 "tooldir=$(tooldir)" \
500 "build_tooldir=$(build_tooldir)" \
501 "gxx_include_dir=$(gxx_include_dir)" \
502 "gcc_version=$(gcc_version)" \
503 "gcc_version_trigger=$(gcc_version_trigger)" \
504 "target_alias=$(target_alias)" \
505 "BISON=$(BISON)" \
506 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
507 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
508 "EXPECT=$(EXPECT)" \
509 "INSTALL=$(INSTALL)" \
510 "INSTALL_DATA=$(INSTALL_DATA)" \
511 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
512 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
513 "LEX=$(LEX)" \
514 "M4=$(M4)" \
515 "MAKE=$(MAKE)" \
516 "RUNTEST=$(RUNTEST)" \
517 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
518 "SHELL=$(SHELL)" \
519 "YACC=$(YACC)" \
520 "AR_FLAGS=$(AR_FLAGS)" \
521 "CFLAGS=$(CFLAGS)" \
522 "CXXFLAGS=$(CXXFLAGS)" \
523 "LDFLAGS=$(LDFLAGS)" \
524 "LIBCFLAGS=$(LIBCFLAGS)" \
525 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
526 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
527 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
528 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
529 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
530 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
531 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
532 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
533 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
534 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
535 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
536 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
537 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
538 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
539 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
540 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
541 "CONFIG_SHELL=$(SHELL)" \
542 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
544 # For any flags above that may contain shell code that varies from one
545 # target library to another. When doing recursive invocations of the
546 # top-level Makefile, we don't want the outer make to evaluate them,
547 # so we pass these variables down unchanged. They must not contain
548 # single nor double quotes.
549 RECURSE_FLAGS = \
550 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
551 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
553 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
555 # Flags to pass down to most sub-makes, in which we're building with
556 # the host environment.
557 EXTRA_HOST_FLAGS = \
558 'AR=$(AR)' \
559 'AS=$(AS)' \
560 'CC=$(CC)' \
561 'CXX=$(CXX)' \
562 'DLLTOOL=$(DLLTOOL)' \
563 'LD=$(LD)' \
564 'NM=$(NM)' \
565 'RANLIB=$(RANLIB)' \
566 'WINDRES=$(WINDRES)'
568 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
570 # Flags that are concerned with the location of the X11 include files
571 # and library files
573 # NOTE: until the top-level is getting the values via autoconf, it only
574 # causes problems to have this top-level Makefile overriding the autoconf-set
575 # values in child directories. Only variables that don't conflict with
576 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
578 X11_FLAGS_TO_PASS = \
579 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
580 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
582 # Flags to pass down to makes which are built with the target environment.
583 # The double $ decreases the length of the command line; the variables
584 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
585 EXTRA_TARGET_FLAGS = \
586 'AR=$$(AR_FOR_TARGET)' \
587 'AS=$$(AS_FOR_TARGET)' \
588 'CC=$$(CC_FOR_TARGET)' \
589 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
590 'CXX=$$(CXX_FOR_TARGET)' \
591 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
592 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
593 'LD=$$(LD_FOR_TARGET)' \
594 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
595 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
596 'NM=$$(NM_FOR_TARGET)' \
597 'RANLIB=$$(RANLIB_FOR_TARGET)' \
598 'WINDRES=$$(WINDRES_FOR_TARGET)'
600 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
602 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
603 # unfortunately needs the native compiler and the target ar and
604 # ranlib.
605 # If any variables are added here, they must be added to do-*, below.
606 # The BUILD_* variables are a special case, which are used for the gcc
607 # cross-building scheme.
608 EXTRA_GCC_FLAGS = \
609 'BUILD_PREFIX=$(BUILD_PREFIX)' \
610 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
611 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
612 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
613 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
614 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
615 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
616 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
617 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
618 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
619 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
620 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
621 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
623 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
625 .PHONY: configure-host
626 configure-host: maybe-configure-gcc \
627 maybe-configure-ash \
628 maybe-configure-autoconf \
629 maybe-configure-automake \
630 maybe-configure-bash \
631 maybe-configure-bfd \
632 maybe-configure-opcodes \
633 maybe-configure-binutils \
634 maybe-configure-bison \
635 maybe-configure-byacc \
636 maybe-configure-bzip2 \
637 maybe-configure-dejagnu \
638 maybe-configure-diff \
639 maybe-configure-dosutils \
640 maybe-configure-etc \
641 maybe-configure-fastjar \
642 maybe-configure-fileutils \
643 maybe-configure-findutils \
644 maybe-configure-find \
645 maybe-configure-flex \
646 maybe-configure-gas \
647 maybe-configure-gawk \
648 maybe-configure-gettext \
649 maybe-configure-gnuserv \
650 maybe-configure-gprof \
651 maybe-configure-gzip \
652 maybe-configure-hello \
653 maybe-configure-indent \
654 maybe-configure-intl \
655 maybe-configure-tcl \
656 maybe-configure-itcl \
657 maybe-configure-ld \
658 maybe-configure-libcpp \
659 maybe-configure-libgui \
660 maybe-configure-libbanshee \
661 maybe-configure-libiberty \
662 maybe-configure-libtool \
663 maybe-configure-m4 \
664 maybe-configure-make \
665 maybe-configure-mmalloc \
666 maybe-configure-patch \
667 maybe-configure-perl \
668 maybe-configure-prms \
669 maybe-configure-rcs \
670 maybe-configure-readline \
671 maybe-configure-release \
672 maybe-configure-recode \
673 maybe-configure-sed \
674 maybe-configure-send-pr \
675 maybe-configure-shellutils \
676 maybe-configure-sid \
677 maybe-configure-sim \
678 maybe-configure-tar \
679 maybe-configure-texinfo \
680 maybe-configure-textutils \
681 maybe-configure-time \
682 maybe-configure-uudecode \
683 maybe-configure-wdiff \
684 maybe-configure-zip \
685 maybe-configure-zlib \
686 maybe-configure-gdb \
687 maybe-configure-expect \
688 maybe-configure-guile \
689 maybe-configure-tk \
690 maybe-configure-tix \
691 maybe-configure-libtermcap \
692 maybe-configure-utils
693 .PHONY: configure-target
694 configure-target: \
695 maybe-configure-target-libstdc++-v3 \
696 maybe-configure-target-libmudflap \
697 maybe-configure-target-newlib \
698 maybe-configure-target-libgfortran \
699 maybe-configure-target-libobjc \
700 maybe-configure-target-libtermcap \
701 maybe-configure-target-winsup \
702 maybe-configure-target-libgloss \
703 maybe-configure-target-libiberty \
704 maybe-configure-target-gperf \
705 maybe-configure-target-examples \
706 maybe-configure-target-libffi \
707 maybe-configure-target-libjava \
708 maybe-configure-target-zlib \
709 maybe-configure-target-boehm-gc \
710 maybe-configure-target-qthreads \
711 maybe-configure-target-rda \
712 maybe-configure-target-libada
714 # The target built for a native non-bootstrap build.
715 .PHONY: all
716 all: @all_build_modules@ all-host all-target
718 .PHONY: all-host
719 all-host: maybe-all-gcc \
720 maybe-all-ash \
721 maybe-all-autoconf \
722 maybe-all-automake \
723 maybe-all-bash \
724 maybe-all-bfd \
725 maybe-all-opcodes \
726 maybe-all-binutils \
727 maybe-all-bison \
728 maybe-all-byacc \
729 maybe-all-bzip2 \
730 maybe-all-dejagnu \
731 maybe-all-diff \
732 maybe-all-dosutils \
733 maybe-all-etc \
734 maybe-all-fastjar \
735 maybe-all-fileutils \
736 maybe-all-findutils \
737 maybe-all-find \
738 maybe-all-flex \
739 maybe-all-gas \
740 maybe-all-gawk \
741 maybe-all-gettext \
742 maybe-all-gnuserv \
743 maybe-all-gprof \
744 maybe-all-gzip \
745 maybe-all-hello \
746 maybe-all-indent \
747 maybe-all-intl \
748 maybe-all-tcl \
749 maybe-all-itcl \
750 maybe-all-ld \
751 maybe-all-libcpp \
752 maybe-all-libgui \
753 maybe-all-libbanshee \
754 maybe-all-libiberty \
755 maybe-all-libtool \
756 maybe-all-m4 \
757 maybe-all-make \
758 maybe-all-mmalloc \
759 maybe-all-patch \
760 maybe-all-perl \
761 maybe-all-prms \
762 maybe-all-rcs \
763 maybe-all-readline \
764 maybe-all-release \
765 maybe-all-recode \
766 maybe-all-sed \
767 maybe-all-send-pr \
768 maybe-all-shellutils \
769 maybe-all-sid \
770 maybe-all-sim \
771 maybe-all-tar \
772 maybe-all-texinfo \
773 maybe-all-textutils \
774 maybe-all-time \
775 maybe-all-uudecode \
776 maybe-all-wdiff \
777 maybe-all-zip \
778 maybe-all-zlib \
779 maybe-all-gdb \
780 maybe-all-expect \
781 maybe-all-guile \
782 maybe-all-tk \
783 maybe-all-tix \
784 maybe-all-libtermcap \
785 maybe-all-utils
786 .PHONY: all-target
787 all-target: \
788 maybe-all-target-libstdc++-v3 \
789 maybe-all-target-libmudflap \
790 maybe-all-target-newlib \
791 maybe-all-target-libgfortran \
792 maybe-all-target-libobjc \
793 maybe-all-target-libtermcap \
794 maybe-all-target-winsup \
795 maybe-all-target-libgloss \
796 maybe-all-target-libiberty \
797 maybe-all-target-gperf \
798 maybe-all-target-examples \
799 maybe-all-target-libffi \
800 maybe-all-target-libjava \
801 maybe-all-target-zlib \
802 maybe-all-target-boehm-gc \
803 maybe-all-target-qthreads \
804 maybe-all-target-rda \
805 maybe-all-target-libada
807 # Do a target for all the subdirectories. A ``make do-X'' will do a
808 # ``make X'' in all subdirectories (because, in general, there is a
809 # dependency (below) of X upon do-X, a ``make X'' will also do this,
810 # but it may do additional work as well).
812 .PHONY: do-info
813 do-info: info-host info-target
815 .PHONY: info-host
816 info-host: maybe-info-gcc \
817 maybe-info-ash \
818 maybe-info-autoconf \
819 maybe-info-automake \
820 maybe-info-bash \
821 maybe-info-bfd \
822 maybe-info-opcodes \
823 maybe-info-binutils \
824 maybe-info-bison \
825 maybe-info-byacc \
826 maybe-info-bzip2 \
827 maybe-info-dejagnu \
828 maybe-info-diff \
829 maybe-info-dosutils \
830 maybe-info-etc \
831 maybe-info-fastjar \
832 maybe-info-fileutils \
833 maybe-info-findutils \
834 maybe-info-find \
835 maybe-info-flex \
836 maybe-info-gas \
837 maybe-info-gawk \
838 maybe-info-gettext \
839 maybe-info-gnuserv \
840 maybe-info-gprof \
841 maybe-info-gzip \
842 maybe-info-hello \
843 maybe-info-indent \
844 maybe-info-intl \
845 maybe-info-tcl \
846 maybe-info-itcl \
847 maybe-info-ld \
848 maybe-info-libcpp \
849 maybe-info-libgui \
850 maybe-info-libbanshee \
851 maybe-info-libiberty \
852 maybe-info-libtool \
853 maybe-info-m4 \
854 maybe-info-make \
855 maybe-info-mmalloc \
856 maybe-info-patch \
857 maybe-info-perl \
858 maybe-info-prms \
859 maybe-info-rcs \
860 maybe-info-readline \
861 maybe-info-release \
862 maybe-info-recode \
863 maybe-info-sed \
864 maybe-info-send-pr \
865 maybe-info-shellutils \
866 maybe-info-sid \
867 maybe-info-sim \
868 maybe-info-tar \
869 maybe-info-texinfo \
870 maybe-info-textutils \
871 maybe-info-time \
872 maybe-info-uudecode \
873 maybe-info-wdiff \
874 maybe-info-zip \
875 maybe-info-zlib \
876 maybe-info-gdb \
877 maybe-info-expect \
878 maybe-info-guile \
879 maybe-info-tk \
880 maybe-info-tix \
881 maybe-info-libtermcap \
882 maybe-info-utils
884 .PHONY: info-target
885 info-target: \
886 maybe-info-target-libstdc++-v3 \
887 maybe-info-target-libmudflap \
888 maybe-info-target-newlib \
889 maybe-info-target-libgfortran \
890 maybe-info-target-libobjc \
891 maybe-info-target-libtermcap \
892 maybe-info-target-winsup \
893 maybe-info-target-libgloss \
894 maybe-info-target-libiberty \
895 maybe-info-target-gperf \
896 maybe-info-target-examples \
897 maybe-info-target-libffi \
898 maybe-info-target-libjava \
899 maybe-info-target-zlib \
900 maybe-info-target-boehm-gc \
901 maybe-info-target-qthreads \
902 maybe-info-target-rda \
903 maybe-info-target-libada
905 .PHONY: do-dvi
906 do-dvi: dvi-host dvi-target
908 .PHONY: dvi-host
909 dvi-host: maybe-dvi-gcc \
910 maybe-dvi-ash \
911 maybe-dvi-autoconf \
912 maybe-dvi-automake \
913 maybe-dvi-bash \
914 maybe-dvi-bfd \
915 maybe-dvi-opcodes \
916 maybe-dvi-binutils \
917 maybe-dvi-bison \
918 maybe-dvi-byacc \
919 maybe-dvi-bzip2 \
920 maybe-dvi-dejagnu \
921 maybe-dvi-diff \
922 maybe-dvi-dosutils \
923 maybe-dvi-etc \
924 maybe-dvi-fastjar \
925 maybe-dvi-fileutils \
926 maybe-dvi-findutils \
927 maybe-dvi-find \
928 maybe-dvi-flex \
929 maybe-dvi-gas \
930 maybe-dvi-gawk \
931 maybe-dvi-gettext \
932 maybe-dvi-gnuserv \
933 maybe-dvi-gprof \
934 maybe-dvi-gzip \
935 maybe-dvi-hello \
936 maybe-dvi-indent \
937 maybe-dvi-intl \
938 maybe-dvi-tcl \
939 maybe-dvi-itcl \
940 maybe-dvi-ld \
941 maybe-dvi-libcpp \
942 maybe-dvi-libgui \
943 maybe-dvi-libbanshee \
944 maybe-dvi-libiberty \
945 maybe-dvi-libtool \
946 maybe-dvi-m4 \
947 maybe-dvi-make \
948 maybe-dvi-mmalloc \
949 maybe-dvi-patch \
950 maybe-dvi-perl \
951 maybe-dvi-prms \
952 maybe-dvi-rcs \
953 maybe-dvi-readline \
954 maybe-dvi-release \
955 maybe-dvi-recode \
956 maybe-dvi-sed \
957 maybe-dvi-send-pr \
958 maybe-dvi-shellutils \
959 maybe-dvi-sid \
960 maybe-dvi-sim \
961 maybe-dvi-tar \
962 maybe-dvi-texinfo \
963 maybe-dvi-textutils \
964 maybe-dvi-time \
965 maybe-dvi-uudecode \
966 maybe-dvi-wdiff \
967 maybe-dvi-zip \
968 maybe-dvi-zlib \
969 maybe-dvi-gdb \
970 maybe-dvi-expect \
971 maybe-dvi-guile \
972 maybe-dvi-tk \
973 maybe-dvi-tix \
974 maybe-dvi-libtermcap \
975 maybe-dvi-utils
977 .PHONY: dvi-target
978 dvi-target: \
979 maybe-dvi-target-libstdc++-v3 \
980 maybe-dvi-target-libmudflap \
981 maybe-dvi-target-newlib \
982 maybe-dvi-target-libgfortran \
983 maybe-dvi-target-libobjc \
984 maybe-dvi-target-libtermcap \
985 maybe-dvi-target-winsup \
986 maybe-dvi-target-libgloss \
987 maybe-dvi-target-libiberty \
988 maybe-dvi-target-gperf \
989 maybe-dvi-target-examples \
990 maybe-dvi-target-libffi \
991 maybe-dvi-target-libjava \
992 maybe-dvi-target-zlib \
993 maybe-dvi-target-boehm-gc \
994 maybe-dvi-target-qthreads \
995 maybe-dvi-target-rda \
996 maybe-dvi-target-libada
998 .PHONY: do-TAGS
999 do-TAGS: TAGS-host TAGS-target
1001 .PHONY: TAGS-host
1002 TAGS-host: maybe-TAGS-gcc \
1003 maybe-TAGS-ash \
1004 maybe-TAGS-autoconf \
1005 maybe-TAGS-automake \
1006 maybe-TAGS-bash \
1007 maybe-TAGS-bfd \
1008 maybe-TAGS-opcodes \
1009 maybe-TAGS-binutils \
1010 maybe-TAGS-bison \
1011 maybe-TAGS-byacc \
1012 maybe-TAGS-bzip2 \
1013 maybe-TAGS-dejagnu \
1014 maybe-TAGS-diff \
1015 maybe-TAGS-dosutils \
1016 maybe-TAGS-etc \
1017 maybe-TAGS-fastjar \
1018 maybe-TAGS-fileutils \
1019 maybe-TAGS-findutils \
1020 maybe-TAGS-find \
1021 maybe-TAGS-flex \
1022 maybe-TAGS-gas \
1023 maybe-TAGS-gawk \
1024 maybe-TAGS-gettext \
1025 maybe-TAGS-gnuserv \
1026 maybe-TAGS-gprof \
1027 maybe-TAGS-gzip \
1028 maybe-TAGS-hello \
1029 maybe-TAGS-indent \
1030 maybe-TAGS-intl \
1031 maybe-TAGS-tcl \
1032 maybe-TAGS-itcl \
1033 maybe-TAGS-ld \
1034 maybe-TAGS-libcpp \
1035 maybe-TAGS-libgui \
1036 maybe-TAGS-libbanshee \
1037 maybe-TAGS-libiberty \
1038 maybe-TAGS-libtool \
1039 maybe-TAGS-m4 \
1040 maybe-TAGS-make \
1041 maybe-TAGS-mmalloc \
1042 maybe-TAGS-patch \
1043 maybe-TAGS-perl \
1044 maybe-TAGS-prms \
1045 maybe-TAGS-rcs \
1046 maybe-TAGS-readline \
1047 maybe-TAGS-release \
1048 maybe-TAGS-recode \
1049 maybe-TAGS-sed \
1050 maybe-TAGS-send-pr \
1051 maybe-TAGS-shellutils \
1052 maybe-TAGS-sid \
1053 maybe-TAGS-sim \
1054 maybe-TAGS-tar \
1055 maybe-TAGS-texinfo \
1056 maybe-TAGS-textutils \
1057 maybe-TAGS-time \
1058 maybe-TAGS-uudecode \
1059 maybe-TAGS-wdiff \
1060 maybe-TAGS-zip \
1061 maybe-TAGS-zlib \
1062 maybe-TAGS-gdb \
1063 maybe-TAGS-expect \
1064 maybe-TAGS-guile \
1065 maybe-TAGS-tk \
1066 maybe-TAGS-tix \
1067 maybe-TAGS-libtermcap \
1068 maybe-TAGS-utils
1070 .PHONY: TAGS-target
1071 TAGS-target: \
1072 maybe-TAGS-target-libstdc++-v3 \
1073 maybe-TAGS-target-libmudflap \
1074 maybe-TAGS-target-newlib \
1075 maybe-TAGS-target-libgfortran \
1076 maybe-TAGS-target-libobjc \
1077 maybe-TAGS-target-libtermcap \
1078 maybe-TAGS-target-winsup \
1079 maybe-TAGS-target-libgloss \
1080 maybe-TAGS-target-libiberty \
1081 maybe-TAGS-target-gperf \
1082 maybe-TAGS-target-examples \
1083 maybe-TAGS-target-libffi \
1084 maybe-TAGS-target-libjava \
1085 maybe-TAGS-target-zlib \
1086 maybe-TAGS-target-boehm-gc \
1087 maybe-TAGS-target-qthreads \
1088 maybe-TAGS-target-rda \
1089 maybe-TAGS-target-libada
1091 .PHONY: do-install-info
1092 do-install-info: install-info-host install-info-target
1094 .PHONY: install-info-host
1095 install-info-host: maybe-install-info-gcc \
1096 maybe-install-info-ash \
1097 maybe-install-info-autoconf \
1098 maybe-install-info-automake \
1099 maybe-install-info-bash \
1100 maybe-install-info-bfd \
1101 maybe-install-info-opcodes \
1102 maybe-install-info-binutils \
1103 maybe-install-info-bison \
1104 maybe-install-info-byacc \
1105 maybe-install-info-bzip2 \
1106 maybe-install-info-dejagnu \
1107 maybe-install-info-diff \
1108 maybe-install-info-dosutils \
1109 maybe-install-info-etc \
1110 maybe-install-info-fastjar \
1111 maybe-install-info-fileutils \
1112 maybe-install-info-findutils \
1113 maybe-install-info-find \
1114 maybe-install-info-flex \
1115 maybe-install-info-gas \
1116 maybe-install-info-gawk \
1117 maybe-install-info-gettext \
1118 maybe-install-info-gnuserv \
1119 maybe-install-info-gprof \
1120 maybe-install-info-gzip \
1121 maybe-install-info-hello \
1122 maybe-install-info-indent \
1123 maybe-install-info-intl \
1124 maybe-install-info-tcl \
1125 maybe-install-info-itcl \
1126 maybe-install-info-ld \
1127 maybe-install-info-libcpp \
1128 maybe-install-info-libgui \
1129 maybe-install-info-libbanshee \
1130 maybe-install-info-libiberty \
1131 maybe-install-info-libtool \
1132 maybe-install-info-m4 \
1133 maybe-install-info-make \
1134 maybe-install-info-mmalloc \
1135 maybe-install-info-patch \
1136 maybe-install-info-perl \
1137 maybe-install-info-prms \
1138 maybe-install-info-rcs \
1139 maybe-install-info-readline \
1140 maybe-install-info-release \
1141 maybe-install-info-recode \
1142 maybe-install-info-sed \
1143 maybe-install-info-send-pr \
1144 maybe-install-info-shellutils \
1145 maybe-install-info-sid \
1146 maybe-install-info-sim \
1147 maybe-install-info-tar \
1148 maybe-install-info-texinfo \
1149 maybe-install-info-textutils \
1150 maybe-install-info-time \
1151 maybe-install-info-uudecode \
1152 maybe-install-info-wdiff \
1153 maybe-install-info-zip \
1154 maybe-install-info-zlib \
1155 maybe-install-info-gdb \
1156 maybe-install-info-expect \
1157 maybe-install-info-guile \
1158 maybe-install-info-tk \
1159 maybe-install-info-tix \
1160 maybe-install-info-libtermcap \
1161 maybe-install-info-utils
1163 .PHONY: install-info-target
1164 install-info-target: \
1165 maybe-install-info-target-libstdc++-v3 \
1166 maybe-install-info-target-libmudflap \
1167 maybe-install-info-target-newlib \
1168 maybe-install-info-target-libgfortran \
1169 maybe-install-info-target-libobjc \
1170 maybe-install-info-target-libtermcap \
1171 maybe-install-info-target-winsup \
1172 maybe-install-info-target-libgloss \
1173 maybe-install-info-target-libiberty \
1174 maybe-install-info-target-gperf \
1175 maybe-install-info-target-examples \
1176 maybe-install-info-target-libffi \
1177 maybe-install-info-target-libjava \
1178 maybe-install-info-target-zlib \
1179 maybe-install-info-target-boehm-gc \
1180 maybe-install-info-target-qthreads \
1181 maybe-install-info-target-rda \
1182 maybe-install-info-target-libada
1184 .PHONY: do-installcheck
1185 do-installcheck: installcheck-host installcheck-target
1187 .PHONY: installcheck-host
1188 installcheck-host: maybe-installcheck-gcc \
1189 maybe-installcheck-ash \
1190 maybe-installcheck-autoconf \
1191 maybe-installcheck-automake \
1192 maybe-installcheck-bash \
1193 maybe-installcheck-bfd \
1194 maybe-installcheck-opcodes \
1195 maybe-installcheck-binutils \
1196 maybe-installcheck-bison \
1197 maybe-installcheck-byacc \
1198 maybe-installcheck-bzip2 \
1199 maybe-installcheck-dejagnu \
1200 maybe-installcheck-diff \
1201 maybe-installcheck-dosutils \
1202 maybe-installcheck-etc \
1203 maybe-installcheck-fastjar \
1204 maybe-installcheck-fileutils \
1205 maybe-installcheck-findutils \
1206 maybe-installcheck-find \
1207 maybe-installcheck-flex \
1208 maybe-installcheck-gas \
1209 maybe-installcheck-gawk \
1210 maybe-installcheck-gettext \
1211 maybe-installcheck-gnuserv \
1212 maybe-installcheck-gprof \
1213 maybe-installcheck-gzip \
1214 maybe-installcheck-hello \
1215 maybe-installcheck-indent \
1216 maybe-installcheck-intl \
1217 maybe-installcheck-tcl \
1218 maybe-installcheck-itcl \
1219 maybe-installcheck-ld \
1220 maybe-installcheck-libcpp \
1221 maybe-installcheck-libgui \
1222 maybe-installcheck-libbanshee \
1223 maybe-installcheck-libiberty \
1224 maybe-installcheck-libtool \
1225 maybe-installcheck-m4 \
1226 maybe-installcheck-make \
1227 maybe-installcheck-mmalloc \
1228 maybe-installcheck-patch \
1229 maybe-installcheck-perl \
1230 maybe-installcheck-prms \
1231 maybe-installcheck-rcs \
1232 maybe-installcheck-readline \
1233 maybe-installcheck-release \
1234 maybe-installcheck-recode \
1235 maybe-installcheck-sed \
1236 maybe-installcheck-send-pr \
1237 maybe-installcheck-shellutils \
1238 maybe-installcheck-sid \
1239 maybe-installcheck-sim \
1240 maybe-installcheck-tar \
1241 maybe-installcheck-texinfo \
1242 maybe-installcheck-textutils \
1243 maybe-installcheck-time \
1244 maybe-installcheck-uudecode \
1245 maybe-installcheck-wdiff \
1246 maybe-installcheck-zip \
1247 maybe-installcheck-zlib \
1248 maybe-installcheck-gdb \
1249 maybe-installcheck-expect \
1250 maybe-installcheck-guile \
1251 maybe-installcheck-tk \
1252 maybe-installcheck-tix \
1253 maybe-installcheck-libtermcap \
1254 maybe-installcheck-utils
1256 .PHONY: installcheck-target
1257 installcheck-target: \
1258 maybe-installcheck-target-libstdc++-v3 \
1259 maybe-installcheck-target-libmudflap \
1260 maybe-installcheck-target-newlib \
1261 maybe-installcheck-target-libgfortran \
1262 maybe-installcheck-target-libobjc \
1263 maybe-installcheck-target-libtermcap \
1264 maybe-installcheck-target-winsup \
1265 maybe-installcheck-target-libgloss \
1266 maybe-installcheck-target-libiberty \
1267 maybe-installcheck-target-gperf \
1268 maybe-installcheck-target-examples \
1269 maybe-installcheck-target-libffi \
1270 maybe-installcheck-target-libjava \
1271 maybe-installcheck-target-zlib \
1272 maybe-installcheck-target-boehm-gc \
1273 maybe-installcheck-target-qthreads \
1274 maybe-installcheck-target-rda \
1275 maybe-installcheck-target-libada
1277 .PHONY: do-mostlyclean
1278 do-mostlyclean: mostlyclean-host mostlyclean-target
1280 .PHONY: mostlyclean-host
1281 mostlyclean-host: maybe-mostlyclean-gcc \
1282 maybe-mostlyclean-ash \
1283 maybe-mostlyclean-autoconf \
1284 maybe-mostlyclean-automake \
1285 maybe-mostlyclean-bash \
1286 maybe-mostlyclean-bfd \
1287 maybe-mostlyclean-opcodes \
1288 maybe-mostlyclean-binutils \
1289 maybe-mostlyclean-bison \
1290 maybe-mostlyclean-byacc \
1291 maybe-mostlyclean-bzip2 \
1292 maybe-mostlyclean-dejagnu \
1293 maybe-mostlyclean-diff \
1294 maybe-mostlyclean-dosutils \
1295 maybe-mostlyclean-etc \
1296 maybe-mostlyclean-fastjar \
1297 maybe-mostlyclean-fileutils \
1298 maybe-mostlyclean-findutils \
1299 maybe-mostlyclean-find \
1300 maybe-mostlyclean-flex \
1301 maybe-mostlyclean-gas \
1302 maybe-mostlyclean-gawk \
1303 maybe-mostlyclean-gettext \
1304 maybe-mostlyclean-gnuserv \
1305 maybe-mostlyclean-gprof \
1306 maybe-mostlyclean-gzip \
1307 maybe-mostlyclean-hello \
1308 maybe-mostlyclean-indent \
1309 maybe-mostlyclean-intl \
1310 maybe-mostlyclean-tcl \
1311 maybe-mostlyclean-itcl \
1312 maybe-mostlyclean-ld \
1313 maybe-mostlyclean-libcpp \
1314 maybe-mostlyclean-libgui \
1315 maybe-mostlyclean-libbanshee \
1316 maybe-mostlyclean-libiberty \
1317 maybe-mostlyclean-libtool \
1318 maybe-mostlyclean-m4 \
1319 maybe-mostlyclean-make \
1320 maybe-mostlyclean-mmalloc \
1321 maybe-mostlyclean-patch \
1322 maybe-mostlyclean-perl \
1323 maybe-mostlyclean-prms \
1324 maybe-mostlyclean-rcs \
1325 maybe-mostlyclean-readline \
1326 maybe-mostlyclean-release \
1327 maybe-mostlyclean-recode \
1328 maybe-mostlyclean-sed \
1329 maybe-mostlyclean-send-pr \
1330 maybe-mostlyclean-shellutils \
1331 maybe-mostlyclean-sid \
1332 maybe-mostlyclean-sim \
1333 maybe-mostlyclean-tar \
1334 maybe-mostlyclean-texinfo \
1335 maybe-mostlyclean-textutils \
1336 maybe-mostlyclean-time \
1337 maybe-mostlyclean-uudecode \
1338 maybe-mostlyclean-wdiff \
1339 maybe-mostlyclean-zip \
1340 maybe-mostlyclean-zlib \
1341 maybe-mostlyclean-gdb \
1342 maybe-mostlyclean-expect \
1343 maybe-mostlyclean-guile \
1344 maybe-mostlyclean-tk \
1345 maybe-mostlyclean-tix \
1346 maybe-mostlyclean-libtermcap \
1347 maybe-mostlyclean-utils
1349 .PHONY: mostlyclean-target
1350 mostlyclean-target: \
1351 maybe-mostlyclean-target-libstdc++-v3 \
1352 maybe-mostlyclean-target-libmudflap \
1353 maybe-mostlyclean-target-newlib \
1354 maybe-mostlyclean-target-libgfortran \
1355 maybe-mostlyclean-target-libobjc \
1356 maybe-mostlyclean-target-libtermcap \
1357 maybe-mostlyclean-target-winsup \
1358 maybe-mostlyclean-target-libgloss \
1359 maybe-mostlyclean-target-libiberty \
1360 maybe-mostlyclean-target-gperf \
1361 maybe-mostlyclean-target-examples \
1362 maybe-mostlyclean-target-libffi \
1363 maybe-mostlyclean-target-libjava \
1364 maybe-mostlyclean-target-zlib \
1365 maybe-mostlyclean-target-boehm-gc \
1366 maybe-mostlyclean-target-qthreads \
1367 maybe-mostlyclean-target-rda \
1368 maybe-mostlyclean-target-libada
1370 .PHONY: do-clean
1371 do-clean: clean-host clean-target
1373 .PHONY: clean-host
1374 clean-host: maybe-clean-gcc \
1375 maybe-clean-ash \
1376 maybe-clean-autoconf \
1377 maybe-clean-automake \
1378 maybe-clean-bash \
1379 maybe-clean-bfd \
1380 maybe-clean-opcodes \
1381 maybe-clean-binutils \
1382 maybe-clean-bison \
1383 maybe-clean-byacc \
1384 maybe-clean-bzip2 \
1385 maybe-clean-dejagnu \
1386 maybe-clean-diff \
1387 maybe-clean-dosutils \
1388 maybe-clean-etc \
1389 maybe-clean-fastjar \
1390 maybe-clean-fileutils \
1391 maybe-clean-findutils \
1392 maybe-clean-find \
1393 maybe-clean-flex \
1394 maybe-clean-gas \
1395 maybe-clean-gawk \
1396 maybe-clean-gettext \
1397 maybe-clean-gnuserv \
1398 maybe-clean-gprof \
1399 maybe-clean-gzip \
1400 maybe-clean-hello \
1401 maybe-clean-indent \
1402 maybe-clean-intl \
1403 maybe-clean-tcl \
1404 maybe-clean-itcl \
1405 maybe-clean-ld \
1406 maybe-clean-libcpp \
1407 maybe-clean-libgui \
1408 maybe-clean-libbanshee \
1409 maybe-clean-libiberty \
1410 maybe-clean-libtool \
1411 maybe-clean-m4 \
1412 maybe-clean-make \
1413 maybe-clean-mmalloc \
1414 maybe-clean-patch \
1415 maybe-clean-perl \
1416 maybe-clean-prms \
1417 maybe-clean-rcs \
1418 maybe-clean-readline \
1419 maybe-clean-release \
1420 maybe-clean-recode \
1421 maybe-clean-sed \
1422 maybe-clean-send-pr \
1423 maybe-clean-shellutils \
1424 maybe-clean-sid \
1425 maybe-clean-sim \
1426 maybe-clean-tar \
1427 maybe-clean-texinfo \
1428 maybe-clean-textutils \
1429 maybe-clean-time \
1430 maybe-clean-uudecode \
1431 maybe-clean-wdiff \
1432 maybe-clean-zip \
1433 maybe-clean-zlib \
1434 maybe-clean-gdb \
1435 maybe-clean-expect \
1436 maybe-clean-guile \
1437 maybe-clean-tk \
1438 maybe-clean-tix \
1439 maybe-clean-libtermcap \
1440 maybe-clean-utils
1442 .PHONY: clean-target
1443 clean-target: \
1444 maybe-clean-target-libstdc++-v3 \
1445 maybe-clean-target-libmudflap \
1446 maybe-clean-target-newlib \
1447 maybe-clean-target-libgfortran \
1448 maybe-clean-target-libobjc \
1449 maybe-clean-target-libtermcap \
1450 maybe-clean-target-winsup \
1451 maybe-clean-target-libgloss \
1452 maybe-clean-target-libiberty \
1453 maybe-clean-target-gperf \
1454 maybe-clean-target-examples \
1455 maybe-clean-target-libffi \
1456 maybe-clean-target-libjava \
1457 maybe-clean-target-zlib \
1458 maybe-clean-target-boehm-gc \
1459 maybe-clean-target-qthreads \
1460 maybe-clean-target-rda \
1461 maybe-clean-target-libada
1463 .PHONY: do-distclean
1464 do-distclean: distclean-host distclean-target
1466 .PHONY: distclean-host
1467 distclean-host: maybe-distclean-gcc \
1468 maybe-distclean-ash \
1469 maybe-distclean-autoconf \
1470 maybe-distclean-automake \
1471 maybe-distclean-bash \
1472 maybe-distclean-bfd \
1473 maybe-distclean-opcodes \
1474 maybe-distclean-binutils \
1475 maybe-distclean-bison \
1476 maybe-distclean-byacc \
1477 maybe-distclean-bzip2 \
1478 maybe-distclean-dejagnu \
1479 maybe-distclean-diff \
1480 maybe-distclean-dosutils \
1481 maybe-distclean-etc \
1482 maybe-distclean-fastjar \
1483 maybe-distclean-fileutils \
1484 maybe-distclean-findutils \
1485 maybe-distclean-find \
1486 maybe-distclean-flex \
1487 maybe-distclean-gas \
1488 maybe-distclean-gawk \
1489 maybe-distclean-gettext \
1490 maybe-distclean-gnuserv \
1491 maybe-distclean-gprof \
1492 maybe-distclean-gzip \
1493 maybe-distclean-hello \
1494 maybe-distclean-indent \
1495 maybe-distclean-intl \
1496 maybe-distclean-tcl \
1497 maybe-distclean-itcl \
1498 maybe-distclean-ld \
1499 maybe-distclean-libcpp \
1500 maybe-distclean-libgui \
1501 maybe-distclean-libbanshee \
1502 maybe-distclean-libiberty \
1503 maybe-distclean-libtool \
1504 maybe-distclean-m4 \
1505 maybe-distclean-make \
1506 maybe-distclean-mmalloc \
1507 maybe-distclean-patch \
1508 maybe-distclean-perl \
1509 maybe-distclean-prms \
1510 maybe-distclean-rcs \
1511 maybe-distclean-readline \
1512 maybe-distclean-release \
1513 maybe-distclean-recode \
1514 maybe-distclean-sed \
1515 maybe-distclean-send-pr \
1516 maybe-distclean-shellutils \
1517 maybe-distclean-sid \
1518 maybe-distclean-sim \
1519 maybe-distclean-tar \
1520 maybe-distclean-texinfo \
1521 maybe-distclean-textutils \
1522 maybe-distclean-time \
1523 maybe-distclean-uudecode \
1524 maybe-distclean-wdiff \
1525 maybe-distclean-zip \
1526 maybe-distclean-zlib \
1527 maybe-distclean-gdb \
1528 maybe-distclean-expect \
1529 maybe-distclean-guile \
1530 maybe-distclean-tk \
1531 maybe-distclean-tix \
1532 maybe-distclean-libtermcap \
1533 maybe-distclean-utils
1535 .PHONY: distclean-target
1536 distclean-target: \
1537 maybe-distclean-target-libstdc++-v3 \
1538 maybe-distclean-target-libmudflap \
1539 maybe-distclean-target-newlib \
1540 maybe-distclean-target-libgfortran \
1541 maybe-distclean-target-libobjc \
1542 maybe-distclean-target-libtermcap \
1543 maybe-distclean-target-winsup \
1544 maybe-distclean-target-libgloss \
1545 maybe-distclean-target-libiberty \
1546 maybe-distclean-target-gperf \
1547 maybe-distclean-target-examples \
1548 maybe-distclean-target-libffi \
1549 maybe-distclean-target-libjava \
1550 maybe-distclean-target-zlib \
1551 maybe-distclean-target-boehm-gc \
1552 maybe-distclean-target-qthreads \
1553 maybe-distclean-target-rda \
1554 maybe-distclean-target-libada
1556 .PHONY: do-maintainer-clean
1557 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1559 .PHONY: maintainer-clean-host
1560 maintainer-clean-host: maybe-maintainer-clean-gcc \
1561 maybe-maintainer-clean-ash \
1562 maybe-maintainer-clean-autoconf \
1563 maybe-maintainer-clean-automake \
1564 maybe-maintainer-clean-bash \
1565 maybe-maintainer-clean-bfd \
1566 maybe-maintainer-clean-opcodes \
1567 maybe-maintainer-clean-binutils \
1568 maybe-maintainer-clean-bison \
1569 maybe-maintainer-clean-byacc \
1570 maybe-maintainer-clean-bzip2 \
1571 maybe-maintainer-clean-dejagnu \
1572 maybe-maintainer-clean-diff \
1573 maybe-maintainer-clean-dosutils \
1574 maybe-maintainer-clean-etc \
1575 maybe-maintainer-clean-fastjar \
1576 maybe-maintainer-clean-fileutils \
1577 maybe-maintainer-clean-findutils \
1578 maybe-maintainer-clean-find \
1579 maybe-maintainer-clean-flex \
1580 maybe-maintainer-clean-gas \
1581 maybe-maintainer-clean-gawk \
1582 maybe-maintainer-clean-gettext \
1583 maybe-maintainer-clean-gnuserv \
1584 maybe-maintainer-clean-gprof \
1585 maybe-maintainer-clean-gzip \
1586 maybe-maintainer-clean-hello \
1587 maybe-maintainer-clean-indent \
1588 maybe-maintainer-clean-intl \
1589 maybe-maintainer-clean-tcl \
1590 maybe-maintainer-clean-itcl \
1591 maybe-maintainer-clean-ld \
1592 maybe-maintainer-clean-libcpp \
1593 maybe-maintainer-clean-libgui \
1594 maybe-maintainer-clean-libbanshee \
1595 maybe-maintainer-clean-libiberty \
1596 maybe-maintainer-clean-libtool \
1597 maybe-maintainer-clean-m4 \
1598 maybe-maintainer-clean-make \
1599 maybe-maintainer-clean-mmalloc \
1600 maybe-maintainer-clean-patch \
1601 maybe-maintainer-clean-perl \
1602 maybe-maintainer-clean-prms \
1603 maybe-maintainer-clean-rcs \
1604 maybe-maintainer-clean-readline \
1605 maybe-maintainer-clean-release \
1606 maybe-maintainer-clean-recode \
1607 maybe-maintainer-clean-sed \
1608 maybe-maintainer-clean-send-pr \
1609 maybe-maintainer-clean-shellutils \
1610 maybe-maintainer-clean-sid \
1611 maybe-maintainer-clean-sim \
1612 maybe-maintainer-clean-tar \
1613 maybe-maintainer-clean-texinfo \
1614 maybe-maintainer-clean-textutils \
1615 maybe-maintainer-clean-time \
1616 maybe-maintainer-clean-uudecode \
1617 maybe-maintainer-clean-wdiff \
1618 maybe-maintainer-clean-zip \
1619 maybe-maintainer-clean-zlib \
1620 maybe-maintainer-clean-gdb \
1621 maybe-maintainer-clean-expect \
1622 maybe-maintainer-clean-guile \
1623 maybe-maintainer-clean-tk \
1624 maybe-maintainer-clean-tix \
1625 maybe-maintainer-clean-libtermcap \
1626 maybe-maintainer-clean-utils
1628 .PHONY: maintainer-clean-target
1629 maintainer-clean-target: \
1630 maybe-maintainer-clean-target-libstdc++-v3 \
1631 maybe-maintainer-clean-target-libmudflap \
1632 maybe-maintainer-clean-target-newlib \
1633 maybe-maintainer-clean-target-libgfortran \
1634 maybe-maintainer-clean-target-libobjc \
1635 maybe-maintainer-clean-target-libtermcap \
1636 maybe-maintainer-clean-target-winsup \
1637 maybe-maintainer-clean-target-libgloss \
1638 maybe-maintainer-clean-target-libiberty \
1639 maybe-maintainer-clean-target-gperf \
1640 maybe-maintainer-clean-target-examples \
1641 maybe-maintainer-clean-target-libffi \
1642 maybe-maintainer-clean-target-libjava \
1643 maybe-maintainer-clean-target-zlib \
1644 maybe-maintainer-clean-target-boehm-gc \
1645 maybe-maintainer-clean-target-qthreads \
1646 maybe-maintainer-clean-target-rda \
1647 maybe-maintainer-clean-target-libada
1650 # Here are the targets which correspond to the do-X targets.
1652 .PHONY: info installcheck dvi install-info
1653 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1654 .PHONY: local-clean local-distclean local-maintainer-clean
1655 info: do-info
1656 installcheck: do-installcheck
1657 dvi: do-dvi
1659 # Make sure makeinfo is built before we do a `make info', if we're
1660 # in fact building texinfo.
1661 do-info: maybe-all-texinfo
1663 install-info: do-install-info dir.info
1664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1665 if [ -f dir.info ] ; then \
1666 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1667 else true ; fi
1669 local-clean:
1670 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1672 local-distclean:
1673 -rm -f Makefile config.status config.cache mh-frag mt-frag
1674 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1675 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1676 rm -rf $(TARGET_SUBDIR); \
1677 else true; fi
1678 -rm -rf $(BUILD_SUBDIR)
1679 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1680 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1681 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1682 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1683 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1685 local-maintainer-clean:
1686 @echo "This command is intended for maintainers to use;"
1687 @echo "it deletes files that may require special tools to rebuild."
1689 clean: do-clean local-clean
1690 mostlyclean: do-mostlyclean local-clean
1691 distclean: do-distclean local-clean local-distclean
1692 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1693 maintainer-clean: local-distclean
1694 realclean: maintainer-clean
1696 # Extra dependency for clean-target, owing to the mixed nature of gcc
1697 clean-target: clean-target-libgcc
1698 clean-target-libgcc:
1699 test ! -d gcc/libgcc || \
1700 (cd gcc/libgcc && find . -type d -print) | \
1701 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1702 -rm -rf gcc/libgcc
1704 # Check target.
1706 .PHONY: check do-check
1707 check: do-check
1709 # Only include modules actually being configured and built.
1710 do-check: maybe-check-gcc \
1711 maybe-check-ash \
1712 maybe-check-autoconf \
1713 maybe-check-automake \
1714 maybe-check-bash \
1715 maybe-check-bfd \
1716 maybe-check-opcodes \
1717 maybe-check-binutils \
1718 maybe-check-bison \
1719 maybe-check-byacc \
1720 maybe-check-bzip2 \
1721 maybe-check-dejagnu \
1722 maybe-check-diff \
1723 maybe-check-dosutils \
1724 maybe-check-etc \
1725 maybe-check-fastjar \
1726 maybe-check-fileutils \
1727 maybe-check-findutils \
1728 maybe-check-find \
1729 maybe-check-flex \
1730 maybe-check-gas \
1731 maybe-check-gawk \
1732 maybe-check-gettext \
1733 maybe-check-gnuserv \
1734 maybe-check-gprof \
1735 maybe-check-gzip \
1736 maybe-check-hello \
1737 maybe-check-indent \
1738 maybe-check-intl \
1739 maybe-check-tcl \
1740 maybe-check-itcl \
1741 maybe-check-ld \
1742 maybe-check-libcpp \
1743 maybe-check-libgui \
1744 maybe-check-libbanshee \
1745 maybe-check-libiberty \
1746 maybe-check-libtool \
1747 maybe-check-m4 \
1748 maybe-check-make \
1749 maybe-check-mmalloc \
1750 maybe-check-patch \
1751 maybe-check-perl \
1752 maybe-check-prms \
1753 maybe-check-rcs \
1754 maybe-check-readline \
1755 maybe-check-release \
1756 maybe-check-recode \
1757 maybe-check-sed \
1758 maybe-check-send-pr \
1759 maybe-check-shellutils \
1760 maybe-check-sid \
1761 maybe-check-sim \
1762 maybe-check-tar \
1763 maybe-check-texinfo \
1764 maybe-check-textutils \
1765 maybe-check-time \
1766 maybe-check-uudecode \
1767 maybe-check-wdiff \
1768 maybe-check-zip \
1769 maybe-check-zlib \
1770 maybe-check-gdb \
1771 maybe-check-expect \
1772 maybe-check-guile \
1773 maybe-check-tk \
1774 maybe-check-tix \
1775 maybe-check-libtermcap \
1776 maybe-check-utils \
1777 maybe-check-target-libstdc++-v3 \
1778 maybe-check-target-libmudflap \
1779 maybe-check-target-newlib \
1780 maybe-check-target-libgfortran \
1781 maybe-check-target-libobjc \
1782 maybe-check-target-libtermcap \
1783 maybe-check-target-winsup \
1784 maybe-check-target-libgloss \
1785 maybe-check-target-libiberty \
1786 maybe-check-target-gperf \
1787 maybe-check-target-examples \
1788 maybe-check-target-libffi \
1789 maybe-check-target-libjava \
1790 maybe-check-target-zlib \
1791 maybe-check-target-boehm-gc \
1792 maybe-check-target-qthreads \
1793 maybe-check-target-rda \
1794 maybe-check-target-libada
1796 # Automated reporting of test results.
1798 warning.log: build.log
1799 $(srcdir)/contrib/warn_summary build.log > $@
1801 mail-report.log:
1802 if test x'$(BOOT_CFLAGS)' != x''; then \
1803 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1804 fi; \
1805 $(srcdir)/contrib/test_summary -t >$@
1806 chmod +x $@
1807 echo If you really want to send e-mail, run ./$@ now
1809 mail-report-with-warnings.log: warning.log
1810 if test x'$(BOOT_CFLAGS)' != x''; then \
1811 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1812 fi; \
1813 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1814 chmod +x $@
1815 echo If you really want to send e-mail, run ./$@ now
1817 # Installation targets.
1819 .PHONY: install uninstall
1820 install: installdirs install-host install-target
1822 .PHONY: install-host-nogcc
1823 install-host-nogcc: \
1824 maybe-install-ash \
1825 maybe-install-autoconf \
1826 maybe-install-automake \
1827 maybe-install-bash \
1828 maybe-install-bfd \
1829 maybe-install-opcodes \
1830 maybe-install-binutils \
1831 maybe-install-bison \
1832 maybe-install-byacc \
1833 maybe-install-bzip2 \
1834 maybe-install-dejagnu \
1835 maybe-install-diff \
1836 maybe-install-dosutils \
1837 maybe-install-etc \
1838 maybe-install-fastjar \
1839 maybe-install-fileutils \
1840 maybe-install-findutils \
1841 maybe-install-find \
1842 maybe-install-flex \
1843 maybe-install-gas \
1844 maybe-install-gawk \
1845 maybe-install-gettext \
1846 maybe-install-gnuserv \
1847 maybe-install-gprof \
1848 maybe-install-gzip \
1849 maybe-install-hello \
1850 maybe-install-indent \
1851 maybe-install-intl \
1852 maybe-install-tcl \
1853 maybe-install-itcl \
1854 maybe-install-ld \
1855 maybe-install-libcpp \
1856 maybe-install-libgui \
1857 maybe-install-libbanshee \
1858 maybe-install-libiberty \
1859 maybe-install-libtool \
1860 maybe-install-m4 \
1861 maybe-install-make \
1862 maybe-install-mmalloc \
1863 maybe-install-patch \
1864 maybe-install-perl \
1865 maybe-install-prms \
1866 maybe-install-rcs \
1867 maybe-install-readline \
1868 maybe-install-release \
1869 maybe-install-recode \
1870 maybe-install-sed \
1871 maybe-install-send-pr \
1872 maybe-install-shellutils \
1873 maybe-install-sid \
1874 maybe-install-sim \
1875 maybe-install-tar \
1876 maybe-install-texinfo \
1877 maybe-install-textutils \
1878 maybe-install-time \
1879 maybe-install-uudecode \
1880 maybe-install-wdiff \
1881 maybe-install-zip \
1882 maybe-install-zlib \
1883 maybe-install-gdb \
1884 maybe-install-expect \
1885 maybe-install-guile \
1886 maybe-install-tk \
1887 maybe-install-tix \
1888 maybe-install-libtermcap \
1889 maybe-install-utils
1891 .PHONY: install-host
1892 install-host: maybe-install-gcc \
1893 maybe-install-ash \
1894 maybe-install-autoconf \
1895 maybe-install-automake \
1896 maybe-install-bash \
1897 maybe-install-bfd \
1898 maybe-install-opcodes \
1899 maybe-install-binutils \
1900 maybe-install-bison \
1901 maybe-install-byacc \
1902 maybe-install-bzip2 \
1903 maybe-install-dejagnu \
1904 maybe-install-diff \
1905 maybe-install-dosutils \
1906 maybe-install-etc \
1907 maybe-install-fastjar \
1908 maybe-install-fileutils \
1909 maybe-install-findutils \
1910 maybe-install-find \
1911 maybe-install-flex \
1912 maybe-install-gas \
1913 maybe-install-gawk \
1914 maybe-install-gettext \
1915 maybe-install-gnuserv \
1916 maybe-install-gprof \
1917 maybe-install-gzip \
1918 maybe-install-hello \
1919 maybe-install-indent \
1920 maybe-install-intl \
1921 maybe-install-tcl \
1922 maybe-install-itcl \
1923 maybe-install-ld \
1924 maybe-install-libcpp \
1925 maybe-install-libgui \
1926 maybe-install-libbanshee \
1927 maybe-install-libiberty \
1928 maybe-install-libtool \
1929 maybe-install-m4 \
1930 maybe-install-make \
1931 maybe-install-mmalloc \
1932 maybe-install-patch \
1933 maybe-install-perl \
1934 maybe-install-prms \
1935 maybe-install-rcs \
1936 maybe-install-readline \
1937 maybe-install-release \
1938 maybe-install-recode \
1939 maybe-install-sed \
1940 maybe-install-send-pr \
1941 maybe-install-shellutils \
1942 maybe-install-sid \
1943 maybe-install-sim \
1944 maybe-install-tar \
1945 maybe-install-texinfo \
1946 maybe-install-textutils \
1947 maybe-install-time \
1948 maybe-install-uudecode \
1949 maybe-install-wdiff \
1950 maybe-install-zip \
1951 maybe-install-zlib \
1952 maybe-install-gdb \
1953 maybe-install-expect \
1954 maybe-install-guile \
1955 maybe-install-tk \
1956 maybe-install-tix \
1957 maybe-install-libtermcap \
1958 maybe-install-utils
1960 .PHONY: install-target
1961 install-target: \
1962 maybe-install-target-libstdc++-v3 \
1963 maybe-install-target-libmudflap \
1964 maybe-install-target-newlib \
1965 maybe-install-target-libgfortran \
1966 maybe-install-target-libobjc \
1967 maybe-install-target-libtermcap \
1968 maybe-install-target-winsup \
1969 maybe-install-target-libgloss \
1970 maybe-install-target-libiberty \
1971 maybe-install-target-gperf \
1972 maybe-install-target-examples \
1973 maybe-install-target-libffi \
1974 maybe-install-target-libjava \
1975 maybe-install-target-zlib \
1976 maybe-install-target-boehm-gc \
1977 maybe-install-target-qthreads \
1978 maybe-install-target-rda \
1979 maybe-install-target-libada
1981 uninstall:
1982 @echo "the uninstall target is not supported in this tree"
1984 .PHONY: install.all
1985 install.all: install-no-fixedincludes
1986 @if [ -f ./gcc/Makefile ] ; then \
1987 r=`${PWD_COMMAND}` ; export r ; \
1988 $(SET_LIB_PATH) \
1989 $(HOST_EXPORTS) \
1990 (cd ./gcc && \
1991 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1992 else \
1993 true ; \
1996 # install-no-fixedincludes is used because Cygnus can not distribute
1997 # the fixed header files.
1998 .PHONY: install-no-fixedincludes
1999 install-no-fixedincludes: installdirs install-host-nogcc \
2000 install-target gcc-no-fixedincludes
2002 ### other supporting targets
2004 MAKEDIRS= \
2005 $(DESTDIR)$(prefix) \
2006 $(DESTDIR)$(exec_prefix)
2007 .PHONY: installdirs
2008 installdirs: mkinstalldirs
2009 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2011 dir.info: do-install-info
2012 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2013 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2014 mv -f dir.info.new dir.info ; \
2015 else true ; \
2018 dist:
2019 @echo "Building a full distribution of this tree isn't done"
2020 @echo "via 'make dist'. Check out the etc/ subdirectory"
2022 etags tags: TAGS
2024 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2025 # ability to use several tags files at once, so there is probably no need
2026 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2027 # (if we felt like it) have this Makefile write a piece of elisp which
2028 # the user could load to tell emacs19 where all the TAGS files we just
2029 # built are.
2030 TAGS: do-TAGS
2032 # --------------------------------------
2033 # Modules which run on the build machine
2034 # --------------------------------------
2036 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2037 maybe-configure-build-libiberty:
2038 @if build-libiberty
2039 maybe-configure-build-libiberty: configure-build-libiberty
2040 configure-build-libiberty:
2041 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2042 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2043 r=`${PWD_COMMAND}`; export r; \
2044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2045 $(BUILD_EXPORTS) \
2046 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2047 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2048 case $(srcdir) in \
2049 /* | [A-Za-z]:[\\/]*) \
2050 topdir=$(srcdir) ;; \
2051 *) \
2052 case "$(BUILD_SUBDIR)" in \
2053 .) topdir="../$(srcdir)" ;; \
2054 *) topdir="../../$(srcdir)" ;; \
2055 esac ;; \
2056 esac; \
2057 if [ "$(srcdir)" = "." ] ; then \
2058 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2059 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2060 if [ -f Makefile ]; then \
2061 if $(MAKE) distclean; then \
2062 true; \
2063 else \
2064 exit 1; \
2065 fi; \
2066 else \
2067 true; \
2068 fi; \
2069 else \
2070 exit 1; \
2071 fi; \
2072 else \
2073 true; \
2074 fi; \
2075 srcdiroption="--srcdir=."; \
2076 libsrcdir="."; \
2077 else \
2078 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2079 libsrcdir="$$s/libiberty"; \
2080 fi; \
2081 rm -f no-such-file || : ; \
2082 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2083 $(BUILD_CONFIGARGS) $${srcdiroption} \
2084 --with-build-subdir="$(BUILD_SUBDIR)" \
2085 || exit 1
2086 @endif build-libiberty
2088 .PHONY: all-build-libiberty maybe-all-build-libiberty
2089 maybe-all-build-libiberty:
2090 @if build-libiberty
2091 maybe-all-build-libiberty: all-build-libiberty
2092 all-build-libiberty: configure-build-libiberty
2093 @r=`${PWD_COMMAND}`; export r; \
2094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2095 $(BUILD_EXPORTS) \
2096 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2097 @endif build-libiberty
2099 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2100 maybe-configure-build-libbanshee:
2101 @if build-libbanshee
2102 maybe-configure-build-libbanshee: configure-build-libbanshee
2103 configure-build-libbanshee:
2104 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2105 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2106 r=`${PWD_COMMAND}`; export r; \
2107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2108 $(BUILD_EXPORTS) \
2109 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2110 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2111 case $(srcdir) in \
2112 /* | [A-Za-z]:[\\/]*) \
2113 topdir=$(srcdir) ;; \
2114 *) \
2115 case "$(BUILD_SUBDIR)" in \
2116 .) topdir="../$(srcdir)" ;; \
2117 *) topdir="../../$(srcdir)" ;; \
2118 esac ;; \
2119 esac; \
2120 if [ "$(srcdir)" = "." ] ; then \
2121 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2122 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2123 if [ -f Makefile ]; then \
2124 if $(MAKE) distclean; then \
2125 true; \
2126 else \
2127 exit 1; \
2128 fi; \
2129 else \
2130 true; \
2131 fi; \
2132 else \
2133 exit 1; \
2134 fi; \
2135 else \
2136 true; \
2137 fi; \
2138 srcdiroption="--srcdir=."; \
2139 libsrcdir="."; \
2140 else \
2141 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2142 libsrcdir="$$s/libbanshee"; \
2143 fi; \
2144 rm -f no-such-file || : ; \
2145 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2146 $(BUILD_CONFIGARGS) $${srcdiroption} \
2147 --with-build-subdir="$(BUILD_SUBDIR)" \
2148 || exit 1
2149 @endif build-libbanshee
2151 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2152 maybe-all-build-libbanshee:
2153 @if build-libbanshee
2154 maybe-all-build-libbanshee: all-build-libbanshee
2155 all-build-libbanshee: configure-build-libbanshee
2156 @r=`${PWD_COMMAND}`; export r; \
2157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2158 $(BUILD_EXPORTS) \
2159 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2160 @endif build-libbanshee
2163 # --------------------------------------
2164 # Modules which run on the host machine
2165 # --------------------------------------
2167 .PHONY: configure-ash maybe-configure-ash
2168 maybe-configure-ash:
2169 @if ash
2170 maybe-configure-ash: configure-ash
2171 configure-ash:
2172 @test ! -f ash/Makefile || exit 0; \
2173 [ -d ash ] || mkdir ash; \
2174 r=`${PWD_COMMAND}`; export r; \
2175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2176 $(HOST_EXPORTS) \
2177 echo Configuring in ash; \
2178 cd ash || exit 1; \
2179 case $(srcdir) in \
2180 \.) \
2181 srcdiroption="--srcdir=."; \
2182 libsrcdir=".";; \
2183 /* | [A-Za-z]:[\\/]*) \
2184 srcdiroption="--srcdir=$(srcdir)/ash"; \
2185 libsrcdir="$$s/ash";; \
2186 *) \
2187 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2188 libsrcdir="$$s/ash";; \
2189 esac; \
2190 $(SHELL) $${libsrcdir}/configure \
2191 $(HOST_CONFIGARGS) $${srcdiroption} \
2192 || exit 1
2193 @endif ash
2195 .PHONY: all-ash maybe-all-ash
2196 maybe-all-ash:
2197 @if ash
2198 maybe-all-ash: all-ash
2199 all-ash: configure-ash
2200 @r=`${PWD_COMMAND}`; export r; \
2201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2202 $(SET_LIB_PATH) \
2203 $(HOST_EXPORTS) \
2204 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2205 @endif ash
2207 .PHONY: check-ash maybe-check-ash
2208 maybe-check-ash:
2209 @if ash
2210 maybe-check-ash: check-ash
2212 check-ash:
2213 @r=`${PWD_COMMAND}`; export r; \
2214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2215 $(SET_LIB_PATH) \
2216 $(HOST_EXPORTS) \
2217 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2219 @endif ash
2221 .PHONY: install-ash maybe-install-ash
2222 maybe-install-ash:
2223 @if ash
2224 maybe-install-ash: install-ash
2226 install-ash: installdirs
2227 @r=`${PWD_COMMAND}`; export r; \
2228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2229 $(SET_LIB_PATH) \
2230 $(HOST_EXPORTS) \
2231 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2233 @endif ash
2235 # Other targets (info, dvi, etc.)
2237 .PHONY: maybe-info-ash info-ash
2238 maybe-info-ash:
2239 @if ash
2240 maybe-info-ash: info-ash
2242 info-ash: \
2243 configure-ash
2244 @[ -f ./ash/Makefile ] || exit 0; \
2245 r=`${PWD_COMMAND}`; export r; \
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 $(SET_LIB_PATH) \
2248 $(HOST_EXPORTS) \
2249 for flag in $(EXTRA_HOST_FLAGS); do \
2250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2251 done; \
2252 echo "Doing info in ash" ; \
2253 (cd ash && \
2254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2256 "RANLIB=$${RANLIB}" \
2257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2258 info) \
2259 || exit 1
2261 @endif ash
2263 .PHONY: maybe-dvi-ash dvi-ash
2264 maybe-dvi-ash:
2265 @if ash
2266 maybe-dvi-ash: dvi-ash
2268 dvi-ash: \
2269 configure-ash
2270 @[ -f ./ash/Makefile ] || exit 0; \
2271 r=`${PWD_COMMAND}`; export r; \
2272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2273 $(SET_LIB_PATH) \
2274 $(HOST_EXPORTS) \
2275 for flag in $(EXTRA_HOST_FLAGS); do \
2276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2277 done; \
2278 echo "Doing dvi in ash" ; \
2279 (cd ash && \
2280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2282 "RANLIB=$${RANLIB}" \
2283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2284 dvi) \
2285 || exit 1
2287 @endif ash
2289 .PHONY: maybe-TAGS-ash TAGS-ash
2290 maybe-TAGS-ash:
2291 @if ash
2292 maybe-TAGS-ash: TAGS-ash
2294 TAGS-ash: \
2295 configure-ash
2296 @[ -f ./ash/Makefile ] || exit 0; \
2297 r=`${PWD_COMMAND}`; export r; \
2298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2299 $(SET_LIB_PATH) \
2300 $(HOST_EXPORTS) \
2301 for flag in $(EXTRA_HOST_FLAGS); do \
2302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2303 done; \
2304 echo "Doing TAGS in ash" ; \
2305 (cd ash && \
2306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2308 "RANLIB=$${RANLIB}" \
2309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2310 TAGS) \
2311 || exit 1
2313 @endif ash
2315 .PHONY: maybe-install-info-ash install-info-ash
2316 maybe-install-info-ash:
2317 @if ash
2318 maybe-install-info-ash: install-info-ash
2320 install-info-ash: \
2321 configure-ash \
2322 info-ash
2323 @[ -f ./ash/Makefile ] || exit 0; \
2324 r=`${PWD_COMMAND}`; export r; \
2325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2326 $(SET_LIB_PATH) \
2327 $(HOST_EXPORTS) \
2328 for flag in $(EXTRA_HOST_FLAGS); do \
2329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2330 done; \
2331 echo "Doing install-info in ash" ; \
2332 (cd ash && \
2333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2335 "RANLIB=$${RANLIB}" \
2336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2337 install-info) \
2338 || exit 1
2340 @endif ash
2342 .PHONY: maybe-installcheck-ash installcheck-ash
2343 maybe-installcheck-ash:
2344 @if ash
2345 maybe-installcheck-ash: installcheck-ash
2347 installcheck-ash: \
2348 configure-ash
2349 @[ -f ./ash/Makefile ] || exit 0; \
2350 r=`${PWD_COMMAND}`; export r; \
2351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2352 $(SET_LIB_PATH) \
2353 $(HOST_EXPORTS) \
2354 for flag in $(EXTRA_HOST_FLAGS); do \
2355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2356 done; \
2357 echo "Doing installcheck in ash" ; \
2358 (cd ash && \
2359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2361 "RANLIB=$${RANLIB}" \
2362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2363 installcheck) \
2364 || exit 1
2366 @endif ash
2368 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2369 maybe-mostlyclean-ash:
2370 @if ash
2371 maybe-mostlyclean-ash: mostlyclean-ash
2373 mostlyclean-ash:
2374 @[ -f ./ash/Makefile ] || exit 0; \
2375 r=`${PWD_COMMAND}`; export r; \
2376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2377 $(SET_LIB_PATH) \
2378 $(HOST_EXPORTS) \
2379 for flag in $(EXTRA_HOST_FLAGS); do \
2380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2381 done; \
2382 echo "Doing mostlyclean in ash" ; \
2383 (cd ash && \
2384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2386 "RANLIB=$${RANLIB}" \
2387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2388 mostlyclean) \
2389 || exit 1
2391 @endif ash
2393 .PHONY: maybe-clean-ash clean-ash
2394 maybe-clean-ash:
2395 @if ash
2396 maybe-clean-ash: clean-ash
2398 clean-ash:
2399 @[ -f ./ash/Makefile ] || exit 0; \
2400 r=`${PWD_COMMAND}`; export r; \
2401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2402 $(SET_LIB_PATH) \
2403 $(HOST_EXPORTS) \
2404 for flag in $(EXTRA_HOST_FLAGS); do \
2405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2406 done; \
2407 echo "Doing clean in ash" ; \
2408 (cd ash && \
2409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2411 "RANLIB=$${RANLIB}" \
2412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2413 clean) \
2414 || exit 1
2416 @endif ash
2418 .PHONY: maybe-distclean-ash distclean-ash
2419 maybe-distclean-ash:
2420 @if ash
2421 maybe-distclean-ash: distclean-ash
2423 distclean-ash:
2424 @[ -f ./ash/Makefile ] || exit 0; \
2425 r=`${PWD_COMMAND}`; export r; \
2426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2427 $(SET_LIB_PATH) \
2428 $(HOST_EXPORTS) \
2429 for flag in $(EXTRA_HOST_FLAGS); do \
2430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2431 done; \
2432 echo "Doing distclean in ash" ; \
2433 (cd ash && \
2434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2436 "RANLIB=$${RANLIB}" \
2437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2438 distclean) \
2439 || exit 1
2441 @endif ash
2443 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2444 maybe-maintainer-clean-ash:
2445 @if ash
2446 maybe-maintainer-clean-ash: maintainer-clean-ash
2448 maintainer-clean-ash:
2449 @[ -f ./ash/Makefile ] || exit 0; \
2450 r=`${PWD_COMMAND}`; export r; \
2451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2452 $(SET_LIB_PATH) \
2453 $(HOST_EXPORTS) \
2454 for flag in $(EXTRA_HOST_FLAGS); do \
2455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2456 done; \
2457 echo "Doing maintainer-clean in ash" ; \
2458 (cd ash && \
2459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2461 "RANLIB=$${RANLIB}" \
2462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2463 maintainer-clean) \
2464 || exit 1
2466 @endif ash
2469 .PHONY: configure-autoconf maybe-configure-autoconf
2470 maybe-configure-autoconf:
2471 @if autoconf
2472 maybe-configure-autoconf: configure-autoconf
2473 configure-autoconf:
2474 @test ! -f autoconf/Makefile || exit 0; \
2475 [ -d autoconf ] || mkdir autoconf; \
2476 r=`${PWD_COMMAND}`; export r; \
2477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2478 $(HOST_EXPORTS) \
2479 echo Configuring in autoconf; \
2480 cd autoconf || exit 1; \
2481 case $(srcdir) in \
2482 \.) \
2483 srcdiroption="--srcdir=."; \
2484 libsrcdir=".";; \
2485 /* | [A-Za-z]:[\\/]*) \
2486 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2487 libsrcdir="$$s/autoconf";; \
2488 *) \
2489 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2490 libsrcdir="$$s/autoconf";; \
2491 esac; \
2492 $(SHELL) $${libsrcdir}/configure \
2493 $(HOST_CONFIGARGS) $${srcdiroption} \
2494 || exit 1
2495 @endif autoconf
2497 .PHONY: all-autoconf maybe-all-autoconf
2498 maybe-all-autoconf:
2499 @if autoconf
2500 maybe-all-autoconf: all-autoconf
2501 all-autoconf: configure-autoconf
2502 @r=`${PWD_COMMAND}`; export r; \
2503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2504 $(SET_LIB_PATH) \
2505 $(HOST_EXPORTS) \
2506 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2507 @endif autoconf
2509 .PHONY: check-autoconf maybe-check-autoconf
2510 maybe-check-autoconf:
2511 @if autoconf
2512 maybe-check-autoconf: check-autoconf
2514 check-autoconf:
2515 @r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2517 $(SET_LIB_PATH) \
2518 $(HOST_EXPORTS) \
2519 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2521 @endif autoconf
2523 .PHONY: install-autoconf maybe-install-autoconf
2524 maybe-install-autoconf:
2525 @if autoconf
2526 maybe-install-autoconf: install-autoconf
2528 install-autoconf: installdirs
2529 @r=`${PWD_COMMAND}`; export r; \
2530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2531 $(SET_LIB_PATH) \
2532 $(HOST_EXPORTS) \
2533 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2535 @endif autoconf
2537 # Other targets (info, dvi, etc.)
2539 .PHONY: maybe-info-autoconf info-autoconf
2540 maybe-info-autoconf:
2541 @if autoconf
2542 maybe-info-autoconf: info-autoconf
2544 info-autoconf: \
2545 configure-autoconf
2546 @[ -f ./autoconf/Makefile ] || exit 0; \
2547 r=`${PWD_COMMAND}`; export r; \
2548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2549 $(SET_LIB_PATH) \
2550 $(HOST_EXPORTS) \
2551 for flag in $(EXTRA_HOST_FLAGS); do \
2552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2553 done; \
2554 echo "Doing info in autoconf" ; \
2555 (cd autoconf && \
2556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2558 "RANLIB=$${RANLIB}" \
2559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2560 info) \
2561 || exit 1
2563 @endif autoconf
2565 .PHONY: maybe-dvi-autoconf dvi-autoconf
2566 maybe-dvi-autoconf:
2567 @if autoconf
2568 maybe-dvi-autoconf: dvi-autoconf
2570 dvi-autoconf: \
2571 configure-autoconf
2572 @[ -f ./autoconf/Makefile ] || exit 0; \
2573 r=`${PWD_COMMAND}`; export r; \
2574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2575 $(SET_LIB_PATH) \
2576 $(HOST_EXPORTS) \
2577 for flag in $(EXTRA_HOST_FLAGS); do \
2578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2579 done; \
2580 echo "Doing dvi in autoconf" ; \
2581 (cd autoconf && \
2582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2584 "RANLIB=$${RANLIB}" \
2585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2586 dvi) \
2587 || exit 1
2589 @endif autoconf
2591 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2592 maybe-TAGS-autoconf:
2593 @if autoconf
2594 maybe-TAGS-autoconf: TAGS-autoconf
2596 TAGS-autoconf: \
2597 configure-autoconf
2598 @[ -f ./autoconf/Makefile ] || exit 0; \
2599 r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601 $(SET_LIB_PATH) \
2602 $(HOST_EXPORTS) \
2603 for flag in $(EXTRA_HOST_FLAGS); do \
2604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2605 done; \
2606 echo "Doing TAGS in autoconf" ; \
2607 (cd autoconf && \
2608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2610 "RANLIB=$${RANLIB}" \
2611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2612 TAGS) \
2613 || exit 1
2615 @endif autoconf
2617 .PHONY: maybe-install-info-autoconf install-info-autoconf
2618 maybe-install-info-autoconf:
2619 @if autoconf
2620 maybe-install-info-autoconf: install-info-autoconf
2622 install-info-autoconf: \
2623 configure-autoconf \
2624 info-autoconf
2625 @[ -f ./autoconf/Makefile ] || exit 0; \
2626 r=`${PWD_COMMAND}`; export r; \
2627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2628 $(SET_LIB_PATH) \
2629 $(HOST_EXPORTS) \
2630 for flag in $(EXTRA_HOST_FLAGS); do \
2631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2632 done; \
2633 echo "Doing install-info in autoconf" ; \
2634 (cd autoconf && \
2635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2637 "RANLIB=$${RANLIB}" \
2638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2639 install-info) \
2640 || exit 1
2642 @endif autoconf
2644 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2645 maybe-installcheck-autoconf:
2646 @if autoconf
2647 maybe-installcheck-autoconf: installcheck-autoconf
2649 installcheck-autoconf: \
2650 configure-autoconf
2651 @[ -f ./autoconf/Makefile ] || exit 0; \
2652 r=`${PWD_COMMAND}`; export r; \
2653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2654 $(SET_LIB_PATH) \
2655 $(HOST_EXPORTS) \
2656 for flag in $(EXTRA_HOST_FLAGS); do \
2657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2658 done; \
2659 echo "Doing installcheck in autoconf" ; \
2660 (cd autoconf && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2663 "RANLIB=$${RANLIB}" \
2664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2665 installcheck) \
2666 || exit 1
2668 @endif autoconf
2670 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2671 maybe-mostlyclean-autoconf:
2672 @if autoconf
2673 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2675 mostlyclean-autoconf:
2676 @[ -f ./autoconf/Makefile ] || exit 0; \
2677 r=`${PWD_COMMAND}`; export r; \
2678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2679 $(SET_LIB_PATH) \
2680 $(HOST_EXPORTS) \
2681 for flag in $(EXTRA_HOST_FLAGS); do \
2682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2683 done; \
2684 echo "Doing mostlyclean in autoconf" ; \
2685 (cd autoconf && \
2686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2688 "RANLIB=$${RANLIB}" \
2689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2690 mostlyclean) \
2691 || exit 1
2693 @endif autoconf
2695 .PHONY: maybe-clean-autoconf clean-autoconf
2696 maybe-clean-autoconf:
2697 @if autoconf
2698 maybe-clean-autoconf: clean-autoconf
2700 clean-autoconf:
2701 @[ -f ./autoconf/Makefile ] || exit 0; \
2702 r=`${PWD_COMMAND}`; export r; \
2703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2704 $(SET_LIB_PATH) \
2705 $(HOST_EXPORTS) \
2706 for flag in $(EXTRA_HOST_FLAGS); do \
2707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2708 done; \
2709 echo "Doing clean in autoconf" ; \
2710 (cd autoconf && \
2711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2713 "RANLIB=$${RANLIB}" \
2714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2715 clean) \
2716 || exit 1
2718 @endif autoconf
2720 .PHONY: maybe-distclean-autoconf distclean-autoconf
2721 maybe-distclean-autoconf:
2722 @if autoconf
2723 maybe-distclean-autoconf: distclean-autoconf
2725 distclean-autoconf:
2726 @[ -f ./autoconf/Makefile ] || exit 0; \
2727 r=`${PWD_COMMAND}`; export r; \
2728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2729 $(SET_LIB_PATH) \
2730 $(HOST_EXPORTS) \
2731 for flag in $(EXTRA_HOST_FLAGS); do \
2732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2733 done; \
2734 echo "Doing distclean in autoconf" ; \
2735 (cd autoconf && \
2736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2738 "RANLIB=$${RANLIB}" \
2739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2740 distclean) \
2741 || exit 1
2743 @endif autoconf
2745 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2746 maybe-maintainer-clean-autoconf:
2747 @if autoconf
2748 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2750 maintainer-clean-autoconf:
2751 @[ -f ./autoconf/Makefile ] || exit 0; \
2752 r=`${PWD_COMMAND}`; export r; \
2753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2754 $(SET_LIB_PATH) \
2755 $(HOST_EXPORTS) \
2756 for flag in $(EXTRA_HOST_FLAGS); do \
2757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2758 done; \
2759 echo "Doing maintainer-clean in autoconf" ; \
2760 (cd autoconf && \
2761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2763 "RANLIB=$${RANLIB}" \
2764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2765 maintainer-clean) \
2766 || exit 1
2768 @endif autoconf
2771 .PHONY: configure-automake maybe-configure-automake
2772 maybe-configure-automake:
2773 @if automake
2774 maybe-configure-automake: configure-automake
2775 configure-automake:
2776 @test ! -f automake/Makefile || exit 0; \
2777 [ -d automake ] || mkdir automake; \
2778 r=`${PWD_COMMAND}`; export r; \
2779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2780 $(HOST_EXPORTS) \
2781 echo Configuring in automake; \
2782 cd automake || exit 1; \
2783 case $(srcdir) in \
2784 \.) \
2785 srcdiroption="--srcdir=."; \
2786 libsrcdir=".";; \
2787 /* | [A-Za-z]:[\\/]*) \
2788 srcdiroption="--srcdir=$(srcdir)/automake"; \
2789 libsrcdir="$$s/automake";; \
2790 *) \
2791 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2792 libsrcdir="$$s/automake";; \
2793 esac; \
2794 $(SHELL) $${libsrcdir}/configure \
2795 $(HOST_CONFIGARGS) $${srcdiroption} \
2796 || exit 1
2797 @endif automake
2799 .PHONY: all-automake maybe-all-automake
2800 maybe-all-automake:
2801 @if automake
2802 maybe-all-automake: all-automake
2803 all-automake: configure-automake
2804 @r=`${PWD_COMMAND}`; export r; \
2805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2806 $(SET_LIB_PATH) \
2807 $(HOST_EXPORTS) \
2808 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2809 @endif automake
2811 .PHONY: check-automake maybe-check-automake
2812 maybe-check-automake:
2813 @if automake
2814 maybe-check-automake: check-automake
2816 check-automake:
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2819 $(SET_LIB_PATH) \
2820 $(HOST_EXPORTS) \
2821 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2823 @endif automake
2825 .PHONY: install-automake maybe-install-automake
2826 maybe-install-automake:
2827 @if automake
2828 maybe-install-automake: install-automake
2830 install-automake: installdirs
2831 @r=`${PWD_COMMAND}`; export r; \
2832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2833 $(SET_LIB_PATH) \
2834 $(HOST_EXPORTS) \
2835 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2837 @endif automake
2839 # Other targets (info, dvi, etc.)
2841 .PHONY: maybe-info-automake info-automake
2842 maybe-info-automake:
2843 @if automake
2844 maybe-info-automake: info-automake
2846 info-automake: \
2847 configure-automake
2848 @[ -f ./automake/Makefile ] || exit 0; \
2849 r=`${PWD_COMMAND}`; export r; \
2850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2851 $(SET_LIB_PATH) \
2852 $(HOST_EXPORTS) \
2853 for flag in $(EXTRA_HOST_FLAGS); do \
2854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2855 done; \
2856 echo "Doing info in automake" ; \
2857 (cd automake && \
2858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2860 "RANLIB=$${RANLIB}" \
2861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2862 info) \
2863 || exit 1
2865 @endif automake
2867 .PHONY: maybe-dvi-automake dvi-automake
2868 maybe-dvi-automake:
2869 @if automake
2870 maybe-dvi-automake: dvi-automake
2872 dvi-automake: \
2873 configure-automake
2874 @[ -f ./automake/Makefile ] || exit 0; \
2875 r=`${PWD_COMMAND}`; export r; \
2876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2877 $(SET_LIB_PATH) \
2878 $(HOST_EXPORTS) \
2879 for flag in $(EXTRA_HOST_FLAGS); do \
2880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2881 done; \
2882 echo "Doing dvi in automake" ; \
2883 (cd automake && \
2884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2886 "RANLIB=$${RANLIB}" \
2887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2888 dvi) \
2889 || exit 1
2891 @endif automake
2893 .PHONY: maybe-TAGS-automake TAGS-automake
2894 maybe-TAGS-automake:
2895 @if automake
2896 maybe-TAGS-automake: TAGS-automake
2898 TAGS-automake: \
2899 configure-automake
2900 @[ -f ./automake/Makefile ] || exit 0; \
2901 r=`${PWD_COMMAND}`; export r; \
2902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2903 $(SET_LIB_PATH) \
2904 $(HOST_EXPORTS) \
2905 for flag in $(EXTRA_HOST_FLAGS); do \
2906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2907 done; \
2908 echo "Doing TAGS in automake" ; \
2909 (cd automake && \
2910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2912 "RANLIB=$${RANLIB}" \
2913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2914 TAGS) \
2915 || exit 1
2917 @endif automake
2919 .PHONY: maybe-install-info-automake install-info-automake
2920 maybe-install-info-automake:
2921 @if automake
2922 maybe-install-info-automake: install-info-automake
2924 install-info-automake: \
2925 configure-automake \
2926 info-automake
2927 @[ -f ./automake/Makefile ] || exit 0; \
2928 r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 $(SET_LIB_PATH) \
2931 $(HOST_EXPORTS) \
2932 for flag in $(EXTRA_HOST_FLAGS); do \
2933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2934 done; \
2935 echo "Doing install-info in automake" ; \
2936 (cd automake && \
2937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2939 "RANLIB=$${RANLIB}" \
2940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2941 install-info) \
2942 || exit 1
2944 @endif automake
2946 .PHONY: maybe-installcheck-automake installcheck-automake
2947 maybe-installcheck-automake:
2948 @if automake
2949 maybe-installcheck-automake: installcheck-automake
2951 installcheck-automake: \
2952 configure-automake
2953 @[ -f ./automake/Makefile ] || exit 0; \
2954 r=`${PWD_COMMAND}`; export r; \
2955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2956 $(SET_LIB_PATH) \
2957 $(HOST_EXPORTS) \
2958 for flag in $(EXTRA_HOST_FLAGS); do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing installcheck in automake" ; \
2962 (cd automake && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 installcheck) \
2968 || exit 1
2970 @endif automake
2972 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2973 maybe-mostlyclean-automake:
2974 @if automake
2975 maybe-mostlyclean-automake: mostlyclean-automake
2977 mostlyclean-automake:
2978 @[ -f ./automake/Makefile ] || exit 0; \
2979 r=`${PWD_COMMAND}`; export r; \
2980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2981 $(SET_LIB_PATH) \
2982 $(HOST_EXPORTS) \
2983 for flag in $(EXTRA_HOST_FLAGS); do \
2984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2985 done; \
2986 echo "Doing mostlyclean in automake" ; \
2987 (cd automake && \
2988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2990 "RANLIB=$${RANLIB}" \
2991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2992 mostlyclean) \
2993 || exit 1
2995 @endif automake
2997 .PHONY: maybe-clean-automake clean-automake
2998 maybe-clean-automake:
2999 @if automake
3000 maybe-clean-automake: clean-automake
3002 clean-automake:
3003 @[ -f ./automake/Makefile ] || exit 0; \
3004 r=`${PWD_COMMAND}`; export r; \
3005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3006 $(SET_LIB_PATH) \
3007 $(HOST_EXPORTS) \
3008 for flag in $(EXTRA_HOST_FLAGS); do \
3009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3010 done; \
3011 echo "Doing clean in automake" ; \
3012 (cd automake && \
3013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3015 "RANLIB=$${RANLIB}" \
3016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3017 clean) \
3018 || exit 1
3020 @endif automake
3022 .PHONY: maybe-distclean-automake distclean-automake
3023 maybe-distclean-automake:
3024 @if automake
3025 maybe-distclean-automake: distclean-automake
3027 distclean-automake:
3028 @[ -f ./automake/Makefile ] || exit 0; \
3029 r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031 $(SET_LIB_PATH) \
3032 $(HOST_EXPORTS) \
3033 for flag in $(EXTRA_HOST_FLAGS); do \
3034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3035 done; \
3036 echo "Doing distclean in automake" ; \
3037 (cd automake && \
3038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3040 "RANLIB=$${RANLIB}" \
3041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3042 distclean) \
3043 || exit 1
3045 @endif automake
3047 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3048 maybe-maintainer-clean-automake:
3049 @if automake
3050 maybe-maintainer-clean-automake: maintainer-clean-automake
3052 maintainer-clean-automake:
3053 @[ -f ./automake/Makefile ] || exit 0; \
3054 r=`${PWD_COMMAND}`; export r; \
3055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3056 $(SET_LIB_PATH) \
3057 $(HOST_EXPORTS) \
3058 for flag in $(EXTRA_HOST_FLAGS); do \
3059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3060 done; \
3061 echo "Doing maintainer-clean in automake" ; \
3062 (cd automake && \
3063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065 "RANLIB=$${RANLIB}" \
3066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067 maintainer-clean) \
3068 || exit 1
3070 @endif automake
3073 .PHONY: configure-bash maybe-configure-bash
3074 maybe-configure-bash:
3075 @if bash
3076 maybe-configure-bash: configure-bash
3077 configure-bash:
3078 @test ! -f bash/Makefile || exit 0; \
3079 [ -d bash ] || mkdir bash; \
3080 r=`${PWD_COMMAND}`; export r; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(HOST_EXPORTS) \
3083 echo Configuring in bash; \
3084 cd bash || exit 1; \
3085 case $(srcdir) in \
3086 \.) \
3087 srcdiroption="--srcdir=."; \
3088 libsrcdir=".";; \
3089 /* | [A-Za-z]:[\\/]*) \
3090 srcdiroption="--srcdir=$(srcdir)/bash"; \
3091 libsrcdir="$$s/bash";; \
3092 *) \
3093 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3094 libsrcdir="$$s/bash";; \
3095 esac; \
3096 $(SHELL) $${libsrcdir}/configure \
3097 $(HOST_CONFIGARGS) $${srcdiroption} \
3098 || exit 1
3099 @endif bash
3101 .PHONY: all-bash maybe-all-bash
3102 maybe-all-bash:
3103 @if bash
3104 maybe-all-bash: all-bash
3105 all-bash: configure-bash
3106 @r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3108 $(SET_LIB_PATH) \
3109 $(HOST_EXPORTS) \
3110 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3111 @endif bash
3113 .PHONY: check-bash maybe-check-bash
3114 maybe-check-bash:
3115 @if bash
3116 maybe-check-bash: check-bash
3118 check-bash:
3119 @r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3121 $(SET_LIB_PATH) \
3122 $(HOST_EXPORTS) \
3123 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3125 @endif bash
3127 .PHONY: install-bash maybe-install-bash
3128 maybe-install-bash:
3129 @if bash
3130 maybe-install-bash: install-bash
3132 install-bash: installdirs
3133 @r=`${PWD_COMMAND}`; export r; \
3134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3135 $(SET_LIB_PATH) \
3136 $(HOST_EXPORTS) \
3137 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3139 @endif bash
3141 # Other targets (info, dvi, etc.)
3143 .PHONY: maybe-info-bash info-bash
3144 maybe-info-bash:
3145 @if bash
3146 maybe-info-bash: info-bash
3148 info-bash: \
3149 configure-bash
3150 @[ -f ./bash/Makefile ] || exit 0; \
3151 r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3153 $(SET_LIB_PATH) \
3154 $(HOST_EXPORTS) \
3155 for flag in $(EXTRA_HOST_FLAGS); do \
3156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3157 done; \
3158 echo "Doing info in bash" ; \
3159 (cd bash && \
3160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3162 "RANLIB=$${RANLIB}" \
3163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3164 info) \
3165 || exit 1
3167 @endif bash
3169 .PHONY: maybe-dvi-bash dvi-bash
3170 maybe-dvi-bash:
3171 @if bash
3172 maybe-dvi-bash: dvi-bash
3174 dvi-bash: \
3175 configure-bash
3176 @[ -f ./bash/Makefile ] || exit 0; \
3177 r=`${PWD_COMMAND}`; export r; \
3178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3179 $(SET_LIB_PATH) \
3180 $(HOST_EXPORTS) \
3181 for flag in $(EXTRA_HOST_FLAGS); do \
3182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3183 done; \
3184 echo "Doing dvi in bash" ; \
3185 (cd bash && \
3186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3188 "RANLIB=$${RANLIB}" \
3189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3190 dvi) \
3191 || exit 1
3193 @endif bash
3195 .PHONY: maybe-TAGS-bash TAGS-bash
3196 maybe-TAGS-bash:
3197 @if bash
3198 maybe-TAGS-bash: TAGS-bash
3200 TAGS-bash: \
3201 configure-bash
3202 @[ -f ./bash/Makefile ] || exit 0; \
3203 r=`${PWD_COMMAND}`; export r; \
3204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3205 $(SET_LIB_PATH) \
3206 $(HOST_EXPORTS) \
3207 for flag in $(EXTRA_HOST_FLAGS); do \
3208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3209 done; \
3210 echo "Doing TAGS in bash" ; \
3211 (cd bash && \
3212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3214 "RANLIB=$${RANLIB}" \
3215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3216 TAGS) \
3217 || exit 1
3219 @endif bash
3221 .PHONY: maybe-install-info-bash install-info-bash
3222 maybe-install-info-bash:
3223 @if bash
3224 maybe-install-info-bash: install-info-bash
3226 install-info-bash: \
3227 configure-bash \
3228 info-bash
3229 @[ -f ./bash/Makefile ] || exit 0; \
3230 r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232 $(SET_LIB_PATH) \
3233 $(HOST_EXPORTS) \
3234 for flag in $(EXTRA_HOST_FLAGS); do \
3235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3236 done; \
3237 echo "Doing install-info in bash" ; \
3238 (cd bash && \
3239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3241 "RANLIB=$${RANLIB}" \
3242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3243 install-info) \
3244 || exit 1
3246 @endif bash
3248 .PHONY: maybe-installcheck-bash installcheck-bash
3249 maybe-installcheck-bash:
3250 @if bash
3251 maybe-installcheck-bash: installcheck-bash
3253 installcheck-bash: \
3254 configure-bash
3255 @[ -f ./bash/Makefile ] || exit 0; \
3256 r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(SET_LIB_PATH) \
3259 $(HOST_EXPORTS) \
3260 for flag in $(EXTRA_HOST_FLAGS); do \
3261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3262 done; \
3263 echo "Doing installcheck in bash" ; \
3264 (cd bash && \
3265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3267 "RANLIB=$${RANLIB}" \
3268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3269 installcheck) \
3270 || exit 1
3272 @endif bash
3274 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3275 maybe-mostlyclean-bash:
3276 @if bash
3277 maybe-mostlyclean-bash: mostlyclean-bash
3279 mostlyclean-bash:
3280 @[ -f ./bash/Makefile ] || exit 0; \
3281 r=`${PWD_COMMAND}`; export r; \
3282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3283 $(SET_LIB_PATH) \
3284 $(HOST_EXPORTS) \
3285 for flag in $(EXTRA_HOST_FLAGS); do \
3286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3287 done; \
3288 echo "Doing mostlyclean in bash" ; \
3289 (cd bash && \
3290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3292 "RANLIB=$${RANLIB}" \
3293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3294 mostlyclean) \
3295 || exit 1
3297 @endif bash
3299 .PHONY: maybe-clean-bash clean-bash
3300 maybe-clean-bash:
3301 @if bash
3302 maybe-clean-bash: clean-bash
3304 clean-bash:
3305 @[ -f ./bash/Makefile ] || exit 0; \
3306 r=`${PWD_COMMAND}`; export r; \
3307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3308 $(SET_LIB_PATH) \
3309 $(HOST_EXPORTS) \
3310 for flag in $(EXTRA_HOST_FLAGS); do \
3311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3312 done; \
3313 echo "Doing clean in bash" ; \
3314 (cd bash && \
3315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3317 "RANLIB=$${RANLIB}" \
3318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3319 clean) \
3320 || exit 1
3322 @endif bash
3324 .PHONY: maybe-distclean-bash distclean-bash
3325 maybe-distclean-bash:
3326 @if bash
3327 maybe-distclean-bash: distclean-bash
3329 distclean-bash:
3330 @[ -f ./bash/Makefile ] || exit 0; \
3331 r=`${PWD_COMMAND}`; export r; \
3332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3333 $(SET_LIB_PATH) \
3334 $(HOST_EXPORTS) \
3335 for flag in $(EXTRA_HOST_FLAGS); do \
3336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3337 done; \
3338 echo "Doing distclean in bash" ; \
3339 (cd bash && \
3340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3342 "RANLIB=$${RANLIB}" \
3343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3344 distclean) \
3345 || exit 1
3347 @endif bash
3349 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3350 maybe-maintainer-clean-bash:
3351 @if bash
3352 maybe-maintainer-clean-bash: maintainer-clean-bash
3354 maintainer-clean-bash:
3355 @[ -f ./bash/Makefile ] || exit 0; \
3356 r=`${PWD_COMMAND}`; export r; \
3357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3358 $(SET_LIB_PATH) \
3359 $(HOST_EXPORTS) \
3360 for flag in $(EXTRA_HOST_FLAGS); do \
3361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3362 done; \
3363 echo "Doing maintainer-clean in bash" ; \
3364 (cd bash && \
3365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3367 "RANLIB=$${RANLIB}" \
3368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3369 maintainer-clean) \
3370 || exit 1
3372 @endif bash
3375 .PHONY: configure-bfd maybe-configure-bfd
3376 maybe-configure-bfd:
3377 @if bfd
3378 maybe-configure-bfd: configure-bfd
3379 configure-bfd:
3380 @test ! -f bfd/Makefile || exit 0; \
3381 [ -d bfd ] || mkdir bfd; \
3382 r=`${PWD_COMMAND}`; export r; \
3383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3384 $(HOST_EXPORTS) \
3385 echo Configuring in bfd; \
3386 cd bfd || exit 1; \
3387 case $(srcdir) in \
3388 \.) \
3389 srcdiroption="--srcdir=."; \
3390 libsrcdir=".";; \
3391 /* | [A-Za-z]:[\\/]*) \
3392 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3393 libsrcdir="$$s/bfd";; \
3394 *) \
3395 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3396 libsrcdir="$$s/bfd";; \
3397 esac; \
3398 $(SHELL) $${libsrcdir}/configure \
3399 $(HOST_CONFIGARGS) $${srcdiroption} \
3400 || exit 1
3401 @endif bfd
3403 .PHONY: all-bfd maybe-all-bfd
3404 maybe-all-bfd:
3405 @if bfd
3406 maybe-all-bfd: all-bfd
3407 all-bfd: configure-bfd
3408 @r=`${PWD_COMMAND}`; export r; \
3409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3410 $(SET_LIB_PATH) \
3411 $(HOST_EXPORTS) \
3412 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3413 @endif bfd
3415 .PHONY: check-bfd maybe-check-bfd
3416 maybe-check-bfd:
3417 @if bfd
3418 maybe-check-bfd: check-bfd
3420 check-bfd:
3421 @r=`${PWD_COMMAND}`; export r; \
3422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3423 $(SET_LIB_PATH) \
3424 $(HOST_EXPORTS) \
3425 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3427 @endif bfd
3429 .PHONY: install-bfd maybe-install-bfd
3430 maybe-install-bfd:
3431 @if bfd
3432 maybe-install-bfd: install-bfd
3434 install-bfd: installdirs
3435 @r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 $(SET_LIB_PATH) \
3438 $(HOST_EXPORTS) \
3439 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3441 @endif bfd
3443 # Other targets (info, dvi, etc.)
3445 .PHONY: maybe-info-bfd info-bfd
3446 maybe-info-bfd:
3447 @if bfd
3448 maybe-info-bfd: info-bfd
3450 info-bfd: \
3451 configure-bfd
3452 @[ -f ./bfd/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3455 $(SET_LIB_PATH) \
3456 $(HOST_EXPORTS) \
3457 for flag in $(EXTRA_HOST_FLAGS); do \
3458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3459 done; \
3460 echo "Doing info in bfd" ; \
3461 (cd bfd && \
3462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3464 "RANLIB=$${RANLIB}" \
3465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3466 info) \
3467 || exit 1
3469 @endif bfd
3471 .PHONY: maybe-dvi-bfd dvi-bfd
3472 maybe-dvi-bfd:
3473 @if bfd
3474 maybe-dvi-bfd: dvi-bfd
3476 dvi-bfd: \
3477 configure-bfd
3478 @[ -f ./bfd/Makefile ] || exit 0; \
3479 r=`${PWD_COMMAND}`; export r; \
3480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3481 $(SET_LIB_PATH) \
3482 $(HOST_EXPORTS) \
3483 for flag in $(EXTRA_HOST_FLAGS); do \
3484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3485 done; \
3486 echo "Doing dvi in bfd" ; \
3487 (cd bfd && \
3488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3490 "RANLIB=$${RANLIB}" \
3491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3492 dvi) \
3493 || exit 1
3495 @endif bfd
3497 .PHONY: maybe-TAGS-bfd TAGS-bfd
3498 maybe-TAGS-bfd:
3499 @if bfd
3500 maybe-TAGS-bfd: TAGS-bfd
3502 TAGS-bfd: \
3503 configure-bfd
3504 @[ -f ./bfd/Makefile ] || exit 0; \
3505 r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 $(SET_LIB_PATH) \
3508 $(HOST_EXPORTS) \
3509 for flag in $(EXTRA_HOST_FLAGS); do \
3510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3511 done; \
3512 echo "Doing TAGS in bfd" ; \
3513 (cd bfd && \
3514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3516 "RANLIB=$${RANLIB}" \
3517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3518 TAGS) \
3519 || exit 1
3521 @endif bfd
3523 .PHONY: maybe-install-info-bfd install-info-bfd
3524 maybe-install-info-bfd:
3525 @if bfd
3526 maybe-install-info-bfd: install-info-bfd
3528 install-info-bfd: \
3529 configure-bfd \
3530 info-bfd
3531 @[ -f ./bfd/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(SET_LIB_PATH) \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS); do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing install-info in bfd" ; \
3540 (cd bfd && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3545 install-info) \
3546 || exit 1
3548 @endif bfd
3550 .PHONY: maybe-installcheck-bfd installcheck-bfd
3551 maybe-installcheck-bfd:
3552 @if bfd
3553 maybe-installcheck-bfd: installcheck-bfd
3555 installcheck-bfd: \
3556 configure-bfd
3557 @[ -f ./bfd/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(SET_LIB_PATH) \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS); do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing installcheck in bfd" ; \
3566 (cd bfd && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3571 installcheck) \
3572 || exit 1
3574 @endif bfd
3576 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3577 maybe-mostlyclean-bfd:
3578 @if bfd
3579 maybe-mostlyclean-bfd: mostlyclean-bfd
3581 mostlyclean-bfd:
3582 @[ -f ./bfd/Makefile ] || exit 0; \
3583 r=`${PWD_COMMAND}`; export r; \
3584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3585 $(SET_LIB_PATH) \
3586 $(HOST_EXPORTS) \
3587 for flag in $(EXTRA_HOST_FLAGS); do \
3588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3589 done; \
3590 echo "Doing mostlyclean in bfd" ; \
3591 (cd bfd && \
3592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3594 "RANLIB=$${RANLIB}" \
3595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3596 mostlyclean) \
3597 || exit 1
3599 @endif bfd
3601 .PHONY: maybe-clean-bfd clean-bfd
3602 maybe-clean-bfd:
3603 @if bfd
3604 maybe-clean-bfd: clean-bfd
3606 clean-bfd:
3607 @[ -f ./bfd/Makefile ] || exit 0; \
3608 r=`${PWD_COMMAND}`; export r; \
3609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3610 $(SET_LIB_PATH) \
3611 $(HOST_EXPORTS) \
3612 for flag in $(EXTRA_HOST_FLAGS); do \
3613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3614 done; \
3615 echo "Doing clean in bfd" ; \
3616 (cd bfd && \
3617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3619 "RANLIB=$${RANLIB}" \
3620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3621 clean) \
3622 || exit 1
3624 @endif bfd
3626 .PHONY: maybe-distclean-bfd distclean-bfd
3627 maybe-distclean-bfd:
3628 @if bfd
3629 maybe-distclean-bfd: distclean-bfd
3631 distclean-bfd:
3632 @[ -f ./bfd/Makefile ] || exit 0; \
3633 r=`${PWD_COMMAND}`; export r; \
3634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3635 $(SET_LIB_PATH) \
3636 $(HOST_EXPORTS) \
3637 for flag in $(EXTRA_HOST_FLAGS); do \
3638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3639 done; \
3640 echo "Doing distclean in bfd" ; \
3641 (cd bfd && \
3642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3644 "RANLIB=$${RANLIB}" \
3645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3646 distclean) \
3647 || exit 1
3649 @endif bfd
3651 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3652 maybe-maintainer-clean-bfd:
3653 @if bfd
3654 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3656 maintainer-clean-bfd:
3657 @[ -f ./bfd/Makefile ] || exit 0; \
3658 r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 $(SET_LIB_PATH) \
3661 $(HOST_EXPORTS) \
3662 for flag in $(EXTRA_HOST_FLAGS); do \
3663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3664 done; \
3665 echo "Doing maintainer-clean in bfd" ; \
3666 (cd bfd && \
3667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3669 "RANLIB=$${RANLIB}" \
3670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3671 maintainer-clean) \
3672 || exit 1
3674 @endif bfd
3677 .PHONY: configure-opcodes maybe-configure-opcodes
3678 maybe-configure-opcodes:
3679 @if opcodes
3680 maybe-configure-opcodes: configure-opcodes
3681 configure-opcodes:
3682 @test ! -f opcodes/Makefile || exit 0; \
3683 [ -d opcodes ] || mkdir opcodes; \
3684 r=`${PWD_COMMAND}`; export r; \
3685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3686 $(HOST_EXPORTS) \
3687 echo Configuring in opcodes; \
3688 cd opcodes || exit 1; \
3689 case $(srcdir) in \
3690 \.) \
3691 srcdiroption="--srcdir=."; \
3692 libsrcdir=".";; \
3693 /* | [A-Za-z]:[\\/]*) \
3694 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3695 libsrcdir="$$s/opcodes";; \
3696 *) \
3697 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3698 libsrcdir="$$s/opcodes";; \
3699 esac; \
3700 $(SHELL) $${libsrcdir}/configure \
3701 $(HOST_CONFIGARGS) $${srcdiroption} \
3702 || exit 1
3703 @endif opcodes
3705 .PHONY: all-opcodes maybe-all-opcodes
3706 maybe-all-opcodes:
3707 @if opcodes
3708 maybe-all-opcodes: all-opcodes
3709 all-opcodes: configure-opcodes
3710 @r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(SET_LIB_PATH) \
3713 $(HOST_EXPORTS) \
3714 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3715 @endif opcodes
3717 .PHONY: check-opcodes maybe-check-opcodes
3718 maybe-check-opcodes:
3719 @if opcodes
3720 maybe-check-opcodes: check-opcodes
3722 check-opcodes:
3723 @r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(SET_LIB_PATH) \
3726 $(HOST_EXPORTS) \
3727 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3729 @endif opcodes
3731 .PHONY: install-opcodes maybe-install-opcodes
3732 maybe-install-opcodes:
3733 @if opcodes
3734 maybe-install-opcodes: install-opcodes
3736 install-opcodes: installdirs
3737 @r=`${PWD_COMMAND}`; export r; \
3738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 $(SET_LIB_PATH) \
3740 $(HOST_EXPORTS) \
3741 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3743 @endif opcodes
3745 # Other targets (info, dvi, etc.)
3747 .PHONY: maybe-info-opcodes info-opcodes
3748 maybe-info-opcodes:
3749 @if opcodes
3750 maybe-info-opcodes: info-opcodes
3752 info-opcodes: \
3753 configure-opcodes
3754 @[ -f ./opcodes/Makefile ] || exit 0; \
3755 r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 $(SET_LIB_PATH) \
3758 $(HOST_EXPORTS) \
3759 for flag in $(EXTRA_HOST_FLAGS); do \
3760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3761 done; \
3762 echo "Doing info in opcodes" ; \
3763 (cd opcodes && \
3764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3766 "RANLIB=$${RANLIB}" \
3767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3768 info) \
3769 || exit 1
3771 @endif opcodes
3773 .PHONY: maybe-dvi-opcodes dvi-opcodes
3774 maybe-dvi-opcodes:
3775 @if opcodes
3776 maybe-dvi-opcodes: dvi-opcodes
3778 dvi-opcodes: \
3779 configure-opcodes
3780 @[ -f ./opcodes/Makefile ] || exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3783 $(SET_LIB_PATH) \
3784 $(HOST_EXPORTS) \
3785 for flag in $(EXTRA_HOST_FLAGS); do \
3786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3787 done; \
3788 echo "Doing dvi in opcodes" ; \
3789 (cd opcodes && \
3790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3792 "RANLIB=$${RANLIB}" \
3793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3794 dvi) \
3795 || exit 1
3797 @endif opcodes
3799 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3800 maybe-TAGS-opcodes:
3801 @if opcodes
3802 maybe-TAGS-opcodes: TAGS-opcodes
3804 TAGS-opcodes: \
3805 configure-opcodes
3806 @[ -f ./opcodes/Makefile ] || exit 0; \
3807 r=`${PWD_COMMAND}`; export r; \
3808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3809 $(SET_LIB_PATH) \
3810 $(HOST_EXPORTS) \
3811 for flag in $(EXTRA_HOST_FLAGS); do \
3812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3813 done; \
3814 echo "Doing TAGS in opcodes" ; \
3815 (cd opcodes && \
3816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3818 "RANLIB=$${RANLIB}" \
3819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3820 TAGS) \
3821 || exit 1
3823 @endif opcodes
3825 .PHONY: maybe-install-info-opcodes install-info-opcodes
3826 maybe-install-info-opcodes:
3827 @if opcodes
3828 maybe-install-info-opcodes: install-info-opcodes
3830 install-info-opcodes: \
3831 configure-opcodes \
3832 info-opcodes
3833 @[ -f ./opcodes/Makefile ] || exit 0; \
3834 r=`${PWD_COMMAND}`; export r; \
3835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3836 $(SET_LIB_PATH) \
3837 $(HOST_EXPORTS) \
3838 for flag in $(EXTRA_HOST_FLAGS); do \
3839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3840 done; \
3841 echo "Doing install-info in opcodes" ; \
3842 (cd opcodes && \
3843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3845 "RANLIB=$${RANLIB}" \
3846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3847 install-info) \
3848 || exit 1
3850 @endif opcodes
3852 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3853 maybe-installcheck-opcodes:
3854 @if opcodes
3855 maybe-installcheck-opcodes: installcheck-opcodes
3857 installcheck-opcodes: \
3858 configure-opcodes
3859 @[ -f ./opcodes/Makefile ] || exit 0; \
3860 r=`${PWD_COMMAND}`; export r; \
3861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3862 $(SET_LIB_PATH) \
3863 $(HOST_EXPORTS) \
3864 for flag in $(EXTRA_HOST_FLAGS); do \
3865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3866 done; \
3867 echo "Doing installcheck in opcodes" ; \
3868 (cd opcodes && \
3869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3871 "RANLIB=$${RANLIB}" \
3872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3873 installcheck) \
3874 || exit 1
3876 @endif opcodes
3878 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3879 maybe-mostlyclean-opcodes:
3880 @if opcodes
3881 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3883 mostlyclean-opcodes:
3884 @[ -f ./opcodes/Makefile ] || exit 0; \
3885 r=`${PWD_COMMAND}`; export r; \
3886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3887 $(SET_LIB_PATH) \
3888 $(HOST_EXPORTS) \
3889 for flag in $(EXTRA_HOST_FLAGS); do \
3890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3891 done; \
3892 echo "Doing mostlyclean in opcodes" ; \
3893 (cd opcodes && \
3894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3896 "RANLIB=$${RANLIB}" \
3897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3898 mostlyclean) \
3899 || exit 1
3901 @endif opcodes
3903 .PHONY: maybe-clean-opcodes clean-opcodes
3904 maybe-clean-opcodes:
3905 @if opcodes
3906 maybe-clean-opcodes: clean-opcodes
3908 clean-opcodes:
3909 @[ -f ./opcodes/Makefile ] || exit 0; \
3910 r=`${PWD_COMMAND}`; export r; \
3911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3912 $(SET_LIB_PATH) \
3913 $(HOST_EXPORTS) \
3914 for flag in $(EXTRA_HOST_FLAGS); do \
3915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3916 done; \
3917 echo "Doing clean in opcodes" ; \
3918 (cd opcodes && \
3919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3921 "RANLIB=$${RANLIB}" \
3922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3923 clean) \
3924 || exit 1
3926 @endif opcodes
3928 .PHONY: maybe-distclean-opcodes distclean-opcodes
3929 maybe-distclean-opcodes:
3930 @if opcodes
3931 maybe-distclean-opcodes: distclean-opcodes
3933 distclean-opcodes:
3934 @[ -f ./opcodes/Makefile ] || exit 0; \
3935 r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3937 $(SET_LIB_PATH) \
3938 $(HOST_EXPORTS) \
3939 for flag in $(EXTRA_HOST_FLAGS); do \
3940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3941 done; \
3942 echo "Doing distclean in opcodes" ; \
3943 (cd opcodes && \
3944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3946 "RANLIB=$${RANLIB}" \
3947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3948 distclean) \
3949 || exit 1
3951 @endif opcodes
3953 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3954 maybe-maintainer-clean-opcodes:
3955 @if opcodes
3956 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3958 maintainer-clean-opcodes:
3959 @[ -f ./opcodes/Makefile ] || exit 0; \
3960 r=`${PWD_COMMAND}`; export r; \
3961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3962 $(SET_LIB_PATH) \
3963 $(HOST_EXPORTS) \
3964 for flag in $(EXTRA_HOST_FLAGS); do \
3965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3966 done; \
3967 echo "Doing maintainer-clean in opcodes" ; \
3968 (cd opcodes && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3971 "RANLIB=$${RANLIB}" \
3972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3973 maintainer-clean) \
3974 || exit 1
3976 @endif opcodes
3979 .PHONY: configure-binutils maybe-configure-binutils
3980 maybe-configure-binutils:
3981 @if binutils
3982 maybe-configure-binutils: configure-binutils
3983 configure-binutils:
3984 @test ! -f binutils/Makefile || exit 0; \
3985 [ -d binutils ] || mkdir binutils; \
3986 r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 $(HOST_EXPORTS) \
3989 echo Configuring in binutils; \
3990 cd binutils || exit 1; \
3991 case $(srcdir) in \
3992 \.) \
3993 srcdiroption="--srcdir=."; \
3994 libsrcdir=".";; \
3995 /* | [A-Za-z]:[\\/]*) \
3996 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3997 libsrcdir="$$s/binutils";; \
3998 *) \
3999 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4000 libsrcdir="$$s/binutils";; \
4001 esac; \
4002 $(SHELL) $${libsrcdir}/configure \
4003 $(HOST_CONFIGARGS) $${srcdiroption} \
4004 || exit 1
4005 @endif binutils
4007 .PHONY: all-binutils maybe-all-binutils
4008 maybe-all-binutils:
4009 @if binutils
4010 maybe-all-binutils: all-binutils
4011 all-binutils: configure-binutils
4012 @r=`${PWD_COMMAND}`; export r; \
4013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 $(SET_LIB_PATH) \
4015 $(HOST_EXPORTS) \
4016 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4017 @endif binutils
4019 .PHONY: check-binutils maybe-check-binutils
4020 maybe-check-binutils:
4021 @if binutils
4022 maybe-check-binutils: check-binutils
4024 check-binutils:
4025 @r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(SET_LIB_PATH) \
4028 $(HOST_EXPORTS) \
4029 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4031 @endif binutils
4033 .PHONY: install-binutils maybe-install-binutils
4034 maybe-install-binutils:
4035 @if binutils
4036 maybe-install-binutils: install-binutils
4038 install-binutils: installdirs
4039 @r=`${PWD_COMMAND}`; export r; \
4040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4041 $(SET_LIB_PATH) \
4042 $(HOST_EXPORTS) \
4043 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4045 @endif binutils
4047 # Other targets (info, dvi, etc.)
4049 .PHONY: maybe-info-binutils info-binutils
4050 maybe-info-binutils:
4051 @if binutils
4052 maybe-info-binutils: info-binutils
4054 info-binutils: \
4055 configure-binutils
4056 @[ -f ./binutils/Makefile ] || exit 0; \
4057 r=`${PWD_COMMAND}`; export r; \
4058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4059 $(SET_LIB_PATH) \
4060 $(HOST_EXPORTS) \
4061 for flag in $(EXTRA_HOST_FLAGS); do \
4062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4063 done; \
4064 echo "Doing info in binutils" ; \
4065 (cd binutils && \
4066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4068 "RANLIB=$${RANLIB}" \
4069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4070 info) \
4071 || exit 1
4073 @endif binutils
4075 .PHONY: maybe-dvi-binutils dvi-binutils
4076 maybe-dvi-binutils:
4077 @if binutils
4078 maybe-dvi-binutils: dvi-binutils
4080 dvi-binutils: \
4081 configure-binutils
4082 @[ -f ./binutils/Makefile ] || exit 0; \
4083 r=`${PWD_COMMAND}`; export r; \
4084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4085 $(SET_LIB_PATH) \
4086 $(HOST_EXPORTS) \
4087 for flag in $(EXTRA_HOST_FLAGS); do \
4088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4089 done; \
4090 echo "Doing dvi in binutils" ; \
4091 (cd binutils && \
4092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4094 "RANLIB=$${RANLIB}" \
4095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4096 dvi) \
4097 || exit 1
4099 @endif binutils
4101 .PHONY: maybe-TAGS-binutils TAGS-binutils
4102 maybe-TAGS-binutils:
4103 @if binutils
4104 maybe-TAGS-binutils: TAGS-binutils
4106 TAGS-binutils: \
4107 configure-binutils
4108 @[ -f ./binutils/Makefile ] || exit 0; \
4109 r=`${PWD_COMMAND}`; export r; \
4110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 $(SET_LIB_PATH) \
4112 $(HOST_EXPORTS) \
4113 for flag in $(EXTRA_HOST_FLAGS); do \
4114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4115 done; \
4116 echo "Doing TAGS in binutils" ; \
4117 (cd binutils && \
4118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4120 "RANLIB=$${RANLIB}" \
4121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4122 TAGS) \
4123 || exit 1
4125 @endif binutils
4127 .PHONY: maybe-install-info-binutils install-info-binutils
4128 maybe-install-info-binutils:
4129 @if binutils
4130 maybe-install-info-binutils: install-info-binutils
4132 install-info-binutils: \
4133 configure-binutils \
4134 info-binutils
4135 @[ -f ./binutils/Makefile ] || exit 0; \
4136 r=`${PWD_COMMAND}`; export r; \
4137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4138 $(SET_LIB_PATH) \
4139 $(HOST_EXPORTS) \
4140 for flag in $(EXTRA_HOST_FLAGS); do \
4141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4142 done; \
4143 echo "Doing install-info in binutils" ; \
4144 (cd binutils && \
4145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4147 "RANLIB=$${RANLIB}" \
4148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4149 install-info) \
4150 || exit 1
4152 @endif binutils
4154 .PHONY: maybe-installcheck-binutils installcheck-binutils
4155 maybe-installcheck-binutils:
4156 @if binutils
4157 maybe-installcheck-binutils: installcheck-binutils
4159 installcheck-binutils: \
4160 configure-binutils
4161 @[ -f ./binutils/Makefile ] || exit 0; \
4162 r=`${PWD_COMMAND}`; export r; \
4163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4164 $(SET_LIB_PATH) \
4165 $(HOST_EXPORTS) \
4166 for flag in $(EXTRA_HOST_FLAGS); do \
4167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4168 done; \
4169 echo "Doing installcheck in binutils" ; \
4170 (cd binutils && \
4171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4173 "RANLIB=$${RANLIB}" \
4174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4175 installcheck) \
4176 || exit 1
4178 @endif binutils
4180 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4181 maybe-mostlyclean-binutils:
4182 @if binutils
4183 maybe-mostlyclean-binutils: mostlyclean-binutils
4185 mostlyclean-binutils:
4186 @[ -f ./binutils/Makefile ] || exit 0; \
4187 r=`${PWD_COMMAND}`; export r; \
4188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4189 $(SET_LIB_PATH) \
4190 $(HOST_EXPORTS) \
4191 for flag in $(EXTRA_HOST_FLAGS); do \
4192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4193 done; \
4194 echo "Doing mostlyclean in binutils" ; \
4195 (cd binutils && \
4196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4198 "RANLIB=$${RANLIB}" \
4199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4200 mostlyclean) \
4201 || exit 1
4203 @endif binutils
4205 .PHONY: maybe-clean-binutils clean-binutils
4206 maybe-clean-binutils:
4207 @if binutils
4208 maybe-clean-binutils: clean-binutils
4210 clean-binutils:
4211 @[ -f ./binutils/Makefile ] || exit 0; \
4212 r=`${PWD_COMMAND}`; export r; \
4213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4214 $(SET_LIB_PATH) \
4215 $(HOST_EXPORTS) \
4216 for flag in $(EXTRA_HOST_FLAGS); do \
4217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4218 done; \
4219 echo "Doing clean in binutils" ; \
4220 (cd binutils && \
4221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223 "RANLIB=$${RANLIB}" \
4224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225 clean) \
4226 || exit 1
4228 @endif binutils
4230 .PHONY: maybe-distclean-binutils distclean-binutils
4231 maybe-distclean-binutils:
4232 @if binutils
4233 maybe-distclean-binutils: distclean-binutils
4235 distclean-binutils:
4236 @[ -f ./binutils/Makefile ] || exit 0; \
4237 r=`${PWD_COMMAND}`; export r; \
4238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4239 $(SET_LIB_PATH) \
4240 $(HOST_EXPORTS) \
4241 for flag in $(EXTRA_HOST_FLAGS); do \
4242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4243 done; \
4244 echo "Doing distclean in binutils" ; \
4245 (cd binutils && \
4246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4248 "RANLIB=$${RANLIB}" \
4249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4250 distclean) \
4251 || exit 1
4253 @endif binutils
4255 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4256 maybe-maintainer-clean-binutils:
4257 @if binutils
4258 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4260 maintainer-clean-binutils:
4261 @[ -f ./binutils/Makefile ] || exit 0; \
4262 r=`${PWD_COMMAND}`; export r; \
4263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4264 $(SET_LIB_PATH) \
4265 $(HOST_EXPORTS) \
4266 for flag in $(EXTRA_HOST_FLAGS); do \
4267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4268 done; \
4269 echo "Doing maintainer-clean in binutils" ; \
4270 (cd binutils && \
4271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4273 "RANLIB=$${RANLIB}" \
4274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4275 maintainer-clean) \
4276 || exit 1
4278 @endif binutils
4281 .PHONY: configure-bison maybe-configure-bison
4282 maybe-configure-bison:
4283 @if bison
4284 maybe-configure-bison: configure-bison
4285 configure-bison:
4286 @test ! -f bison/Makefile || exit 0; \
4287 [ -d bison ] || mkdir bison; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4290 $(HOST_EXPORTS) \
4291 echo Configuring in bison; \
4292 cd bison || exit 1; \
4293 case $(srcdir) in \
4294 \.) \
4295 srcdiroption="--srcdir=."; \
4296 libsrcdir=".";; \
4297 /* | [A-Za-z]:[\\/]*) \
4298 srcdiroption="--srcdir=$(srcdir)/bison"; \
4299 libsrcdir="$$s/bison";; \
4300 *) \
4301 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4302 libsrcdir="$$s/bison";; \
4303 esac; \
4304 $(SHELL) $${libsrcdir}/configure \
4305 $(HOST_CONFIGARGS) $${srcdiroption} \
4306 || exit 1
4307 @endif bison
4309 .PHONY: all-bison maybe-all-bison
4310 maybe-all-bison:
4311 @if bison
4312 maybe-all-bison: all-bison
4313 all-bison: configure-bison
4314 @r=`${PWD_COMMAND}`; export r; \
4315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4316 $(SET_LIB_PATH) \
4317 $(HOST_EXPORTS) \
4318 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4319 @endif bison
4321 .PHONY: check-bison maybe-check-bison
4322 maybe-check-bison:
4323 @if bison
4324 maybe-check-bison: check-bison
4326 # This module is only tested in a native toolchain.
4327 check-bison:
4328 @if [ '$(host)' = '$(target)' ] ; then \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(SET_LIB_PATH) \
4332 $(HOST_EXPORTS) \
4333 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4336 @endif bison
4338 .PHONY: install-bison maybe-install-bison
4339 maybe-install-bison:
4340 @if bison
4341 maybe-install-bison: install-bison
4343 install-bison: installdirs
4344 @r=`${PWD_COMMAND}`; export r; \
4345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4346 $(SET_LIB_PATH) \
4347 $(HOST_EXPORTS) \
4348 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4350 @endif bison
4352 # Other targets (info, dvi, etc.)
4354 .PHONY: maybe-info-bison info-bison
4355 maybe-info-bison:
4356 @if bison
4357 maybe-info-bison: info-bison
4359 info-bison: \
4360 configure-bison
4361 @[ -f ./bison/Makefile ] || exit 0; \
4362 r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(SET_LIB_PATH) \
4365 $(HOST_EXPORTS) \
4366 for flag in $(EXTRA_HOST_FLAGS); do \
4367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4368 done; \
4369 echo "Doing info in bison" ; \
4370 (cd bison && \
4371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373 "RANLIB=$${RANLIB}" \
4374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4375 info) \
4376 || exit 1
4378 @endif bison
4380 .PHONY: maybe-dvi-bison dvi-bison
4381 maybe-dvi-bison:
4382 @if bison
4383 maybe-dvi-bison: dvi-bison
4385 dvi-bison: \
4386 configure-bison
4387 @[ -f ./bison/Makefile ] || exit 0; \
4388 r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4390 $(SET_LIB_PATH) \
4391 $(HOST_EXPORTS) \
4392 for flag in $(EXTRA_HOST_FLAGS); do \
4393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4394 done; \
4395 echo "Doing dvi in bison" ; \
4396 (cd bison && \
4397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4399 "RANLIB=$${RANLIB}" \
4400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4401 dvi) \
4402 || exit 1
4404 @endif bison
4406 .PHONY: maybe-TAGS-bison TAGS-bison
4407 maybe-TAGS-bison:
4408 @if bison
4409 maybe-TAGS-bison: TAGS-bison
4411 TAGS-bison: \
4412 configure-bison
4413 @[ -f ./bison/Makefile ] || exit 0; \
4414 r=`${PWD_COMMAND}`; export r; \
4415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4416 $(SET_LIB_PATH) \
4417 $(HOST_EXPORTS) \
4418 for flag in $(EXTRA_HOST_FLAGS); do \
4419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4420 done; \
4421 echo "Doing TAGS in bison" ; \
4422 (cd bison && \
4423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4425 "RANLIB=$${RANLIB}" \
4426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4427 TAGS) \
4428 || exit 1
4430 @endif bison
4432 .PHONY: maybe-install-info-bison install-info-bison
4433 maybe-install-info-bison:
4434 @if bison
4435 maybe-install-info-bison: install-info-bison
4437 install-info-bison: \
4438 configure-bison \
4439 info-bison
4440 @[ -f ./bison/Makefile ] || exit 0; \
4441 r=`${PWD_COMMAND}`; export r; \
4442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443 $(SET_LIB_PATH) \
4444 $(HOST_EXPORTS) \
4445 for flag in $(EXTRA_HOST_FLAGS); do \
4446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4447 done; \
4448 echo "Doing install-info in bison" ; \
4449 (cd bison && \
4450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4452 "RANLIB=$${RANLIB}" \
4453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4454 install-info) \
4455 || exit 1
4457 @endif bison
4459 .PHONY: maybe-installcheck-bison installcheck-bison
4460 maybe-installcheck-bison:
4461 @if bison
4462 maybe-installcheck-bison: installcheck-bison
4464 installcheck-bison: \
4465 configure-bison
4466 @[ -f ./bison/Makefile ] || exit 0; \
4467 r=`${PWD_COMMAND}`; export r; \
4468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4469 $(SET_LIB_PATH) \
4470 $(HOST_EXPORTS) \
4471 for flag in $(EXTRA_HOST_FLAGS); do \
4472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4473 done; \
4474 echo "Doing installcheck in bison" ; \
4475 (cd bison && \
4476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4478 "RANLIB=$${RANLIB}" \
4479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4480 installcheck) \
4481 || exit 1
4483 @endif bison
4485 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4486 maybe-mostlyclean-bison:
4487 @if bison
4488 maybe-mostlyclean-bison: mostlyclean-bison
4490 mostlyclean-bison:
4491 @[ -f ./bison/Makefile ] || exit 0; \
4492 r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(SET_LIB_PATH) \
4495 $(HOST_EXPORTS) \
4496 for flag in $(EXTRA_HOST_FLAGS); do \
4497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4498 done; \
4499 echo "Doing mostlyclean in bison" ; \
4500 (cd bison && \
4501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4503 "RANLIB=$${RANLIB}" \
4504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4505 mostlyclean) \
4506 || exit 1
4508 @endif bison
4510 .PHONY: maybe-clean-bison clean-bison
4511 maybe-clean-bison:
4512 @if bison
4513 maybe-clean-bison: clean-bison
4515 clean-bison:
4516 @[ -f ./bison/Makefile ] || exit 0; \
4517 r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(SET_LIB_PATH) \
4520 $(HOST_EXPORTS) \
4521 for flag in $(EXTRA_HOST_FLAGS); do \
4522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4523 done; \
4524 echo "Doing clean in bison" ; \
4525 (cd bison && \
4526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4528 "RANLIB=$${RANLIB}" \
4529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4530 clean) \
4531 || exit 1
4533 @endif bison
4535 .PHONY: maybe-distclean-bison distclean-bison
4536 maybe-distclean-bison:
4537 @if bison
4538 maybe-distclean-bison: distclean-bison
4540 distclean-bison:
4541 @[ -f ./bison/Makefile ] || exit 0; \
4542 r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 $(SET_LIB_PATH) \
4545 $(HOST_EXPORTS) \
4546 for flag in $(EXTRA_HOST_FLAGS); do \
4547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 done; \
4549 echo "Doing distclean in bison" ; \
4550 (cd bison && \
4551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4553 "RANLIB=$${RANLIB}" \
4554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4555 distclean) \
4556 || exit 1
4558 @endif bison
4560 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4561 maybe-maintainer-clean-bison:
4562 @if bison
4563 maybe-maintainer-clean-bison: maintainer-clean-bison
4565 maintainer-clean-bison:
4566 @[ -f ./bison/Makefile ] || exit 0; \
4567 r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 $(SET_LIB_PATH) \
4570 $(HOST_EXPORTS) \
4571 for flag in $(EXTRA_HOST_FLAGS); do \
4572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4573 done; \
4574 echo "Doing maintainer-clean in bison" ; \
4575 (cd bison && \
4576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4578 "RANLIB=$${RANLIB}" \
4579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4580 maintainer-clean) \
4581 || exit 1
4583 @endif bison
4586 .PHONY: configure-byacc maybe-configure-byacc
4587 maybe-configure-byacc:
4588 @if byacc
4589 maybe-configure-byacc: configure-byacc
4590 configure-byacc:
4591 @test ! -f byacc/Makefile || exit 0; \
4592 [ -d byacc ] || mkdir byacc; \
4593 r=`${PWD_COMMAND}`; export r; \
4594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4595 $(HOST_EXPORTS) \
4596 echo Configuring in byacc; \
4597 cd byacc || exit 1; \
4598 case $(srcdir) in \
4599 \.) \
4600 srcdiroption="--srcdir=."; \
4601 libsrcdir=".";; \
4602 /* | [A-Za-z]:[\\/]*) \
4603 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4604 libsrcdir="$$s/byacc";; \
4605 *) \
4606 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4607 libsrcdir="$$s/byacc";; \
4608 esac; \
4609 $(SHELL) $${libsrcdir}/configure \
4610 $(HOST_CONFIGARGS) $${srcdiroption} \
4611 || exit 1
4612 @endif byacc
4614 .PHONY: all-byacc maybe-all-byacc
4615 maybe-all-byacc:
4616 @if byacc
4617 maybe-all-byacc: all-byacc
4618 all-byacc: configure-byacc
4619 @r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4621 $(SET_LIB_PATH) \
4622 $(HOST_EXPORTS) \
4623 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4624 @endif byacc
4626 .PHONY: check-byacc maybe-check-byacc
4627 maybe-check-byacc:
4628 @if byacc
4629 maybe-check-byacc: check-byacc
4631 # This module is only tested in a native toolchain.
4632 check-byacc:
4633 @if [ '$(host)' = '$(target)' ] ; then \
4634 r=`${PWD_COMMAND}`; export r; \
4635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4636 $(SET_LIB_PATH) \
4637 $(HOST_EXPORTS) \
4638 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4641 @endif byacc
4643 .PHONY: install-byacc maybe-install-byacc
4644 maybe-install-byacc:
4645 @if byacc
4646 maybe-install-byacc: install-byacc
4648 install-byacc: installdirs
4649 @r=`${PWD_COMMAND}`; export r; \
4650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4651 $(SET_LIB_PATH) \
4652 $(HOST_EXPORTS) \
4653 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4655 @endif byacc
4657 # Other targets (info, dvi, etc.)
4659 .PHONY: maybe-info-byacc info-byacc
4660 maybe-info-byacc:
4661 @if byacc
4662 maybe-info-byacc: info-byacc
4664 info-byacc: \
4665 configure-byacc
4666 @[ -f ./byacc/Makefile ] || exit 0; \
4667 r=`${PWD_COMMAND}`; export r; \
4668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4669 $(SET_LIB_PATH) \
4670 $(HOST_EXPORTS) \
4671 for flag in $(EXTRA_HOST_FLAGS); do \
4672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4673 done; \
4674 echo "Doing info in byacc" ; \
4675 (cd byacc && \
4676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4678 "RANLIB=$${RANLIB}" \
4679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4680 info) \
4681 || exit 1
4683 @endif byacc
4685 .PHONY: maybe-dvi-byacc dvi-byacc
4686 maybe-dvi-byacc:
4687 @if byacc
4688 maybe-dvi-byacc: dvi-byacc
4690 dvi-byacc: \
4691 configure-byacc
4692 @[ -f ./byacc/Makefile ] || exit 0; \
4693 r=`${PWD_COMMAND}`; export r; \
4694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4695 $(SET_LIB_PATH) \
4696 $(HOST_EXPORTS) \
4697 for flag in $(EXTRA_HOST_FLAGS); do \
4698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4699 done; \
4700 echo "Doing dvi in byacc" ; \
4701 (cd byacc && \
4702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4704 "RANLIB=$${RANLIB}" \
4705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4706 dvi) \
4707 || exit 1
4709 @endif byacc
4711 .PHONY: maybe-TAGS-byacc TAGS-byacc
4712 maybe-TAGS-byacc:
4713 @if byacc
4714 maybe-TAGS-byacc: TAGS-byacc
4716 TAGS-byacc: \
4717 configure-byacc
4718 @[ -f ./byacc/Makefile ] || exit 0; \
4719 r=`${PWD_COMMAND}`; export r; \
4720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4721 $(SET_LIB_PATH) \
4722 $(HOST_EXPORTS) \
4723 for flag in $(EXTRA_HOST_FLAGS); do \
4724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4725 done; \
4726 echo "Doing TAGS in byacc" ; \
4727 (cd byacc && \
4728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4730 "RANLIB=$${RANLIB}" \
4731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4732 TAGS) \
4733 || exit 1
4735 @endif byacc
4737 .PHONY: maybe-install-info-byacc install-info-byacc
4738 maybe-install-info-byacc:
4739 @if byacc
4740 maybe-install-info-byacc: install-info-byacc
4742 install-info-byacc: \
4743 configure-byacc \
4744 info-byacc
4745 @[ -f ./byacc/Makefile ] || exit 0; \
4746 r=`${PWD_COMMAND}`; export r; \
4747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4748 $(SET_LIB_PATH) \
4749 $(HOST_EXPORTS) \
4750 for flag in $(EXTRA_HOST_FLAGS); do \
4751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4752 done; \
4753 echo "Doing install-info in byacc" ; \
4754 (cd byacc && \
4755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4757 "RANLIB=$${RANLIB}" \
4758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4759 install-info) \
4760 || exit 1
4762 @endif byacc
4764 .PHONY: maybe-installcheck-byacc installcheck-byacc
4765 maybe-installcheck-byacc:
4766 @if byacc
4767 maybe-installcheck-byacc: installcheck-byacc
4769 installcheck-byacc: \
4770 configure-byacc
4771 @[ -f ./byacc/Makefile ] || exit 0; \
4772 r=`${PWD_COMMAND}`; export r; \
4773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4774 $(SET_LIB_PATH) \
4775 $(HOST_EXPORTS) \
4776 for flag in $(EXTRA_HOST_FLAGS); do \
4777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4778 done; \
4779 echo "Doing installcheck in byacc" ; \
4780 (cd byacc && \
4781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4783 "RANLIB=$${RANLIB}" \
4784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4785 installcheck) \
4786 || exit 1
4788 @endif byacc
4790 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4791 maybe-mostlyclean-byacc:
4792 @if byacc
4793 maybe-mostlyclean-byacc: mostlyclean-byacc
4795 mostlyclean-byacc:
4796 @[ -f ./byacc/Makefile ] || exit 0; \
4797 r=`${PWD_COMMAND}`; export r; \
4798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4799 $(SET_LIB_PATH) \
4800 $(HOST_EXPORTS) \
4801 for flag in $(EXTRA_HOST_FLAGS); do \
4802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4803 done; \
4804 echo "Doing mostlyclean in byacc" ; \
4805 (cd byacc && \
4806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4808 "RANLIB=$${RANLIB}" \
4809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4810 mostlyclean) \
4811 || exit 1
4813 @endif byacc
4815 .PHONY: maybe-clean-byacc clean-byacc
4816 maybe-clean-byacc:
4817 @if byacc
4818 maybe-clean-byacc: clean-byacc
4820 clean-byacc:
4821 @[ -f ./byacc/Makefile ] || exit 0; \
4822 r=`${PWD_COMMAND}`; export r; \
4823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 $(SET_LIB_PATH) \
4825 $(HOST_EXPORTS) \
4826 for flag in $(EXTRA_HOST_FLAGS); do \
4827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4828 done; \
4829 echo "Doing clean in byacc" ; \
4830 (cd byacc && \
4831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4833 "RANLIB=$${RANLIB}" \
4834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4835 clean) \
4836 || exit 1
4838 @endif byacc
4840 .PHONY: maybe-distclean-byacc distclean-byacc
4841 maybe-distclean-byacc:
4842 @if byacc
4843 maybe-distclean-byacc: distclean-byacc
4845 distclean-byacc:
4846 @[ -f ./byacc/Makefile ] || exit 0; \
4847 r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 $(SET_LIB_PATH) \
4850 $(HOST_EXPORTS) \
4851 for flag in $(EXTRA_HOST_FLAGS); do \
4852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4853 done; \
4854 echo "Doing distclean in byacc" ; \
4855 (cd byacc && \
4856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4858 "RANLIB=$${RANLIB}" \
4859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4860 distclean) \
4861 || exit 1
4863 @endif byacc
4865 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4866 maybe-maintainer-clean-byacc:
4867 @if byacc
4868 maybe-maintainer-clean-byacc: maintainer-clean-byacc
4870 maintainer-clean-byacc:
4871 @[ -f ./byacc/Makefile ] || exit 0; \
4872 r=`${PWD_COMMAND}`; export r; \
4873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4874 $(SET_LIB_PATH) \
4875 $(HOST_EXPORTS) \
4876 for flag in $(EXTRA_HOST_FLAGS); do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 done; \
4879 echo "Doing maintainer-clean in byacc" ; \
4880 (cd byacc && \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4885 maintainer-clean) \
4886 || exit 1
4888 @endif byacc
4891 .PHONY: configure-bzip2 maybe-configure-bzip2
4892 maybe-configure-bzip2:
4893 @if bzip2
4894 maybe-configure-bzip2: configure-bzip2
4895 configure-bzip2:
4896 @test ! -f bzip2/Makefile || exit 0; \
4897 [ -d bzip2 ] || mkdir bzip2; \
4898 r=`${PWD_COMMAND}`; export r; \
4899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 $(HOST_EXPORTS) \
4901 echo Configuring in bzip2; \
4902 cd bzip2 || exit 1; \
4903 case $(srcdir) in \
4904 \.) \
4905 srcdiroption="--srcdir=."; \
4906 libsrcdir=".";; \
4907 /* | [A-Za-z]:[\\/]*) \
4908 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4909 libsrcdir="$$s/bzip2";; \
4910 *) \
4911 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4912 libsrcdir="$$s/bzip2";; \
4913 esac; \
4914 $(SHELL) $${libsrcdir}/configure \
4915 $(HOST_CONFIGARGS) $${srcdiroption} \
4916 || exit 1
4917 @endif bzip2
4919 .PHONY: all-bzip2 maybe-all-bzip2
4920 maybe-all-bzip2:
4921 @if bzip2
4922 maybe-all-bzip2: all-bzip2
4923 all-bzip2: configure-bzip2
4924 @r=`${PWD_COMMAND}`; export r; \
4925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 $(SET_LIB_PATH) \
4927 $(HOST_EXPORTS) \
4928 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4929 @endif bzip2
4931 .PHONY: check-bzip2 maybe-check-bzip2
4932 maybe-check-bzip2:
4933 @if bzip2
4934 maybe-check-bzip2: check-bzip2
4936 check-bzip2:
4937 @r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 $(SET_LIB_PATH) \
4940 $(HOST_EXPORTS) \
4941 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4943 @endif bzip2
4945 .PHONY: install-bzip2 maybe-install-bzip2
4946 maybe-install-bzip2:
4947 @if bzip2
4948 maybe-install-bzip2: install-bzip2
4950 install-bzip2: installdirs
4951 @r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4953 $(SET_LIB_PATH) \
4954 $(HOST_EXPORTS) \
4955 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4957 @endif bzip2
4959 # Other targets (info, dvi, etc.)
4961 .PHONY: maybe-info-bzip2 info-bzip2
4962 maybe-info-bzip2:
4963 @if bzip2
4964 maybe-info-bzip2: info-bzip2
4966 info-bzip2: \
4967 configure-bzip2
4968 @[ -f ./bzip2/Makefile ] || exit 0; \
4969 r=`${PWD_COMMAND}`; export r; \
4970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4971 $(SET_LIB_PATH) \
4972 $(HOST_EXPORTS) \
4973 for flag in $(EXTRA_HOST_FLAGS); do \
4974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4975 done; \
4976 echo "Doing info in bzip2" ; \
4977 (cd bzip2 && \
4978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4980 "RANLIB=$${RANLIB}" \
4981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4982 info) \
4983 || exit 1
4985 @endif bzip2
4987 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4988 maybe-dvi-bzip2:
4989 @if bzip2
4990 maybe-dvi-bzip2: dvi-bzip2
4992 dvi-bzip2: \
4993 configure-bzip2
4994 @[ -f ./bzip2/Makefile ] || exit 0; \
4995 r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4997 $(SET_LIB_PATH) \
4998 $(HOST_EXPORTS) \
4999 for flag in $(EXTRA_HOST_FLAGS); do \
5000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5001 done; \
5002 echo "Doing dvi in bzip2" ; \
5003 (cd bzip2 && \
5004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5006 "RANLIB=$${RANLIB}" \
5007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5008 dvi) \
5009 || exit 1
5011 @endif bzip2
5013 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5014 maybe-TAGS-bzip2:
5015 @if bzip2
5016 maybe-TAGS-bzip2: TAGS-bzip2
5018 TAGS-bzip2: \
5019 configure-bzip2
5020 @[ -f ./bzip2/Makefile ] || exit 0; \
5021 r=`${PWD_COMMAND}`; export r; \
5022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023 $(SET_LIB_PATH) \
5024 $(HOST_EXPORTS) \
5025 for flag in $(EXTRA_HOST_FLAGS); do \
5026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 done; \
5028 echo "Doing TAGS in bzip2" ; \
5029 (cd bzip2 && \
5030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5032 "RANLIB=$${RANLIB}" \
5033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5034 TAGS) \
5035 || exit 1
5037 @endif bzip2
5039 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5040 maybe-install-info-bzip2:
5041 @if bzip2
5042 maybe-install-info-bzip2: install-info-bzip2
5044 install-info-bzip2: \
5045 configure-bzip2 \
5046 info-bzip2
5047 @[ -f ./bzip2/Makefile ] || exit 0; \
5048 r=`${PWD_COMMAND}`; export r; \
5049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5050 $(SET_LIB_PATH) \
5051 $(HOST_EXPORTS) \
5052 for flag in $(EXTRA_HOST_FLAGS); do \
5053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5054 done; \
5055 echo "Doing install-info in bzip2" ; \
5056 (cd bzip2 && \
5057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5059 "RANLIB=$${RANLIB}" \
5060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5061 install-info) \
5062 || exit 1
5064 @endif bzip2
5066 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5067 maybe-installcheck-bzip2:
5068 @if bzip2
5069 maybe-installcheck-bzip2: installcheck-bzip2
5071 installcheck-bzip2: \
5072 configure-bzip2
5073 @[ -f ./bzip2/Makefile ] || exit 0; \
5074 r=`${PWD_COMMAND}`; export r; \
5075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5076 $(SET_LIB_PATH) \
5077 $(HOST_EXPORTS) \
5078 for flag in $(EXTRA_HOST_FLAGS); do \
5079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5080 done; \
5081 echo "Doing installcheck in bzip2" ; \
5082 (cd bzip2 && \
5083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5085 "RANLIB=$${RANLIB}" \
5086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5087 installcheck) \
5088 || exit 1
5090 @endif bzip2
5092 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5093 maybe-mostlyclean-bzip2:
5094 @if bzip2
5095 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5097 mostlyclean-bzip2:
5098 @[ -f ./bzip2/Makefile ] || exit 0; \
5099 r=`${PWD_COMMAND}`; export r; \
5100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 $(SET_LIB_PATH) \
5102 $(HOST_EXPORTS) \
5103 for flag in $(EXTRA_HOST_FLAGS); do \
5104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5105 done; \
5106 echo "Doing mostlyclean in bzip2" ; \
5107 (cd bzip2 && \
5108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5110 "RANLIB=$${RANLIB}" \
5111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5112 mostlyclean) \
5113 || exit 1
5115 @endif bzip2
5117 .PHONY: maybe-clean-bzip2 clean-bzip2
5118 maybe-clean-bzip2:
5119 @if bzip2
5120 maybe-clean-bzip2: clean-bzip2
5122 clean-bzip2:
5123 @[ -f ./bzip2/Makefile ] || exit 0; \
5124 r=`${PWD_COMMAND}`; export r; \
5125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5126 $(SET_LIB_PATH) \
5127 $(HOST_EXPORTS) \
5128 for flag in $(EXTRA_HOST_FLAGS); do \
5129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5130 done; \
5131 echo "Doing clean in bzip2" ; \
5132 (cd bzip2 && \
5133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5135 "RANLIB=$${RANLIB}" \
5136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5137 clean) \
5138 || exit 1
5140 @endif bzip2
5142 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5143 maybe-distclean-bzip2:
5144 @if bzip2
5145 maybe-distclean-bzip2: distclean-bzip2
5147 distclean-bzip2:
5148 @[ -f ./bzip2/Makefile ] || exit 0; \
5149 r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(SET_LIB_PATH) \
5152 $(HOST_EXPORTS) \
5153 for flag in $(EXTRA_HOST_FLAGS); do \
5154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 done; \
5156 echo "Doing distclean in bzip2" ; \
5157 (cd bzip2 && \
5158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5160 "RANLIB=$${RANLIB}" \
5161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5162 distclean) \
5163 || exit 1
5165 @endif bzip2
5167 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5168 maybe-maintainer-clean-bzip2:
5169 @if bzip2
5170 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5172 maintainer-clean-bzip2:
5173 @[ -f ./bzip2/Makefile ] || exit 0; \
5174 r=`${PWD_COMMAND}`; export r; \
5175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5176 $(SET_LIB_PATH) \
5177 $(HOST_EXPORTS) \
5178 for flag in $(EXTRA_HOST_FLAGS); do \
5179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5180 done; \
5181 echo "Doing maintainer-clean in bzip2" ; \
5182 (cd bzip2 && \
5183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5185 "RANLIB=$${RANLIB}" \
5186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5187 maintainer-clean) \
5188 || exit 1
5190 @endif bzip2
5193 .PHONY: configure-dejagnu maybe-configure-dejagnu
5194 maybe-configure-dejagnu:
5195 @if dejagnu
5196 maybe-configure-dejagnu: configure-dejagnu
5197 configure-dejagnu:
5198 @test ! -f dejagnu/Makefile || exit 0; \
5199 [ -d dejagnu ] || mkdir dejagnu; \
5200 r=`${PWD_COMMAND}`; export r; \
5201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5202 $(HOST_EXPORTS) \
5203 echo Configuring in dejagnu; \
5204 cd dejagnu || exit 1; \
5205 case $(srcdir) in \
5206 \.) \
5207 srcdiroption="--srcdir=."; \
5208 libsrcdir=".";; \
5209 /* | [A-Za-z]:[\\/]*) \
5210 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5211 libsrcdir="$$s/dejagnu";; \
5212 *) \
5213 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5214 libsrcdir="$$s/dejagnu";; \
5215 esac; \
5216 $(SHELL) $${libsrcdir}/configure \
5217 $(HOST_CONFIGARGS) $${srcdiroption} \
5218 || exit 1
5219 @endif dejagnu
5221 .PHONY: all-dejagnu maybe-all-dejagnu
5222 maybe-all-dejagnu:
5223 @if dejagnu
5224 maybe-all-dejagnu: all-dejagnu
5225 all-dejagnu: configure-dejagnu
5226 @r=`${PWD_COMMAND}`; export r; \
5227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 $(SET_LIB_PATH) \
5229 $(HOST_EXPORTS) \
5230 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5231 @endif dejagnu
5233 .PHONY: check-dejagnu maybe-check-dejagnu
5234 maybe-check-dejagnu:
5235 @if dejagnu
5236 maybe-check-dejagnu: check-dejagnu
5238 check-dejagnu:
5239 @r=`${PWD_COMMAND}`; export r; \
5240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5241 $(SET_LIB_PATH) \
5242 $(HOST_EXPORTS) \
5243 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5245 @endif dejagnu
5247 .PHONY: install-dejagnu maybe-install-dejagnu
5248 maybe-install-dejagnu:
5249 @if dejagnu
5250 maybe-install-dejagnu: install-dejagnu
5252 install-dejagnu: installdirs
5253 @r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 $(SET_LIB_PATH) \
5256 $(HOST_EXPORTS) \
5257 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5259 @endif dejagnu
5261 # Other targets (info, dvi, etc.)
5263 .PHONY: maybe-info-dejagnu info-dejagnu
5264 maybe-info-dejagnu:
5265 @if dejagnu
5266 maybe-info-dejagnu: info-dejagnu
5268 info-dejagnu: \
5269 configure-dejagnu
5270 @[ -f ./dejagnu/Makefile ] || exit 0; \
5271 r=`${PWD_COMMAND}`; export r; \
5272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5273 $(SET_LIB_PATH) \
5274 $(HOST_EXPORTS) \
5275 for flag in $(EXTRA_HOST_FLAGS); do \
5276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5277 done; \
5278 echo "Doing info in dejagnu" ; \
5279 (cd dejagnu && \
5280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5282 "RANLIB=$${RANLIB}" \
5283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5284 info) \
5285 || exit 1
5287 @endif dejagnu
5289 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5290 maybe-dvi-dejagnu:
5291 @if dejagnu
5292 maybe-dvi-dejagnu: dvi-dejagnu
5294 dvi-dejagnu: \
5295 configure-dejagnu
5296 @[ -f ./dejagnu/Makefile ] || exit 0; \
5297 r=`${PWD_COMMAND}`; export r; \
5298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5299 $(SET_LIB_PATH) \
5300 $(HOST_EXPORTS) \
5301 for flag in $(EXTRA_HOST_FLAGS); do \
5302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5303 done; \
5304 echo "Doing dvi in dejagnu" ; \
5305 (cd dejagnu && \
5306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5308 "RANLIB=$${RANLIB}" \
5309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5310 dvi) \
5311 || exit 1
5313 @endif dejagnu
5315 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5316 maybe-TAGS-dejagnu:
5317 @if dejagnu
5318 maybe-TAGS-dejagnu: TAGS-dejagnu
5320 TAGS-dejagnu: \
5321 configure-dejagnu
5322 @[ -f ./dejagnu/Makefile ] || exit 0; \
5323 r=`${PWD_COMMAND}`; export r; \
5324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5325 $(SET_LIB_PATH) \
5326 $(HOST_EXPORTS) \
5327 for flag in $(EXTRA_HOST_FLAGS); do \
5328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5329 done; \
5330 echo "Doing TAGS in dejagnu" ; \
5331 (cd dejagnu && \
5332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5334 "RANLIB=$${RANLIB}" \
5335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5336 TAGS) \
5337 || exit 1
5339 @endif dejagnu
5341 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5342 maybe-install-info-dejagnu:
5343 @if dejagnu
5344 maybe-install-info-dejagnu: install-info-dejagnu
5346 install-info-dejagnu: \
5347 configure-dejagnu \
5348 info-dejagnu
5349 @[ -f ./dejagnu/Makefile ] || exit 0; \
5350 r=`${PWD_COMMAND}`; export r; \
5351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5352 $(SET_LIB_PATH) \
5353 $(HOST_EXPORTS) \
5354 for flag in $(EXTRA_HOST_FLAGS); do \
5355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5356 done; \
5357 echo "Doing install-info in dejagnu" ; \
5358 (cd dejagnu && \
5359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5361 "RANLIB=$${RANLIB}" \
5362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5363 install-info) \
5364 || exit 1
5366 @endif dejagnu
5368 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5369 maybe-installcheck-dejagnu:
5370 @if dejagnu
5371 maybe-installcheck-dejagnu: installcheck-dejagnu
5373 installcheck-dejagnu: \
5374 configure-dejagnu
5375 @[ -f ./dejagnu/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378 $(SET_LIB_PATH) \
5379 $(HOST_EXPORTS) \
5380 for flag in $(EXTRA_HOST_FLAGS); do \
5381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5382 done; \
5383 echo "Doing installcheck in dejagnu" ; \
5384 (cd dejagnu && \
5385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5387 "RANLIB=$${RANLIB}" \
5388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5389 installcheck) \
5390 || exit 1
5392 @endif dejagnu
5394 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5395 maybe-mostlyclean-dejagnu:
5396 @if dejagnu
5397 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5399 mostlyclean-dejagnu:
5400 @[ -f ./dejagnu/Makefile ] || exit 0; \
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5403 $(SET_LIB_PATH) \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS); do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing mostlyclean in dejagnu" ; \
5409 (cd dejagnu && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414 mostlyclean) \
5415 || exit 1
5417 @endif dejagnu
5419 .PHONY: maybe-clean-dejagnu clean-dejagnu
5420 maybe-clean-dejagnu:
5421 @if dejagnu
5422 maybe-clean-dejagnu: clean-dejagnu
5424 clean-dejagnu:
5425 @[ -f ./dejagnu/Makefile ] || exit 0; \
5426 r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 $(SET_LIB_PATH) \
5429 $(HOST_EXPORTS) \
5430 for flag in $(EXTRA_HOST_FLAGS); do \
5431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5432 done; \
5433 echo "Doing clean in dejagnu" ; \
5434 (cd dejagnu && \
5435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5437 "RANLIB=$${RANLIB}" \
5438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5439 clean) \
5440 || exit 1
5442 @endif dejagnu
5444 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5445 maybe-distclean-dejagnu:
5446 @if dejagnu
5447 maybe-distclean-dejagnu: distclean-dejagnu
5449 distclean-dejagnu:
5450 @[ -f ./dejagnu/Makefile ] || exit 0; \
5451 r=`${PWD_COMMAND}`; export r; \
5452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5453 $(SET_LIB_PATH) \
5454 $(HOST_EXPORTS) \
5455 for flag in $(EXTRA_HOST_FLAGS); do \
5456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5457 done; \
5458 echo "Doing distclean in dejagnu" ; \
5459 (cd dejagnu && \
5460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5462 "RANLIB=$${RANLIB}" \
5463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5464 distclean) \
5465 || exit 1
5467 @endif dejagnu
5469 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5470 maybe-maintainer-clean-dejagnu:
5471 @if dejagnu
5472 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5474 maintainer-clean-dejagnu:
5475 @[ -f ./dejagnu/Makefile ] || exit 0; \
5476 r=`${PWD_COMMAND}`; export r; \
5477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5478 $(SET_LIB_PATH) \
5479 $(HOST_EXPORTS) \
5480 for flag in $(EXTRA_HOST_FLAGS); do \
5481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5482 done; \
5483 echo "Doing maintainer-clean in dejagnu" ; \
5484 (cd dejagnu && \
5485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5487 "RANLIB=$${RANLIB}" \
5488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5489 maintainer-clean) \
5490 || exit 1
5492 @endif dejagnu
5495 .PHONY: configure-diff maybe-configure-diff
5496 maybe-configure-diff:
5497 @if diff
5498 maybe-configure-diff: configure-diff
5499 configure-diff:
5500 @test ! -f diff/Makefile || exit 0; \
5501 [ -d diff ] || mkdir diff; \
5502 r=`${PWD_COMMAND}`; export r; \
5503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5504 $(HOST_EXPORTS) \
5505 echo Configuring in diff; \
5506 cd diff || exit 1; \
5507 case $(srcdir) in \
5508 \.) \
5509 srcdiroption="--srcdir=."; \
5510 libsrcdir=".";; \
5511 /* | [A-Za-z]:[\\/]*) \
5512 srcdiroption="--srcdir=$(srcdir)/diff"; \
5513 libsrcdir="$$s/diff";; \
5514 *) \
5515 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5516 libsrcdir="$$s/diff";; \
5517 esac; \
5518 $(SHELL) $${libsrcdir}/configure \
5519 $(HOST_CONFIGARGS) $${srcdiroption} \
5520 || exit 1
5521 @endif diff
5523 .PHONY: all-diff maybe-all-diff
5524 maybe-all-diff:
5525 @if diff
5526 maybe-all-diff: all-diff
5527 all-diff: configure-diff
5528 @r=`${PWD_COMMAND}`; export r; \
5529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 $(SET_LIB_PATH) \
5531 $(HOST_EXPORTS) \
5532 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5533 @endif diff
5535 .PHONY: check-diff maybe-check-diff
5536 maybe-check-diff:
5537 @if diff
5538 maybe-check-diff: check-diff
5540 check-diff:
5541 @r=`${PWD_COMMAND}`; export r; \
5542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5543 $(SET_LIB_PATH) \
5544 $(HOST_EXPORTS) \
5545 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5547 @endif diff
5549 .PHONY: install-diff maybe-install-diff
5550 maybe-install-diff:
5551 @if diff
5552 maybe-install-diff: install-diff
5554 install-diff: installdirs
5555 @r=`${PWD_COMMAND}`; export r; \
5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5557 $(SET_LIB_PATH) \
5558 $(HOST_EXPORTS) \
5559 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5561 @endif diff
5563 # Other targets (info, dvi, etc.)
5565 .PHONY: maybe-info-diff info-diff
5566 maybe-info-diff:
5567 @if diff
5568 maybe-info-diff: info-diff
5570 info-diff: \
5571 configure-diff
5572 @[ -f ./diff/Makefile ] || exit 0; \
5573 r=`${PWD_COMMAND}`; export r; \
5574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5575 $(SET_LIB_PATH) \
5576 $(HOST_EXPORTS) \
5577 for flag in $(EXTRA_HOST_FLAGS); do \
5578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5579 done; \
5580 echo "Doing info in diff" ; \
5581 (cd diff && \
5582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5584 "RANLIB=$${RANLIB}" \
5585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5586 info) \
5587 || exit 1
5589 @endif diff
5591 .PHONY: maybe-dvi-diff dvi-diff
5592 maybe-dvi-diff:
5593 @if diff
5594 maybe-dvi-diff: dvi-diff
5596 dvi-diff: \
5597 configure-diff
5598 @[ -f ./diff/Makefile ] || exit 0; \
5599 r=`${PWD_COMMAND}`; export r; \
5600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5601 $(SET_LIB_PATH) \
5602 $(HOST_EXPORTS) \
5603 for flag in $(EXTRA_HOST_FLAGS); do \
5604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5605 done; \
5606 echo "Doing dvi in diff" ; \
5607 (cd diff && \
5608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5610 "RANLIB=$${RANLIB}" \
5611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5612 dvi) \
5613 || exit 1
5615 @endif diff
5617 .PHONY: maybe-TAGS-diff TAGS-diff
5618 maybe-TAGS-diff:
5619 @if diff
5620 maybe-TAGS-diff: TAGS-diff
5622 TAGS-diff: \
5623 configure-diff
5624 @[ -f ./diff/Makefile ] || exit 0; \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5627 $(SET_LIB_PATH) \
5628 $(HOST_EXPORTS) \
5629 for flag in $(EXTRA_HOST_FLAGS); do \
5630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5631 done; \
5632 echo "Doing TAGS in diff" ; \
5633 (cd diff && \
5634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5636 "RANLIB=$${RANLIB}" \
5637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5638 TAGS) \
5639 || exit 1
5641 @endif diff
5643 .PHONY: maybe-install-info-diff install-info-diff
5644 maybe-install-info-diff:
5645 @if diff
5646 maybe-install-info-diff: install-info-diff
5648 install-info-diff: \
5649 configure-diff \
5650 info-diff
5651 @[ -f ./diff/Makefile ] || exit 0; \
5652 r=`${PWD_COMMAND}`; export r; \
5653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5654 $(SET_LIB_PATH) \
5655 $(HOST_EXPORTS) \
5656 for flag in $(EXTRA_HOST_FLAGS); do \
5657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5658 done; \
5659 echo "Doing install-info in diff" ; \
5660 (cd diff && \
5661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5663 "RANLIB=$${RANLIB}" \
5664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5665 install-info) \
5666 || exit 1
5668 @endif diff
5670 .PHONY: maybe-installcheck-diff installcheck-diff
5671 maybe-installcheck-diff:
5672 @if diff
5673 maybe-installcheck-diff: installcheck-diff
5675 installcheck-diff: \
5676 configure-diff
5677 @[ -f ./diff/Makefile ] || exit 0; \
5678 r=`${PWD_COMMAND}`; export r; \
5679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5680 $(SET_LIB_PATH) \
5681 $(HOST_EXPORTS) \
5682 for flag in $(EXTRA_HOST_FLAGS); do \
5683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5684 done; \
5685 echo "Doing installcheck in diff" ; \
5686 (cd diff && \
5687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5689 "RANLIB=$${RANLIB}" \
5690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5691 installcheck) \
5692 || exit 1
5694 @endif diff
5696 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5697 maybe-mostlyclean-diff:
5698 @if diff
5699 maybe-mostlyclean-diff: mostlyclean-diff
5701 mostlyclean-diff:
5702 @[ -f ./diff/Makefile ] || exit 0; \
5703 r=`${PWD_COMMAND}`; export r; \
5704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5705 $(SET_LIB_PATH) \
5706 $(HOST_EXPORTS) \
5707 for flag in $(EXTRA_HOST_FLAGS); do \
5708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5709 done; \
5710 echo "Doing mostlyclean in diff" ; \
5711 (cd diff && \
5712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5714 "RANLIB=$${RANLIB}" \
5715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5716 mostlyclean) \
5717 || exit 1
5719 @endif diff
5721 .PHONY: maybe-clean-diff clean-diff
5722 maybe-clean-diff:
5723 @if diff
5724 maybe-clean-diff: clean-diff
5726 clean-diff:
5727 @[ -f ./diff/Makefile ] || exit 0; \
5728 r=`${PWD_COMMAND}`; export r; \
5729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5730 $(SET_LIB_PATH) \
5731 $(HOST_EXPORTS) \
5732 for flag in $(EXTRA_HOST_FLAGS); do \
5733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5734 done; \
5735 echo "Doing clean in diff" ; \
5736 (cd diff && \
5737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5739 "RANLIB=$${RANLIB}" \
5740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5741 clean) \
5742 || exit 1
5744 @endif diff
5746 .PHONY: maybe-distclean-diff distclean-diff
5747 maybe-distclean-diff:
5748 @if diff
5749 maybe-distclean-diff: distclean-diff
5751 distclean-diff:
5752 @[ -f ./diff/Makefile ] || exit 0; \
5753 r=`${PWD_COMMAND}`; export r; \
5754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5755 $(SET_LIB_PATH) \
5756 $(HOST_EXPORTS) \
5757 for flag in $(EXTRA_HOST_FLAGS); do \
5758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5759 done; \
5760 echo "Doing distclean in diff" ; \
5761 (cd diff && \
5762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5764 "RANLIB=$${RANLIB}" \
5765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5766 distclean) \
5767 || exit 1
5769 @endif diff
5771 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5772 maybe-maintainer-clean-diff:
5773 @if diff
5774 maybe-maintainer-clean-diff: maintainer-clean-diff
5776 maintainer-clean-diff:
5777 @[ -f ./diff/Makefile ] || exit 0; \
5778 r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5780 $(SET_LIB_PATH) \
5781 $(HOST_EXPORTS) \
5782 for flag in $(EXTRA_HOST_FLAGS); do \
5783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5784 done; \
5785 echo "Doing maintainer-clean in diff" ; \
5786 (cd diff && \
5787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5789 "RANLIB=$${RANLIB}" \
5790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5791 maintainer-clean) \
5792 || exit 1
5794 @endif diff
5797 .PHONY: configure-dosutils maybe-configure-dosutils
5798 maybe-configure-dosutils:
5799 @if dosutils
5800 maybe-configure-dosutils: configure-dosutils
5801 configure-dosutils:
5802 @test ! -f dosutils/Makefile || exit 0; \
5803 [ -d dosutils ] || mkdir dosutils; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 echo Configuring in dosutils; \
5808 cd dosutils || exit 1; \
5809 case $(srcdir) in \
5810 \.) \
5811 srcdiroption="--srcdir=."; \
5812 libsrcdir=".";; \
5813 /* | [A-Za-z]:[\\/]*) \
5814 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5815 libsrcdir="$$s/dosutils";; \
5816 *) \
5817 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5818 libsrcdir="$$s/dosutils";; \
5819 esac; \
5820 $(SHELL) $${libsrcdir}/configure \
5821 $(HOST_CONFIGARGS) $${srcdiroption} \
5822 || exit 1
5823 @endif dosutils
5825 .PHONY: all-dosutils maybe-all-dosutils
5826 maybe-all-dosutils:
5827 @if dosutils
5828 maybe-all-dosutils: all-dosutils
5829 all-dosutils: configure-dosutils
5830 @r=`${PWD_COMMAND}`; export r; \
5831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 $(SET_LIB_PATH) \
5833 $(HOST_EXPORTS) \
5834 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5835 @endif dosutils
5837 .PHONY: check-dosutils maybe-check-dosutils
5838 maybe-check-dosutils:
5839 @if dosutils
5840 maybe-check-dosutils: check-dosutils
5842 check-dosutils:
5844 @endif dosutils
5846 .PHONY: install-dosutils maybe-install-dosutils
5847 maybe-install-dosutils:
5848 @if dosutils
5849 maybe-install-dosutils: install-dosutils
5851 install-dosutils: installdirs
5852 @r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(SET_LIB_PATH) \
5855 $(HOST_EXPORTS) \
5856 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5858 @endif dosutils
5860 # Other targets (info, dvi, etc.)
5862 .PHONY: maybe-info-dosutils info-dosutils
5863 maybe-info-dosutils:
5864 @if dosutils
5865 maybe-info-dosutils: info-dosutils
5867 info-dosutils: \
5868 configure-dosutils
5869 @[ -f ./dosutils/Makefile ] || exit 0; \
5870 r=`${PWD_COMMAND}`; export r; \
5871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5872 $(SET_LIB_PATH) \
5873 $(HOST_EXPORTS) \
5874 for flag in $(EXTRA_HOST_FLAGS); do \
5875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5876 done; \
5877 echo "Doing info in dosutils" ; \
5878 (cd dosutils && \
5879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5881 "RANLIB=$${RANLIB}" \
5882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5883 info) \
5884 || exit 1
5886 @endif dosutils
5888 .PHONY: maybe-dvi-dosutils dvi-dosutils
5889 maybe-dvi-dosutils:
5890 @if dosutils
5891 maybe-dvi-dosutils: dvi-dosutils
5893 dvi-dosutils: \
5894 configure-dosutils
5895 @[ -f ./dosutils/Makefile ] || exit 0; \
5896 r=`${PWD_COMMAND}`; export r; \
5897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5898 $(SET_LIB_PATH) \
5899 $(HOST_EXPORTS) \
5900 for flag in $(EXTRA_HOST_FLAGS); do \
5901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5902 done; \
5903 echo "Doing dvi in dosutils" ; \
5904 (cd dosutils && \
5905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5907 "RANLIB=$${RANLIB}" \
5908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5909 dvi) \
5910 || exit 1
5912 @endif dosutils
5914 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5915 maybe-TAGS-dosutils:
5916 @if dosutils
5917 maybe-TAGS-dosutils: TAGS-dosutils
5919 TAGS-dosutils: \
5920 configure-dosutils
5921 @[ -f ./dosutils/Makefile ] || exit 0; \
5922 r=`${PWD_COMMAND}`; export r; \
5923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5924 $(SET_LIB_PATH) \
5925 $(HOST_EXPORTS) \
5926 for flag in $(EXTRA_HOST_FLAGS); do \
5927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5928 done; \
5929 echo "Doing TAGS in dosutils" ; \
5930 (cd dosutils && \
5931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5933 "RANLIB=$${RANLIB}" \
5934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5935 TAGS) \
5936 || exit 1
5938 @endif dosutils
5940 .PHONY: maybe-install-info-dosutils install-info-dosutils
5941 maybe-install-info-dosutils:
5942 @if dosutils
5943 maybe-install-info-dosutils: install-info-dosutils
5945 install-info-dosutils: \
5946 configure-dosutils \
5947 info-dosutils
5948 @[ -f ./dosutils/Makefile ] || exit 0; \
5949 r=`${PWD_COMMAND}`; export r; \
5950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5951 $(SET_LIB_PATH) \
5952 $(HOST_EXPORTS) \
5953 for flag in $(EXTRA_HOST_FLAGS); do \
5954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5955 done; \
5956 echo "Doing install-info in dosutils" ; \
5957 (cd dosutils && \
5958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5960 "RANLIB=$${RANLIB}" \
5961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5962 install-info) \
5963 || exit 1
5965 @endif dosutils
5967 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5968 maybe-installcheck-dosutils:
5969 @if dosutils
5970 maybe-installcheck-dosutils: installcheck-dosutils
5972 installcheck-dosutils: \
5973 configure-dosutils
5974 @[ -f ./dosutils/Makefile ] || exit 0; \
5975 r=`${PWD_COMMAND}`; export r; \
5976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5977 $(SET_LIB_PATH) \
5978 $(HOST_EXPORTS) \
5979 for flag in $(EXTRA_HOST_FLAGS); do \
5980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 done; \
5982 echo "Doing installcheck in dosutils" ; \
5983 (cd dosutils && \
5984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5986 "RANLIB=$${RANLIB}" \
5987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5988 installcheck) \
5989 || exit 1
5991 @endif dosutils
5993 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5994 maybe-mostlyclean-dosutils:
5995 @if dosutils
5996 maybe-mostlyclean-dosutils: mostlyclean-dosutils
5998 mostlyclean-dosutils:
5999 @[ -f ./dosutils/Makefile ] || exit 0; \
6000 r=`${PWD_COMMAND}`; export r; \
6001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6002 $(SET_LIB_PATH) \
6003 $(HOST_EXPORTS) \
6004 for flag in $(EXTRA_HOST_FLAGS); do \
6005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6006 done; \
6007 echo "Doing mostlyclean in dosutils" ; \
6008 (cd dosutils && \
6009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6011 "RANLIB=$${RANLIB}" \
6012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6013 mostlyclean) \
6014 || exit 1
6016 @endif dosutils
6018 .PHONY: maybe-clean-dosutils clean-dosutils
6019 maybe-clean-dosutils:
6020 @if dosutils
6021 maybe-clean-dosutils: clean-dosutils
6023 clean-dosutils:
6024 @[ -f ./dosutils/Makefile ] || exit 0; \
6025 r=`${PWD_COMMAND}`; export r; \
6026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6027 $(SET_LIB_PATH) \
6028 $(HOST_EXPORTS) \
6029 for flag in $(EXTRA_HOST_FLAGS); do \
6030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6031 done; \
6032 echo "Doing clean in dosutils" ; \
6033 (cd dosutils && \
6034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6036 "RANLIB=$${RANLIB}" \
6037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6038 clean) \
6039 || exit 1
6041 @endif dosutils
6043 .PHONY: maybe-distclean-dosutils distclean-dosutils
6044 maybe-distclean-dosutils:
6045 @if dosutils
6046 maybe-distclean-dosutils: distclean-dosutils
6048 distclean-dosutils:
6049 @[ -f ./dosutils/Makefile ] || exit 0; \
6050 r=`${PWD_COMMAND}`; export r; \
6051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6052 $(SET_LIB_PATH) \
6053 $(HOST_EXPORTS) \
6054 for flag in $(EXTRA_HOST_FLAGS); do \
6055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6056 done; \
6057 echo "Doing distclean in dosutils" ; \
6058 (cd dosutils && \
6059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6061 "RANLIB=$${RANLIB}" \
6062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6063 distclean) \
6064 || exit 1
6066 @endif dosutils
6068 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6069 maybe-maintainer-clean-dosutils:
6070 @if dosutils
6071 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6073 maintainer-clean-dosutils:
6074 @[ -f ./dosutils/Makefile ] || exit 0; \
6075 r=`${PWD_COMMAND}`; export r; \
6076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6077 $(SET_LIB_PATH) \
6078 $(HOST_EXPORTS) \
6079 for flag in $(EXTRA_HOST_FLAGS); do \
6080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6081 done; \
6082 echo "Doing maintainer-clean in dosutils" ; \
6083 (cd dosutils && \
6084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6086 "RANLIB=$${RANLIB}" \
6087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6088 maintainer-clean) \
6089 || exit 1
6091 @endif dosutils
6094 .PHONY: configure-etc maybe-configure-etc
6095 maybe-configure-etc:
6096 @if etc
6097 maybe-configure-etc: configure-etc
6098 configure-etc:
6099 @test ! -f etc/Makefile || exit 0; \
6100 [ -d etc ] || mkdir etc; \
6101 r=`${PWD_COMMAND}`; export r; \
6102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6103 $(HOST_EXPORTS) \
6104 echo Configuring in etc; \
6105 cd etc || exit 1; \
6106 case $(srcdir) in \
6107 \.) \
6108 srcdiroption="--srcdir=."; \
6109 libsrcdir=".";; \
6110 /* | [A-Za-z]:[\\/]*) \
6111 srcdiroption="--srcdir=$(srcdir)/etc"; \
6112 libsrcdir="$$s/etc";; \
6113 *) \
6114 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6115 libsrcdir="$$s/etc";; \
6116 esac; \
6117 $(SHELL) $${libsrcdir}/configure \
6118 $(HOST_CONFIGARGS) $${srcdiroption} \
6119 || exit 1
6120 @endif etc
6122 .PHONY: all-etc maybe-all-etc
6123 maybe-all-etc:
6124 @if etc
6125 maybe-all-etc: all-etc
6126 all-etc: configure-etc
6127 @r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 $(SET_LIB_PATH) \
6130 $(HOST_EXPORTS) \
6131 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6132 @endif etc
6134 .PHONY: check-etc maybe-check-etc
6135 maybe-check-etc:
6136 @if etc
6137 maybe-check-etc: check-etc
6139 check-etc:
6140 @r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6142 $(SET_LIB_PATH) \
6143 $(HOST_EXPORTS) \
6144 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6146 @endif etc
6148 .PHONY: install-etc maybe-install-etc
6149 maybe-install-etc:
6150 @if etc
6151 maybe-install-etc: install-etc
6153 install-etc: installdirs
6154 @r=`${PWD_COMMAND}`; export r; \
6155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 $(SET_LIB_PATH) \
6157 $(HOST_EXPORTS) \
6158 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6160 @endif etc
6162 # Other targets (info, dvi, etc.)
6164 .PHONY: maybe-info-etc info-etc
6165 maybe-info-etc:
6166 @if etc
6167 maybe-info-etc: info-etc
6169 info-etc: \
6170 configure-etc
6171 @[ -f ./etc/Makefile ] || exit 0; \
6172 r=`${PWD_COMMAND}`; export r; \
6173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6174 $(SET_LIB_PATH) \
6175 $(HOST_EXPORTS) \
6176 for flag in $(EXTRA_HOST_FLAGS); do \
6177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6178 done; \
6179 echo "Doing info in etc" ; \
6180 (cd etc && \
6181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6183 "RANLIB=$${RANLIB}" \
6184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6185 info) \
6186 || exit 1
6188 @endif etc
6190 .PHONY: maybe-dvi-etc dvi-etc
6191 maybe-dvi-etc:
6192 @if etc
6193 maybe-dvi-etc: dvi-etc
6195 dvi-etc: \
6196 configure-etc
6197 @[ -f ./etc/Makefile ] || exit 0; \
6198 r=`${PWD_COMMAND}`; export r; \
6199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6200 $(SET_LIB_PATH) \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS); do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing dvi in etc" ; \
6206 (cd etc && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211 dvi) \
6212 || exit 1
6214 @endif etc
6216 .PHONY: maybe-TAGS-etc TAGS-etc
6217 maybe-TAGS-etc:
6218 @if etc
6219 maybe-TAGS-etc: TAGS-etc
6221 TAGS-etc: \
6222 configure-etc
6223 @[ -f ./etc/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(SET_LIB_PATH) \
6227 $(HOST_EXPORTS) \
6228 for flag in $(EXTRA_HOST_FLAGS); do \
6229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 done; \
6231 echo "Doing TAGS in etc" ; \
6232 (cd etc && \
6233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6235 "RANLIB=$${RANLIB}" \
6236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6237 TAGS) \
6238 || exit 1
6240 @endif etc
6242 .PHONY: maybe-install-info-etc install-info-etc
6243 maybe-install-info-etc:
6244 @if etc
6245 maybe-install-info-etc: install-info-etc
6247 install-info-etc: \
6248 configure-etc \
6249 info-etc
6250 @[ -f ./etc/Makefile ] || exit 0; \
6251 r=`${PWD_COMMAND}`; export r; \
6252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6253 $(SET_LIB_PATH) \
6254 $(HOST_EXPORTS) \
6255 for flag in $(EXTRA_HOST_FLAGS); do \
6256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6257 done; \
6258 echo "Doing install-info in etc" ; \
6259 (cd etc && \
6260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6262 "RANLIB=$${RANLIB}" \
6263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6264 install-info) \
6265 || exit 1
6267 @endif etc
6269 .PHONY: maybe-installcheck-etc installcheck-etc
6270 maybe-installcheck-etc:
6271 @if etc
6272 maybe-installcheck-etc: installcheck-etc
6274 installcheck-etc: \
6275 configure-etc
6276 @[ -f ./etc/Makefile ] || exit 0; \
6277 r=`${PWD_COMMAND}`; export r; \
6278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6279 $(SET_LIB_PATH) \
6280 $(HOST_EXPORTS) \
6281 for flag in $(EXTRA_HOST_FLAGS); do \
6282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6283 done; \
6284 echo "Doing installcheck in etc" ; \
6285 (cd etc && \
6286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6288 "RANLIB=$${RANLIB}" \
6289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6290 installcheck) \
6291 || exit 1
6293 @endif etc
6295 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6296 maybe-mostlyclean-etc:
6297 @if etc
6298 maybe-mostlyclean-etc: mostlyclean-etc
6300 mostlyclean-etc:
6301 @[ -f ./etc/Makefile ] || exit 0; \
6302 r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304 $(SET_LIB_PATH) \
6305 $(HOST_EXPORTS) \
6306 for flag in $(EXTRA_HOST_FLAGS); do \
6307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308 done; \
6309 echo "Doing mostlyclean in etc" ; \
6310 (cd etc && \
6311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313 "RANLIB=$${RANLIB}" \
6314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6315 mostlyclean) \
6316 || exit 1
6318 @endif etc
6320 .PHONY: maybe-clean-etc clean-etc
6321 maybe-clean-etc:
6322 @if etc
6323 maybe-clean-etc: clean-etc
6325 clean-etc:
6326 @[ -f ./etc/Makefile ] || exit 0; \
6327 r=`${PWD_COMMAND}`; export r; \
6328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6329 $(SET_LIB_PATH) \
6330 $(HOST_EXPORTS) \
6331 for flag in $(EXTRA_HOST_FLAGS); do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333 done; \
6334 echo "Doing clean in etc" ; \
6335 (cd etc && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6340 clean) \
6341 || exit 1
6343 @endif etc
6345 .PHONY: maybe-distclean-etc distclean-etc
6346 maybe-distclean-etc:
6347 @if etc
6348 maybe-distclean-etc: distclean-etc
6350 distclean-etc:
6351 @[ -f ./etc/Makefile ] || exit 0; \
6352 r=`${PWD_COMMAND}`; export r; \
6353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6354 $(SET_LIB_PATH) \
6355 $(HOST_EXPORTS) \
6356 for flag in $(EXTRA_HOST_FLAGS); do \
6357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6358 done; \
6359 echo "Doing distclean in etc" ; \
6360 (cd etc && \
6361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6363 "RANLIB=$${RANLIB}" \
6364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6365 distclean) \
6366 || exit 1
6368 @endif etc
6370 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6371 maybe-maintainer-clean-etc:
6372 @if etc
6373 maybe-maintainer-clean-etc: maintainer-clean-etc
6375 maintainer-clean-etc:
6376 @[ -f ./etc/Makefile ] || exit 0; \
6377 r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 $(SET_LIB_PATH) \
6380 $(HOST_EXPORTS) \
6381 for flag in $(EXTRA_HOST_FLAGS); do \
6382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6383 done; \
6384 echo "Doing maintainer-clean in etc" ; \
6385 (cd etc && \
6386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6388 "RANLIB=$${RANLIB}" \
6389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6390 maintainer-clean) \
6391 || exit 1
6393 @endif etc
6396 .PHONY: configure-fastjar maybe-configure-fastjar
6397 maybe-configure-fastjar:
6398 @if fastjar
6399 maybe-configure-fastjar: configure-fastjar
6400 configure-fastjar:
6401 @test ! -f fastjar/Makefile || exit 0; \
6402 [ -d fastjar ] || mkdir fastjar; \
6403 r=`${PWD_COMMAND}`; export r; \
6404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6405 $(HOST_EXPORTS) \
6406 echo Configuring in fastjar; \
6407 cd fastjar || exit 1; \
6408 case $(srcdir) in \
6409 \.) \
6410 srcdiroption="--srcdir=."; \
6411 libsrcdir=".";; \
6412 /* | [A-Za-z]:[\\/]*) \
6413 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6414 libsrcdir="$$s/fastjar";; \
6415 *) \
6416 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6417 libsrcdir="$$s/fastjar";; \
6418 esac; \
6419 $(SHELL) $${libsrcdir}/configure \
6420 $(HOST_CONFIGARGS) $${srcdiroption} \
6421 || exit 1
6422 @endif fastjar
6424 .PHONY: all-fastjar maybe-all-fastjar
6425 maybe-all-fastjar:
6426 @if fastjar
6427 maybe-all-fastjar: all-fastjar
6428 all-fastjar: configure-fastjar
6429 @r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(SET_LIB_PATH) \
6432 $(HOST_EXPORTS) \
6433 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6434 @endif fastjar
6436 .PHONY: check-fastjar maybe-check-fastjar
6437 maybe-check-fastjar:
6438 @if fastjar
6439 maybe-check-fastjar: check-fastjar
6441 # This module is only tested in a native toolchain.
6442 check-fastjar:
6443 @if [ '$(host)' = '$(target)' ] ; then \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(SET_LIB_PATH) \
6447 $(HOST_EXPORTS) \
6448 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6451 @endif fastjar
6453 .PHONY: install-fastjar maybe-install-fastjar
6454 maybe-install-fastjar:
6455 @if fastjar
6456 maybe-install-fastjar: install-fastjar
6458 install-fastjar: installdirs
6459 @r=`${PWD_COMMAND}`; export r; \
6460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6461 $(SET_LIB_PATH) \
6462 $(HOST_EXPORTS) \
6463 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6465 @endif fastjar
6467 # Other targets (info, dvi, etc.)
6469 .PHONY: maybe-info-fastjar info-fastjar
6470 maybe-info-fastjar:
6471 @if fastjar
6472 maybe-info-fastjar: info-fastjar
6474 info-fastjar: \
6475 configure-fastjar
6476 @[ -f ./fastjar/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(SET_LIB_PATH) \
6480 $(HOST_EXPORTS) \
6481 for flag in $(EXTRA_HOST_FLAGS); do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 done; \
6484 echo "Doing info in fastjar" ; \
6485 (cd fastjar && \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6490 info) \
6491 || exit 1
6493 @endif fastjar
6495 .PHONY: maybe-dvi-fastjar dvi-fastjar
6496 maybe-dvi-fastjar:
6497 @if fastjar
6498 maybe-dvi-fastjar: dvi-fastjar
6500 dvi-fastjar: \
6501 configure-fastjar
6502 @[ -f ./fastjar/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(SET_LIB_PATH) \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS); do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing dvi in fastjar" ; \
6511 (cd fastjar && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6516 dvi) \
6517 || exit 1
6519 @endif fastjar
6521 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6522 maybe-TAGS-fastjar:
6523 @if fastjar
6524 maybe-TAGS-fastjar: TAGS-fastjar
6526 TAGS-fastjar: \
6527 configure-fastjar
6528 @[ -f ./fastjar/Makefile ] || exit 0; \
6529 r=`${PWD_COMMAND}`; export r; \
6530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 $(SET_LIB_PATH) \
6532 $(HOST_EXPORTS) \
6533 for flag in $(EXTRA_HOST_FLAGS); do \
6534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 done; \
6536 echo "Doing TAGS in fastjar" ; \
6537 (cd fastjar && \
6538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6540 "RANLIB=$${RANLIB}" \
6541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6542 TAGS) \
6543 || exit 1
6545 @endif fastjar
6547 .PHONY: maybe-install-info-fastjar install-info-fastjar
6548 maybe-install-info-fastjar:
6549 @if fastjar
6550 maybe-install-info-fastjar: install-info-fastjar
6552 install-info-fastjar: \
6553 configure-fastjar \
6554 info-fastjar
6555 @[ -f ./fastjar/Makefile ] || exit 0; \
6556 r=`${PWD_COMMAND}`; export r; \
6557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 $(SET_LIB_PATH) \
6559 $(HOST_EXPORTS) \
6560 for flag in $(EXTRA_HOST_FLAGS); do \
6561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6562 done; \
6563 echo "Doing install-info in fastjar" ; \
6564 (cd fastjar && \
6565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6567 "RANLIB=$${RANLIB}" \
6568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6569 install-info) \
6570 || exit 1
6572 @endif fastjar
6574 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6575 maybe-installcheck-fastjar:
6576 @if fastjar
6577 maybe-installcheck-fastjar: installcheck-fastjar
6579 installcheck-fastjar: \
6580 configure-fastjar
6581 @[ -f ./fastjar/Makefile ] || exit 0; \
6582 r=`${PWD_COMMAND}`; export r; \
6583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6584 $(SET_LIB_PATH) \
6585 $(HOST_EXPORTS) \
6586 for flag in $(EXTRA_HOST_FLAGS); do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 done; \
6589 echo "Doing installcheck in fastjar" ; \
6590 (cd fastjar && \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6595 installcheck) \
6596 || exit 1
6598 @endif fastjar
6600 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6601 maybe-mostlyclean-fastjar:
6602 @if fastjar
6603 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6605 mostlyclean-fastjar:
6606 @[ -f ./fastjar/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6609 $(SET_LIB_PATH) \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS); do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing mostlyclean in fastjar" ; \
6615 (cd fastjar && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6620 mostlyclean) \
6621 || exit 1
6623 @endif fastjar
6625 .PHONY: maybe-clean-fastjar clean-fastjar
6626 maybe-clean-fastjar:
6627 @if fastjar
6628 maybe-clean-fastjar: clean-fastjar
6630 clean-fastjar:
6631 @[ -f ./fastjar/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 $(SET_LIB_PATH) \
6635 $(HOST_EXPORTS) \
6636 for flag in $(EXTRA_HOST_FLAGS); do \
6637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6638 done; \
6639 echo "Doing clean in fastjar" ; \
6640 (cd fastjar && \
6641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6643 "RANLIB=$${RANLIB}" \
6644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6645 clean) \
6646 || exit 1
6648 @endif fastjar
6650 .PHONY: maybe-distclean-fastjar distclean-fastjar
6651 maybe-distclean-fastjar:
6652 @if fastjar
6653 maybe-distclean-fastjar: distclean-fastjar
6655 distclean-fastjar:
6656 @[ -f ./fastjar/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(SET_LIB_PATH) \
6660 $(HOST_EXPORTS) \
6661 for flag in $(EXTRA_HOST_FLAGS); do \
6662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6663 done; \
6664 echo "Doing distclean in fastjar" ; \
6665 (cd fastjar && \
6666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668 "RANLIB=$${RANLIB}" \
6669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6670 distclean) \
6671 || exit 1
6673 @endif fastjar
6675 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6676 maybe-maintainer-clean-fastjar:
6677 @if fastjar
6678 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6680 maintainer-clean-fastjar:
6681 @[ -f ./fastjar/Makefile ] || exit 0; \
6682 r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6684 $(SET_LIB_PATH) \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS); do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing maintainer-clean in fastjar" ; \
6690 (cd fastjar && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6695 maintainer-clean) \
6696 || exit 1
6698 @endif fastjar
6701 .PHONY: configure-fileutils maybe-configure-fileutils
6702 maybe-configure-fileutils:
6703 @if fileutils
6704 maybe-configure-fileutils: configure-fileutils
6705 configure-fileutils:
6706 @test ! -f fileutils/Makefile || exit 0; \
6707 [ -d fileutils ] || mkdir fileutils; \
6708 r=`${PWD_COMMAND}`; export r; \
6709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6710 $(HOST_EXPORTS) \
6711 echo Configuring in fileutils; \
6712 cd fileutils || exit 1; \
6713 case $(srcdir) in \
6714 \.) \
6715 srcdiroption="--srcdir=."; \
6716 libsrcdir=".";; \
6717 /* | [A-Za-z]:[\\/]*) \
6718 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6719 libsrcdir="$$s/fileutils";; \
6720 *) \
6721 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6722 libsrcdir="$$s/fileutils";; \
6723 esac; \
6724 $(SHELL) $${libsrcdir}/configure \
6725 $(HOST_CONFIGARGS) $${srcdiroption} \
6726 || exit 1
6727 @endif fileutils
6729 .PHONY: all-fileutils maybe-all-fileutils
6730 maybe-all-fileutils:
6731 @if fileutils
6732 maybe-all-fileutils: all-fileutils
6733 all-fileutils: configure-fileutils
6734 @r=`${PWD_COMMAND}`; export r; \
6735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6736 $(SET_LIB_PATH) \
6737 $(HOST_EXPORTS) \
6738 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6739 @endif fileutils
6741 .PHONY: check-fileutils maybe-check-fileutils
6742 maybe-check-fileutils:
6743 @if fileutils
6744 maybe-check-fileutils: check-fileutils
6746 check-fileutils:
6747 @r=`${PWD_COMMAND}`; export r; \
6748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6749 $(SET_LIB_PATH) \
6750 $(HOST_EXPORTS) \
6751 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6753 @endif fileutils
6755 .PHONY: install-fileutils maybe-install-fileutils
6756 maybe-install-fileutils:
6757 @if fileutils
6758 maybe-install-fileutils: install-fileutils
6760 install-fileutils: installdirs
6761 @r=`${PWD_COMMAND}`; export r; \
6762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6763 $(SET_LIB_PATH) \
6764 $(HOST_EXPORTS) \
6765 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6767 @endif fileutils
6769 # Other targets (info, dvi, etc.)
6771 .PHONY: maybe-info-fileutils info-fileutils
6772 maybe-info-fileutils:
6773 @if fileutils
6774 maybe-info-fileutils: info-fileutils
6776 info-fileutils: \
6777 configure-fileutils
6778 @[ -f ./fileutils/Makefile ] || exit 0; \
6779 r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(SET_LIB_PATH) \
6782 $(HOST_EXPORTS) \
6783 for flag in $(EXTRA_HOST_FLAGS); do \
6784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6785 done; \
6786 echo "Doing info in fileutils" ; \
6787 (cd fileutils && \
6788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6790 "RANLIB=$${RANLIB}" \
6791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6792 info) \
6793 || exit 1
6795 @endif fileutils
6797 .PHONY: maybe-dvi-fileutils dvi-fileutils
6798 maybe-dvi-fileutils:
6799 @if fileutils
6800 maybe-dvi-fileutils: dvi-fileutils
6802 dvi-fileutils: \
6803 configure-fileutils
6804 @[ -f ./fileutils/Makefile ] || exit 0; \
6805 r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 $(SET_LIB_PATH) \
6808 $(HOST_EXPORTS) \
6809 for flag in $(EXTRA_HOST_FLAGS); do \
6810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6811 done; \
6812 echo "Doing dvi in fileutils" ; \
6813 (cd fileutils && \
6814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6816 "RANLIB=$${RANLIB}" \
6817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6818 dvi) \
6819 || exit 1
6821 @endif fileutils
6823 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6824 maybe-TAGS-fileutils:
6825 @if fileutils
6826 maybe-TAGS-fileutils: TAGS-fileutils
6828 TAGS-fileutils: \
6829 configure-fileutils
6830 @[ -f ./fileutils/Makefile ] || exit 0; \
6831 r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(SET_LIB_PATH) \
6834 $(HOST_EXPORTS) \
6835 for flag in $(EXTRA_HOST_FLAGS); do \
6836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6837 done; \
6838 echo "Doing TAGS in fileutils" ; \
6839 (cd fileutils && \
6840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6842 "RANLIB=$${RANLIB}" \
6843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6844 TAGS) \
6845 || exit 1
6847 @endif fileutils
6849 .PHONY: maybe-install-info-fileutils install-info-fileutils
6850 maybe-install-info-fileutils:
6851 @if fileutils
6852 maybe-install-info-fileutils: install-info-fileutils
6854 install-info-fileutils: \
6855 configure-fileutils \
6856 info-fileutils
6857 @[ -f ./fileutils/Makefile ] || exit 0; \
6858 r=`${PWD_COMMAND}`; export r; \
6859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6860 $(SET_LIB_PATH) \
6861 $(HOST_EXPORTS) \
6862 for flag in $(EXTRA_HOST_FLAGS); do \
6863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6864 done; \
6865 echo "Doing install-info in fileutils" ; \
6866 (cd fileutils && \
6867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6869 "RANLIB=$${RANLIB}" \
6870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 install-info) \
6872 || exit 1
6874 @endif fileutils
6876 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6877 maybe-installcheck-fileutils:
6878 @if fileutils
6879 maybe-installcheck-fileutils: installcheck-fileutils
6881 installcheck-fileutils: \
6882 configure-fileutils
6883 @[ -f ./fileutils/Makefile ] || exit 0; \
6884 r=`${PWD_COMMAND}`; export r; \
6885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6886 $(SET_LIB_PATH) \
6887 $(HOST_EXPORTS) \
6888 for flag in $(EXTRA_HOST_FLAGS); do \
6889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6890 done; \
6891 echo "Doing installcheck in fileutils" ; \
6892 (cd fileutils && \
6893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6895 "RANLIB=$${RANLIB}" \
6896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6897 installcheck) \
6898 || exit 1
6900 @endif fileutils
6902 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6903 maybe-mostlyclean-fileutils:
6904 @if fileutils
6905 maybe-mostlyclean-fileutils: mostlyclean-fileutils
6907 mostlyclean-fileutils:
6908 @[ -f ./fileutils/Makefile ] || exit 0; \
6909 r=`${PWD_COMMAND}`; export r; \
6910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6911 $(SET_LIB_PATH) \
6912 $(HOST_EXPORTS) \
6913 for flag in $(EXTRA_HOST_FLAGS); do \
6914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6915 done; \
6916 echo "Doing mostlyclean in fileutils" ; \
6917 (cd fileutils && \
6918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6920 "RANLIB=$${RANLIB}" \
6921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6922 mostlyclean) \
6923 || exit 1
6925 @endif fileutils
6927 .PHONY: maybe-clean-fileutils clean-fileutils
6928 maybe-clean-fileutils:
6929 @if fileutils
6930 maybe-clean-fileutils: clean-fileutils
6932 clean-fileutils:
6933 @[ -f ./fileutils/Makefile ] || exit 0; \
6934 r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(SET_LIB_PATH) \
6937 $(HOST_EXPORTS) \
6938 for flag in $(EXTRA_HOST_FLAGS); do \
6939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6940 done; \
6941 echo "Doing clean in fileutils" ; \
6942 (cd fileutils && \
6943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6945 "RANLIB=$${RANLIB}" \
6946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6947 clean) \
6948 || exit 1
6950 @endif fileutils
6952 .PHONY: maybe-distclean-fileutils distclean-fileutils
6953 maybe-distclean-fileutils:
6954 @if fileutils
6955 maybe-distclean-fileutils: distclean-fileutils
6957 distclean-fileutils:
6958 @[ -f ./fileutils/Makefile ] || exit 0; \
6959 r=`${PWD_COMMAND}`; export r; \
6960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6961 $(SET_LIB_PATH) \
6962 $(HOST_EXPORTS) \
6963 for flag in $(EXTRA_HOST_FLAGS); do \
6964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6965 done; \
6966 echo "Doing distclean in fileutils" ; \
6967 (cd fileutils && \
6968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6970 "RANLIB=$${RANLIB}" \
6971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6972 distclean) \
6973 || exit 1
6975 @endif fileutils
6977 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6978 maybe-maintainer-clean-fileutils:
6979 @if fileutils
6980 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
6982 maintainer-clean-fileutils:
6983 @[ -f ./fileutils/Makefile ] || exit 0; \
6984 r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(SET_LIB_PATH) \
6987 $(HOST_EXPORTS) \
6988 for flag in $(EXTRA_HOST_FLAGS); do \
6989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6990 done; \
6991 echo "Doing maintainer-clean in fileutils" ; \
6992 (cd fileutils && \
6993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6995 "RANLIB=$${RANLIB}" \
6996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6997 maintainer-clean) \
6998 || exit 1
7000 @endif fileutils
7003 .PHONY: configure-findutils maybe-configure-findutils
7004 maybe-configure-findutils:
7005 @if findutils
7006 maybe-configure-findutils: configure-findutils
7007 configure-findutils:
7008 @test ! -f findutils/Makefile || exit 0; \
7009 [ -d findutils ] || mkdir findutils; \
7010 r=`${PWD_COMMAND}`; export r; \
7011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7012 $(HOST_EXPORTS) \
7013 echo Configuring in findutils; \
7014 cd findutils || exit 1; \
7015 case $(srcdir) in \
7016 \.) \
7017 srcdiroption="--srcdir=."; \
7018 libsrcdir=".";; \
7019 /* | [A-Za-z]:[\\/]*) \
7020 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7021 libsrcdir="$$s/findutils";; \
7022 *) \
7023 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7024 libsrcdir="$$s/findutils";; \
7025 esac; \
7026 $(SHELL) $${libsrcdir}/configure \
7027 $(HOST_CONFIGARGS) $${srcdiroption} \
7028 || exit 1
7029 @endif findutils
7031 .PHONY: all-findutils maybe-all-findutils
7032 maybe-all-findutils:
7033 @if findutils
7034 maybe-all-findutils: all-findutils
7035 all-findutils: configure-findutils
7036 @r=`${PWD_COMMAND}`; export r; \
7037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7038 $(SET_LIB_PATH) \
7039 $(HOST_EXPORTS) \
7040 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7041 @endif findutils
7043 .PHONY: check-findutils maybe-check-findutils
7044 maybe-check-findutils:
7045 @if findutils
7046 maybe-check-findutils: check-findutils
7048 check-findutils:
7049 @r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(SET_LIB_PATH) \
7052 $(HOST_EXPORTS) \
7053 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7055 @endif findutils
7057 .PHONY: install-findutils maybe-install-findutils
7058 maybe-install-findutils:
7059 @if findutils
7060 maybe-install-findutils: install-findutils
7062 install-findutils: installdirs
7063 @r=`${PWD_COMMAND}`; export r; \
7064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7065 $(SET_LIB_PATH) \
7066 $(HOST_EXPORTS) \
7067 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7069 @endif findutils
7071 # Other targets (info, dvi, etc.)
7073 .PHONY: maybe-info-findutils info-findutils
7074 maybe-info-findutils:
7075 @if findutils
7076 maybe-info-findutils: info-findutils
7078 info-findutils: \
7079 configure-findutils
7080 @[ -f ./findutils/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(SET_LIB_PATH) \
7084 $(HOST_EXPORTS) \
7085 for flag in $(EXTRA_HOST_FLAGS); do \
7086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7087 done; \
7088 echo "Doing info in findutils" ; \
7089 (cd findutils && \
7090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7092 "RANLIB=$${RANLIB}" \
7093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7094 info) \
7095 || exit 1
7097 @endif findutils
7099 .PHONY: maybe-dvi-findutils dvi-findutils
7100 maybe-dvi-findutils:
7101 @if findutils
7102 maybe-dvi-findutils: dvi-findutils
7104 dvi-findutils: \
7105 configure-findutils
7106 @[ -f ./findutils/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 $(SET_LIB_PATH) \
7110 $(HOST_EXPORTS) \
7111 for flag in $(EXTRA_HOST_FLAGS); do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 done; \
7114 echo "Doing dvi in findutils" ; \
7115 (cd findutils && \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7120 dvi) \
7121 || exit 1
7123 @endif findutils
7125 .PHONY: maybe-TAGS-findutils TAGS-findutils
7126 maybe-TAGS-findutils:
7127 @if findutils
7128 maybe-TAGS-findutils: TAGS-findutils
7130 TAGS-findutils: \
7131 configure-findutils
7132 @[ -f ./findutils/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(SET_LIB_PATH) \
7136 $(HOST_EXPORTS) \
7137 for flag in $(EXTRA_HOST_FLAGS); do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing TAGS in findutils" ; \
7141 (cd findutils && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 TAGS) \
7147 || exit 1
7149 @endif findutils
7151 .PHONY: maybe-install-info-findutils install-info-findutils
7152 maybe-install-info-findutils:
7153 @if findutils
7154 maybe-install-info-findutils: install-info-findutils
7156 install-info-findutils: \
7157 configure-findutils \
7158 info-findutils
7159 @[ -f ./findutils/Makefile ] || exit 0; \
7160 r=`${PWD_COMMAND}`; export r; \
7161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 $(SET_LIB_PATH) \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS); do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing install-info in findutils" ; \
7168 (cd findutils && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7173 install-info) \
7174 || exit 1
7176 @endif findutils
7178 .PHONY: maybe-installcheck-findutils installcheck-findutils
7179 maybe-installcheck-findutils:
7180 @if findutils
7181 maybe-installcheck-findutils: installcheck-findutils
7183 installcheck-findutils: \
7184 configure-findutils
7185 @[ -f ./findutils/Makefile ] || exit 0; \
7186 r=`${PWD_COMMAND}`; export r; \
7187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7188 $(SET_LIB_PATH) \
7189 $(HOST_EXPORTS) \
7190 for flag in $(EXTRA_HOST_FLAGS); do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7192 done; \
7193 echo "Doing installcheck in findutils" ; \
7194 (cd findutils && \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7199 installcheck) \
7200 || exit 1
7202 @endif findutils
7204 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7205 maybe-mostlyclean-findutils:
7206 @if findutils
7207 maybe-mostlyclean-findutils: mostlyclean-findutils
7209 mostlyclean-findutils:
7210 @[ -f ./findutils/Makefile ] || exit 0; \
7211 r=`${PWD_COMMAND}`; export r; \
7212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7213 $(SET_LIB_PATH) \
7214 $(HOST_EXPORTS) \
7215 for flag in $(EXTRA_HOST_FLAGS); do \
7216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7217 done; \
7218 echo "Doing mostlyclean in findutils" ; \
7219 (cd findutils && \
7220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7222 "RANLIB=$${RANLIB}" \
7223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7224 mostlyclean) \
7225 || exit 1
7227 @endif findutils
7229 .PHONY: maybe-clean-findutils clean-findutils
7230 maybe-clean-findutils:
7231 @if findutils
7232 maybe-clean-findutils: clean-findutils
7234 clean-findutils:
7235 @[ -f ./findutils/Makefile ] || exit 0; \
7236 r=`${PWD_COMMAND}`; export r; \
7237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7238 $(SET_LIB_PATH) \
7239 $(HOST_EXPORTS) \
7240 for flag in $(EXTRA_HOST_FLAGS); do \
7241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7242 done; \
7243 echo "Doing clean in findutils" ; \
7244 (cd findutils && \
7245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7247 "RANLIB=$${RANLIB}" \
7248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7249 clean) \
7250 || exit 1
7252 @endif findutils
7254 .PHONY: maybe-distclean-findutils distclean-findutils
7255 maybe-distclean-findutils:
7256 @if findutils
7257 maybe-distclean-findutils: distclean-findutils
7259 distclean-findutils:
7260 @[ -f ./findutils/Makefile ] || exit 0; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(SET_LIB_PATH) \
7264 $(HOST_EXPORTS) \
7265 for flag in $(EXTRA_HOST_FLAGS); do \
7266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7267 done; \
7268 echo "Doing distclean in findutils" ; \
7269 (cd findutils && \
7270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7272 "RANLIB=$${RANLIB}" \
7273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7274 distclean) \
7275 || exit 1
7277 @endif findutils
7279 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7280 maybe-maintainer-clean-findutils:
7281 @if findutils
7282 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7284 maintainer-clean-findutils:
7285 @[ -f ./findutils/Makefile ] || exit 0; \
7286 r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(SET_LIB_PATH) \
7289 $(HOST_EXPORTS) \
7290 for flag in $(EXTRA_HOST_FLAGS); do \
7291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7292 done; \
7293 echo "Doing maintainer-clean in findutils" ; \
7294 (cd findutils && \
7295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7297 "RANLIB=$${RANLIB}" \
7298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7299 maintainer-clean) \
7300 || exit 1
7302 @endif findutils
7305 .PHONY: configure-find maybe-configure-find
7306 maybe-configure-find:
7307 @if find
7308 maybe-configure-find: configure-find
7309 configure-find:
7310 @test ! -f find/Makefile || exit 0; \
7311 [ -d find ] || mkdir find; \
7312 r=`${PWD_COMMAND}`; export r; \
7313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7314 $(HOST_EXPORTS) \
7315 echo Configuring in find; \
7316 cd find || exit 1; \
7317 case $(srcdir) in \
7318 \.) \
7319 srcdiroption="--srcdir=."; \
7320 libsrcdir=".";; \
7321 /* | [A-Za-z]:[\\/]*) \
7322 srcdiroption="--srcdir=$(srcdir)/find"; \
7323 libsrcdir="$$s/find";; \
7324 *) \
7325 srcdiroption="--srcdir=../$(srcdir)/find"; \
7326 libsrcdir="$$s/find";; \
7327 esac; \
7328 $(SHELL) $${libsrcdir}/configure \
7329 $(HOST_CONFIGARGS) $${srcdiroption} \
7330 || exit 1
7331 @endif find
7333 .PHONY: all-find maybe-all-find
7334 maybe-all-find:
7335 @if find
7336 maybe-all-find: all-find
7337 all-find: configure-find
7338 @r=`${PWD_COMMAND}`; export r; \
7339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7340 $(SET_LIB_PATH) \
7341 $(HOST_EXPORTS) \
7342 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7343 @endif find
7345 .PHONY: check-find maybe-check-find
7346 maybe-check-find:
7347 @if find
7348 maybe-check-find: check-find
7350 check-find:
7351 @r=`${PWD_COMMAND}`; export r; \
7352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7353 $(SET_LIB_PATH) \
7354 $(HOST_EXPORTS) \
7355 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7357 @endif find
7359 .PHONY: install-find maybe-install-find
7360 maybe-install-find:
7361 @if find
7362 maybe-install-find: install-find
7364 install-find: installdirs
7365 @r=`${PWD_COMMAND}`; export r; \
7366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7367 $(SET_LIB_PATH) \
7368 $(HOST_EXPORTS) \
7369 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7371 @endif find
7373 # Other targets (info, dvi, etc.)
7375 .PHONY: maybe-info-find info-find
7376 maybe-info-find:
7377 @if find
7378 maybe-info-find: info-find
7380 info-find: \
7381 configure-find
7382 @[ -f ./find/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(SET_LIB_PATH) \
7386 $(HOST_EXPORTS) \
7387 for flag in $(EXTRA_HOST_FLAGS); do \
7388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7389 done; \
7390 echo "Doing info in find" ; \
7391 (cd find && \
7392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7394 "RANLIB=$${RANLIB}" \
7395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7396 info) \
7397 || exit 1
7399 @endif find
7401 .PHONY: maybe-dvi-find dvi-find
7402 maybe-dvi-find:
7403 @if find
7404 maybe-dvi-find: dvi-find
7406 dvi-find: \
7407 configure-find
7408 @[ -f ./find/Makefile ] || exit 0; \
7409 r=`${PWD_COMMAND}`; export r; \
7410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7411 $(SET_LIB_PATH) \
7412 $(HOST_EXPORTS) \
7413 for flag in $(EXTRA_HOST_FLAGS); do \
7414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7415 done; \
7416 echo "Doing dvi in find" ; \
7417 (cd find && \
7418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7420 "RANLIB=$${RANLIB}" \
7421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 dvi) \
7423 || exit 1
7425 @endif find
7427 .PHONY: maybe-TAGS-find TAGS-find
7428 maybe-TAGS-find:
7429 @if find
7430 maybe-TAGS-find: TAGS-find
7432 TAGS-find: \
7433 configure-find
7434 @[ -f ./find/Makefile ] || exit 0; \
7435 r=`${PWD_COMMAND}`; export r; \
7436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7437 $(SET_LIB_PATH) \
7438 $(HOST_EXPORTS) \
7439 for flag in $(EXTRA_HOST_FLAGS); do \
7440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7441 done; \
7442 echo "Doing TAGS in find" ; \
7443 (cd find && \
7444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7446 "RANLIB=$${RANLIB}" \
7447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 TAGS) \
7449 || exit 1
7451 @endif find
7453 .PHONY: maybe-install-info-find install-info-find
7454 maybe-install-info-find:
7455 @if find
7456 maybe-install-info-find: install-info-find
7458 install-info-find: \
7459 configure-find \
7460 info-find
7461 @[ -f ./find/Makefile ] || exit 0; \
7462 r=`${PWD_COMMAND}`; export r; \
7463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7464 $(SET_LIB_PATH) \
7465 $(HOST_EXPORTS) \
7466 for flag in $(EXTRA_HOST_FLAGS); do \
7467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7468 done; \
7469 echo "Doing install-info in find" ; \
7470 (cd find && \
7471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7473 "RANLIB=$${RANLIB}" \
7474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7475 install-info) \
7476 || exit 1
7478 @endif find
7480 .PHONY: maybe-installcheck-find installcheck-find
7481 maybe-installcheck-find:
7482 @if find
7483 maybe-installcheck-find: installcheck-find
7485 installcheck-find: \
7486 configure-find
7487 @[ -f ./find/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(SET_LIB_PATH) \
7491 $(HOST_EXPORTS) \
7492 for flag in $(EXTRA_HOST_FLAGS); do \
7493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 done; \
7495 echo "Doing installcheck in find" ; \
7496 (cd find && \
7497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7499 "RANLIB=$${RANLIB}" \
7500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7501 installcheck) \
7502 || exit 1
7504 @endif find
7506 .PHONY: maybe-mostlyclean-find mostlyclean-find
7507 maybe-mostlyclean-find:
7508 @if find
7509 maybe-mostlyclean-find: mostlyclean-find
7511 mostlyclean-find:
7512 @[ -f ./find/Makefile ] || exit 0; \
7513 r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(SET_LIB_PATH) \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS); do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing mostlyclean in find" ; \
7521 (cd find && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 mostlyclean) \
7527 || exit 1
7529 @endif find
7531 .PHONY: maybe-clean-find clean-find
7532 maybe-clean-find:
7533 @if find
7534 maybe-clean-find: clean-find
7536 clean-find:
7537 @[ -f ./find/Makefile ] || exit 0; \
7538 r=`${PWD_COMMAND}`; export r; \
7539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7540 $(SET_LIB_PATH) \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS); do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing clean in find" ; \
7546 (cd find && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 clean) \
7552 || exit 1
7554 @endif find
7556 .PHONY: maybe-distclean-find distclean-find
7557 maybe-distclean-find:
7558 @if find
7559 maybe-distclean-find: distclean-find
7561 distclean-find:
7562 @[ -f ./find/Makefile ] || exit 0; \
7563 r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565 $(SET_LIB_PATH) \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS); do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing distclean in find" ; \
7571 (cd find && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7576 distclean) \
7577 || exit 1
7579 @endif find
7581 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7582 maybe-maintainer-clean-find:
7583 @if find
7584 maybe-maintainer-clean-find: maintainer-clean-find
7586 maintainer-clean-find:
7587 @[ -f ./find/Makefile ] || exit 0; \
7588 r=`${PWD_COMMAND}`; export r; \
7589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7590 $(SET_LIB_PATH) \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS); do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing maintainer-clean in find" ; \
7596 (cd find && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 maintainer-clean) \
7602 || exit 1
7604 @endif find
7607 .PHONY: configure-flex maybe-configure-flex
7608 maybe-configure-flex:
7609 @if flex
7610 maybe-configure-flex: configure-flex
7611 configure-flex:
7612 @test ! -f flex/Makefile || exit 0; \
7613 [ -d flex ] || mkdir flex; \
7614 r=`${PWD_COMMAND}`; export r; \
7615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7616 $(HOST_EXPORTS) \
7617 echo Configuring in flex; \
7618 cd flex || exit 1; \
7619 case $(srcdir) in \
7620 \.) \
7621 srcdiroption="--srcdir=."; \
7622 libsrcdir=".";; \
7623 /* | [A-Za-z]:[\\/]*) \
7624 srcdiroption="--srcdir=$(srcdir)/flex"; \
7625 libsrcdir="$$s/flex";; \
7626 *) \
7627 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7628 libsrcdir="$$s/flex";; \
7629 esac; \
7630 $(SHELL) $${libsrcdir}/configure \
7631 $(HOST_CONFIGARGS) $${srcdiroption} \
7632 || exit 1
7633 @endif flex
7635 .PHONY: all-flex maybe-all-flex
7636 maybe-all-flex:
7637 @if flex
7638 maybe-all-flex: all-flex
7639 all-flex: configure-flex
7640 @r=`${PWD_COMMAND}`; export r; \
7641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 $(SET_LIB_PATH) \
7643 $(HOST_EXPORTS) \
7644 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7645 @endif flex
7647 .PHONY: check-flex maybe-check-flex
7648 maybe-check-flex:
7649 @if flex
7650 maybe-check-flex: check-flex
7652 # This module is only tested in a native toolchain.
7653 check-flex:
7654 @if [ '$(host)' = '$(target)' ] ; then \
7655 r=`${PWD_COMMAND}`; export r; \
7656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7657 $(SET_LIB_PATH) \
7658 $(HOST_EXPORTS) \
7659 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7662 @endif flex
7664 .PHONY: install-flex maybe-install-flex
7665 maybe-install-flex:
7666 @if flex
7667 maybe-install-flex: install-flex
7669 install-flex: installdirs
7670 @r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672 $(SET_LIB_PATH) \
7673 $(HOST_EXPORTS) \
7674 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7676 @endif flex
7678 # Other targets (info, dvi, etc.)
7680 .PHONY: maybe-info-flex info-flex
7681 maybe-info-flex:
7682 @if flex
7683 maybe-info-flex: info-flex
7685 info-flex: \
7686 configure-flex
7687 @[ -f ./flex/Makefile ] || exit 0; \
7688 r=`${PWD_COMMAND}`; export r; \
7689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7690 $(SET_LIB_PATH) \
7691 $(HOST_EXPORTS) \
7692 for flag in $(EXTRA_HOST_FLAGS); do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7694 done; \
7695 echo "Doing info in flex" ; \
7696 (cd flex && \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 info) \
7702 || exit 1
7704 @endif flex
7706 .PHONY: maybe-dvi-flex dvi-flex
7707 maybe-dvi-flex:
7708 @if flex
7709 maybe-dvi-flex: dvi-flex
7711 dvi-flex: \
7712 configure-flex
7713 @[ -f ./flex/Makefile ] || exit 0; \
7714 r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7716 $(SET_LIB_PATH) \
7717 $(HOST_EXPORTS) \
7718 for flag in $(EXTRA_HOST_FLAGS); do \
7719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7720 done; \
7721 echo "Doing dvi in flex" ; \
7722 (cd flex && \
7723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7725 "RANLIB=$${RANLIB}" \
7726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7727 dvi) \
7728 || exit 1
7730 @endif flex
7732 .PHONY: maybe-TAGS-flex TAGS-flex
7733 maybe-TAGS-flex:
7734 @if flex
7735 maybe-TAGS-flex: TAGS-flex
7737 TAGS-flex: \
7738 configure-flex
7739 @[ -f ./flex/Makefile ] || exit 0; \
7740 r=`${PWD_COMMAND}`; export r; \
7741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7742 $(SET_LIB_PATH) \
7743 $(HOST_EXPORTS) \
7744 for flag in $(EXTRA_HOST_FLAGS); do \
7745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7746 done; \
7747 echo "Doing TAGS in flex" ; \
7748 (cd flex && \
7749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7751 "RANLIB=$${RANLIB}" \
7752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7753 TAGS) \
7754 || exit 1
7756 @endif flex
7758 .PHONY: maybe-install-info-flex install-info-flex
7759 maybe-install-info-flex:
7760 @if flex
7761 maybe-install-info-flex: install-info-flex
7763 install-info-flex: \
7764 configure-flex \
7765 info-flex
7766 @[ -f ./flex/Makefile ] || exit 0; \
7767 r=`${PWD_COMMAND}`; export r; \
7768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7769 $(SET_LIB_PATH) \
7770 $(HOST_EXPORTS) \
7771 for flag in $(EXTRA_HOST_FLAGS); do \
7772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7773 done; \
7774 echo "Doing install-info in flex" ; \
7775 (cd flex && \
7776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7778 "RANLIB=$${RANLIB}" \
7779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7780 install-info) \
7781 || exit 1
7783 @endif flex
7785 .PHONY: maybe-installcheck-flex installcheck-flex
7786 maybe-installcheck-flex:
7787 @if flex
7788 maybe-installcheck-flex: installcheck-flex
7790 installcheck-flex: \
7791 configure-flex
7792 @[ -f ./flex/Makefile ] || exit 0; \
7793 r=`${PWD_COMMAND}`; export r; \
7794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7795 $(SET_LIB_PATH) \
7796 $(HOST_EXPORTS) \
7797 for flag in $(EXTRA_HOST_FLAGS); do \
7798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 done; \
7800 echo "Doing installcheck in flex" ; \
7801 (cd flex && \
7802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7804 "RANLIB=$${RANLIB}" \
7805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7806 installcheck) \
7807 || exit 1
7809 @endif flex
7811 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7812 maybe-mostlyclean-flex:
7813 @if flex
7814 maybe-mostlyclean-flex: mostlyclean-flex
7816 mostlyclean-flex:
7817 @[ -f ./flex/Makefile ] || exit 0; \
7818 r=`${PWD_COMMAND}`; export r; \
7819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7820 $(SET_LIB_PATH) \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS); do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing mostlyclean in flex" ; \
7826 (cd flex && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7831 mostlyclean) \
7832 || exit 1
7834 @endif flex
7836 .PHONY: maybe-clean-flex clean-flex
7837 maybe-clean-flex:
7838 @if flex
7839 maybe-clean-flex: clean-flex
7841 clean-flex:
7842 @[ -f ./flex/Makefile ] || exit 0; \
7843 r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7845 $(SET_LIB_PATH) \
7846 $(HOST_EXPORTS) \
7847 for flag in $(EXTRA_HOST_FLAGS); do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 done; \
7850 echo "Doing clean in flex" ; \
7851 (cd flex && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7856 clean) \
7857 || exit 1
7859 @endif flex
7861 .PHONY: maybe-distclean-flex distclean-flex
7862 maybe-distclean-flex:
7863 @if flex
7864 maybe-distclean-flex: distclean-flex
7866 distclean-flex:
7867 @[ -f ./flex/Makefile ] || exit 0; \
7868 r=`${PWD_COMMAND}`; export r; \
7869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 $(SET_LIB_PATH) \
7871 $(HOST_EXPORTS) \
7872 for flag in $(EXTRA_HOST_FLAGS); do \
7873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7874 done; \
7875 echo "Doing distclean in flex" ; \
7876 (cd flex && \
7877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7879 "RANLIB=$${RANLIB}" \
7880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7881 distclean) \
7882 || exit 1
7884 @endif flex
7886 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7887 maybe-maintainer-clean-flex:
7888 @if flex
7889 maybe-maintainer-clean-flex: maintainer-clean-flex
7891 maintainer-clean-flex:
7892 @[ -f ./flex/Makefile ] || exit 0; \
7893 r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 $(SET_LIB_PATH) \
7896 $(HOST_EXPORTS) \
7897 for flag in $(EXTRA_HOST_FLAGS); do \
7898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 done; \
7900 echo "Doing maintainer-clean in flex" ; \
7901 (cd flex && \
7902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7904 "RANLIB=$${RANLIB}" \
7905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7906 maintainer-clean) \
7907 || exit 1
7909 @endif flex
7912 .PHONY: configure-gas maybe-configure-gas
7913 maybe-configure-gas:
7914 @if gas
7915 maybe-configure-gas: configure-gas
7916 configure-gas:
7917 @test ! -f gas/Makefile || exit 0; \
7918 [ -d gas ] || mkdir gas; \
7919 r=`${PWD_COMMAND}`; export r; \
7920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7921 $(HOST_EXPORTS) \
7922 echo Configuring in gas; \
7923 cd gas || exit 1; \
7924 case $(srcdir) in \
7925 \.) \
7926 srcdiroption="--srcdir=."; \
7927 libsrcdir=".";; \
7928 /* | [A-Za-z]:[\\/]*) \
7929 srcdiroption="--srcdir=$(srcdir)/gas"; \
7930 libsrcdir="$$s/gas";; \
7931 *) \
7932 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7933 libsrcdir="$$s/gas";; \
7934 esac; \
7935 $(SHELL) $${libsrcdir}/configure \
7936 $(HOST_CONFIGARGS) $${srcdiroption} \
7937 || exit 1
7938 @endif gas
7940 .PHONY: all-gas maybe-all-gas
7941 maybe-all-gas:
7942 @if gas
7943 maybe-all-gas: all-gas
7944 all-gas: configure-gas
7945 @r=`${PWD_COMMAND}`; export r; \
7946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7947 $(SET_LIB_PATH) \
7948 $(HOST_EXPORTS) \
7949 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7950 @endif gas
7952 .PHONY: check-gas maybe-check-gas
7953 maybe-check-gas:
7954 @if gas
7955 maybe-check-gas: check-gas
7957 check-gas:
7958 @r=`${PWD_COMMAND}`; export r; \
7959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7960 $(SET_LIB_PATH) \
7961 $(HOST_EXPORTS) \
7962 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7964 @endif gas
7966 .PHONY: install-gas maybe-install-gas
7967 maybe-install-gas:
7968 @if gas
7969 maybe-install-gas: install-gas
7971 install-gas: installdirs
7972 @r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974 $(SET_LIB_PATH) \
7975 $(HOST_EXPORTS) \
7976 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7978 @endif gas
7980 # Other targets (info, dvi, etc.)
7982 .PHONY: maybe-info-gas info-gas
7983 maybe-info-gas:
7984 @if gas
7985 maybe-info-gas: info-gas
7987 info-gas: \
7988 configure-gas
7989 @[ -f ./gas/Makefile ] || exit 0; \
7990 r=`${PWD_COMMAND}`; export r; \
7991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 $(SET_LIB_PATH) \
7993 $(HOST_EXPORTS) \
7994 for flag in $(EXTRA_HOST_FLAGS); do \
7995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7996 done; \
7997 echo "Doing info in gas" ; \
7998 (cd gas && \
7999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8001 "RANLIB=$${RANLIB}" \
8002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8003 info) \
8004 || exit 1
8006 @endif gas
8008 .PHONY: maybe-dvi-gas dvi-gas
8009 maybe-dvi-gas:
8010 @if gas
8011 maybe-dvi-gas: dvi-gas
8013 dvi-gas: \
8014 configure-gas
8015 @[ -f ./gas/Makefile ] || exit 0; \
8016 r=`${PWD_COMMAND}`; export r; \
8017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8018 $(SET_LIB_PATH) \
8019 $(HOST_EXPORTS) \
8020 for flag in $(EXTRA_HOST_FLAGS); do \
8021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8022 done; \
8023 echo "Doing dvi in gas" ; \
8024 (cd gas && \
8025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8027 "RANLIB=$${RANLIB}" \
8028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8029 dvi) \
8030 || exit 1
8032 @endif gas
8034 .PHONY: maybe-TAGS-gas TAGS-gas
8035 maybe-TAGS-gas:
8036 @if gas
8037 maybe-TAGS-gas: TAGS-gas
8039 TAGS-gas: \
8040 configure-gas
8041 @[ -f ./gas/Makefile ] || exit 0; \
8042 r=`${PWD_COMMAND}`; export r; \
8043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8044 $(SET_LIB_PATH) \
8045 $(HOST_EXPORTS) \
8046 for flag in $(EXTRA_HOST_FLAGS); do \
8047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 done; \
8049 echo "Doing TAGS in gas" ; \
8050 (cd gas && \
8051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8053 "RANLIB=$${RANLIB}" \
8054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8055 TAGS) \
8056 || exit 1
8058 @endif gas
8060 .PHONY: maybe-install-info-gas install-info-gas
8061 maybe-install-info-gas:
8062 @if gas
8063 maybe-install-info-gas: install-info-gas
8065 install-info-gas: \
8066 configure-gas \
8067 info-gas
8068 @[ -f ./gas/Makefile ] || exit 0; \
8069 r=`${PWD_COMMAND}`; export r; \
8070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8071 $(SET_LIB_PATH) \
8072 $(HOST_EXPORTS) \
8073 for flag in $(EXTRA_HOST_FLAGS); do \
8074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8075 done; \
8076 echo "Doing install-info in gas" ; \
8077 (cd gas && \
8078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8080 "RANLIB=$${RANLIB}" \
8081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8082 install-info) \
8083 || exit 1
8085 @endif gas
8087 .PHONY: maybe-installcheck-gas installcheck-gas
8088 maybe-installcheck-gas:
8089 @if gas
8090 maybe-installcheck-gas: installcheck-gas
8092 installcheck-gas: \
8093 configure-gas
8094 @[ -f ./gas/Makefile ] || exit 0; \
8095 r=`${PWD_COMMAND}`; export r; \
8096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8097 $(SET_LIB_PATH) \
8098 $(HOST_EXPORTS) \
8099 for flag in $(EXTRA_HOST_FLAGS); do \
8100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8101 done; \
8102 echo "Doing installcheck in gas" ; \
8103 (cd gas && \
8104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8106 "RANLIB=$${RANLIB}" \
8107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8108 installcheck) \
8109 || exit 1
8111 @endif gas
8113 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8114 maybe-mostlyclean-gas:
8115 @if gas
8116 maybe-mostlyclean-gas: mostlyclean-gas
8118 mostlyclean-gas:
8119 @[ -f ./gas/Makefile ] || exit 0; \
8120 r=`${PWD_COMMAND}`; export r; \
8121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8122 $(SET_LIB_PATH) \
8123 $(HOST_EXPORTS) \
8124 for flag in $(EXTRA_HOST_FLAGS); do \
8125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 done; \
8127 echo "Doing mostlyclean in gas" ; \
8128 (cd gas && \
8129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8131 "RANLIB=$${RANLIB}" \
8132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8133 mostlyclean) \
8134 || exit 1
8136 @endif gas
8138 .PHONY: maybe-clean-gas clean-gas
8139 maybe-clean-gas:
8140 @if gas
8141 maybe-clean-gas: clean-gas
8143 clean-gas:
8144 @[ -f ./gas/Makefile ] || exit 0; \
8145 r=`${PWD_COMMAND}`; export r; \
8146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 $(SET_LIB_PATH) \
8148 $(HOST_EXPORTS) \
8149 for flag in $(EXTRA_HOST_FLAGS); do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8151 done; \
8152 echo "Doing clean in gas" ; \
8153 (cd gas && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8158 clean) \
8159 || exit 1
8161 @endif gas
8163 .PHONY: maybe-distclean-gas distclean-gas
8164 maybe-distclean-gas:
8165 @if gas
8166 maybe-distclean-gas: distclean-gas
8168 distclean-gas:
8169 @[ -f ./gas/Makefile ] || exit 0; \
8170 r=`${PWD_COMMAND}`; export r; \
8171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8172 $(SET_LIB_PATH) \
8173 $(HOST_EXPORTS) \
8174 for flag in $(EXTRA_HOST_FLAGS); do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8176 done; \
8177 echo "Doing distclean in gas" ; \
8178 (cd gas && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8183 distclean) \
8184 || exit 1
8186 @endif gas
8188 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8189 maybe-maintainer-clean-gas:
8190 @if gas
8191 maybe-maintainer-clean-gas: maintainer-clean-gas
8193 maintainer-clean-gas:
8194 @[ -f ./gas/Makefile ] || exit 0; \
8195 r=`${PWD_COMMAND}`; export r; \
8196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8197 $(SET_LIB_PATH) \
8198 $(HOST_EXPORTS) \
8199 for flag in $(EXTRA_HOST_FLAGS); do \
8200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8201 done; \
8202 echo "Doing maintainer-clean in gas" ; \
8203 (cd gas && \
8204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8206 "RANLIB=$${RANLIB}" \
8207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8208 maintainer-clean) \
8209 || exit 1
8211 @endif gas
8214 .PHONY: configure-gawk maybe-configure-gawk
8215 maybe-configure-gawk:
8216 @if gawk
8217 maybe-configure-gawk: configure-gawk
8218 configure-gawk:
8219 @test ! -f gawk/Makefile || exit 0; \
8220 [ -d gawk ] || mkdir gawk; \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 echo Configuring in gawk; \
8225 cd gawk || exit 1; \
8226 case $(srcdir) in \
8227 \.) \
8228 srcdiroption="--srcdir=."; \
8229 libsrcdir=".";; \
8230 /* | [A-Za-z]:[\\/]*) \
8231 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8232 libsrcdir="$$s/gawk";; \
8233 *) \
8234 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8235 libsrcdir="$$s/gawk";; \
8236 esac; \
8237 $(SHELL) $${libsrcdir}/configure \
8238 $(HOST_CONFIGARGS) $${srcdiroption} \
8239 || exit 1
8240 @endif gawk
8242 .PHONY: all-gawk maybe-all-gawk
8243 maybe-all-gawk:
8244 @if gawk
8245 maybe-all-gawk: all-gawk
8246 all-gawk: configure-gawk
8247 @r=`${PWD_COMMAND}`; export r; \
8248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8249 $(SET_LIB_PATH) \
8250 $(HOST_EXPORTS) \
8251 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8252 @endif gawk
8254 .PHONY: check-gawk maybe-check-gawk
8255 maybe-check-gawk:
8256 @if gawk
8257 maybe-check-gawk: check-gawk
8259 check-gawk:
8260 @r=`${PWD_COMMAND}`; export r; \
8261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8262 $(SET_LIB_PATH) \
8263 $(HOST_EXPORTS) \
8264 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8266 @endif gawk
8268 .PHONY: install-gawk maybe-install-gawk
8269 maybe-install-gawk:
8270 @if gawk
8271 maybe-install-gawk: install-gawk
8273 install-gawk: installdirs
8274 @r=`${PWD_COMMAND}`; export r; \
8275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8276 $(SET_LIB_PATH) \
8277 $(HOST_EXPORTS) \
8278 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8280 @endif gawk
8282 # Other targets (info, dvi, etc.)
8284 .PHONY: maybe-info-gawk info-gawk
8285 maybe-info-gawk:
8286 @if gawk
8287 maybe-info-gawk: info-gawk
8289 info-gawk: \
8290 configure-gawk
8291 @[ -f ./gawk/Makefile ] || exit 0; \
8292 r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8294 $(SET_LIB_PATH) \
8295 $(HOST_EXPORTS) \
8296 for flag in $(EXTRA_HOST_FLAGS); do \
8297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8298 done; \
8299 echo "Doing info in gawk" ; \
8300 (cd gawk && \
8301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8303 "RANLIB=$${RANLIB}" \
8304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8305 info) \
8306 || exit 1
8308 @endif gawk
8310 .PHONY: maybe-dvi-gawk dvi-gawk
8311 maybe-dvi-gawk:
8312 @if gawk
8313 maybe-dvi-gawk: dvi-gawk
8315 dvi-gawk: \
8316 configure-gawk
8317 @[ -f ./gawk/Makefile ] || exit 0; \
8318 r=`${PWD_COMMAND}`; export r; \
8319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8320 $(SET_LIB_PATH) \
8321 $(HOST_EXPORTS) \
8322 for flag in $(EXTRA_HOST_FLAGS); do \
8323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8324 done; \
8325 echo "Doing dvi in gawk" ; \
8326 (cd gawk && \
8327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8329 "RANLIB=$${RANLIB}" \
8330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8331 dvi) \
8332 || exit 1
8334 @endif gawk
8336 .PHONY: maybe-TAGS-gawk TAGS-gawk
8337 maybe-TAGS-gawk:
8338 @if gawk
8339 maybe-TAGS-gawk: TAGS-gawk
8341 TAGS-gawk: \
8342 configure-gawk
8343 @[ -f ./gawk/Makefile ] || exit 0; \
8344 r=`${PWD_COMMAND}`; export r; \
8345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8346 $(SET_LIB_PATH) \
8347 $(HOST_EXPORTS) \
8348 for flag in $(EXTRA_HOST_FLAGS); do \
8349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8350 done; \
8351 echo "Doing TAGS in gawk" ; \
8352 (cd gawk && \
8353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8355 "RANLIB=$${RANLIB}" \
8356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8357 TAGS) \
8358 || exit 1
8360 @endif gawk
8362 .PHONY: maybe-install-info-gawk install-info-gawk
8363 maybe-install-info-gawk:
8364 @if gawk
8365 maybe-install-info-gawk: install-info-gawk
8367 install-info-gawk: \
8368 configure-gawk \
8369 info-gawk
8370 @[ -f ./gawk/Makefile ] || exit 0; \
8371 r=`${PWD_COMMAND}`; export r; \
8372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373 $(SET_LIB_PATH) \
8374 $(HOST_EXPORTS) \
8375 for flag in $(EXTRA_HOST_FLAGS); do \
8376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8377 done; \
8378 echo "Doing install-info in gawk" ; \
8379 (cd gawk && \
8380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8382 "RANLIB=$${RANLIB}" \
8383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8384 install-info) \
8385 || exit 1
8387 @endif gawk
8389 .PHONY: maybe-installcheck-gawk installcheck-gawk
8390 maybe-installcheck-gawk:
8391 @if gawk
8392 maybe-installcheck-gawk: installcheck-gawk
8394 installcheck-gawk: \
8395 configure-gawk
8396 @[ -f ./gawk/Makefile ] || exit 0; \
8397 r=`${PWD_COMMAND}`; export r; \
8398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8399 $(SET_LIB_PATH) \
8400 $(HOST_EXPORTS) \
8401 for flag in $(EXTRA_HOST_FLAGS); do \
8402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8403 done; \
8404 echo "Doing installcheck in gawk" ; \
8405 (cd gawk && \
8406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8408 "RANLIB=$${RANLIB}" \
8409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8410 installcheck) \
8411 || exit 1
8413 @endif gawk
8415 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8416 maybe-mostlyclean-gawk:
8417 @if gawk
8418 maybe-mostlyclean-gawk: mostlyclean-gawk
8420 mostlyclean-gawk:
8421 @[ -f ./gawk/Makefile ] || exit 0; \
8422 r=`${PWD_COMMAND}`; export r; \
8423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 $(SET_LIB_PATH) \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS); do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing mostlyclean in gawk" ; \
8430 (cd gawk && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 mostlyclean) \
8436 || exit 1
8438 @endif gawk
8440 .PHONY: maybe-clean-gawk clean-gawk
8441 maybe-clean-gawk:
8442 @if gawk
8443 maybe-clean-gawk: clean-gawk
8445 clean-gawk:
8446 @[ -f ./gawk/Makefile ] || exit 0; \
8447 r=`${PWD_COMMAND}`; export r; \
8448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8449 $(SET_LIB_PATH) \
8450 $(HOST_EXPORTS) \
8451 for flag in $(EXTRA_HOST_FLAGS); do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 done; \
8454 echo "Doing clean in gawk" ; \
8455 (cd gawk && \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8460 clean) \
8461 || exit 1
8463 @endif gawk
8465 .PHONY: maybe-distclean-gawk distclean-gawk
8466 maybe-distclean-gawk:
8467 @if gawk
8468 maybe-distclean-gawk: distclean-gawk
8470 distclean-gawk:
8471 @[ -f ./gawk/Makefile ] || exit 0; \
8472 r=`${PWD_COMMAND}`; export r; \
8473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8474 $(SET_LIB_PATH) \
8475 $(HOST_EXPORTS) \
8476 for flag in $(EXTRA_HOST_FLAGS); do \
8477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 done; \
8479 echo "Doing distclean in gawk" ; \
8480 (cd gawk && \
8481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8483 "RANLIB=$${RANLIB}" \
8484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8485 distclean) \
8486 || exit 1
8488 @endif gawk
8490 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8491 maybe-maintainer-clean-gawk:
8492 @if gawk
8493 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8495 maintainer-clean-gawk:
8496 @[ -f ./gawk/Makefile ] || exit 0; \
8497 r=`${PWD_COMMAND}`; export r; \
8498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8499 $(SET_LIB_PATH) \
8500 $(HOST_EXPORTS) \
8501 for flag in $(EXTRA_HOST_FLAGS); do \
8502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8503 done; \
8504 echo "Doing maintainer-clean in gawk" ; \
8505 (cd gawk && \
8506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8508 "RANLIB=$${RANLIB}" \
8509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8510 maintainer-clean) \
8511 || exit 1
8513 @endif gawk
8516 .PHONY: configure-gettext maybe-configure-gettext
8517 maybe-configure-gettext:
8518 @if gettext
8519 maybe-configure-gettext: configure-gettext
8520 configure-gettext:
8521 @test ! -f gettext/Makefile || exit 0; \
8522 [ -d gettext ] || mkdir gettext; \
8523 r=`${PWD_COMMAND}`; export r; \
8524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 $(HOST_EXPORTS) \
8526 echo Configuring in gettext; \
8527 cd gettext || exit 1; \
8528 case $(srcdir) in \
8529 \.) \
8530 srcdiroption="--srcdir=."; \
8531 libsrcdir=".";; \
8532 /* | [A-Za-z]:[\\/]*) \
8533 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8534 libsrcdir="$$s/gettext";; \
8535 *) \
8536 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8537 libsrcdir="$$s/gettext";; \
8538 esac; \
8539 $(SHELL) $${libsrcdir}/configure \
8540 $(HOST_CONFIGARGS) $${srcdiroption} \
8541 || exit 1
8542 @endif gettext
8544 .PHONY: all-gettext maybe-all-gettext
8545 maybe-all-gettext:
8546 @if gettext
8547 maybe-all-gettext: all-gettext
8548 all-gettext: configure-gettext
8549 @r=`${PWD_COMMAND}`; export r; \
8550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 $(SET_LIB_PATH) \
8552 $(HOST_EXPORTS) \
8553 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8554 @endif gettext
8556 .PHONY: check-gettext maybe-check-gettext
8557 maybe-check-gettext:
8558 @if gettext
8559 maybe-check-gettext: check-gettext
8561 check-gettext:
8562 @r=`${PWD_COMMAND}`; export r; \
8563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8564 $(SET_LIB_PATH) \
8565 $(HOST_EXPORTS) \
8566 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8568 @endif gettext
8570 .PHONY: install-gettext maybe-install-gettext
8571 maybe-install-gettext:
8572 @if gettext
8573 maybe-install-gettext: install-gettext
8575 install-gettext: installdirs
8576 @r=`${PWD_COMMAND}`; export r; \
8577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 $(SET_LIB_PATH) \
8579 $(HOST_EXPORTS) \
8580 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8582 @endif gettext
8584 # Other targets (info, dvi, etc.)
8586 .PHONY: maybe-info-gettext info-gettext
8587 maybe-info-gettext:
8588 @if gettext
8589 maybe-info-gettext: info-gettext
8591 info-gettext: \
8592 configure-gettext
8593 @[ -f ./gettext/Makefile ] || exit 0; \
8594 r=`${PWD_COMMAND}`; export r; \
8595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8596 $(SET_LIB_PATH) \
8597 $(HOST_EXPORTS) \
8598 for flag in $(EXTRA_HOST_FLAGS); do \
8599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8600 done; \
8601 echo "Doing info in gettext" ; \
8602 (cd gettext && \
8603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8605 "RANLIB=$${RANLIB}" \
8606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8607 info) \
8608 || exit 1
8610 @endif gettext
8612 .PHONY: maybe-dvi-gettext dvi-gettext
8613 maybe-dvi-gettext:
8614 @if gettext
8615 maybe-dvi-gettext: dvi-gettext
8617 dvi-gettext: \
8618 configure-gettext
8619 @[ -f ./gettext/Makefile ] || exit 0; \
8620 r=`${PWD_COMMAND}`; export r; \
8621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8622 $(SET_LIB_PATH) \
8623 $(HOST_EXPORTS) \
8624 for flag in $(EXTRA_HOST_FLAGS); do \
8625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8626 done; \
8627 echo "Doing dvi in gettext" ; \
8628 (cd gettext && \
8629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8631 "RANLIB=$${RANLIB}" \
8632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8633 dvi) \
8634 || exit 1
8636 @endif gettext
8638 .PHONY: maybe-TAGS-gettext TAGS-gettext
8639 maybe-TAGS-gettext:
8640 @if gettext
8641 maybe-TAGS-gettext: TAGS-gettext
8643 TAGS-gettext: \
8644 configure-gettext
8645 @[ -f ./gettext/Makefile ] || exit 0; \
8646 r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648 $(SET_LIB_PATH) \
8649 $(HOST_EXPORTS) \
8650 for flag in $(EXTRA_HOST_FLAGS); do \
8651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8652 done; \
8653 echo "Doing TAGS in gettext" ; \
8654 (cd gettext && \
8655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8657 "RANLIB=$${RANLIB}" \
8658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8659 TAGS) \
8660 || exit 1
8662 @endif gettext
8664 .PHONY: maybe-install-info-gettext install-info-gettext
8665 maybe-install-info-gettext:
8666 @if gettext
8667 maybe-install-info-gettext: install-info-gettext
8669 install-info-gettext: \
8670 configure-gettext \
8671 info-gettext
8672 @[ -f ./gettext/Makefile ] || exit 0; \
8673 r=`${PWD_COMMAND}`; export r; \
8674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8675 $(SET_LIB_PATH) \
8676 $(HOST_EXPORTS) \
8677 for flag in $(EXTRA_HOST_FLAGS); do \
8678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 done; \
8680 echo "Doing install-info in gettext" ; \
8681 (cd gettext && \
8682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8684 "RANLIB=$${RANLIB}" \
8685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8686 install-info) \
8687 || exit 1
8689 @endif gettext
8691 .PHONY: maybe-installcheck-gettext installcheck-gettext
8692 maybe-installcheck-gettext:
8693 @if gettext
8694 maybe-installcheck-gettext: installcheck-gettext
8696 installcheck-gettext: \
8697 configure-gettext
8698 @[ -f ./gettext/Makefile ] || exit 0; \
8699 r=`${PWD_COMMAND}`; export r; \
8700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8701 $(SET_LIB_PATH) \
8702 $(HOST_EXPORTS) \
8703 for flag in $(EXTRA_HOST_FLAGS); do \
8704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8705 done; \
8706 echo "Doing installcheck in gettext" ; \
8707 (cd gettext && \
8708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8710 "RANLIB=$${RANLIB}" \
8711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8712 installcheck) \
8713 || exit 1
8715 @endif gettext
8717 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
8718 maybe-mostlyclean-gettext:
8719 @if gettext
8720 maybe-mostlyclean-gettext: mostlyclean-gettext
8722 mostlyclean-gettext:
8723 @[ -f ./gettext/Makefile ] || exit 0; \
8724 r=`${PWD_COMMAND}`; export r; \
8725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8726 $(SET_LIB_PATH) \
8727 $(HOST_EXPORTS) \
8728 for flag in $(EXTRA_HOST_FLAGS); do \
8729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8730 done; \
8731 echo "Doing mostlyclean in gettext" ; \
8732 (cd gettext && \
8733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8735 "RANLIB=$${RANLIB}" \
8736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8737 mostlyclean) \
8738 || exit 1
8740 @endif gettext
8742 .PHONY: maybe-clean-gettext clean-gettext
8743 maybe-clean-gettext:
8744 @if gettext
8745 maybe-clean-gettext: clean-gettext
8747 clean-gettext:
8748 @[ -f ./gettext/Makefile ] || exit 0; \
8749 r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 $(SET_LIB_PATH) \
8752 $(HOST_EXPORTS) \
8753 for flag in $(EXTRA_HOST_FLAGS); do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8755 done; \
8756 echo "Doing clean in gettext" ; \
8757 (cd gettext && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8762 clean) \
8763 || exit 1
8765 @endif gettext
8767 .PHONY: maybe-distclean-gettext distclean-gettext
8768 maybe-distclean-gettext:
8769 @if gettext
8770 maybe-distclean-gettext: distclean-gettext
8772 distclean-gettext:
8773 @[ -f ./gettext/Makefile ] || exit 0; \
8774 r=`${PWD_COMMAND}`; export r; \
8775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8776 $(SET_LIB_PATH) \
8777 $(HOST_EXPORTS) \
8778 for flag in $(EXTRA_HOST_FLAGS); do \
8779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8780 done; \
8781 echo "Doing distclean in gettext" ; \
8782 (cd gettext && \
8783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8785 "RANLIB=$${RANLIB}" \
8786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8787 distclean) \
8788 || exit 1
8790 @endif gettext
8792 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
8793 maybe-maintainer-clean-gettext:
8794 @if gettext
8795 maybe-maintainer-clean-gettext: maintainer-clean-gettext
8797 maintainer-clean-gettext:
8798 @[ -f ./gettext/Makefile ] || exit 0; \
8799 r=`${PWD_COMMAND}`; export r; \
8800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8801 $(SET_LIB_PATH) \
8802 $(HOST_EXPORTS) \
8803 for flag in $(EXTRA_HOST_FLAGS); do \
8804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8805 done; \
8806 echo "Doing maintainer-clean in gettext" ; \
8807 (cd gettext && \
8808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8810 "RANLIB=$${RANLIB}" \
8811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8812 maintainer-clean) \
8813 || exit 1
8815 @endif gettext
8818 .PHONY: configure-gnuserv maybe-configure-gnuserv
8819 maybe-configure-gnuserv:
8820 @if gnuserv
8821 maybe-configure-gnuserv: configure-gnuserv
8822 configure-gnuserv:
8823 @test ! -f gnuserv/Makefile || exit 0; \
8824 [ -d gnuserv ] || mkdir gnuserv; \
8825 r=`${PWD_COMMAND}`; export r; \
8826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8827 $(HOST_EXPORTS) \
8828 echo Configuring in gnuserv; \
8829 cd gnuserv || exit 1; \
8830 case $(srcdir) in \
8831 \.) \
8832 srcdiroption="--srcdir=."; \
8833 libsrcdir=".";; \
8834 /* | [A-Za-z]:[\\/]*) \
8835 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
8836 libsrcdir="$$s/gnuserv";; \
8837 *) \
8838 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
8839 libsrcdir="$$s/gnuserv";; \
8840 esac; \
8841 $(SHELL) $${libsrcdir}/configure \
8842 $(HOST_CONFIGARGS) $${srcdiroption} \
8843 || exit 1
8844 @endif gnuserv
8846 .PHONY: all-gnuserv maybe-all-gnuserv
8847 maybe-all-gnuserv:
8848 @if gnuserv
8849 maybe-all-gnuserv: all-gnuserv
8850 all-gnuserv: configure-gnuserv
8851 @r=`${PWD_COMMAND}`; export r; \
8852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8853 $(SET_LIB_PATH) \
8854 $(HOST_EXPORTS) \
8855 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
8856 @endif gnuserv
8858 .PHONY: check-gnuserv maybe-check-gnuserv
8859 maybe-check-gnuserv:
8860 @if gnuserv
8861 maybe-check-gnuserv: check-gnuserv
8863 check-gnuserv:
8864 @r=`${PWD_COMMAND}`; export r; \
8865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8866 $(SET_LIB_PATH) \
8867 $(HOST_EXPORTS) \
8868 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8870 @endif gnuserv
8872 .PHONY: install-gnuserv maybe-install-gnuserv
8873 maybe-install-gnuserv:
8874 @if gnuserv
8875 maybe-install-gnuserv: install-gnuserv
8877 install-gnuserv: installdirs
8878 @r=`${PWD_COMMAND}`; export r; \
8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8880 $(SET_LIB_PATH) \
8881 $(HOST_EXPORTS) \
8882 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8884 @endif gnuserv
8886 # Other targets (info, dvi, etc.)
8888 .PHONY: maybe-info-gnuserv info-gnuserv
8889 maybe-info-gnuserv:
8890 @if gnuserv
8891 maybe-info-gnuserv: info-gnuserv
8893 info-gnuserv: \
8894 configure-gnuserv
8895 @[ -f ./gnuserv/Makefile ] || exit 0; \
8896 r=`${PWD_COMMAND}`; export r; \
8897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8898 $(SET_LIB_PATH) \
8899 $(HOST_EXPORTS) \
8900 for flag in $(EXTRA_HOST_FLAGS); do \
8901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8902 done; \
8903 echo "Doing info in gnuserv" ; \
8904 (cd gnuserv && \
8905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8907 "RANLIB=$${RANLIB}" \
8908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8909 info) \
8910 || exit 1
8912 @endif gnuserv
8914 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8915 maybe-dvi-gnuserv:
8916 @if gnuserv
8917 maybe-dvi-gnuserv: dvi-gnuserv
8919 dvi-gnuserv: \
8920 configure-gnuserv
8921 @[ -f ./gnuserv/Makefile ] || exit 0; \
8922 r=`${PWD_COMMAND}`; export r; \
8923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8924 $(SET_LIB_PATH) \
8925 $(HOST_EXPORTS) \
8926 for flag in $(EXTRA_HOST_FLAGS); do \
8927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8928 done; \
8929 echo "Doing dvi in gnuserv" ; \
8930 (cd gnuserv && \
8931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8933 "RANLIB=$${RANLIB}" \
8934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8935 dvi) \
8936 || exit 1
8938 @endif gnuserv
8940 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8941 maybe-TAGS-gnuserv:
8942 @if gnuserv
8943 maybe-TAGS-gnuserv: TAGS-gnuserv
8945 TAGS-gnuserv: \
8946 configure-gnuserv
8947 @[ -f ./gnuserv/Makefile ] || exit 0; \
8948 r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950 $(SET_LIB_PATH) \
8951 $(HOST_EXPORTS) \
8952 for flag in $(EXTRA_HOST_FLAGS); do \
8953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8954 done; \
8955 echo "Doing TAGS in gnuserv" ; \
8956 (cd gnuserv && \
8957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959 "RANLIB=$${RANLIB}" \
8960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8961 TAGS) \
8962 || exit 1
8964 @endif gnuserv
8966 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8967 maybe-install-info-gnuserv:
8968 @if gnuserv
8969 maybe-install-info-gnuserv: install-info-gnuserv
8971 install-info-gnuserv: \
8972 configure-gnuserv \
8973 info-gnuserv
8974 @[ -f ./gnuserv/Makefile ] || exit 0; \
8975 r=`${PWD_COMMAND}`; export r; \
8976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8977 $(SET_LIB_PATH) \
8978 $(HOST_EXPORTS) \
8979 for flag in $(EXTRA_HOST_FLAGS); do \
8980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8981 done; \
8982 echo "Doing install-info in gnuserv" ; \
8983 (cd gnuserv && \
8984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8986 "RANLIB=$${RANLIB}" \
8987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8988 install-info) \
8989 || exit 1
8991 @endif gnuserv
8993 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8994 maybe-installcheck-gnuserv:
8995 @if gnuserv
8996 maybe-installcheck-gnuserv: installcheck-gnuserv
8998 installcheck-gnuserv: \
8999 configure-gnuserv
9000 @[ -f ./gnuserv/Makefile ] || exit 0; \
9001 r=`${PWD_COMMAND}`; export r; \
9002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9003 $(SET_LIB_PATH) \
9004 $(HOST_EXPORTS) \
9005 for flag in $(EXTRA_HOST_FLAGS); do \
9006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007 done; \
9008 echo "Doing installcheck in gnuserv" ; \
9009 (cd gnuserv && \
9010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012 "RANLIB=$${RANLIB}" \
9013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9014 installcheck) \
9015 || exit 1
9017 @endif gnuserv
9019 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9020 maybe-mostlyclean-gnuserv:
9021 @if gnuserv
9022 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9024 mostlyclean-gnuserv:
9025 @[ -f ./gnuserv/Makefile ] || exit 0; \
9026 r=`${PWD_COMMAND}`; export r; \
9027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9028 $(SET_LIB_PATH) \
9029 $(HOST_EXPORTS) \
9030 for flag in $(EXTRA_HOST_FLAGS); do \
9031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9032 done; \
9033 echo "Doing mostlyclean in gnuserv" ; \
9034 (cd gnuserv && \
9035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9037 "RANLIB=$${RANLIB}" \
9038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9039 mostlyclean) \
9040 || exit 1
9042 @endif gnuserv
9044 .PHONY: maybe-clean-gnuserv clean-gnuserv
9045 maybe-clean-gnuserv:
9046 @if gnuserv
9047 maybe-clean-gnuserv: clean-gnuserv
9049 clean-gnuserv:
9050 @[ -f ./gnuserv/Makefile ] || exit 0; \
9051 r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9053 $(SET_LIB_PATH) \
9054 $(HOST_EXPORTS) \
9055 for flag in $(EXTRA_HOST_FLAGS); do \
9056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9057 done; \
9058 echo "Doing clean in gnuserv" ; \
9059 (cd gnuserv && \
9060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9062 "RANLIB=$${RANLIB}" \
9063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9064 clean) \
9065 || exit 1
9067 @endif gnuserv
9069 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9070 maybe-distclean-gnuserv:
9071 @if gnuserv
9072 maybe-distclean-gnuserv: distclean-gnuserv
9074 distclean-gnuserv:
9075 @[ -f ./gnuserv/Makefile ] || exit 0; \
9076 r=`${PWD_COMMAND}`; export r; \
9077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9078 $(SET_LIB_PATH) \
9079 $(HOST_EXPORTS) \
9080 for flag in $(EXTRA_HOST_FLAGS); do \
9081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9082 done; \
9083 echo "Doing distclean in gnuserv" ; \
9084 (cd gnuserv && \
9085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9087 "RANLIB=$${RANLIB}" \
9088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9089 distclean) \
9090 || exit 1
9092 @endif gnuserv
9094 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9095 maybe-maintainer-clean-gnuserv:
9096 @if gnuserv
9097 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9099 maintainer-clean-gnuserv:
9100 @[ -f ./gnuserv/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9103 $(SET_LIB_PATH) \
9104 $(HOST_EXPORTS) \
9105 for flag in $(EXTRA_HOST_FLAGS); do \
9106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9107 done; \
9108 echo "Doing maintainer-clean in gnuserv" ; \
9109 (cd gnuserv && \
9110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9112 "RANLIB=$${RANLIB}" \
9113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9114 maintainer-clean) \
9115 || exit 1
9117 @endif gnuserv
9120 .PHONY: configure-gprof maybe-configure-gprof
9121 maybe-configure-gprof:
9122 @if gprof
9123 maybe-configure-gprof: configure-gprof
9124 configure-gprof:
9125 @test ! -f gprof/Makefile || exit 0; \
9126 [ -d gprof ] || mkdir gprof; \
9127 r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 $(HOST_EXPORTS) \
9130 echo Configuring in gprof; \
9131 cd gprof || exit 1; \
9132 case $(srcdir) in \
9133 \.) \
9134 srcdiroption="--srcdir=."; \
9135 libsrcdir=".";; \
9136 /* | [A-Za-z]:[\\/]*) \
9137 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9138 libsrcdir="$$s/gprof";; \
9139 *) \
9140 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9141 libsrcdir="$$s/gprof";; \
9142 esac; \
9143 $(SHELL) $${libsrcdir}/configure \
9144 $(HOST_CONFIGARGS) $${srcdiroption} \
9145 || exit 1
9146 @endif gprof
9148 .PHONY: all-gprof maybe-all-gprof
9149 maybe-all-gprof:
9150 @if gprof
9151 maybe-all-gprof: all-gprof
9152 all-gprof: configure-gprof
9153 @r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9155 $(SET_LIB_PATH) \
9156 $(HOST_EXPORTS) \
9157 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9158 @endif gprof
9160 .PHONY: check-gprof maybe-check-gprof
9161 maybe-check-gprof:
9162 @if gprof
9163 maybe-check-gprof: check-gprof
9165 check-gprof:
9166 @r=`${PWD_COMMAND}`; export r; \
9167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9168 $(SET_LIB_PATH) \
9169 $(HOST_EXPORTS) \
9170 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9172 @endif gprof
9174 .PHONY: install-gprof maybe-install-gprof
9175 maybe-install-gprof:
9176 @if gprof
9177 maybe-install-gprof: install-gprof
9179 install-gprof: installdirs
9180 @r=`${PWD_COMMAND}`; export r; \
9181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 $(SET_LIB_PATH) \
9183 $(HOST_EXPORTS) \
9184 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9186 @endif gprof
9188 # Other targets (info, dvi, etc.)
9190 .PHONY: maybe-info-gprof info-gprof
9191 maybe-info-gprof:
9192 @if gprof
9193 maybe-info-gprof: info-gprof
9195 info-gprof: \
9196 configure-gprof
9197 @[ -f ./gprof/Makefile ] || exit 0; \
9198 r=`${PWD_COMMAND}`; export r; \
9199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9200 $(SET_LIB_PATH) \
9201 $(HOST_EXPORTS) \
9202 for flag in $(EXTRA_HOST_FLAGS); do \
9203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9204 done; \
9205 echo "Doing info in gprof" ; \
9206 (cd gprof && \
9207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9209 "RANLIB=$${RANLIB}" \
9210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9211 info) \
9212 || exit 1
9214 @endif gprof
9216 .PHONY: maybe-dvi-gprof dvi-gprof
9217 maybe-dvi-gprof:
9218 @if gprof
9219 maybe-dvi-gprof: dvi-gprof
9221 dvi-gprof: \
9222 configure-gprof
9223 @[ -f ./gprof/Makefile ] || exit 0; \
9224 r=`${PWD_COMMAND}`; export r; \
9225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9226 $(SET_LIB_PATH) \
9227 $(HOST_EXPORTS) \
9228 for flag in $(EXTRA_HOST_FLAGS); do \
9229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9230 done; \
9231 echo "Doing dvi in gprof" ; \
9232 (cd gprof && \
9233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9235 "RANLIB=$${RANLIB}" \
9236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9237 dvi) \
9238 || exit 1
9240 @endif gprof
9242 .PHONY: maybe-TAGS-gprof TAGS-gprof
9243 maybe-TAGS-gprof:
9244 @if gprof
9245 maybe-TAGS-gprof: TAGS-gprof
9247 TAGS-gprof: \
9248 configure-gprof
9249 @[ -f ./gprof/Makefile ] || exit 0; \
9250 r=`${PWD_COMMAND}`; export r; \
9251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9252 $(SET_LIB_PATH) \
9253 $(HOST_EXPORTS) \
9254 for flag in $(EXTRA_HOST_FLAGS); do \
9255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9256 done; \
9257 echo "Doing TAGS in gprof" ; \
9258 (cd gprof && \
9259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261 "RANLIB=$${RANLIB}" \
9262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9263 TAGS) \
9264 || exit 1
9266 @endif gprof
9268 .PHONY: maybe-install-info-gprof install-info-gprof
9269 maybe-install-info-gprof:
9270 @if gprof
9271 maybe-install-info-gprof: install-info-gprof
9273 install-info-gprof: \
9274 configure-gprof \
9275 info-gprof
9276 @[ -f ./gprof/Makefile ] || exit 0; \
9277 r=`${PWD_COMMAND}`; export r; \
9278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9279 $(SET_LIB_PATH) \
9280 $(HOST_EXPORTS) \
9281 for flag in $(EXTRA_HOST_FLAGS); do \
9282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9283 done; \
9284 echo "Doing install-info in gprof" ; \
9285 (cd gprof && \
9286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9288 "RANLIB=$${RANLIB}" \
9289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9290 install-info) \
9291 || exit 1
9293 @endif gprof
9295 .PHONY: maybe-installcheck-gprof installcheck-gprof
9296 maybe-installcheck-gprof:
9297 @if gprof
9298 maybe-installcheck-gprof: installcheck-gprof
9300 installcheck-gprof: \
9301 configure-gprof
9302 @[ -f ./gprof/Makefile ] || exit 0; \
9303 r=`${PWD_COMMAND}`; export r; \
9304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9305 $(SET_LIB_PATH) \
9306 $(HOST_EXPORTS) \
9307 for flag in $(EXTRA_HOST_FLAGS); do \
9308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9309 done; \
9310 echo "Doing installcheck in gprof" ; \
9311 (cd gprof && \
9312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9314 "RANLIB=$${RANLIB}" \
9315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9316 installcheck) \
9317 || exit 1
9319 @endif gprof
9321 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9322 maybe-mostlyclean-gprof:
9323 @if gprof
9324 maybe-mostlyclean-gprof: mostlyclean-gprof
9326 mostlyclean-gprof:
9327 @[ -f ./gprof/Makefile ] || exit 0; \
9328 r=`${PWD_COMMAND}`; export r; \
9329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9330 $(SET_LIB_PATH) \
9331 $(HOST_EXPORTS) \
9332 for flag in $(EXTRA_HOST_FLAGS); do \
9333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9334 done; \
9335 echo "Doing mostlyclean in gprof" ; \
9336 (cd gprof && \
9337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9339 "RANLIB=$${RANLIB}" \
9340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9341 mostlyclean) \
9342 || exit 1
9344 @endif gprof
9346 .PHONY: maybe-clean-gprof clean-gprof
9347 maybe-clean-gprof:
9348 @if gprof
9349 maybe-clean-gprof: clean-gprof
9351 clean-gprof:
9352 @[ -f ./gprof/Makefile ] || exit 0; \
9353 r=`${PWD_COMMAND}`; export r; \
9354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9355 $(SET_LIB_PATH) \
9356 $(HOST_EXPORTS) \
9357 for flag in $(EXTRA_HOST_FLAGS); do \
9358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9359 done; \
9360 echo "Doing clean in gprof" ; \
9361 (cd gprof && \
9362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9364 "RANLIB=$${RANLIB}" \
9365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9366 clean) \
9367 || exit 1
9369 @endif gprof
9371 .PHONY: maybe-distclean-gprof distclean-gprof
9372 maybe-distclean-gprof:
9373 @if gprof
9374 maybe-distclean-gprof: distclean-gprof
9376 distclean-gprof:
9377 @[ -f ./gprof/Makefile ] || exit 0; \
9378 r=`${PWD_COMMAND}`; export r; \
9379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 $(SET_LIB_PATH) \
9381 $(HOST_EXPORTS) \
9382 for flag in $(EXTRA_HOST_FLAGS); do \
9383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9384 done; \
9385 echo "Doing distclean in gprof" ; \
9386 (cd gprof && \
9387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9389 "RANLIB=$${RANLIB}" \
9390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9391 distclean) \
9392 || exit 1
9394 @endif gprof
9396 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9397 maybe-maintainer-clean-gprof:
9398 @if gprof
9399 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9401 maintainer-clean-gprof:
9402 @[ -f ./gprof/Makefile ] || exit 0; \
9403 r=`${PWD_COMMAND}`; export r; \
9404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9405 $(SET_LIB_PATH) \
9406 $(HOST_EXPORTS) \
9407 for flag in $(EXTRA_HOST_FLAGS); do \
9408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9409 done; \
9410 echo "Doing maintainer-clean in gprof" ; \
9411 (cd gprof && \
9412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9414 "RANLIB=$${RANLIB}" \
9415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9416 maintainer-clean) \
9417 || exit 1
9419 @endif gprof
9422 .PHONY: configure-gzip maybe-configure-gzip
9423 maybe-configure-gzip:
9424 @if gzip
9425 maybe-configure-gzip: configure-gzip
9426 configure-gzip:
9427 @test ! -f gzip/Makefile || exit 0; \
9428 [ -d gzip ] || mkdir gzip; \
9429 r=`${PWD_COMMAND}`; export r; \
9430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9431 $(HOST_EXPORTS) \
9432 echo Configuring in gzip; \
9433 cd gzip || exit 1; \
9434 case $(srcdir) in \
9435 \.) \
9436 srcdiroption="--srcdir=."; \
9437 libsrcdir=".";; \
9438 /* | [A-Za-z]:[\\/]*) \
9439 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9440 libsrcdir="$$s/gzip";; \
9441 *) \
9442 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9443 libsrcdir="$$s/gzip";; \
9444 esac; \
9445 $(SHELL) $${libsrcdir}/configure \
9446 $(HOST_CONFIGARGS) $${srcdiroption} \
9447 || exit 1
9448 @endif gzip
9450 .PHONY: all-gzip maybe-all-gzip
9451 maybe-all-gzip:
9452 @if gzip
9453 maybe-all-gzip: all-gzip
9454 all-gzip: configure-gzip
9455 @r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9457 $(SET_LIB_PATH) \
9458 $(HOST_EXPORTS) \
9459 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9460 @endif gzip
9462 .PHONY: check-gzip maybe-check-gzip
9463 maybe-check-gzip:
9464 @if gzip
9465 maybe-check-gzip: check-gzip
9467 check-gzip:
9468 @r=`${PWD_COMMAND}`; export r; \
9469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9470 $(SET_LIB_PATH) \
9471 $(HOST_EXPORTS) \
9472 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9474 @endif gzip
9476 .PHONY: install-gzip maybe-install-gzip
9477 maybe-install-gzip:
9478 @if gzip
9479 maybe-install-gzip: install-gzip
9481 install-gzip: installdirs
9482 @r=`${PWD_COMMAND}`; export r; \
9483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 $(SET_LIB_PATH) \
9485 $(HOST_EXPORTS) \
9486 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9488 @endif gzip
9490 # Other targets (info, dvi, etc.)
9492 .PHONY: maybe-info-gzip info-gzip
9493 maybe-info-gzip:
9494 @if gzip
9495 maybe-info-gzip: info-gzip
9497 info-gzip: \
9498 configure-gzip
9499 @[ -f ./gzip/Makefile ] || exit 0; \
9500 r=`${PWD_COMMAND}`; export r; \
9501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9502 $(SET_LIB_PATH) \
9503 $(HOST_EXPORTS) \
9504 for flag in $(EXTRA_HOST_FLAGS); do \
9505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9506 done; \
9507 echo "Doing info in gzip" ; \
9508 (cd gzip && \
9509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9511 "RANLIB=$${RANLIB}" \
9512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9513 info) \
9514 || exit 1
9516 @endif gzip
9518 .PHONY: maybe-dvi-gzip dvi-gzip
9519 maybe-dvi-gzip:
9520 @if gzip
9521 maybe-dvi-gzip: dvi-gzip
9523 dvi-gzip: \
9524 configure-gzip
9525 @[ -f ./gzip/Makefile ] || exit 0; \
9526 r=`${PWD_COMMAND}`; export r; \
9527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9528 $(SET_LIB_PATH) \
9529 $(HOST_EXPORTS) \
9530 for flag in $(EXTRA_HOST_FLAGS); do \
9531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9532 done; \
9533 echo "Doing dvi in gzip" ; \
9534 (cd gzip && \
9535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9537 "RANLIB=$${RANLIB}" \
9538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9539 dvi) \
9540 || exit 1
9542 @endif gzip
9544 .PHONY: maybe-TAGS-gzip TAGS-gzip
9545 maybe-TAGS-gzip:
9546 @if gzip
9547 maybe-TAGS-gzip: TAGS-gzip
9549 TAGS-gzip: \
9550 configure-gzip
9551 @[ -f ./gzip/Makefile ] || exit 0; \
9552 r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 $(SET_LIB_PATH) \
9555 $(HOST_EXPORTS) \
9556 for flag in $(EXTRA_HOST_FLAGS); do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558 done; \
9559 echo "Doing TAGS in gzip" ; \
9560 (cd gzip && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565 TAGS) \
9566 || exit 1
9568 @endif gzip
9570 .PHONY: maybe-install-info-gzip install-info-gzip
9571 maybe-install-info-gzip:
9572 @if gzip
9573 maybe-install-info-gzip: install-info-gzip
9575 install-info-gzip: \
9576 configure-gzip \
9577 info-gzip
9578 @[ -f ./gzip/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9581 $(SET_LIB_PATH) \
9582 $(HOST_EXPORTS) \
9583 for flag in $(EXTRA_HOST_FLAGS); do \
9584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9585 done; \
9586 echo "Doing install-info in gzip" ; \
9587 (cd gzip && \
9588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9590 "RANLIB=$${RANLIB}" \
9591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9592 install-info) \
9593 || exit 1
9595 @endif gzip
9597 .PHONY: maybe-installcheck-gzip installcheck-gzip
9598 maybe-installcheck-gzip:
9599 @if gzip
9600 maybe-installcheck-gzip: installcheck-gzip
9602 installcheck-gzip: \
9603 configure-gzip
9604 @[ -f ./gzip/Makefile ] || exit 0; \
9605 r=`${PWD_COMMAND}`; export r; \
9606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9607 $(SET_LIB_PATH) \
9608 $(HOST_EXPORTS) \
9609 for flag in $(EXTRA_HOST_FLAGS); do \
9610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9611 done; \
9612 echo "Doing installcheck in gzip" ; \
9613 (cd gzip && \
9614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9616 "RANLIB=$${RANLIB}" \
9617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9618 installcheck) \
9619 || exit 1
9621 @endif gzip
9623 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9624 maybe-mostlyclean-gzip:
9625 @if gzip
9626 maybe-mostlyclean-gzip: mostlyclean-gzip
9628 mostlyclean-gzip:
9629 @[ -f ./gzip/Makefile ] || exit 0; \
9630 r=`${PWD_COMMAND}`; export r; \
9631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632 $(SET_LIB_PATH) \
9633 $(HOST_EXPORTS) \
9634 for flag in $(EXTRA_HOST_FLAGS); do \
9635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9636 done; \
9637 echo "Doing mostlyclean in gzip" ; \
9638 (cd gzip && \
9639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9641 "RANLIB=$${RANLIB}" \
9642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9643 mostlyclean) \
9644 || exit 1
9646 @endif gzip
9648 .PHONY: maybe-clean-gzip clean-gzip
9649 maybe-clean-gzip:
9650 @if gzip
9651 maybe-clean-gzip: clean-gzip
9653 clean-gzip:
9654 @[ -f ./gzip/Makefile ] || exit 0; \
9655 r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(SET_LIB_PATH) \
9658 $(HOST_EXPORTS) \
9659 for flag in $(EXTRA_HOST_FLAGS); do \
9660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9661 done; \
9662 echo "Doing clean in gzip" ; \
9663 (cd gzip && \
9664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9666 "RANLIB=$${RANLIB}" \
9667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9668 clean) \
9669 || exit 1
9671 @endif gzip
9673 .PHONY: maybe-distclean-gzip distclean-gzip
9674 maybe-distclean-gzip:
9675 @if gzip
9676 maybe-distclean-gzip: distclean-gzip
9678 distclean-gzip:
9679 @[ -f ./gzip/Makefile ] || exit 0; \
9680 r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 $(SET_LIB_PATH) \
9683 $(HOST_EXPORTS) \
9684 for flag in $(EXTRA_HOST_FLAGS); do \
9685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9686 done; \
9687 echo "Doing distclean in gzip" ; \
9688 (cd gzip && \
9689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9691 "RANLIB=$${RANLIB}" \
9692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9693 distclean) \
9694 || exit 1
9696 @endif gzip
9698 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
9699 maybe-maintainer-clean-gzip:
9700 @if gzip
9701 maybe-maintainer-clean-gzip: maintainer-clean-gzip
9703 maintainer-clean-gzip:
9704 @[ -f ./gzip/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(SET_LIB_PATH) \
9708 $(HOST_EXPORTS) \
9709 for flag in $(EXTRA_HOST_FLAGS); do \
9710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9711 done; \
9712 echo "Doing maintainer-clean in gzip" ; \
9713 (cd gzip && \
9714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9716 "RANLIB=$${RANLIB}" \
9717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9718 maintainer-clean) \
9719 || exit 1
9721 @endif gzip
9724 .PHONY: configure-hello maybe-configure-hello
9725 maybe-configure-hello:
9726 @if hello
9727 maybe-configure-hello: configure-hello
9728 configure-hello:
9729 @test ! -f hello/Makefile || exit 0; \
9730 [ -d hello ] || mkdir hello; \
9731 r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9733 $(HOST_EXPORTS) \
9734 echo Configuring in hello; \
9735 cd hello || exit 1; \
9736 case $(srcdir) in \
9737 \.) \
9738 srcdiroption="--srcdir=."; \
9739 libsrcdir=".";; \
9740 /* | [A-Za-z]:[\\/]*) \
9741 srcdiroption="--srcdir=$(srcdir)/hello"; \
9742 libsrcdir="$$s/hello";; \
9743 *) \
9744 srcdiroption="--srcdir=../$(srcdir)/hello"; \
9745 libsrcdir="$$s/hello";; \
9746 esac; \
9747 $(SHELL) $${libsrcdir}/configure \
9748 $(HOST_CONFIGARGS) $${srcdiroption} \
9749 || exit 1
9750 @endif hello
9752 .PHONY: all-hello maybe-all-hello
9753 maybe-all-hello:
9754 @if hello
9755 maybe-all-hello: all-hello
9756 all-hello: configure-hello
9757 @r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 $(SET_LIB_PATH) \
9760 $(HOST_EXPORTS) \
9761 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
9762 @endif hello
9764 .PHONY: check-hello maybe-check-hello
9765 maybe-check-hello:
9766 @if hello
9767 maybe-check-hello: check-hello
9769 check-hello:
9770 @r=`${PWD_COMMAND}`; export r; \
9771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9772 $(SET_LIB_PATH) \
9773 $(HOST_EXPORTS) \
9774 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
9776 @endif hello
9778 .PHONY: install-hello maybe-install-hello
9779 maybe-install-hello:
9780 @if hello
9781 maybe-install-hello: install-hello
9783 install-hello: installdirs
9784 @r=`${PWD_COMMAND}`; export r; \
9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9786 $(SET_LIB_PATH) \
9787 $(HOST_EXPORTS) \
9788 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
9790 @endif hello
9792 # Other targets (info, dvi, etc.)
9794 .PHONY: maybe-info-hello info-hello
9795 maybe-info-hello:
9796 @if hello
9797 maybe-info-hello: info-hello
9799 info-hello: \
9800 configure-hello
9801 @[ -f ./hello/Makefile ] || exit 0; \
9802 r=`${PWD_COMMAND}`; export r; \
9803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9804 $(SET_LIB_PATH) \
9805 $(HOST_EXPORTS) \
9806 for flag in $(EXTRA_HOST_FLAGS); do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 done; \
9809 echo "Doing info in hello" ; \
9810 (cd hello && \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9815 info) \
9816 || exit 1
9818 @endif hello
9820 .PHONY: maybe-dvi-hello dvi-hello
9821 maybe-dvi-hello:
9822 @if hello
9823 maybe-dvi-hello: dvi-hello
9825 dvi-hello: \
9826 configure-hello
9827 @[ -f ./hello/Makefile ] || exit 0; \
9828 r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 $(SET_LIB_PATH) \
9831 $(HOST_EXPORTS) \
9832 for flag in $(EXTRA_HOST_FLAGS); do \
9833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9834 done; \
9835 echo "Doing dvi in hello" ; \
9836 (cd hello && \
9837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9839 "RANLIB=$${RANLIB}" \
9840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9841 dvi) \
9842 || exit 1
9844 @endif hello
9846 .PHONY: maybe-TAGS-hello TAGS-hello
9847 maybe-TAGS-hello:
9848 @if hello
9849 maybe-TAGS-hello: TAGS-hello
9851 TAGS-hello: \
9852 configure-hello
9853 @[ -f ./hello/Makefile ] || exit 0; \
9854 r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856 $(SET_LIB_PATH) \
9857 $(HOST_EXPORTS) \
9858 for flag in $(EXTRA_HOST_FLAGS); do \
9859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9860 done; \
9861 echo "Doing TAGS in hello" ; \
9862 (cd hello && \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865 "RANLIB=$${RANLIB}" \
9866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9867 TAGS) \
9868 || exit 1
9870 @endif hello
9872 .PHONY: maybe-install-info-hello install-info-hello
9873 maybe-install-info-hello:
9874 @if hello
9875 maybe-install-info-hello: install-info-hello
9877 install-info-hello: \
9878 configure-hello \
9879 info-hello
9880 @[ -f ./hello/Makefile ] || exit 0; \
9881 r=`${PWD_COMMAND}`; export r; \
9882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9883 $(SET_LIB_PATH) \
9884 $(HOST_EXPORTS) \
9885 for flag in $(EXTRA_HOST_FLAGS); do \
9886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9887 done; \
9888 echo "Doing install-info in hello" ; \
9889 (cd hello && \
9890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9892 "RANLIB=$${RANLIB}" \
9893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9894 install-info) \
9895 || exit 1
9897 @endif hello
9899 .PHONY: maybe-installcheck-hello installcheck-hello
9900 maybe-installcheck-hello:
9901 @if hello
9902 maybe-installcheck-hello: installcheck-hello
9904 installcheck-hello: \
9905 configure-hello
9906 @[ -f ./hello/Makefile ] || exit 0; \
9907 r=`${PWD_COMMAND}`; export r; \
9908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9909 $(SET_LIB_PATH) \
9910 $(HOST_EXPORTS) \
9911 for flag in $(EXTRA_HOST_FLAGS); do \
9912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9913 done; \
9914 echo "Doing installcheck in hello" ; \
9915 (cd hello && \
9916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9918 "RANLIB=$${RANLIB}" \
9919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9920 installcheck) \
9921 || exit 1
9923 @endif hello
9925 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
9926 maybe-mostlyclean-hello:
9927 @if hello
9928 maybe-mostlyclean-hello: mostlyclean-hello
9930 mostlyclean-hello:
9931 @[ -f ./hello/Makefile ] || exit 0; \
9932 r=`${PWD_COMMAND}`; export r; \
9933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9934 $(SET_LIB_PATH) \
9935 $(HOST_EXPORTS) \
9936 for flag in $(EXTRA_HOST_FLAGS); do \
9937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9938 done; \
9939 echo "Doing mostlyclean in hello" ; \
9940 (cd hello && \
9941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9943 "RANLIB=$${RANLIB}" \
9944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9945 mostlyclean) \
9946 || exit 1
9948 @endif hello
9950 .PHONY: maybe-clean-hello clean-hello
9951 maybe-clean-hello:
9952 @if hello
9953 maybe-clean-hello: clean-hello
9955 clean-hello:
9956 @[ -f ./hello/Makefile ] || exit 0; \
9957 r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9959 $(SET_LIB_PATH) \
9960 $(HOST_EXPORTS) \
9961 for flag in $(EXTRA_HOST_FLAGS); do \
9962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9963 done; \
9964 echo "Doing clean in hello" ; \
9965 (cd hello && \
9966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9968 "RANLIB=$${RANLIB}" \
9969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9970 clean) \
9971 || exit 1
9973 @endif hello
9975 .PHONY: maybe-distclean-hello distclean-hello
9976 maybe-distclean-hello:
9977 @if hello
9978 maybe-distclean-hello: distclean-hello
9980 distclean-hello:
9981 @[ -f ./hello/Makefile ] || exit 0; \
9982 r=`${PWD_COMMAND}`; export r; \
9983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9984 $(SET_LIB_PATH) \
9985 $(HOST_EXPORTS) \
9986 for flag in $(EXTRA_HOST_FLAGS); do \
9987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9988 done; \
9989 echo "Doing distclean in hello" ; \
9990 (cd hello && \
9991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9993 "RANLIB=$${RANLIB}" \
9994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9995 distclean) \
9996 || exit 1
9998 @endif hello
10000 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10001 maybe-maintainer-clean-hello:
10002 @if hello
10003 maybe-maintainer-clean-hello: maintainer-clean-hello
10005 maintainer-clean-hello:
10006 @[ -f ./hello/Makefile ] || exit 0; \
10007 r=`${PWD_COMMAND}`; export r; \
10008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 $(SET_LIB_PATH) \
10010 $(HOST_EXPORTS) \
10011 for flag in $(EXTRA_HOST_FLAGS); do \
10012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10013 done; \
10014 echo "Doing maintainer-clean in hello" ; \
10015 (cd hello && \
10016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10018 "RANLIB=$${RANLIB}" \
10019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10020 maintainer-clean) \
10021 || exit 1
10023 @endif hello
10026 .PHONY: configure-indent maybe-configure-indent
10027 maybe-configure-indent:
10028 @if indent
10029 maybe-configure-indent: configure-indent
10030 configure-indent:
10031 @test ! -f indent/Makefile || exit 0; \
10032 [ -d indent ] || mkdir indent; \
10033 r=`${PWD_COMMAND}`; export r; \
10034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 $(HOST_EXPORTS) \
10036 echo Configuring in indent; \
10037 cd indent || exit 1; \
10038 case $(srcdir) in \
10039 \.) \
10040 srcdiroption="--srcdir=."; \
10041 libsrcdir=".";; \
10042 /* | [A-Za-z]:[\\/]*) \
10043 srcdiroption="--srcdir=$(srcdir)/indent"; \
10044 libsrcdir="$$s/indent";; \
10045 *) \
10046 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10047 libsrcdir="$$s/indent";; \
10048 esac; \
10049 $(SHELL) $${libsrcdir}/configure \
10050 $(HOST_CONFIGARGS) $${srcdiroption} \
10051 || exit 1
10052 @endif indent
10054 .PHONY: all-indent maybe-all-indent
10055 maybe-all-indent:
10056 @if indent
10057 maybe-all-indent: all-indent
10058 all-indent: configure-indent
10059 @r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 $(SET_LIB_PATH) \
10062 $(HOST_EXPORTS) \
10063 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10064 @endif indent
10066 .PHONY: check-indent maybe-check-indent
10067 maybe-check-indent:
10068 @if indent
10069 maybe-check-indent: check-indent
10071 check-indent:
10072 @r=`${PWD_COMMAND}`; export r; \
10073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 $(SET_LIB_PATH) \
10075 $(HOST_EXPORTS) \
10076 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10078 @endif indent
10080 .PHONY: install-indent maybe-install-indent
10081 maybe-install-indent:
10082 @if indent
10083 maybe-install-indent: install-indent
10085 install-indent: installdirs
10086 @r=`${PWD_COMMAND}`; export r; \
10087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10088 $(SET_LIB_PATH) \
10089 $(HOST_EXPORTS) \
10090 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10092 @endif indent
10094 # Other targets (info, dvi, etc.)
10096 .PHONY: maybe-info-indent info-indent
10097 maybe-info-indent:
10098 @if indent
10099 maybe-info-indent: info-indent
10101 info-indent: \
10102 configure-indent
10103 @[ -f ./indent/Makefile ] || exit 0; \
10104 r=`${PWD_COMMAND}`; export r; \
10105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 $(SET_LIB_PATH) \
10107 $(HOST_EXPORTS) \
10108 for flag in $(EXTRA_HOST_FLAGS); do \
10109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10110 done; \
10111 echo "Doing info in indent" ; \
10112 (cd indent && \
10113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10115 "RANLIB=$${RANLIB}" \
10116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10117 info) \
10118 || exit 1
10120 @endif indent
10122 .PHONY: maybe-dvi-indent dvi-indent
10123 maybe-dvi-indent:
10124 @if indent
10125 maybe-dvi-indent: dvi-indent
10127 dvi-indent: \
10128 configure-indent
10129 @[ -f ./indent/Makefile ] || exit 0; \
10130 r=`${PWD_COMMAND}`; export r; \
10131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10132 $(SET_LIB_PATH) \
10133 $(HOST_EXPORTS) \
10134 for flag in $(EXTRA_HOST_FLAGS); do \
10135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10136 done; \
10137 echo "Doing dvi in indent" ; \
10138 (cd indent && \
10139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10141 "RANLIB=$${RANLIB}" \
10142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10143 dvi) \
10144 || exit 1
10146 @endif indent
10148 .PHONY: maybe-TAGS-indent TAGS-indent
10149 maybe-TAGS-indent:
10150 @if indent
10151 maybe-TAGS-indent: TAGS-indent
10153 TAGS-indent: \
10154 configure-indent
10155 @[ -f ./indent/Makefile ] || exit 0; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10158 $(SET_LIB_PATH) \
10159 $(HOST_EXPORTS) \
10160 for flag in $(EXTRA_HOST_FLAGS); do \
10161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10162 done; \
10163 echo "Doing TAGS in indent" ; \
10164 (cd indent && \
10165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10167 "RANLIB=$${RANLIB}" \
10168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10169 TAGS) \
10170 || exit 1
10172 @endif indent
10174 .PHONY: maybe-install-info-indent install-info-indent
10175 maybe-install-info-indent:
10176 @if indent
10177 maybe-install-info-indent: install-info-indent
10179 install-info-indent: \
10180 configure-indent \
10181 info-indent
10182 @[ -f ./indent/Makefile ] || exit 0; \
10183 r=`${PWD_COMMAND}`; export r; \
10184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10185 $(SET_LIB_PATH) \
10186 $(HOST_EXPORTS) \
10187 for flag in $(EXTRA_HOST_FLAGS); do \
10188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 done; \
10190 echo "Doing install-info in indent" ; \
10191 (cd indent && \
10192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10194 "RANLIB=$${RANLIB}" \
10195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10196 install-info) \
10197 || exit 1
10199 @endif indent
10201 .PHONY: maybe-installcheck-indent installcheck-indent
10202 maybe-installcheck-indent:
10203 @if indent
10204 maybe-installcheck-indent: installcheck-indent
10206 installcheck-indent: \
10207 configure-indent
10208 @[ -f ./indent/Makefile ] || exit 0; \
10209 r=`${PWD_COMMAND}`; export r; \
10210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10211 $(SET_LIB_PATH) \
10212 $(HOST_EXPORTS) \
10213 for flag in $(EXTRA_HOST_FLAGS); do \
10214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10215 done; \
10216 echo "Doing installcheck in indent" ; \
10217 (cd indent && \
10218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10220 "RANLIB=$${RANLIB}" \
10221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10222 installcheck) \
10223 || exit 1
10225 @endif indent
10227 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10228 maybe-mostlyclean-indent:
10229 @if indent
10230 maybe-mostlyclean-indent: mostlyclean-indent
10232 mostlyclean-indent:
10233 @[ -f ./indent/Makefile ] || exit 0; \
10234 r=`${PWD_COMMAND}`; export r; \
10235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10236 $(SET_LIB_PATH) \
10237 $(HOST_EXPORTS) \
10238 for flag in $(EXTRA_HOST_FLAGS); do \
10239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10240 done; \
10241 echo "Doing mostlyclean in indent" ; \
10242 (cd indent && \
10243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10245 "RANLIB=$${RANLIB}" \
10246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10247 mostlyclean) \
10248 || exit 1
10250 @endif indent
10252 .PHONY: maybe-clean-indent clean-indent
10253 maybe-clean-indent:
10254 @if indent
10255 maybe-clean-indent: clean-indent
10257 clean-indent:
10258 @[ -f ./indent/Makefile ] || exit 0; \
10259 r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 $(SET_LIB_PATH) \
10262 $(HOST_EXPORTS) \
10263 for flag in $(EXTRA_HOST_FLAGS); do \
10264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10265 done; \
10266 echo "Doing clean in indent" ; \
10267 (cd indent && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10270 "RANLIB=$${RANLIB}" \
10271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10272 clean) \
10273 || exit 1
10275 @endif indent
10277 .PHONY: maybe-distclean-indent distclean-indent
10278 maybe-distclean-indent:
10279 @if indent
10280 maybe-distclean-indent: distclean-indent
10282 distclean-indent:
10283 @[ -f ./indent/Makefile ] || exit 0; \
10284 r=`${PWD_COMMAND}`; export r; \
10285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 $(SET_LIB_PATH) \
10287 $(HOST_EXPORTS) \
10288 for flag in $(EXTRA_HOST_FLAGS); do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 done; \
10291 echo "Doing distclean in indent" ; \
10292 (cd indent && \
10293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10295 "RANLIB=$${RANLIB}" \
10296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10297 distclean) \
10298 || exit 1
10300 @endif indent
10302 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10303 maybe-maintainer-clean-indent:
10304 @if indent
10305 maybe-maintainer-clean-indent: maintainer-clean-indent
10307 maintainer-clean-indent:
10308 @[ -f ./indent/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(SET_LIB_PATH) \
10312 $(HOST_EXPORTS) \
10313 for flag in $(EXTRA_HOST_FLAGS); do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 done; \
10316 echo "Doing maintainer-clean in indent" ; \
10317 (cd indent && \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10322 maintainer-clean) \
10323 || exit 1
10325 @endif indent
10328 .PHONY: configure-intl maybe-configure-intl
10329 maybe-configure-intl:
10330 @if intl
10331 maybe-configure-intl: configure-intl
10332 configure-intl:
10333 @test ! -f intl/Makefile || exit 0; \
10334 [ -d intl ] || mkdir intl; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 echo Configuring in intl; \
10339 cd intl || exit 1; \
10340 case $(srcdir) in \
10341 \.) \
10342 srcdiroption="--srcdir=."; \
10343 libsrcdir=".";; \
10344 /* | [A-Za-z]:[\\/]*) \
10345 srcdiroption="--srcdir=$(srcdir)/intl"; \
10346 libsrcdir="$$s/intl";; \
10347 *) \
10348 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10349 libsrcdir="$$s/intl";; \
10350 esac; \
10351 $(SHELL) $${libsrcdir}/configure \
10352 $(HOST_CONFIGARGS) $${srcdiroption} \
10353 || exit 1
10354 @endif intl
10356 .PHONY: all-intl maybe-all-intl
10357 maybe-all-intl:
10358 @if intl
10359 maybe-all-intl: all-intl
10360 all-intl: configure-intl
10361 @r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10363 $(SET_LIB_PATH) \
10364 $(HOST_EXPORTS) \
10365 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10366 @endif intl
10368 .PHONY: check-intl maybe-check-intl
10369 maybe-check-intl:
10370 @if intl
10371 maybe-check-intl: check-intl
10373 check-intl:
10374 @r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10376 $(SET_LIB_PATH) \
10377 $(HOST_EXPORTS) \
10378 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10380 @endif intl
10382 .PHONY: install-intl maybe-install-intl
10383 maybe-install-intl:
10384 @if intl
10385 maybe-install-intl: install-intl
10387 install-intl: installdirs
10388 @r=`${PWD_COMMAND}`; export r; \
10389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 $(SET_LIB_PATH) \
10391 $(HOST_EXPORTS) \
10392 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10394 @endif intl
10396 # Other targets (info, dvi, etc.)
10398 .PHONY: maybe-info-intl info-intl
10399 maybe-info-intl:
10400 @if intl
10401 maybe-info-intl: info-intl
10403 info-intl: \
10404 configure-intl
10405 @[ -f ./intl/Makefile ] || exit 0; \
10406 r=`${PWD_COMMAND}`; export r; \
10407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10408 $(SET_LIB_PATH) \
10409 $(HOST_EXPORTS) \
10410 for flag in $(EXTRA_HOST_FLAGS); do \
10411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10412 done; \
10413 echo "Doing info in intl" ; \
10414 (cd intl && \
10415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10417 "RANLIB=$${RANLIB}" \
10418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10419 info) \
10420 || exit 1
10422 @endif intl
10424 .PHONY: maybe-dvi-intl dvi-intl
10425 maybe-dvi-intl:
10426 @if intl
10427 maybe-dvi-intl: dvi-intl
10429 dvi-intl: \
10430 configure-intl
10431 @[ -f ./intl/Makefile ] || exit 0; \
10432 r=`${PWD_COMMAND}`; export r; \
10433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10434 $(SET_LIB_PATH) \
10435 $(HOST_EXPORTS) \
10436 for flag in $(EXTRA_HOST_FLAGS); do \
10437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10438 done; \
10439 echo "Doing dvi in intl" ; \
10440 (cd intl && \
10441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10443 "RANLIB=$${RANLIB}" \
10444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10445 dvi) \
10446 || exit 1
10448 @endif intl
10450 .PHONY: maybe-TAGS-intl TAGS-intl
10451 maybe-TAGS-intl:
10452 @if intl
10453 maybe-TAGS-intl: TAGS-intl
10455 TAGS-intl: \
10456 configure-intl
10457 @[ -f ./intl/Makefile ] || exit 0; \
10458 r=`${PWD_COMMAND}`; export r; \
10459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460 $(SET_LIB_PATH) \
10461 $(HOST_EXPORTS) \
10462 for flag in $(EXTRA_HOST_FLAGS); do \
10463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10464 done; \
10465 echo "Doing TAGS in intl" ; \
10466 (cd intl && \
10467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10469 "RANLIB=$${RANLIB}" \
10470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10471 TAGS) \
10472 || exit 1
10474 @endif intl
10476 .PHONY: maybe-install-info-intl install-info-intl
10477 maybe-install-info-intl:
10478 @if intl
10479 maybe-install-info-intl: install-info-intl
10481 install-info-intl: \
10482 configure-intl \
10483 info-intl
10484 @[ -f ./intl/Makefile ] || exit 0; \
10485 r=`${PWD_COMMAND}`; export r; \
10486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10487 $(SET_LIB_PATH) \
10488 $(HOST_EXPORTS) \
10489 for flag in $(EXTRA_HOST_FLAGS); do \
10490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 done; \
10492 echo "Doing install-info in intl" ; \
10493 (cd intl && \
10494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10496 "RANLIB=$${RANLIB}" \
10497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10498 install-info) \
10499 || exit 1
10501 @endif intl
10503 .PHONY: maybe-installcheck-intl installcheck-intl
10504 maybe-installcheck-intl:
10505 @if intl
10506 maybe-installcheck-intl: installcheck-intl
10508 installcheck-intl: \
10509 configure-intl
10510 @[ -f ./intl/Makefile ] || exit 0; \
10511 r=`${PWD_COMMAND}`; export r; \
10512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513 $(SET_LIB_PATH) \
10514 $(HOST_EXPORTS) \
10515 for flag in $(EXTRA_HOST_FLAGS); do \
10516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10517 done; \
10518 echo "Doing installcheck in intl" ; \
10519 (cd intl && \
10520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10522 "RANLIB=$${RANLIB}" \
10523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10524 installcheck) \
10525 || exit 1
10527 @endif intl
10529 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10530 maybe-mostlyclean-intl:
10531 @if intl
10532 maybe-mostlyclean-intl: mostlyclean-intl
10534 mostlyclean-intl:
10535 @[ -f ./intl/Makefile ] || exit 0; \
10536 r=`${PWD_COMMAND}`; export r; \
10537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 $(SET_LIB_PATH) \
10539 $(HOST_EXPORTS) \
10540 for flag in $(EXTRA_HOST_FLAGS); do \
10541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10542 done; \
10543 echo "Doing mostlyclean in intl" ; \
10544 (cd intl && \
10545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10547 "RANLIB=$${RANLIB}" \
10548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10549 mostlyclean) \
10550 || exit 1
10552 @endif intl
10554 .PHONY: maybe-clean-intl clean-intl
10555 maybe-clean-intl:
10556 @if intl
10557 maybe-clean-intl: clean-intl
10559 clean-intl:
10560 @[ -f ./intl/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(SET_LIB_PATH) \
10564 $(HOST_EXPORTS) \
10565 for flag in $(EXTRA_HOST_FLAGS); do \
10566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10567 done; \
10568 echo "Doing clean in intl" ; \
10569 (cd intl && \
10570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572 "RANLIB=$${RANLIB}" \
10573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10574 clean) \
10575 || exit 1
10577 @endif intl
10579 .PHONY: maybe-distclean-intl distclean-intl
10580 maybe-distclean-intl:
10581 @if intl
10582 maybe-distclean-intl: distclean-intl
10584 distclean-intl:
10585 @[ -f ./intl/Makefile ] || exit 0; \
10586 r=`${PWD_COMMAND}`; export r; \
10587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10588 $(SET_LIB_PATH) \
10589 $(HOST_EXPORTS) \
10590 for flag in $(EXTRA_HOST_FLAGS); do \
10591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10592 done; \
10593 echo "Doing distclean in intl" ; \
10594 (cd intl && \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10597 "RANLIB=$${RANLIB}" \
10598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10599 distclean) \
10600 || exit 1
10602 @endif intl
10604 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10605 maybe-maintainer-clean-intl:
10606 @if intl
10607 maybe-maintainer-clean-intl: maintainer-clean-intl
10609 maintainer-clean-intl:
10610 @[ -f ./intl/Makefile ] || exit 0; \
10611 r=`${PWD_COMMAND}`; export r; \
10612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10613 $(SET_LIB_PATH) \
10614 $(HOST_EXPORTS) \
10615 for flag in $(EXTRA_HOST_FLAGS); do \
10616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10617 done; \
10618 echo "Doing maintainer-clean in intl" ; \
10619 (cd intl && \
10620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10622 "RANLIB=$${RANLIB}" \
10623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10624 maintainer-clean) \
10625 || exit 1
10627 @endif intl
10630 .PHONY: configure-tcl maybe-configure-tcl
10631 maybe-configure-tcl:
10632 @if tcl
10633 maybe-configure-tcl: configure-tcl
10634 configure-tcl:
10635 @test ! -f tcl/Makefile || exit 0; \
10636 [ -d tcl ] || mkdir tcl; \
10637 r=`${PWD_COMMAND}`; export r; \
10638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10639 $(HOST_EXPORTS) \
10640 echo Configuring in tcl; \
10641 cd tcl || exit 1; \
10642 case $(srcdir) in \
10643 \.) \
10644 srcdiroption="--srcdir=."; \
10645 libsrcdir=".";; \
10646 /* | [A-Za-z]:[\\/]*) \
10647 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10648 libsrcdir="$$s/tcl";; \
10649 *) \
10650 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10651 libsrcdir="$$s/tcl";; \
10652 esac; \
10653 $(SHELL) $${libsrcdir}/configure \
10654 $(HOST_CONFIGARGS) $${srcdiroption} \
10655 || exit 1
10656 @endif tcl
10658 .PHONY: all-tcl maybe-all-tcl
10659 maybe-all-tcl:
10660 @if tcl
10661 maybe-all-tcl: all-tcl
10662 all-tcl: configure-tcl
10663 @r=`${PWD_COMMAND}`; export r; \
10664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10665 $(SET_LIB_PATH) \
10666 $(HOST_EXPORTS) \
10667 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
10668 @endif tcl
10670 .PHONY: check-tcl maybe-check-tcl
10671 maybe-check-tcl:
10672 @if tcl
10673 maybe-check-tcl: check-tcl
10675 check-tcl:
10676 @r=`${PWD_COMMAND}`; export r; \
10677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10678 $(SET_LIB_PATH) \
10679 $(HOST_EXPORTS) \
10680 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
10682 @endif tcl
10684 .PHONY: install-tcl maybe-install-tcl
10685 maybe-install-tcl:
10686 @if tcl
10687 maybe-install-tcl: install-tcl
10689 install-tcl: installdirs
10690 @r=`${PWD_COMMAND}`; export r; \
10691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10692 $(SET_LIB_PATH) \
10693 $(HOST_EXPORTS) \
10694 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
10696 @endif tcl
10698 # Other targets (info, dvi, etc.)
10700 .PHONY: maybe-info-tcl info-tcl
10701 maybe-info-tcl:
10702 @if tcl
10703 maybe-info-tcl: info-tcl
10705 info-tcl: \
10706 configure-tcl
10707 @[ -f ./tcl/Makefile ] || exit 0; \
10708 r=`${PWD_COMMAND}`; export r; \
10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10710 $(SET_LIB_PATH) \
10711 $(HOST_EXPORTS) \
10712 for flag in $(EXTRA_HOST_FLAGS); do \
10713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10714 done; \
10715 echo "Doing info in tcl" ; \
10716 (cd tcl && \
10717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10719 "RANLIB=$${RANLIB}" \
10720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10721 info) \
10722 || exit 1
10724 @endif tcl
10726 .PHONY: maybe-dvi-tcl dvi-tcl
10727 maybe-dvi-tcl:
10728 @if tcl
10729 maybe-dvi-tcl: dvi-tcl
10731 dvi-tcl: \
10732 configure-tcl
10733 @[ -f ./tcl/Makefile ] || exit 0; \
10734 r=`${PWD_COMMAND}`; export r; \
10735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10736 $(SET_LIB_PATH) \
10737 $(HOST_EXPORTS) \
10738 for flag in $(EXTRA_HOST_FLAGS); do \
10739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10740 done; \
10741 echo "Doing dvi in tcl" ; \
10742 (cd tcl && \
10743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10745 "RANLIB=$${RANLIB}" \
10746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10747 dvi) \
10748 || exit 1
10750 @endif tcl
10752 .PHONY: maybe-TAGS-tcl TAGS-tcl
10753 maybe-TAGS-tcl:
10754 @if tcl
10755 maybe-TAGS-tcl: TAGS-tcl
10757 TAGS-tcl: \
10758 configure-tcl
10759 @[ -f ./tcl/Makefile ] || exit 0; \
10760 r=`${PWD_COMMAND}`; export r; \
10761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10762 $(SET_LIB_PATH) \
10763 $(HOST_EXPORTS) \
10764 for flag in $(EXTRA_HOST_FLAGS); do \
10765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10766 done; \
10767 echo "Doing TAGS in tcl" ; \
10768 (cd tcl && \
10769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10771 "RANLIB=$${RANLIB}" \
10772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10773 TAGS) \
10774 || exit 1
10776 @endif tcl
10778 .PHONY: maybe-install-info-tcl install-info-tcl
10779 maybe-install-info-tcl:
10780 @if tcl
10781 maybe-install-info-tcl: install-info-tcl
10783 install-info-tcl: \
10784 configure-tcl \
10785 info-tcl
10786 @[ -f ./tcl/Makefile ] || exit 0; \
10787 r=`${PWD_COMMAND}`; export r; \
10788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10789 $(SET_LIB_PATH) \
10790 $(HOST_EXPORTS) \
10791 for flag in $(EXTRA_HOST_FLAGS); do \
10792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 done; \
10794 echo "Doing install-info in tcl" ; \
10795 (cd tcl && \
10796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10798 "RANLIB=$${RANLIB}" \
10799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10800 install-info) \
10801 || exit 1
10803 @endif tcl
10805 .PHONY: maybe-installcheck-tcl installcheck-tcl
10806 maybe-installcheck-tcl:
10807 @if tcl
10808 maybe-installcheck-tcl: installcheck-tcl
10810 installcheck-tcl: \
10811 configure-tcl
10812 @[ -f ./tcl/Makefile ] || exit 0; \
10813 r=`${PWD_COMMAND}`; export r; \
10814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10815 $(SET_LIB_PATH) \
10816 $(HOST_EXPORTS) \
10817 for flag in $(EXTRA_HOST_FLAGS); do \
10818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819 done; \
10820 echo "Doing installcheck in tcl" ; \
10821 (cd tcl && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824 "RANLIB=$${RANLIB}" \
10825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10826 installcheck) \
10827 || exit 1
10829 @endif tcl
10831 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10832 maybe-mostlyclean-tcl:
10833 @if tcl
10834 maybe-mostlyclean-tcl: mostlyclean-tcl
10836 # tcl doesn't support mostlyclean.
10837 mostlyclean-tcl:
10839 @endif tcl
10841 .PHONY: maybe-clean-tcl clean-tcl
10842 maybe-clean-tcl:
10843 @if tcl
10844 maybe-clean-tcl: clean-tcl
10846 clean-tcl:
10847 @[ -f ./tcl/Makefile ] || exit 0; \
10848 r=`${PWD_COMMAND}`; export r; \
10849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10850 $(SET_LIB_PATH) \
10851 $(HOST_EXPORTS) \
10852 for flag in $(EXTRA_HOST_FLAGS); do \
10853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10854 done; \
10855 echo "Doing clean in tcl" ; \
10856 (cd tcl && \
10857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10859 "RANLIB=$${RANLIB}" \
10860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10861 clean) \
10862 || exit 1
10864 @endif tcl
10866 .PHONY: maybe-distclean-tcl distclean-tcl
10867 maybe-distclean-tcl:
10868 @if tcl
10869 maybe-distclean-tcl: distclean-tcl
10871 distclean-tcl:
10872 @[ -f ./tcl/Makefile ] || exit 0; \
10873 r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 $(SET_LIB_PATH) \
10876 $(HOST_EXPORTS) \
10877 for flag in $(EXTRA_HOST_FLAGS); do \
10878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10879 done; \
10880 echo "Doing distclean in tcl" ; \
10881 (cd tcl && \
10882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10884 "RANLIB=$${RANLIB}" \
10885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10886 distclean) \
10887 || exit 1
10889 @endif tcl
10891 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
10892 maybe-maintainer-clean-tcl:
10893 @if tcl
10894 maybe-maintainer-clean-tcl: maintainer-clean-tcl
10896 maintainer-clean-tcl:
10897 @[ -f ./tcl/Makefile ] || exit 0; \
10898 r=`${PWD_COMMAND}`; export r; \
10899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10900 $(SET_LIB_PATH) \
10901 $(HOST_EXPORTS) \
10902 for flag in $(EXTRA_HOST_FLAGS); do \
10903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10904 done; \
10905 echo "Doing maintainer-clean in tcl" ; \
10906 (cd tcl && \
10907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10909 "RANLIB=$${RANLIB}" \
10910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10911 maintainer-clean) \
10912 || exit 1
10914 @endif tcl
10917 .PHONY: configure-itcl maybe-configure-itcl
10918 maybe-configure-itcl:
10919 @if itcl
10920 maybe-configure-itcl: configure-itcl
10921 configure-itcl:
10922 @test ! -f itcl/Makefile || exit 0; \
10923 [ -d itcl ] || mkdir itcl; \
10924 r=`${PWD_COMMAND}`; export r; \
10925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10926 $(HOST_EXPORTS) \
10927 echo Configuring in itcl; \
10928 cd itcl || exit 1; \
10929 case $(srcdir) in \
10930 \.) \
10931 srcdiroption="--srcdir=."; \
10932 libsrcdir=".";; \
10933 /* | [A-Za-z]:[\\/]*) \
10934 srcdiroption="--srcdir=$(srcdir)/itcl"; \
10935 libsrcdir="$$s/itcl";; \
10936 *) \
10937 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
10938 libsrcdir="$$s/itcl";; \
10939 esac; \
10940 $(SHELL) $${libsrcdir}/configure \
10941 $(HOST_CONFIGARGS) $${srcdiroption} \
10942 || exit 1
10943 @endif itcl
10945 .PHONY: all-itcl maybe-all-itcl
10946 maybe-all-itcl:
10947 @if itcl
10948 maybe-all-itcl: all-itcl
10949 all-itcl: configure-itcl
10950 @r=`${PWD_COMMAND}`; export r; \
10951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10952 $(SET_LIB_PATH) \
10953 $(HOST_EXPORTS) \
10954 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
10955 @endif itcl
10957 .PHONY: check-itcl maybe-check-itcl
10958 maybe-check-itcl:
10959 @if itcl
10960 maybe-check-itcl: check-itcl
10962 check-itcl:
10963 @r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10965 $(SET_LIB_PATH) \
10966 $(HOST_EXPORTS) \
10967 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
10969 @endif itcl
10971 .PHONY: install-itcl maybe-install-itcl
10972 maybe-install-itcl:
10973 @if itcl
10974 maybe-install-itcl: install-itcl
10976 install-itcl: installdirs
10977 @r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(SET_LIB_PATH) \
10980 $(HOST_EXPORTS) \
10981 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
10983 @endif itcl
10985 # Other targets (info, dvi, etc.)
10987 .PHONY: maybe-info-itcl info-itcl
10988 maybe-info-itcl:
10989 @if itcl
10990 maybe-info-itcl: info-itcl
10992 info-itcl: \
10993 configure-itcl
10994 @[ -f ./itcl/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10997 $(SET_LIB_PATH) \
10998 $(HOST_EXPORTS) \
10999 for flag in $(EXTRA_HOST_FLAGS); do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 done; \
11002 echo "Doing info in itcl" ; \
11003 (cd itcl && \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11008 info) \
11009 || exit 1
11011 @endif itcl
11013 .PHONY: maybe-dvi-itcl dvi-itcl
11014 maybe-dvi-itcl:
11015 @if itcl
11016 maybe-dvi-itcl: dvi-itcl
11018 dvi-itcl: \
11019 configure-itcl
11020 @[ -f ./itcl/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 $(SET_LIB_PATH) \
11024 $(HOST_EXPORTS) \
11025 for flag in $(EXTRA_HOST_FLAGS); do \
11026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11027 done; \
11028 echo "Doing dvi in itcl" ; \
11029 (cd itcl && \
11030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11032 "RANLIB=$${RANLIB}" \
11033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11034 dvi) \
11035 || exit 1
11037 @endif itcl
11039 .PHONY: maybe-TAGS-itcl TAGS-itcl
11040 maybe-TAGS-itcl:
11041 @if itcl
11042 maybe-TAGS-itcl: TAGS-itcl
11044 TAGS-itcl: \
11045 configure-itcl
11046 @[ -f ./itcl/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(SET_LIB_PATH) \
11050 $(HOST_EXPORTS) \
11051 for flag in $(EXTRA_HOST_FLAGS); do \
11052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11053 done; \
11054 echo "Doing TAGS in itcl" ; \
11055 (cd itcl && \
11056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11058 "RANLIB=$${RANLIB}" \
11059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11060 TAGS) \
11061 || exit 1
11063 @endif itcl
11065 .PHONY: maybe-install-info-itcl install-info-itcl
11066 maybe-install-info-itcl:
11067 @if itcl
11068 maybe-install-info-itcl: install-info-itcl
11070 install-info-itcl: \
11071 configure-itcl \
11072 info-itcl
11073 @[ -f ./itcl/Makefile ] || exit 0; \
11074 r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 $(SET_LIB_PATH) \
11077 $(HOST_EXPORTS) \
11078 for flag in $(EXTRA_HOST_FLAGS); do \
11079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11080 done; \
11081 echo "Doing install-info in itcl" ; \
11082 (cd itcl && \
11083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085 "RANLIB=$${RANLIB}" \
11086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11087 install-info) \
11088 || exit 1
11090 @endif itcl
11092 .PHONY: maybe-installcheck-itcl installcheck-itcl
11093 maybe-installcheck-itcl:
11094 @if itcl
11095 maybe-installcheck-itcl: installcheck-itcl
11097 installcheck-itcl: \
11098 configure-itcl
11099 @[ -f ./itcl/Makefile ] || exit 0; \
11100 r=`${PWD_COMMAND}`; export r; \
11101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11102 $(SET_LIB_PATH) \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS); do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing installcheck in itcl" ; \
11108 (cd itcl && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 installcheck) \
11114 || exit 1
11116 @endif itcl
11118 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11119 maybe-mostlyclean-itcl:
11120 @if itcl
11121 maybe-mostlyclean-itcl: mostlyclean-itcl
11123 mostlyclean-itcl:
11124 @[ -f ./itcl/Makefile ] || exit 0; \
11125 r=`${PWD_COMMAND}`; export r; \
11126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11127 $(SET_LIB_PATH) \
11128 $(HOST_EXPORTS) \
11129 for flag in $(EXTRA_HOST_FLAGS); do \
11130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11131 done; \
11132 echo "Doing mostlyclean in itcl" ; \
11133 (cd itcl && \
11134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136 "RANLIB=$${RANLIB}" \
11137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11138 mostlyclean) \
11139 || exit 1
11141 @endif itcl
11143 .PHONY: maybe-clean-itcl clean-itcl
11144 maybe-clean-itcl:
11145 @if itcl
11146 maybe-clean-itcl: clean-itcl
11148 clean-itcl:
11149 @[ -f ./itcl/Makefile ] || exit 0; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 $(SET_LIB_PATH) \
11153 $(HOST_EXPORTS) \
11154 for flag in $(EXTRA_HOST_FLAGS); do \
11155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11156 done; \
11157 echo "Doing clean in itcl" ; \
11158 (cd itcl && \
11159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11161 "RANLIB=$${RANLIB}" \
11162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11163 clean) \
11164 || exit 1
11166 @endif itcl
11168 .PHONY: maybe-distclean-itcl distclean-itcl
11169 maybe-distclean-itcl:
11170 @if itcl
11171 maybe-distclean-itcl: distclean-itcl
11173 distclean-itcl:
11174 @[ -f ./itcl/Makefile ] || exit 0; \
11175 r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(SET_LIB_PATH) \
11178 $(HOST_EXPORTS) \
11179 for flag in $(EXTRA_HOST_FLAGS); do \
11180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11181 done; \
11182 echo "Doing distclean in itcl" ; \
11183 (cd itcl && \
11184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11186 "RANLIB=$${RANLIB}" \
11187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11188 distclean) \
11189 || exit 1
11191 @endif itcl
11193 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11194 maybe-maintainer-clean-itcl:
11195 @if itcl
11196 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11198 maintainer-clean-itcl:
11199 @[ -f ./itcl/Makefile ] || exit 0; \
11200 r=`${PWD_COMMAND}`; export r; \
11201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11202 $(SET_LIB_PATH) \
11203 $(HOST_EXPORTS) \
11204 for flag in $(EXTRA_HOST_FLAGS); do \
11205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11206 done; \
11207 echo "Doing maintainer-clean in itcl" ; \
11208 (cd itcl && \
11209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11211 "RANLIB=$${RANLIB}" \
11212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11213 maintainer-clean) \
11214 || exit 1
11216 @endif itcl
11219 .PHONY: configure-ld maybe-configure-ld
11220 maybe-configure-ld:
11221 @if ld
11222 maybe-configure-ld: configure-ld
11223 configure-ld:
11224 @test ! -f ld/Makefile || exit 0; \
11225 [ -d ld ] || mkdir ld; \
11226 r=`${PWD_COMMAND}`; export r; \
11227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11228 $(HOST_EXPORTS) \
11229 echo Configuring in ld; \
11230 cd ld || exit 1; \
11231 case $(srcdir) in \
11232 \.) \
11233 srcdiroption="--srcdir=."; \
11234 libsrcdir=".";; \
11235 /* | [A-Za-z]:[\\/]*) \
11236 srcdiroption="--srcdir=$(srcdir)/ld"; \
11237 libsrcdir="$$s/ld";; \
11238 *) \
11239 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11240 libsrcdir="$$s/ld";; \
11241 esac; \
11242 $(SHELL) $${libsrcdir}/configure \
11243 $(HOST_CONFIGARGS) $${srcdiroption} \
11244 || exit 1
11245 @endif ld
11247 .PHONY: all-ld maybe-all-ld
11248 maybe-all-ld:
11249 @if ld
11250 maybe-all-ld: all-ld
11251 all-ld: configure-ld
11252 @r=`${PWD_COMMAND}`; export r; \
11253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11254 $(SET_LIB_PATH) \
11255 $(HOST_EXPORTS) \
11256 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11257 @endif ld
11259 .PHONY: check-ld maybe-check-ld
11260 maybe-check-ld:
11261 @if ld
11262 maybe-check-ld: check-ld
11264 check-ld:
11265 @r=`${PWD_COMMAND}`; export r; \
11266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11267 $(SET_LIB_PATH) \
11268 $(HOST_EXPORTS) \
11269 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11271 @endif ld
11273 .PHONY: install-ld maybe-install-ld
11274 maybe-install-ld:
11275 @if ld
11276 maybe-install-ld: install-ld
11278 install-ld: installdirs
11279 @r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(SET_LIB_PATH) \
11282 $(HOST_EXPORTS) \
11283 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11285 @endif ld
11287 # Other targets (info, dvi, etc.)
11289 .PHONY: maybe-info-ld info-ld
11290 maybe-info-ld:
11291 @if ld
11292 maybe-info-ld: info-ld
11294 info-ld: \
11295 configure-ld
11296 @[ -f ./ld/Makefile ] || exit 0; \
11297 r=`${PWD_COMMAND}`; export r; \
11298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11299 $(SET_LIB_PATH) \
11300 $(HOST_EXPORTS) \
11301 for flag in $(EXTRA_HOST_FLAGS); do \
11302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11303 done; \
11304 echo "Doing info in ld" ; \
11305 (cd ld && \
11306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11308 "RANLIB=$${RANLIB}" \
11309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11310 info) \
11311 || exit 1
11313 @endif ld
11315 .PHONY: maybe-dvi-ld dvi-ld
11316 maybe-dvi-ld:
11317 @if ld
11318 maybe-dvi-ld: dvi-ld
11320 dvi-ld: \
11321 configure-ld
11322 @[ -f ./ld/Makefile ] || exit 0; \
11323 r=`${PWD_COMMAND}`; export r; \
11324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11325 $(SET_LIB_PATH) \
11326 $(HOST_EXPORTS) \
11327 for flag in $(EXTRA_HOST_FLAGS); do \
11328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11329 done; \
11330 echo "Doing dvi in ld" ; \
11331 (cd ld && \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11334 "RANLIB=$${RANLIB}" \
11335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11336 dvi) \
11337 || exit 1
11339 @endif ld
11341 .PHONY: maybe-TAGS-ld TAGS-ld
11342 maybe-TAGS-ld:
11343 @if ld
11344 maybe-TAGS-ld: TAGS-ld
11346 TAGS-ld: \
11347 configure-ld
11348 @[ -f ./ld/Makefile ] || exit 0; \
11349 r=`${PWD_COMMAND}`; export r; \
11350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11351 $(SET_LIB_PATH) \
11352 $(HOST_EXPORTS) \
11353 for flag in $(EXTRA_HOST_FLAGS); do \
11354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11355 done; \
11356 echo "Doing TAGS in ld" ; \
11357 (cd ld && \
11358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11360 "RANLIB=$${RANLIB}" \
11361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11362 TAGS) \
11363 || exit 1
11365 @endif ld
11367 .PHONY: maybe-install-info-ld install-info-ld
11368 maybe-install-info-ld:
11369 @if ld
11370 maybe-install-info-ld: install-info-ld
11372 install-info-ld: \
11373 configure-ld \
11374 info-ld
11375 @[ -f ./ld/Makefile ] || exit 0; \
11376 r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 $(SET_LIB_PATH) \
11379 $(HOST_EXPORTS) \
11380 for flag in $(EXTRA_HOST_FLAGS); do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11382 done; \
11383 echo "Doing install-info in ld" ; \
11384 (cd ld && \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11389 install-info) \
11390 || exit 1
11392 @endif ld
11394 .PHONY: maybe-installcheck-ld installcheck-ld
11395 maybe-installcheck-ld:
11396 @if ld
11397 maybe-installcheck-ld: installcheck-ld
11399 installcheck-ld: \
11400 configure-ld
11401 @[ -f ./ld/Makefile ] || exit 0; \
11402 r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 $(SET_LIB_PATH) \
11405 $(HOST_EXPORTS) \
11406 for flag in $(EXTRA_HOST_FLAGS); do \
11407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11408 done; \
11409 echo "Doing installcheck in ld" ; \
11410 (cd ld && \
11411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11413 "RANLIB=$${RANLIB}" \
11414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11415 installcheck) \
11416 || exit 1
11418 @endif ld
11420 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11421 maybe-mostlyclean-ld:
11422 @if ld
11423 maybe-mostlyclean-ld: mostlyclean-ld
11425 mostlyclean-ld:
11426 @[ -f ./ld/Makefile ] || exit 0; \
11427 r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429 $(SET_LIB_PATH) \
11430 $(HOST_EXPORTS) \
11431 for flag in $(EXTRA_HOST_FLAGS); do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 done; \
11434 echo "Doing mostlyclean in ld" ; \
11435 (cd ld && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11440 mostlyclean) \
11441 || exit 1
11443 @endif ld
11445 .PHONY: maybe-clean-ld clean-ld
11446 maybe-clean-ld:
11447 @if ld
11448 maybe-clean-ld: clean-ld
11450 clean-ld:
11451 @[ -f ./ld/Makefile ] || exit 0; \
11452 r=`${PWD_COMMAND}`; export r; \
11453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11454 $(SET_LIB_PATH) \
11455 $(HOST_EXPORTS) \
11456 for flag in $(EXTRA_HOST_FLAGS); do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 done; \
11459 echo "Doing clean in ld" ; \
11460 (cd ld && \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 clean) \
11466 || exit 1
11468 @endif ld
11470 .PHONY: maybe-distclean-ld distclean-ld
11471 maybe-distclean-ld:
11472 @if ld
11473 maybe-distclean-ld: distclean-ld
11475 distclean-ld:
11476 @[ -f ./ld/Makefile ] || exit 0; \
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 $(SET_LIB_PATH) \
11480 $(HOST_EXPORTS) \
11481 for flag in $(EXTRA_HOST_FLAGS); do \
11482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11483 done; \
11484 echo "Doing distclean in ld" ; \
11485 (cd ld && \
11486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11488 "RANLIB=$${RANLIB}" \
11489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11490 distclean) \
11491 || exit 1
11493 @endif ld
11495 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11496 maybe-maintainer-clean-ld:
11497 @if ld
11498 maybe-maintainer-clean-ld: maintainer-clean-ld
11500 maintainer-clean-ld:
11501 @[ -f ./ld/Makefile ] || exit 0; \
11502 r=`${PWD_COMMAND}`; export r; \
11503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11504 $(SET_LIB_PATH) \
11505 $(HOST_EXPORTS) \
11506 for flag in $(EXTRA_HOST_FLAGS); do \
11507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11508 done; \
11509 echo "Doing maintainer-clean in ld" ; \
11510 (cd ld && \
11511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513 "RANLIB=$${RANLIB}" \
11514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11515 maintainer-clean) \
11516 || exit 1
11518 @endif ld
11521 .PHONY: configure-libcpp maybe-configure-libcpp
11522 maybe-configure-libcpp:
11523 @if libcpp
11524 maybe-configure-libcpp: configure-libcpp
11525 configure-libcpp:
11526 @test ! -f libcpp/Makefile || exit 0; \
11527 [ -d libcpp ] || mkdir libcpp; \
11528 r=`${PWD_COMMAND}`; export r; \
11529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530 $(HOST_EXPORTS) \
11531 echo Configuring in libcpp; \
11532 cd libcpp || exit 1; \
11533 case $(srcdir) in \
11534 \.) \
11535 srcdiroption="--srcdir=."; \
11536 libsrcdir=".";; \
11537 /* | [A-Za-z]:[\\/]*) \
11538 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
11539 libsrcdir="$$s/libcpp";; \
11540 *) \
11541 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
11542 libsrcdir="$$s/libcpp";; \
11543 esac; \
11544 $(SHELL) $${libsrcdir}/configure \
11545 $(HOST_CONFIGARGS) $${srcdiroption} \
11546 || exit 1
11547 @endif libcpp
11549 .PHONY: all-libcpp maybe-all-libcpp
11550 maybe-all-libcpp:
11551 @if libcpp
11552 maybe-all-libcpp: all-libcpp
11553 all-libcpp: configure-libcpp
11554 @r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(SET_LIB_PATH) \
11557 $(HOST_EXPORTS) \
11558 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
11559 @endif libcpp
11561 .PHONY: check-libcpp maybe-check-libcpp
11562 maybe-check-libcpp:
11563 @if libcpp
11564 maybe-check-libcpp: check-libcpp
11566 check-libcpp:
11567 @r=`${PWD_COMMAND}`; export r; \
11568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11569 $(SET_LIB_PATH) \
11570 $(HOST_EXPORTS) \
11571 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
11573 @endif libcpp
11575 .PHONY: install-libcpp maybe-install-libcpp
11576 maybe-install-libcpp:
11577 @if libcpp
11578 maybe-install-libcpp: install-libcpp
11580 install-libcpp: installdirs
11581 @r=`${PWD_COMMAND}`; export r; \
11582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11583 $(SET_LIB_PATH) \
11584 $(HOST_EXPORTS) \
11585 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
11587 @endif libcpp
11589 # Other targets (info, dvi, etc.)
11591 .PHONY: maybe-info-libcpp info-libcpp
11592 maybe-info-libcpp:
11593 @if libcpp
11594 maybe-info-libcpp: info-libcpp
11596 info-libcpp: \
11597 configure-libcpp
11598 @[ -f ./libcpp/Makefile ] || exit 0; \
11599 r=`${PWD_COMMAND}`; export r; \
11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11601 $(SET_LIB_PATH) \
11602 $(HOST_EXPORTS) \
11603 for flag in $(EXTRA_HOST_FLAGS); do \
11604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11605 done; \
11606 echo "Doing info in libcpp" ; \
11607 (cd libcpp && \
11608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11610 "RANLIB=$${RANLIB}" \
11611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11612 info) \
11613 || exit 1
11615 @endif libcpp
11617 .PHONY: maybe-dvi-libcpp dvi-libcpp
11618 maybe-dvi-libcpp:
11619 @if libcpp
11620 maybe-dvi-libcpp: dvi-libcpp
11622 dvi-libcpp: \
11623 configure-libcpp
11624 @[ -f ./libcpp/Makefile ] || exit 0; \
11625 r=`${PWD_COMMAND}`; export r; \
11626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11627 $(SET_LIB_PATH) \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS); do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing dvi in libcpp" ; \
11633 (cd libcpp && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11638 dvi) \
11639 || exit 1
11641 @endif libcpp
11643 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
11644 maybe-TAGS-libcpp:
11645 @if libcpp
11646 maybe-TAGS-libcpp: TAGS-libcpp
11648 TAGS-libcpp: \
11649 configure-libcpp
11650 @[ -f ./libcpp/Makefile ] || exit 0; \
11651 r=`${PWD_COMMAND}`; export r; \
11652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 $(SET_LIB_PATH) \
11654 $(HOST_EXPORTS) \
11655 for flag in $(EXTRA_HOST_FLAGS); do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11657 done; \
11658 echo "Doing TAGS in libcpp" ; \
11659 (cd libcpp && \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11664 TAGS) \
11665 || exit 1
11667 @endif libcpp
11669 .PHONY: maybe-install-info-libcpp install-info-libcpp
11670 maybe-install-info-libcpp:
11671 @if libcpp
11672 maybe-install-info-libcpp: install-info-libcpp
11674 install-info-libcpp: \
11675 configure-libcpp \
11676 info-libcpp
11677 @[ -f ./libcpp/Makefile ] || exit 0; \
11678 r=`${PWD_COMMAND}`; export r; \
11679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11680 $(SET_LIB_PATH) \
11681 $(HOST_EXPORTS) \
11682 for flag in $(EXTRA_HOST_FLAGS); do \
11683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11684 done; \
11685 echo "Doing install-info in libcpp" ; \
11686 (cd libcpp && \
11687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11689 "RANLIB=$${RANLIB}" \
11690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11691 install-info) \
11692 || exit 1
11694 @endif libcpp
11696 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
11697 maybe-installcheck-libcpp:
11698 @if libcpp
11699 maybe-installcheck-libcpp: installcheck-libcpp
11701 installcheck-libcpp: \
11702 configure-libcpp
11703 @[ -f ./libcpp/Makefile ] || exit 0; \
11704 r=`${PWD_COMMAND}`; export r; \
11705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 $(SET_LIB_PATH) \
11707 $(HOST_EXPORTS) \
11708 for flag in $(EXTRA_HOST_FLAGS); do \
11709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11710 done; \
11711 echo "Doing installcheck in libcpp" ; \
11712 (cd libcpp && \
11713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11715 "RANLIB=$${RANLIB}" \
11716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11717 installcheck) \
11718 || exit 1
11720 @endif libcpp
11722 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
11723 maybe-mostlyclean-libcpp:
11724 @if libcpp
11725 maybe-mostlyclean-libcpp: mostlyclean-libcpp
11727 mostlyclean-libcpp:
11728 @[ -f ./libcpp/Makefile ] || exit 0; \
11729 r=`${PWD_COMMAND}`; export r; \
11730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11731 $(SET_LIB_PATH) \
11732 $(HOST_EXPORTS) \
11733 for flag in $(EXTRA_HOST_FLAGS); do \
11734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11735 done; \
11736 echo "Doing mostlyclean in libcpp" ; \
11737 (cd libcpp && \
11738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11740 "RANLIB=$${RANLIB}" \
11741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11742 mostlyclean) \
11743 || exit 1
11745 @endif libcpp
11747 .PHONY: maybe-clean-libcpp clean-libcpp
11748 maybe-clean-libcpp:
11749 @if libcpp
11750 maybe-clean-libcpp: clean-libcpp
11752 clean-libcpp:
11753 @[ -f ./libcpp/Makefile ] || exit 0; \
11754 r=`${PWD_COMMAND}`; export r; \
11755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11756 $(SET_LIB_PATH) \
11757 $(HOST_EXPORTS) \
11758 for flag in $(EXTRA_HOST_FLAGS); do \
11759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11760 done; \
11761 echo "Doing clean in libcpp" ; \
11762 (cd libcpp && \
11763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11765 "RANLIB=$${RANLIB}" \
11766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11767 clean) \
11768 || exit 1
11770 @endif libcpp
11772 .PHONY: maybe-distclean-libcpp distclean-libcpp
11773 maybe-distclean-libcpp:
11774 @if libcpp
11775 maybe-distclean-libcpp: distclean-libcpp
11777 distclean-libcpp:
11778 @[ -f ./libcpp/Makefile ] || exit 0; \
11779 r=`${PWD_COMMAND}`; export r; \
11780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11781 $(SET_LIB_PATH) \
11782 $(HOST_EXPORTS) \
11783 for flag in $(EXTRA_HOST_FLAGS); do \
11784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11785 done; \
11786 echo "Doing distclean in libcpp" ; \
11787 (cd libcpp && \
11788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11790 "RANLIB=$${RANLIB}" \
11791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11792 distclean) \
11793 || exit 1
11795 @endif libcpp
11797 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
11798 maybe-maintainer-clean-libcpp:
11799 @if libcpp
11800 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
11802 maintainer-clean-libcpp:
11803 @[ -f ./libcpp/Makefile ] || exit 0; \
11804 r=`${PWD_COMMAND}`; export r; \
11805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11806 $(SET_LIB_PATH) \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS); do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing maintainer-clean in libcpp" ; \
11812 (cd libcpp && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11817 maintainer-clean) \
11818 || exit 1
11820 @endif libcpp
11823 .PHONY: configure-libgui maybe-configure-libgui
11824 maybe-configure-libgui:
11825 @if libgui
11826 maybe-configure-libgui: configure-libgui
11827 configure-libgui:
11828 @test ! -f libgui/Makefile || exit 0; \
11829 [ -d libgui ] || mkdir libgui; \
11830 r=`${PWD_COMMAND}`; export r; \
11831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11832 $(HOST_EXPORTS) \
11833 echo Configuring in libgui; \
11834 cd libgui || exit 1; \
11835 case $(srcdir) in \
11836 \.) \
11837 srcdiroption="--srcdir=."; \
11838 libsrcdir=".";; \
11839 /* | [A-Za-z]:[\\/]*) \
11840 srcdiroption="--srcdir=$(srcdir)/libgui"; \
11841 libsrcdir="$$s/libgui";; \
11842 *) \
11843 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
11844 libsrcdir="$$s/libgui";; \
11845 esac; \
11846 $(SHELL) $${libsrcdir}/configure \
11847 $(HOST_CONFIGARGS) $${srcdiroption} \
11848 || exit 1
11849 @endif libgui
11851 .PHONY: all-libgui maybe-all-libgui
11852 maybe-all-libgui:
11853 @if libgui
11854 maybe-all-libgui: all-libgui
11855 all-libgui: configure-libgui
11856 @r=`${PWD_COMMAND}`; export r; \
11857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11858 $(SET_LIB_PATH) \
11859 $(HOST_EXPORTS) \
11860 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
11861 @endif libgui
11863 .PHONY: check-libgui maybe-check-libgui
11864 maybe-check-libgui:
11865 @if libgui
11866 maybe-check-libgui: check-libgui
11868 check-libgui:
11869 @r=`${PWD_COMMAND}`; export r; \
11870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11871 $(SET_LIB_PATH) \
11872 $(HOST_EXPORTS) \
11873 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
11875 @endif libgui
11877 .PHONY: install-libgui maybe-install-libgui
11878 maybe-install-libgui:
11879 @if libgui
11880 maybe-install-libgui: install-libgui
11882 install-libgui: installdirs
11883 @r=`${PWD_COMMAND}`; export r; \
11884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11885 $(SET_LIB_PATH) \
11886 $(HOST_EXPORTS) \
11887 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
11889 @endif libgui
11891 # Other targets (info, dvi, etc.)
11893 .PHONY: maybe-info-libgui info-libgui
11894 maybe-info-libgui:
11895 @if libgui
11896 maybe-info-libgui: info-libgui
11898 info-libgui: \
11899 configure-libgui
11900 @[ -f ./libgui/Makefile ] || exit 0; \
11901 r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(SET_LIB_PATH) \
11904 $(HOST_EXPORTS) \
11905 for flag in $(EXTRA_HOST_FLAGS); do \
11906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11907 done; \
11908 echo "Doing info in libgui" ; \
11909 (cd libgui && \
11910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11912 "RANLIB=$${RANLIB}" \
11913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11914 info) \
11915 || exit 1
11917 @endif libgui
11919 .PHONY: maybe-dvi-libgui dvi-libgui
11920 maybe-dvi-libgui:
11921 @if libgui
11922 maybe-dvi-libgui: dvi-libgui
11924 dvi-libgui: \
11925 configure-libgui
11926 @[ -f ./libgui/Makefile ] || exit 0; \
11927 r=`${PWD_COMMAND}`; export r; \
11928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 $(SET_LIB_PATH) \
11930 $(HOST_EXPORTS) \
11931 for flag in $(EXTRA_HOST_FLAGS); do \
11932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11933 done; \
11934 echo "Doing dvi in libgui" ; \
11935 (cd libgui && \
11936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11938 "RANLIB=$${RANLIB}" \
11939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11940 dvi) \
11941 || exit 1
11943 @endif libgui
11945 .PHONY: maybe-TAGS-libgui TAGS-libgui
11946 maybe-TAGS-libgui:
11947 @if libgui
11948 maybe-TAGS-libgui: TAGS-libgui
11950 TAGS-libgui: \
11951 configure-libgui
11952 @[ -f ./libgui/Makefile ] || exit 0; \
11953 r=`${PWD_COMMAND}`; export r; \
11954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11955 $(SET_LIB_PATH) \
11956 $(HOST_EXPORTS) \
11957 for flag in $(EXTRA_HOST_FLAGS); do \
11958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11959 done; \
11960 echo "Doing TAGS in libgui" ; \
11961 (cd libgui && \
11962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11964 "RANLIB=$${RANLIB}" \
11965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11966 TAGS) \
11967 || exit 1
11969 @endif libgui
11971 .PHONY: maybe-install-info-libgui install-info-libgui
11972 maybe-install-info-libgui:
11973 @if libgui
11974 maybe-install-info-libgui: install-info-libgui
11976 install-info-libgui: \
11977 configure-libgui \
11978 info-libgui
11979 @[ -f ./libgui/Makefile ] || exit 0; \
11980 r=`${PWD_COMMAND}`; export r; \
11981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11982 $(SET_LIB_PATH) \
11983 $(HOST_EXPORTS) \
11984 for flag in $(EXTRA_HOST_FLAGS); do \
11985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11986 done; \
11987 echo "Doing install-info in libgui" ; \
11988 (cd libgui && \
11989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11991 "RANLIB=$${RANLIB}" \
11992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11993 install-info) \
11994 || exit 1
11996 @endif libgui
11998 .PHONY: maybe-installcheck-libgui installcheck-libgui
11999 maybe-installcheck-libgui:
12000 @if libgui
12001 maybe-installcheck-libgui: installcheck-libgui
12003 installcheck-libgui: \
12004 configure-libgui
12005 @[ -f ./libgui/Makefile ] || exit 0; \
12006 r=`${PWD_COMMAND}`; export r; \
12007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12008 $(SET_LIB_PATH) \
12009 $(HOST_EXPORTS) \
12010 for flag in $(EXTRA_HOST_FLAGS); do \
12011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12012 done; \
12013 echo "Doing installcheck in libgui" ; \
12014 (cd libgui && \
12015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12017 "RANLIB=$${RANLIB}" \
12018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12019 installcheck) \
12020 || exit 1
12022 @endif libgui
12024 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12025 maybe-mostlyclean-libgui:
12026 @if libgui
12027 maybe-mostlyclean-libgui: mostlyclean-libgui
12029 mostlyclean-libgui:
12030 @[ -f ./libgui/Makefile ] || exit 0; \
12031 r=`${PWD_COMMAND}`; export r; \
12032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12033 $(SET_LIB_PATH) \
12034 $(HOST_EXPORTS) \
12035 for flag in $(EXTRA_HOST_FLAGS); do \
12036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12037 done; \
12038 echo "Doing mostlyclean in libgui" ; \
12039 (cd libgui && \
12040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042 "RANLIB=$${RANLIB}" \
12043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12044 mostlyclean) \
12045 || exit 1
12047 @endif libgui
12049 .PHONY: maybe-clean-libgui clean-libgui
12050 maybe-clean-libgui:
12051 @if libgui
12052 maybe-clean-libgui: clean-libgui
12054 clean-libgui:
12055 @[ -f ./libgui/Makefile ] || exit 0; \
12056 r=`${PWD_COMMAND}`; export r; \
12057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12058 $(SET_LIB_PATH) \
12059 $(HOST_EXPORTS) \
12060 for flag in $(EXTRA_HOST_FLAGS); do \
12061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12062 done; \
12063 echo "Doing clean in libgui" ; \
12064 (cd libgui && \
12065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12067 "RANLIB=$${RANLIB}" \
12068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12069 clean) \
12070 || exit 1
12072 @endif libgui
12074 .PHONY: maybe-distclean-libgui distclean-libgui
12075 maybe-distclean-libgui:
12076 @if libgui
12077 maybe-distclean-libgui: distclean-libgui
12079 distclean-libgui:
12080 @[ -f ./libgui/Makefile ] || exit 0; \
12081 r=`${PWD_COMMAND}`; export r; \
12082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12083 $(SET_LIB_PATH) \
12084 $(HOST_EXPORTS) \
12085 for flag in $(EXTRA_HOST_FLAGS); do \
12086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12087 done; \
12088 echo "Doing distclean in libgui" ; \
12089 (cd libgui && \
12090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12092 "RANLIB=$${RANLIB}" \
12093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12094 distclean) \
12095 || exit 1
12097 @endif libgui
12099 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12100 maybe-maintainer-clean-libgui:
12101 @if libgui
12102 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12104 maintainer-clean-libgui:
12105 @[ -f ./libgui/Makefile ] || exit 0; \
12106 r=`${PWD_COMMAND}`; export r; \
12107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12108 $(SET_LIB_PATH) \
12109 $(HOST_EXPORTS) \
12110 for flag in $(EXTRA_HOST_FLAGS); do \
12111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12112 done; \
12113 echo "Doing maintainer-clean in libgui" ; \
12114 (cd libgui && \
12115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12117 "RANLIB=$${RANLIB}" \
12118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12119 maintainer-clean) \
12120 || exit 1
12122 @endif libgui
12125 .PHONY: configure-libbanshee maybe-configure-libbanshee
12126 maybe-configure-libbanshee:
12127 @if libbanshee
12128 maybe-configure-libbanshee: configure-libbanshee
12129 configure-libbanshee:
12130 @test ! -f libbanshee/Makefile || exit 0; \
12131 [ -d libbanshee ] || mkdir libbanshee; \
12132 r=`${PWD_COMMAND}`; export r; \
12133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12134 $(HOST_EXPORTS) \
12135 echo Configuring in libbanshee; \
12136 cd libbanshee || exit 1; \
12137 case $(srcdir) in \
12138 \.) \
12139 srcdiroption="--srcdir=."; \
12140 libsrcdir=".";; \
12141 /* | [A-Za-z]:[\\/]*) \
12142 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12143 libsrcdir="$$s/libbanshee";; \
12144 *) \
12145 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12146 libsrcdir="$$s/libbanshee";; \
12147 esac; \
12148 $(SHELL) $${libsrcdir}/configure \
12149 $(HOST_CONFIGARGS) $${srcdiroption} \
12150 || exit 1
12151 @endif libbanshee
12153 .PHONY: all-libbanshee maybe-all-libbanshee
12154 maybe-all-libbanshee:
12155 @if libbanshee
12156 maybe-all-libbanshee: all-libbanshee
12157 all-libbanshee: configure-libbanshee
12158 @r=`${PWD_COMMAND}`; export r; \
12159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12160 $(SET_LIB_PATH) \
12161 $(HOST_EXPORTS) \
12162 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12163 @endif libbanshee
12165 .PHONY: check-libbanshee maybe-check-libbanshee
12166 maybe-check-libbanshee:
12167 @if libbanshee
12168 maybe-check-libbanshee: check-libbanshee
12170 check-libbanshee:
12171 @r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173 $(SET_LIB_PATH) \
12174 $(HOST_EXPORTS) \
12175 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12177 @endif libbanshee
12179 .PHONY: install-libbanshee maybe-install-libbanshee
12180 maybe-install-libbanshee:
12181 @if libbanshee
12182 maybe-install-libbanshee: install-libbanshee
12184 install-libbanshee:
12186 @endif libbanshee
12188 # Other targets (info, dvi, etc.)
12190 .PHONY: maybe-info-libbanshee info-libbanshee
12191 maybe-info-libbanshee:
12192 @if libbanshee
12193 maybe-info-libbanshee: info-libbanshee
12195 info-libbanshee: \
12196 configure-libbanshee
12197 @[ -f ./libbanshee/Makefile ] || exit 0; \
12198 r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12200 $(SET_LIB_PATH) \
12201 $(HOST_EXPORTS) \
12202 for flag in $(EXTRA_HOST_FLAGS); do \
12203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12204 done; \
12205 echo "Doing info in libbanshee" ; \
12206 (cd libbanshee && \
12207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12209 "RANLIB=$${RANLIB}" \
12210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12211 info) \
12212 || exit 1
12214 @endif libbanshee
12216 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12217 maybe-dvi-libbanshee:
12218 @if libbanshee
12219 maybe-dvi-libbanshee: dvi-libbanshee
12221 dvi-libbanshee: \
12222 configure-libbanshee
12223 @[ -f ./libbanshee/Makefile ] || exit 0; \
12224 r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(SET_LIB_PATH) \
12227 $(HOST_EXPORTS) \
12228 for flag in $(EXTRA_HOST_FLAGS); do \
12229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12230 done; \
12231 echo "Doing dvi in libbanshee" ; \
12232 (cd libbanshee && \
12233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12235 "RANLIB=$${RANLIB}" \
12236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12237 dvi) \
12238 || exit 1
12240 @endif libbanshee
12242 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12243 maybe-TAGS-libbanshee:
12244 @if libbanshee
12245 maybe-TAGS-libbanshee: TAGS-libbanshee
12247 TAGS-libbanshee: \
12248 configure-libbanshee
12249 @[ -f ./libbanshee/Makefile ] || exit 0; \
12250 r=`${PWD_COMMAND}`; export r; \
12251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12252 $(SET_LIB_PATH) \
12253 $(HOST_EXPORTS) \
12254 for flag in $(EXTRA_HOST_FLAGS); do \
12255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12256 done; \
12257 echo "Doing TAGS in libbanshee" ; \
12258 (cd libbanshee && \
12259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12261 "RANLIB=$${RANLIB}" \
12262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12263 TAGS) \
12264 || exit 1
12266 @endif libbanshee
12268 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12269 maybe-install-info-libbanshee:
12270 @if libbanshee
12271 maybe-install-info-libbanshee: install-info-libbanshee
12273 install-info-libbanshee: \
12274 configure-libbanshee \
12275 info-libbanshee
12276 @[ -f ./libbanshee/Makefile ] || exit 0; \
12277 r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(SET_LIB_PATH) \
12280 $(HOST_EXPORTS) \
12281 for flag in $(EXTRA_HOST_FLAGS); do \
12282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12283 done; \
12284 echo "Doing install-info in libbanshee" ; \
12285 (cd libbanshee && \
12286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12288 "RANLIB=$${RANLIB}" \
12289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12290 install-info) \
12291 || exit 1
12293 @endif libbanshee
12295 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12296 maybe-installcheck-libbanshee:
12297 @if libbanshee
12298 maybe-installcheck-libbanshee: installcheck-libbanshee
12300 installcheck-libbanshee: \
12301 configure-libbanshee
12302 @[ -f ./libbanshee/Makefile ] || exit 0; \
12303 r=`${PWD_COMMAND}`; export r; \
12304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12305 $(SET_LIB_PATH) \
12306 $(HOST_EXPORTS) \
12307 for flag in $(EXTRA_HOST_FLAGS); do \
12308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12309 done; \
12310 echo "Doing installcheck in libbanshee" ; \
12311 (cd libbanshee && \
12312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12314 "RANLIB=$${RANLIB}" \
12315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12316 installcheck) \
12317 || exit 1
12319 @endif libbanshee
12321 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12322 maybe-mostlyclean-libbanshee:
12323 @if libbanshee
12324 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12326 mostlyclean-libbanshee:
12327 @[ -f ./libbanshee/Makefile ] || exit 0; \
12328 r=`${PWD_COMMAND}`; export r; \
12329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12330 $(SET_LIB_PATH) \
12331 $(HOST_EXPORTS) \
12332 for flag in $(EXTRA_HOST_FLAGS); do \
12333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12334 done; \
12335 echo "Doing mostlyclean in libbanshee" ; \
12336 (cd libbanshee && \
12337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12339 "RANLIB=$${RANLIB}" \
12340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12341 mostlyclean) \
12342 || exit 1
12344 @endif libbanshee
12346 .PHONY: maybe-clean-libbanshee clean-libbanshee
12347 maybe-clean-libbanshee:
12348 @if libbanshee
12349 maybe-clean-libbanshee: clean-libbanshee
12351 clean-libbanshee:
12352 @[ -f ./libbanshee/Makefile ] || exit 0; \
12353 r=`${PWD_COMMAND}`; export r; \
12354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12355 $(SET_LIB_PATH) \
12356 $(HOST_EXPORTS) \
12357 for flag in $(EXTRA_HOST_FLAGS); do \
12358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12359 done; \
12360 echo "Doing clean in libbanshee" ; \
12361 (cd libbanshee && \
12362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12364 "RANLIB=$${RANLIB}" \
12365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12366 clean) \
12367 || exit 1
12369 @endif libbanshee
12371 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12372 maybe-distclean-libbanshee:
12373 @if libbanshee
12374 maybe-distclean-libbanshee: distclean-libbanshee
12376 distclean-libbanshee:
12377 @[ -f ./libbanshee/Makefile ] || exit 0; \
12378 r=`${PWD_COMMAND}`; export r; \
12379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12380 $(SET_LIB_PATH) \
12381 $(HOST_EXPORTS) \
12382 for flag in $(EXTRA_HOST_FLAGS); do \
12383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12384 done; \
12385 echo "Doing distclean in libbanshee" ; \
12386 (cd libbanshee && \
12387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12389 "RANLIB=$${RANLIB}" \
12390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12391 distclean) \
12392 || exit 1
12394 @endif libbanshee
12396 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12397 maybe-maintainer-clean-libbanshee:
12398 @if libbanshee
12399 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12401 maintainer-clean-libbanshee:
12402 @[ -f ./libbanshee/Makefile ] || exit 0; \
12403 r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 $(SET_LIB_PATH) \
12406 $(HOST_EXPORTS) \
12407 for flag in $(EXTRA_HOST_FLAGS); do \
12408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12409 done; \
12410 echo "Doing maintainer-clean in libbanshee" ; \
12411 (cd libbanshee && \
12412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12414 "RANLIB=$${RANLIB}" \
12415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12416 maintainer-clean) \
12417 || exit 1
12419 @endif libbanshee
12422 .PHONY: configure-libiberty maybe-configure-libiberty
12423 maybe-configure-libiberty:
12424 @if libiberty
12425 maybe-configure-libiberty: configure-libiberty
12426 configure-libiberty:
12427 @test ! -f libiberty/Makefile || exit 0; \
12428 [ -d libiberty ] || mkdir libiberty; \
12429 r=`${PWD_COMMAND}`; export r; \
12430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12431 $(HOST_EXPORTS) \
12432 echo Configuring in libiberty; \
12433 cd libiberty || exit 1; \
12434 case $(srcdir) in \
12435 \.) \
12436 srcdiroption="--srcdir=."; \
12437 libsrcdir=".";; \
12438 /* | [A-Za-z]:[\\/]*) \
12439 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12440 libsrcdir="$$s/libiberty";; \
12441 *) \
12442 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12443 libsrcdir="$$s/libiberty";; \
12444 esac; \
12445 $(SHELL) $${libsrcdir}/configure \
12446 $(HOST_CONFIGARGS) $${srcdiroption} \
12447 || exit 1
12448 @endif libiberty
12450 .PHONY: all-libiberty maybe-all-libiberty
12451 maybe-all-libiberty:
12452 @if libiberty
12453 maybe-all-libiberty: all-libiberty
12454 all-libiberty: configure-libiberty
12455 @r=`${PWD_COMMAND}`; export r; \
12456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12457 $(SET_LIB_PATH) \
12458 $(HOST_EXPORTS) \
12459 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12460 @endif libiberty
12462 .PHONY: check-libiberty maybe-check-libiberty
12463 maybe-check-libiberty:
12464 @if libiberty
12465 maybe-check-libiberty: check-libiberty
12467 check-libiberty:
12468 @r=`${PWD_COMMAND}`; export r; \
12469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12470 $(SET_LIB_PATH) \
12471 $(HOST_EXPORTS) \
12472 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12474 @endif libiberty
12476 .PHONY: install-libiberty maybe-install-libiberty
12477 maybe-install-libiberty:
12478 @if libiberty
12479 maybe-install-libiberty: install-libiberty
12481 install-libiberty: installdirs
12482 @r=`${PWD_COMMAND}`; export r; \
12483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12484 $(SET_LIB_PATH) \
12485 $(HOST_EXPORTS) \
12486 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12488 @endif libiberty
12490 # Other targets (info, dvi, etc.)
12492 .PHONY: maybe-info-libiberty info-libiberty
12493 maybe-info-libiberty:
12494 @if libiberty
12495 maybe-info-libiberty: info-libiberty
12497 info-libiberty: \
12498 configure-libiberty
12499 @[ -f ./libiberty/Makefile ] || exit 0; \
12500 r=`${PWD_COMMAND}`; export r; \
12501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12502 $(SET_LIB_PATH) \
12503 $(HOST_EXPORTS) \
12504 for flag in $(EXTRA_HOST_FLAGS); do \
12505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12506 done; \
12507 echo "Doing info in libiberty" ; \
12508 (cd libiberty && \
12509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12511 "RANLIB=$${RANLIB}" \
12512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12513 info) \
12514 || exit 1
12516 @endif libiberty
12518 .PHONY: maybe-dvi-libiberty dvi-libiberty
12519 maybe-dvi-libiberty:
12520 @if libiberty
12521 maybe-dvi-libiberty: dvi-libiberty
12523 dvi-libiberty: \
12524 configure-libiberty
12525 @[ -f ./libiberty/Makefile ] || exit 0; \
12526 r=`${PWD_COMMAND}`; export r; \
12527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12528 $(SET_LIB_PATH) \
12529 $(HOST_EXPORTS) \
12530 for flag in $(EXTRA_HOST_FLAGS); do \
12531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12532 done; \
12533 echo "Doing dvi in libiberty" ; \
12534 (cd libiberty && \
12535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12537 "RANLIB=$${RANLIB}" \
12538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12539 dvi) \
12540 || exit 1
12542 @endif libiberty
12544 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12545 maybe-TAGS-libiberty:
12546 @if libiberty
12547 maybe-TAGS-libiberty: TAGS-libiberty
12549 TAGS-libiberty: \
12550 configure-libiberty
12551 @[ -f ./libiberty/Makefile ] || exit 0; \
12552 r=`${PWD_COMMAND}`; export r; \
12553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12554 $(SET_LIB_PATH) \
12555 $(HOST_EXPORTS) \
12556 for flag in $(EXTRA_HOST_FLAGS); do \
12557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12558 done; \
12559 echo "Doing TAGS in libiberty" ; \
12560 (cd libiberty && \
12561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12563 "RANLIB=$${RANLIB}" \
12564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12565 TAGS) \
12566 || exit 1
12568 @endif libiberty
12570 .PHONY: maybe-install-info-libiberty install-info-libiberty
12571 maybe-install-info-libiberty:
12572 @if libiberty
12573 maybe-install-info-libiberty: install-info-libiberty
12575 install-info-libiberty: \
12576 configure-libiberty \
12577 info-libiberty
12578 @[ -f ./libiberty/Makefile ] || exit 0; \
12579 r=`${PWD_COMMAND}`; export r; \
12580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12581 $(SET_LIB_PATH) \
12582 $(HOST_EXPORTS) \
12583 for flag in $(EXTRA_HOST_FLAGS); do \
12584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12585 done; \
12586 echo "Doing install-info in libiberty" ; \
12587 (cd libiberty && \
12588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12590 "RANLIB=$${RANLIB}" \
12591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12592 install-info) \
12593 || exit 1
12595 @endif libiberty
12597 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12598 maybe-installcheck-libiberty:
12599 @if libiberty
12600 maybe-installcheck-libiberty: installcheck-libiberty
12602 installcheck-libiberty: \
12603 configure-libiberty
12604 @[ -f ./libiberty/Makefile ] || exit 0; \
12605 r=`${PWD_COMMAND}`; export r; \
12606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12607 $(SET_LIB_PATH) \
12608 $(HOST_EXPORTS) \
12609 for flag in $(EXTRA_HOST_FLAGS); do \
12610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12611 done; \
12612 echo "Doing installcheck in libiberty" ; \
12613 (cd libiberty && \
12614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12616 "RANLIB=$${RANLIB}" \
12617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12618 installcheck) \
12619 || exit 1
12621 @endif libiberty
12623 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12624 maybe-mostlyclean-libiberty:
12625 @if libiberty
12626 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12628 mostlyclean-libiberty:
12629 @[ -f ./libiberty/Makefile ] || exit 0; \
12630 r=`${PWD_COMMAND}`; export r; \
12631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12632 $(SET_LIB_PATH) \
12633 $(HOST_EXPORTS) \
12634 for flag in $(EXTRA_HOST_FLAGS); do \
12635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12636 done; \
12637 echo "Doing mostlyclean in libiberty" ; \
12638 (cd libiberty && \
12639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12641 "RANLIB=$${RANLIB}" \
12642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12643 mostlyclean) \
12644 || exit 1
12646 @endif libiberty
12648 .PHONY: maybe-clean-libiberty clean-libiberty
12649 maybe-clean-libiberty:
12650 @if libiberty
12651 maybe-clean-libiberty: clean-libiberty
12653 clean-libiberty:
12654 @[ -f ./libiberty/Makefile ] || exit 0; \
12655 r=`${PWD_COMMAND}`; export r; \
12656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12657 $(SET_LIB_PATH) \
12658 $(HOST_EXPORTS) \
12659 for flag in $(EXTRA_HOST_FLAGS); do \
12660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12661 done; \
12662 echo "Doing clean in libiberty" ; \
12663 (cd libiberty && \
12664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12666 "RANLIB=$${RANLIB}" \
12667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12668 clean) \
12669 || exit 1
12671 @endif libiberty
12673 .PHONY: maybe-distclean-libiberty distclean-libiberty
12674 maybe-distclean-libiberty:
12675 @if libiberty
12676 maybe-distclean-libiberty: distclean-libiberty
12678 distclean-libiberty:
12679 @[ -f ./libiberty/Makefile ] || exit 0; \
12680 r=`${PWD_COMMAND}`; export r; \
12681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12682 $(SET_LIB_PATH) \
12683 $(HOST_EXPORTS) \
12684 for flag in $(EXTRA_HOST_FLAGS); do \
12685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12686 done; \
12687 echo "Doing distclean in libiberty" ; \
12688 (cd libiberty && \
12689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12691 "RANLIB=$${RANLIB}" \
12692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12693 distclean) \
12694 || exit 1
12696 @endif libiberty
12698 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
12699 maybe-maintainer-clean-libiberty:
12700 @if libiberty
12701 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
12703 maintainer-clean-libiberty:
12704 @[ -f ./libiberty/Makefile ] || exit 0; \
12705 r=`${PWD_COMMAND}`; export r; \
12706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12707 $(SET_LIB_PATH) \
12708 $(HOST_EXPORTS) \
12709 for flag in $(EXTRA_HOST_FLAGS); do \
12710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12711 done; \
12712 echo "Doing maintainer-clean in libiberty" ; \
12713 (cd libiberty && \
12714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12716 "RANLIB=$${RANLIB}" \
12717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12718 maintainer-clean) \
12719 || exit 1
12721 @endif libiberty
12724 .PHONY: configure-libtool maybe-configure-libtool
12725 maybe-configure-libtool:
12726 @if libtool
12727 maybe-configure-libtool: configure-libtool
12728 configure-libtool:
12729 @test ! -f libtool/Makefile || exit 0; \
12730 [ -d libtool ] || mkdir libtool; \
12731 r=`${PWD_COMMAND}`; export r; \
12732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 $(HOST_EXPORTS) \
12734 echo Configuring in libtool; \
12735 cd libtool || exit 1; \
12736 case $(srcdir) in \
12737 \.) \
12738 srcdiroption="--srcdir=."; \
12739 libsrcdir=".";; \
12740 /* | [A-Za-z]:[\\/]*) \
12741 srcdiroption="--srcdir=$(srcdir)/libtool"; \
12742 libsrcdir="$$s/libtool";; \
12743 *) \
12744 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
12745 libsrcdir="$$s/libtool";; \
12746 esac; \
12747 $(SHELL) $${libsrcdir}/configure \
12748 $(HOST_CONFIGARGS) $${srcdiroption} \
12749 || exit 1
12750 @endif libtool
12752 .PHONY: all-libtool maybe-all-libtool
12753 maybe-all-libtool:
12754 @if libtool
12755 maybe-all-libtool: all-libtool
12756 all-libtool: configure-libtool
12757 @r=`${PWD_COMMAND}`; export r; \
12758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 $(SET_LIB_PATH) \
12760 $(HOST_EXPORTS) \
12761 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
12762 @endif libtool
12764 .PHONY: check-libtool maybe-check-libtool
12765 maybe-check-libtool:
12766 @if libtool
12767 maybe-check-libtool: check-libtool
12769 check-libtool:
12770 @r=`${PWD_COMMAND}`; export r; \
12771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 $(SET_LIB_PATH) \
12773 $(HOST_EXPORTS) \
12774 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
12776 @endif libtool
12778 .PHONY: install-libtool maybe-install-libtool
12779 maybe-install-libtool:
12780 @if libtool
12781 maybe-install-libtool: install-libtool
12783 install-libtool: installdirs
12784 @r=`${PWD_COMMAND}`; export r; \
12785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12786 $(SET_LIB_PATH) \
12787 $(HOST_EXPORTS) \
12788 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
12790 @endif libtool
12792 # Other targets (info, dvi, etc.)
12794 .PHONY: maybe-info-libtool info-libtool
12795 maybe-info-libtool:
12796 @if libtool
12797 maybe-info-libtool: info-libtool
12799 info-libtool: \
12800 configure-libtool
12801 @[ -f ./libtool/Makefile ] || exit 0; \
12802 r=`${PWD_COMMAND}`; export r; \
12803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12804 $(SET_LIB_PATH) \
12805 $(HOST_EXPORTS) \
12806 for flag in $(EXTRA_HOST_FLAGS); do \
12807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12808 done; \
12809 echo "Doing info in libtool" ; \
12810 (cd libtool && \
12811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12813 "RANLIB=$${RANLIB}" \
12814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12815 info) \
12816 || exit 1
12818 @endif libtool
12820 .PHONY: maybe-dvi-libtool dvi-libtool
12821 maybe-dvi-libtool:
12822 @if libtool
12823 maybe-dvi-libtool: dvi-libtool
12825 dvi-libtool: \
12826 configure-libtool
12827 @[ -f ./libtool/Makefile ] || exit 0; \
12828 r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(SET_LIB_PATH) \
12831 $(HOST_EXPORTS) \
12832 for flag in $(EXTRA_HOST_FLAGS); do \
12833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12834 done; \
12835 echo "Doing dvi in libtool" ; \
12836 (cd libtool && \
12837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12839 "RANLIB=$${RANLIB}" \
12840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12841 dvi) \
12842 || exit 1
12844 @endif libtool
12846 .PHONY: maybe-TAGS-libtool TAGS-libtool
12847 maybe-TAGS-libtool:
12848 @if libtool
12849 maybe-TAGS-libtool: TAGS-libtool
12851 TAGS-libtool: \
12852 configure-libtool
12853 @[ -f ./libtool/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(SET_LIB_PATH) \
12857 $(HOST_EXPORTS) \
12858 for flag in $(EXTRA_HOST_FLAGS); do \
12859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12860 done; \
12861 echo "Doing TAGS in libtool" ; \
12862 (cd libtool && \
12863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12865 "RANLIB=$${RANLIB}" \
12866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12867 TAGS) \
12868 || exit 1
12870 @endif libtool
12872 .PHONY: maybe-install-info-libtool install-info-libtool
12873 maybe-install-info-libtool:
12874 @if libtool
12875 maybe-install-info-libtool: install-info-libtool
12877 install-info-libtool: \
12878 configure-libtool \
12879 info-libtool
12880 @[ -f ./libtool/Makefile ] || exit 0; \
12881 r=`${PWD_COMMAND}`; export r; \
12882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 $(SET_LIB_PATH) \
12884 $(HOST_EXPORTS) \
12885 for flag in $(EXTRA_HOST_FLAGS); do \
12886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12887 done; \
12888 echo "Doing install-info in libtool" ; \
12889 (cd libtool && \
12890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12892 "RANLIB=$${RANLIB}" \
12893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12894 install-info) \
12895 || exit 1
12897 @endif libtool
12899 .PHONY: maybe-installcheck-libtool installcheck-libtool
12900 maybe-installcheck-libtool:
12901 @if libtool
12902 maybe-installcheck-libtool: installcheck-libtool
12904 installcheck-libtool: \
12905 configure-libtool
12906 @[ -f ./libtool/Makefile ] || exit 0; \
12907 r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 $(SET_LIB_PATH) \
12910 $(HOST_EXPORTS) \
12911 for flag in $(EXTRA_HOST_FLAGS); do \
12912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12913 done; \
12914 echo "Doing installcheck in libtool" ; \
12915 (cd libtool && \
12916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12918 "RANLIB=$${RANLIB}" \
12919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12920 installcheck) \
12921 || exit 1
12923 @endif libtool
12925 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
12926 maybe-mostlyclean-libtool:
12927 @if libtool
12928 maybe-mostlyclean-libtool: mostlyclean-libtool
12930 mostlyclean-libtool:
12931 @[ -f ./libtool/Makefile ] || exit 0; \
12932 r=`${PWD_COMMAND}`; export r; \
12933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12934 $(SET_LIB_PATH) \
12935 $(HOST_EXPORTS) \
12936 for flag in $(EXTRA_HOST_FLAGS); do \
12937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12938 done; \
12939 echo "Doing mostlyclean in libtool" ; \
12940 (cd libtool && \
12941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12943 "RANLIB=$${RANLIB}" \
12944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12945 mostlyclean) \
12946 || exit 1
12948 @endif libtool
12950 .PHONY: maybe-clean-libtool clean-libtool
12951 maybe-clean-libtool:
12952 @if libtool
12953 maybe-clean-libtool: clean-libtool
12955 clean-libtool:
12956 @[ -f ./libtool/Makefile ] || exit 0; \
12957 r=`${PWD_COMMAND}`; export r; \
12958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12959 $(SET_LIB_PATH) \
12960 $(HOST_EXPORTS) \
12961 for flag in $(EXTRA_HOST_FLAGS); do \
12962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12963 done; \
12964 echo "Doing clean in libtool" ; \
12965 (cd libtool && \
12966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12968 "RANLIB=$${RANLIB}" \
12969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12970 clean) \
12971 || exit 1
12973 @endif libtool
12975 .PHONY: maybe-distclean-libtool distclean-libtool
12976 maybe-distclean-libtool:
12977 @if libtool
12978 maybe-distclean-libtool: distclean-libtool
12980 distclean-libtool:
12981 @[ -f ./libtool/Makefile ] || exit 0; \
12982 r=`${PWD_COMMAND}`; export r; \
12983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12984 $(SET_LIB_PATH) \
12985 $(HOST_EXPORTS) \
12986 for flag in $(EXTRA_HOST_FLAGS); do \
12987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12988 done; \
12989 echo "Doing distclean in libtool" ; \
12990 (cd libtool && \
12991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12993 "RANLIB=$${RANLIB}" \
12994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12995 distclean) \
12996 || exit 1
12998 @endif libtool
13000 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13001 maybe-maintainer-clean-libtool:
13002 @if libtool
13003 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13005 maintainer-clean-libtool:
13006 @[ -f ./libtool/Makefile ] || exit 0; \
13007 r=`${PWD_COMMAND}`; export r; \
13008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 $(SET_LIB_PATH) \
13010 $(HOST_EXPORTS) \
13011 for flag in $(EXTRA_HOST_FLAGS); do \
13012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13013 done; \
13014 echo "Doing maintainer-clean in libtool" ; \
13015 (cd libtool && \
13016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13018 "RANLIB=$${RANLIB}" \
13019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13020 maintainer-clean) \
13021 || exit 1
13023 @endif libtool
13026 .PHONY: configure-m4 maybe-configure-m4
13027 maybe-configure-m4:
13028 @if m4
13029 maybe-configure-m4: configure-m4
13030 configure-m4:
13031 @test ! -f m4/Makefile || exit 0; \
13032 [ -d m4 ] || mkdir m4; \
13033 r=`${PWD_COMMAND}`; export r; \
13034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13035 $(HOST_EXPORTS) \
13036 echo Configuring in m4; \
13037 cd m4 || exit 1; \
13038 case $(srcdir) in \
13039 \.) \
13040 srcdiroption="--srcdir=."; \
13041 libsrcdir=".";; \
13042 /* | [A-Za-z]:[\\/]*) \
13043 srcdiroption="--srcdir=$(srcdir)/m4"; \
13044 libsrcdir="$$s/m4";; \
13045 *) \
13046 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13047 libsrcdir="$$s/m4";; \
13048 esac; \
13049 $(SHELL) $${libsrcdir}/configure \
13050 $(HOST_CONFIGARGS) $${srcdiroption} \
13051 || exit 1
13052 @endif m4
13054 .PHONY: all-m4 maybe-all-m4
13055 maybe-all-m4:
13056 @if m4
13057 maybe-all-m4: all-m4
13058 all-m4: configure-m4
13059 @r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13061 $(SET_LIB_PATH) \
13062 $(HOST_EXPORTS) \
13063 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13064 @endif m4
13066 .PHONY: check-m4 maybe-check-m4
13067 maybe-check-m4:
13068 @if m4
13069 maybe-check-m4: check-m4
13071 check-m4:
13072 @r=`${PWD_COMMAND}`; export r; \
13073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13074 $(SET_LIB_PATH) \
13075 $(HOST_EXPORTS) \
13076 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13078 @endif m4
13080 .PHONY: install-m4 maybe-install-m4
13081 maybe-install-m4:
13082 @if m4
13083 maybe-install-m4: install-m4
13085 install-m4: installdirs
13086 @r=`${PWD_COMMAND}`; export r; \
13087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13088 $(SET_LIB_PATH) \
13089 $(HOST_EXPORTS) \
13090 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13092 @endif m4
13094 # Other targets (info, dvi, etc.)
13096 .PHONY: maybe-info-m4 info-m4
13097 maybe-info-m4:
13098 @if m4
13099 maybe-info-m4: info-m4
13101 info-m4: \
13102 configure-m4
13103 @[ -f ./m4/Makefile ] || exit 0; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13106 $(SET_LIB_PATH) \
13107 $(HOST_EXPORTS) \
13108 for flag in $(EXTRA_HOST_FLAGS); do \
13109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13110 done; \
13111 echo "Doing info in m4" ; \
13112 (cd m4 && \
13113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13115 "RANLIB=$${RANLIB}" \
13116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13117 info) \
13118 || exit 1
13120 @endif m4
13122 .PHONY: maybe-dvi-m4 dvi-m4
13123 maybe-dvi-m4:
13124 @if m4
13125 maybe-dvi-m4: dvi-m4
13127 dvi-m4: \
13128 configure-m4
13129 @[ -f ./m4/Makefile ] || exit 0; \
13130 r=`${PWD_COMMAND}`; export r; \
13131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13132 $(SET_LIB_PATH) \
13133 $(HOST_EXPORTS) \
13134 for flag in $(EXTRA_HOST_FLAGS); do \
13135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13136 done; \
13137 echo "Doing dvi in m4" ; \
13138 (cd m4 && \
13139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13141 "RANLIB=$${RANLIB}" \
13142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13143 dvi) \
13144 || exit 1
13146 @endif m4
13148 .PHONY: maybe-TAGS-m4 TAGS-m4
13149 maybe-TAGS-m4:
13150 @if m4
13151 maybe-TAGS-m4: TAGS-m4
13153 TAGS-m4: \
13154 configure-m4
13155 @[ -f ./m4/Makefile ] || exit 0; \
13156 r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13158 $(SET_LIB_PATH) \
13159 $(HOST_EXPORTS) \
13160 for flag in $(EXTRA_HOST_FLAGS); do \
13161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13162 done; \
13163 echo "Doing TAGS in m4" ; \
13164 (cd m4 && \
13165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13167 "RANLIB=$${RANLIB}" \
13168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13169 TAGS) \
13170 || exit 1
13172 @endif m4
13174 .PHONY: maybe-install-info-m4 install-info-m4
13175 maybe-install-info-m4:
13176 @if m4
13177 maybe-install-info-m4: install-info-m4
13179 install-info-m4: \
13180 configure-m4 \
13181 info-m4
13182 @[ -f ./m4/Makefile ] || exit 0; \
13183 r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185 $(SET_LIB_PATH) \
13186 $(HOST_EXPORTS) \
13187 for flag in $(EXTRA_HOST_FLAGS); do \
13188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13189 done; \
13190 echo "Doing install-info in m4" ; \
13191 (cd m4 && \
13192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13194 "RANLIB=$${RANLIB}" \
13195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13196 install-info) \
13197 || exit 1
13199 @endif m4
13201 .PHONY: maybe-installcheck-m4 installcheck-m4
13202 maybe-installcheck-m4:
13203 @if m4
13204 maybe-installcheck-m4: installcheck-m4
13206 installcheck-m4: \
13207 configure-m4
13208 @[ -f ./m4/Makefile ] || exit 0; \
13209 r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(SET_LIB_PATH) \
13212 $(HOST_EXPORTS) \
13213 for flag in $(EXTRA_HOST_FLAGS); do \
13214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13215 done; \
13216 echo "Doing installcheck in m4" ; \
13217 (cd m4 && \
13218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13220 "RANLIB=$${RANLIB}" \
13221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13222 installcheck) \
13223 || exit 1
13225 @endif m4
13227 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13228 maybe-mostlyclean-m4:
13229 @if m4
13230 maybe-mostlyclean-m4: mostlyclean-m4
13232 mostlyclean-m4:
13233 @[ -f ./m4/Makefile ] || exit 0; \
13234 r=`${PWD_COMMAND}`; export r; \
13235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13236 $(SET_LIB_PATH) \
13237 $(HOST_EXPORTS) \
13238 for flag in $(EXTRA_HOST_FLAGS); do \
13239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 done; \
13241 echo "Doing mostlyclean in m4" ; \
13242 (cd m4 && \
13243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13245 "RANLIB=$${RANLIB}" \
13246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13247 mostlyclean) \
13248 || exit 1
13250 @endif m4
13252 .PHONY: maybe-clean-m4 clean-m4
13253 maybe-clean-m4:
13254 @if m4
13255 maybe-clean-m4: clean-m4
13257 clean-m4:
13258 @[ -f ./m4/Makefile ] || exit 0; \
13259 r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13261 $(SET_LIB_PATH) \
13262 $(HOST_EXPORTS) \
13263 for flag in $(EXTRA_HOST_FLAGS); do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13265 done; \
13266 echo "Doing clean in m4" ; \
13267 (cd m4 && \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13272 clean) \
13273 || exit 1
13275 @endif m4
13277 .PHONY: maybe-distclean-m4 distclean-m4
13278 maybe-distclean-m4:
13279 @if m4
13280 maybe-distclean-m4: distclean-m4
13282 distclean-m4:
13283 @[ -f ./m4/Makefile ] || exit 0; \
13284 r=`${PWD_COMMAND}`; export r; \
13285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13286 $(SET_LIB_PATH) \
13287 $(HOST_EXPORTS) \
13288 for flag in $(EXTRA_HOST_FLAGS); do \
13289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13290 done; \
13291 echo "Doing distclean in m4" ; \
13292 (cd m4 && \
13293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13295 "RANLIB=$${RANLIB}" \
13296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13297 distclean) \
13298 || exit 1
13300 @endif m4
13302 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13303 maybe-maintainer-clean-m4:
13304 @if m4
13305 maybe-maintainer-clean-m4: maintainer-clean-m4
13307 maintainer-clean-m4:
13308 @[ -f ./m4/Makefile ] || exit 0; \
13309 r=`${PWD_COMMAND}`; export r; \
13310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13311 $(SET_LIB_PATH) \
13312 $(HOST_EXPORTS) \
13313 for flag in $(EXTRA_HOST_FLAGS); do \
13314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13315 done; \
13316 echo "Doing maintainer-clean in m4" ; \
13317 (cd m4 && \
13318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13320 "RANLIB=$${RANLIB}" \
13321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 maintainer-clean) \
13323 || exit 1
13325 @endif m4
13328 .PHONY: configure-make maybe-configure-make
13329 maybe-configure-make:
13330 @if make
13331 maybe-configure-make: configure-make
13332 configure-make:
13333 @test ! -f make/Makefile || exit 0; \
13334 [ -d make ] || mkdir make; \
13335 r=`${PWD_COMMAND}`; export r; \
13336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13337 $(HOST_EXPORTS) \
13338 echo Configuring in make; \
13339 cd make || exit 1; \
13340 case $(srcdir) in \
13341 \.) \
13342 srcdiroption="--srcdir=."; \
13343 libsrcdir=".";; \
13344 /* | [A-Za-z]:[\\/]*) \
13345 srcdiroption="--srcdir=$(srcdir)/make"; \
13346 libsrcdir="$$s/make";; \
13347 *) \
13348 srcdiroption="--srcdir=../$(srcdir)/make"; \
13349 libsrcdir="$$s/make";; \
13350 esac; \
13351 $(SHELL) $${libsrcdir}/configure \
13352 $(HOST_CONFIGARGS) $${srcdiroption} \
13353 || exit 1
13354 @endif make
13356 .PHONY: all-make maybe-all-make
13357 maybe-all-make:
13358 @if make
13359 maybe-all-make: all-make
13360 all-make: configure-make
13361 @r=`${PWD_COMMAND}`; export r; \
13362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13363 $(SET_LIB_PATH) \
13364 $(HOST_EXPORTS) \
13365 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13366 @endif make
13368 .PHONY: check-make maybe-check-make
13369 maybe-check-make:
13370 @if make
13371 maybe-check-make: check-make
13373 check-make:
13374 @r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13376 $(SET_LIB_PATH) \
13377 $(HOST_EXPORTS) \
13378 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13380 @endif make
13382 .PHONY: install-make maybe-install-make
13383 maybe-install-make:
13384 @if make
13385 maybe-install-make: install-make
13387 install-make: installdirs
13388 @r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(SET_LIB_PATH) \
13391 $(HOST_EXPORTS) \
13392 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13394 @endif make
13396 # Other targets (info, dvi, etc.)
13398 .PHONY: maybe-info-make info-make
13399 maybe-info-make:
13400 @if make
13401 maybe-info-make: info-make
13403 info-make: \
13404 configure-make
13405 @[ -f ./make/Makefile ] || exit 0; \
13406 r=`${PWD_COMMAND}`; export r; \
13407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13408 $(SET_LIB_PATH) \
13409 $(HOST_EXPORTS) \
13410 for flag in $(EXTRA_HOST_FLAGS); do \
13411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13412 done; \
13413 echo "Doing info in make" ; \
13414 (cd make && \
13415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13417 "RANLIB=$${RANLIB}" \
13418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13419 info) \
13420 || exit 1
13422 @endif make
13424 .PHONY: maybe-dvi-make dvi-make
13425 maybe-dvi-make:
13426 @if make
13427 maybe-dvi-make: dvi-make
13429 dvi-make: \
13430 configure-make
13431 @[ -f ./make/Makefile ] || exit 0; \
13432 r=`${PWD_COMMAND}`; export r; \
13433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13434 $(SET_LIB_PATH) \
13435 $(HOST_EXPORTS) \
13436 for flag in $(EXTRA_HOST_FLAGS); do \
13437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13438 done; \
13439 echo "Doing dvi in make" ; \
13440 (cd make && \
13441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13443 "RANLIB=$${RANLIB}" \
13444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13445 dvi) \
13446 || exit 1
13448 @endif make
13450 .PHONY: maybe-TAGS-make TAGS-make
13451 maybe-TAGS-make:
13452 @if make
13453 maybe-TAGS-make: TAGS-make
13455 TAGS-make: \
13456 configure-make
13457 @[ -f ./make/Makefile ] || exit 0; \
13458 r=`${PWD_COMMAND}`; export r; \
13459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13460 $(SET_LIB_PATH) \
13461 $(HOST_EXPORTS) \
13462 for flag in $(EXTRA_HOST_FLAGS); do \
13463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13464 done; \
13465 echo "Doing TAGS in make" ; \
13466 (cd make && \
13467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13469 "RANLIB=$${RANLIB}" \
13470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13471 TAGS) \
13472 || exit 1
13474 @endif make
13476 .PHONY: maybe-install-info-make install-info-make
13477 maybe-install-info-make:
13478 @if make
13479 maybe-install-info-make: install-info-make
13481 install-info-make: \
13482 configure-make \
13483 info-make
13484 @[ -f ./make/Makefile ] || exit 0; \
13485 r=`${PWD_COMMAND}`; export r; \
13486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13487 $(SET_LIB_PATH) \
13488 $(HOST_EXPORTS) \
13489 for flag in $(EXTRA_HOST_FLAGS); do \
13490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13491 done; \
13492 echo "Doing install-info in make" ; \
13493 (cd make && \
13494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13496 "RANLIB=$${RANLIB}" \
13497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13498 install-info) \
13499 || exit 1
13501 @endif make
13503 .PHONY: maybe-installcheck-make installcheck-make
13504 maybe-installcheck-make:
13505 @if make
13506 maybe-installcheck-make: installcheck-make
13508 installcheck-make: \
13509 configure-make
13510 @[ -f ./make/Makefile ] || exit 0; \
13511 r=`${PWD_COMMAND}`; export r; \
13512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13513 $(SET_LIB_PATH) \
13514 $(HOST_EXPORTS) \
13515 for flag in $(EXTRA_HOST_FLAGS); do \
13516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13517 done; \
13518 echo "Doing installcheck in make" ; \
13519 (cd make && \
13520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13522 "RANLIB=$${RANLIB}" \
13523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13524 installcheck) \
13525 || exit 1
13527 @endif make
13529 .PHONY: maybe-mostlyclean-make mostlyclean-make
13530 maybe-mostlyclean-make:
13531 @if make
13532 maybe-mostlyclean-make: mostlyclean-make
13534 mostlyclean-make:
13535 @[ -f ./make/Makefile ] || exit 0; \
13536 r=`${PWD_COMMAND}`; export r; \
13537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13538 $(SET_LIB_PATH) \
13539 $(HOST_EXPORTS) \
13540 for flag in $(EXTRA_HOST_FLAGS); do \
13541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13542 done; \
13543 echo "Doing mostlyclean in make" ; \
13544 (cd make && \
13545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13547 "RANLIB=$${RANLIB}" \
13548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13549 mostlyclean) \
13550 || exit 1
13552 @endif make
13554 .PHONY: maybe-clean-make clean-make
13555 maybe-clean-make:
13556 @if make
13557 maybe-clean-make: clean-make
13559 clean-make:
13560 @[ -f ./make/Makefile ] || exit 0; \
13561 r=`${PWD_COMMAND}`; export r; \
13562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13563 $(SET_LIB_PATH) \
13564 $(HOST_EXPORTS) \
13565 for flag in $(EXTRA_HOST_FLAGS); do \
13566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13567 done; \
13568 echo "Doing clean in make" ; \
13569 (cd make && \
13570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13572 "RANLIB=$${RANLIB}" \
13573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13574 clean) \
13575 || exit 1
13577 @endif make
13579 .PHONY: maybe-distclean-make distclean-make
13580 maybe-distclean-make:
13581 @if make
13582 maybe-distclean-make: distclean-make
13584 distclean-make:
13585 @[ -f ./make/Makefile ] || exit 0; \
13586 r=`${PWD_COMMAND}`; export r; \
13587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13588 $(SET_LIB_PATH) \
13589 $(HOST_EXPORTS) \
13590 for flag in $(EXTRA_HOST_FLAGS); do \
13591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13592 done; \
13593 echo "Doing distclean in make" ; \
13594 (cd make && \
13595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13597 "RANLIB=$${RANLIB}" \
13598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13599 distclean) \
13600 || exit 1
13602 @endif make
13604 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13605 maybe-maintainer-clean-make:
13606 @if make
13607 maybe-maintainer-clean-make: maintainer-clean-make
13609 maintainer-clean-make:
13610 @[ -f ./make/Makefile ] || exit 0; \
13611 r=`${PWD_COMMAND}`; export r; \
13612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13613 $(SET_LIB_PATH) \
13614 $(HOST_EXPORTS) \
13615 for flag in $(EXTRA_HOST_FLAGS); do \
13616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13617 done; \
13618 echo "Doing maintainer-clean in make" ; \
13619 (cd make && \
13620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13622 "RANLIB=$${RANLIB}" \
13623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13624 maintainer-clean) \
13625 || exit 1
13627 @endif make
13630 .PHONY: configure-mmalloc maybe-configure-mmalloc
13631 maybe-configure-mmalloc:
13632 @if mmalloc
13633 maybe-configure-mmalloc: configure-mmalloc
13634 configure-mmalloc:
13635 @test ! -f mmalloc/Makefile || exit 0; \
13636 [ -d mmalloc ] || mkdir mmalloc; \
13637 r=`${PWD_COMMAND}`; export r; \
13638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13639 $(HOST_EXPORTS) \
13640 echo Configuring in mmalloc; \
13641 cd mmalloc || exit 1; \
13642 case $(srcdir) in \
13643 \.) \
13644 srcdiroption="--srcdir=."; \
13645 libsrcdir=".";; \
13646 /* | [A-Za-z]:[\\/]*) \
13647 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13648 libsrcdir="$$s/mmalloc";; \
13649 *) \
13650 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13651 libsrcdir="$$s/mmalloc";; \
13652 esac; \
13653 $(SHELL) $${libsrcdir}/configure \
13654 $(HOST_CONFIGARGS) $${srcdiroption} \
13655 || exit 1
13656 @endif mmalloc
13658 .PHONY: all-mmalloc maybe-all-mmalloc
13659 maybe-all-mmalloc:
13660 @if mmalloc
13661 maybe-all-mmalloc: all-mmalloc
13662 all-mmalloc: configure-mmalloc
13663 @r=`${PWD_COMMAND}`; export r; \
13664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13665 $(SET_LIB_PATH) \
13666 $(HOST_EXPORTS) \
13667 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
13668 @endif mmalloc
13670 .PHONY: check-mmalloc maybe-check-mmalloc
13671 maybe-check-mmalloc:
13672 @if mmalloc
13673 maybe-check-mmalloc: check-mmalloc
13675 check-mmalloc:
13677 @endif mmalloc
13679 .PHONY: install-mmalloc maybe-install-mmalloc
13680 maybe-install-mmalloc:
13681 @if mmalloc
13682 maybe-install-mmalloc: install-mmalloc
13684 install-mmalloc: installdirs
13685 @r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(SET_LIB_PATH) \
13688 $(HOST_EXPORTS) \
13689 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
13691 @endif mmalloc
13693 # Other targets (info, dvi, etc.)
13695 .PHONY: maybe-info-mmalloc info-mmalloc
13696 maybe-info-mmalloc:
13697 @if mmalloc
13698 maybe-info-mmalloc: info-mmalloc
13700 info-mmalloc: \
13701 configure-mmalloc
13702 @[ -f ./mmalloc/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(SET_LIB_PATH) \
13706 $(HOST_EXPORTS) \
13707 for flag in $(EXTRA_HOST_FLAGS); do \
13708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13709 done; \
13710 echo "Doing info in mmalloc" ; \
13711 (cd mmalloc && \
13712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13714 "RANLIB=$${RANLIB}" \
13715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13716 info) \
13717 || exit 1
13719 @endif mmalloc
13721 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
13722 maybe-dvi-mmalloc:
13723 @if mmalloc
13724 maybe-dvi-mmalloc: dvi-mmalloc
13726 dvi-mmalloc: \
13727 configure-mmalloc
13728 @[ -f ./mmalloc/Makefile ] || exit 0; \
13729 r=`${PWD_COMMAND}`; export r; \
13730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 $(SET_LIB_PATH) \
13732 $(HOST_EXPORTS) \
13733 for flag in $(EXTRA_HOST_FLAGS); do \
13734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13735 done; \
13736 echo "Doing dvi in mmalloc" ; \
13737 (cd mmalloc && \
13738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13740 "RANLIB=$${RANLIB}" \
13741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13742 dvi) \
13743 || exit 1
13745 @endif mmalloc
13747 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
13748 maybe-TAGS-mmalloc:
13749 @if mmalloc
13750 maybe-TAGS-mmalloc: TAGS-mmalloc
13752 TAGS-mmalloc: \
13753 configure-mmalloc
13754 @[ -f ./mmalloc/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(SET_LIB_PATH) \
13758 $(HOST_EXPORTS) \
13759 for flag in $(EXTRA_HOST_FLAGS); do \
13760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13761 done; \
13762 echo "Doing TAGS in mmalloc" ; \
13763 (cd mmalloc && \
13764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13766 "RANLIB=$${RANLIB}" \
13767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13768 TAGS) \
13769 || exit 1
13771 @endif mmalloc
13773 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
13774 maybe-install-info-mmalloc:
13775 @if mmalloc
13776 maybe-install-info-mmalloc: install-info-mmalloc
13778 install-info-mmalloc: \
13779 configure-mmalloc \
13780 info-mmalloc
13781 @[ -f ./mmalloc/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(SET_LIB_PATH) \
13785 $(HOST_EXPORTS) \
13786 for flag in $(EXTRA_HOST_FLAGS); do \
13787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13788 done; \
13789 echo "Doing install-info in mmalloc" ; \
13790 (cd mmalloc && \
13791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13793 "RANLIB=$${RANLIB}" \
13794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13795 install-info) \
13796 || exit 1
13798 @endif mmalloc
13800 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
13801 maybe-installcheck-mmalloc:
13802 @if mmalloc
13803 maybe-installcheck-mmalloc: installcheck-mmalloc
13805 installcheck-mmalloc: \
13806 configure-mmalloc
13807 @[ -f ./mmalloc/Makefile ] || exit 0; \
13808 r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 $(SET_LIB_PATH) \
13811 $(HOST_EXPORTS) \
13812 for flag in $(EXTRA_HOST_FLAGS); do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13814 done; \
13815 echo "Doing installcheck in mmalloc" ; \
13816 (cd mmalloc && \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13821 installcheck) \
13822 || exit 1
13824 @endif mmalloc
13826 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
13827 maybe-mostlyclean-mmalloc:
13828 @if mmalloc
13829 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
13831 mostlyclean-mmalloc:
13832 @[ -f ./mmalloc/Makefile ] || exit 0; \
13833 r=`${PWD_COMMAND}`; export r; \
13834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13835 $(SET_LIB_PATH) \
13836 $(HOST_EXPORTS) \
13837 for flag in $(EXTRA_HOST_FLAGS); do \
13838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13839 done; \
13840 echo "Doing mostlyclean in mmalloc" ; \
13841 (cd mmalloc && \
13842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13844 "RANLIB=$${RANLIB}" \
13845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13846 mostlyclean) \
13847 || exit 1
13849 @endif mmalloc
13851 .PHONY: maybe-clean-mmalloc clean-mmalloc
13852 maybe-clean-mmalloc:
13853 @if mmalloc
13854 maybe-clean-mmalloc: clean-mmalloc
13856 clean-mmalloc:
13857 @[ -f ./mmalloc/Makefile ] || exit 0; \
13858 r=`${PWD_COMMAND}`; export r; \
13859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13860 $(SET_LIB_PATH) \
13861 $(HOST_EXPORTS) \
13862 for flag in $(EXTRA_HOST_FLAGS); do \
13863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13864 done; \
13865 echo "Doing clean in mmalloc" ; \
13866 (cd mmalloc && \
13867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13869 "RANLIB=$${RANLIB}" \
13870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13871 clean) \
13872 || exit 1
13874 @endif mmalloc
13876 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
13877 maybe-distclean-mmalloc:
13878 @if mmalloc
13879 maybe-distclean-mmalloc: distclean-mmalloc
13881 distclean-mmalloc:
13882 @[ -f ./mmalloc/Makefile ] || exit 0; \
13883 r=`${PWD_COMMAND}`; export r; \
13884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13885 $(SET_LIB_PATH) \
13886 $(HOST_EXPORTS) \
13887 for flag in $(EXTRA_HOST_FLAGS); do \
13888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13889 done; \
13890 echo "Doing distclean in mmalloc" ; \
13891 (cd mmalloc && \
13892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13894 "RANLIB=$${RANLIB}" \
13895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13896 distclean) \
13897 || exit 1
13899 @endif mmalloc
13901 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
13902 maybe-maintainer-clean-mmalloc:
13903 @if mmalloc
13904 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
13906 maintainer-clean-mmalloc:
13907 @[ -f ./mmalloc/Makefile ] || exit 0; \
13908 r=`${PWD_COMMAND}`; export r; \
13909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13910 $(SET_LIB_PATH) \
13911 $(HOST_EXPORTS) \
13912 for flag in $(EXTRA_HOST_FLAGS); do \
13913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13914 done; \
13915 echo "Doing maintainer-clean in mmalloc" ; \
13916 (cd mmalloc && \
13917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919 "RANLIB=$${RANLIB}" \
13920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 maintainer-clean) \
13922 || exit 1
13924 @endif mmalloc
13927 .PHONY: configure-patch maybe-configure-patch
13928 maybe-configure-patch:
13929 @if patch
13930 maybe-configure-patch: configure-patch
13931 configure-patch:
13932 @test ! -f patch/Makefile || exit 0; \
13933 [ -d patch ] || mkdir patch; \
13934 r=`${PWD_COMMAND}`; export r; \
13935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13936 $(HOST_EXPORTS) \
13937 echo Configuring in patch; \
13938 cd patch || exit 1; \
13939 case $(srcdir) in \
13940 \.) \
13941 srcdiroption="--srcdir=."; \
13942 libsrcdir=".";; \
13943 /* | [A-Za-z]:[\\/]*) \
13944 srcdiroption="--srcdir=$(srcdir)/patch"; \
13945 libsrcdir="$$s/patch";; \
13946 *) \
13947 srcdiroption="--srcdir=../$(srcdir)/patch"; \
13948 libsrcdir="$$s/patch";; \
13949 esac; \
13950 $(SHELL) $${libsrcdir}/configure \
13951 $(HOST_CONFIGARGS) $${srcdiroption} \
13952 || exit 1
13953 @endif patch
13955 .PHONY: all-patch maybe-all-patch
13956 maybe-all-patch:
13957 @if patch
13958 maybe-all-patch: all-patch
13959 all-patch: configure-patch
13960 @r=`${PWD_COMMAND}`; export r; \
13961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13962 $(SET_LIB_PATH) \
13963 $(HOST_EXPORTS) \
13964 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
13965 @endif patch
13967 .PHONY: check-patch maybe-check-patch
13968 maybe-check-patch:
13969 @if patch
13970 maybe-check-patch: check-patch
13972 check-patch:
13973 @r=`${PWD_COMMAND}`; export r; \
13974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13975 $(SET_LIB_PATH) \
13976 $(HOST_EXPORTS) \
13977 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
13979 @endif patch
13981 .PHONY: install-patch maybe-install-patch
13982 maybe-install-patch:
13983 @if patch
13984 maybe-install-patch: install-patch
13986 install-patch: installdirs
13987 @r=`${PWD_COMMAND}`; export r; \
13988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13989 $(SET_LIB_PATH) \
13990 $(HOST_EXPORTS) \
13991 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
13993 @endif patch
13995 # Other targets (info, dvi, etc.)
13997 .PHONY: maybe-info-patch info-patch
13998 maybe-info-patch:
13999 @if patch
14000 maybe-info-patch: info-patch
14002 info-patch: \
14003 configure-patch
14004 @[ -f ./patch/Makefile ] || exit 0; \
14005 r=`${PWD_COMMAND}`; export r; \
14006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14007 $(SET_LIB_PATH) \
14008 $(HOST_EXPORTS) \
14009 for flag in $(EXTRA_HOST_FLAGS); do \
14010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14011 done; \
14012 echo "Doing info in patch" ; \
14013 (cd patch && \
14014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14016 "RANLIB=$${RANLIB}" \
14017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14018 info) \
14019 || exit 1
14021 @endif patch
14023 .PHONY: maybe-dvi-patch dvi-patch
14024 maybe-dvi-patch:
14025 @if patch
14026 maybe-dvi-patch: dvi-patch
14028 dvi-patch: \
14029 configure-patch
14030 @[ -f ./patch/Makefile ] || exit 0; \
14031 r=`${PWD_COMMAND}`; export r; \
14032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14033 $(SET_LIB_PATH) \
14034 $(HOST_EXPORTS) \
14035 for flag in $(EXTRA_HOST_FLAGS); do \
14036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14037 done; \
14038 echo "Doing dvi in patch" ; \
14039 (cd patch && \
14040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14042 "RANLIB=$${RANLIB}" \
14043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14044 dvi) \
14045 || exit 1
14047 @endif patch
14049 .PHONY: maybe-TAGS-patch TAGS-patch
14050 maybe-TAGS-patch:
14051 @if patch
14052 maybe-TAGS-patch: TAGS-patch
14054 TAGS-patch: \
14055 configure-patch
14056 @[ -f ./patch/Makefile ] || exit 0; \
14057 r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 $(SET_LIB_PATH) \
14060 $(HOST_EXPORTS) \
14061 for flag in $(EXTRA_HOST_FLAGS); do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14063 done; \
14064 echo "Doing TAGS in patch" ; \
14065 (cd patch && \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14070 TAGS) \
14071 || exit 1
14073 @endif patch
14075 .PHONY: maybe-install-info-patch install-info-patch
14076 maybe-install-info-patch:
14077 @if patch
14078 maybe-install-info-patch: install-info-patch
14080 install-info-patch: \
14081 configure-patch \
14082 info-patch
14083 @[ -f ./patch/Makefile ] || exit 0; \
14084 r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 $(SET_LIB_PATH) \
14087 $(HOST_EXPORTS) \
14088 for flag in $(EXTRA_HOST_FLAGS); do \
14089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14090 done; \
14091 echo "Doing install-info in patch" ; \
14092 (cd patch && \
14093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14095 "RANLIB=$${RANLIB}" \
14096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14097 install-info) \
14098 || exit 1
14100 @endif patch
14102 .PHONY: maybe-installcheck-patch installcheck-patch
14103 maybe-installcheck-patch:
14104 @if patch
14105 maybe-installcheck-patch: installcheck-patch
14107 installcheck-patch: \
14108 configure-patch
14109 @[ -f ./patch/Makefile ] || exit 0; \
14110 r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 $(SET_LIB_PATH) \
14113 $(HOST_EXPORTS) \
14114 for flag in $(EXTRA_HOST_FLAGS); do \
14115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14116 done; \
14117 echo "Doing installcheck in patch" ; \
14118 (cd patch && \
14119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14121 "RANLIB=$${RANLIB}" \
14122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14123 installcheck) \
14124 || exit 1
14126 @endif patch
14128 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14129 maybe-mostlyclean-patch:
14130 @if patch
14131 maybe-mostlyclean-patch: mostlyclean-patch
14133 mostlyclean-patch:
14134 @[ -f ./patch/Makefile ] || exit 0; \
14135 r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14137 $(SET_LIB_PATH) \
14138 $(HOST_EXPORTS) \
14139 for flag in $(EXTRA_HOST_FLAGS); do \
14140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14141 done; \
14142 echo "Doing mostlyclean in patch" ; \
14143 (cd patch && \
14144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14146 "RANLIB=$${RANLIB}" \
14147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14148 mostlyclean) \
14149 || exit 1
14151 @endif patch
14153 .PHONY: maybe-clean-patch clean-patch
14154 maybe-clean-patch:
14155 @if patch
14156 maybe-clean-patch: clean-patch
14158 clean-patch:
14159 @[ -f ./patch/Makefile ] || exit 0; \
14160 r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162 $(SET_LIB_PATH) \
14163 $(HOST_EXPORTS) \
14164 for flag in $(EXTRA_HOST_FLAGS); do \
14165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 done; \
14167 echo "Doing clean in patch" ; \
14168 (cd patch && \
14169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14171 "RANLIB=$${RANLIB}" \
14172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14173 clean) \
14174 || exit 1
14176 @endif patch
14178 .PHONY: maybe-distclean-patch distclean-patch
14179 maybe-distclean-patch:
14180 @if patch
14181 maybe-distclean-patch: distclean-patch
14183 distclean-patch:
14184 @[ -f ./patch/Makefile ] || exit 0; \
14185 r=`${PWD_COMMAND}`; export r; \
14186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187 $(SET_LIB_PATH) \
14188 $(HOST_EXPORTS) \
14189 for flag in $(EXTRA_HOST_FLAGS); do \
14190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14191 done; \
14192 echo "Doing distclean in patch" ; \
14193 (cd patch && \
14194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14196 "RANLIB=$${RANLIB}" \
14197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14198 distclean) \
14199 || exit 1
14201 @endif patch
14203 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14204 maybe-maintainer-clean-patch:
14205 @if patch
14206 maybe-maintainer-clean-patch: maintainer-clean-patch
14208 maintainer-clean-patch:
14209 @[ -f ./patch/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14212 $(SET_LIB_PATH) \
14213 $(HOST_EXPORTS) \
14214 for flag in $(EXTRA_HOST_FLAGS); do \
14215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 done; \
14217 echo "Doing maintainer-clean in patch" ; \
14218 (cd patch && \
14219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14221 "RANLIB=$${RANLIB}" \
14222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14223 maintainer-clean) \
14224 || exit 1
14226 @endif patch
14229 .PHONY: configure-perl maybe-configure-perl
14230 maybe-configure-perl:
14231 @if perl
14232 maybe-configure-perl: configure-perl
14233 configure-perl:
14234 @test ! -f perl/Makefile || exit 0; \
14235 [ -d perl ] || mkdir perl; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(HOST_EXPORTS) \
14239 echo Configuring in perl; \
14240 cd perl || exit 1; \
14241 case $(srcdir) in \
14242 \.) \
14243 srcdiroption="--srcdir=."; \
14244 libsrcdir=".";; \
14245 /* | [A-Za-z]:[\\/]*) \
14246 srcdiroption="--srcdir=$(srcdir)/perl"; \
14247 libsrcdir="$$s/perl";; \
14248 *) \
14249 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14250 libsrcdir="$$s/perl";; \
14251 esac; \
14252 $(SHELL) $${libsrcdir}/configure \
14253 $(HOST_CONFIGARGS) $${srcdiroption} \
14254 || exit 1
14255 @endif perl
14257 .PHONY: all-perl maybe-all-perl
14258 maybe-all-perl:
14259 @if perl
14260 maybe-all-perl: all-perl
14261 all-perl: configure-perl
14262 @r=`${PWD_COMMAND}`; export r; \
14263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14264 $(SET_LIB_PATH) \
14265 $(HOST_EXPORTS) \
14266 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14267 @endif perl
14269 .PHONY: check-perl maybe-check-perl
14270 maybe-check-perl:
14271 @if perl
14272 maybe-check-perl: check-perl
14274 check-perl:
14275 @r=`${PWD_COMMAND}`; export r; \
14276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277 $(SET_LIB_PATH) \
14278 $(HOST_EXPORTS) \
14279 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14281 @endif perl
14283 .PHONY: install-perl maybe-install-perl
14284 maybe-install-perl:
14285 @if perl
14286 maybe-install-perl: install-perl
14288 install-perl: installdirs
14289 @r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 $(SET_LIB_PATH) \
14292 $(HOST_EXPORTS) \
14293 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14295 @endif perl
14297 # Other targets (info, dvi, etc.)
14299 .PHONY: maybe-info-perl info-perl
14300 maybe-info-perl:
14301 @if perl
14302 maybe-info-perl: info-perl
14304 info-perl: \
14305 configure-perl
14306 @[ -f ./perl/Makefile ] || exit 0; \
14307 r=`${PWD_COMMAND}`; export r; \
14308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14309 $(SET_LIB_PATH) \
14310 $(HOST_EXPORTS) \
14311 for flag in $(EXTRA_HOST_FLAGS); do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313 done; \
14314 echo "Doing info in perl" ; \
14315 (cd perl && \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14320 info) \
14321 || exit 1
14323 @endif perl
14325 .PHONY: maybe-dvi-perl dvi-perl
14326 maybe-dvi-perl:
14327 @if perl
14328 maybe-dvi-perl: dvi-perl
14330 dvi-perl: \
14331 configure-perl
14332 @[ -f ./perl/Makefile ] || exit 0; \
14333 r=`${PWD_COMMAND}`; export r; \
14334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14335 $(SET_LIB_PATH) \
14336 $(HOST_EXPORTS) \
14337 for flag in $(EXTRA_HOST_FLAGS); do \
14338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14339 done; \
14340 echo "Doing dvi in perl" ; \
14341 (cd perl && \
14342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14344 "RANLIB=$${RANLIB}" \
14345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14346 dvi) \
14347 || exit 1
14349 @endif perl
14351 .PHONY: maybe-TAGS-perl TAGS-perl
14352 maybe-TAGS-perl:
14353 @if perl
14354 maybe-TAGS-perl: TAGS-perl
14356 TAGS-perl: \
14357 configure-perl
14358 @[ -f ./perl/Makefile ] || exit 0; \
14359 r=`${PWD_COMMAND}`; export r; \
14360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 $(SET_LIB_PATH) \
14362 $(HOST_EXPORTS) \
14363 for flag in $(EXTRA_HOST_FLAGS); do \
14364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14365 done; \
14366 echo "Doing TAGS in perl" ; \
14367 (cd perl && \
14368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14370 "RANLIB=$${RANLIB}" \
14371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14372 TAGS) \
14373 || exit 1
14375 @endif perl
14377 .PHONY: maybe-install-info-perl install-info-perl
14378 maybe-install-info-perl:
14379 @if perl
14380 maybe-install-info-perl: install-info-perl
14382 install-info-perl: \
14383 configure-perl \
14384 info-perl
14385 @[ -f ./perl/Makefile ] || exit 0; \
14386 r=`${PWD_COMMAND}`; export r; \
14387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14388 $(SET_LIB_PATH) \
14389 $(HOST_EXPORTS) \
14390 for flag in $(EXTRA_HOST_FLAGS); do \
14391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14392 done; \
14393 echo "Doing install-info in perl" ; \
14394 (cd perl && \
14395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14397 "RANLIB=$${RANLIB}" \
14398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14399 install-info) \
14400 || exit 1
14402 @endif perl
14404 .PHONY: maybe-installcheck-perl installcheck-perl
14405 maybe-installcheck-perl:
14406 @if perl
14407 maybe-installcheck-perl: installcheck-perl
14409 installcheck-perl: \
14410 configure-perl
14411 @[ -f ./perl/Makefile ] || exit 0; \
14412 r=`${PWD_COMMAND}`; export r; \
14413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 $(SET_LIB_PATH) \
14415 $(HOST_EXPORTS) \
14416 for flag in $(EXTRA_HOST_FLAGS); do \
14417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14418 done; \
14419 echo "Doing installcheck in perl" ; \
14420 (cd perl && \
14421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14423 "RANLIB=$${RANLIB}" \
14424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14425 installcheck) \
14426 || exit 1
14428 @endif perl
14430 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14431 maybe-mostlyclean-perl:
14432 @if perl
14433 maybe-mostlyclean-perl: mostlyclean-perl
14435 mostlyclean-perl:
14436 @[ -f ./perl/Makefile ] || exit 0; \
14437 r=`${PWD_COMMAND}`; export r; \
14438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14439 $(SET_LIB_PATH) \
14440 $(HOST_EXPORTS) \
14441 for flag in $(EXTRA_HOST_FLAGS); do \
14442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14443 done; \
14444 echo "Doing mostlyclean in perl" ; \
14445 (cd perl && \
14446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14448 "RANLIB=$${RANLIB}" \
14449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14450 mostlyclean) \
14451 || exit 1
14453 @endif perl
14455 .PHONY: maybe-clean-perl clean-perl
14456 maybe-clean-perl:
14457 @if perl
14458 maybe-clean-perl: clean-perl
14460 clean-perl:
14461 @[ -f ./perl/Makefile ] || exit 0; \
14462 r=`${PWD_COMMAND}`; export r; \
14463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14464 $(SET_LIB_PATH) \
14465 $(HOST_EXPORTS) \
14466 for flag in $(EXTRA_HOST_FLAGS); do \
14467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14468 done; \
14469 echo "Doing clean in perl" ; \
14470 (cd perl && \
14471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14473 "RANLIB=$${RANLIB}" \
14474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14475 clean) \
14476 || exit 1
14478 @endif perl
14480 .PHONY: maybe-distclean-perl distclean-perl
14481 maybe-distclean-perl:
14482 @if perl
14483 maybe-distclean-perl: distclean-perl
14485 distclean-perl:
14486 @[ -f ./perl/Makefile ] || exit 0; \
14487 r=`${PWD_COMMAND}`; export r; \
14488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14489 $(SET_LIB_PATH) \
14490 $(HOST_EXPORTS) \
14491 for flag in $(EXTRA_HOST_FLAGS); do \
14492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14493 done; \
14494 echo "Doing distclean in perl" ; \
14495 (cd perl && \
14496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14498 "RANLIB=$${RANLIB}" \
14499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14500 distclean) \
14501 || exit 1
14503 @endif perl
14505 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14506 maybe-maintainer-clean-perl:
14507 @if perl
14508 maybe-maintainer-clean-perl: maintainer-clean-perl
14510 maintainer-clean-perl:
14511 @[ -f ./perl/Makefile ] || exit 0; \
14512 r=`${PWD_COMMAND}`; export r; \
14513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14514 $(SET_LIB_PATH) \
14515 $(HOST_EXPORTS) \
14516 for flag in $(EXTRA_HOST_FLAGS); do \
14517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14518 done; \
14519 echo "Doing maintainer-clean in perl" ; \
14520 (cd perl && \
14521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14523 "RANLIB=$${RANLIB}" \
14524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14525 maintainer-clean) \
14526 || exit 1
14528 @endif perl
14531 .PHONY: configure-prms maybe-configure-prms
14532 maybe-configure-prms:
14533 @if prms
14534 maybe-configure-prms: configure-prms
14535 configure-prms:
14536 @test ! -f prms/Makefile || exit 0; \
14537 [ -d prms ] || mkdir prms; \
14538 r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(HOST_EXPORTS) \
14541 echo Configuring in prms; \
14542 cd prms || exit 1; \
14543 case $(srcdir) in \
14544 \.) \
14545 srcdiroption="--srcdir=."; \
14546 libsrcdir=".";; \
14547 /* | [A-Za-z]:[\\/]*) \
14548 srcdiroption="--srcdir=$(srcdir)/prms"; \
14549 libsrcdir="$$s/prms";; \
14550 *) \
14551 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14552 libsrcdir="$$s/prms";; \
14553 esac; \
14554 $(SHELL) $${libsrcdir}/configure \
14555 $(HOST_CONFIGARGS) $${srcdiroption} \
14556 || exit 1
14557 @endif prms
14559 .PHONY: all-prms maybe-all-prms
14560 maybe-all-prms:
14561 @if prms
14562 maybe-all-prms: all-prms
14563 all-prms: configure-prms
14564 @r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(SET_LIB_PATH) \
14567 $(HOST_EXPORTS) \
14568 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14569 @endif prms
14571 .PHONY: check-prms maybe-check-prms
14572 maybe-check-prms:
14573 @if prms
14574 maybe-check-prms: check-prms
14576 check-prms:
14577 @r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 $(SET_LIB_PATH) \
14580 $(HOST_EXPORTS) \
14581 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14583 @endif prms
14585 .PHONY: install-prms maybe-install-prms
14586 maybe-install-prms:
14587 @if prms
14588 maybe-install-prms: install-prms
14590 install-prms: installdirs
14591 @r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 $(SET_LIB_PATH) \
14594 $(HOST_EXPORTS) \
14595 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14597 @endif prms
14599 # Other targets (info, dvi, etc.)
14601 .PHONY: maybe-info-prms info-prms
14602 maybe-info-prms:
14603 @if prms
14604 maybe-info-prms: info-prms
14606 info-prms: \
14607 configure-prms
14608 @[ -f ./prms/Makefile ] || exit 0; \
14609 r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 $(SET_LIB_PATH) \
14612 $(HOST_EXPORTS) \
14613 for flag in $(EXTRA_HOST_FLAGS); do \
14614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14615 done; \
14616 echo "Doing info in prms" ; \
14617 (cd prms && \
14618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14620 "RANLIB=$${RANLIB}" \
14621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14622 info) \
14623 || exit 1
14625 @endif prms
14627 .PHONY: maybe-dvi-prms dvi-prms
14628 maybe-dvi-prms:
14629 @if prms
14630 maybe-dvi-prms: dvi-prms
14632 dvi-prms: \
14633 configure-prms
14634 @[ -f ./prms/Makefile ] || exit 0; \
14635 r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14637 $(SET_LIB_PATH) \
14638 $(HOST_EXPORTS) \
14639 for flag in $(EXTRA_HOST_FLAGS); do \
14640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14641 done; \
14642 echo "Doing dvi in prms" ; \
14643 (cd prms && \
14644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14646 "RANLIB=$${RANLIB}" \
14647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14648 dvi) \
14649 || exit 1
14651 @endif prms
14653 .PHONY: maybe-TAGS-prms TAGS-prms
14654 maybe-TAGS-prms:
14655 @if prms
14656 maybe-TAGS-prms: TAGS-prms
14658 TAGS-prms: \
14659 configure-prms
14660 @[ -f ./prms/Makefile ] || exit 0; \
14661 r=`${PWD_COMMAND}`; export r; \
14662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 $(SET_LIB_PATH) \
14664 $(HOST_EXPORTS) \
14665 for flag in $(EXTRA_HOST_FLAGS); do \
14666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14667 done; \
14668 echo "Doing TAGS in prms" ; \
14669 (cd prms && \
14670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14672 "RANLIB=$${RANLIB}" \
14673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14674 TAGS) \
14675 || exit 1
14677 @endif prms
14679 .PHONY: maybe-install-info-prms install-info-prms
14680 maybe-install-info-prms:
14681 @if prms
14682 maybe-install-info-prms: install-info-prms
14684 install-info-prms: \
14685 configure-prms \
14686 info-prms
14687 @[ -f ./prms/Makefile ] || exit 0; \
14688 r=`${PWD_COMMAND}`; export r; \
14689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 $(SET_LIB_PATH) \
14691 $(HOST_EXPORTS) \
14692 for flag in $(EXTRA_HOST_FLAGS); do \
14693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14694 done; \
14695 echo "Doing install-info in prms" ; \
14696 (cd prms && \
14697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14699 "RANLIB=$${RANLIB}" \
14700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14701 install-info) \
14702 || exit 1
14704 @endif prms
14706 .PHONY: maybe-installcheck-prms installcheck-prms
14707 maybe-installcheck-prms:
14708 @if prms
14709 maybe-installcheck-prms: installcheck-prms
14711 installcheck-prms: \
14712 configure-prms
14713 @[ -f ./prms/Makefile ] || exit 0; \
14714 r=`${PWD_COMMAND}`; export r; \
14715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14716 $(SET_LIB_PATH) \
14717 $(HOST_EXPORTS) \
14718 for flag in $(EXTRA_HOST_FLAGS); do \
14719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14720 done; \
14721 echo "Doing installcheck in prms" ; \
14722 (cd prms && \
14723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14725 "RANLIB=$${RANLIB}" \
14726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14727 installcheck) \
14728 || exit 1
14730 @endif prms
14732 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
14733 maybe-mostlyclean-prms:
14734 @if prms
14735 maybe-mostlyclean-prms: mostlyclean-prms
14737 mostlyclean-prms:
14738 @[ -f ./prms/Makefile ] || exit 0; \
14739 r=`${PWD_COMMAND}`; export r; \
14740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14741 $(SET_LIB_PATH) \
14742 $(HOST_EXPORTS) \
14743 for flag in $(EXTRA_HOST_FLAGS); do \
14744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14745 done; \
14746 echo "Doing mostlyclean in prms" ; \
14747 (cd prms && \
14748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14750 "RANLIB=$${RANLIB}" \
14751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14752 mostlyclean) \
14753 || exit 1
14755 @endif prms
14757 .PHONY: maybe-clean-prms clean-prms
14758 maybe-clean-prms:
14759 @if prms
14760 maybe-clean-prms: clean-prms
14762 clean-prms:
14763 @[ -f ./prms/Makefile ] || exit 0; \
14764 r=`${PWD_COMMAND}`; export r; \
14765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14766 $(SET_LIB_PATH) \
14767 $(HOST_EXPORTS) \
14768 for flag in $(EXTRA_HOST_FLAGS); do \
14769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14770 done; \
14771 echo "Doing clean in prms" ; \
14772 (cd prms && \
14773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14775 "RANLIB=$${RANLIB}" \
14776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14777 clean) \
14778 || exit 1
14780 @endif prms
14782 .PHONY: maybe-distclean-prms distclean-prms
14783 maybe-distclean-prms:
14784 @if prms
14785 maybe-distclean-prms: distclean-prms
14787 distclean-prms:
14788 @[ -f ./prms/Makefile ] || exit 0; \
14789 r=`${PWD_COMMAND}`; export r; \
14790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14791 $(SET_LIB_PATH) \
14792 $(HOST_EXPORTS) \
14793 for flag in $(EXTRA_HOST_FLAGS); do \
14794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14795 done; \
14796 echo "Doing distclean in prms" ; \
14797 (cd prms && \
14798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14800 "RANLIB=$${RANLIB}" \
14801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14802 distclean) \
14803 || exit 1
14805 @endif prms
14807 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
14808 maybe-maintainer-clean-prms:
14809 @if prms
14810 maybe-maintainer-clean-prms: maintainer-clean-prms
14812 maintainer-clean-prms:
14813 @[ -f ./prms/Makefile ] || exit 0; \
14814 r=`${PWD_COMMAND}`; export r; \
14815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 $(SET_LIB_PATH) \
14817 $(HOST_EXPORTS) \
14818 for flag in $(EXTRA_HOST_FLAGS); do \
14819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14820 done; \
14821 echo "Doing maintainer-clean in prms" ; \
14822 (cd prms && \
14823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14825 "RANLIB=$${RANLIB}" \
14826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14827 maintainer-clean) \
14828 || exit 1
14830 @endif prms
14833 .PHONY: configure-rcs maybe-configure-rcs
14834 maybe-configure-rcs:
14835 @if rcs
14836 maybe-configure-rcs: configure-rcs
14837 configure-rcs:
14838 @test ! -f rcs/Makefile || exit 0; \
14839 [ -d rcs ] || mkdir rcs; \
14840 r=`${PWD_COMMAND}`; export r; \
14841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14842 $(HOST_EXPORTS) \
14843 echo Configuring in rcs; \
14844 cd rcs || exit 1; \
14845 case $(srcdir) in \
14846 \.) \
14847 srcdiroption="--srcdir=."; \
14848 libsrcdir=".";; \
14849 /* | [A-Za-z]:[\\/]*) \
14850 srcdiroption="--srcdir=$(srcdir)/rcs"; \
14851 libsrcdir="$$s/rcs";; \
14852 *) \
14853 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
14854 libsrcdir="$$s/rcs";; \
14855 esac; \
14856 $(SHELL) $${libsrcdir}/configure \
14857 $(HOST_CONFIGARGS) $${srcdiroption} \
14858 || exit 1
14859 @endif rcs
14861 .PHONY: all-rcs maybe-all-rcs
14862 maybe-all-rcs:
14863 @if rcs
14864 maybe-all-rcs: all-rcs
14865 all-rcs: configure-rcs
14866 @r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 $(SET_LIB_PATH) \
14869 $(HOST_EXPORTS) \
14870 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
14871 @endif rcs
14873 .PHONY: check-rcs maybe-check-rcs
14874 maybe-check-rcs:
14875 @if rcs
14876 maybe-check-rcs: check-rcs
14878 check-rcs:
14879 @r=`${PWD_COMMAND}`; export r; \
14880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14881 $(SET_LIB_PATH) \
14882 $(HOST_EXPORTS) \
14883 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
14885 @endif rcs
14887 .PHONY: install-rcs maybe-install-rcs
14888 maybe-install-rcs:
14889 @if rcs
14890 maybe-install-rcs: install-rcs
14892 install-rcs: installdirs
14893 @r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 $(SET_LIB_PATH) \
14896 $(HOST_EXPORTS) \
14897 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
14899 @endif rcs
14901 # Other targets (info, dvi, etc.)
14903 .PHONY: maybe-info-rcs info-rcs
14904 maybe-info-rcs:
14905 @if rcs
14906 maybe-info-rcs: info-rcs
14908 info-rcs: \
14909 configure-rcs
14910 @[ -f ./rcs/Makefile ] || exit 0; \
14911 r=`${PWD_COMMAND}`; export r; \
14912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14913 $(SET_LIB_PATH) \
14914 $(HOST_EXPORTS) \
14915 for flag in $(EXTRA_HOST_FLAGS); do \
14916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14917 done; \
14918 echo "Doing info in rcs" ; \
14919 (cd rcs && \
14920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14922 "RANLIB=$${RANLIB}" \
14923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14924 info) \
14925 || exit 1
14927 @endif rcs
14929 .PHONY: maybe-dvi-rcs dvi-rcs
14930 maybe-dvi-rcs:
14931 @if rcs
14932 maybe-dvi-rcs: dvi-rcs
14934 dvi-rcs: \
14935 configure-rcs
14936 @[ -f ./rcs/Makefile ] || exit 0; \
14937 r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14939 $(SET_LIB_PATH) \
14940 $(HOST_EXPORTS) \
14941 for flag in $(EXTRA_HOST_FLAGS); do \
14942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14943 done; \
14944 echo "Doing dvi in rcs" ; \
14945 (cd rcs && \
14946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14948 "RANLIB=$${RANLIB}" \
14949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14950 dvi) \
14951 || exit 1
14953 @endif rcs
14955 .PHONY: maybe-TAGS-rcs TAGS-rcs
14956 maybe-TAGS-rcs:
14957 @if rcs
14958 maybe-TAGS-rcs: TAGS-rcs
14960 TAGS-rcs: \
14961 configure-rcs
14962 @[ -f ./rcs/Makefile ] || exit 0; \
14963 r=`${PWD_COMMAND}`; export r; \
14964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14965 $(SET_LIB_PATH) \
14966 $(HOST_EXPORTS) \
14967 for flag in $(EXTRA_HOST_FLAGS); do \
14968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14969 done; \
14970 echo "Doing TAGS in rcs" ; \
14971 (cd rcs && \
14972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14974 "RANLIB=$${RANLIB}" \
14975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14976 TAGS) \
14977 || exit 1
14979 @endif rcs
14981 .PHONY: maybe-install-info-rcs install-info-rcs
14982 maybe-install-info-rcs:
14983 @if rcs
14984 maybe-install-info-rcs: install-info-rcs
14986 install-info-rcs: \
14987 configure-rcs \
14988 info-rcs
14989 @[ -f ./rcs/Makefile ] || exit 0; \
14990 r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 $(SET_LIB_PATH) \
14993 $(HOST_EXPORTS) \
14994 for flag in $(EXTRA_HOST_FLAGS); do \
14995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14996 done; \
14997 echo "Doing install-info in rcs" ; \
14998 (cd rcs && \
14999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15001 "RANLIB=$${RANLIB}" \
15002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15003 install-info) \
15004 || exit 1
15006 @endif rcs
15008 .PHONY: maybe-installcheck-rcs installcheck-rcs
15009 maybe-installcheck-rcs:
15010 @if rcs
15011 maybe-installcheck-rcs: installcheck-rcs
15013 installcheck-rcs: \
15014 configure-rcs
15015 @[ -f ./rcs/Makefile ] || exit 0; \
15016 r=`${PWD_COMMAND}`; export r; \
15017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15018 $(SET_LIB_PATH) \
15019 $(HOST_EXPORTS) \
15020 for flag in $(EXTRA_HOST_FLAGS); do \
15021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15022 done; \
15023 echo "Doing installcheck in rcs" ; \
15024 (cd rcs && \
15025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15027 "RANLIB=$${RANLIB}" \
15028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15029 installcheck) \
15030 || exit 1
15032 @endif rcs
15034 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15035 maybe-mostlyclean-rcs:
15036 @if rcs
15037 maybe-mostlyclean-rcs: mostlyclean-rcs
15039 mostlyclean-rcs:
15040 @[ -f ./rcs/Makefile ] || exit 0; \
15041 r=`${PWD_COMMAND}`; export r; \
15042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15043 $(SET_LIB_PATH) \
15044 $(HOST_EXPORTS) \
15045 for flag in $(EXTRA_HOST_FLAGS); do \
15046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15047 done; \
15048 echo "Doing mostlyclean in rcs" ; \
15049 (cd rcs && \
15050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15052 "RANLIB=$${RANLIB}" \
15053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15054 mostlyclean) \
15055 || exit 1
15057 @endif rcs
15059 .PHONY: maybe-clean-rcs clean-rcs
15060 maybe-clean-rcs:
15061 @if rcs
15062 maybe-clean-rcs: clean-rcs
15064 clean-rcs:
15065 @[ -f ./rcs/Makefile ] || exit 0; \
15066 r=`${PWD_COMMAND}`; export r; \
15067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15068 $(SET_LIB_PATH) \
15069 $(HOST_EXPORTS) \
15070 for flag in $(EXTRA_HOST_FLAGS); do \
15071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 done; \
15073 echo "Doing clean in rcs" ; \
15074 (cd rcs && \
15075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15077 "RANLIB=$${RANLIB}" \
15078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15079 clean) \
15080 || exit 1
15082 @endif rcs
15084 .PHONY: maybe-distclean-rcs distclean-rcs
15085 maybe-distclean-rcs:
15086 @if rcs
15087 maybe-distclean-rcs: distclean-rcs
15089 distclean-rcs:
15090 @[ -f ./rcs/Makefile ] || exit 0; \
15091 r=`${PWD_COMMAND}`; export r; \
15092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15093 $(SET_LIB_PATH) \
15094 $(HOST_EXPORTS) \
15095 for flag in $(EXTRA_HOST_FLAGS); do \
15096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15097 done; \
15098 echo "Doing distclean in rcs" ; \
15099 (cd rcs && \
15100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15102 "RANLIB=$${RANLIB}" \
15103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15104 distclean) \
15105 || exit 1
15107 @endif rcs
15109 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15110 maybe-maintainer-clean-rcs:
15111 @if rcs
15112 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15114 maintainer-clean-rcs:
15115 @[ -f ./rcs/Makefile ] || exit 0; \
15116 r=`${PWD_COMMAND}`; export r; \
15117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15118 $(SET_LIB_PATH) \
15119 $(HOST_EXPORTS) \
15120 for flag in $(EXTRA_HOST_FLAGS); do \
15121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15122 done; \
15123 echo "Doing maintainer-clean in rcs" ; \
15124 (cd rcs && \
15125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15127 "RANLIB=$${RANLIB}" \
15128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15129 maintainer-clean) \
15130 || exit 1
15132 @endif rcs
15135 .PHONY: configure-readline maybe-configure-readline
15136 maybe-configure-readline:
15137 @if readline
15138 maybe-configure-readline: configure-readline
15139 configure-readline:
15140 @test ! -f readline/Makefile || exit 0; \
15141 [ -d readline ] || mkdir readline; \
15142 r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15144 $(HOST_EXPORTS) \
15145 echo Configuring in readline; \
15146 cd readline || exit 1; \
15147 case $(srcdir) in \
15148 \.) \
15149 srcdiroption="--srcdir=."; \
15150 libsrcdir=".";; \
15151 /* | [A-Za-z]:[\\/]*) \
15152 srcdiroption="--srcdir=$(srcdir)/readline"; \
15153 libsrcdir="$$s/readline";; \
15154 *) \
15155 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15156 libsrcdir="$$s/readline";; \
15157 esac; \
15158 $(SHELL) $${libsrcdir}/configure \
15159 $(HOST_CONFIGARGS) $${srcdiroption} \
15160 || exit 1
15161 @endif readline
15163 .PHONY: all-readline maybe-all-readline
15164 maybe-all-readline:
15165 @if readline
15166 maybe-all-readline: all-readline
15167 all-readline: configure-readline
15168 @r=`${PWD_COMMAND}`; export r; \
15169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15170 $(SET_LIB_PATH) \
15171 $(HOST_EXPORTS) \
15172 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15173 @endif readline
15175 .PHONY: check-readline maybe-check-readline
15176 maybe-check-readline:
15177 @if readline
15178 maybe-check-readline: check-readline
15180 check-readline:
15181 @r=`${PWD_COMMAND}`; export r; \
15182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15183 $(SET_LIB_PATH) \
15184 $(HOST_EXPORTS) \
15185 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15187 @endif readline
15189 .PHONY: install-readline maybe-install-readline
15190 maybe-install-readline:
15191 @if readline
15192 maybe-install-readline: install-readline
15194 install-readline: installdirs
15195 @r=`${PWD_COMMAND}`; export r; \
15196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15197 $(SET_LIB_PATH) \
15198 $(HOST_EXPORTS) \
15199 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15201 @endif readline
15203 # Other targets (info, dvi, etc.)
15205 .PHONY: maybe-info-readline info-readline
15206 maybe-info-readline:
15207 @if readline
15208 maybe-info-readline: info-readline
15210 info-readline: \
15211 configure-readline
15212 @[ -f ./readline/Makefile ] || exit 0; \
15213 r=`${PWD_COMMAND}`; export r; \
15214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15215 $(SET_LIB_PATH) \
15216 $(HOST_EXPORTS) \
15217 for flag in $(EXTRA_HOST_FLAGS); do \
15218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15219 done; \
15220 echo "Doing info in readline" ; \
15221 (cd readline && \
15222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15224 "RANLIB=$${RANLIB}" \
15225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15226 info) \
15227 || exit 1
15229 @endif readline
15231 .PHONY: maybe-dvi-readline dvi-readline
15232 maybe-dvi-readline:
15233 @if readline
15234 maybe-dvi-readline: dvi-readline
15236 dvi-readline: \
15237 configure-readline
15238 @[ -f ./readline/Makefile ] || exit 0; \
15239 r=`${PWD_COMMAND}`; export r; \
15240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15241 $(SET_LIB_PATH) \
15242 $(HOST_EXPORTS) \
15243 for flag in $(EXTRA_HOST_FLAGS); do \
15244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15245 done; \
15246 echo "Doing dvi in readline" ; \
15247 (cd readline && \
15248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15250 "RANLIB=$${RANLIB}" \
15251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15252 dvi) \
15253 || exit 1
15255 @endif readline
15257 .PHONY: maybe-TAGS-readline TAGS-readline
15258 maybe-TAGS-readline:
15259 @if readline
15260 maybe-TAGS-readline: TAGS-readline
15262 TAGS-readline: \
15263 configure-readline
15264 @[ -f ./readline/Makefile ] || exit 0; \
15265 r=`${PWD_COMMAND}`; export r; \
15266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15267 $(SET_LIB_PATH) \
15268 $(HOST_EXPORTS) \
15269 for flag in $(EXTRA_HOST_FLAGS); do \
15270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15271 done; \
15272 echo "Doing TAGS in readline" ; \
15273 (cd readline && \
15274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15276 "RANLIB=$${RANLIB}" \
15277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15278 TAGS) \
15279 || exit 1
15281 @endif readline
15283 .PHONY: maybe-install-info-readline install-info-readline
15284 maybe-install-info-readline:
15285 @if readline
15286 maybe-install-info-readline: install-info-readline
15288 install-info-readline: \
15289 configure-readline \
15290 info-readline
15291 @[ -f ./readline/Makefile ] || exit 0; \
15292 r=`${PWD_COMMAND}`; export r; \
15293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15294 $(SET_LIB_PATH) \
15295 $(HOST_EXPORTS) \
15296 for flag in $(EXTRA_HOST_FLAGS); do \
15297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15298 done; \
15299 echo "Doing install-info in readline" ; \
15300 (cd readline && \
15301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15303 "RANLIB=$${RANLIB}" \
15304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15305 install-info) \
15306 || exit 1
15308 @endif readline
15310 .PHONY: maybe-installcheck-readline installcheck-readline
15311 maybe-installcheck-readline:
15312 @if readline
15313 maybe-installcheck-readline: installcheck-readline
15315 installcheck-readline: \
15316 configure-readline
15317 @[ -f ./readline/Makefile ] || exit 0; \
15318 r=`${PWD_COMMAND}`; export r; \
15319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15320 $(SET_LIB_PATH) \
15321 $(HOST_EXPORTS) \
15322 for flag in $(EXTRA_HOST_FLAGS); do \
15323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15324 done; \
15325 echo "Doing installcheck in readline" ; \
15326 (cd readline && \
15327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15329 "RANLIB=$${RANLIB}" \
15330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15331 installcheck) \
15332 || exit 1
15334 @endif readline
15336 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15337 maybe-mostlyclean-readline:
15338 @if readline
15339 maybe-mostlyclean-readline: mostlyclean-readline
15341 mostlyclean-readline:
15342 @[ -f ./readline/Makefile ] || exit 0; \
15343 r=`${PWD_COMMAND}`; export r; \
15344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15345 $(SET_LIB_PATH) \
15346 $(HOST_EXPORTS) \
15347 for flag in $(EXTRA_HOST_FLAGS); do \
15348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15349 done; \
15350 echo "Doing mostlyclean in readline" ; \
15351 (cd readline && \
15352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15354 "RANLIB=$${RANLIB}" \
15355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15356 mostlyclean) \
15357 || exit 1
15359 @endif readline
15361 .PHONY: maybe-clean-readline clean-readline
15362 maybe-clean-readline:
15363 @if readline
15364 maybe-clean-readline: clean-readline
15366 clean-readline:
15367 @[ -f ./readline/Makefile ] || exit 0; \
15368 r=`${PWD_COMMAND}`; export r; \
15369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370 $(SET_LIB_PATH) \
15371 $(HOST_EXPORTS) \
15372 for flag in $(EXTRA_HOST_FLAGS); do \
15373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15374 done; \
15375 echo "Doing clean in readline" ; \
15376 (cd readline && \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381 clean) \
15382 || exit 1
15384 @endif readline
15386 .PHONY: maybe-distclean-readline distclean-readline
15387 maybe-distclean-readline:
15388 @if readline
15389 maybe-distclean-readline: distclean-readline
15391 distclean-readline:
15392 @[ -f ./readline/Makefile ] || exit 0; \
15393 r=`${PWD_COMMAND}`; export r; \
15394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15395 $(SET_LIB_PATH) \
15396 $(HOST_EXPORTS) \
15397 for flag in $(EXTRA_HOST_FLAGS); do \
15398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 done; \
15400 echo "Doing distclean in readline" ; \
15401 (cd readline && \
15402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15404 "RANLIB=$${RANLIB}" \
15405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15406 distclean) \
15407 || exit 1
15409 @endif readline
15411 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15412 maybe-maintainer-clean-readline:
15413 @if readline
15414 maybe-maintainer-clean-readline: maintainer-clean-readline
15416 maintainer-clean-readline:
15417 @[ -f ./readline/Makefile ] || exit 0; \
15418 r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 $(SET_LIB_PATH) \
15421 $(HOST_EXPORTS) \
15422 for flag in $(EXTRA_HOST_FLAGS); do \
15423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15424 done; \
15425 echo "Doing maintainer-clean in readline" ; \
15426 (cd readline && \
15427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15429 "RANLIB=$${RANLIB}" \
15430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15431 maintainer-clean) \
15432 || exit 1
15434 @endif readline
15437 .PHONY: configure-release maybe-configure-release
15438 maybe-configure-release:
15439 @if release
15440 maybe-configure-release: configure-release
15441 configure-release:
15442 @test ! -f release/Makefile || exit 0; \
15443 [ -d release ] || mkdir release; \
15444 r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15446 $(HOST_EXPORTS) \
15447 echo Configuring in release; \
15448 cd release || exit 1; \
15449 case $(srcdir) in \
15450 \.) \
15451 srcdiroption="--srcdir=."; \
15452 libsrcdir=".";; \
15453 /* | [A-Za-z]:[\\/]*) \
15454 srcdiroption="--srcdir=$(srcdir)/release"; \
15455 libsrcdir="$$s/release";; \
15456 *) \
15457 srcdiroption="--srcdir=../$(srcdir)/release"; \
15458 libsrcdir="$$s/release";; \
15459 esac; \
15460 $(SHELL) $${libsrcdir}/configure \
15461 $(HOST_CONFIGARGS) $${srcdiroption} \
15462 || exit 1
15463 @endif release
15465 .PHONY: all-release maybe-all-release
15466 maybe-all-release:
15467 @if release
15468 maybe-all-release: all-release
15469 all-release: configure-release
15470 @r=`${PWD_COMMAND}`; export r; \
15471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15472 $(SET_LIB_PATH) \
15473 $(HOST_EXPORTS) \
15474 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15475 @endif release
15477 .PHONY: check-release maybe-check-release
15478 maybe-check-release:
15479 @if release
15480 maybe-check-release: check-release
15482 check-release:
15484 @endif release
15486 .PHONY: install-release maybe-install-release
15487 maybe-install-release:
15488 @if release
15489 maybe-install-release: install-release
15491 install-release:
15493 @endif release
15495 # Other targets (info, dvi, etc.)
15497 .PHONY: maybe-info-release info-release
15498 maybe-info-release:
15499 @if release
15500 maybe-info-release: info-release
15502 info-release: \
15503 configure-release
15504 @[ -f ./release/Makefile ] || exit 0; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15507 $(SET_LIB_PATH) \
15508 $(HOST_EXPORTS) \
15509 for flag in $(EXTRA_HOST_FLAGS); do \
15510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15511 done; \
15512 echo "Doing info in release" ; \
15513 (cd release && \
15514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15516 "RANLIB=$${RANLIB}" \
15517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15518 info) \
15519 || exit 1
15521 @endif release
15523 .PHONY: maybe-dvi-release dvi-release
15524 maybe-dvi-release:
15525 @if release
15526 maybe-dvi-release: dvi-release
15528 dvi-release: \
15529 configure-release
15530 @[ -f ./release/Makefile ] || exit 0; \
15531 r=`${PWD_COMMAND}`; export r; \
15532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15533 $(SET_LIB_PATH) \
15534 $(HOST_EXPORTS) \
15535 for flag in $(EXTRA_HOST_FLAGS); do \
15536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15537 done; \
15538 echo "Doing dvi in release" ; \
15539 (cd release && \
15540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15542 "RANLIB=$${RANLIB}" \
15543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15544 dvi) \
15545 || exit 1
15547 @endif release
15549 .PHONY: maybe-TAGS-release TAGS-release
15550 maybe-TAGS-release:
15551 @if release
15552 maybe-TAGS-release: TAGS-release
15554 TAGS-release: \
15555 configure-release
15556 @[ -f ./release/Makefile ] || exit 0; \
15557 r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15559 $(SET_LIB_PATH) \
15560 $(HOST_EXPORTS) \
15561 for flag in $(EXTRA_HOST_FLAGS); do \
15562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15563 done; \
15564 echo "Doing TAGS in release" ; \
15565 (cd release && \
15566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15568 "RANLIB=$${RANLIB}" \
15569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15570 TAGS) \
15571 || exit 1
15573 @endif release
15575 .PHONY: maybe-install-info-release install-info-release
15576 maybe-install-info-release:
15577 @if release
15578 maybe-install-info-release: install-info-release
15580 install-info-release: \
15581 configure-release \
15582 info-release
15583 @[ -f ./release/Makefile ] || exit 0; \
15584 r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 $(SET_LIB_PATH) \
15587 $(HOST_EXPORTS) \
15588 for flag in $(EXTRA_HOST_FLAGS); do \
15589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15590 done; \
15591 echo "Doing install-info in release" ; \
15592 (cd release && \
15593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15595 "RANLIB=$${RANLIB}" \
15596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15597 install-info) \
15598 || exit 1
15600 @endif release
15602 .PHONY: maybe-installcheck-release installcheck-release
15603 maybe-installcheck-release:
15604 @if release
15605 maybe-installcheck-release: installcheck-release
15607 installcheck-release: \
15608 configure-release
15609 @[ -f ./release/Makefile ] || exit 0; \
15610 r=`${PWD_COMMAND}`; export r; \
15611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15612 $(SET_LIB_PATH) \
15613 $(HOST_EXPORTS) \
15614 for flag in $(EXTRA_HOST_FLAGS); do \
15615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15616 done; \
15617 echo "Doing installcheck in release" ; \
15618 (cd release && \
15619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15621 "RANLIB=$${RANLIB}" \
15622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15623 installcheck) \
15624 || exit 1
15626 @endif release
15628 .PHONY: maybe-mostlyclean-release mostlyclean-release
15629 maybe-mostlyclean-release:
15630 @if release
15631 maybe-mostlyclean-release: mostlyclean-release
15633 mostlyclean-release:
15634 @[ -f ./release/Makefile ] || exit 0; \
15635 r=`${PWD_COMMAND}`; export r; \
15636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15637 $(SET_LIB_PATH) \
15638 $(HOST_EXPORTS) \
15639 for flag in $(EXTRA_HOST_FLAGS); do \
15640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15641 done; \
15642 echo "Doing mostlyclean in release" ; \
15643 (cd release && \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15646 "RANLIB=$${RANLIB}" \
15647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15648 mostlyclean) \
15649 || exit 1
15651 @endif release
15653 .PHONY: maybe-clean-release clean-release
15654 maybe-clean-release:
15655 @if release
15656 maybe-clean-release: clean-release
15658 clean-release:
15659 @[ -f ./release/Makefile ] || exit 0; \
15660 r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15662 $(SET_LIB_PATH) \
15663 $(HOST_EXPORTS) \
15664 for flag in $(EXTRA_HOST_FLAGS); do \
15665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15666 done; \
15667 echo "Doing clean in release" ; \
15668 (cd release && \
15669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15671 "RANLIB=$${RANLIB}" \
15672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15673 clean) \
15674 || exit 1
15676 @endif release
15678 .PHONY: maybe-distclean-release distclean-release
15679 maybe-distclean-release:
15680 @if release
15681 maybe-distclean-release: distclean-release
15683 distclean-release:
15684 @[ -f ./release/Makefile ] || exit 0; \
15685 r=`${PWD_COMMAND}`; export r; \
15686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15687 $(SET_LIB_PATH) \
15688 $(HOST_EXPORTS) \
15689 for flag in $(EXTRA_HOST_FLAGS); do \
15690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15691 done; \
15692 echo "Doing distclean in release" ; \
15693 (cd release && \
15694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15696 "RANLIB=$${RANLIB}" \
15697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15698 distclean) \
15699 || exit 1
15701 @endif release
15703 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
15704 maybe-maintainer-clean-release:
15705 @if release
15706 maybe-maintainer-clean-release: maintainer-clean-release
15708 maintainer-clean-release:
15709 @[ -f ./release/Makefile ] || exit 0; \
15710 r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 $(SET_LIB_PATH) \
15713 $(HOST_EXPORTS) \
15714 for flag in $(EXTRA_HOST_FLAGS); do \
15715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15716 done; \
15717 echo "Doing maintainer-clean in release" ; \
15718 (cd release && \
15719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15721 "RANLIB=$${RANLIB}" \
15722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15723 maintainer-clean) \
15724 || exit 1
15726 @endif release
15729 .PHONY: configure-recode maybe-configure-recode
15730 maybe-configure-recode:
15731 @if recode
15732 maybe-configure-recode: configure-recode
15733 configure-recode:
15734 @test ! -f recode/Makefile || exit 0; \
15735 [ -d recode ] || mkdir recode; \
15736 r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15738 $(HOST_EXPORTS) \
15739 echo Configuring in recode; \
15740 cd recode || exit 1; \
15741 case $(srcdir) in \
15742 \.) \
15743 srcdiroption="--srcdir=."; \
15744 libsrcdir=".";; \
15745 /* | [A-Za-z]:[\\/]*) \
15746 srcdiroption="--srcdir=$(srcdir)/recode"; \
15747 libsrcdir="$$s/recode";; \
15748 *) \
15749 srcdiroption="--srcdir=../$(srcdir)/recode"; \
15750 libsrcdir="$$s/recode";; \
15751 esac; \
15752 $(SHELL) $${libsrcdir}/configure \
15753 $(HOST_CONFIGARGS) $${srcdiroption} \
15754 || exit 1
15755 @endif recode
15757 .PHONY: all-recode maybe-all-recode
15758 maybe-all-recode:
15759 @if recode
15760 maybe-all-recode: all-recode
15761 all-recode: configure-recode
15762 @r=`${PWD_COMMAND}`; export r; \
15763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15764 $(SET_LIB_PATH) \
15765 $(HOST_EXPORTS) \
15766 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
15767 @endif recode
15769 .PHONY: check-recode maybe-check-recode
15770 maybe-check-recode:
15771 @if recode
15772 maybe-check-recode: check-recode
15774 check-recode:
15775 @r=`${PWD_COMMAND}`; export r; \
15776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15777 $(SET_LIB_PATH) \
15778 $(HOST_EXPORTS) \
15779 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
15781 @endif recode
15783 .PHONY: install-recode maybe-install-recode
15784 maybe-install-recode:
15785 @if recode
15786 maybe-install-recode: install-recode
15788 install-recode: installdirs
15789 @r=`${PWD_COMMAND}`; export r; \
15790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15791 $(SET_LIB_PATH) \
15792 $(HOST_EXPORTS) \
15793 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
15795 @endif recode
15797 # Other targets (info, dvi, etc.)
15799 .PHONY: maybe-info-recode info-recode
15800 maybe-info-recode:
15801 @if recode
15802 maybe-info-recode: info-recode
15804 info-recode: \
15805 configure-recode
15806 @[ -f ./recode/Makefile ] || exit 0; \
15807 r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15809 $(SET_LIB_PATH) \
15810 $(HOST_EXPORTS) \
15811 for flag in $(EXTRA_HOST_FLAGS); do \
15812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15813 done; \
15814 echo "Doing info in recode" ; \
15815 (cd recode && \
15816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15818 "RANLIB=$${RANLIB}" \
15819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15820 info) \
15821 || exit 1
15823 @endif recode
15825 .PHONY: maybe-dvi-recode dvi-recode
15826 maybe-dvi-recode:
15827 @if recode
15828 maybe-dvi-recode: dvi-recode
15830 dvi-recode: \
15831 configure-recode
15832 @[ -f ./recode/Makefile ] || exit 0; \
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15835 $(SET_LIB_PATH) \
15836 $(HOST_EXPORTS) \
15837 for flag in $(EXTRA_HOST_FLAGS); do \
15838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15839 done; \
15840 echo "Doing dvi in recode" ; \
15841 (cd recode && \
15842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15844 "RANLIB=$${RANLIB}" \
15845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15846 dvi) \
15847 || exit 1
15849 @endif recode
15851 .PHONY: maybe-TAGS-recode TAGS-recode
15852 maybe-TAGS-recode:
15853 @if recode
15854 maybe-TAGS-recode: TAGS-recode
15856 TAGS-recode: \
15857 configure-recode
15858 @[ -f ./recode/Makefile ] || exit 0; \
15859 r=`${PWD_COMMAND}`; export r; \
15860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15861 $(SET_LIB_PATH) \
15862 $(HOST_EXPORTS) \
15863 for flag in $(EXTRA_HOST_FLAGS); do \
15864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15865 done; \
15866 echo "Doing TAGS in recode" ; \
15867 (cd recode && \
15868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15870 "RANLIB=$${RANLIB}" \
15871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15872 TAGS) \
15873 || exit 1
15875 @endif recode
15877 .PHONY: maybe-install-info-recode install-info-recode
15878 maybe-install-info-recode:
15879 @if recode
15880 maybe-install-info-recode: install-info-recode
15882 install-info-recode: \
15883 configure-recode \
15884 info-recode
15885 @[ -f ./recode/Makefile ] || exit 0; \
15886 r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(SET_LIB_PATH) \
15889 $(HOST_EXPORTS) \
15890 for flag in $(EXTRA_HOST_FLAGS); do \
15891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15892 done; \
15893 echo "Doing install-info in recode" ; \
15894 (cd recode && \
15895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15897 "RANLIB=$${RANLIB}" \
15898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15899 install-info) \
15900 || exit 1
15902 @endif recode
15904 .PHONY: maybe-installcheck-recode installcheck-recode
15905 maybe-installcheck-recode:
15906 @if recode
15907 maybe-installcheck-recode: installcheck-recode
15909 installcheck-recode: \
15910 configure-recode
15911 @[ -f ./recode/Makefile ] || exit 0; \
15912 r=`${PWD_COMMAND}`; export r; \
15913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15914 $(SET_LIB_PATH) \
15915 $(HOST_EXPORTS) \
15916 for flag in $(EXTRA_HOST_FLAGS); do \
15917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15918 done; \
15919 echo "Doing installcheck in recode" ; \
15920 (cd recode && \
15921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15923 "RANLIB=$${RANLIB}" \
15924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15925 installcheck) \
15926 || exit 1
15928 @endif recode
15930 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
15931 maybe-mostlyclean-recode:
15932 @if recode
15933 maybe-mostlyclean-recode: mostlyclean-recode
15935 mostlyclean-recode:
15936 @[ -f ./recode/Makefile ] || exit 0; \
15937 r=`${PWD_COMMAND}`; export r; \
15938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15939 $(SET_LIB_PATH) \
15940 $(HOST_EXPORTS) \
15941 for flag in $(EXTRA_HOST_FLAGS); do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15943 done; \
15944 echo "Doing mostlyclean in recode" ; \
15945 (cd recode && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15948 "RANLIB=$${RANLIB}" \
15949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15950 mostlyclean) \
15951 || exit 1
15953 @endif recode
15955 .PHONY: maybe-clean-recode clean-recode
15956 maybe-clean-recode:
15957 @if recode
15958 maybe-clean-recode: clean-recode
15960 clean-recode:
15961 @[ -f ./recode/Makefile ] || exit 0; \
15962 r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 $(SET_LIB_PATH) \
15965 $(HOST_EXPORTS) \
15966 for flag in $(EXTRA_HOST_FLAGS); do \
15967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15968 done; \
15969 echo "Doing clean in recode" ; \
15970 (cd recode && \
15971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15973 "RANLIB=$${RANLIB}" \
15974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15975 clean) \
15976 || exit 1
15978 @endif recode
15980 .PHONY: maybe-distclean-recode distclean-recode
15981 maybe-distclean-recode:
15982 @if recode
15983 maybe-distclean-recode: distclean-recode
15985 distclean-recode:
15986 @[ -f ./recode/Makefile ] || exit 0; \
15987 r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 $(SET_LIB_PATH) \
15990 $(HOST_EXPORTS) \
15991 for flag in $(EXTRA_HOST_FLAGS); do \
15992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15993 done; \
15994 echo "Doing distclean in recode" ; \
15995 (cd recode && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998 "RANLIB=$${RANLIB}" \
15999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16000 distclean) \
16001 || exit 1
16003 @endif recode
16005 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16006 maybe-maintainer-clean-recode:
16007 @if recode
16008 maybe-maintainer-clean-recode: maintainer-clean-recode
16010 maintainer-clean-recode:
16011 @[ -f ./recode/Makefile ] || exit 0; \
16012 r=`${PWD_COMMAND}`; export r; \
16013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 $(SET_LIB_PATH) \
16015 $(HOST_EXPORTS) \
16016 for flag in $(EXTRA_HOST_FLAGS); do \
16017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16018 done; \
16019 echo "Doing maintainer-clean in recode" ; \
16020 (cd recode && \
16021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16023 "RANLIB=$${RANLIB}" \
16024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16025 maintainer-clean) \
16026 || exit 1
16028 @endif recode
16031 .PHONY: configure-sed maybe-configure-sed
16032 maybe-configure-sed:
16033 @if sed
16034 maybe-configure-sed: configure-sed
16035 configure-sed:
16036 @test ! -f sed/Makefile || exit 0; \
16037 [ -d sed ] || mkdir sed; \
16038 r=`${PWD_COMMAND}`; export r; \
16039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16040 $(HOST_EXPORTS) \
16041 echo Configuring in sed; \
16042 cd sed || exit 1; \
16043 case $(srcdir) in \
16044 \.) \
16045 srcdiroption="--srcdir=."; \
16046 libsrcdir=".";; \
16047 /* | [A-Za-z]:[\\/]*) \
16048 srcdiroption="--srcdir=$(srcdir)/sed"; \
16049 libsrcdir="$$s/sed";; \
16050 *) \
16051 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16052 libsrcdir="$$s/sed";; \
16053 esac; \
16054 $(SHELL) $${libsrcdir}/configure \
16055 $(HOST_CONFIGARGS) $${srcdiroption} \
16056 || exit 1
16057 @endif sed
16059 .PHONY: all-sed maybe-all-sed
16060 maybe-all-sed:
16061 @if sed
16062 maybe-all-sed: all-sed
16063 all-sed: configure-sed
16064 @r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16066 $(SET_LIB_PATH) \
16067 $(HOST_EXPORTS) \
16068 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16069 @endif sed
16071 .PHONY: check-sed maybe-check-sed
16072 maybe-check-sed:
16073 @if sed
16074 maybe-check-sed: check-sed
16076 check-sed:
16077 @r=`${PWD_COMMAND}`; export r; \
16078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16079 $(SET_LIB_PATH) \
16080 $(HOST_EXPORTS) \
16081 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16083 @endif sed
16085 .PHONY: install-sed maybe-install-sed
16086 maybe-install-sed:
16087 @if sed
16088 maybe-install-sed: install-sed
16090 install-sed: installdirs
16091 @r=`${PWD_COMMAND}`; export r; \
16092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16093 $(SET_LIB_PATH) \
16094 $(HOST_EXPORTS) \
16095 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16097 @endif sed
16099 # Other targets (info, dvi, etc.)
16101 .PHONY: maybe-info-sed info-sed
16102 maybe-info-sed:
16103 @if sed
16104 maybe-info-sed: info-sed
16106 info-sed: \
16107 configure-sed
16108 @[ -f ./sed/Makefile ] || exit 0; \
16109 r=`${PWD_COMMAND}`; export r; \
16110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16111 $(SET_LIB_PATH) \
16112 $(HOST_EXPORTS) \
16113 for flag in $(EXTRA_HOST_FLAGS); do \
16114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16115 done; \
16116 echo "Doing info in sed" ; \
16117 (cd sed && \
16118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16120 "RANLIB=$${RANLIB}" \
16121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16122 info) \
16123 || exit 1
16125 @endif sed
16127 .PHONY: maybe-dvi-sed dvi-sed
16128 maybe-dvi-sed:
16129 @if sed
16130 maybe-dvi-sed: dvi-sed
16132 dvi-sed: \
16133 configure-sed
16134 @[ -f ./sed/Makefile ] || exit 0; \
16135 r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 $(SET_LIB_PATH) \
16138 $(HOST_EXPORTS) \
16139 for flag in $(EXTRA_HOST_FLAGS); do \
16140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16141 done; \
16142 echo "Doing dvi in sed" ; \
16143 (cd sed && \
16144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16146 "RANLIB=$${RANLIB}" \
16147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16148 dvi) \
16149 || exit 1
16151 @endif sed
16153 .PHONY: maybe-TAGS-sed TAGS-sed
16154 maybe-TAGS-sed:
16155 @if sed
16156 maybe-TAGS-sed: TAGS-sed
16158 TAGS-sed: \
16159 configure-sed
16160 @[ -f ./sed/Makefile ] || exit 0; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(SET_LIB_PATH) \
16164 $(HOST_EXPORTS) \
16165 for flag in $(EXTRA_HOST_FLAGS); do \
16166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16167 done; \
16168 echo "Doing TAGS in sed" ; \
16169 (cd sed && \
16170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16172 "RANLIB=$${RANLIB}" \
16173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16174 TAGS) \
16175 || exit 1
16177 @endif sed
16179 .PHONY: maybe-install-info-sed install-info-sed
16180 maybe-install-info-sed:
16181 @if sed
16182 maybe-install-info-sed: install-info-sed
16184 install-info-sed: \
16185 configure-sed \
16186 info-sed
16187 @[ -f ./sed/Makefile ] || exit 0; \
16188 r=`${PWD_COMMAND}`; export r; \
16189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16190 $(SET_LIB_PATH) \
16191 $(HOST_EXPORTS) \
16192 for flag in $(EXTRA_HOST_FLAGS); do \
16193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16194 done; \
16195 echo "Doing install-info in sed" ; \
16196 (cd sed && \
16197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16199 "RANLIB=$${RANLIB}" \
16200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16201 install-info) \
16202 || exit 1
16204 @endif sed
16206 .PHONY: maybe-installcheck-sed installcheck-sed
16207 maybe-installcheck-sed:
16208 @if sed
16209 maybe-installcheck-sed: installcheck-sed
16211 installcheck-sed: \
16212 configure-sed
16213 @[ -f ./sed/Makefile ] || exit 0; \
16214 r=`${PWD_COMMAND}`; export r; \
16215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16216 $(SET_LIB_PATH) \
16217 $(HOST_EXPORTS) \
16218 for flag in $(EXTRA_HOST_FLAGS); do \
16219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16220 done; \
16221 echo "Doing installcheck in sed" ; \
16222 (cd sed && \
16223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16225 "RANLIB=$${RANLIB}" \
16226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16227 installcheck) \
16228 || exit 1
16230 @endif sed
16232 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16233 maybe-mostlyclean-sed:
16234 @if sed
16235 maybe-mostlyclean-sed: mostlyclean-sed
16237 mostlyclean-sed:
16238 @[ -f ./sed/Makefile ] || exit 0; \
16239 r=`${PWD_COMMAND}`; export r; \
16240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16241 $(SET_LIB_PATH) \
16242 $(HOST_EXPORTS) \
16243 for flag in $(EXTRA_HOST_FLAGS); do \
16244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16245 done; \
16246 echo "Doing mostlyclean in sed" ; \
16247 (cd sed && \
16248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16250 "RANLIB=$${RANLIB}" \
16251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16252 mostlyclean) \
16253 || exit 1
16255 @endif sed
16257 .PHONY: maybe-clean-sed clean-sed
16258 maybe-clean-sed:
16259 @if sed
16260 maybe-clean-sed: clean-sed
16262 clean-sed:
16263 @[ -f ./sed/Makefile ] || exit 0; \
16264 r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 $(SET_LIB_PATH) \
16267 $(HOST_EXPORTS) \
16268 for flag in $(EXTRA_HOST_FLAGS); do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16270 done; \
16271 echo "Doing clean in sed" ; \
16272 (cd sed && \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16277 clean) \
16278 || exit 1
16280 @endif sed
16282 .PHONY: maybe-distclean-sed distclean-sed
16283 maybe-distclean-sed:
16284 @if sed
16285 maybe-distclean-sed: distclean-sed
16287 distclean-sed:
16288 @[ -f ./sed/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(SET_LIB_PATH) \
16292 $(HOST_EXPORTS) \
16293 for flag in $(EXTRA_HOST_FLAGS); do \
16294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16295 done; \
16296 echo "Doing distclean in sed" ; \
16297 (cd sed && \
16298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16300 "RANLIB=$${RANLIB}" \
16301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16302 distclean) \
16303 || exit 1
16305 @endif sed
16307 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16308 maybe-maintainer-clean-sed:
16309 @if sed
16310 maybe-maintainer-clean-sed: maintainer-clean-sed
16312 maintainer-clean-sed:
16313 @[ -f ./sed/Makefile ] || exit 0; \
16314 r=`${PWD_COMMAND}`; export r; \
16315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16316 $(SET_LIB_PATH) \
16317 $(HOST_EXPORTS) \
16318 for flag in $(EXTRA_HOST_FLAGS); do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16320 done; \
16321 echo "Doing maintainer-clean in sed" ; \
16322 (cd sed && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16327 maintainer-clean) \
16328 || exit 1
16330 @endif sed
16333 .PHONY: configure-send-pr maybe-configure-send-pr
16334 maybe-configure-send-pr:
16335 @if send-pr
16336 maybe-configure-send-pr: configure-send-pr
16337 configure-send-pr:
16338 @test ! -f send-pr/Makefile || exit 0; \
16339 [ -d send-pr ] || mkdir send-pr; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(HOST_EXPORTS) \
16343 echo Configuring in send-pr; \
16344 cd send-pr || exit 1; \
16345 case $(srcdir) in \
16346 \.) \
16347 srcdiroption="--srcdir=."; \
16348 libsrcdir=".";; \
16349 /* | [A-Za-z]:[\\/]*) \
16350 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16351 libsrcdir="$$s/send-pr";; \
16352 *) \
16353 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16354 libsrcdir="$$s/send-pr";; \
16355 esac; \
16356 $(SHELL) $${libsrcdir}/configure \
16357 $(HOST_CONFIGARGS) $${srcdiroption} \
16358 || exit 1
16359 @endif send-pr
16361 .PHONY: all-send-pr maybe-all-send-pr
16362 maybe-all-send-pr:
16363 @if send-pr
16364 maybe-all-send-pr: all-send-pr
16365 all-send-pr: configure-send-pr
16366 @r=`${PWD_COMMAND}`; export r; \
16367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 $(SET_LIB_PATH) \
16369 $(HOST_EXPORTS) \
16370 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16371 @endif send-pr
16373 .PHONY: check-send-pr maybe-check-send-pr
16374 maybe-check-send-pr:
16375 @if send-pr
16376 maybe-check-send-pr: check-send-pr
16378 check-send-pr:
16379 @r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(SET_LIB_PATH) \
16382 $(HOST_EXPORTS) \
16383 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16385 @endif send-pr
16387 .PHONY: install-send-pr maybe-install-send-pr
16388 maybe-install-send-pr:
16389 @if send-pr
16390 maybe-install-send-pr: install-send-pr
16392 install-send-pr: installdirs
16393 @r=`${PWD_COMMAND}`; export r; \
16394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16395 $(SET_LIB_PATH) \
16396 $(HOST_EXPORTS) \
16397 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16399 @endif send-pr
16401 # Other targets (info, dvi, etc.)
16403 .PHONY: maybe-info-send-pr info-send-pr
16404 maybe-info-send-pr:
16405 @if send-pr
16406 maybe-info-send-pr: info-send-pr
16408 info-send-pr: \
16409 configure-send-pr
16410 @[ -f ./send-pr/Makefile ] || exit 0; \
16411 r=`${PWD_COMMAND}`; export r; \
16412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 $(SET_LIB_PATH) \
16414 $(HOST_EXPORTS) \
16415 for flag in $(EXTRA_HOST_FLAGS); do \
16416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16417 done; \
16418 echo "Doing info in send-pr" ; \
16419 (cd send-pr && \
16420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16422 "RANLIB=$${RANLIB}" \
16423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16424 info) \
16425 || exit 1
16427 @endif send-pr
16429 .PHONY: maybe-dvi-send-pr dvi-send-pr
16430 maybe-dvi-send-pr:
16431 @if send-pr
16432 maybe-dvi-send-pr: dvi-send-pr
16434 dvi-send-pr: \
16435 configure-send-pr
16436 @[ -f ./send-pr/Makefile ] || exit 0; \
16437 r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 $(SET_LIB_PATH) \
16440 $(HOST_EXPORTS) \
16441 for flag in $(EXTRA_HOST_FLAGS); do \
16442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16443 done; \
16444 echo "Doing dvi in send-pr" ; \
16445 (cd send-pr && \
16446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16448 "RANLIB=$${RANLIB}" \
16449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16450 dvi) \
16451 || exit 1
16453 @endif send-pr
16455 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16456 maybe-TAGS-send-pr:
16457 @if send-pr
16458 maybe-TAGS-send-pr: TAGS-send-pr
16460 TAGS-send-pr: \
16461 configure-send-pr
16462 @[ -f ./send-pr/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16465 $(SET_LIB_PATH) \
16466 $(HOST_EXPORTS) \
16467 for flag in $(EXTRA_HOST_FLAGS); do \
16468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16469 done; \
16470 echo "Doing TAGS in send-pr" ; \
16471 (cd send-pr && \
16472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16474 "RANLIB=$${RANLIB}" \
16475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16476 TAGS) \
16477 || exit 1
16479 @endif send-pr
16481 .PHONY: maybe-install-info-send-pr install-info-send-pr
16482 maybe-install-info-send-pr:
16483 @if send-pr
16484 maybe-install-info-send-pr: install-info-send-pr
16486 install-info-send-pr: \
16487 configure-send-pr \
16488 info-send-pr
16489 @[ -f ./send-pr/Makefile ] || exit 0; \
16490 r=`${PWD_COMMAND}`; export r; \
16491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 $(SET_LIB_PATH) \
16493 $(HOST_EXPORTS) \
16494 for flag in $(EXTRA_HOST_FLAGS); do \
16495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16496 done; \
16497 echo "Doing install-info in send-pr" ; \
16498 (cd send-pr && \
16499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16501 "RANLIB=$${RANLIB}" \
16502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16503 install-info) \
16504 || exit 1
16506 @endif send-pr
16508 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16509 maybe-installcheck-send-pr:
16510 @if send-pr
16511 maybe-installcheck-send-pr: installcheck-send-pr
16513 installcheck-send-pr: \
16514 configure-send-pr
16515 @[ -f ./send-pr/Makefile ] || exit 0; \
16516 r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 $(SET_LIB_PATH) \
16519 $(HOST_EXPORTS) \
16520 for flag in $(EXTRA_HOST_FLAGS); do \
16521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16522 done; \
16523 echo "Doing installcheck in send-pr" ; \
16524 (cd send-pr && \
16525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16527 "RANLIB=$${RANLIB}" \
16528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16529 installcheck) \
16530 || exit 1
16532 @endif send-pr
16534 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16535 maybe-mostlyclean-send-pr:
16536 @if send-pr
16537 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16539 mostlyclean-send-pr:
16540 @[ -f ./send-pr/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16543 $(SET_LIB_PATH) \
16544 $(HOST_EXPORTS) \
16545 for flag in $(EXTRA_HOST_FLAGS); do \
16546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547 done; \
16548 echo "Doing mostlyclean in send-pr" ; \
16549 (cd send-pr && \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552 "RANLIB=$${RANLIB}" \
16553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16554 mostlyclean) \
16555 || exit 1
16557 @endif send-pr
16559 .PHONY: maybe-clean-send-pr clean-send-pr
16560 maybe-clean-send-pr:
16561 @if send-pr
16562 maybe-clean-send-pr: clean-send-pr
16564 clean-send-pr:
16565 @[ -f ./send-pr/Makefile ] || exit 0; \
16566 r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 $(SET_LIB_PATH) \
16569 $(HOST_EXPORTS) \
16570 for flag in $(EXTRA_HOST_FLAGS); do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16572 done; \
16573 echo "Doing clean in send-pr" ; \
16574 (cd send-pr && \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16579 clean) \
16580 || exit 1
16582 @endif send-pr
16584 .PHONY: maybe-distclean-send-pr distclean-send-pr
16585 maybe-distclean-send-pr:
16586 @if send-pr
16587 maybe-distclean-send-pr: distclean-send-pr
16589 distclean-send-pr:
16590 @[ -f ./send-pr/Makefile ] || exit 0; \
16591 r=`${PWD_COMMAND}`; export r; \
16592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16593 $(SET_LIB_PATH) \
16594 $(HOST_EXPORTS) \
16595 for flag in $(EXTRA_HOST_FLAGS); do \
16596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16597 done; \
16598 echo "Doing distclean in send-pr" ; \
16599 (cd send-pr && \
16600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16602 "RANLIB=$${RANLIB}" \
16603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16604 distclean) \
16605 || exit 1
16607 @endif send-pr
16609 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16610 maybe-maintainer-clean-send-pr:
16611 @if send-pr
16612 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16614 maintainer-clean-send-pr:
16615 @[ -f ./send-pr/Makefile ] || exit 0; \
16616 r=`${PWD_COMMAND}`; export r; \
16617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 $(SET_LIB_PATH) \
16619 $(HOST_EXPORTS) \
16620 for flag in $(EXTRA_HOST_FLAGS); do \
16621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16622 done; \
16623 echo "Doing maintainer-clean in send-pr" ; \
16624 (cd send-pr && \
16625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16627 "RANLIB=$${RANLIB}" \
16628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16629 maintainer-clean) \
16630 || exit 1
16632 @endif send-pr
16635 .PHONY: configure-shellutils maybe-configure-shellutils
16636 maybe-configure-shellutils:
16637 @if shellutils
16638 maybe-configure-shellutils: configure-shellutils
16639 configure-shellutils:
16640 @test ! -f shellutils/Makefile || exit 0; \
16641 [ -d shellutils ] || mkdir shellutils; \
16642 r=`${PWD_COMMAND}`; export r; \
16643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16644 $(HOST_EXPORTS) \
16645 echo Configuring in shellutils; \
16646 cd shellutils || exit 1; \
16647 case $(srcdir) in \
16648 \.) \
16649 srcdiroption="--srcdir=."; \
16650 libsrcdir=".";; \
16651 /* | [A-Za-z]:[\\/]*) \
16652 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16653 libsrcdir="$$s/shellutils";; \
16654 *) \
16655 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16656 libsrcdir="$$s/shellutils";; \
16657 esac; \
16658 $(SHELL) $${libsrcdir}/configure \
16659 $(HOST_CONFIGARGS) $${srcdiroption} \
16660 || exit 1
16661 @endif shellutils
16663 .PHONY: all-shellutils maybe-all-shellutils
16664 maybe-all-shellutils:
16665 @if shellutils
16666 maybe-all-shellutils: all-shellutils
16667 all-shellutils: configure-shellutils
16668 @r=`${PWD_COMMAND}`; export r; \
16669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16670 $(SET_LIB_PATH) \
16671 $(HOST_EXPORTS) \
16672 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
16673 @endif shellutils
16675 .PHONY: check-shellutils maybe-check-shellutils
16676 maybe-check-shellutils:
16677 @if shellutils
16678 maybe-check-shellutils: check-shellutils
16680 check-shellutils:
16681 @r=`${PWD_COMMAND}`; export r; \
16682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16683 $(SET_LIB_PATH) \
16684 $(HOST_EXPORTS) \
16685 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
16687 @endif shellutils
16689 .PHONY: install-shellutils maybe-install-shellutils
16690 maybe-install-shellutils:
16691 @if shellutils
16692 maybe-install-shellutils: install-shellutils
16694 install-shellutils: installdirs
16695 @r=`${PWD_COMMAND}`; export r; \
16696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16697 $(SET_LIB_PATH) \
16698 $(HOST_EXPORTS) \
16699 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
16701 @endif shellutils
16703 # Other targets (info, dvi, etc.)
16705 .PHONY: maybe-info-shellutils info-shellutils
16706 maybe-info-shellutils:
16707 @if shellutils
16708 maybe-info-shellutils: info-shellutils
16710 info-shellutils: \
16711 configure-shellutils
16712 @[ -f ./shellutils/Makefile ] || exit 0; \
16713 r=`${PWD_COMMAND}`; export r; \
16714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16715 $(SET_LIB_PATH) \
16716 $(HOST_EXPORTS) \
16717 for flag in $(EXTRA_HOST_FLAGS); do \
16718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16719 done; \
16720 echo "Doing info in shellutils" ; \
16721 (cd shellutils && \
16722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16724 "RANLIB=$${RANLIB}" \
16725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16726 info) \
16727 || exit 1
16729 @endif shellutils
16731 .PHONY: maybe-dvi-shellutils dvi-shellutils
16732 maybe-dvi-shellutils:
16733 @if shellutils
16734 maybe-dvi-shellutils: dvi-shellutils
16736 dvi-shellutils: \
16737 configure-shellutils
16738 @[ -f ./shellutils/Makefile ] || exit 0; \
16739 r=`${PWD_COMMAND}`; export r; \
16740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16741 $(SET_LIB_PATH) \
16742 $(HOST_EXPORTS) \
16743 for flag in $(EXTRA_HOST_FLAGS); do \
16744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16745 done; \
16746 echo "Doing dvi in shellutils" ; \
16747 (cd shellutils && \
16748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16750 "RANLIB=$${RANLIB}" \
16751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16752 dvi) \
16753 || exit 1
16755 @endif shellutils
16757 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
16758 maybe-TAGS-shellutils:
16759 @if shellutils
16760 maybe-TAGS-shellutils: TAGS-shellutils
16762 TAGS-shellutils: \
16763 configure-shellutils
16764 @[ -f ./shellutils/Makefile ] || exit 0; \
16765 r=`${PWD_COMMAND}`; export r; \
16766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 $(SET_LIB_PATH) \
16768 $(HOST_EXPORTS) \
16769 for flag in $(EXTRA_HOST_FLAGS); do \
16770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16771 done; \
16772 echo "Doing TAGS in shellutils" ; \
16773 (cd shellutils && \
16774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16776 "RANLIB=$${RANLIB}" \
16777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16778 TAGS) \
16779 || exit 1
16781 @endif shellutils
16783 .PHONY: maybe-install-info-shellutils install-info-shellutils
16784 maybe-install-info-shellutils:
16785 @if shellutils
16786 maybe-install-info-shellutils: install-info-shellutils
16788 install-info-shellutils: \
16789 configure-shellutils \
16790 info-shellutils
16791 @[ -f ./shellutils/Makefile ] || exit 0; \
16792 r=`${PWD_COMMAND}`; export r; \
16793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16794 $(SET_LIB_PATH) \
16795 $(HOST_EXPORTS) \
16796 for flag in $(EXTRA_HOST_FLAGS); do \
16797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16798 done; \
16799 echo "Doing install-info in shellutils" ; \
16800 (cd shellutils && \
16801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16803 "RANLIB=$${RANLIB}" \
16804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16805 install-info) \
16806 || exit 1
16808 @endif shellutils
16810 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
16811 maybe-installcheck-shellutils:
16812 @if shellutils
16813 maybe-installcheck-shellutils: installcheck-shellutils
16815 installcheck-shellutils: \
16816 configure-shellutils
16817 @[ -f ./shellutils/Makefile ] || exit 0; \
16818 r=`${PWD_COMMAND}`; export r; \
16819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16820 $(SET_LIB_PATH) \
16821 $(HOST_EXPORTS) \
16822 for flag in $(EXTRA_HOST_FLAGS); do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16824 done; \
16825 echo "Doing installcheck in shellutils" ; \
16826 (cd shellutils && \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16831 installcheck) \
16832 || exit 1
16834 @endif shellutils
16836 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
16837 maybe-mostlyclean-shellutils:
16838 @if shellutils
16839 maybe-mostlyclean-shellutils: mostlyclean-shellutils
16841 mostlyclean-shellutils:
16842 @[ -f ./shellutils/Makefile ] || exit 0; \
16843 r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 $(SET_LIB_PATH) \
16846 $(HOST_EXPORTS) \
16847 for flag in $(EXTRA_HOST_FLAGS); do \
16848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16849 done; \
16850 echo "Doing mostlyclean in shellutils" ; \
16851 (cd shellutils && \
16852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16854 "RANLIB=$${RANLIB}" \
16855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16856 mostlyclean) \
16857 || exit 1
16859 @endif shellutils
16861 .PHONY: maybe-clean-shellutils clean-shellutils
16862 maybe-clean-shellutils:
16863 @if shellutils
16864 maybe-clean-shellutils: clean-shellutils
16866 clean-shellutils:
16867 @[ -f ./shellutils/Makefile ] || exit 0; \
16868 r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16870 $(SET_LIB_PATH) \
16871 $(HOST_EXPORTS) \
16872 for flag in $(EXTRA_HOST_FLAGS); do \
16873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16874 done; \
16875 echo "Doing clean in shellutils" ; \
16876 (cd shellutils && \
16877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16879 "RANLIB=$${RANLIB}" \
16880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16881 clean) \
16882 || exit 1
16884 @endif shellutils
16886 .PHONY: maybe-distclean-shellutils distclean-shellutils
16887 maybe-distclean-shellutils:
16888 @if shellutils
16889 maybe-distclean-shellutils: distclean-shellutils
16891 distclean-shellutils:
16892 @[ -f ./shellutils/Makefile ] || exit 0; \
16893 r=`${PWD_COMMAND}`; export r; \
16894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16895 $(SET_LIB_PATH) \
16896 $(HOST_EXPORTS) \
16897 for flag in $(EXTRA_HOST_FLAGS); do \
16898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16899 done; \
16900 echo "Doing distclean in shellutils" ; \
16901 (cd shellutils && \
16902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16904 "RANLIB=$${RANLIB}" \
16905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16906 distclean) \
16907 || exit 1
16909 @endif shellutils
16911 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16912 maybe-maintainer-clean-shellutils:
16913 @if shellutils
16914 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
16916 maintainer-clean-shellutils:
16917 @[ -f ./shellutils/Makefile ] || exit 0; \
16918 r=`${PWD_COMMAND}`; export r; \
16919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16920 $(SET_LIB_PATH) \
16921 $(HOST_EXPORTS) \
16922 for flag in $(EXTRA_HOST_FLAGS); do \
16923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16924 done; \
16925 echo "Doing maintainer-clean in shellutils" ; \
16926 (cd shellutils && \
16927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16929 "RANLIB=$${RANLIB}" \
16930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16931 maintainer-clean) \
16932 || exit 1
16934 @endif shellutils
16937 .PHONY: configure-sid maybe-configure-sid
16938 maybe-configure-sid:
16939 @if sid
16940 maybe-configure-sid: configure-sid
16941 configure-sid:
16942 @test ! -f sid/Makefile || exit 0; \
16943 [ -d sid ] || mkdir sid; \
16944 r=`${PWD_COMMAND}`; export r; \
16945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16946 $(HOST_EXPORTS) \
16947 echo Configuring in sid; \
16948 cd sid || exit 1; \
16949 case $(srcdir) in \
16950 \.) \
16951 srcdiroption="--srcdir=."; \
16952 libsrcdir=".";; \
16953 /* | [A-Za-z]:[\\/]*) \
16954 srcdiroption="--srcdir=$(srcdir)/sid"; \
16955 libsrcdir="$$s/sid";; \
16956 *) \
16957 srcdiroption="--srcdir=../$(srcdir)/sid"; \
16958 libsrcdir="$$s/sid";; \
16959 esac; \
16960 $(SHELL) $${libsrcdir}/configure \
16961 $(HOST_CONFIGARGS) $${srcdiroption} \
16962 || exit 1
16963 @endif sid
16965 .PHONY: all-sid maybe-all-sid
16966 maybe-all-sid:
16967 @if sid
16968 maybe-all-sid: all-sid
16969 all-sid: configure-sid
16970 @r=`${PWD_COMMAND}`; export r; \
16971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 $(SET_LIB_PATH) \
16973 $(HOST_EXPORTS) \
16974 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
16975 @endif sid
16977 .PHONY: check-sid maybe-check-sid
16978 maybe-check-sid:
16979 @if sid
16980 maybe-check-sid: check-sid
16982 check-sid:
16983 @r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16985 $(SET_LIB_PATH) \
16986 $(HOST_EXPORTS) \
16987 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
16989 @endif sid
16991 .PHONY: install-sid maybe-install-sid
16992 maybe-install-sid:
16993 @if sid
16994 maybe-install-sid: install-sid
16996 install-sid: installdirs
16997 @r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 $(SET_LIB_PATH) \
17000 $(HOST_EXPORTS) \
17001 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17003 @endif sid
17005 # Other targets (info, dvi, etc.)
17007 .PHONY: maybe-info-sid info-sid
17008 maybe-info-sid:
17009 @if sid
17010 maybe-info-sid: info-sid
17012 info-sid: \
17013 configure-sid
17014 @[ -f ./sid/Makefile ] || exit 0; \
17015 r=`${PWD_COMMAND}`; export r; \
17016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17017 $(SET_LIB_PATH) \
17018 $(HOST_EXPORTS) \
17019 for flag in $(EXTRA_HOST_FLAGS); do \
17020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17021 done; \
17022 echo "Doing info in sid" ; \
17023 (cd sid && \
17024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17026 "RANLIB=$${RANLIB}" \
17027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17028 info) \
17029 || exit 1
17031 @endif sid
17033 .PHONY: maybe-dvi-sid dvi-sid
17034 maybe-dvi-sid:
17035 @if sid
17036 maybe-dvi-sid: dvi-sid
17038 dvi-sid: \
17039 configure-sid
17040 @[ -f ./sid/Makefile ] || exit 0; \
17041 r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17043 $(SET_LIB_PATH) \
17044 $(HOST_EXPORTS) \
17045 for flag in $(EXTRA_HOST_FLAGS); do \
17046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17047 done; \
17048 echo "Doing dvi in sid" ; \
17049 (cd sid && \
17050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17052 "RANLIB=$${RANLIB}" \
17053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17054 dvi) \
17055 || exit 1
17057 @endif sid
17059 .PHONY: maybe-TAGS-sid TAGS-sid
17060 maybe-TAGS-sid:
17061 @if sid
17062 maybe-TAGS-sid: TAGS-sid
17064 TAGS-sid: \
17065 configure-sid
17066 @[ -f ./sid/Makefile ] || exit 0; \
17067 r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(SET_LIB_PATH) \
17070 $(HOST_EXPORTS) \
17071 for flag in $(EXTRA_HOST_FLAGS); do \
17072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17073 done; \
17074 echo "Doing TAGS in sid" ; \
17075 (cd sid && \
17076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17078 "RANLIB=$${RANLIB}" \
17079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17080 TAGS) \
17081 || exit 1
17083 @endif sid
17085 .PHONY: maybe-install-info-sid install-info-sid
17086 maybe-install-info-sid:
17087 @if sid
17088 maybe-install-info-sid: install-info-sid
17090 install-info-sid: \
17091 configure-sid \
17092 info-sid
17093 @[ -f ./sid/Makefile ] || exit 0; \
17094 r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17096 $(SET_LIB_PATH) \
17097 $(HOST_EXPORTS) \
17098 for flag in $(EXTRA_HOST_FLAGS); do \
17099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17100 done; \
17101 echo "Doing install-info in sid" ; \
17102 (cd sid && \
17103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17105 "RANLIB=$${RANLIB}" \
17106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17107 install-info) \
17108 || exit 1
17110 @endif sid
17112 .PHONY: maybe-installcheck-sid installcheck-sid
17113 maybe-installcheck-sid:
17114 @if sid
17115 maybe-installcheck-sid: installcheck-sid
17117 installcheck-sid: \
17118 configure-sid
17119 @[ -f ./sid/Makefile ] || exit 0; \
17120 r=`${PWD_COMMAND}`; export r; \
17121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17122 $(SET_LIB_PATH) \
17123 $(HOST_EXPORTS) \
17124 for flag in $(EXTRA_HOST_FLAGS); do \
17125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17126 done; \
17127 echo "Doing installcheck in sid" ; \
17128 (cd sid && \
17129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17131 "RANLIB=$${RANLIB}" \
17132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17133 installcheck) \
17134 || exit 1
17136 @endif sid
17138 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17139 maybe-mostlyclean-sid:
17140 @if sid
17141 maybe-mostlyclean-sid: mostlyclean-sid
17143 mostlyclean-sid:
17144 @[ -f ./sid/Makefile ] || exit 0; \
17145 r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 $(SET_LIB_PATH) \
17148 $(HOST_EXPORTS) \
17149 for flag in $(EXTRA_HOST_FLAGS); do \
17150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17151 done; \
17152 echo "Doing mostlyclean in sid" ; \
17153 (cd sid && \
17154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17156 "RANLIB=$${RANLIB}" \
17157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17158 mostlyclean) \
17159 || exit 1
17161 @endif sid
17163 .PHONY: maybe-clean-sid clean-sid
17164 maybe-clean-sid:
17165 @if sid
17166 maybe-clean-sid: clean-sid
17168 clean-sid:
17169 @[ -f ./sid/Makefile ] || exit 0; \
17170 r=`${PWD_COMMAND}`; export r; \
17171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17172 $(SET_LIB_PATH) \
17173 $(HOST_EXPORTS) \
17174 for flag in $(EXTRA_HOST_FLAGS); do \
17175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17176 done; \
17177 echo "Doing clean in sid" ; \
17178 (cd sid && \
17179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17181 "RANLIB=$${RANLIB}" \
17182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17183 clean) \
17184 || exit 1
17186 @endif sid
17188 .PHONY: maybe-distclean-sid distclean-sid
17189 maybe-distclean-sid:
17190 @if sid
17191 maybe-distclean-sid: distclean-sid
17193 distclean-sid:
17194 @[ -f ./sid/Makefile ] || exit 0; \
17195 r=`${PWD_COMMAND}`; export r; \
17196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17197 $(SET_LIB_PATH) \
17198 $(HOST_EXPORTS) \
17199 for flag in $(EXTRA_HOST_FLAGS); do \
17200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17201 done; \
17202 echo "Doing distclean in sid" ; \
17203 (cd sid && \
17204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17206 "RANLIB=$${RANLIB}" \
17207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17208 distclean) \
17209 || exit 1
17211 @endif sid
17213 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17214 maybe-maintainer-clean-sid:
17215 @if sid
17216 maybe-maintainer-clean-sid: maintainer-clean-sid
17218 maintainer-clean-sid:
17219 @[ -f ./sid/Makefile ] || exit 0; \
17220 r=`${PWD_COMMAND}`; export r; \
17221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17222 $(SET_LIB_PATH) \
17223 $(HOST_EXPORTS) \
17224 for flag in $(EXTRA_HOST_FLAGS); do \
17225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17226 done; \
17227 echo "Doing maintainer-clean in sid" ; \
17228 (cd sid && \
17229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17231 "RANLIB=$${RANLIB}" \
17232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17233 maintainer-clean) \
17234 || exit 1
17236 @endif sid
17239 .PHONY: configure-sim maybe-configure-sim
17240 maybe-configure-sim:
17241 @if sim
17242 maybe-configure-sim: configure-sim
17243 configure-sim:
17244 @test ! -f sim/Makefile || exit 0; \
17245 [ -d sim ] || mkdir sim; \
17246 r=`${PWD_COMMAND}`; export r; \
17247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17248 $(HOST_EXPORTS) \
17249 echo Configuring in sim; \
17250 cd sim || exit 1; \
17251 case $(srcdir) in \
17252 \.) \
17253 srcdiroption="--srcdir=."; \
17254 libsrcdir=".";; \
17255 /* | [A-Za-z]:[\\/]*) \
17256 srcdiroption="--srcdir=$(srcdir)/sim"; \
17257 libsrcdir="$$s/sim";; \
17258 *) \
17259 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17260 libsrcdir="$$s/sim";; \
17261 esac; \
17262 $(SHELL) $${libsrcdir}/configure \
17263 $(HOST_CONFIGARGS) $${srcdiroption} \
17264 || exit 1
17265 @endif sim
17267 .PHONY: all-sim maybe-all-sim
17268 maybe-all-sim:
17269 @if sim
17270 maybe-all-sim: all-sim
17271 all-sim: configure-sim
17272 @r=`${PWD_COMMAND}`; export r; \
17273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17274 $(SET_LIB_PATH) \
17275 $(HOST_EXPORTS) \
17276 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17277 @endif sim
17279 .PHONY: check-sim maybe-check-sim
17280 maybe-check-sim:
17281 @if sim
17282 maybe-check-sim: check-sim
17284 check-sim:
17285 @r=`${PWD_COMMAND}`; export r; \
17286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17287 $(SET_LIB_PATH) \
17288 $(HOST_EXPORTS) \
17289 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17291 @endif sim
17293 .PHONY: install-sim maybe-install-sim
17294 maybe-install-sim:
17295 @if sim
17296 maybe-install-sim: install-sim
17298 install-sim: installdirs
17299 @r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 $(SET_LIB_PATH) \
17302 $(HOST_EXPORTS) \
17303 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17305 @endif sim
17307 # Other targets (info, dvi, etc.)
17309 .PHONY: maybe-info-sim info-sim
17310 maybe-info-sim:
17311 @if sim
17312 maybe-info-sim: info-sim
17314 info-sim: \
17315 configure-sim
17316 @[ -f ./sim/Makefile ] || exit 0; \
17317 r=`${PWD_COMMAND}`; export r; \
17318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17319 $(SET_LIB_PATH) \
17320 $(HOST_EXPORTS) \
17321 for flag in $(EXTRA_HOST_FLAGS); do \
17322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17323 done; \
17324 echo "Doing info in sim" ; \
17325 (cd sim && \
17326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17328 "RANLIB=$${RANLIB}" \
17329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17330 info) \
17331 || exit 1
17333 @endif sim
17335 .PHONY: maybe-dvi-sim dvi-sim
17336 maybe-dvi-sim:
17337 @if sim
17338 maybe-dvi-sim: dvi-sim
17340 dvi-sim: \
17341 configure-sim
17342 @[ -f ./sim/Makefile ] || exit 0; \
17343 r=`${PWD_COMMAND}`; export r; \
17344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17345 $(SET_LIB_PATH) \
17346 $(HOST_EXPORTS) \
17347 for flag in $(EXTRA_HOST_FLAGS); do \
17348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17349 done; \
17350 echo "Doing dvi in sim" ; \
17351 (cd sim && \
17352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17354 "RANLIB=$${RANLIB}" \
17355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17356 dvi) \
17357 || exit 1
17359 @endif sim
17361 .PHONY: maybe-TAGS-sim TAGS-sim
17362 maybe-TAGS-sim:
17363 @if sim
17364 maybe-TAGS-sim: TAGS-sim
17366 TAGS-sim: \
17367 configure-sim
17368 @[ -f ./sim/Makefile ] || exit 0; \
17369 r=`${PWD_COMMAND}`; export r; \
17370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17371 $(SET_LIB_PATH) \
17372 $(HOST_EXPORTS) \
17373 for flag in $(EXTRA_HOST_FLAGS); do \
17374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17375 done; \
17376 echo "Doing TAGS in sim" ; \
17377 (cd sim && \
17378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17380 "RANLIB=$${RANLIB}" \
17381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17382 TAGS) \
17383 || exit 1
17385 @endif sim
17387 .PHONY: maybe-install-info-sim install-info-sim
17388 maybe-install-info-sim:
17389 @if sim
17390 maybe-install-info-sim: install-info-sim
17392 install-info-sim: \
17393 configure-sim \
17394 info-sim
17395 @[ -f ./sim/Makefile ] || exit 0; \
17396 r=`${PWD_COMMAND}`; export r; \
17397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17398 $(SET_LIB_PATH) \
17399 $(HOST_EXPORTS) \
17400 for flag in $(EXTRA_HOST_FLAGS); do \
17401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17402 done; \
17403 echo "Doing install-info in sim" ; \
17404 (cd sim && \
17405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17407 "RANLIB=$${RANLIB}" \
17408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17409 install-info) \
17410 || exit 1
17412 @endif sim
17414 .PHONY: maybe-installcheck-sim installcheck-sim
17415 maybe-installcheck-sim:
17416 @if sim
17417 maybe-installcheck-sim: installcheck-sim
17419 installcheck-sim: \
17420 configure-sim
17421 @[ -f ./sim/Makefile ] || exit 0; \
17422 r=`${PWD_COMMAND}`; export r; \
17423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17424 $(SET_LIB_PATH) \
17425 $(HOST_EXPORTS) \
17426 for flag in $(EXTRA_HOST_FLAGS); do \
17427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17428 done; \
17429 echo "Doing installcheck in sim" ; \
17430 (cd sim && \
17431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17433 "RANLIB=$${RANLIB}" \
17434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17435 installcheck) \
17436 || exit 1
17438 @endif sim
17440 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17441 maybe-mostlyclean-sim:
17442 @if sim
17443 maybe-mostlyclean-sim: mostlyclean-sim
17445 mostlyclean-sim:
17446 @[ -f ./sim/Makefile ] || exit 0; \
17447 r=`${PWD_COMMAND}`; export r; \
17448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17449 $(SET_LIB_PATH) \
17450 $(HOST_EXPORTS) \
17451 for flag in $(EXTRA_HOST_FLAGS); do \
17452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17453 done; \
17454 echo "Doing mostlyclean in sim" ; \
17455 (cd sim && \
17456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17458 "RANLIB=$${RANLIB}" \
17459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17460 mostlyclean) \
17461 || exit 1
17463 @endif sim
17465 .PHONY: maybe-clean-sim clean-sim
17466 maybe-clean-sim:
17467 @if sim
17468 maybe-clean-sim: clean-sim
17470 clean-sim:
17471 @[ -f ./sim/Makefile ] || exit 0; \
17472 r=`${PWD_COMMAND}`; export r; \
17473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17474 $(SET_LIB_PATH) \
17475 $(HOST_EXPORTS) \
17476 for flag in $(EXTRA_HOST_FLAGS); do \
17477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17478 done; \
17479 echo "Doing clean in sim" ; \
17480 (cd sim && \
17481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17483 "RANLIB=$${RANLIB}" \
17484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17485 clean) \
17486 || exit 1
17488 @endif sim
17490 .PHONY: maybe-distclean-sim distclean-sim
17491 maybe-distclean-sim:
17492 @if sim
17493 maybe-distclean-sim: distclean-sim
17495 distclean-sim:
17496 @[ -f ./sim/Makefile ] || exit 0; \
17497 r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(SET_LIB_PATH) \
17500 $(HOST_EXPORTS) \
17501 for flag in $(EXTRA_HOST_FLAGS); do \
17502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17503 done; \
17504 echo "Doing distclean in sim" ; \
17505 (cd sim && \
17506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17508 "RANLIB=$${RANLIB}" \
17509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17510 distclean) \
17511 || exit 1
17513 @endif sim
17515 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17516 maybe-maintainer-clean-sim:
17517 @if sim
17518 maybe-maintainer-clean-sim: maintainer-clean-sim
17520 maintainer-clean-sim:
17521 @[ -f ./sim/Makefile ] || exit 0; \
17522 r=`${PWD_COMMAND}`; export r; \
17523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 $(SET_LIB_PATH) \
17525 $(HOST_EXPORTS) \
17526 for flag in $(EXTRA_HOST_FLAGS); do \
17527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17528 done; \
17529 echo "Doing maintainer-clean in sim" ; \
17530 (cd sim && \
17531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17533 "RANLIB=$${RANLIB}" \
17534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17535 maintainer-clean) \
17536 || exit 1
17538 @endif sim
17541 .PHONY: configure-tar maybe-configure-tar
17542 maybe-configure-tar:
17543 @if tar
17544 maybe-configure-tar: configure-tar
17545 configure-tar:
17546 @test ! -f tar/Makefile || exit 0; \
17547 [ -d tar ] || mkdir tar; \
17548 r=`${PWD_COMMAND}`; export r; \
17549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 $(HOST_EXPORTS) \
17551 echo Configuring in tar; \
17552 cd tar || exit 1; \
17553 case $(srcdir) in \
17554 \.) \
17555 srcdiroption="--srcdir=."; \
17556 libsrcdir=".";; \
17557 /* | [A-Za-z]:[\\/]*) \
17558 srcdiroption="--srcdir=$(srcdir)/tar"; \
17559 libsrcdir="$$s/tar";; \
17560 *) \
17561 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17562 libsrcdir="$$s/tar";; \
17563 esac; \
17564 $(SHELL) $${libsrcdir}/configure \
17565 $(HOST_CONFIGARGS) $${srcdiroption} \
17566 || exit 1
17567 @endif tar
17569 .PHONY: all-tar maybe-all-tar
17570 maybe-all-tar:
17571 @if tar
17572 maybe-all-tar: all-tar
17573 all-tar: configure-tar
17574 @r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(SET_LIB_PATH) \
17577 $(HOST_EXPORTS) \
17578 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17579 @endif tar
17581 .PHONY: check-tar maybe-check-tar
17582 maybe-check-tar:
17583 @if tar
17584 maybe-check-tar: check-tar
17586 check-tar:
17587 @r=`${PWD_COMMAND}`; export r; \
17588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17589 $(SET_LIB_PATH) \
17590 $(HOST_EXPORTS) \
17591 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17593 @endif tar
17595 .PHONY: install-tar maybe-install-tar
17596 maybe-install-tar:
17597 @if tar
17598 maybe-install-tar: install-tar
17600 install-tar: installdirs
17601 @r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(SET_LIB_PATH) \
17604 $(HOST_EXPORTS) \
17605 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17607 @endif tar
17609 # Other targets (info, dvi, etc.)
17611 .PHONY: maybe-info-tar info-tar
17612 maybe-info-tar:
17613 @if tar
17614 maybe-info-tar: info-tar
17616 info-tar: \
17617 configure-tar
17618 @[ -f ./tar/Makefile ] || exit 0; \
17619 r=`${PWD_COMMAND}`; export r; \
17620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17621 $(SET_LIB_PATH) \
17622 $(HOST_EXPORTS) \
17623 for flag in $(EXTRA_HOST_FLAGS); do \
17624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17625 done; \
17626 echo "Doing info in tar" ; \
17627 (cd tar && \
17628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17630 "RANLIB=$${RANLIB}" \
17631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17632 info) \
17633 || exit 1
17635 @endif tar
17637 .PHONY: maybe-dvi-tar dvi-tar
17638 maybe-dvi-tar:
17639 @if tar
17640 maybe-dvi-tar: dvi-tar
17642 dvi-tar: \
17643 configure-tar
17644 @[ -f ./tar/Makefile ] || exit 0; \
17645 r=`${PWD_COMMAND}`; export r; \
17646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17647 $(SET_LIB_PATH) \
17648 $(HOST_EXPORTS) \
17649 for flag in $(EXTRA_HOST_FLAGS); do \
17650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17651 done; \
17652 echo "Doing dvi in tar" ; \
17653 (cd tar && \
17654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656 "RANLIB=$${RANLIB}" \
17657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17658 dvi) \
17659 || exit 1
17661 @endif tar
17663 .PHONY: maybe-TAGS-tar TAGS-tar
17664 maybe-TAGS-tar:
17665 @if tar
17666 maybe-TAGS-tar: TAGS-tar
17668 TAGS-tar: \
17669 configure-tar
17670 @[ -f ./tar/Makefile ] || exit 0; \
17671 r=`${PWD_COMMAND}`; export r; \
17672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17673 $(SET_LIB_PATH) \
17674 $(HOST_EXPORTS) \
17675 for flag in $(EXTRA_HOST_FLAGS); do \
17676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17677 done; \
17678 echo "Doing TAGS in tar" ; \
17679 (cd tar && \
17680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17682 "RANLIB=$${RANLIB}" \
17683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17684 TAGS) \
17685 || exit 1
17687 @endif tar
17689 .PHONY: maybe-install-info-tar install-info-tar
17690 maybe-install-info-tar:
17691 @if tar
17692 maybe-install-info-tar: install-info-tar
17694 install-info-tar: \
17695 configure-tar \
17696 info-tar
17697 @[ -f ./tar/Makefile ] || exit 0; \
17698 r=`${PWD_COMMAND}`; export r; \
17699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17700 $(SET_LIB_PATH) \
17701 $(HOST_EXPORTS) \
17702 for flag in $(EXTRA_HOST_FLAGS); do \
17703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17704 done; \
17705 echo "Doing install-info in tar" ; \
17706 (cd tar && \
17707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17709 "RANLIB=$${RANLIB}" \
17710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17711 install-info) \
17712 || exit 1
17714 @endif tar
17716 .PHONY: maybe-installcheck-tar installcheck-tar
17717 maybe-installcheck-tar:
17718 @if tar
17719 maybe-installcheck-tar: installcheck-tar
17721 installcheck-tar: \
17722 configure-tar
17723 @[ -f ./tar/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(SET_LIB_PATH) \
17727 $(HOST_EXPORTS) \
17728 for flag in $(EXTRA_HOST_FLAGS); do \
17729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17730 done; \
17731 echo "Doing installcheck in tar" ; \
17732 (cd tar && \
17733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17735 "RANLIB=$${RANLIB}" \
17736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17737 installcheck) \
17738 || exit 1
17740 @endif tar
17742 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
17743 maybe-mostlyclean-tar:
17744 @if tar
17745 maybe-mostlyclean-tar: mostlyclean-tar
17747 mostlyclean-tar:
17748 @[ -f ./tar/Makefile ] || exit 0; \
17749 r=`${PWD_COMMAND}`; export r; \
17750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17751 $(SET_LIB_PATH) \
17752 $(HOST_EXPORTS) \
17753 for flag in $(EXTRA_HOST_FLAGS); do \
17754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17755 done; \
17756 echo "Doing mostlyclean in tar" ; \
17757 (cd tar && \
17758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17760 "RANLIB=$${RANLIB}" \
17761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17762 mostlyclean) \
17763 || exit 1
17765 @endif tar
17767 .PHONY: maybe-clean-tar clean-tar
17768 maybe-clean-tar:
17769 @if tar
17770 maybe-clean-tar: clean-tar
17772 clean-tar:
17773 @[ -f ./tar/Makefile ] || exit 0; \
17774 r=`${PWD_COMMAND}`; export r; \
17775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 $(SET_LIB_PATH) \
17777 $(HOST_EXPORTS) \
17778 for flag in $(EXTRA_HOST_FLAGS); do \
17779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17780 done; \
17781 echo "Doing clean in tar" ; \
17782 (cd tar && \
17783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17785 "RANLIB=$${RANLIB}" \
17786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17787 clean) \
17788 || exit 1
17790 @endif tar
17792 .PHONY: maybe-distclean-tar distclean-tar
17793 maybe-distclean-tar:
17794 @if tar
17795 maybe-distclean-tar: distclean-tar
17797 distclean-tar:
17798 @[ -f ./tar/Makefile ] || exit 0; \
17799 r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(SET_LIB_PATH) \
17802 $(HOST_EXPORTS) \
17803 for flag in $(EXTRA_HOST_FLAGS); do \
17804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17805 done; \
17806 echo "Doing distclean in tar" ; \
17807 (cd tar && \
17808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17810 "RANLIB=$${RANLIB}" \
17811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17812 distclean) \
17813 || exit 1
17815 @endif tar
17817 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
17818 maybe-maintainer-clean-tar:
17819 @if tar
17820 maybe-maintainer-clean-tar: maintainer-clean-tar
17822 maintainer-clean-tar:
17823 @[ -f ./tar/Makefile ] || exit 0; \
17824 r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 $(SET_LIB_PATH) \
17827 $(HOST_EXPORTS) \
17828 for flag in $(EXTRA_HOST_FLAGS); do \
17829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17830 done; \
17831 echo "Doing maintainer-clean in tar" ; \
17832 (cd tar && \
17833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17835 "RANLIB=$${RANLIB}" \
17836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17837 maintainer-clean) \
17838 || exit 1
17840 @endif tar
17843 .PHONY: configure-texinfo maybe-configure-texinfo
17844 maybe-configure-texinfo:
17845 @if texinfo
17846 maybe-configure-texinfo: configure-texinfo
17847 configure-texinfo:
17848 @test ! -f texinfo/Makefile || exit 0; \
17849 [ -d texinfo ] || mkdir texinfo; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(HOST_EXPORTS) \
17853 echo Configuring in texinfo; \
17854 cd texinfo || exit 1; \
17855 case $(srcdir) in \
17856 \.) \
17857 srcdiroption="--srcdir=."; \
17858 libsrcdir=".";; \
17859 /* | [A-Za-z]:[\\/]*) \
17860 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
17861 libsrcdir="$$s/texinfo";; \
17862 *) \
17863 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
17864 libsrcdir="$$s/texinfo";; \
17865 esac; \
17866 $(SHELL) $${libsrcdir}/configure \
17867 $(HOST_CONFIGARGS) $${srcdiroption} \
17868 || exit 1
17869 @endif texinfo
17871 .PHONY: all-texinfo maybe-all-texinfo
17872 maybe-all-texinfo:
17873 @if texinfo
17874 maybe-all-texinfo: all-texinfo
17875 all-texinfo: configure-texinfo
17876 @r=`${PWD_COMMAND}`; export r; \
17877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17878 $(SET_LIB_PATH) \
17879 $(HOST_EXPORTS) \
17880 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
17881 @endif texinfo
17883 .PHONY: check-texinfo maybe-check-texinfo
17884 maybe-check-texinfo:
17885 @if texinfo
17886 maybe-check-texinfo: check-texinfo
17888 check-texinfo:
17889 @r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891 $(SET_LIB_PATH) \
17892 $(HOST_EXPORTS) \
17893 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
17895 @endif texinfo
17897 .PHONY: install-texinfo maybe-install-texinfo
17898 maybe-install-texinfo:
17899 @if texinfo
17900 maybe-install-texinfo: install-texinfo
17902 install-texinfo:
17904 @endif texinfo
17906 # Other targets (info, dvi, etc.)
17908 .PHONY: maybe-info-texinfo info-texinfo
17909 maybe-info-texinfo:
17910 @if texinfo
17911 maybe-info-texinfo: info-texinfo
17913 info-texinfo: \
17914 configure-texinfo
17915 @[ -f ./texinfo/Makefile ] || exit 0; \
17916 r=`${PWD_COMMAND}`; export r; \
17917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 $(SET_LIB_PATH) \
17919 $(HOST_EXPORTS) \
17920 for flag in $(EXTRA_HOST_FLAGS); do \
17921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17922 done; \
17923 echo "Doing info in texinfo" ; \
17924 (cd texinfo && \
17925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17927 "RANLIB=$${RANLIB}" \
17928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17929 info) \
17930 || exit 1
17932 @endif texinfo
17934 .PHONY: maybe-dvi-texinfo dvi-texinfo
17935 maybe-dvi-texinfo:
17936 @if texinfo
17937 maybe-dvi-texinfo: dvi-texinfo
17939 dvi-texinfo: \
17940 configure-texinfo
17941 @[ -f ./texinfo/Makefile ] || exit 0; \
17942 r=`${PWD_COMMAND}`; export r; \
17943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17944 $(SET_LIB_PATH) \
17945 $(HOST_EXPORTS) \
17946 for flag in $(EXTRA_HOST_FLAGS); do \
17947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17948 done; \
17949 echo "Doing dvi in texinfo" ; \
17950 (cd texinfo && \
17951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17953 "RANLIB=$${RANLIB}" \
17954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17955 dvi) \
17956 || exit 1
17958 @endif texinfo
17960 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
17961 maybe-TAGS-texinfo:
17962 @if texinfo
17963 maybe-TAGS-texinfo: TAGS-texinfo
17965 TAGS-texinfo: \
17966 configure-texinfo
17967 @[ -f ./texinfo/Makefile ] || exit 0; \
17968 r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970 $(SET_LIB_PATH) \
17971 $(HOST_EXPORTS) \
17972 for flag in $(EXTRA_HOST_FLAGS); do \
17973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17974 done; \
17975 echo "Doing TAGS in texinfo" ; \
17976 (cd texinfo && \
17977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17979 "RANLIB=$${RANLIB}" \
17980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17981 TAGS) \
17982 || exit 1
17984 @endif texinfo
17986 .PHONY: maybe-install-info-texinfo install-info-texinfo
17987 maybe-install-info-texinfo:
17988 @if texinfo
17989 maybe-install-info-texinfo: install-info-texinfo
17991 install-info-texinfo: \
17992 configure-texinfo \
17993 info-texinfo
17994 @[ -f ./texinfo/Makefile ] || exit 0; \
17995 r=`${PWD_COMMAND}`; export r; \
17996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17997 $(SET_LIB_PATH) \
17998 $(HOST_EXPORTS) \
17999 for flag in $(EXTRA_HOST_FLAGS); do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 done; \
18002 echo "Doing install-info in texinfo" ; \
18003 (cd texinfo && \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008 install-info) \
18009 || exit 1
18011 @endif texinfo
18013 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18014 maybe-installcheck-texinfo:
18015 @if texinfo
18016 maybe-installcheck-texinfo: installcheck-texinfo
18018 installcheck-texinfo: \
18019 configure-texinfo
18020 @[ -f ./texinfo/Makefile ] || exit 0; \
18021 r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 $(SET_LIB_PATH) \
18024 $(HOST_EXPORTS) \
18025 for flag in $(EXTRA_HOST_FLAGS); do \
18026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18027 done; \
18028 echo "Doing installcheck in texinfo" ; \
18029 (cd texinfo && \
18030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18032 "RANLIB=$${RANLIB}" \
18033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18034 installcheck) \
18035 || exit 1
18037 @endif texinfo
18039 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18040 maybe-mostlyclean-texinfo:
18041 @if texinfo
18042 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18044 mostlyclean-texinfo:
18045 @[ -f ./texinfo/Makefile ] || exit 0; \
18046 r=`${PWD_COMMAND}`; export r; \
18047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18048 $(SET_LIB_PATH) \
18049 $(HOST_EXPORTS) \
18050 for flag in $(EXTRA_HOST_FLAGS); do \
18051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18052 done; \
18053 echo "Doing mostlyclean in texinfo" ; \
18054 (cd texinfo && \
18055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18057 "RANLIB=$${RANLIB}" \
18058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18059 mostlyclean) \
18060 || exit 1
18062 @endif texinfo
18064 .PHONY: maybe-clean-texinfo clean-texinfo
18065 maybe-clean-texinfo:
18066 @if texinfo
18067 maybe-clean-texinfo: clean-texinfo
18069 clean-texinfo:
18070 @[ -f ./texinfo/Makefile ] || exit 0; \
18071 r=`${PWD_COMMAND}`; export r; \
18072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18073 $(SET_LIB_PATH) \
18074 $(HOST_EXPORTS) \
18075 for flag in $(EXTRA_HOST_FLAGS); do \
18076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18077 done; \
18078 echo "Doing clean in texinfo" ; \
18079 (cd texinfo && \
18080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18082 "RANLIB=$${RANLIB}" \
18083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18084 clean) \
18085 || exit 1
18087 @endif texinfo
18089 .PHONY: maybe-distclean-texinfo distclean-texinfo
18090 maybe-distclean-texinfo:
18091 @if texinfo
18092 maybe-distclean-texinfo: distclean-texinfo
18094 distclean-texinfo:
18095 @[ -f ./texinfo/Makefile ] || exit 0; \
18096 r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(SET_LIB_PATH) \
18099 $(HOST_EXPORTS) \
18100 for flag in $(EXTRA_HOST_FLAGS); do \
18101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18102 done; \
18103 echo "Doing distclean in texinfo" ; \
18104 (cd texinfo && \
18105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18107 "RANLIB=$${RANLIB}" \
18108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18109 distclean) \
18110 || exit 1
18112 @endif texinfo
18114 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18115 maybe-maintainer-clean-texinfo:
18116 @if texinfo
18117 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18119 maintainer-clean-texinfo:
18120 @[ -f ./texinfo/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 $(SET_LIB_PATH) \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS); do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing maintainer-clean in texinfo" ; \
18129 (cd texinfo && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 maintainer-clean) \
18135 || exit 1
18137 @endif texinfo
18140 .PHONY: configure-textutils maybe-configure-textutils
18141 maybe-configure-textutils:
18142 @if textutils
18143 maybe-configure-textutils: configure-textutils
18144 configure-textutils:
18145 @test ! -f textutils/Makefile || exit 0; \
18146 [ -d textutils ] || mkdir textutils; \
18147 r=`${PWD_COMMAND}`; export r; \
18148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18149 $(HOST_EXPORTS) \
18150 echo Configuring in textutils; \
18151 cd textutils || exit 1; \
18152 case $(srcdir) in \
18153 \.) \
18154 srcdiroption="--srcdir=."; \
18155 libsrcdir=".";; \
18156 /* | [A-Za-z]:[\\/]*) \
18157 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18158 libsrcdir="$$s/textutils";; \
18159 *) \
18160 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18161 libsrcdir="$$s/textutils";; \
18162 esac; \
18163 $(SHELL) $${libsrcdir}/configure \
18164 $(HOST_CONFIGARGS) $${srcdiroption} \
18165 || exit 1
18166 @endif textutils
18168 .PHONY: all-textutils maybe-all-textutils
18169 maybe-all-textutils:
18170 @if textutils
18171 maybe-all-textutils: all-textutils
18172 all-textutils: configure-textutils
18173 @r=`${PWD_COMMAND}`; export r; \
18174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18175 $(SET_LIB_PATH) \
18176 $(HOST_EXPORTS) \
18177 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18178 @endif textutils
18180 .PHONY: check-textutils maybe-check-textutils
18181 maybe-check-textutils:
18182 @if textutils
18183 maybe-check-textutils: check-textutils
18185 check-textutils:
18186 @r=`${PWD_COMMAND}`; export r; \
18187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18188 $(SET_LIB_PATH) \
18189 $(HOST_EXPORTS) \
18190 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18192 @endif textutils
18194 .PHONY: install-textutils maybe-install-textutils
18195 maybe-install-textutils:
18196 @if textutils
18197 maybe-install-textutils: install-textutils
18199 install-textutils: installdirs
18200 @r=`${PWD_COMMAND}`; export r; \
18201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18202 $(SET_LIB_PATH) \
18203 $(HOST_EXPORTS) \
18204 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18206 @endif textutils
18208 # Other targets (info, dvi, etc.)
18210 .PHONY: maybe-info-textutils info-textutils
18211 maybe-info-textutils:
18212 @if textutils
18213 maybe-info-textutils: info-textutils
18215 info-textutils: \
18216 configure-textutils
18217 @[ -f ./textutils/Makefile ] || exit 0; \
18218 r=`${PWD_COMMAND}`; export r; \
18219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18220 $(SET_LIB_PATH) \
18221 $(HOST_EXPORTS) \
18222 for flag in $(EXTRA_HOST_FLAGS); do \
18223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18224 done; \
18225 echo "Doing info in textutils" ; \
18226 (cd textutils && \
18227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18229 "RANLIB=$${RANLIB}" \
18230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18231 info) \
18232 || exit 1
18234 @endif textutils
18236 .PHONY: maybe-dvi-textutils dvi-textutils
18237 maybe-dvi-textutils:
18238 @if textutils
18239 maybe-dvi-textutils: dvi-textutils
18241 dvi-textutils: \
18242 configure-textutils
18243 @[ -f ./textutils/Makefile ] || exit 0; \
18244 r=`${PWD_COMMAND}`; export r; \
18245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18246 $(SET_LIB_PATH) \
18247 $(HOST_EXPORTS) \
18248 for flag in $(EXTRA_HOST_FLAGS); do \
18249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18250 done; \
18251 echo "Doing dvi in textutils" ; \
18252 (cd textutils && \
18253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18255 "RANLIB=$${RANLIB}" \
18256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18257 dvi) \
18258 || exit 1
18260 @endif textutils
18262 .PHONY: maybe-TAGS-textutils TAGS-textutils
18263 maybe-TAGS-textutils:
18264 @if textutils
18265 maybe-TAGS-textutils: TAGS-textutils
18267 TAGS-textutils: \
18268 configure-textutils
18269 @[ -f ./textutils/Makefile ] || exit 0; \
18270 r=`${PWD_COMMAND}`; export r; \
18271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18272 $(SET_LIB_PATH) \
18273 $(HOST_EXPORTS) \
18274 for flag in $(EXTRA_HOST_FLAGS); do \
18275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18276 done; \
18277 echo "Doing TAGS in textutils" ; \
18278 (cd textutils && \
18279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18281 "RANLIB=$${RANLIB}" \
18282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18283 TAGS) \
18284 || exit 1
18286 @endif textutils
18288 .PHONY: maybe-install-info-textutils install-info-textutils
18289 maybe-install-info-textutils:
18290 @if textutils
18291 maybe-install-info-textutils: install-info-textutils
18293 install-info-textutils: \
18294 configure-textutils \
18295 info-textutils
18296 @[ -f ./textutils/Makefile ] || exit 0; \
18297 r=`${PWD_COMMAND}`; export r; \
18298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18299 $(SET_LIB_PATH) \
18300 $(HOST_EXPORTS) \
18301 for flag in $(EXTRA_HOST_FLAGS); do \
18302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18303 done; \
18304 echo "Doing install-info in textutils" ; \
18305 (cd textutils && \
18306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18308 "RANLIB=$${RANLIB}" \
18309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18310 install-info) \
18311 || exit 1
18313 @endif textutils
18315 .PHONY: maybe-installcheck-textutils installcheck-textutils
18316 maybe-installcheck-textutils:
18317 @if textutils
18318 maybe-installcheck-textutils: installcheck-textutils
18320 installcheck-textutils: \
18321 configure-textutils
18322 @[ -f ./textutils/Makefile ] || exit 0; \
18323 r=`${PWD_COMMAND}`; export r; \
18324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18325 $(SET_LIB_PATH) \
18326 $(HOST_EXPORTS) \
18327 for flag in $(EXTRA_HOST_FLAGS); do \
18328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18329 done; \
18330 echo "Doing installcheck in textutils" ; \
18331 (cd textutils && \
18332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18334 "RANLIB=$${RANLIB}" \
18335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18336 installcheck) \
18337 || exit 1
18339 @endif textutils
18341 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18342 maybe-mostlyclean-textutils:
18343 @if textutils
18344 maybe-mostlyclean-textutils: mostlyclean-textutils
18346 mostlyclean-textutils:
18347 @[ -f ./textutils/Makefile ] || exit 0; \
18348 r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 $(SET_LIB_PATH) \
18351 $(HOST_EXPORTS) \
18352 for flag in $(EXTRA_HOST_FLAGS); do \
18353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18354 done; \
18355 echo "Doing mostlyclean in textutils" ; \
18356 (cd textutils && \
18357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18359 "RANLIB=$${RANLIB}" \
18360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18361 mostlyclean) \
18362 || exit 1
18364 @endif textutils
18366 .PHONY: maybe-clean-textutils clean-textutils
18367 maybe-clean-textutils:
18368 @if textutils
18369 maybe-clean-textutils: clean-textutils
18371 clean-textutils:
18372 @[ -f ./textutils/Makefile ] || exit 0; \
18373 r=`${PWD_COMMAND}`; export r; \
18374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18375 $(SET_LIB_PATH) \
18376 $(HOST_EXPORTS) \
18377 for flag in $(EXTRA_HOST_FLAGS); do \
18378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18379 done; \
18380 echo "Doing clean in textutils" ; \
18381 (cd textutils && \
18382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18384 "RANLIB=$${RANLIB}" \
18385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18386 clean) \
18387 || exit 1
18389 @endif textutils
18391 .PHONY: maybe-distclean-textutils distclean-textutils
18392 maybe-distclean-textutils:
18393 @if textutils
18394 maybe-distclean-textutils: distclean-textutils
18396 distclean-textutils:
18397 @[ -f ./textutils/Makefile ] || exit 0; \
18398 r=`${PWD_COMMAND}`; export r; \
18399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18400 $(SET_LIB_PATH) \
18401 $(HOST_EXPORTS) \
18402 for flag in $(EXTRA_HOST_FLAGS); do \
18403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18404 done; \
18405 echo "Doing distclean in textutils" ; \
18406 (cd textutils && \
18407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18409 "RANLIB=$${RANLIB}" \
18410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18411 distclean) \
18412 || exit 1
18414 @endif textutils
18416 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18417 maybe-maintainer-clean-textutils:
18418 @if textutils
18419 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18421 maintainer-clean-textutils:
18422 @[ -f ./textutils/Makefile ] || exit 0; \
18423 r=`${PWD_COMMAND}`; export r; \
18424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18425 $(SET_LIB_PATH) \
18426 $(HOST_EXPORTS) \
18427 for flag in $(EXTRA_HOST_FLAGS); do \
18428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18429 done; \
18430 echo "Doing maintainer-clean in textutils" ; \
18431 (cd textutils && \
18432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18434 "RANLIB=$${RANLIB}" \
18435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18436 maintainer-clean) \
18437 || exit 1
18439 @endif textutils
18442 .PHONY: configure-time maybe-configure-time
18443 maybe-configure-time:
18444 @if time
18445 maybe-configure-time: configure-time
18446 configure-time:
18447 @test ! -f time/Makefile || exit 0; \
18448 [ -d time ] || mkdir time; \
18449 r=`${PWD_COMMAND}`; export r; \
18450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18451 $(HOST_EXPORTS) \
18452 echo Configuring in time; \
18453 cd time || exit 1; \
18454 case $(srcdir) in \
18455 \.) \
18456 srcdiroption="--srcdir=."; \
18457 libsrcdir=".";; \
18458 /* | [A-Za-z]:[\\/]*) \
18459 srcdiroption="--srcdir=$(srcdir)/time"; \
18460 libsrcdir="$$s/time";; \
18461 *) \
18462 srcdiroption="--srcdir=../$(srcdir)/time"; \
18463 libsrcdir="$$s/time";; \
18464 esac; \
18465 $(SHELL) $${libsrcdir}/configure \
18466 $(HOST_CONFIGARGS) $${srcdiroption} \
18467 || exit 1
18468 @endif time
18470 .PHONY: all-time maybe-all-time
18471 maybe-all-time:
18472 @if time
18473 maybe-all-time: all-time
18474 all-time: configure-time
18475 @r=`${PWD_COMMAND}`; export r; \
18476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 $(SET_LIB_PATH) \
18478 $(HOST_EXPORTS) \
18479 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18480 @endif time
18482 .PHONY: check-time maybe-check-time
18483 maybe-check-time:
18484 @if time
18485 maybe-check-time: check-time
18487 check-time:
18488 @r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18490 $(SET_LIB_PATH) \
18491 $(HOST_EXPORTS) \
18492 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18494 @endif time
18496 .PHONY: install-time maybe-install-time
18497 maybe-install-time:
18498 @if time
18499 maybe-install-time: install-time
18501 install-time: installdirs
18502 @r=`${PWD_COMMAND}`; export r; \
18503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18504 $(SET_LIB_PATH) \
18505 $(HOST_EXPORTS) \
18506 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18508 @endif time
18510 # Other targets (info, dvi, etc.)
18512 .PHONY: maybe-info-time info-time
18513 maybe-info-time:
18514 @if time
18515 maybe-info-time: info-time
18517 info-time: \
18518 configure-time
18519 @[ -f ./time/Makefile ] || exit 0; \
18520 r=`${PWD_COMMAND}`; export r; \
18521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18522 $(SET_LIB_PATH) \
18523 $(HOST_EXPORTS) \
18524 for flag in $(EXTRA_HOST_FLAGS); do \
18525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18526 done; \
18527 echo "Doing info in time" ; \
18528 (cd time && \
18529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18531 "RANLIB=$${RANLIB}" \
18532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18533 info) \
18534 || exit 1
18536 @endif time
18538 .PHONY: maybe-dvi-time dvi-time
18539 maybe-dvi-time:
18540 @if time
18541 maybe-dvi-time: dvi-time
18543 dvi-time: \
18544 configure-time
18545 @[ -f ./time/Makefile ] || exit 0; \
18546 r=`${PWD_COMMAND}`; export r; \
18547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18548 $(SET_LIB_PATH) \
18549 $(HOST_EXPORTS) \
18550 for flag in $(EXTRA_HOST_FLAGS); do \
18551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18552 done; \
18553 echo "Doing dvi in time" ; \
18554 (cd time && \
18555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18557 "RANLIB=$${RANLIB}" \
18558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18559 dvi) \
18560 || exit 1
18562 @endif time
18564 .PHONY: maybe-TAGS-time TAGS-time
18565 maybe-TAGS-time:
18566 @if time
18567 maybe-TAGS-time: TAGS-time
18569 TAGS-time: \
18570 configure-time
18571 @[ -f ./time/Makefile ] || exit 0; \
18572 r=`${PWD_COMMAND}`; export r; \
18573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18574 $(SET_LIB_PATH) \
18575 $(HOST_EXPORTS) \
18576 for flag in $(EXTRA_HOST_FLAGS); do \
18577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18578 done; \
18579 echo "Doing TAGS in time" ; \
18580 (cd time && \
18581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18583 "RANLIB=$${RANLIB}" \
18584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18585 TAGS) \
18586 || exit 1
18588 @endif time
18590 .PHONY: maybe-install-info-time install-info-time
18591 maybe-install-info-time:
18592 @if time
18593 maybe-install-info-time: install-info-time
18595 install-info-time: \
18596 configure-time \
18597 info-time
18598 @[ -f ./time/Makefile ] || exit 0; \
18599 r=`${PWD_COMMAND}`; export r; \
18600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18601 $(SET_LIB_PATH) \
18602 $(HOST_EXPORTS) \
18603 for flag in $(EXTRA_HOST_FLAGS); do \
18604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18605 done; \
18606 echo "Doing install-info in time" ; \
18607 (cd time && \
18608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18610 "RANLIB=$${RANLIB}" \
18611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18612 install-info) \
18613 || exit 1
18615 @endif time
18617 .PHONY: maybe-installcheck-time installcheck-time
18618 maybe-installcheck-time:
18619 @if time
18620 maybe-installcheck-time: installcheck-time
18622 installcheck-time: \
18623 configure-time
18624 @[ -f ./time/Makefile ] || exit 0; \
18625 r=`${PWD_COMMAND}`; export r; \
18626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18627 $(SET_LIB_PATH) \
18628 $(HOST_EXPORTS) \
18629 for flag in $(EXTRA_HOST_FLAGS); do \
18630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18631 done; \
18632 echo "Doing installcheck in time" ; \
18633 (cd time && \
18634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18636 "RANLIB=$${RANLIB}" \
18637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18638 installcheck) \
18639 || exit 1
18641 @endif time
18643 .PHONY: maybe-mostlyclean-time mostlyclean-time
18644 maybe-mostlyclean-time:
18645 @if time
18646 maybe-mostlyclean-time: mostlyclean-time
18648 mostlyclean-time:
18649 @[ -f ./time/Makefile ] || exit 0; \
18650 r=`${PWD_COMMAND}`; export r; \
18651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18652 $(SET_LIB_PATH) \
18653 $(HOST_EXPORTS) \
18654 for flag in $(EXTRA_HOST_FLAGS); do \
18655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18656 done; \
18657 echo "Doing mostlyclean in time" ; \
18658 (cd time && \
18659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18661 "RANLIB=$${RANLIB}" \
18662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18663 mostlyclean) \
18664 || exit 1
18666 @endif time
18668 .PHONY: maybe-clean-time clean-time
18669 maybe-clean-time:
18670 @if time
18671 maybe-clean-time: clean-time
18673 clean-time:
18674 @[ -f ./time/Makefile ] || exit 0; \
18675 r=`${PWD_COMMAND}`; export r; \
18676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18677 $(SET_LIB_PATH) \
18678 $(HOST_EXPORTS) \
18679 for flag in $(EXTRA_HOST_FLAGS); do \
18680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18681 done; \
18682 echo "Doing clean in time" ; \
18683 (cd time && \
18684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18686 "RANLIB=$${RANLIB}" \
18687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18688 clean) \
18689 || exit 1
18691 @endif time
18693 .PHONY: maybe-distclean-time distclean-time
18694 maybe-distclean-time:
18695 @if time
18696 maybe-distclean-time: distclean-time
18698 distclean-time:
18699 @[ -f ./time/Makefile ] || exit 0; \
18700 r=`${PWD_COMMAND}`; export r; \
18701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18702 $(SET_LIB_PATH) \
18703 $(HOST_EXPORTS) \
18704 for flag in $(EXTRA_HOST_FLAGS); do \
18705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18706 done; \
18707 echo "Doing distclean in time" ; \
18708 (cd time && \
18709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18711 "RANLIB=$${RANLIB}" \
18712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18713 distclean) \
18714 || exit 1
18716 @endif time
18718 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
18719 maybe-maintainer-clean-time:
18720 @if time
18721 maybe-maintainer-clean-time: maintainer-clean-time
18723 maintainer-clean-time:
18724 @[ -f ./time/Makefile ] || exit 0; \
18725 r=`${PWD_COMMAND}`; export r; \
18726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18727 $(SET_LIB_PATH) \
18728 $(HOST_EXPORTS) \
18729 for flag in $(EXTRA_HOST_FLAGS); do \
18730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18731 done; \
18732 echo "Doing maintainer-clean in time" ; \
18733 (cd time && \
18734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18736 "RANLIB=$${RANLIB}" \
18737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18738 maintainer-clean) \
18739 || exit 1
18741 @endif time
18744 .PHONY: configure-uudecode maybe-configure-uudecode
18745 maybe-configure-uudecode:
18746 @if uudecode
18747 maybe-configure-uudecode: configure-uudecode
18748 configure-uudecode:
18749 @test ! -f uudecode/Makefile || exit 0; \
18750 [ -d uudecode ] || mkdir uudecode; \
18751 r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 $(HOST_EXPORTS) \
18754 echo Configuring in uudecode; \
18755 cd uudecode || exit 1; \
18756 case $(srcdir) in \
18757 \.) \
18758 srcdiroption="--srcdir=."; \
18759 libsrcdir=".";; \
18760 /* | [A-Za-z]:[\\/]*) \
18761 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
18762 libsrcdir="$$s/uudecode";; \
18763 *) \
18764 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
18765 libsrcdir="$$s/uudecode";; \
18766 esac; \
18767 $(SHELL) $${libsrcdir}/configure \
18768 $(HOST_CONFIGARGS) $${srcdiroption} \
18769 || exit 1
18770 @endif uudecode
18772 .PHONY: all-uudecode maybe-all-uudecode
18773 maybe-all-uudecode:
18774 @if uudecode
18775 maybe-all-uudecode: all-uudecode
18776 all-uudecode: configure-uudecode
18777 @r=`${PWD_COMMAND}`; export r; \
18778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18779 $(SET_LIB_PATH) \
18780 $(HOST_EXPORTS) \
18781 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
18782 @endif uudecode
18784 .PHONY: check-uudecode maybe-check-uudecode
18785 maybe-check-uudecode:
18786 @if uudecode
18787 maybe-check-uudecode: check-uudecode
18789 check-uudecode:
18790 @r=`${PWD_COMMAND}`; export r; \
18791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792 $(SET_LIB_PATH) \
18793 $(HOST_EXPORTS) \
18794 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
18796 @endif uudecode
18798 .PHONY: install-uudecode maybe-install-uudecode
18799 maybe-install-uudecode:
18800 @if uudecode
18801 maybe-install-uudecode: install-uudecode
18803 install-uudecode: installdirs
18804 @r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 $(SET_LIB_PATH) \
18807 $(HOST_EXPORTS) \
18808 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
18810 @endif uudecode
18812 # Other targets (info, dvi, etc.)
18814 .PHONY: maybe-info-uudecode info-uudecode
18815 maybe-info-uudecode:
18816 @if uudecode
18817 maybe-info-uudecode: info-uudecode
18819 info-uudecode: \
18820 configure-uudecode
18821 @[ -f ./uudecode/Makefile ] || exit 0; \
18822 r=`${PWD_COMMAND}`; export r; \
18823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18824 $(SET_LIB_PATH) \
18825 $(HOST_EXPORTS) \
18826 for flag in $(EXTRA_HOST_FLAGS); do \
18827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18828 done; \
18829 echo "Doing info in uudecode" ; \
18830 (cd uudecode && \
18831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18833 "RANLIB=$${RANLIB}" \
18834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18835 info) \
18836 || exit 1
18838 @endif uudecode
18840 .PHONY: maybe-dvi-uudecode dvi-uudecode
18841 maybe-dvi-uudecode:
18842 @if uudecode
18843 maybe-dvi-uudecode: dvi-uudecode
18845 dvi-uudecode: \
18846 configure-uudecode
18847 @[ -f ./uudecode/Makefile ] || exit 0; \
18848 r=`${PWD_COMMAND}`; export r; \
18849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18850 $(SET_LIB_PATH) \
18851 $(HOST_EXPORTS) \
18852 for flag in $(EXTRA_HOST_FLAGS); do \
18853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18854 done; \
18855 echo "Doing dvi in uudecode" ; \
18856 (cd uudecode && \
18857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18859 "RANLIB=$${RANLIB}" \
18860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18861 dvi) \
18862 || exit 1
18864 @endif uudecode
18866 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
18867 maybe-TAGS-uudecode:
18868 @if uudecode
18869 maybe-TAGS-uudecode: TAGS-uudecode
18871 TAGS-uudecode: \
18872 configure-uudecode
18873 @[ -f ./uudecode/Makefile ] || exit 0; \
18874 r=`${PWD_COMMAND}`; export r; \
18875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18876 $(SET_LIB_PATH) \
18877 $(HOST_EXPORTS) \
18878 for flag in $(EXTRA_HOST_FLAGS); do \
18879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18880 done; \
18881 echo "Doing TAGS in uudecode" ; \
18882 (cd uudecode && \
18883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18885 "RANLIB=$${RANLIB}" \
18886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18887 TAGS) \
18888 || exit 1
18890 @endif uudecode
18892 .PHONY: maybe-install-info-uudecode install-info-uudecode
18893 maybe-install-info-uudecode:
18894 @if uudecode
18895 maybe-install-info-uudecode: install-info-uudecode
18897 install-info-uudecode: \
18898 configure-uudecode \
18899 info-uudecode
18900 @[ -f ./uudecode/Makefile ] || exit 0; \
18901 r=`${PWD_COMMAND}`; export r; \
18902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18903 $(SET_LIB_PATH) \
18904 $(HOST_EXPORTS) \
18905 for flag in $(EXTRA_HOST_FLAGS); do \
18906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18907 done; \
18908 echo "Doing install-info in uudecode" ; \
18909 (cd uudecode && \
18910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18912 "RANLIB=$${RANLIB}" \
18913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18914 install-info) \
18915 || exit 1
18917 @endif uudecode
18919 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
18920 maybe-installcheck-uudecode:
18921 @if uudecode
18922 maybe-installcheck-uudecode: installcheck-uudecode
18924 installcheck-uudecode: \
18925 configure-uudecode
18926 @[ -f ./uudecode/Makefile ] || exit 0; \
18927 r=`${PWD_COMMAND}`; export r; \
18928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18929 $(SET_LIB_PATH) \
18930 $(HOST_EXPORTS) \
18931 for flag in $(EXTRA_HOST_FLAGS); do \
18932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18933 done; \
18934 echo "Doing installcheck in uudecode" ; \
18935 (cd uudecode && \
18936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18938 "RANLIB=$${RANLIB}" \
18939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18940 installcheck) \
18941 || exit 1
18943 @endif uudecode
18945 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
18946 maybe-mostlyclean-uudecode:
18947 @if uudecode
18948 maybe-mostlyclean-uudecode: mostlyclean-uudecode
18950 mostlyclean-uudecode:
18951 @[ -f ./uudecode/Makefile ] || exit 0; \
18952 r=`${PWD_COMMAND}`; export r; \
18953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18954 $(SET_LIB_PATH) \
18955 $(HOST_EXPORTS) \
18956 for flag in $(EXTRA_HOST_FLAGS); do \
18957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18958 done; \
18959 echo "Doing mostlyclean in uudecode" ; \
18960 (cd uudecode && \
18961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18963 "RANLIB=$${RANLIB}" \
18964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18965 mostlyclean) \
18966 || exit 1
18968 @endif uudecode
18970 .PHONY: maybe-clean-uudecode clean-uudecode
18971 maybe-clean-uudecode:
18972 @if uudecode
18973 maybe-clean-uudecode: clean-uudecode
18975 clean-uudecode:
18976 @[ -f ./uudecode/Makefile ] || exit 0; \
18977 r=`${PWD_COMMAND}`; export r; \
18978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18979 $(SET_LIB_PATH) \
18980 $(HOST_EXPORTS) \
18981 for flag in $(EXTRA_HOST_FLAGS); do \
18982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18983 done; \
18984 echo "Doing clean in uudecode" ; \
18985 (cd uudecode && \
18986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18988 "RANLIB=$${RANLIB}" \
18989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18990 clean) \
18991 || exit 1
18993 @endif uudecode
18995 .PHONY: maybe-distclean-uudecode distclean-uudecode
18996 maybe-distclean-uudecode:
18997 @if uudecode
18998 maybe-distclean-uudecode: distclean-uudecode
19000 distclean-uudecode:
19001 @[ -f ./uudecode/Makefile ] || exit 0; \
19002 r=`${PWD_COMMAND}`; export r; \
19003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19004 $(SET_LIB_PATH) \
19005 $(HOST_EXPORTS) \
19006 for flag in $(EXTRA_HOST_FLAGS); do \
19007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19008 done; \
19009 echo "Doing distclean in uudecode" ; \
19010 (cd uudecode && \
19011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19013 "RANLIB=$${RANLIB}" \
19014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19015 distclean) \
19016 || exit 1
19018 @endif uudecode
19020 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19021 maybe-maintainer-clean-uudecode:
19022 @if uudecode
19023 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19025 maintainer-clean-uudecode:
19026 @[ -f ./uudecode/Makefile ] || exit 0; \
19027 r=`${PWD_COMMAND}`; export r; \
19028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19029 $(SET_LIB_PATH) \
19030 $(HOST_EXPORTS) \
19031 for flag in $(EXTRA_HOST_FLAGS); do \
19032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19033 done; \
19034 echo "Doing maintainer-clean in uudecode" ; \
19035 (cd uudecode && \
19036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19038 "RANLIB=$${RANLIB}" \
19039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19040 maintainer-clean) \
19041 || exit 1
19043 @endif uudecode
19046 .PHONY: configure-wdiff maybe-configure-wdiff
19047 maybe-configure-wdiff:
19048 @if wdiff
19049 maybe-configure-wdiff: configure-wdiff
19050 configure-wdiff:
19051 @test ! -f wdiff/Makefile || exit 0; \
19052 [ -d wdiff ] || mkdir wdiff; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19055 $(HOST_EXPORTS) \
19056 echo Configuring in wdiff; \
19057 cd wdiff || exit 1; \
19058 case $(srcdir) in \
19059 \.) \
19060 srcdiroption="--srcdir=."; \
19061 libsrcdir=".";; \
19062 /* | [A-Za-z]:[\\/]*) \
19063 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19064 libsrcdir="$$s/wdiff";; \
19065 *) \
19066 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19067 libsrcdir="$$s/wdiff";; \
19068 esac; \
19069 $(SHELL) $${libsrcdir}/configure \
19070 $(HOST_CONFIGARGS) $${srcdiroption} \
19071 || exit 1
19072 @endif wdiff
19074 .PHONY: all-wdiff maybe-all-wdiff
19075 maybe-all-wdiff:
19076 @if wdiff
19077 maybe-all-wdiff: all-wdiff
19078 all-wdiff: configure-wdiff
19079 @r=`${PWD_COMMAND}`; export r; \
19080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19081 $(SET_LIB_PATH) \
19082 $(HOST_EXPORTS) \
19083 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19084 @endif wdiff
19086 .PHONY: check-wdiff maybe-check-wdiff
19087 maybe-check-wdiff:
19088 @if wdiff
19089 maybe-check-wdiff: check-wdiff
19091 check-wdiff:
19092 @r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19094 $(SET_LIB_PATH) \
19095 $(HOST_EXPORTS) \
19096 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19098 @endif wdiff
19100 .PHONY: install-wdiff maybe-install-wdiff
19101 maybe-install-wdiff:
19102 @if wdiff
19103 maybe-install-wdiff: install-wdiff
19105 install-wdiff: installdirs
19106 @r=`${PWD_COMMAND}`; export r; \
19107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19108 $(SET_LIB_PATH) \
19109 $(HOST_EXPORTS) \
19110 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19112 @endif wdiff
19114 # Other targets (info, dvi, etc.)
19116 .PHONY: maybe-info-wdiff info-wdiff
19117 maybe-info-wdiff:
19118 @if wdiff
19119 maybe-info-wdiff: info-wdiff
19121 info-wdiff: \
19122 configure-wdiff
19123 @[ -f ./wdiff/Makefile ] || exit 0; \
19124 r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 $(SET_LIB_PATH) \
19127 $(HOST_EXPORTS) \
19128 for flag in $(EXTRA_HOST_FLAGS); do \
19129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19130 done; \
19131 echo "Doing info in wdiff" ; \
19132 (cd wdiff && \
19133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19135 "RANLIB=$${RANLIB}" \
19136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19137 info) \
19138 || exit 1
19140 @endif wdiff
19142 .PHONY: maybe-dvi-wdiff dvi-wdiff
19143 maybe-dvi-wdiff:
19144 @if wdiff
19145 maybe-dvi-wdiff: dvi-wdiff
19147 dvi-wdiff: \
19148 configure-wdiff
19149 @[ -f ./wdiff/Makefile ] || exit 0; \
19150 r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 $(SET_LIB_PATH) \
19153 $(HOST_EXPORTS) \
19154 for flag in $(EXTRA_HOST_FLAGS); do \
19155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19156 done; \
19157 echo "Doing dvi in wdiff" ; \
19158 (cd wdiff && \
19159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19161 "RANLIB=$${RANLIB}" \
19162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19163 dvi) \
19164 || exit 1
19166 @endif wdiff
19168 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19169 maybe-TAGS-wdiff:
19170 @if wdiff
19171 maybe-TAGS-wdiff: TAGS-wdiff
19173 TAGS-wdiff: \
19174 configure-wdiff
19175 @[ -f ./wdiff/Makefile ] || exit 0; \
19176 r=`${PWD_COMMAND}`; export r; \
19177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19178 $(SET_LIB_PATH) \
19179 $(HOST_EXPORTS) \
19180 for flag in $(EXTRA_HOST_FLAGS); do \
19181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19182 done; \
19183 echo "Doing TAGS in wdiff" ; \
19184 (cd wdiff && \
19185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19187 "RANLIB=$${RANLIB}" \
19188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19189 TAGS) \
19190 || exit 1
19192 @endif wdiff
19194 .PHONY: maybe-install-info-wdiff install-info-wdiff
19195 maybe-install-info-wdiff:
19196 @if wdiff
19197 maybe-install-info-wdiff: install-info-wdiff
19199 install-info-wdiff: \
19200 configure-wdiff \
19201 info-wdiff
19202 @[ -f ./wdiff/Makefile ] || exit 0; \
19203 r=`${PWD_COMMAND}`; export r; \
19204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19205 $(SET_LIB_PATH) \
19206 $(HOST_EXPORTS) \
19207 for flag in $(EXTRA_HOST_FLAGS); do \
19208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19209 done; \
19210 echo "Doing install-info in wdiff" ; \
19211 (cd wdiff && \
19212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19214 "RANLIB=$${RANLIB}" \
19215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19216 install-info) \
19217 || exit 1
19219 @endif wdiff
19221 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19222 maybe-installcheck-wdiff:
19223 @if wdiff
19224 maybe-installcheck-wdiff: installcheck-wdiff
19226 installcheck-wdiff: \
19227 configure-wdiff
19228 @[ -f ./wdiff/Makefile ] || exit 0; \
19229 r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(SET_LIB_PATH) \
19232 $(HOST_EXPORTS) \
19233 for flag in $(EXTRA_HOST_FLAGS); do \
19234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19235 done; \
19236 echo "Doing installcheck in wdiff" ; \
19237 (cd wdiff && \
19238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19240 "RANLIB=$${RANLIB}" \
19241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19242 installcheck) \
19243 || exit 1
19245 @endif wdiff
19247 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19248 maybe-mostlyclean-wdiff:
19249 @if wdiff
19250 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19252 mostlyclean-wdiff:
19253 @[ -f ./wdiff/Makefile ] || exit 0; \
19254 r=`${PWD_COMMAND}`; export r; \
19255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19256 $(SET_LIB_PATH) \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS); do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing mostlyclean in wdiff" ; \
19262 (cd wdiff && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19267 mostlyclean) \
19268 || exit 1
19270 @endif wdiff
19272 .PHONY: maybe-clean-wdiff clean-wdiff
19273 maybe-clean-wdiff:
19274 @if wdiff
19275 maybe-clean-wdiff: clean-wdiff
19277 clean-wdiff:
19278 @[ -f ./wdiff/Makefile ] || exit 0; \
19279 r=`${PWD_COMMAND}`; export r; \
19280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 $(SET_LIB_PATH) \
19282 $(HOST_EXPORTS) \
19283 for flag in $(EXTRA_HOST_FLAGS); do \
19284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19285 done; \
19286 echo "Doing clean in wdiff" ; \
19287 (cd wdiff && \
19288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19290 "RANLIB=$${RANLIB}" \
19291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19292 clean) \
19293 || exit 1
19295 @endif wdiff
19297 .PHONY: maybe-distclean-wdiff distclean-wdiff
19298 maybe-distclean-wdiff:
19299 @if wdiff
19300 maybe-distclean-wdiff: distclean-wdiff
19302 distclean-wdiff:
19303 @[ -f ./wdiff/Makefile ] || exit 0; \
19304 r=`${PWD_COMMAND}`; export r; \
19305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 $(SET_LIB_PATH) \
19307 $(HOST_EXPORTS) \
19308 for flag in $(EXTRA_HOST_FLAGS); do \
19309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19310 done; \
19311 echo "Doing distclean in wdiff" ; \
19312 (cd wdiff && \
19313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19315 "RANLIB=$${RANLIB}" \
19316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19317 distclean) \
19318 || exit 1
19320 @endif wdiff
19322 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19323 maybe-maintainer-clean-wdiff:
19324 @if wdiff
19325 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19327 maintainer-clean-wdiff:
19328 @[ -f ./wdiff/Makefile ] || exit 0; \
19329 r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19331 $(SET_LIB_PATH) \
19332 $(HOST_EXPORTS) \
19333 for flag in $(EXTRA_HOST_FLAGS); do \
19334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335 done; \
19336 echo "Doing maintainer-clean in wdiff" ; \
19337 (cd wdiff && \
19338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19340 "RANLIB=$${RANLIB}" \
19341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19342 maintainer-clean) \
19343 || exit 1
19345 @endif wdiff
19348 .PHONY: configure-zip maybe-configure-zip
19349 maybe-configure-zip:
19350 @if zip
19351 maybe-configure-zip: configure-zip
19352 configure-zip:
19353 @test ! -f zip/Makefile || exit 0; \
19354 [ -d zip ] || mkdir zip; \
19355 r=`${PWD_COMMAND}`; export r; \
19356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19357 $(HOST_EXPORTS) \
19358 echo Configuring in zip; \
19359 cd zip || exit 1; \
19360 case $(srcdir) in \
19361 \.) \
19362 srcdiroption="--srcdir=."; \
19363 libsrcdir=".";; \
19364 /* | [A-Za-z]:[\\/]*) \
19365 srcdiroption="--srcdir=$(srcdir)/zip"; \
19366 libsrcdir="$$s/zip";; \
19367 *) \
19368 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19369 libsrcdir="$$s/zip";; \
19370 esac; \
19371 $(SHELL) $${libsrcdir}/configure \
19372 $(HOST_CONFIGARGS) $${srcdiroption} \
19373 || exit 1
19374 @endif zip
19376 .PHONY: all-zip maybe-all-zip
19377 maybe-all-zip:
19378 @if zip
19379 maybe-all-zip: all-zip
19380 all-zip: configure-zip
19381 @r=`${PWD_COMMAND}`; export r; \
19382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19383 $(SET_LIB_PATH) \
19384 $(HOST_EXPORTS) \
19385 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19386 @endif zip
19388 .PHONY: check-zip maybe-check-zip
19389 maybe-check-zip:
19390 @if zip
19391 maybe-check-zip: check-zip
19393 # This module is only tested in a native toolchain.
19394 check-zip:
19395 @if [ '$(host)' = '$(target)' ] ; then \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(SET_LIB_PATH) \
19399 $(HOST_EXPORTS) \
19400 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19403 @endif zip
19405 .PHONY: install-zip maybe-install-zip
19406 maybe-install-zip:
19407 @if zip
19408 maybe-install-zip: install-zip
19410 install-zip: installdirs
19411 @r=`${PWD_COMMAND}`; export r; \
19412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19413 $(SET_LIB_PATH) \
19414 $(HOST_EXPORTS) \
19415 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19417 @endif zip
19419 # Other targets (info, dvi, etc.)
19421 .PHONY: maybe-info-zip info-zip
19422 maybe-info-zip:
19423 @if zip
19424 maybe-info-zip: info-zip
19426 info-zip: \
19427 configure-zip
19428 @[ -f ./zip/Makefile ] || exit 0; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19431 $(SET_LIB_PATH) \
19432 $(HOST_EXPORTS) \
19433 for flag in $(EXTRA_HOST_FLAGS); do \
19434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19435 done; \
19436 echo "Doing info in zip" ; \
19437 (cd zip && \
19438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19440 "RANLIB=$${RANLIB}" \
19441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19442 info) \
19443 || exit 1
19445 @endif zip
19447 .PHONY: maybe-dvi-zip dvi-zip
19448 maybe-dvi-zip:
19449 @if zip
19450 maybe-dvi-zip: dvi-zip
19452 dvi-zip: \
19453 configure-zip
19454 @[ -f ./zip/Makefile ] || exit 0; \
19455 r=`${PWD_COMMAND}`; export r; \
19456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19457 $(SET_LIB_PATH) \
19458 $(HOST_EXPORTS) \
19459 for flag in $(EXTRA_HOST_FLAGS); do \
19460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19461 done; \
19462 echo "Doing dvi in zip" ; \
19463 (cd zip && \
19464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19466 "RANLIB=$${RANLIB}" \
19467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19468 dvi) \
19469 || exit 1
19471 @endif zip
19473 .PHONY: maybe-TAGS-zip TAGS-zip
19474 maybe-TAGS-zip:
19475 @if zip
19476 maybe-TAGS-zip: TAGS-zip
19478 TAGS-zip: \
19479 configure-zip
19480 @[ -f ./zip/Makefile ] || exit 0; \
19481 r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19483 $(SET_LIB_PATH) \
19484 $(HOST_EXPORTS) \
19485 for flag in $(EXTRA_HOST_FLAGS); do \
19486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19487 done; \
19488 echo "Doing TAGS in zip" ; \
19489 (cd zip && \
19490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19492 "RANLIB=$${RANLIB}" \
19493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19494 TAGS) \
19495 || exit 1
19497 @endif zip
19499 .PHONY: maybe-install-info-zip install-info-zip
19500 maybe-install-info-zip:
19501 @if zip
19502 maybe-install-info-zip: install-info-zip
19504 install-info-zip: \
19505 configure-zip \
19506 info-zip
19507 @[ -f ./zip/Makefile ] || exit 0; \
19508 r=`${PWD_COMMAND}`; export r; \
19509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19510 $(SET_LIB_PATH) \
19511 $(HOST_EXPORTS) \
19512 for flag in $(EXTRA_HOST_FLAGS); do \
19513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19514 done; \
19515 echo "Doing install-info in zip" ; \
19516 (cd zip && \
19517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19519 "RANLIB=$${RANLIB}" \
19520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19521 install-info) \
19522 || exit 1
19524 @endif zip
19526 .PHONY: maybe-installcheck-zip installcheck-zip
19527 maybe-installcheck-zip:
19528 @if zip
19529 maybe-installcheck-zip: installcheck-zip
19531 installcheck-zip: \
19532 configure-zip
19533 @[ -f ./zip/Makefile ] || exit 0; \
19534 r=`${PWD_COMMAND}`; export r; \
19535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19536 $(SET_LIB_PATH) \
19537 $(HOST_EXPORTS) \
19538 for flag in $(EXTRA_HOST_FLAGS); do \
19539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19540 done; \
19541 echo "Doing installcheck in zip" ; \
19542 (cd zip && \
19543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19545 "RANLIB=$${RANLIB}" \
19546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19547 installcheck) \
19548 || exit 1
19550 @endif zip
19552 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19553 maybe-mostlyclean-zip:
19554 @if zip
19555 maybe-mostlyclean-zip: mostlyclean-zip
19557 mostlyclean-zip:
19558 @[ -f ./zip/Makefile ] || exit 0; \
19559 r=`${PWD_COMMAND}`; export r; \
19560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19561 $(SET_LIB_PATH) \
19562 $(HOST_EXPORTS) \
19563 for flag in $(EXTRA_HOST_FLAGS); do \
19564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19565 done; \
19566 echo "Doing mostlyclean in zip" ; \
19567 (cd zip && \
19568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19570 "RANLIB=$${RANLIB}" \
19571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19572 mostlyclean) \
19573 || exit 1
19575 @endif zip
19577 .PHONY: maybe-clean-zip clean-zip
19578 maybe-clean-zip:
19579 @if zip
19580 maybe-clean-zip: clean-zip
19582 clean-zip:
19583 @[ -f ./zip/Makefile ] || exit 0; \
19584 r=`${PWD_COMMAND}`; export r; \
19585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19586 $(SET_LIB_PATH) \
19587 $(HOST_EXPORTS) \
19588 for flag in $(EXTRA_HOST_FLAGS); do \
19589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19590 done; \
19591 echo "Doing clean in zip" ; \
19592 (cd zip && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595 "RANLIB=$${RANLIB}" \
19596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19597 clean) \
19598 || exit 1
19600 @endif zip
19602 .PHONY: maybe-distclean-zip distclean-zip
19603 maybe-distclean-zip:
19604 @if zip
19605 maybe-distclean-zip: distclean-zip
19607 distclean-zip:
19608 @[ -f ./zip/Makefile ] || exit 0; \
19609 r=`${PWD_COMMAND}`; export r; \
19610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19611 $(SET_LIB_PATH) \
19612 $(HOST_EXPORTS) \
19613 for flag in $(EXTRA_HOST_FLAGS); do \
19614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19615 done; \
19616 echo "Doing distclean in zip" ; \
19617 (cd zip && \
19618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19620 "RANLIB=$${RANLIB}" \
19621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19622 distclean) \
19623 || exit 1
19625 @endif zip
19627 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19628 maybe-maintainer-clean-zip:
19629 @if zip
19630 maybe-maintainer-clean-zip: maintainer-clean-zip
19632 maintainer-clean-zip:
19633 @[ -f ./zip/Makefile ] || exit 0; \
19634 r=`${PWD_COMMAND}`; export r; \
19635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19636 $(SET_LIB_PATH) \
19637 $(HOST_EXPORTS) \
19638 for flag in $(EXTRA_HOST_FLAGS); do \
19639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19640 done; \
19641 echo "Doing maintainer-clean in zip" ; \
19642 (cd zip && \
19643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19645 "RANLIB=$${RANLIB}" \
19646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19647 maintainer-clean) \
19648 || exit 1
19650 @endif zip
19653 .PHONY: configure-zlib maybe-configure-zlib
19654 maybe-configure-zlib:
19655 @if zlib
19656 maybe-configure-zlib: configure-zlib
19657 configure-zlib:
19658 @test ! -f zlib/Makefile || exit 0; \
19659 [ -d zlib ] || mkdir zlib; \
19660 r=`${PWD_COMMAND}`; export r; \
19661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19662 $(HOST_EXPORTS) \
19663 echo Configuring in zlib; \
19664 cd zlib || exit 1; \
19665 case $(srcdir) in \
19666 \.) \
19667 srcdiroption="--srcdir=."; \
19668 libsrcdir=".";; \
19669 /* | [A-Za-z]:[\\/]*) \
19670 srcdiroption="--srcdir=$(srcdir)/zlib"; \
19671 libsrcdir="$$s/zlib";; \
19672 *) \
19673 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
19674 libsrcdir="$$s/zlib";; \
19675 esac; \
19676 $(SHELL) $${libsrcdir}/configure \
19677 $(HOST_CONFIGARGS) $${srcdiroption} \
19678 || exit 1
19679 @endif zlib
19681 .PHONY: all-zlib maybe-all-zlib
19682 maybe-all-zlib:
19683 @if zlib
19684 maybe-all-zlib: all-zlib
19685 all-zlib: configure-zlib
19686 @r=`${PWD_COMMAND}`; export r; \
19687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19688 $(SET_LIB_PATH) \
19689 $(HOST_EXPORTS) \
19690 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
19691 @endif zlib
19693 .PHONY: check-zlib maybe-check-zlib
19694 maybe-check-zlib:
19695 @if zlib
19696 maybe-check-zlib: check-zlib
19698 check-zlib:
19700 @endif zlib
19702 .PHONY: install-zlib maybe-install-zlib
19703 maybe-install-zlib:
19704 @if zlib
19705 maybe-install-zlib: install-zlib
19707 install-zlib:
19709 @endif zlib
19711 # Other targets (info, dvi, etc.)
19713 .PHONY: maybe-info-zlib info-zlib
19714 maybe-info-zlib:
19715 @if zlib
19716 maybe-info-zlib: info-zlib
19718 info-zlib: \
19719 configure-zlib
19720 @[ -f ./zlib/Makefile ] || exit 0; \
19721 r=`${PWD_COMMAND}`; export r; \
19722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19723 $(SET_LIB_PATH) \
19724 $(HOST_EXPORTS) \
19725 for flag in $(EXTRA_HOST_FLAGS); do \
19726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19727 done; \
19728 echo "Doing info in zlib" ; \
19729 (cd zlib && \
19730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19732 "RANLIB=$${RANLIB}" \
19733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19734 info) \
19735 || exit 1
19737 @endif zlib
19739 .PHONY: maybe-dvi-zlib dvi-zlib
19740 maybe-dvi-zlib:
19741 @if zlib
19742 maybe-dvi-zlib: dvi-zlib
19744 dvi-zlib: \
19745 configure-zlib
19746 @[ -f ./zlib/Makefile ] || exit 0; \
19747 r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(SET_LIB_PATH) \
19750 $(HOST_EXPORTS) \
19751 for flag in $(EXTRA_HOST_FLAGS); do \
19752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19753 done; \
19754 echo "Doing dvi in zlib" ; \
19755 (cd zlib && \
19756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19758 "RANLIB=$${RANLIB}" \
19759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19760 dvi) \
19761 || exit 1
19763 @endif zlib
19765 .PHONY: maybe-TAGS-zlib TAGS-zlib
19766 maybe-TAGS-zlib:
19767 @if zlib
19768 maybe-TAGS-zlib: TAGS-zlib
19770 TAGS-zlib: \
19771 configure-zlib
19772 @[ -f ./zlib/Makefile ] || exit 0; \
19773 r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 $(SET_LIB_PATH) \
19776 $(HOST_EXPORTS) \
19777 for flag in $(EXTRA_HOST_FLAGS); do \
19778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19779 done; \
19780 echo "Doing TAGS in zlib" ; \
19781 (cd zlib && \
19782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19784 "RANLIB=$${RANLIB}" \
19785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19786 TAGS) \
19787 || exit 1
19789 @endif zlib
19791 .PHONY: maybe-install-info-zlib install-info-zlib
19792 maybe-install-info-zlib:
19793 @if zlib
19794 maybe-install-info-zlib: install-info-zlib
19796 install-info-zlib: \
19797 configure-zlib \
19798 info-zlib
19799 @[ -f ./zlib/Makefile ] || exit 0; \
19800 r=`${PWD_COMMAND}`; export r; \
19801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 $(SET_LIB_PATH) \
19803 $(HOST_EXPORTS) \
19804 for flag in $(EXTRA_HOST_FLAGS); do \
19805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19806 done; \
19807 echo "Doing install-info in zlib" ; \
19808 (cd zlib && \
19809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19811 "RANLIB=$${RANLIB}" \
19812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19813 install-info) \
19814 || exit 1
19816 @endif zlib
19818 .PHONY: maybe-installcheck-zlib installcheck-zlib
19819 maybe-installcheck-zlib:
19820 @if zlib
19821 maybe-installcheck-zlib: installcheck-zlib
19823 installcheck-zlib: \
19824 configure-zlib
19825 @[ -f ./zlib/Makefile ] || exit 0; \
19826 r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 $(SET_LIB_PATH) \
19829 $(HOST_EXPORTS) \
19830 for flag in $(EXTRA_HOST_FLAGS); do \
19831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19832 done; \
19833 echo "Doing installcheck in zlib" ; \
19834 (cd zlib && \
19835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19837 "RANLIB=$${RANLIB}" \
19838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19839 installcheck) \
19840 || exit 1
19842 @endif zlib
19844 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
19845 maybe-mostlyclean-zlib:
19846 @if zlib
19847 maybe-mostlyclean-zlib: mostlyclean-zlib
19849 mostlyclean-zlib:
19850 @[ -f ./zlib/Makefile ] || exit 0; \
19851 r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 $(SET_LIB_PATH) \
19854 $(HOST_EXPORTS) \
19855 for flag in $(EXTRA_HOST_FLAGS); do \
19856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19857 done; \
19858 echo "Doing mostlyclean in zlib" ; \
19859 (cd zlib && \
19860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19862 "RANLIB=$${RANLIB}" \
19863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19864 mostlyclean) \
19865 || exit 1
19867 @endif zlib
19869 .PHONY: maybe-clean-zlib clean-zlib
19870 maybe-clean-zlib:
19871 @if zlib
19872 maybe-clean-zlib: clean-zlib
19874 clean-zlib:
19875 @[ -f ./zlib/Makefile ] || exit 0; \
19876 r=`${PWD_COMMAND}`; export r; \
19877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19878 $(SET_LIB_PATH) \
19879 $(HOST_EXPORTS) \
19880 for flag in $(EXTRA_HOST_FLAGS); do \
19881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19882 done; \
19883 echo "Doing clean in zlib" ; \
19884 (cd zlib && \
19885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19887 "RANLIB=$${RANLIB}" \
19888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19889 clean) \
19890 || exit 1
19892 @endif zlib
19894 .PHONY: maybe-distclean-zlib distclean-zlib
19895 maybe-distclean-zlib:
19896 @if zlib
19897 maybe-distclean-zlib: distclean-zlib
19899 distclean-zlib:
19900 @[ -f ./zlib/Makefile ] || exit 0; \
19901 r=`${PWD_COMMAND}`; export r; \
19902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19903 $(SET_LIB_PATH) \
19904 $(HOST_EXPORTS) \
19905 for flag in $(EXTRA_HOST_FLAGS); do \
19906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19907 done; \
19908 echo "Doing distclean in zlib" ; \
19909 (cd zlib && \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19912 "RANLIB=$${RANLIB}" \
19913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19914 distclean) \
19915 || exit 1
19917 @endif zlib
19919 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
19920 maybe-maintainer-clean-zlib:
19921 @if zlib
19922 maybe-maintainer-clean-zlib: maintainer-clean-zlib
19924 maintainer-clean-zlib:
19925 @[ -f ./zlib/Makefile ] || exit 0; \
19926 r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19928 $(SET_LIB_PATH) \
19929 $(HOST_EXPORTS) \
19930 for flag in $(EXTRA_HOST_FLAGS); do \
19931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19932 done; \
19933 echo "Doing maintainer-clean in zlib" ; \
19934 (cd zlib && \
19935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19937 "RANLIB=$${RANLIB}" \
19938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19939 maintainer-clean) \
19940 || exit 1
19942 @endif zlib
19945 .PHONY: configure-gdb maybe-configure-gdb
19946 maybe-configure-gdb:
19947 @if gdb
19948 maybe-configure-gdb: configure-gdb
19949 configure-gdb:
19950 @test ! -f gdb/Makefile || exit 0; \
19951 [ -d gdb ] || mkdir gdb; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(HOST_EXPORTS) \
19955 echo Configuring in gdb; \
19956 cd gdb || exit 1; \
19957 case $(srcdir) in \
19958 \.) \
19959 srcdiroption="--srcdir=."; \
19960 libsrcdir=".";; \
19961 /* | [A-Za-z]:[\\/]*) \
19962 srcdiroption="--srcdir=$(srcdir)/gdb"; \
19963 libsrcdir="$$s/gdb";; \
19964 *) \
19965 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
19966 libsrcdir="$$s/gdb";; \
19967 esac; \
19968 $(SHELL) $${libsrcdir}/configure \
19969 $(HOST_CONFIGARGS) $${srcdiroption} \
19970 || exit 1
19971 @endif gdb
19973 .PHONY: all-gdb maybe-all-gdb
19974 maybe-all-gdb:
19975 @if gdb
19976 maybe-all-gdb: all-gdb
19977 all-gdb: configure-gdb
19978 @r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 $(SET_LIB_PATH) \
19981 $(HOST_EXPORTS) \
19982 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
19983 @endif gdb
19985 .PHONY: check-gdb maybe-check-gdb
19986 maybe-check-gdb:
19987 @if gdb
19988 maybe-check-gdb: check-gdb
19990 check-gdb:
19991 @r=`${PWD_COMMAND}`; export r; \
19992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19993 $(SET_LIB_PATH) \
19994 $(HOST_EXPORTS) \
19995 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
19997 @endif gdb
19999 .PHONY: install-gdb maybe-install-gdb
20000 maybe-install-gdb:
20001 @if gdb
20002 maybe-install-gdb: install-gdb
20004 install-gdb: installdirs
20005 @r=`${PWD_COMMAND}`; export r; \
20006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20007 $(SET_LIB_PATH) \
20008 $(HOST_EXPORTS) \
20009 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20011 @endif gdb
20013 # Other targets (info, dvi, etc.)
20015 .PHONY: maybe-info-gdb info-gdb
20016 maybe-info-gdb:
20017 @if gdb
20018 maybe-info-gdb: info-gdb
20020 info-gdb: \
20021 configure-gdb
20022 @[ -f ./gdb/Makefile ] || exit 0; \
20023 r=`${PWD_COMMAND}`; export r; \
20024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20025 $(SET_LIB_PATH) \
20026 $(HOST_EXPORTS) \
20027 for flag in $(EXTRA_HOST_FLAGS); do \
20028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20029 done; \
20030 echo "Doing info in gdb" ; \
20031 (cd gdb && \
20032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20034 "RANLIB=$${RANLIB}" \
20035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20036 info) \
20037 || exit 1
20039 @endif gdb
20041 .PHONY: maybe-dvi-gdb dvi-gdb
20042 maybe-dvi-gdb:
20043 @if gdb
20044 maybe-dvi-gdb: dvi-gdb
20046 dvi-gdb: \
20047 configure-gdb
20048 @[ -f ./gdb/Makefile ] || exit 0; \
20049 r=`${PWD_COMMAND}`; export r; \
20050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20051 $(SET_LIB_PATH) \
20052 $(HOST_EXPORTS) \
20053 for flag in $(EXTRA_HOST_FLAGS); do \
20054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20055 done; \
20056 echo "Doing dvi in gdb" ; \
20057 (cd gdb && \
20058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20060 "RANLIB=$${RANLIB}" \
20061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20062 dvi) \
20063 || exit 1
20065 @endif gdb
20067 .PHONY: maybe-TAGS-gdb TAGS-gdb
20068 maybe-TAGS-gdb:
20069 @if gdb
20070 maybe-TAGS-gdb: TAGS-gdb
20072 TAGS-gdb: \
20073 configure-gdb
20074 @[ -f ./gdb/Makefile ] || exit 0; \
20075 r=`${PWD_COMMAND}`; export r; \
20076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20077 $(SET_LIB_PATH) \
20078 $(HOST_EXPORTS) \
20079 for flag in $(EXTRA_HOST_FLAGS); do \
20080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20081 done; \
20082 echo "Doing TAGS in gdb" ; \
20083 (cd gdb && \
20084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20086 "RANLIB=$${RANLIB}" \
20087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20088 TAGS) \
20089 || exit 1
20091 @endif gdb
20093 .PHONY: maybe-install-info-gdb install-info-gdb
20094 maybe-install-info-gdb:
20095 @if gdb
20096 maybe-install-info-gdb: install-info-gdb
20098 install-info-gdb: \
20099 configure-gdb \
20100 info-gdb
20101 @[ -f ./gdb/Makefile ] || exit 0; \
20102 r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(SET_LIB_PATH) \
20105 $(HOST_EXPORTS) \
20106 for flag in $(EXTRA_HOST_FLAGS); do \
20107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20108 done; \
20109 echo "Doing install-info in gdb" ; \
20110 (cd gdb && \
20111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20113 "RANLIB=$${RANLIB}" \
20114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20115 install-info) \
20116 || exit 1
20118 @endif gdb
20120 .PHONY: maybe-installcheck-gdb installcheck-gdb
20121 maybe-installcheck-gdb:
20122 @if gdb
20123 maybe-installcheck-gdb: installcheck-gdb
20125 installcheck-gdb: \
20126 configure-gdb
20127 @[ -f ./gdb/Makefile ] || exit 0; \
20128 r=`${PWD_COMMAND}`; export r; \
20129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20130 $(SET_LIB_PATH) \
20131 $(HOST_EXPORTS) \
20132 for flag in $(EXTRA_HOST_FLAGS); do \
20133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20134 done; \
20135 echo "Doing installcheck in gdb" ; \
20136 (cd gdb && \
20137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20139 "RANLIB=$${RANLIB}" \
20140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20141 installcheck) \
20142 || exit 1
20144 @endif gdb
20146 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20147 maybe-mostlyclean-gdb:
20148 @if gdb
20149 maybe-mostlyclean-gdb: mostlyclean-gdb
20151 mostlyclean-gdb:
20152 @[ -f ./gdb/Makefile ] || exit 0; \
20153 r=`${PWD_COMMAND}`; export r; \
20154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20155 $(SET_LIB_PATH) \
20156 $(HOST_EXPORTS) \
20157 for flag in $(EXTRA_HOST_FLAGS); do \
20158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20159 done; \
20160 echo "Doing mostlyclean in gdb" ; \
20161 (cd gdb && \
20162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20164 "RANLIB=$${RANLIB}" \
20165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20166 mostlyclean) \
20167 || exit 1
20169 @endif gdb
20171 .PHONY: maybe-clean-gdb clean-gdb
20172 maybe-clean-gdb:
20173 @if gdb
20174 maybe-clean-gdb: clean-gdb
20176 clean-gdb:
20177 @[ -f ./gdb/Makefile ] || exit 0; \
20178 r=`${PWD_COMMAND}`; export r; \
20179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20180 $(SET_LIB_PATH) \
20181 $(HOST_EXPORTS) \
20182 for flag in $(EXTRA_HOST_FLAGS); do \
20183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20184 done; \
20185 echo "Doing clean in gdb" ; \
20186 (cd gdb && \
20187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20189 "RANLIB=$${RANLIB}" \
20190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20191 clean) \
20192 || exit 1
20194 @endif gdb
20196 .PHONY: maybe-distclean-gdb distclean-gdb
20197 maybe-distclean-gdb:
20198 @if gdb
20199 maybe-distclean-gdb: distclean-gdb
20201 distclean-gdb:
20202 @[ -f ./gdb/Makefile ] || exit 0; \
20203 r=`${PWD_COMMAND}`; export r; \
20204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20205 $(SET_LIB_PATH) \
20206 $(HOST_EXPORTS) \
20207 for flag in $(EXTRA_HOST_FLAGS); do \
20208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20209 done; \
20210 echo "Doing distclean in gdb" ; \
20211 (cd gdb && \
20212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20214 "RANLIB=$${RANLIB}" \
20215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20216 distclean) \
20217 || exit 1
20219 @endif gdb
20221 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20222 maybe-maintainer-clean-gdb:
20223 @if gdb
20224 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20226 maintainer-clean-gdb:
20227 @[ -f ./gdb/Makefile ] || exit 0; \
20228 r=`${PWD_COMMAND}`; export r; \
20229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20230 $(SET_LIB_PATH) \
20231 $(HOST_EXPORTS) \
20232 for flag in $(EXTRA_HOST_FLAGS); do \
20233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20234 done; \
20235 echo "Doing maintainer-clean in gdb" ; \
20236 (cd gdb && \
20237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20239 "RANLIB=$${RANLIB}" \
20240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20241 maintainer-clean) \
20242 || exit 1
20244 @endif gdb
20247 .PHONY: configure-expect maybe-configure-expect
20248 maybe-configure-expect:
20249 @if expect
20250 maybe-configure-expect: configure-expect
20251 configure-expect:
20252 @test ! -f expect/Makefile || exit 0; \
20253 [ -d expect ] || mkdir expect; \
20254 r=`${PWD_COMMAND}`; export r; \
20255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20256 $(HOST_EXPORTS) \
20257 echo Configuring in expect; \
20258 cd expect || exit 1; \
20259 case $(srcdir) in \
20260 \.) \
20261 srcdiroption="--srcdir=."; \
20262 libsrcdir=".";; \
20263 /* | [A-Za-z]:[\\/]*) \
20264 srcdiroption="--srcdir=$(srcdir)/expect"; \
20265 libsrcdir="$$s/expect";; \
20266 *) \
20267 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20268 libsrcdir="$$s/expect";; \
20269 esac; \
20270 $(SHELL) $${libsrcdir}/configure \
20271 $(HOST_CONFIGARGS) $${srcdiroption} \
20272 || exit 1
20273 @endif expect
20275 .PHONY: all-expect maybe-all-expect
20276 maybe-all-expect:
20277 @if expect
20278 maybe-all-expect: all-expect
20279 all-expect: configure-expect
20280 @r=`${PWD_COMMAND}`; export r; \
20281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20282 $(SET_LIB_PATH) \
20283 $(HOST_EXPORTS) \
20284 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20285 @endif expect
20287 .PHONY: check-expect maybe-check-expect
20288 maybe-check-expect:
20289 @if expect
20290 maybe-check-expect: check-expect
20292 check-expect:
20293 @r=`${PWD_COMMAND}`; export r; \
20294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20295 $(SET_LIB_PATH) \
20296 $(HOST_EXPORTS) \
20297 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20299 @endif expect
20301 .PHONY: install-expect maybe-install-expect
20302 maybe-install-expect:
20303 @if expect
20304 maybe-install-expect: install-expect
20306 install-expect: installdirs
20307 @r=`${PWD_COMMAND}`; export r; \
20308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20309 $(SET_LIB_PATH) \
20310 $(HOST_EXPORTS) \
20311 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20313 @endif expect
20315 # Other targets (info, dvi, etc.)
20317 .PHONY: maybe-info-expect info-expect
20318 maybe-info-expect:
20319 @if expect
20320 maybe-info-expect: info-expect
20322 info-expect: \
20323 configure-expect
20324 @[ -f ./expect/Makefile ] || exit 0; \
20325 r=`${PWD_COMMAND}`; export r; \
20326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20327 $(SET_LIB_PATH) \
20328 $(HOST_EXPORTS) \
20329 for flag in $(EXTRA_HOST_FLAGS); do \
20330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20331 done; \
20332 echo "Doing info in expect" ; \
20333 (cd expect && \
20334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20336 "RANLIB=$${RANLIB}" \
20337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20338 info) \
20339 || exit 1
20341 @endif expect
20343 .PHONY: maybe-dvi-expect dvi-expect
20344 maybe-dvi-expect:
20345 @if expect
20346 maybe-dvi-expect: dvi-expect
20348 dvi-expect: \
20349 configure-expect
20350 @[ -f ./expect/Makefile ] || exit 0; \
20351 r=`${PWD_COMMAND}`; export r; \
20352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20353 $(SET_LIB_PATH) \
20354 $(HOST_EXPORTS) \
20355 for flag in $(EXTRA_HOST_FLAGS); do \
20356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20357 done; \
20358 echo "Doing dvi in expect" ; \
20359 (cd expect && \
20360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20362 "RANLIB=$${RANLIB}" \
20363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20364 dvi) \
20365 || exit 1
20367 @endif expect
20369 .PHONY: maybe-TAGS-expect TAGS-expect
20370 maybe-TAGS-expect:
20371 @if expect
20372 maybe-TAGS-expect: TAGS-expect
20374 TAGS-expect: \
20375 configure-expect
20376 @[ -f ./expect/Makefile ] || exit 0; \
20377 r=`${PWD_COMMAND}`; export r; \
20378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20379 $(SET_LIB_PATH) \
20380 $(HOST_EXPORTS) \
20381 for flag in $(EXTRA_HOST_FLAGS); do \
20382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20383 done; \
20384 echo "Doing TAGS in expect" ; \
20385 (cd expect && \
20386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20388 "RANLIB=$${RANLIB}" \
20389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20390 TAGS) \
20391 || exit 1
20393 @endif expect
20395 .PHONY: maybe-install-info-expect install-info-expect
20396 maybe-install-info-expect:
20397 @if expect
20398 maybe-install-info-expect: install-info-expect
20400 install-info-expect: \
20401 configure-expect \
20402 info-expect
20403 @[ -f ./expect/Makefile ] || exit 0; \
20404 r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(SET_LIB_PATH) \
20407 $(HOST_EXPORTS) \
20408 for flag in $(EXTRA_HOST_FLAGS); do \
20409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20410 done; \
20411 echo "Doing install-info in expect" ; \
20412 (cd expect && \
20413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20415 "RANLIB=$${RANLIB}" \
20416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20417 install-info) \
20418 || exit 1
20420 @endif expect
20422 .PHONY: maybe-installcheck-expect installcheck-expect
20423 maybe-installcheck-expect:
20424 @if expect
20425 maybe-installcheck-expect: installcheck-expect
20427 installcheck-expect: \
20428 configure-expect
20429 @[ -f ./expect/Makefile ] || exit 0; \
20430 r=`${PWD_COMMAND}`; export r; \
20431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20432 $(SET_LIB_PATH) \
20433 $(HOST_EXPORTS) \
20434 for flag in $(EXTRA_HOST_FLAGS); do \
20435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20436 done; \
20437 echo "Doing installcheck in expect" ; \
20438 (cd expect && \
20439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20441 "RANLIB=$${RANLIB}" \
20442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20443 installcheck) \
20444 || exit 1
20446 @endif expect
20448 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20449 maybe-mostlyclean-expect:
20450 @if expect
20451 maybe-mostlyclean-expect: mostlyclean-expect
20453 mostlyclean-expect:
20454 @[ -f ./expect/Makefile ] || exit 0; \
20455 r=`${PWD_COMMAND}`; export r; \
20456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457 $(SET_LIB_PATH) \
20458 $(HOST_EXPORTS) \
20459 for flag in $(EXTRA_HOST_FLAGS); do \
20460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20461 done; \
20462 echo "Doing mostlyclean in expect" ; \
20463 (cd expect && \
20464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20466 "RANLIB=$${RANLIB}" \
20467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20468 mostlyclean) \
20469 || exit 1
20471 @endif expect
20473 .PHONY: maybe-clean-expect clean-expect
20474 maybe-clean-expect:
20475 @if expect
20476 maybe-clean-expect: clean-expect
20478 clean-expect:
20479 @[ -f ./expect/Makefile ] || exit 0; \
20480 r=`${PWD_COMMAND}`; export r; \
20481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20482 $(SET_LIB_PATH) \
20483 $(HOST_EXPORTS) \
20484 for flag in $(EXTRA_HOST_FLAGS); do \
20485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20486 done; \
20487 echo "Doing clean in expect" ; \
20488 (cd expect && \
20489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20491 "RANLIB=$${RANLIB}" \
20492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20493 clean) \
20494 || exit 1
20496 @endif expect
20498 .PHONY: maybe-distclean-expect distclean-expect
20499 maybe-distclean-expect:
20500 @if expect
20501 maybe-distclean-expect: distclean-expect
20503 distclean-expect:
20504 @[ -f ./expect/Makefile ] || exit 0; \
20505 r=`${PWD_COMMAND}`; export r; \
20506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20507 $(SET_LIB_PATH) \
20508 $(HOST_EXPORTS) \
20509 for flag in $(EXTRA_HOST_FLAGS); do \
20510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20511 done; \
20512 echo "Doing distclean in expect" ; \
20513 (cd expect && \
20514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20516 "RANLIB=$${RANLIB}" \
20517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20518 distclean) \
20519 || exit 1
20521 @endif expect
20523 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20524 maybe-maintainer-clean-expect:
20525 @if expect
20526 maybe-maintainer-clean-expect: maintainer-clean-expect
20528 maintainer-clean-expect:
20529 @[ -f ./expect/Makefile ] || exit 0; \
20530 r=`${PWD_COMMAND}`; export r; \
20531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20532 $(SET_LIB_PATH) \
20533 $(HOST_EXPORTS) \
20534 for flag in $(EXTRA_HOST_FLAGS); do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20536 done; \
20537 echo "Doing maintainer-clean in expect" ; \
20538 (cd expect && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20543 maintainer-clean) \
20544 || exit 1
20546 @endif expect
20549 .PHONY: configure-guile maybe-configure-guile
20550 maybe-configure-guile:
20551 @if guile
20552 maybe-configure-guile: configure-guile
20553 configure-guile:
20554 @test ! -f guile/Makefile || exit 0; \
20555 [ -d guile ] || mkdir guile; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558 $(HOST_EXPORTS) \
20559 echo Configuring in guile; \
20560 cd guile || exit 1; \
20561 case $(srcdir) in \
20562 \.) \
20563 srcdiroption="--srcdir=."; \
20564 libsrcdir=".";; \
20565 /* | [A-Za-z]:[\\/]*) \
20566 srcdiroption="--srcdir=$(srcdir)/guile"; \
20567 libsrcdir="$$s/guile";; \
20568 *) \
20569 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20570 libsrcdir="$$s/guile";; \
20571 esac; \
20572 $(SHELL) $${libsrcdir}/configure \
20573 $(HOST_CONFIGARGS) $${srcdiroption} \
20574 || exit 1
20575 @endif guile
20577 .PHONY: all-guile maybe-all-guile
20578 maybe-all-guile:
20579 @if guile
20580 maybe-all-guile: all-guile
20581 all-guile: configure-guile
20582 @r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20584 $(SET_LIB_PATH) \
20585 $(HOST_EXPORTS) \
20586 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20587 @endif guile
20589 .PHONY: check-guile maybe-check-guile
20590 maybe-check-guile:
20591 @if guile
20592 maybe-check-guile: check-guile
20594 check-guile:
20595 @r=`${PWD_COMMAND}`; export r; \
20596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20597 $(SET_LIB_PATH) \
20598 $(HOST_EXPORTS) \
20599 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20601 @endif guile
20603 .PHONY: install-guile maybe-install-guile
20604 maybe-install-guile:
20605 @if guile
20606 maybe-install-guile: install-guile
20608 install-guile: installdirs
20609 @r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 $(SET_LIB_PATH) \
20612 $(HOST_EXPORTS) \
20613 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20615 @endif guile
20617 # Other targets (info, dvi, etc.)
20619 .PHONY: maybe-info-guile info-guile
20620 maybe-info-guile:
20621 @if guile
20622 maybe-info-guile: info-guile
20624 info-guile: \
20625 configure-guile
20626 @[ -f ./guile/Makefile ] || exit 0; \
20627 r=`${PWD_COMMAND}`; export r; \
20628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20629 $(SET_LIB_PATH) \
20630 $(HOST_EXPORTS) \
20631 for flag in $(EXTRA_HOST_FLAGS); do \
20632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20633 done; \
20634 echo "Doing info in guile" ; \
20635 (cd guile && \
20636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20638 "RANLIB=$${RANLIB}" \
20639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20640 info) \
20641 || exit 1
20643 @endif guile
20645 .PHONY: maybe-dvi-guile dvi-guile
20646 maybe-dvi-guile:
20647 @if guile
20648 maybe-dvi-guile: dvi-guile
20650 dvi-guile: \
20651 configure-guile
20652 @[ -f ./guile/Makefile ] || exit 0; \
20653 r=`${PWD_COMMAND}`; export r; \
20654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20655 $(SET_LIB_PATH) \
20656 $(HOST_EXPORTS) \
20657 for flag in $(EXTRA_HOST_FLAGS); do \
20658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20659 done; \
20660 echo "Doing dvi in guile" ; \
20661 (cd guile && \
20662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20664 "RANLIB=$${RANLIB}" \
20665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20666 dvi) \
20667 || exit 1
20669 @endif guile
20671 .PHONY: maybe-TAGS-guile TAGS-guile
20672 maybe-TAGS-guile:
20673 @if guile
20674 maybe-TAGS-guile: TAGS-guile
20676 TAGS-guile: \
20677 configure-guile
20678 @[ -f ./guile/Makefile ] || exit 0; \
20679 r=`${PWD_COMMAND}`; export r; \
20680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20681 $(SET_LIB_PATH) \
20682 $(HOST_EXPORTS) \
20683 for flag in $(EXTRA_HOST_FLAGS); do \
20684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20685 done; \
20686 echo "Doing TAGS in guile" ; \
20687 (cd guile && \
20688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20690 "RANLIB=$${RANLIB}" \
20691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20692 TAGS) \
20693 || exit 1
20695 @endif guile
20697 .PHONY: maybe-install-info-guile install-info-guile
20698 maybe-install-info-guile:
20699 @if guile
20700 maybe-install-info-guile: install-info-guile
20702 install-info-guile: \
20703 configure-guile \
20704 info-guile
20705 @[ -f ./guile/Makefile ] || exit 0; \
20706 r=`${PWD_COMMAND}`; export r; \
20707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20708 $(SET_LIB_PATH) \
20709 $(HOST_EXPORTS) \
20710 for flag in $(EXTRA_HOST_FLAGS); do \
20711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20712 done; \
20713 echo "Doing install-info in guile" ; \
20714 (cd guile && \
20715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20717 "RANLIB=$${RANLIB}" \
20718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20719 install-info) \
20720 || exit 1
20722 @endif guile
20724 .PHONY: maybe-installcheck-guile installcheck-guile
20725 maybe-installcheck-guile:
20726 @if guile
20727 maybe-installcheck-guile: installcheck-guile
20729 installcheck-guile: \
20730 configure-guile
20731 @[ -f ./guile/Makefile ] || exit 0; \
20732 r=`${PWD_COMMAND}`; export r; \
20733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20734 $(SET_LIB_PATH) \
20735 $(HOST_EXPORTS) \
20736 for flag in $(EXTRA_HOST_FLAGS); do \
20737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20738 done; \
20739 echo "Doing installcheck in guile" ; \
20740 (cd guile && \
20741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20743 "RANLIB=$${RANLIB}" \
20744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20745 installcheck) \
20746 || exit 1
20748 @endif guile
20750 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
20751 maybe-mostlyclean-guile:
20752 @if guile
20753 maybe-mostlyclean-guile: mostlyclean-guile
20755 mostlyclean-guile:
20756 @[ -f ./guile/Makefile ] || exit 0; \
20757 r=`${PWD_COMMAND}`; export r; \
20758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20759 $(SET_LIB_PATH) \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS); do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing mostlyclean in guile" ; \
20765 (cd guile && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 mostlyclean) \
20771 || exit 1
20773 @endif guile
20775 .PHONY: maybe-clean-guile clean-guile
20776 maybe-clean-guile:
20777 @if guile
20778 maybe-clean-guile: clean-guile
20780 clean-guile:
20781 @[ -f ./guile/Makefile ] || exit 0; \
20782 r=`${PWD_COMMAND}`; export r; \
20783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20784 $(SET_LIB_PATH) \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS); do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing clean in guile" ; \
20790 (cd guile && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 clean) \
20796 || exit 1
20798 @endif guile
20800 .PHONY: maybe-distclean-guile distclean-guile
20801 maybe-distclean-guile:
20802 @if guile
20803 maybe-distclean-guile: distclean-guile
20805 distclean-guile:
20806 @[ -f ./guile/Makefile ] || exit 0; \
20807 r=`${PWD_COMMAND}`; export r; \
20808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20809 $(SET_LIB_PATH) \
20810 $(HOST_EXPORTS) \
20811 for flag in $(EXTRA_HOST_FLAGS); do \
20812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20813 done; \
20814 echo "Doing distclean in guile" ; \
20815 (cd guile && \
20816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20818 "RANLIB=$${RANLIB}" \
20819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20820 distclean) \
20821 || exit 1
20823 @endif guile
20825 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
20826 maybe-maintainer-clean-guile:
20827 @if guile
20828 maybe-maintainer-clean-guile: maintainer-clean-guile
20830 maintainer-clean-guile:
20831 @[ -f ./guile/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 $(SET_LIB_PATH) \
20835 $(HOST_EXPORTS) \
20836 for flag in $(EXTRA_HOST_FLAGS); do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 done; \
20839 echo "Doing maintainer-clean in guile" ; \
20840 (cd guile && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20845 maintainer-clean) \
20846 || exit 1
20848 @endif guile
20851 .PHONY: configure-tk maybe-configure-tk
20852 maybe-configure-tk:
20853 @if tk
20854 maybe-configure-tk: configure-tk
20855 configure-tk:
20856 @test ! -f tk/Makefile || exit 0; \
20857 [ -d tk ] || mkdir tk; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20860 $(HOST_EXPORTS) \
20861 echo Configuring in tk; \
20862 cd tk || exit 1; \
20863 case $(srcdir) in \
20864 \.) \
20865 srcdiroption="--srcdir=."; \
20866 libsrcdir=".";; \
20867 /* | [A-Za-z]:[\\/]*) \
20868 srcdiroption="--srcdir=$(srcdir)/tk"; \
20869 libsrcdir="$$s/tk";; \
20870 *) \
20871 srcdiroption="--srcdir=../$(srcdir)/tk"; \
20872 libsrcdir="$$s/tk";; \
20873 esac; \
20874 $(SHELL) $${libsrcdir}/configure \
20875 $(HOST_CONFIGARGS) $${srcdiroption} \
20876 || exit 1
20877 @endif tk
20879 .PHONY: all-tk maybe-all-tk
20880 maybe-all-tk:
20881 @if tk
20882 maybe-all-tk: all-tk
20883 all-tk: configure-tk
20884 @r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20886 $(SET_LIB_PATH) \
20887 $(HOST_EXPORTS) \
20888 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20889 @endif tk
20891 .PHONY: check-tk maybe-check-tk
20892 maybe-check-tk:
20893 @if tk
20894 maybe-check-tk: check-tk
20896 check-tk:
20897 @r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(SET_LIB_PATH) \
20900 $(HOST_EXPORTS) \
20901 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20903 @endif tk
20905 .PHONY: install-tk maybe-install-tk
20906 maybe-install-tk:
20907 @if tk
20908 maybe-install-tk: install-tk
20910 install-tk: installdirs
20911 @r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20913 $(SET_LIB_PATH) \
20914 $(HOST_EXPORTS) \
20915 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20917 @endif tk
20919 # Other targets (info, dvi, etc.)
20921 .PHONY: maybe-info-tk info-tk
20922 maybe-info-tk:
20923 @if tk
20924 maybe-info-tk: info-tk
20926 info-tk: \
20927 configure-tk
20928 @[ -f ./tk/Makefile ] || exit 0; \
20929 r=`${PWD_COMMAND}`; export r; \
20930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20931 $(SET_LIB_PATH) \
20932 $(HOST_EXPORTS) \
20933 for flag in $(EXTRA_HOST_FLAGS); do \
20934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20935 done; \
20936 echo "Doing info in tk" ; \
20937 (cd tk && \
20938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20940 "RANLIB=$${RANLIB}" \
20941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20942 info) \
20943 || exit 1
20945 @endif tk
20947 .PHONY: maybe-dvi-tk dvi-tk
20948 maybe-dvi-tk:
20949 @if tk
20950 maybe-dvi-tk: dvi-tk
20952 dvi-tk: \
20953 configure-tk
20954 @[ -f ./tk/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(SET_LIB_PATH) \
20958 $(HOST_EXPORTS) \
20959 for flag in $(EXTRA_HOST_FLAGS); do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20961 done; \
20962 echo "Doing dvi in tk" ; \
20963 (cd tk && \
20964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20966 "RANLIB=$${RANLIB}" \
20967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20968 dvi) \
20969 || exit 1
20971 @endif tk
20973 .PHONY: maybe-TAGS-tk TAGS-tk
20974 maybe-TAGS-tk:
20975 @if tk
20976 maybe-TAGS-tk: TAGS-tk
20978 TAGS-tk: \
20979 configure-tk
20980 @[ -f ./tk/Makefile ] || exit 0; \
20981 r=`${PWD_COMMAND}`; export r; \
20982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20983 $(SET_LIB_PATH) \
20984 $(HOST_EXPORTS) \
20985 for flag in $(EXTRA_HOST_FLAGS); do \
20986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20987 done; \
20988 echo "Doing TAGS in tk" ; \
20989 (cd tk && \
20990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20992 "RANLIB=$${RANLIB}" \
20993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20994 TAGS) \
20995 || exit 1
20997 @endif tk
20999 .PHONY: maybe-install-info-tk install-info-tk
21000 maybe-install-info-tk:
21001 @if tk
21002 maybe-install-info-tk: install-info-tk
21004 install-info-tk: \
21005 configure-tk \
21006 info-tk
21007 @[ -f ./tk/Makefile ] || exit 0; \
21008 r=`${PWD_COMMAND}`; export r; \
21009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21010 $(SET_LIB_PATH) \
21011 $(HOST_EXPORTS) \
21012 for flag in $(EXTRA_HOST_FLAGS); do \
21013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21014 done; \
21015 echo "Doing install-info in tk" ; \
21016 (cd tk && \
21017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21019 "RANLIB=$${RANLIB}" \
21020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21021 install-info) \
21022 || exit 1
21024 @endif tk
21026 .PHONY: maybe-installcheck-tk installcheck-tk
21027 maybe-installcheck-tk:
21028 @if tk
21029 maybe-installcheck-tk: installcheck-tk
21031 installcheck-tk: \
21032 configure-tk
21033 @[ -f ./tk/Makefile ] || exit 0; \
21034 r=`${PWD_COMMAND}`; export r; \
21035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21036 $(SET_LIB_PATH) \
21037 $(HOST_EXPORTS) \
21038 for flag in $(EXTRA_HOST_FLAGS); do \
21039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21040 done; \
21041 echo "Doing installcheck in tk" ; \
21042 (cd tk && \
21043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21045 "RANLIB=$${RANLIB}" \
21046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21047 installcheck) \
21048 || exit 1
21050 @endif tk
21052 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21053 maybe-mostlyclean-tk:
21054 @if tk
21055 maybe-mostlyclean-tk: mostlyclean-tk
21057 mostlyclean-tk:
21058 @[ -f ./tk/Makefile ] || exit 0; \
21059 r=`${PWD_COMMAND}`; export r; \
21060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21061 $(SET_LIB_PATH) \
21062 $(HOST_EXPORTS) \
21063 for flag in $(EXTRA_HOST_FLAGS); do \
21064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21065 done; \
21066 echo "Doing mostlyclean in tk" ; \
21067 (cd tk && \
21068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21070 "RANLIB=$${RANLIB}" \
21071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21072 mostlyclean) \
21073 || exit 1
21075 @endif tk
21077 .PHONY: maybe-clean-tk clean-tk
21078 maybe-clean-tk:
21079 @if tk
21080 maybe-clean-tk: clean-tk
21082 clean-tk:
21083 @[ -f ./tk/Makefile ] || exit 0; \
21084 r=`${PWD_COMMAND}`; export r; \
21085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21086 $(SET_LIB_PATH) \
21087 $(HOST_EXPORTS) \
21088 for flag in $(EXTRA_HOST_FLAGS); do \
21089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21090 done; \
21091 echo "Doing clean in tk" ; \
21092 (cd tk && \
21093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21095 "RANLIB=$${RANLIB}" \
21096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21097 clean) \
21098 || exit 1
21100 @endif tk
21102 .PHONY: maybe-distclean-tk distclean-tk
21103 maybe-distclean-tk:
21104 @if tk
21105 maybe-distclean-tk: distclean-tk
21107 distclean-tk:
21108 @[ -f ./tk/Makefile ] || exit 0; \
21109 r=`${PWD_COMMAND}`; export r; \
21110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21111 $(SET_LIB_PATH) \
21112 $(HOST_EXPORTS) \
21113 for flag in $(EXTRA_HOST_FLAGS); do \
21114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21115 done; \
21116 echo "Doing distclean in tk" ; \
21117 (cd tk && \
21118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21120 "RANLIB=$${RANLIB}" \
21121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21122 distclean) \
21123 || exit 1
21125 @endif tk
21127 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21128 maybe-maintainer-clean-tk:
21129 @if tk
21130 maybe-maintainer-clean-tk: maintainer-clean-tk
21132 maintainer-clean-tk:
21133 @[ -f ./tk/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21136 $(SET_LIB_PATH) \
21137 $(HOST_EXPORTS) \
21138 for flag in $(EXTRA_HOST_FLAGS); do \
21139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21140 done; \
21141 echo "Doing maintainer-clean in tk" ; \
21142 (cd tk && \
21143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21145 "RANLIB=$${RANLIB}" \
21146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21147 maintainer-clean) \
21148 || exit 1
21150 @endif tk
21153 .PHONY: configure-tix maybe-configure-tix
21154 maybe-configure-tix:
21155 @if tix
21156 maybe-configure-tix: configure-tix
21157 configure-tix:
21158 @test ! -f tix/Makefile || exit 0; \
21159 [ -d tix ] || mkdir tix; \
21160 r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21162 $(HOST_EXPORTS) \
21163 echo Configuring in tix; \
21164 cd tix || exit 1; \
21165 case $(srcdir) in \
21166 \.) \
21167 srcdiroption="--srcdir=."; \
21168 libsrcdir=".";; \
21169 /* | [A-Za-z]:[\\/]*) \
21170 srcdiroption="--srcdir=$(srcdir)/tix"; \
21171 libsrcdir="$$s/tix";; \
21172 *) \
21173 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21174 libsrcdir="$$s/tix";; \
21175 esac; \
21176 $(SHELL) $${libsrcdir}/configure \
21177 $(HOST_CONFIGARGS) $${srcdiroption} \
21178 || exit 1
21179 @endif tix
21181 .PHONY: all-tix maybe-all-tix
21182 maybe-all-tix:
21183 @if tix
21184 maybe-all-tix: all-tix
21185 all-tix: configure-tix
21186 @r=`${PWD_COMMAND}`; export r; \
21187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21188 $(SET_LIB_PATH) \
21189 $(HOST_EXPORTS) \
21190 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21191 @endif tix
21193 .PHONY: check-tix maybe-check-tix
21194 maybe-check-tix:
21195 @if tix
21196 maybe-check-tix: check-tix
21198 check-tix:
21199 @r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 $(SET_LIB_PATH) \
21202 $(HOST_EXPORTS) \
21203 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21205 @endif tix
21207 .PHONY: install-tix maybe-install-tix
21208 maybe-install-tix:
21209 @if tix
21210 maybe-install-tix: install-tix
21212 install-tix: installdirs
21213 @r=`${PWD_COMMAND}`; export r; \
21214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21215 $(SET_LIB_PATH) \
21216 $(HOST_EXPORTS) \
21217 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21219 @endif tix
21221 # Other targets (info, dvi, etc.)
21223 .PHONY: maybe-info-tix info-tix
21224 maybe-info-tix:
21225 @if tix
21226 maybe-info-tix: info-tix
21228 info-tix: \
21229 configure-tix
21230 @[ -f ./tix/Makefile ] || exit 0; \
21231 r=`${PWD_COMMAND}`; export r; \
21232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21233 $(SET_LIB_PATH) \
21234 $(HOST_EXPORTS) \
21235 for flag in $(EXTRA_HOST_FLAGS); do \
21236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21237 done; \
21238 echo "Doing info in tix" ; \
21239 (cd tix && \
21240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21242 "RANLIB=$${RANLIB}" \
21243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21244 info) \
21245 || exit 1
21247 @endif tix
21249 .PHONY: maybe-dvi-tix dvi-tix
21250 maybe-dvi-tix:
21251 @if tix
21252 maybe-dvi-tix: dvi-tix
21254 dvi-tix: \
21255 configure-tix
21256 @[ -f ./tix/Makefile ] || exit 0; \
21257 r=`${PWD_COMMAND}`; export r; \
21258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21259 $(SET_LIB_PATH) \
21260 $(HOST_EXPORTS) \
21261 for flag in $(EXTRA_HOST_FLAGS); do \
21262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21263 done; \
21264 echo "Doing dvi in tix" ; \
21265 (cd tix && \
21266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21268 "RANLIB=$${RANLIB}" \
21269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21270 dvi) \
21271 || exit 1
21273 @endif tix
21275 .PHONY: maybe-TAGS-tix TAGS-tix
21276 maybe-TAGS-tix:
21277 @if tix
21278 maybe-TAGS-tix: TAGS-tix
21280 TAGS-tix: \
21281 configure-tix
21282 @[ -f ./tix/Makefile ] || exit 0; \
21283 r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 $(SET_LIB_PATH) \
21286 $(HOST_EXPORTS) \
21287 for flag in $(EXTRA_HOST_FLAGS); do \
21288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21289 done; \
21290 echo "Doing TAGS in tix" ; \
21291 (cd tix && \
21292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21294 "RANLIB=$${RANLIB}" \
21295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21296 TAGS) \
21297 || exit 1
21299 @endif tix
21301 .PHONY: maybe-install-info-tix install-info-tix
21302 maybe-install-info-tix:
21303 @if tix
21304 maybe-install-info-tix: install-info-tix
21306 install-info-tix: \
21307 configure-tix \
21308 info-tix
21309 @[ -f ./tix/Makefile ] || exit 0; \
21310 r=`${PWD_COMMAND}`; export r; \
21311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21312 $(SET_LIB_PATH) \
21313 $(HOST_EXPORTS) \
21314 for flag in $(EXTRA_HOST_FLAGS); do \
21315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21316 done; \
21317 echo "Doing install-info in tix" ; \
21318 (cd tix && \
21319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21321 "RANLIB=$${RANLIB}" \
21322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21323 install-info) \
21324 || exit 1
21326 @endif tix
21328 .PHONY: maybe-installcheck-tix installcheck-tix
21329 maybe-installcheck-tix:
21330 @if tix
21331 maybe-installcheck-tix: installcheck-tix
21333 installcheck-tix: \
21334 configure-tix
21335 @[ -f ./tix/Makefile ] || exit 0; \
21336 r=`${PWD_COMMAND}`; export r; \
21337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21338 $(SET_LIB_PATH) \
21339 $(HOST_EXPORTS) \
21340 for flag in $(EXTRA_HOST_FLAGS); do \
21341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21342 done; \
21343 echo "Doing installcheck in tix" ; \
21344 (cd tix && \
21345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21347 "RANLIB=$${RANLIB}" \
21348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21349 installcheck) \
21350 || exit 1
21352 @endif tix
21354 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21355 maybe-mostlyclean-tix:
21356 @if tix
21357 maybe-mostlyclean-tix: mostlyclean-tix
21359 mostlyclean-tix:
21360 @[ -f ./tix/Makefile ] || exit 0; \
21361 r=`${PWD_COMMAND}`; export r; \
21362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21363 $(SET_LIB_PATH) \
21364 $(HOST_EXPORTS) \
21365 for flag in $(EXTRA_HOST_FLAGS); do \
21366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21367 done; \
21368 echo "Doing mostlyclean in tix" ; \
21369 (cd tix && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 mostlyclean) \
21375 || exit 1
21377 @endif tix
21379 .PHONY: maybe-clean-tix clean-tix
21380 maybe-clean-tix:
21381 @if tix
21382 maybe-clean-tix: clean-tix
21384 clean-tix:
21385 @[ -f ./tix/Makefile ] || exit 0; \
21386 r=`${PWD_COMMAND}`; export r; \
21387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21388 $(SET_LIB_PATH) \
21389 $(HOST_EXPORTS) \
21390 for flag in $(EXTRA_HOST_FLAGS); do \
21391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21392 done; \
21393 echo "Doing clean in tix" ; \
21394 (cd tix && \
21395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21397 "RANLIB=$${RANLIB}" \
21398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21399 clean) \
21400 || exit 1
21402 @endif tix
21404 .PHONY: maybe-distclean-tix distclean-tix
21405 maybe-distclean-tix:
21406 @if tix
21407 maybe-distclean-tix: distclean-tix
21409 distclean-tix:
21410 @[ -f ./tix/Makefile ] || exit 0; \
21411 r=`${PWD_COMMAND}`; export r; \
21412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21413 $(SET_LIB_PATH) \
21414 $(HOST_EXPORTS) \
21415 for flag in $(EXTRA_HOST_FLAGS); do \
21416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21417 done; \
21418 echo "Doing distclean in tix" ; \
21419 (cd tix && \
21420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21422 "RANLIB=$${RANLIB}" \
21423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21424 distclean) \
21425 || exit 1
21427 @endif tix
21429 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21430 maybe-maintainer-clean-tix:
21431 @if tix
21432 maybe-maintainer-clean-tix: maintainer-clean-tix
21434 maintainer-clean-tix:
21435 @[ -f ./tix/Makefile ] || exit 0; \
21436 r=`${PWD_COMMAND}`; export r; \
21437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21438 $(SET_LIB_PATH) \
21439 $(HOST_EXPORTS) \
21440 for flag in $(EXTRA_HOST_FLAGS); do \
21441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21442 done; \
21443 echo "Doing maintainer-clean in tix" ; \
21444 (cd tix && \
21445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21447 "RANLIB=$${RANLIB}" \
21448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21449 maintainer-clean) \
21450 || exit 1
21452 @endif tix
21455 .PHONY: configure-libtermcap maybe-configure-libtermcap
21456 maybe-configure-libtermcap:
21457 @if libtermcap
21458 maybe-configure-libtermcap: configure-libtermcap
21459 configure-libtermcap:
21460 @test ! -f libtermcap/Makefile || exit 0; \
21461 [ -d libtermcap ] || mkdir libtermcap; \
21462 r=`${PWD_COMMAND}`; export r; \
21463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21464 $(HOST_EXPORTS) \
21465 echo Configuring in libtermcap; \
21466 cd libtermcap || exit 1; \
21467 case $(srcdir) in \
21468 \.) \
21469 srcdiroption="--srcdir=."; \
21470 libsrcdir=".";; \
21471 /* | [A-Za-z]:[\\/]*) \
21472 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21473 libsrcdir="$$s/libtermcap";; \
21474 *) \
21475 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21476 libsrcdir="$$s/libtermcap";; \
21477 esac; \
21478 $(SHELL) $${libsrcdir}/configure \
21479 $(HOST_CONFIGARGS) $${srcdiroption} \
21480 || exit 1
21481 @endif libtermcap
21483 .PHONY: all-libtermcap maybe-all-libtermcap
21484 maybe-all-libtermcap:
21485 @if libtermcap
21486 maybe-all-libtermcap: all-libtermcap
21487 all-libtermcap: configure-libtermcap
21488 @r=`${PWD_COMMAND}`; export r; \
21489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21490 $(SET_LIB_PATH) \
21491 $(HOST_EXPORTS) \
21492 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21493 @endif libtermcap
21495 .PHONY: check-libtermcap maybe-check-libtermcap
21496 maybe-check-libtermcap:
21497 @if libtermcap
21498 maybe-check-libtermcap: check-libtermcap
21500 check-libtermcap:
21502 @endif libtermcap
21504 .PHONY: install-libtermcap maybe-install-libtermcap
21505 maybe-install-libtermcap:
21506 @if libtermcap
21507 maybe-install-libtermcap: install-libtermcap
21509 install-libtermcap: installdirs
21510 @r=`${PWD_COMMAND}`; export r; \
21511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21512 $(SET_LIB_PATH) \
21513 $(HOST_EXPORTS) \
21514 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21516 @endif libtermcap
21518 # Other targets (info, dvi, etc.)
21520 .PHONY: maybe-info-libtermcap info-libtermcap
21521 maybe-info-libtermcap:
21522 @if libtermcap
21523 maybe-info-libtermcap: info-libtermcap
21525 info-libtermcap: \
21526 configure-libtermcap
21527 @[ -f ./libtermcap/Makefile ] || exit 0; \
21528 r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21530 $(SET_LIB_PATH) \
21531 $(HOST_EXPORTS) \
21532 for flag in $(EXTRA_HOST_FLAGS); do \
21533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21534 done; \
21535 echo "Doing info in libtermcap" ; \
21536 (cd libtermcap && \
21537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21539 "RANLIB=$${RANLIB}" \
21540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21541 info) \
21542 || exit 1
21544 @endif libtermcap
21546 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21547 maybe-dvi-libtermcap:
21548 @if libtermcap
21549 maybe-dvi-libtermcap: dvi-libtermcap
21551 dvi-libtermcap: \
21552 configure-libtermcap
21553 @[ -f ./libtermcap/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21556 $(SET_LIB_PATH) \
21557 $(HOST_EXPORTS) \
21558 for flag in $(EXTRA_HOST_FLAGS); do \
21559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21560 done; \
21561 echo "Doing dvi in libtermcap" ; \
21562 (cd libtermcap && \
21563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21565 "RANLIB=$${RANLIB}" \
21566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21567 dvi) \
21568 || exit 1
21570 @endif libtermcap
21572 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21573 maybe-TAGS-libtermcap:
21574 @if libtermcap
21575 maybe-TAGS-libtermcap: TAGS-libtermcap
21577 TAGS-libtermcap: \
21578 configure-libtermcap
21579 @[ -f ./libtermcap/Makefile ] || exit 0; \
21580 r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21582 $(SET_LIB_PATH) \
21583 $(HOST_EXPORTS) \
21584 for flag in $(EXTRA_HOST_FLAGS); do \
21585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21586 done; \
21587 echo "Doing TAGS in libtermcap" ; \
21588 (cd libtermcap && \
21589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21591 "RANLIB=$${RANLIB}" \
21592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21593 TAGS) \
21594 || exit 1
21596 @endif libtermcap
21598 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21599 maybe-install-info-libtermcap:
21600 @if libtermcap
21601 maybe-install-info-libtermcap: install-info-libtermcap
21603 install-info-libtermcap: \
21604 configure-libtermcap \
21605 info-libtermcap
21606 @[ -f ./libtermcap/Makefile ] || exit 0; \
21607 r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 $(SET_LIB_PATH) \
21610 $(HOST_EXPORTS) \
21611 for flag in $(EXTRA_HOST_FLAGS); do \
21612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21613 done; \
21614 echo "Doing install-info in libtermcap" ; \
21615 (cd libtermcap && \
21616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21618 "RANLIB=$${RANLIB}" \
21619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21620 install-info) \
21621 || exit 1
21623 @endif libtermcap
21625 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21626 maybe-installcheck-libtermcap:
21627 @if libtermcap
21628 maybe-installcheck-libtermcap: installcheck-libtermcap
21630 installcheck-libtermcap: \
21631 configure-libtermcap
21632 @[ -f ./libtermcap/Makefile ] || exit 0; \
21633 r=`${PWD_COMMAND}`; export r; \
21634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635 $(SET_LIB_PATH) \
21636 $(HOST_EXPORTS) \
21637 for flag in $(EXTRA_HOST_FLAGS); do \
21638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21639 done; \
21640 echo "Doing installcheck in libtermcap" ; \
21641 (cd libtermcap && \
21642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21644 "RANLIB=$${RANLIB}" \
21645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21646 installcheck) \
21647 || exit 1
21649 @endif libtermcap
21651 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21652 maybe-mostlyclean-libtermcap:
21653 @if libtermcap
21654 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21656 # libtermcap doesn't support mostlyclean.
21657 mostlyclean-libtermcap:
21659 @endif libtermcap
21661 .PHONY: maybe-clean-libtermcap clean-libtermcap
21662 maybe-clean-libtermcap:
21663 @if libtermcap
21664 maybe-clean-libtermcap: clean-libtermcap
21666 # libtermcap doesn't support clean.
21667 clean-libtermcap:
21669 @endif libtermcap
21671 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21672 maybe-distclean-libtermcap:
21673 @if libtermcap
21674 maybe-distclean-libtermcap: distclean-libtermcap
21676 # libtermcap doesn't support distclean.
21677 distclean-libtermcap:
21679 @endif libtermcap
21681 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21682 maybe-maintainer-clean-libtermcap:
21683 @if libtermcap
21684 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21686 # libtermcap doesn't support maintainer-clean.
21687 maintainer-clean-libtermcap:
21689 @endif libtermcap
21692 .PHONY: configure-utils maybe-configure-utils
21693 maybe-configure-utils:
21694 @if utils
21695 maybe-configure-utils: configure-utils
21696 configure-utils:
21697 @test ! -f utils/Makefile || exit 0; \
21698 [ -d utils ] || mkdir utils; \
21699 r=`${PWD_COMMAND}`; export r; \
21700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21701 $(HOST_EXPORTS) \
21702 echo Configuring in utils; \
21703 cd utils || exit 1; \
21704 case $(srcdir) in \
21705 \.) \
21706 srcdiroption="--srcdir=."; \
21707 libsrcdir=".";; \
21708 /* | [A-Za-z]:[\\/]*) \
21709 srcdiroption="--srcdir=$(srcdir)/utils"; \
21710 libsrcdir="$$s/utils";; \
21711 *) \
21712 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21713 libsrcdir="$$s/utils";; \
21714 esac; \
21715 $(SHELL) $${libsrcdir}/configure \
21716 $(HOST_CONFIGARGS) $${srcdiroption} \
21717 || exit 1
21718 @endif utils
21720 .PHONY: all-utils maybe-all-utils
21721 maybe-all-utils:
21722 @if utils
21723 maybe-all-utils: all-utils
21724 all-utils: configure-utils
21725 @r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 $(SET_LIB_PATH) \
21728 $(HOST_EXPORTS) \
21729 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21730 @endif utils
21732 .PHONY: check-utils maybe-check-utils
21733 maybe-check-utils:
21734 @if utils
21735 maybe-check-utils: check-utils
21737 check-utils:
21739 @endif utils
21741 .PHONY: install-utils maybe-install-utils
21742 maybe-install-utils:
21743 @if utils
21744 maybe-install-utils: install-utils
21746 install-utils: installdirs
21747 @r=`${PWD_COMMAND}`; export r; \
21748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21749 $(SET_LIB_PATH) \
21750 $(HOST_EXPORTS) \
21751 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21753 @endif utils
21755 # Other targets (info, dvi, etc.)
21757 .PHONY: maybe-info-utils info-utils
21758 maybe-info-utils:
21759 @if utils
21760 maybe-info-utils: info-utils
21762 info-utils: \
21763 configure-utils
21764 @[ -f ./utils/Makefile ] || exit 0; \
21765 r=`${PWD_COMMAND}`; export r; \
21766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21767 $(SET_LIB_PATH) \
21768 $(HOST_EXPORTS) \
21769 for flag in $(EXTRA_HOST_FLAGS); do \
21770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21771 done; \
21772 echo "Doing info in utils" ; \
21773 (cd utils && \
21774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21776 "RANLIB=$${RANLIB}" \
21777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21778 info) \
21779 || exit 1
21781 @endif utils
21783 .PHONY: maybe-dvi-utils dvi-utils
21784 maybe-dvi-utils:
21785 @if utils
21786 maybe-dvi-utils: dvi-utils
21788 dvi-utils: \
21789 configure-utils
21790 @[ -f ./utils/Makefile ] || exit 0; \
21791 r=`${PWD_COMMAND}`; export r; \
21792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21793 $(SET_LIB_PATH) \
21794 $(HOST_EXPORTS) \
21795 for flag in $(EXTRA_HOST_FLAGS); do \
21796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21797 done; \
21798 echo "Doing dvi in utils" ; \
21799 (cd utils && \
21800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21802 "RANLIB=$${RANLIB}" \
21803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21804 dvi) \
21805 || exit 1
21807 @endif utils
21809 .PHONY: maybe-TAGS-utils TAGS-utils
21810 maybe-TAGS-utils:
21811 @if utils
21812 maybe-TAGS-utils: TAGS-utils
21814 TAGS-utils: \
21815 configure-utils
21816 @[ -f ./utils/Makefile ] || exit 0; \
21817 r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21819 $(SET_LIB_PATH) \
21820 $(HOST_EXPORTS) \
21821 for flag in $(EXTRA_HOST_FLAGS); do \
21822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21823 done; \
21824 echo "Doing TAGS in utils" ; \
21825 (cd utils && \
21826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21828 "RANLIB=$${RANLIB}" \
21829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21830 TAGS) \
21831 || exit 1
21833 @endif utils
21835 .PHONY: maybe-install-info-utils install-info-utils
21836 maybe-install-info-utils:
21837 @if utils
21838 maybe-install-info-utils: install-info-utils
21840 install-info-utils: \
21841 configure-utils \
21842 info-utils
21843 @[ -f ./utils/Makefile ] || exit 0; \
21844 r=`${PWD_COMMAND}`; export r; \
21845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21846 $(SET_LIB_PATH) \
21847 $(HOST_EXPORTS) \
21848 for flag in $(EXTRA_HOST_FLAGS); do \
21849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21850 done; \
21851 echo "Doing install-info in utils" ; \
21852 (cd utils && \
21853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21855 "RANLIB=$${RANLIB}" \
21856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21857 install-info) \
21858 || exit 1
21860 @endif utils
21862 .PHONY: maybe-installcheck-utils installcheck-utils
21863 maybe-installcheck-utils:
21864 @if utils
21865 maybe-installcheck-utils: installcheck-utils
21867 installcheck-utils: \
21868 configure-utils
21869 @[ -f ./utils/Makefile ] || exit 0; \
21870 r=`${PWD_COMMAND}`; export r; \
21871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21872 $(SET_LIB_PATH) \
21873 $(HOST_EXPORTS) \
21874 for flag in $(EXTRA_HOST_FLAGS); do \
21875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21876 done; \
21877 echo "Doing installcheck in utils" ; \
21878 (cd utils && \
21879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21881 "RANLIB=$${RANLIB}" \
21882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21883 installcheck) \
21884 || exit 1
21886 @endif utils
21888 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21889 maybe-mostlyclean-utils:
21890 @if utils
21891 maybe-mostlyclean-utils: mostlyclean-utils
21893 mostlyclean-utils:
21894 @[ -f ./utils/Makefile ] || exit 0; \
21895 r=`${PWD_COMMAND}`; export r; \
21896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21897 $(SET_LIB_PATH) \
21898 $(HOST_EXPORTS) \
21899 for flag in $(EXTRA_HOST_FLAGS); do \
21900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21901 done; \
21902 echo "Doing mostlyclean in utils" ; \
21903 (cd utils && \
21904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21906 "RANLIB=$${RANLIB}" \
21907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21908 mostlyclean) \
21909 || exit 1
21911 @endif utils
21913 .PHONY: maybe-clean-utils clean-utils
21914 maybe-clean-utils:
21915 @if utils
21916 maybe-clean-utils: clean-utils
21918 clean-utils:
21919 @[ -f ./utils/Makefile ] || exit 0; \
21920 r=`${PWD_COMMAND}`; export r; \
21921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21922 $(SET_LIB_PATH) \
21923 $(HOST_EXPORTS) \
21924 for flag in $(EXTRA_HOST_FLAGS); do \
21925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21926 done; \
21927 echo "Doing clean in utils" ; \
21928 (cd utils && \
21929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21931 "RANLIB=$${RANLIB}" \
21932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21933 clean) \
21934 || exit 1
21936 @endif utils
21938 .PHONY: maybe-distclean-utils distclean-utils
21939 maybe-distclean-utils:
21940 @if utils
21941 maybe-distclean-utils: distclean-utils
21943 distclean-utils:
21944 @[ -f ./utils/Makefile ] || exit 0; \
21945 r=`${PWD_COMMAND}`; export r; \
21946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21947 $(SET_LIB_PATH) \
21948 $(HOST_EXPORTS) \
21949 for flag in $(EXTRA_HOST_FLAGS); do \
21950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21951 done; \
21952 echo "Doing distclean in utils" ; \
21953 (cd utils && \
21954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21956 "RANLIB=$${RANLIB}" \
21957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21958 distclean) \
21959 || exit 1
21961 @endif utils
21963 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
21964 maybe-maintainer-clean-utils:
21965 @if utils
21966 maybe-maintainer-clean-utils: maintainer-clean-utils
21968 maintainer-clean-utils:
21969 @[ -f ./utils/Makefile ] || exit 0; \
21970 r=`${PWD_COMMAND}`; export r; \
21971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21972 $(SET_LIB_PATH) \
21973 $(HOST_EXPORTS) \
21974 for flag in $(EXTRA_HOST_FLAGS); do \
21975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21976 done; \
21977 echo "Doing maintainer-clean in utils" ; \
21978 (cd utils && \
21979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21981 "RANLIB=$${RANLIB}" \
21982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21983 maintainer-clean) \
21984 || exit 1
21986 @endif utils
21990 # ---------------------------------------
21991 # Modules which run on the target machine
21992 # ---------------------------------------
21994 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21995 maybe-configure-target-libstdc++-v3:
21996 @if target-libstdc++-v3
21997 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
21999 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22000 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22001 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22002 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22003 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22005 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22006 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22007 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22008 r=`${PWD_COMMAND}`; export r; \
22009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22010 $(SET_LIB_PATH) \
22011 $(RAW_CXX_TARGET_EXPORTS) \
22012 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22013 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22014 case $(srcdir) in \
22015 /* | [A-Za-z]:[\\/]*) \
22016 topdir=$(srcdir) ;; \
22017 *) \
22018 case "$(TARGET_SUBDIR)" in \
22019 .) topdir="../$(srcdir)" ;; \
22020 *) topdir="../../$(srcdir)" ;; \
22021 esac ;; \
22022 esac; \
22023 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22024 libsrcdir="$$s/libstdc++-v3"; \
22025 rm -f no-such-file || : ; \
22026 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22027 $(TARGET_CONFIGARGS) $${srcdiroption} \
22028 --with-target-subdir="$(TARGET_SUBDIR)" \
22029 || exit 1
22030 @endif target-libstdc++-v3
22032 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22033 maybe-all-target-libstdc++-v3:
22034 @if target-libstdc++-v3
22035 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22036 all-target-libstdc++-v3: configure-target-libstdc++-v3
22037 @r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039 $(SET_LIB_PATH) \
22040 $(RAW_CXX_TARGET_EXPORTS) \
22041 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22042 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22043 @endif target-libstdc++-v3
22045 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22046 maybe-check-target-libstdc++-v3:
22047 @if target-libstdc++-v3
22048 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22050 check-target-libstdc++-v3:
22051 @r=`${PWD_COMMAND}`; export r; \
22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22053 $(SET_LIB_PATH) \
22054 $(RAW_CXX_TARGET_EXPORTS) \
22055 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22056 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22058 @endif target-libstdc++-v3
22060 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22061 maybe-install-target-libstdc++-v3:
22062 @if target-libstdc++-v3
22063 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22065 install-target-libstdc++-v3: installdirs
22066 @r=`${PWD_COMMAND}`; export r; \
22067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22068 $(SET_LIB_PATH) \
22069 $(RAW_CXX_TARGET_EXPORTS) \
22070 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22071 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22073 @endif target-libstdc++-v3
22075 # Other targets (info, dvi, etc.)
22077 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22078 maybe-info-target-libstdc++-v3:
22079 @if target-libstdc++-v3
22080 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22082 info-target-libstdc++-v3: \
22083 configure-target-libstdc++-v3
22084 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22085 r=`${PWD_COMMAND}`; export r; \
22086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22087 $(SET_LIB_PATH) \
22088 $(RAW_CXX_TARGET_EXPORTS) \
22089 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22090 for flag in $(EXTRA_TARGET_FLAGS); do \
22091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22092 done; \
22093 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096 "RANLIB=$${RANLIB}" \
22097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22098 info) \
22099 || exit 1
22101 @endif target-libstdc++-v3
22103 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22104 maybe-dvi-target-libstdc++-v3:
22105 @if target-libstdc++-v3
22106 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22108 dvi-target-libstdc++-v3: \
22109 configure-target-libstdc++-v3
22110 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(SET_LIB_PATH) \
22114 $(RAW_CXX_TARGET_EXPORTS) \
22115 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22116 for flag in $(EXTRA_TARGET_FLAGS); do \
22117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22118 done; \
22119 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22122 "RANLIB=$${RANLIB}" \
22123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22124 dvi) \
22125 || exit 1
22127 @endif target-libstdc++-v3
22129 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22130 maybe-TAGS-target-libstdc++-v3:
22131 @if target-libstdc++-v3
22132 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22134 TAGS-target-libstdc++-v3: \
22135 configure-target-libstdc++-v3
22136 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 $(SET_LIB_PATH) \
22140 $(RAW_CXX_TARGET_EXPORTS) \
22141 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22142 for flag in $(EXTRA_TARGET_FLAGS); do \
22143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22144 done; \
22145 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22148 "RANLIB=$${RANLIB}" \
22149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22150 TAGS) \
22151 || exit 1
22153 @endif target-libstdc++-v3
22155 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22156 maybe-install-info-target-libstdc++-v3:
22157 @if target-libstdc++-v3
22158 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22160 install-info-target-libstdc++-v3: \
22161 configure-target-libstdc++-v3 \
22162 info-target-libstdc++-v3
22163 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22164 r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22166 $(SET_LIB_PATH) \
22167 $(RAW_CXX_TARGET_EXPORTS) \
22168 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22169 for flag in $(EXTRA_TARGET_FLAGS); do \
22170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22171 done; \
22172 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22175 "RANLIB=$${RANLIB}" \
22176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22177 install-info) \
22178 || exit 1
22180 @endif target-libstdc++-v3
22182 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22183 maybe-installcheck-target-libstdc++-v3:
22184 @if target-libstdc++-v3
22185 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22187 installcheck-target-libstdc++-v3: \
22188 configure-target-libstdc++-v3
22189 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22190 r=`${PWD_COMMAND}`; export r; \
22191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22192 $(SET_LIB_PATH) \
22193 $(RAW_CXX_TARGET_EXPORTS) \
22194 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22195 for flag in $(EXTRA_TARGET_FLAGS); do \
22196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22197 done; \
22198 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22201 "RANLIB=$${RANLIB}" \
22202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22203 installcheck) \
22204 || exit 1
22206 @endif target-libstdc++-v3
22208 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22209 maybe-mostlyclean-target-libstdc++-v3:
22210 @if target-libstdc++-v3
22211 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22213 mostlyclean-target-libstdc++-v3:
22214 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22215 r=`${PWD_COMMAND}`; export r; \
22216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22217 $(SET_LIB_PATH) \
22218 $(RAW_CXX_TARGET_EXPORTS) \
22219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22220 for flag in $(EXTRA_TARGET_FLAGS); do \
22221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22222 done; \
22223 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22226 "RANLIB=$${RANLIB}" \
22227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22228 mostlyclean) \
22229 || exit 1
22231 @endif target-libstdc++-v3
22233 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22234 maybe-clean-target-libstdc++-v3:
22235 @if target-libstdc++-v3
22236 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22238 clean-target-libstdc++-v3:
22239 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22240 r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(SET_LIB_PATH) \
22243 $(RAW_CXX_TARGET_EXPORTS) \
22244 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22245 for flag in $(EXTRA_TARGET_FLAGS); do \
22246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22247 done; \
22248 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22251 "RANLIB=$${RANLIB}" \
22252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22253 clean) \
22254 || exit 1
22256 @endif target-libstdc++-v3
22258 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22259 maybe-distclean-target-libstdc++-v3:
22260 @if target-libstdc++-v3
22261 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22263 distclean-target-libstdc++-v3:
22264 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22265 r=`${PWD_COMMAND}`; export r; \
22266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 $(SET_LIB_PATH) \
22268 $(RAW_CXX_TARGET_EXPORTS) \
22269 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22270 for flag in $(EXTRA_TARGET_FLAGS); do \
22271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22272 done; \
22273 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276 "RANLIB=$${RANLIB}" \
22277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22278 distclean) \
22279 || exit 1
22281 @endif target-libstdc++-v3
22283 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22284 maybe-maintainer-clean-target-libstdc++-v3:
22285 @if target-libstdc++-v3
22286 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22288 maintainer-clean-target-libstdc++-v3:
22289 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22290 r=`${PWD_COMMAND}`; export r; \
22291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292 $(SET_LIB_PATH) \
22293 $(RAW_CXX_TARGET_EXPORTS) \
22294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22295 for flag in $(EXTRA_TARGET_FLAGS); do \
22296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22297 done; \
22298 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22301 "RANLIB=$${RANLIB}" \
22302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22303 maintainer-clean) \
22304 || exit 1
22306 @endif target-libstdc++-v3
22309 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22310 maybe-configure-target-libmudflap:
22311 @if target-libmudflap
22312 maybe-configure-target-libmudflap: configure-target-libmudflap
22314 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22315 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22316 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22317 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22318 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22320 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22321 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22323 r=`${PWD_COMMAND}`; export r; \
22324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22325 $(SET_LIB_PATH) \
22326 $(NORMAL_TARGET_EXPORTS) \
22327 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22328 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22329 case $(srcdir) in \
22330 /* | [A-Za-z]:[\\/]*) \
22331 topdir=$(srcdir) ;; \
22332 *) \
22333 case "$(TARGET_SUBDIR)" in \
22334 .) topdir="../$(srcdir)" ;; \
22335 *) topdir="../../$(srcdir)" ;; \
22336 esac ;; \
22337 esac; \
22338 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22339 libsrcdir="$$s/libmudflap"; \
22340 rm -f no-such-file || : ; \
22341 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22342 $(TARGET_CONFIGARGS) $${srcdiroption} \
22343 --with-target-subdir="$(TARGET_SUBDIR)" \
22344 || exit 1
22345 @endif target-libmudflap
22347 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22348 maybe-all-target-libmudflap:
22349 @if target-libmudflap
22350 maybe-all-target-libmudflap: all-target-libmudflap
22351 all-target-libmudflap: configure-target-libmudflap
22352 @r=`${PWD_COMMAND}`; export r; \
22353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22354 $(SET_LIB_PATH) \
22355 $(NORMAL_TARGET_EXPORTS) \
22356 (cd $(TARGET_SUBDIR)/libmudflap && \
22357 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22358 @endif target-libmudflap
22360 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22361 maybe-check-target-libmudflap:
22362 @if target-libmudflap
22363 maybe-check-target-libmudflap: check-target-libmudflap
22365 check-target-libmudflap:
22366 @r=`${PWD_COMMAND}`; export r; \
22367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22368 $(SET_LIB_PATH) \
22369 $(NORMAL_TARGET_EXPORTS) \
22370 (cd $(TARGET_SUBDIR)/libmudflap && \
22371 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22373 @endif target-libmudflap
22375 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22376 maybe-install-target-libmudflap:
22377 @if target-libmudflap
22378 maybe-install-target-libmudflap: install-target-libmudflap
22380 install-target-libmudflap: installdirs
22381 @r=`${PWD_COMMAND}`; export r; \
22382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(SET_LIB_PATH) \
22384 $(NORMAL_TARGET_EXPORTS) \
22385 (cd $(TARGET_SUBDIR)/libmudflap && \
22386 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22388 @endif target-libmudflap
22390 # Other targets (info, dvi, etc.)
22392 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22393 maybe-info-target-libmudflap:
22394 @if target-libmudflap
22395 maybe-info-target-libmudflap: info-target-libmudflap
22397 info-target-libmudflap: \
22398 configure-target-libmudflap
22399 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22400 r=`${PWD_COMMAND}`; export r; \
22401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22402 $(SET_LIB_PATH) \
22403 $(NORMAL_TARGET_EXPORTS) \
22404 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22405 for flag in $(EXTRA_TARGET_FLAGS); do \
22406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22407 done; \
22408 (cd $(TARGET_SUBDIR)/libmudflap && \
22409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22411 "RANLIB=$${RANLIB}" \
22412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22413 info) \
22414 || exit 1
22416 @endif target-libmudflap
22418 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22419 maybe-dvi-target-libmudflap:
22420 @if target-libmudflap
22421 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22423 dvi-target-libmudflap: \
22424 configure-target-libmudflap
22425 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 $(SET_LIB_PATH) \
22429 $(NORMAL_TARGET_EXPORTS) \
22430 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22431 for flag in $(EXTRA_TARGET_FLAGS); do \
22432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22433 done; \
22434 (cd $(TARGET_SUBDIR)/libmudflap && \
22435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22437 "RANLIB=$${RANLIB}" \
22438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22439 dvi) \
22440 || exit 1
22442 @endif target-libmudflap
22444 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22445 maybe-TAGS-target-libmudflap:
22446 @if target-libmudflap
22447 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22449 TAGS-target-libmudflap: \
22450 configure-target-libmudflap
22451 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22452 r=`${PWD_COMMAND}`; export r; \
22453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22454 $(SET_LIB_PATH) \
22455 $(NORMAL_TARGET_EXPORTS) \
22456 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22457 for flag in $(EXTRA_TARGET_FLAGS); do \
22458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22459 done; \
22460 (cd $(TARGET_SUBDIR)/libmudflap && \
22461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22463 "RANLIB=$${RANLIB}" \
22464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22465 TAGS) \
22466 || exit 1
22468 @endif target-libmudflap
22470 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22471 maybe-install-info-target-libmudflap:
22472 @if target-libmudflap
22473 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22475 install-info-target-libmudflap: \
22476 configure-target-libmudflap \
22477 info-target-libmudflap
22478 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22479 r=`${PWD_COMMAND}`; export r; \
22480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22481 $(SET_LIB_PATH) \
22482 $(NORMAL_TARGET_EXPORTS) \
22483 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22484 for flag in $(EXTRA_TARGET_FLAGS); do \
22485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22486 done; \
22487 (cd $(TARGET_SUBDIR)/libmudflap && \
22488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22490 "RANLIB=$${RANLIB}" \
22491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22492 install-info) \
22493 || exit 1
22495 @endif target-libmudflap
22497 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22498 maybe-installcheck-target-libmudflap:
22499 @if target-libmudflap
22500 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22502 installcheck-target-libmudflap: \
22503 configure-target-libmudflap
22504 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(SET_LIB_PATH) \
22508 $(NORMAL_TARGET_EXPORTS) \
22509 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22510 for flag in $(EXTRA_TARGET_FLAGS); do \
22511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22512 done; \
22513 (cd $(TARGET_SUBDIR)/libmudflap && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22518 installcheck) \
22519 || exit 1
22521 @endif target-libmudflap
22523 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22524 maybe-mostlyclean-target-libmudflap:
22525 @if target-libmudflap
22526 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22528 mostlyclean-target-libmudflap:
22529 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22530 r=`${PWD_COMMAND}`; export r; \
22531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22532 $(SET_LIB_PATH) \
22533 $(NORMAL_TARGET_EXPORTS) \
22534 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22535 for flag in $(EXTRA_TARGET_FLAGS); do \
22536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22537 done; \
22538 (cd $(TARGET_SUBDIR)/libmudflap && \
22539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22541 "RANLIB=$${RANLIB}" \
22542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22543 mostlyclean) \
22544 || exit 1
22546 @endif target-libmudflap
22548 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22549 maybe-clean-target-libmudflap:
22550 @if target-libmudflap
22551 maybe-clean-target-libmudflap: clean-target-libmudflap
22553 clean-target-libmudflap:
22554 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22555 r=`${PWD_COMMAND}`; export r; \
22556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22557 $(SET_LIB_PATH) \
22558 $(NORMAL_TARGET_EXPORTS) \
22559 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22560 for flag in $(EXTRA_TARGET_FLAGS); do \
22561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22562 done; \
22563 (cd $(TARGET_SUBDIR)/libmudflap && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22566 "RANLIB=$${RANLIB}" \
22567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22568 clean) \
22569 || exit 1
22571 @endif target-libmudflap
22573 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22574 maybe-distclean-target-libmudflap:
22575 @if target-libmudflap
22576 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22578 distclean-target-libmudflap:
22579 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22580 r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 $(SET_LIB_PATH) \
22583 $(NORMAL_TARGET_EXPORTS) \
22584 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22585 for flag in $(EXTRA_TARGET_FLAGS); do \
22586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22587 done; \
22588 (cd $(TARGET_SUBDIR)/libmudflap && \
22589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22591 "RANLIB=$${RANLIB}" \
22592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22593 distclean) \
22594 || exit 1
22596 @endif target-libmudflap
22598 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22599 maybe-maintainer-clean-target-libmudflap:
22600 @if target-libmudflap
22601 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22603 maintainer-clean-target-libmudflap:
22604 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22605 r=`${PWD_COMMAND}`; export r; \
22606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22607 $(SET_LIB_PATH) \
22608 $(NORMAL_TARGET_EXPORTS) \
22609 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22610 for flag in $(EXTRA_TARGET_FLAGS); do \
22611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22612 done; \
22613 (cd $(TARGET_SUBDIR)/libmudflap && \
22614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22616 "RANLIB=$${RANLIB}" \
22617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22618 maintainer-clean) \
22619 || exit 1
22621 @endif target-libmudflap
22624 .PHONY: configure-target-newlib maybe-configure-target-newlib
22625 maybe-configure-target-newlib:
22626 @if target-newlib
22627 maybe-configure-target-newlib: configure-target-newlib
22629 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22630 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22632 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22633 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22635 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22636 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22638 r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 $(SET_LIB_PATH) \
22641 $(NORMAL_TARGET_EXPORTS) \
22642 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22643 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22644 case $(srcdir) in \
22645 /* | [A-Za-z]:[\\/]*) \
22646 topdir=$(srcdir) ;; \
22647 *) \
22648 case "$(TARGET_SUBDIR)" in \
22649 .) topdir="../$(srcdir)" ;; \
22650 *) topdir="../../$(srcdir)" ;; \
22651 esac ;; \
22652 esac; \
22653 srcdiroption="--srcdir=$${topdir}/newlib"; \
22654 libsrcdir="$$s/newlib"; \
22655 rm -f no-such-file || : ; \
22656 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22657 $(TARGET_CONFIGARGS) $${srcdiroption} \
22658 --with-target-subdir="$(TARGET_SUBDIR)" \
22659 || exit 1
22660 @endif target-newlib
22662 .PHONY: all-target-newlib maybe-all-target-newlib
22663 maybe-all-target-newlib:
22664 @if target-newlib
22665 maybe-all-target-newlib: all-target-newlib
22666 all-target-newlib: configure-target-newlib
22667 @r=`${PWD_COMMAND}`; export r; \
22668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 $(SET_LIB_PATH) \
22670 $(NORMAL_TARGET_EXPORTS) \
22671 (cd $(TARGET_SUBDIR)/newlib && \
22672 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22673 @endif target-newlib
22675 .PHONY: check-target-newlib maybe-check-target-newlib
22676 maybe-check-target-newlib:
22677 @if target-newlib
22678 maybe-check-target-newlib: check-target-newlib
22680 check-target-newlib:
22681 @r=`${PWD_COMMAND}`; export r; \
22682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22683 $(SET_LIB_PATH) \
22684 $(NORMAL_TARGET_EXPORTS) \
22685 (cd $(TARGET_SUBDIR)/newlib && \
22686 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22688 @endif target-newlib
22690 .PHONY: install-target-newlib maybe-install-target-newlib
22691 maybe-install-target-newlib:
22692 @if target-newlib
22693 maybe-install-target-newlib: install-target-newlib
22695 install-target-newlib: installdirs
22696 @r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 $(SET_LIB_PATH) \
22699 $(NORMAL_TARGET_EXPORTS) \
22700 (cd $(TARGET_SUBDIR)/newlib && \
22701 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22703 @endif target-newlib
22705 # Other targets (info, dvi, etc.)
22707 .PHONY: maybe-info-target-newlib info-target-newlib
22708 maybe-info-target-newlib:
22709 @if target-newlib
22710 maybe-info-target-newlib: info-target-newlib
22712 info-target-newlib: \
22713 configure-target-newlib
22714 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22715 r=`${PWD_COMMAND}`; export r; \
22716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22717 $(SET_LIB_PATH) \
22718 $(NORMAL_TARGET_EXPORTS) \
22719 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22720 for flag in $(EXTRA_TARGET_FLAGS); do \
22721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22722 done; \
22723 (cd $(TARGET_SUBDIR)/newlib && \
22724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22726 "RANLIB=$${RANLIB}" \
22727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22728 info) \
22729 || exit 1
22731 @endif target-newlib
22733 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22734 maybe-dvi-target-newlib:
22735 @if target-newlib
22736 maybe-dvi-target-newlib: dvi-target-newlib
22738 dvi-target-newlib: \
22739 configure-target-newlib
22740 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22741 r=`${PWD_COMMAND}`; export r; \
22742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 $(SET_LIB_PATH) \
22744 $(NORMAL_TARGET_EXPORTS) \
22745 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22746 for flag in $(EXTRA_TARGET_FLAGS); do \
22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22748 done; \
22749 (cd $(TARGET_SUBDIR)/newlib && \
22750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22752 "RANLIB=$${RANLIB}" \
22753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22754 dvi) \
22755 || exit 1
22757 @endif target-newlib
22759 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22760 maybe-TAGS-target-newlib:
22761 @if target-newlib
22762 maybe-TAGS-target-newlib: TAGS-target-newlib
22764 TAGS-target-newlib: \
22765 configure-target-newlib
22766 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(SET_LIB_PATH) \
22770 $(NORMAL_TARGET_EXPORTS) \
22771 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22772 for flag in $(EXTRA_TARGET_FLAGS); do \
22773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774 done; \
22775 (cd $(TARGET_SUBDIR)/newlib && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 TAGS) \
22781 || exit 1
22783 @endif target-newlib
22785 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22786 maybe-install-info-target-newlib:
22787 @if target-newlib
22788 maybe-install-info-target-newlib: install-info-target-newlib
22790 install-info-target-newlib: \
22791 configure-target-newlib \
22792 info-target-newlib
22793 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22794 r=`${PWD_COMMAND}`; export r; \
22795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22796 $(SET_LIB_PATH) \
22797 $(NORMAL_TARGET_EXPORTS) \
22798 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22799 for flag in $(EXTRA_TARGET_FLAGS); do \
22800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22801 done; \
22802 (cd $(TARGET_SUBDIR)/newlib && \
22803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22805 "RANLIB=$${RANLIB}" \
22806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22807 install-info) \
22808 || exit 1
22810 @endif target-newlib
22812 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22813 maybe-installcheck-target-newlib:
22814 @if target-newlib
22815 maybe-installcheck-target-newlib: installcheck-target-newlib
22817 installcheck-target-newlib: \
22818 configure-target-newlib
22819 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22820 r=`${PWD_COMMAND}`; export r; \
22821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22822 $(SET_LIB_PATH) \
22823 $(NORMAL_TARGET_EXPORTS) \
22824 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22825 for flag in $(EXTRA_TARGET_FLAGS); do \
22826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22827 done; \
22828 (cd $(TARGET_SUBDIR)/newlib && \
22829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22831 "RANLIB=$${RANLIB}" \
22832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22833 installcheck) \
22834 || exit 1
22836 @endif target-newlib
22838 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22839 maybe-mostlyclean-target-newlib:
22840 @if target-newlib
22841 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22843 mostlyclean-target-newlib:
22844 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22845 r=`${PWD_COMMAND}`; export r; \
22846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22847 $(SET_LIB_PATH) \
22848 $(NORMAL_TARGET_EXPORTS) \
22849 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22850 for flag in $(EXTRA_TARGET_FLAGS); do \
22851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22852 done; \
22853 (cd $(TARGET_SUBDIR)/newlib && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22858 mostlyclean) \
22859 || exit 1
22861 @endif target-newlib
22863 .PHONY: maybe-clean-target-newlib clean-target-newlib
22864 maybe-clean-target-newlib:
22865 @if target-newlib
22866 maybe-clean-target-newlib: clean-target-newlib
22868 clean-target-newlib:
22869 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22870 r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22872 $(SET_LIB_PATH) \
22873 $(NORMAL_TARGET_EXPORTS) \
22874 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22875 for flag in $(EXTRA_TARGET_FLAGS); do \
22876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22877 done; \
22878 (cd $(TARGET_SUBDIR)/newlib && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22883 clean) \
22884 || exit 1
22886 @endif target-newlib
22888 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22889 maybe-distclean-target-newlib:
22890 @if target-newlib
22891 maybe-distclean-target-newlib: distclean-target-newlib
22893 distclean-target-newlib:
22894 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(SET_LIB_PATH) \
22898 $(NORMAL_TARGET_EXPORTS) \
22899 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22900 for flag in $(EXTRA_TARGET_FLAGS); do \
22901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 done; \
22903 (cd $(TARGET_SUBDIR)/newlib && \
22904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22906 "RANLIB=$${RANLIB}" \
22907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22908 distclean) \
22909 || exit 1
22911 @endif target-newlib
22913 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22914 maybe-maintainer-clean-target-newlib:
22915 @if target-newlib
22916 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22918 maintainer-clean-target-newlib:
22919 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(SET_LIB_PATH) \
22923 $(NORMAL_TARGET_EXPORTS) \
22924 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22925 for flag in $(EXTRA_TARGET_FLAGS); do \
22926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 done; \
22928 (cd $(TARGET_SUBDIR)/newlib && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22933 maintainer-clean) \
22934 || exit 1
22936 @endif target-newlib
22939 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
22940 maybe-configure-target-libgfortran:
22941 @if target-libgfortran
22942 maybe-configure-target-libgfortran: configure-target-libgfortran
22944 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22945 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
22946 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22947 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
22948 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
22950 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
22951 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
22952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22953 r=`${PWD_COMMAND}`; export r; \
22954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22955 $(SET_LIB_PATH) \
22956 $(NORMAL_TARGET_EXPORTS) \
22957 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
22958 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
22959 case $(srcdir) in \
22960 /* | [A-Za-z]:[\\/]*) \
22961 topdir=$(srcdir) ;; \
22962 *) \
22963 case "$(TARGET_SUBDIR)" in \
22964 .) topdir="../$(srcdir)" ;; \
22965 *) topdir="../../$(srcdir)" ;; \
22966 esac ;; \
22967 esac; \
22968 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
22969 libsrcdir="$$s/libgfortran"; \
22970 rm -f no-such-file || : ; \
22971 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22972 $(TARGET_CONFIGARGS) $${srcdiroption} \
22973 --with-target-subdir="$(TARGET_SUBDIR)" \
22974 || exit 1
22975 @endif target-libgfortran
22977 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
22978 maybe-all-target-libgfortran:
22979 @if target-libgfortran
22980 maybe-all-target-libgfortran: all-target-libgfortran
22981 all-target-libgfortran: configure-target-libgfortran
22982 @r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(SET_LIB_PATH) \
22985 $(NORMAL_TARGET_EXPORTS) \
22986 (cd $(TARGET_SUBDIR)/libgfortran && \
22987 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22988 @endif target-libgfortran
22990 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
22991 maybe-check-target-libgfortran:
22992 @if target-libgfortran
22993 maybe-check-target-libgfortran: check-target-libgfortran
22995 check-target-libgfortran:
22996 @r=`${PWD_COMMAND}`; export r; \
22997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22998 $(SET_LIB_PATH) \
22999 $(NORMAL_TARGET_EXPORTS) \
23000 (cd $(TARGET_SUBDIR)/libgfortran && \
23001 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23003 @endif target-libgfortran
23005 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23006 maybe-install-target-libgfortran:
23007 @if target-libgfortran
23008 maybe-install-target-libgfortran: install-target-libgfortran
23010 install-target-libgfortran: installdirs
23011 @r=`${PWD_COMMAND}`; export r; \
23012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 $(SET_LIB_PATH) \
23014 $(NORMAL_TARGET_EXPORTS) \
23015 (cd $(TARGET_SUBDIR)/libgfortran && \
23016 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23018 @endif target-libgfortran
23020 # Other targets (info, dvi, etc.)
23022 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23023 maybe-info-target-libgfortran:
23024 @if target-libgfortran
23025 maybe-info-target-libgfortran: info-target-libgfortran
23027 info-target-libgfortran: \
23028 configure-target-libgfortran
23029 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23030 r=`${PWD_COMMAND}`; export r; \
23031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23032 $(SET_LIB_PATH) \
23033 $(NORMAL_TARGET_EXPORTS) \
23034 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23035 for flag in $(EXTRA_TARGET_FLAGS); do \
23036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23037 done; \
23038 (cd $(TARGET_SUBDIR)/libgfortran && \
23039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23041 "RANLIB=$${RANLIB}" \
23042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23043 info) \
23044 || exit 1
23046 @endif target-libgfortran
23048 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23049 maybe-dvi-target-libgfortran:
23050 @if target-libgfortran
23051 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23053 dvi-target-libgfortran: \
23054 configure-target-libgfortran
23055 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23056 r=`${PWD_COMMAND}`; export r; \
23057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23058 $(SET_LIB_PATH) \
23059 $(NORMAL_TARGET_EXPORTS) \
23060 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23061 for flag in $(EXTRA_TARGET_FLAGS); do \
23062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23063 done; \
23064 (cd $(TARGET_SUBDIR)/libgfortran && \
23065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23067 "RANLIB=$${RANLIB}" \
23068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23069 dvi) \
23070 || exit 1
23072 @endif target-libgfortran
23074 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23075 maybe-TAGS-target-libgfortran:
23076 @if target-libgfortran
23077 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23079 TAGS-target-libgfortran: \
23080 configure-target-libgfortran
23081 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23082 r=`${PWD_COMMAND}`; export r; \
23083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23084 $(SET_LIB_PATH) \
23085 $(NORMAL_TARGET_EXPORTS) \
23086 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23087 for flag in $(EXTRA_TARGET_FLAGS); do \
23088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23089 done; \
23090 (cd $(TARGET_SUBDIR)/libgfortran && \
23091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23093 "RANLIB=$${RANLIB}" \
23094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23095 TAGS) \
23096 || exit 1
23098 @endif target-libgfortran
23100 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23101 maybe-install-info-target-libgfortran:
23102 @if target-libgfortran
23103 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23105 install-info-target-libgfortran: \
23106 configure-target-libgfortran \
23107 info-target-libgfortran
23108 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23109 r=`${PWD_COMMAND}`; export r; \
23110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23111 $(SET_LIB_PATH) \
23112 $(NORMAL_TARGET_EXPORTS) \
23113 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23114 for flag in $(EXTRA_TARGET_FLAGS); do \
23115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23116 done; \
23117 (cd $(TARGET_SUBDIR)/libgfortran && \
23118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23120 "RANLIB=$${RANLIB}" \
23121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23122 install-info) \
23123 || exit 1
23125 @endif target-libgfortran
23127 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23128 maybe-installcheck-target-libgfortran:
23129 @if target-libgfortran
23130 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23132 installcheck-target-libgfortran: \
23133 configure-target-libgfortran
23134 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23135 r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 $(SET_LIB_PATH) \
23138 $(NORMAL_TARGET_EXPORTS) \
23139 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23140 for flag in $(EXTRA_TARGET_FLAGS); do \
23141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23142 done; \
23143 (cd $(TARGET_SUBDIR)/libgfortran && \
23144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23146 "RANLIB=$${RANLIB}" \
23147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23148 installcheck) \
23149 || exit 1
23151 @endif target-libgfortran
23153 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23154 maybe-mostlyclean-target-libgfortran:
23155 @if target-libgfortran
23156 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23158 mostlyclean-target-libgfortran:
23159 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23160 r=`${PWD_COMMAND}`; export r; \
23161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23162 $(SET_LIB_PATH) \
23163 $(NORMAL_TARGET_EXPORTS) \
23164 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23165 for flag in $(EXTRA_TARGET_FLAGS); do \
23166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23167 done; \
23168 (cd $(TARGET_SUBDIR)/libgfortran && \
23169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23171 "RANLIB=$${RANLIB}" \
23172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23173 mostlyclean) \
23174 || exit 1
23176 @endif target-libgfortran
23178 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23179 maybe-clean-target-libgfortran:
23180 @if target-libgfortran
23181 maybe-clean-target-libgfortran: clean-target-libgfortran
23183 clean-target-libgfortran:
23184 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23185 r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(SET_LIB_PATH) \
23188 $(NORMAL_TARGET_EXPORTS) \
23189 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23190 for flag in $(EXTRA_TARGET_FLAGS); do \
23191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23192 done; \
23193 (cd $(TARGET_SUBDIR)/libgfortran && \
23194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23196 "RANLIB=$${RANLIB}" \
23197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23198 clean) \
23199 || exit 1
23201 @endif target-libgfortran
23203 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23204 maybe-distclean-target-libgfortran:
23205 @if target-libgfortran
23206 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23208 distclean-target-libgfortran:
23209 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23210 r=`${PWD_COMMAND}`; export r; \
23211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23212 $(SET_LIB_PATH) \
23213 $(NORMAL_TARGET_EXPORTS) \
23214 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23215 for flag in $(EXTRA_TARGET_FLAGS); do \
23216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23217 done; \
23218 (cd $(TARGET_SUBDIR)/libgfortran && \
23219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23221 "RANLIB=$${RANLIB}" \
23222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23223 distclean) \
23224 || exit 1
23226 @endif target-libgfortran
23228 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23229 maybe-maintainer-clean-target-libgfortran:
23230 @if target-libgfortran
23231 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23233 maintainer-clean-target-libgfortran:
23234 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23235 r=`${PWD_COMMAND}`; export r; \
23236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23237 $(SET_LIB_PATH) \
23238 $(NORMAL_TARGET_EXPORTS) \
23239 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23240 for flag in $(EXTRA_TARGET_FLAGS); do \
23241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23242 done; \
23243 (cd $(TARGET_SUBDIR)/libgfortran && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23248 maintainer-clean) \
23249 || exit 1
23251 @endif target-libgfortran
23254 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23255 maybe-configure-target-libobjc:
23256 @if target-libobjc
23257 maybe-configure-target-libobjc: configure-target-libobjc
23259 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23260 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23261 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23262 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23263 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23265 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23266 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23268 r=`${PWD_COMMAND}`; export r; \
23269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23270 $(SET_LIB_PATH) \
23271 $(NORMAL_TARGET_EXPORTS) \
23272 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23273 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23274 case $(srcdir) in \
23275 /* | [A-Za-z]:[\\/]*) \
23276 topdir=$(srcdir) ;; \
23277 *) \
23278 case "$(TARGET_SUBDIR)" in \
23279 .) topdir="../$(srcdir)" ;; \
23280 *) topdir="../../$(srcdir)" ;; \
23281 esac ;; \
23282 esac; \
23283 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23284 libsrcdir="$$s/libobjc"; \
23285 rm -f no-such-file || : ; \
23286 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23287 $(TARGET_CONFIGARGS) $${srcdiroption} \
23288 --with-target-subdir="$(TARGET_SUBDIR)" \
23289 || exit 1
23290 @endif target-libobjc
23292 .PHONY: all-target-libobjc maybe-all-target-libobjc
23293 maybe-all-target-libobjc:
23294 @if target-libobjc
23295 maybe-all-target-libobjc: all-target-libobjc
23296 all-target-libobjc: configure-target-libobjc
23297 @r=`${PWD_COMMAND}`; export r; \
23298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299 $(SET_LIB_PATH) \
23300 $(NORMAL_TARGET_EXPORTS) \
23301 (cd $(TARGET_SUBDIR)/libobjc && \
23302 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23303 @endif target-libobjc
23305 .PHONY: check-target-libobjc maybe-check-target-libobjc
23306 maybe-check-target-libobjc:
23307 @if target-libobjc
23308 maybe-check-target-libobjc: check-target-libobjc
23310 check-target-libobjc:
23311 @r=`${PWD_COMMAND}`; export r; \
23312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 $(SET_LIB_PATH) \
23314 $(NORMAL_TARGET_EXPORTS) \
23315 (cd $(TARGET_SUBDIR)/libobjc && \
23316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23318 @endif target-libobjc
23320 .PHONY: install-target-libobjc maybe-install-target-libobjc
23321 maybe-install-target-libobjc:
23322 @if target-libobjc
23323 maybe-install-target-libobjc: install-target-libobjc
23325 install-target-libobjc: installdirs
23326 @r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 $(SET_LIB_PATH) \
23329 $(NORMAL_TARGET_EXPORTS) \
23330 (cd $(TARGET_SUBDIR)/libobjc && \
23331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23333 @endif target-libobjc
23335 # Other targets (info, dvi, etc.)
23337 .PHONY: maybe-info-target-libobjc info-target-libobjc
23338 maybe-info-target-libobjc:
23339 @if target-libobjc
23340 maybe-info-target-libobjc: info-target-libobjc
23342 info-target-libobjc: \
23343 configure-target-libobjc
23344 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23345 r=`${PWD_COMMAND}`; export r; \
23346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23347 $(SET_LIB_PATH) \
23348 $(NORMAL_TARGET_EXPORTS) \
23349 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23350 for flag in $(EXTRA_TARGET_FLAGS); do \
23351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23352 done; \
23353 (cd $(TARGET_SUBDIR)/libobjc && \
23354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23356 "RANLIB=$${RANLIB}" \
23357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23358 info) \
23359 || exit 1
23361 @endif target-libobjc
23363 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23364 maybe-dvi-target-libobjc:
23365 @if target-libobjc
23366 maybe-dvi-target-libobjc: dvi-target-libobjc
23368 dvi-target-libobjc: \
23369 configure-target-libobjc
23370 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23371 r=`${PWD_COMMAND}`; export r; \
23372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23373 $(SET_LIB_PATH) \
23374 $(NORMAL_TARGET_EXPORTS) \
23375 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23376 for flag in $(EXTRA_TARGET_FLAGS); do \
23377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23378 done; \
23379 (cd $(TARGET_SUBDIR)/libobjc && \
23380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23382 "RANLIB=$${RANLIB}" \
23383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23384 dvi) \
23385 || exit 1
23387 @endif target-libobjc
23389 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23390 maybe-TAGS-target-libobjc:
23391 @if target-libobjc
23392 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23394 TAGS-target-libobjc: \
23395 configure-target-libobjc
23396 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23397 r=`${PWD_COMMAND}`; export r; \
23398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23399 $(SET_LIB_PATH) \
23400 $(NORMAL_TARGET_EXPORTS) \
23401 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23402 for flag in $(EXTRA_TARGET_FLAGS); do \
23403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23404 done; \
23405 (cd $(TARGET_SUBDIR)/libobjc && \
23406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23408 "RANLIB=$${RANLIB}" \
23409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23410 TAGS) \
23411 || exit 1
23413 @endif target-libobjc
23415 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23416 maybe-install-info-target-libobjc:
23417 @if target-libobjc
23418 maybe-install-info-target-libobjc: install-info-target-libobjc
23420 install-info-target-libobjc: \
23421 configure-target-libobjc \
23422 info-target-libobjc
23423 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23424 r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(SET_LIB_PATH) \
23427 $(NORMAL_TARGET_EXPORTS) \
23428 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23429 for flag in $(EXTRA_TARGET_FLAGS); do \
23430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23431 done; \
23432 (cd $(TARGET_SUBDIR)/libobjc && \
23433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23435 "RANLIB=$${RANLIB}" \
23436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23437 install-info) \
23438 || exit 1
23440 @endif target-libobjc
23442 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23443 maybe-installcheck-target-libobjc:
23444 @if target-libobjc
23445 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23447 installcheck-target-libobjc: \
23448 configure-target-libobjc
23449 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23452 $(SET_LIB_PATH) \
23453 $(NORMAL_TARGET_EXPORTS) \
23454 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23455 for flag in $(EXTRA_TARGET_FLAGS); do \
23456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 done; \
23458 (cd $(TARGET_SUBDIR)/libobjc && \
23459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23461 "RANLIB=$${RANLIB}" \
23462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23463 installcheck) \
23464 || exit 1
23466 @endif target-libobjc
23468 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23469 maybe-mostlyclean-target-libobjc:
23470 @if target-libobjc
23471 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23473 mostlyclean-target-libobjc:
23474 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23475 r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23477 $(SET_LIB_PATH) \
23478 $(NORMAL_TARGET_EXPORTS) \
23479 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23480 for flag in $(EXTRA_TARGET_FLAGS); do \
23481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23482 done; \
23483 (cd $(TARGET_SUBDIR)/libobjc && \
23484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23486 "RANLIB=$${RANLIB}" \
23487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23488 mostlyclean) \
23489 || exit 1
23491 @endif target-libobjc
23493 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23494 maybe-clean-target-libobjc:
23495 @if target-libobjc
23496 maybe-clean-target-libobjc: clean-target-libobjc
23498 clean-target-libobjc:
23499 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23500 r=`${PWD_COMMAND}`; export r; \
23501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23502 $(SET_LIB_PATH) \
23503 $(NORMAL_TARGET_EXPORTS) \
23504 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23505 for flag in $(EXTRA_TARGET_FLAGS); do \
23506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23507 done; \
23508 (cd $(TARGET_SUBDIR)/libobjc && \
23509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23511 "RANLIB=$${RANLIB}" \
23512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23513 clean) \
23514 || exit 1
23516 @endif target-libobjc
23518 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23519 maybe-distclean-target-libobjc:
23520 @if target-libobjc
23521 maybe-distclean-target-libobjc: distclean-target-libobjc
23523 distclean-target-libobjc:
23524 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23525 r=`${PWD_COMMAND}`; export r; \
23526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23527 $(SET_LIB_PATH) \
23528 $(NORMAL_TARGET_EXPORTS) \
23529 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23530 for flag in $(EXTRA_TARGET_FLAGS); do \
23531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23532 done; \
23533 (cd $(TARGET_SUBDIR)/libobjc && \
23534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23536 "RANLIB=$${RANLIB}" \
23537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23538 distclean) \
23539 || exit 1
23541 @endif target-libobjc
23543 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23544 maybe-maintainer-clean-target-libobjc:
23545 @if target-libobjc
23546 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23548 maintainer-clean-target-libobjc:
23549 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23550 r=`${PWD_COMMAND}`; export r; \
23551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 $(SET_LIB_PATH) \
23553 $(NORMAL_TARGET_EXPORTS) \
23554 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23555 for flag in $(EXTRA_TARGET_FLAGS); do \
23556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23557 done; \
23558 (cd $(TARGET_SUBDIR)/libobjc && \
23559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23561 "RANLIB=$${RANLIB}" \
23562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23563 maintainer-clean) \
23564 || exit 1
23566 @endif target-libobjc
23569 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23570 maybe-configure-target-libtermcap:
23571 @if target-libtermcap
23572 maybe-configure-target-libtermcap: configure-target-libtermcap
23574 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23575 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23577 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23578 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23580 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23581 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23583 r=`${PWD_COMMAND}`; export r; \
23584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23585 $(SET_LIB_PATH) \
23586 $(NORMAL_TARGET_EXPORTS) \
23587 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23588 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23589 case $(srcdir) in \
23590 /* | [A-Za-z]:[\\/]*) \
23591 topdir=$(srcdir) ;; \
23592 *) \
23593 case "$(TARGET_SUBDIR)" in \
23594 .) topdir="../$(srcdir)" ;; \
23595 *) topdir="../../$(srcdir)" ;; \
23596 esac ;; \
23597 esac; \
23598 if [ "$(srcdir)" = "." ] ; then \
23599 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23600 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23601 if [ -f Makefile ]; then \
23602 if $(MAKE) distclean; then \
23603 true; \
23604 else \
23605 exit 1; \
23606 fi; \
23607 else \
23608 true; \
23609 fi; \
23610 else \
23611 exit 1; \
23612 fi; \
23613 else \
23614 true; \
23615 fi; \
23616 srcdiroption="--srcdir=."; \
23617 libsrcdir="."; \
23618 else \
23619 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23620 libsrcdir="$$s/libtermcap"; \
23621 fi; \
23622 rm -f no-such-file || : ; \
23623 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23624 $(TARGET_CONFIGARGS) $${srcdiroption} \
23625 --with-target-subdir="$(TARGET_SUBDIR)" \
23626 || exit 1
23627 @endif target-libtermcap
23629 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23630 maybe-all-target-libtermcap:
23631 @if target-libtermcap
23632 maybe-all-target-libtermcap: all-target-libtermcap
23633 all-target-libtermcap: configure-target-libtermcap
23634 @r=`${PWD_COMMAND}`; export r; \
23635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23636 $(SET_LIB_PATH) \
23637 $(NORMAL_TARGET_EXPORTS) \
23638 (cd $(TARGET_SUBDIR)/libtermcap && \
23639 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23640 @endif target-libtermcap
23642 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23643 maybe-check-target-libtermcap:
23644 @if target-libtermcap
23645 maybe-check-target-libtermcap: check-target-libtermcap
23647 # Dummy target for uncheckable module.
23648 check-target-libtermcap:
23650 @endif target-libtermcap
23652 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23653 maybe-install-target-libtermcap:
23654 @if target-libtermcap
23655 maybe-install-target-libtermcap: install-target-libtermcap
23657 install-target-libtermcap: installdirs
23658 @r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(SET_LIB_PATH) \
23661 $(NORMAL_TARGET_EXPORTS) \
23662 (cd $(TARGET_SUBDIR)/libtermcap && \
23663 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23665 @endif target-libtermcap
23667 # Other targets (info, dvi, etc.)
23669 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23670 maybe-info-target-libtermcap:
23671 @if target-libtermcap
23672 maybe-info-target-libtermcap: info-target-libtermcap
23674 info-target-libtermcap: \
23675 configure-target-libtermcap
23676 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23677 r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(SET_LIB_PATH) \
23680 $(NORMAL_TARGET_EXPORTS) \
23681 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23682 for flag in $(EXTRA_TARGET_FLAGS); do \
23683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23684 done; \
23685 (cd $(TARGET_SUBDIR)/libtermcap && \
23686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23688 "RANLIB=$${RANLIB}" \
23689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23690 info) \
23691 || exit 1
23693 @endif target-libtermcap
23695 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23696 maybe-dvi-target-libtermcap:
23697 @if target-libtermcap
23698 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23700 dvi-target-libtermcap: \
23701 configure-target-libtermcap
23702 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23703 r=`${PWD_COMMAND}`; export r; \
23704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23705 $(SET_LIB_PATH) \
23706 $(NORMAL_TARGET_EXPORTS) \
23707 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23708 for flag in $(EXTRA_TARGET_FLAGS); do \
23709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23710 done; \
23711 (cd $(TARGET_SUBDIR)/libtermcap && \
23712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23714 "RANLIB=$${RANLIB}" \
23715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23716 dvi) \
23717 || exit 1
23719 @endif target-libtermcap
23721 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23722 maybe-TAGS-target-libtermcap:
23723 @if target-libtermcap
23724 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23726 TAGS-target-libtermcap: \
23727 configure-target-libtermcap
23728 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23729 r=`${PWD_COMMAND}`; export r; \
23730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23731 $(SET_LIB_PATH) \
23732 $(NORMAL_TARGET_EXPORTS) \
23733 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23734 for flag in $(EXTRA_TARGET_FLAGS); do \
23735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23736 done; \
23737 (cd $(TARGET_SUBDIR)/libtermcap && \
23738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23740 "RANLIB=$${RANLIB}" \
23741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742 TAGS) \
23743 || exit 1
23745 @endif target-libtermcap
23747 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23748 maybe-install-info-target-libtermcap:
23749 @if target-libtermcap
23750 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23752 install-info-target-libtermcap: \
23753 configure-target-libtermcap \
23754 info-target-libtermcap
23755 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23756 r=`${PWD_COMMAND}`; export r; \
23757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 $(SET_LIB_PATH) \
23759 $(NORMAL_TARGET_EXPORTS) \
23760 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23761 for flag in $(EXTRA_TARGET_FLAGS); do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23763 done; \
23764 (cd $(TARGET_SUBDIR)/libtermcap && \
23765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767 "RANLIB=$${RANLIB}" \
23768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769 install-info) \
23770 || exit 1
23772 @endif target-libtermcap
23774 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23775 maybe-installcheck-target-libtermcap:
23776 @if target-libtermcap
23777 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23779 installcheck-target-libtermcap: \
23780 configure-target-libtermcap
23781 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23784 $(SET_LIB_PATH) \
23785 $(NORMAL_TARGET_EXPORTS) \
23786 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23787 for flag in $(EXTRA_TARGET_FLAGS); do \
23788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23789 done; \
23790 (cd $(TARGET_SUBDIR)/libtermcap && \
23791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23793 "RANLIB=$${RANLIB}" \
23794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23795 installcheck) \
23796 || exit 1
23798 @endif target-libtermcap
23800 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23801 maybe-mostlyclean-target-libtermcap:
23802 @if target-libtermcap
23803 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23805 # libtermcap doesn't support mostlyclean.
23806 mostlyclean-target-libtermcap:
23808 @endif target-libtermcap
23810 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23811 maybe-clean-target-libtermcap:
23812 @if target-libtermcap
23813 maybe-clean-target-libtermcap: clean-target-libtermcap
23815 # libtermcap doesn't support clean.
23816 clean-target-libtermcap:
23818 @endif target-libtermcap
23820 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23821 maybe-distclean-target-libtermcap:
23822 @if target-libtermcap
23823 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23825 # libtermcap doesn't support distclean.
23826 distclean-target-libtermcap:
23828 @endif target-libtermcap
23830 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23831 maybe-maintainer-clean-target-libtermcap:
23832 @if target-libtermcap
23833 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23835 # libtermcap doesn't support maintainer-clean.
23836 maintainer-clean-target-libtermcap:
23838 @endif target-libtermcap
23841 .PHONY: configure-target-winsup maybe-configure-target-winsup
23842 maybe-configure-target-winsup:
23843 @if target-winsup
23844 maybe-configure-target-winsup: configure-target-winsup
23846 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23847 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23849 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23850 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23852 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23853 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 $(SET_LIB_PATH) \
23858 $(NORMAL_TARGET_EXPORTS) \
23859 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23860 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23861 case $(srcdir) in \
23862 /* | [A-Za-z]:[\\/]*) \
23863 topdir=$(srcdir) ;; \
23864 *) \
23865 case "$(TARGET_SUBDIR)" in \
23866 .) topdir="../$(srcdir)" ;; \
23867 *) topdir="../../$(srcdir)" ;; \
23868 esac ;; \
23869 esac; \
23870 srcdiroption="--srcdir=$${topdir}/winsup"; \
23871 libsrcdir="$$s/winsup"; \
23872 rm -f no-such-file || : ; \
23873 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23874 $(TARGET_CONFIGARGS) $${srcdiroption} \
23875 --with-target-subdir="$(TARGET_SUBDIR)" \
23876 || exit 1
23877 @endif target-winsup
23879 .PHONY: all-target-winsup maybe-all-target-winsup
23880 maybe-all-target-winsup:
23881 @if target-winsup
23882 maybe-all-target-winsup: all-target-winsup
23883 all-target-winsup: configure-target-winsup
23884 @r=`${PWD_COMMAND}`; export r; \
23885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23886 $(SET_LIB_PATH) \
23887 $(NORMAL_TARGET_EXPORTS) \
23888 (cd $(TARGET_SUBDIR)/winsup && \
23889 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23890 @endif target-winsup
23892 .PHONY: check-target-winsup maybe-check-target-winsup
23893 maybe-check-target-winsup:
23894 @if target-winsup
23895 maybe-check-target-winsup: check-target-winsup
23897 check-target-winsup:
23898 @r=`${PWD_COMMAND}`; export r; \
23899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23900 $(SET_LIB_PATH) \
23901 $(NORMAL_TARGET_EXPORTS) \
23902 (cd $(TARGET_SUBDIR)/winsup && \
23903 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23905 @endif target-winsup
23907 .PHONY: install-target-winsup maybe-install-target-winsup
23908 maybe-install-target-winsup:
23909 @if target-winsup
23910 maybe-install-target-winsup: install-target-winsup
23912 install-target-winsup: installdirs
23913 @r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23915 $(SET_LIB_PATH) \
23916 $(NORMAL_TARGET_EXPORTS) \
23917 (cd $(TARGET_SUBDIR)/winsup && \
23918 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23920 @endif target-winsup
23922 # Other targets (info, dvi, etc.)
23924 .PHONY: maybe-info-target-winsup info-target-winsup
23925 maybe-info-target-winsup:
23926 @if target-winsup
23927 maybe-info-target-winsup: info-target-winsup
23929 info-target-winsup: \
23930 configure-target-winsup
23931 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23932 r=`${PWD_COMMAND}`; export r; \
23933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23934 $(SET_LIB_PATH) \
23935 $(NORMAL_TARGET_EXPORTS) \
23936 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
23937 for flag in $(EXTRA_TARGET_FLAGS); do \
23938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23939 done; \
23940 (cd $(TARGET_SUBDIR)/winsup && \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23945 info) \
23946 || exit 1
23948 @endif target-winsup
23950 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
23951 maybe-dvi-target-winsup:
23952 @if target-winsup
23953 maybe-dvi-target-winsup: dvi-target-winsup
23955 dvi-target-winsup: \
23956 configure-target-winsup
23957 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23958 r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(SET_LIB_PATH) \
23961 $(NORMAL_TARGET_EXPORTS) \
23962 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
23963 for flag in $(EXTRA_TARGET_FLAGS); do \
23964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23965 done; \
23966 (cd $(TARGET_SUBDIR)/winsup && \
23967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23969 "RANLIB=$${RANLIB}" \
23970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23971 dvi) \
23972 || exit 1
23974 @endif target-winsup
23976 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
23977 maybe-TAGS-target-winsup:
23978 @if target-winsup
23979 maybe-TAGS-target-winsup: TAGS-target-winsup
23981 TAGS-target-winsup: \
23982 configure-target-winsup
23983 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23984 r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23986 $(SET_LIB_PATH) \
23987 $(NORMAL_TARGET_EXPORTS) \
23988 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
23989 for flag in $(EXTRA_TARGET_FLAGS); do \
23990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23991 done; \
23992 (cd $(TARGET_SUBDIR)/winsup && \
23993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23995 "RANLIB=$${RANLIB}" \
23996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23997 TAGS) \
23998 || exit 1
24000 @endif target-winsup
24002 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24003 maybe-install-info-target-winsup:
24004 @if target-winsup
24005 maybe-install-info-target-winsup: install-info-target-winsup
24007 install-info-target-winsup: \
24008 configure-target-winsup \
24009 info-target-winsup
24010 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24011 r=`${PWD_COMMAND}`; export r; \
24012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24013 $(SET_LIB_PATH) \
24014 $(NORMAL_TARGET_EXPORTS) \
24015 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24016 for flag in $(EXTRA_TARGET_FLAGS); do \
24017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24018 done; \
24019 (cd $(TARGET_SUBDIR)/winsup && \
24020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24022 "RANLIB=$${RANLIB}" \
24023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24024 install-info) \
24025 || exit 1
24027 @endif target-winsup
24029 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24030 maybe-installcheck-target-winsup:
24031 @if target-winsup
24032 maybe-installcheck-target-winsup: installcheck-target-winsup
24034 installcheck-target-winsup: \
24035 configure-target-winsup
24036 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24037 r=`${PWD_COMMAND}`; export r; \
24038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24039 $(SET_LIB_PATH) \
24040 $(NORMAL_TARGET_EXPORTS) \
24041 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24042 for flag in $(EXTRA_TARGET_FLAGS); do \
24043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24044 done; \
24045 (cd $(TARGET_SUBDIR)/winsup && \
24046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24048 "RANLIB=$${RANLIB}" \
24049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24050 installcheck) \
24051 || exit 1
24053 @endif target-winsup
24055 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24056 maybe-mostlyclean-target-winsup:
24057 @if target-winsup
24058 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24060 mostlyclean-target-winsup:
24061 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24062 r=`${PWD_COMMAND}`; export r; \
24063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064 $(SET_LIB_PATH) \
24065 $(NORMAL_TARGET_EXPORTS) \
24066 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24067 for flag in $(EXTRA_TARGET_FLAGS); do \
24068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24069 done; \
24070 (cd $(TARGET_SUBDIR)/winsup && \
24071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24073 "RANLIB=$${RANLIB}" \
24074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24075 mostlyclean) \
24076 || exit 1
24078 @endif target-winsup
24080 .PHONY: maybe-clean-target-winsup clean-target-winsup
24081 maybe-clean-target-winsup:
24082 @if target-winsup
24083 maybe-clean-target-winsup: clean-target-winsup
24085 clean-target-winsup:
24086 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24087 r=`${PWD_COMMAND}`; export r; \
24088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 $(SET_LIB_PATH) \
24090 $(NORMAL_TARGET_EXPORTS) \
24091 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24092 for flag in $(EXTRA_TARGET_FLAGS); do \
24093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24094 done; \
24095 (cd $(TARGET_SUBDIR)/winsup && \
24096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24098 "RANLIB=$${RANLIB}" \
24099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24100 clean) \
24101 || exit 1
24103 @endif target-winsup
24105 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24106 maybe-distclean-target-winsup:
24107 @if target-winsup
24108 maybe-distclean-target-winsup: distclean-target-winsup
24110 distclean-target-winsup:
24111 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(SET_LIB_PATH) \
24115 $(NORMAL_TARGET_EXPORTS) \
24116 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24117 for flag in $(EXTRA_TARGET_FLAGS); do \
24118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 done; \
24120 (cd $(TARGET_SUBDIR)/winsup && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24123 "RANLIB=$${RANLIB}" \
24124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24125 distclean) \
24126 || exit 1
24128 @endif target-winsup
24130 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24131 maybe-maintainer-clean-target-winsup:
24132 @if target-winsup
24133 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24135 maintainer-clean-target-winsup:
24136 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24137 r=`${PWD_COMMAND}`; export r; \
24138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 $(SET_LIB_PATH) \
24140 $(NORMAL_TARGET_EXPORTS) \
24141 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24142 for flag in $(EXTRA_TARGET_FLAGS); do \
24143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24144 done; \
24145 (cd $(TARGET_SUBDIR)/winsup && \
24146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24148 "RANLIB=$${RANLIB}" \
24149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24150 maintainer-clean) \
24151 || exit 1
24153 @endif target-winsup
24156 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24157 maybe-configure-target-libgloss:
24158 @if target-libgloss
24159 maybe-configure-target-libgloss: configure-target-libgloss
24161 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24162 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24164 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24165 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24167 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24168 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24170 r=`${PWD_COMMAND}`; export r; \
24171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24172 $(SET_LIB_PATH) \
24173 $(NORMAL_TARGET_EXPORTS) \
24174 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24175 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24176 case $(srcdir) in \
24177 /* | [A-Za-z]:[\\/]*) \
24178 topdir=$(srcdir) ;; \
24179 *) \
24180 case "$(TARGET_SUBDIR)" in \
24181 .) topdir="../$(srcdir)" ;; \
24182 *) topdir="../../$(srcdir)" ;; \
24183 esac ;; \
24184 esac; \
24185 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24186 libsrcdir="$$s/libgloss"; \
24187 rm -f no-such-file || : ; \
24188 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24189 $(TARGET_CONFIGARGS) $${srcdiroption} \
24190 --with-target-subdir="$(TARGET_SUBDIR)" \
24191 || exit 1
24192 @endif target-libgloss
24194 .PHONY: all-target-libgloss maybe-all-target-libgloss
24195 maybe-all-target-libgloss:
24196 @if target-libgloss
24197 maybe-all-target-libgloss: all-target-libgloss
24198 all-target-libgloss: configure-target-libgloss
24199 @r=`${PWD_COMMAND}`; export r; \
24200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24201 $(SET_LIB_PATH) \
24202 $(NORMAL_TARGET_EXPORTS) \
24203 (cd $(TARGET_SUBDIR)/libgloss && \
24204 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24205 @endif target-libgloss
24207 .PHONY: check-target-libgloss maybe-check-target-libgloss
24208 maybe-check-target-libgloss:
24209 @if target-libgloss
24210 maybe-check-target-libgloss: check-target-libgloss
24212 # Dummy target for uncheckable module.
24213 check-target-libgloss:
24215 @endif target-libgloss
24217 .PHONY: install-target-libgloss maybe-install-target-libgloss
24218 maybe-install-target-libgloss:
24219 @if target-libgloss
24220 maybe-install-target-libgloss: install-target-libgloss
24222 install-target-libgloss: installdirs
24223 @r=`${PWD_COMMAND}`; export r; \
24224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24225 $(SET_LIB_PATH) \
24226 $(NORMAL_TARGET_EXPORTS) \
24227 (cd $(TARGET_SUBDIR)/libgloss && \
24228 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24230 @endif target-libgloss
24232 # Other targets (info, dvi, etc.)
24234 .PHONY: maybe-info-target-libgloss info-target-libgloss
24235 maybe-info-target-libgloss:
24236 @if target-libgloss
24237 maybe-info-target-libgloss: info-target-libgloss
24239 info-target-libgloss: \
24240 configure-target-libgloss
24241 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24242 r=`${PWD_COMMAND}`; export r; \
24243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24244 $(SET_LIB_PATH) \
24245 $(NORMAL_TARGET_EXPORTS) \
24246 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24247 for flag in $(EXTRA_TARGET_FLAGS); do \
24248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24249 done; \
24250 (cd $(TARGET_SUBDIR)/libgloss && \
24251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24253 "RANLIB=$${RANLIB}" \
24254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24255 info) \
24256 || exit 1
24258 @endif target-libgloss
24260 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24261 maybe-dvi-target-libgloss:
24262 @if target-libgloss
24263 maybe-dvi-target-libgloss: dvi-target-libgloss
24265 dvi-target-libgloss: \
24266 configure-target-libgloss
24267 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24268 r=`${PWD_COMMAND}`; export r; \
24269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270 $(SET_LIB_PATH) \
24271 $(NORMAL_TARGET_EXPORTS) \
24272 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24273 for flag in $(EXTRA_TARGET_FLAGS); do \
24274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24275 done; \
24276 (cd $(TARGET_SUBDIR)/libgloss && \
24277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24279 "RANLIB=$${RANLIB}" \
24280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24281 dvi) \
24282 || exit 1
24284 @endif target-libgloss
24286 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24287 maybe-TAGS-target-libgloss:
24288 @if target-libgloss
24289 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24291 TAGS-target-libgloss: \
24292 configure-target-libgloss
24293 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24294 r=`${PWD_COMMAND}`; export r; \
24295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24296 $(SET_LIB_PATH) \
24297 $(NORMAL_TARGET_EXPORTS) \
24298 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24299 for flag in $(EXTRA_TARGET_FLAGS); do \
24300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24301 done; \
24302 (cd $(TARGET_SUBDIR)/libgloss && \
24303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24305 "RANLIB=$${RANLIB}" \
24306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24307 TAGS) \
24308 || exit 1
24310 @endif target-libgloss
24312 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24313 maybe-install-info-target-libgloss:
24314 @if target-libgloss
24315 maybe-install-info-target-libgloss: install-info-target-libgloss
24317 install-info-target-libgloss: \
24318 configure-target-libgloss \
24319 info-target-libgloss
24320 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24321 r=`${PWD_COMMAND}`; export r; \
24322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24323 $(SET_LIB_PATH) \
24324 $(NORMAL_TARGET_EXPORTS) \
24325 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24326 for flag in $(EXTRA_TARGET_FLAGS); do \
24327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24328 done; \
24329 (cd $(TARGET_SUBDIR)/libgloss && \
24330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24332 "RANLIB=$${RANLIB}" \
24333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24334 install-info) \
24335 || exit 1
24337 @endif target-libgloss
24339 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24340 maybe-installcheck-target-libgloss:
24341 @if target-libgloss
24342 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24344 installcheck-target-libgloss: \
24345 configure-target-libgloss
24346 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24347 r=`${PWD_COMMAND}`; export r; \
24348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24349 $(SET_LIB_PATH) \
24350 $(NORMAL_TARGET_EXPORTS) \
24351 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24352 for flag in $(EXTRA_TARGET_FLAGS); do \
24353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24354 done; \
24355 (cd $(TARGET_SUBDIR)/libgloss && \
24356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24358 "RANLIB=$${RANLIB}" \
24359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24360 installcheck) \
24361 || exit 1
24363 @endif target-libgloss
24365 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24366 maybe-mostlyclean-target-libgloss:
24367 @if target-libgloss
24368 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24370 mostlyclean-target-libgloss:
24371 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24372 r=`${PWD_COMMAND}`; export r; \
24373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24374 $(SET_LIB_PATH) \
24375 $(NORMAL_TARGET_EXPORTS) \
24376 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24377 for flag in $(EXTRA_TARGET_FLAGS); do \
24378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24379 done; \
24380 (cd $(TARGET_SUBDIR)/libgloss && \
24381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24383 "RANLIB=$${RANLIB}" \
24384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24385 mostlyclean) \
24386 || exit 1
24388 @endif target-libgloss
24390 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24391 maybe-clean-target-libgloss:
24392 @if target-libgloss
24393 maybe-clean-target-libgloss: clean-target-libgloss
24395 clean-target-libgloss:
24396 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24397 r=`${PWD_COMMAND}`; export r; \
24398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(SET_LIB_PATH) \
24400 $(NORMAL_TARGET_EXPORTS) \
24401 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24402 for flag in $(EXTRA_TARGET_FLAGS); do \
24403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24404 done; \
24405 (cd $(TARGET_SUBDIR)/libgloss && \
24406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24408 "RANLIB=$${RANLIB}" \
24409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24410 clean) \
24411 || exit 1
24413 @endif target-libgloss
24415 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24416 maybe-distclean-target-libgloss:
24417 @if target-libgloss
24418 maybe-distclean-target-libgloss: distclean-target-libgloss
24420 distclean-target-libgloss:
24421 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24422 r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24424 $(SET_LIB_PATH) \
24425 $(NORMAL_TARGET_EXPORTS) \
24426 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24427 for flag in $(EXTRA_TARGET_FLAGS); do \
24428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24429 done; \
24430 (cd $(TARGET_SUBDIR)/libgloss && \
24431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24433 "RANLIB=$${RANLIB}" \
24434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24435 distclean) \
24436 || exit 1
24438 @endif target-libgloss
24440 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24441 maybe-maintainer-clean-target-libgloss:
24442 @if target-libgloss
24443 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24445 maintainer-clean-target-libgloss:
24446 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24447 r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 $(SET_LIB_PATH) \
24450 $(NORMAL_TARGET_EXPORTS) \
24451 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24452 for flag in $(EXTRA_TARGET_FLAGS); do \
24453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24454 done; \
24455 (cd $(TARGET_SUBDIR)/libgloss && \
24456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24458 "RANLIB=$${RANLIB}" \
24459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24460 maintainer-clean) \
24461 || exit 1
24463 @endif target-libgloss
24466 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24467 maybe-configure-target-libiberty:
24468 @if target-libiberty
24469 maybe-configure-target-libiberty: configure-target-libiberty
24471 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24472 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24473 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24474 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24475 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24477 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24478 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24479 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(SET_LIB_PATH) \
24483 $(NORMAL_TARGET_EXPORTS) \
24484 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24485 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24486 case $(srcdir) in \
24487 /* | [A-Za-z]:[\\/]*) \
24488 topdir=$(srcdir) ;; \
24489 *) \
24490 case "$(TARGET_SUBDIR)" in \
24491 .) topdir="../$(srcdir)" ;; \
24492 *) topdir="../../$(srcdir)" ;; \
24493 esac ;; \
24494 esac; \
24495 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24496 libsrcdir="$$s/libiberty"; \
24497 rm -f no-such-file || : ; \
24498 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24499 $(TARGET_CONFIGARGS) $${srcdiroption} \
24500 --with-target-subdir="$(TARGET_SUBDIR)" \
24501 || exit 1
24502 @endif target-libiberty
24504 .PHONY: all-target-libiberty maybe-all-target-libiberty
24505 maybe-all-target-libiberty:
24506 @if target-libiberty
24507 maybe-all-target-libiberty: all-target-libiberty
24508 all-target-libiberty: configure-target-libiberty
24509 @r=`${PWD_COMMAND}`; export r; \
24510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24511 $(SET_LIB_PATH) \
24512 $(NORMAL_TARGET_EXPORTS) \
24513 (cd $(TARGET_SUBDIR)/libiberty && \
24514 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24515 @endif target-libiberty
24517 .PHONY: check-target-libiberty maybe-check-target-libiberty
24518 maybe-check-target-libiberty:
24519 @if target-libiberty
24520 maybe-check-target-libiberty: check-target-libiberty
24522 check-target-libiberty:
24523 @r=`${PWD_COMMAND}`; export r; \
24524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24525 $(SET_LIB_PATH) \
24526 $(NORMAL_TARGET_EXPORTS) \
24527 (cd $(TARGET_SUBDIR)/libiberty && \
24528 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24530 @endif target-libiberty
24532 .PHONY: install-target-libiberty maybe-install-target-libiberty
24533 maybe-install-target-libiberty:
24534 @if target-libiberty
24535 maybe-install-target-libiberty: install-target-libiberty
24537 install-target-libiberty: installdirs
24538 @r=`${PWD_COMMAND}`; export r; \
24539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24540 $(SET_LIB_PATH) \
24541 $(NORMAL_TARGET_EXPORTS) \
24542 (cd $(TARGET_SUBDIR)/libiberty && \
24543 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24545 @endif target-libiberty
24547 # Other targets (info, dvi, etc.)
24549 .PHONY: maybe-info-target-libiberty info-target-libiberty
24550 maybe-info-target-libiberty:
24551 @if target-libiberty
24552 maybe-info-target-libiberty: info-target-libiberty
24554 info-target-libiberty: \
24555 configure-target-libiberty
24556 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24557 r=`${PWD_COMMAND}`; export r; \
24558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(SET_LIB_PATH) \
24560 $(NORMAL_TARGET_EXPORTS) \
24561 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24562 for flag in $(EXTRA_TARGET_FLAGS); do \
24563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24564 done; \
24565 (cd $(TARGET_SUBDIR)/libiberty && \
24566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24568 "RANLIB=$${RANLIB}" \
24569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24570 info) \
24571 || exit 1
24573 @endif target-libiberty
24575 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24576 maybe-dvi-target-libiberty:
24577 @if target-libiberty
24578 maybe-dvi-target-libiberty: dvi-target-libiberty
24580 dvi-target-libiberty: \
24581 configure-target-libiberty
24582 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24583 r=`${PWD_COMMAND}`; export r; \
24584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24585 $(SET_LIB_PATH) \
24586 $(NORMAL_TARGET_EXPORTS) \
24587 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24588 for flag in $(EXTRA_TARGET_FLAGS); do \
24589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24590 done; \
24591 (cd $(TARGET_SUBDIR)/libiberty && \
24592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24594 "RANLIB=$${RANLIB}" \
24595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24596 dvi) \
24597 || exit 1
24599 @endif target-libiberty
24601 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24602 maybe-TAGS-target-libiberty:
24603 @if target-libiberty
24604 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24606 TAGS-target-libiberty: \
24607 configure-target-libiberty
24608 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24609 r=`${PWD_COMMAND}`; export r; \
24610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24611 $(SET_LIB_PATH) \
24612 $(NORMAL_TARGET_EXPORTS) \
24613 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24614 for flag in $(EXTRA_TARGET_FLAGS); do \
24615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24616 done; \
24617 (cd $(TARGET_SUBDIR)/libiberty && \
24618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24620 "RANLIB=$${RANLIB}" \
24621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24622 TAGS) \
24623 || exit 1
24625 @endif target-libiberty
24627 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24628 maybe-install-info-target-libiberty:
24629 @if target-libiberty
24630 maybe-install-info-target-libiberty: install-info-target-libiberty
24632 install-info-target-libiberty: \
24633 configure-target-libiberty \
24634 info-target-libiberty
24635 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24636 r=`${PWD_COMMAND}`; export r; \
24637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24638 $(SET_LIB_PATH) \
24639 $(NORMAL_TARGET_EXPORTS) \
24640 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24641 for flag in $(EXTRA_TARGET_FLAGS); do \
24642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24643 done; \
24644 (cd $(TARGET_SUBDIR)/libiberty && \
24645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24647 "RANLIB=$${RANLIB}" \
24648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24649 install-info) \
24650 || exit 1
24652 @endif target-libiberty
24654 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24655 maybe-installcheck-target-libiberty:
24656 @if target-libiberty
24657 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24659 installcheck-target-libiberty: \
24660 configure-target-libiberty
24661 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24662 r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664 $(SET_LIB_PATH) \
24665 $(NORMAL_TARGET_EXPORTS) \
24666 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24667 for flag in $(EXTRA_TARGET_FLAGS); do \
24668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24669 done; \
24670 (cd $(TARGET_SUBDIR)/libiberty && \
24671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24673 "RANLIB=$${RANLIB}" \
24674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24675 installcheck) \
24676 || exit 1
24678 @endif target-libiberty
24680 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24681 maybe-mostlyclean-target-libiberty:
24682 @if target-libiberty
24683 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24685 mostlyclean-target-libiberty:
24686 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24687 r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(SET_LIB_PATH) \
24690 $(NORMAL_TARGET_EXPORTS) \
24691 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24692 for flag in $(EXTRA_TARGET_FLAGS); do \
24693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24694 done; \
24695 (cd $(TARGET_SUBDIR)/libiberty && \
24696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24698 "RANLIB=$${RANLIB}" \
24699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24700 mostlyclean) \
24701 || exit 1
24703 @endif target-libiberty
24705 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24706 maybe-clean-target-libiberty:
24707 @if target-libiberty
24708 maybe-clean-target-libiberty: clean-target-libiberty
24710 clean-target-libiberty:
24711 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24712 r=`${PWD_COMMAND}`; export r; \
24713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24714 $(SET_LIB_PATH) \
24715 $(NORMAL_TARGET_EXPORTS) \
24716 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24717 for flag in $(EXTRA_TARGET_FLAGS); do \
24718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24719 done; \
24720 (cd $(TARGET_SUBDIR)/libiberty && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24725 clean) \
24726 || exit 1
24728 @endif target-libiberty
24730 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24731 maybe-distclean-target-libiberty:
24732 @if target-libiberty
24733 maybe-distclean-target-libiberty: distclean-target-libiberty
24735 distclean-target-libiberty:
24736 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24737 r=`${PWD_COMMAND}`; export r; \
24738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24739 $(SET_LIB_PATH) \
24740 $(NORMAL_TARGET_EXPORTS) \
24741 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24742 for flag in $(EXTRA_TARGET_FLAGS); do \
24743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24744 done; \
24745 (cd $(TARGET_SUBDIR)/libiberty && \
24746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24748 "RANLIB=$${RANLIB}" \
24749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24750 distclean) \
24751 || exit 1
24753 @endif target-libiberty
24755 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24756 maybe-maintainer-clean-target-libiberty:
24757 @if target-libiberty
24758 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24760 maintainer-clean-target-libiberty:
24761 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24762 r=`${PWD_COMMAND}`; export r; \
24763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24764 $(SET_LIB_PATH) \
24765 $(NORMAL_TARGET_EXPORTS) \
24766 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24767 for flag in $(EXTRA_TARGET_FLAGS); do \
24768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24769 done; \
24770 (cd $(TARGET_SUBDIR)/libiberty && \
24771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24773 "RANLIB=$${RANLIB}" \
24774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24775 maintainer-clean) \
24776 || exit 1
24778 @endif target-libiberty
24781 .PHONY: configure-target-gperf maybe-configure-target-gperf
24782 maybe-configure-target-gperf:
24783 @if target-gperf
24784 maybe-configure-target-gperf: configure-target-gperf
24786 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24787 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24788 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24789 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24790 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24792 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24793 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24794 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24795 r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24797 $(SET_LIB_PATH) \
24798 $(NORMAL_TARGET_EXPORTS) \
24799 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24800 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24801 case $(srcdir) in \
24802 /* | [A-Za-z]:[\\/]*) \
24803 topdir=$(srcdir) ;; \
24804 *) \
24805 case "$(TARGET_SUBDIR)" in \
24806 .) topdir="../$(srcdir)" ;; \
24807 *) topdir="../../$(srcdir)" ;; \
24808 esac ;; \
24809 esac; \
24810 srcdiroption="--srcdir=$${topdir}/gperf"; \
24811 libsrcdir="$$s/gperf"; \
24812 rm -f no-such-file || : ; \
24813 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24814 $(TARGET_CONFIGARGS) $${srcdiroption} \
24815 --with-target-subdir="$(TARGET_SUBDIR)" \
24816 || exit 1
24817 @endif target-gperf
24819 .PHONY: all-target-gperf maybe-all-target-gperf
24820 maybe-all-target-gperf:
24821 @if target-gperf
24822 maybe-all-target-gperf: all-target-gperf
24823 all-target-gperf: configure-target-gperf
24824 @r=`${PWD_COMMAND}`; export r; \
24825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24826 $(SET_LIB_PATH) \
24827 $(NORMAL_TARGET_EXPORTS) \
24828 (cd $(TARGET_SUBDIR)/gperf && \
24829 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24830 @endif target-gperf
24832 .PHONY: check-target-gperf maybe-check-target-gperf
24833 maybe-check-target-gperf:
24834 @if target-gperf
24835 maybe-check-target-gperf: check-target-gperf
24837 check-target-gperf:
24838 @r=`${PWD_COMMAND}`; export r; \
24839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24840 $(SET_LIB_PATH) \
24841 $(NORMAL_TARGET_EXPORTS) \
24842 (cd $(TARGET_SUBDIR)/gperf && \
24843 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24845 @endif target-gperf
24847 .PHONY: install-target-gperf maybe-install-target-gperf
24848 maybe-install-target-gperf:
24849 @if target-gperf
24850 maybe-install-target-gperf: install-target-gperf
24852 install-target-gperf: installdirs
24853 @r=`${PWD_COMMAND}`; export r; \
24854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24855 $(SET_LIB_PATH) \
24856 $(NORMAL_TARGET_EXPORTS) \
24857 (cd $(TARGET_SUBDIR)/gperf && \
24858 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24860 @endif target-gperf
24862 # Other targets (info, dvi, etc.)
24864 .PHONY: maybe-info-target-gperf info-target-gperf
24865 maybe-info-target-gperf:
24866 @if target-gperf
24867 maybe-info-target-gperf: info-target-gperf
24869 info-target-gperf: \
24870 configure-target-gperf
24871 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24872 r=`${PWD_COMMAND}`; export r; \
24873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874 $(SET_LIB_PATH) \
24875 $(NORMAL_TARGET_EXPORTS) \
24876 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24877 for flag in $(EXTRA_TARGET_FLAGS); do \
24878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24879 done; \
24880 (cd $(TARGET_SUBDIR)/gperf && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885 info) \
24886 || exit 1
24888 @endif target-gperf
24890 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24891 maybe-dvi-target-gperf:
24892 @if target-gperf
24893 maybe-dvi-target-gperf: dvi-target-gperf
24895 dvi-target-gperf: \
24896 configure-target-gperf
24897 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(SET_LIB_PATH) \
24901 $(NORMAL_TARGET_EXPORTS) \
24902 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24903 for flag in $(EXTRA_TARGET_FLAGS); do \
24904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24905 done; \
24906 (cd $(TARGET_SUBDIR)/gperf && \
24907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24909 "RANLIB=$${RANLIB}" \
24910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24911 dvi) \
24912 || exit 1
24914 @endif target-gperf
24916 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24917 maybe-TAGS-target-gperf:
24918 @if target-gperf
24919 maybe-TAGS-target-gperf: TAGS-target-gperf
24921 TAGS-target-gperf: \
24922 configure-target-gperf
24923 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24924 r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24926 $(SET_LIB_PATH) \
24927 $(NORMAL_TARGET_EXPORTS) \
24928 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
24929 for flag in $(EXTRA_TARGET_FLAGS); do \
24930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24931 done; \
24932 (cd $(TARGET_SUBDIR)/gperf && \
24933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24935 "RANLIB=$${RANLIB}" \
24936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24937 TAGS) \
24938 || exit 1
24940 @endif target-gperf
24942 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
24943 maybe-install-info-target-gperf:
24944 @if target-gperf
24945 maybe-install-info-target-gperf: install-info-target-gperf
24947 install-info-target-gperf: \
24948 configure-target-gperf \
24949 info-target-gperf
24950 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24951 r=`${PWD_COMMAND}`; export r; \
24952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24953 $(SET_LIB_PATH) \
24954 $(NORMAL_TARGET_EXPORTS) \
24955 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
24956 for flag in $(EXTRA_TARGET_FLAGS); do \
24957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24958 done; \
24959 (cd $(TARGET_SUBDIR)/gperf && \
24960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962 "RANLIB=$${RANLIB}" \
24963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24964 install-info) \
24965 || exit 1
24967 @endif target-gperf
24969 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
24970 maybe-installcheck-target-gperf:
24971 @if target-gperf
24972 maybe-installcheck-target-gperf: installcheck-target-gperf
24974 installcheck-target-gperf: \
24975 configure-target-gperf
24976 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24977 r=`${PWD_COMMAND}`; export r; \
24978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24979 $(SET_LIB_PATH) \
24980 $(NORMAL_TARGET_EXPORTS) \
24981 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
24982 for flag in $(EXTRA_TARGET_FLAGS); do \
24983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24984 done; \
24985 (cd $(TARGET_SUBDIR)/gperf && \
24986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24988 "RANLIB=$${RANLIB}" \
24989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24990 installcheck) \
24991 || exit 1
24993 @endif target-gperf
24995 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
24996 maybe-mostlyclean-target-gperf:
24997 @if target-gperf
24998 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25000 mostlyclean-target-gperf:
25001 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25002 r=`${PWD_COMMAND}`; export r; \
25003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004 $(SET_LIB_PATH) \
25005 $(NORMAL_TARGET_EXPORTS) \
25006 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25007 for flag in $(EXTRA_TARGET_FLAGS); do \
25008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25009 done; \
25010 (cd $(TARGET_SUBDIR)/gperf && \
25011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25013 "RANLIB=$${RANLIB}" \
25014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25015 mostlyclean) \
25016 || exit 1
25018 @endif target-gperf
25020 .PHONY: maybe-clean-target-gperf clean-target-gperf
25021 maybe-clean-target-gperf:
25022 @if target-gperf
25023 maybe-clean-target-gperf: clean-target-gperf
25025 clean-target-gperf:
25026 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(SET_LIB_PATH) \
25030 $(NORMAL_TARGET_EXPORTS) \
25031 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25032 for flag in $(EXTRA_TARGET_FLAGS); do \
25033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25034 done; \
25035 (cd $(TARGET_SUBDIR)/gperf && \
25036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25038 "RANLIB=$${RANLIB}" \
25039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25040 clean) \
25041 || exit 1
25043 @endif target-gperf
25045 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25046 maybe-distclean-target-gperf:
25047 @if target-gperf
25048 maybe-distclean-target-gperf: distclean-target-gperf
25050 distclean-target-gperf:
25051 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(SET_LIB_PATH) \
25055 $(NORMAL_TARGET_EXPORTS) \
25056 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25057 for flag in $(EXTRA_TARGET_FLAGS); do \
25058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25059 done; \
25060 (cd $(TARGET_SUBDIR)/gperf && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25065 distclean) \
25066 || exit 1
25068 @endif target-gperf
25070 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25071 maybe-maintainer-clean-target-gperf:
25072 @if target-gperf
25073 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25075 maintainer-clean-target-gperf:
25076 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25077 r=`${PWD_COMMAND}`; export r; \
25078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25079 $(SET_LIB_PATH) \
25080 $(NORMAL_TARGET_EXPORTS) \
25081 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25082 for flag in $(EXTRA_TARGET_FLAGS); do \
25083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25084 done; \
25085 (cd $(TARGET_SUBDIR)/gperf && \
25086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25088 "RANLIB=$${RANLIB}" \
25089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25090 maintainer-clean) \
25091 || exit 1
25093 @endif target-gperf
25096 .PHONY: configure-target-examples maybe-configure-target-examples
25097 maybe-configure-target-examples:
25098 @if target-examples
25099 maybe-configure-target-examples: configure-target-examples
25101 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25102 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25103 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25104 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25105 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25107 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25108 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25109 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25110 r=`${PWD_COMMAND}`; export r; \
25111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25112 $(SET_LIB_PATH) \
25113 $(NORMAL_TARGET_EXPORTS) \
25114 echo Configuring in $(TARGET_SUBDIR)/examples; \
25115 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25116 case $(srcdir) in \
25117 /* | [A-Za-z]:[\\/]*) \
25118 topdir=$(srcdir) ;; \
25119 *) \
25120 case "$(TARGET_SUBDIR)" in \
25121 .) topdir="../$(srcdir)" ;; \
25122 *) topdir="../../$(srcdir)" ;; \
25123 esac ;; \
25124 esac; \
25125 srcdiroption="--srcdir=$${topdir}/examples"; \
25126 libsrcdir="$$s/examples"; \
25127 rm -f no-such-file || : ; \
25128 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25129 $(TARGET_CONFIGARGS) $${srcdiroption} \
25130 --with-target-subdir="$(TARGET_SUBDIR)" \
25131 || exit 1
25132 @endif target-examples
25134 .PHONY: all-target-examples maybe-all-target-examples
25135 maybe-all-target-examples:
25136 @if target-examples
25137 maybe-all-target-examples: all-target-examples
25138 all-target-examples: configure-target-examples
25139 @r=`${PWD_COMMAND}`; export r; \
25140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 $(SET_LIB_PATH) \
25142 $(NORMAL_TARGET_EXPORTS) \
25143 (cd $(TARGET_SUBDIR)/examples && \
25144 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25145 @endif target-examples
25147 .PHONY: check-target-examples maybe-check-target-examples
25148 maybe-check-target-examples:
25149 @if target-examples
25150 maybe-check-target-examples: check-target-examples
25152 # Dummy target for uncheckable module.
25153 check-target-examples:
25155 @endif target-examples
25157 .PHONY: install-target-examples maybe-install-target-examples
25158 maybe-install-target-examples:
25159 @if target-examples
25160 maybe-install-target-examples: install-target-examples
25162 # Dummy target for uninstallable.
25163 install-target-examples:
25165 @endif target-examples
25167 # Other targets (info, dvi, etc.)
25169 .PHONY: maybe-info-target-examples info-target-examples
25170 maybe-info-target-examples:
25171 @if target-examples
25172 maybe-info-target-examples: info-target-examples
25174 info-target-examples: \
25175 configure-target-examples
25176 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25177 r=`${PWD_COMMAND}`; export r; \
25178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25179 $(SET_LIB_PATH) \
25180 $(NORMAL_TARGET_EXPORTS) \
25181 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25182 for flag in $(EXTRA_TARGET_FLAGS); do \
25183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25184 done; \
25185 (cd $(TARGET_SUBDIR)/examples && \
25186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25188 "RANLIB=$${RANLIB}" \
25189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25190 info) \
25191 || exit 1
25193 @endif target-examples
25195 .PHONY: maybe-dvi-target-examples dvi-target-examples
25196 maybe-dvi-target-examples:
25197 @if target-examples
25198 maybe-dvi-target-examples: dvi-target-examples
25200 dvi-target-examples: \
25201 configure-target-examples
25202 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25203 r=`${PWD_COMMAND}`; export r; \
25204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 $(SET_LIB_PATH) \
25206 $(NORMAL_TARGET_EXPORTS) \
25207 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25208 for flag in $(EXTRA_TARGET_FLAGS); do \
25209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25210 done; \
25211 (cd $(TARGET_SUBDIR)/examples && \
25212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25214 "RANLIB=$${RANLIB}" \
25215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25216 dvi) \
25217 || exit 1
25219 @endif target-examples
25221 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25222 maybe-TAGS-target-examples:
25223 @if target-examples
25224 maybe-TAGS-target-examples: TAGS-target-examples
25226 TAGS-target-examples: \
25227 configure-target-examples
25228 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25229 r=`${PWD_COMMAND}`; export r; \
25230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25231 $(SET_LIB_PATH) \
25232 $(NORMAL_TARGET_EXPORTS) \
25233 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25234 for flag in $(EXTRA_TARGET_FLAGS); do \
25235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25236 done; \
25237 (cd $(TARGET_SUBDIR)/examples && \
25238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25240 "RANLIB=$${RANLIB}" \
25241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25242 TAGS) \
25243 || exit 1
25245 @endif target-examples
25247 .PHONY: maybe-install-info-target-examples install-info-target-examples
25248 maybe-install-info-target-examples:
25249 @if target-examples
25250 maybe-install-info-target-examples: install-info-target-examples
25252 install-info-target-examples: \
25253 configure-target-examples \
25254 info-target-examples
25255 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25256 r=`${PWD_COMMAND}`; export r; \
25257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25258 $(SET_LIB_PATH) \
25259 $(NORMAL_TARGET_EXPORTS) \
25260 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25261 for flag in $(EXTRA_TARGET_FLAGS); do \
25262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25263 done; \
25264 (cd $(TARGET_SUBDIR)/examples && \
25265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25267 "RANLIB=$${RANLIB}" \
25268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25269 install-info) \
25270 || exit 1
25272 @endif target-examples
25274 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25275 maybe-installcheck-target-examples:
25276 @if target-examples
25277 maybe-installcheck-target-examples: installcheck-target-examples
25279 installcheck-target-examples: \
25280 configure-target-examples
25281 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25282 r=`${PWD_COMMAND}`; export r; \
25283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25284 $(SET_LIB_PATH) \
25285 $(NORMAL_TARGET_EXPORTS) \
25286 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25287 for flag in $(EXTRA_TARGET_FLAGS); do \
25288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25289 done; \
25290 (cd $(TARGET_SUBDIR)/examples && \
25291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25293 "RANLIB=$${RANLIB}" \
25294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25295 installcheck) \
25296 || exit 1
25298 @endif target-examples
25300 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25301 maybe-mostlyclean-target-examples:
25302 @if target-examples
25303 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25305 mostlyclean-target-examples:
25306 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25307 r=`${PWD_COMMAND}`; export r; \
25308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25309 $(SET_LIB_PATH) \
25310 $(NORMAL_TARGET_EXPORTS) \
25311 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25312 for flag in $(EXTRA_TARGET_FLAGS); do \
25313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25314 done; \
25315 (cd $(TARGET_SUBDIR)/examples && \
25316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25318 "RANLIB=$${RANLIB}" \
25319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25320 mostlyclean) \
25321 || exit 1
25323 @endif target-examples
25325 .PHONY: maybe-clean-target-examples clean-target-examples
25326 maybe-clean-target-examples:
25327 @if target-examples
25328 maybe-clean-target-examples: clean-target-examples
25330 clean-target-examples:
25331 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25332 r=`${PWD_COMMAND}`; export r; \
25333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25334 $(SET_LIB_PATH) \
25335 $(NORMAL_TARGET_EXPORTS) \
25336 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25337 for flag in $(EXTRA_TARGET_FLAGS); do \
25338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25339 done; \
25340 (cd $(TARGET_SUBDIR)/examples && \
25341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25343 "RANLIB=$${RANLIB}" \
25344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25345 clean) \
25346 || exit 1
25348 @endif target-examples
25350 .PHONY: maybe-distclean-target-examples distclean-target-examples
25351 maybe-distclean-target-examples:
25352 @if target-examples
25353 maybe-distclean-target-examples: distclean-target-examples
25355 distclean-target-examples:
25356 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25357 r=`${PWD_COMMAND}`; export r; \
25358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25359 $(SET_LIB_PATH) \
25360 $(NORMAL_TARGET_EXPORTS) \
25361 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25362 for flag in $(EXTRA_TARGET_FLAGS); do \
25363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25364 done; \
25365 (cd $(TARGET_SUBDIR)/examples && \
25366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25368 "RANLIB=$${RANLIB}" \
25369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25370 distclean) \
25371 || exit 1
25373 @endif target-examples
25375 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25376 maybe-maintainer-clean-target-examples:
25377 @if target-examples
25378 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25380 maintainer-clean-target-examples:
25381 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25382 r=`${PWD_COMMAND}`; export r; \
25383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25384 $(SET_LIB_PATH) \
25385 $(NORMAL_TARGET_EXPORTS) \
25386 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25387 for flag in $(EXTRA_TARGET_FLAGS); do \
25388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25389 done; \
25390 (cd $(TARGET_SUBDIR)/examples && \
25391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25393 "RANLIB=$${RANLIB}" \
25394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25395 maintainer-clean) \
25396 || exit 1
25398 @endif target-examples
25401 .PHONY: configure-target-libffi maybe-configure-target-libffi
25402 maybe-configure-target-libffi:
25403 @if target-libffi
25404 maybe-configure-target-libffi: configure-target-libffi
25406 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25407 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25408 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25409 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25410 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25412 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25413 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25414 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25415 r=`${PWD_COMMAND}`; export r; \
25416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(SET_LIB_PATH) \
25418 $(NORMAL_TARGET_EXPORTS) \
25419 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25420 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25421 case $(srcdir) in \
25422 /* | [A-Za-z]:[\\/]*) \
25423 topdir=$(srcdir) ;; \
25424 *) \
25425 case "$(TARGET_SUBDIR)" in \
25426 .) topdir="../$(srcdir)" ;; \
25427 *) topdir="../../$(srcdir)" ;; \
25428 esac ;; \
25429 esac; \
25430 srcdiroption="--srcdir=$${topdir}/libffi"; \
25431 libsrcdir="$$s/libffi"; \
25432 rm -f no-such-file || : ; \
25433 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25434 $(TARGET_CONFIGARGS) $${srcdiroption} \
25435 --with-target-subdir="$(TARGET_SUBDIR)" \
25436 || exit 1
25437 @endif target-libffi
25439 .PHONY: all-target-libffi maybe-all-target-libffi
25440 maybe-all-target-libffi:
25441 @if target-libffi
25442 maybe-all-target-libffi: all-target-libffi
25443 all-target-libffi: configure-target-libffi
25444 @r=`${PWD_COMMAND}`; export r; \
25445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25446 $(SET_LIB_PATH) \
25447 $(NORMAL_TARGET_EXPORTS) \
25448 (cd $(TARGET_SUBDIR)/libffi && \
25449 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25450 @endif target-libffi
25452 .PHONY: check-target-libffi maybe-check-target-libffi
25453 maybe-check-target-libffi:
25454 @if target-libffi
25455 maybe-check-target-libffi: check-target-libffi
25457 check-target-libffi:
25458 @r=`${PWD_COMMAND}`; export r; \
25459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25460 $(SET_LIB_PATH) \
25461 $(NORMAL_TARGET_EXPORTS) \
25462 (cd $(TARGET_SUBDIR)/libffi && \
25463 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25465 @endif target-libffi
25467 .PHONY: install-target-libffi maybe-install-target-libffi
25468 maybe-install-target-libffi:
25469 @if target-libffi
25470 maybe-install-target-libffi: install-target-libffi
25472 install-target-libffi: installdirs
25473 @r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(SET_LIB_PATH) \
25476 $(NORMAL_TARGET_EXPORTS) \
25477 (cd $(TARGET_SUBDIR)/libffi && \
25478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25480 @endif target-libffi
25482 # Other targets (info, dvi, etc.)
25484 .PHONY: maybe-info-target-libffi info-target-libffi
25485 maybe-info-target-libffi:
25486 @if target-libffi
25487 maybe-info-target-libffi: info-target-libffi
25489 info-target-libffi: \
25490 configure-target-libffi
25491 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(SET_LIB_PATH) \
25495 $(NORMAL_TARGET_EXPORTS) \
25496 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25497 for flag in $(EXTRA_TARGET_FLAGS); do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25499 done; \
25500 (cd $(TARGET_SUBDIR)/libffi && \
25501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503 "RANLIB=$${RANLIB}" \
25504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25505 info) \
25506 || exit 1
25508 @endif target-libffi
25510 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25511 maybe-dvi-target-libffi:
25512 @if target-libffi
25513 maybe-dvi-target-libffi: dvi-target-libffi
25515 dvi-target-libffi: \
25516 configure-target-libffi
25517 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(SET_LIB_PATH) \
25521 $(NORMAL_TARGET_EXPORTS) \
25522 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25523 for flag in $(EXTRA_TARGET_FLAGS); do \
25524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25525 done; \
25526 (cd $(TARGET_SUBDIR)/libffi && \
25527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25529 "RANLIB=$${RANLIB}" \
25530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25531 dvi) \
25532 || exit 1
25534 @endif target-libffi
25536 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25537 maybe-TAGS-target-libffi:
25538 @if target-libffi
25539 maybe-TAGS-target-libffi: TAGS-target-libffi
25541 TAGS-target-libffi: \
25542 configure-target-libffi
25543 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25544 r=`${PWD_COMMAND}`; export r; \
25545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546 $(SET_LIB_PATH) \
25547 $(NORMAL_TARGET_EXPORTS) \
25548 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25549 for flag in $(EXTRA_TARGET_FLAGS); do \
25550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551 done; \
25552 (cd $(TARGET_SUBDIR)/libffi && \
25553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25555 "RANLIB=$${RANLIB}" \
25556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25557 TAGS) \
25558 || exit 1
25560 @endif target-libffi
25562 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25563 maybe-install-info-target-libffi:
25564 @if target-libffi
25565 maybe-install-info-target-libffi: install-info-target-libffi
25567 install-info-target-libffi: \
25568 configure-target-libffi \
25569 info-target-libffi
25570 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(SET_LIB_PATH) \
25574 $(NORMAL_TARGET_EXPORTS) \
25575 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25576 for flag in $(EXTRA_TARGET_FLAGS); do \
25577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25578 done; \
25579 (cd $(TARGET_SUBDIR)/libffi && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 install-info) \
25585 || exit 1
25587 @endif target-libffi
25589 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25590 maybe-installcheck-target-libffi:
25591 @if target-libffi
25592 maybe-installcheck-target-libffi: installcheck-target-libffi
25594 installcheck-target-libffi: \
25595 configure-target-libffi
25596 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25597 r=`${PWD_COMMAND}`; export r; \
25598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25599 $(SET_LIB_PATH) \
25600 $(NORMAL_TARGET_EXPORTS) \
25601 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25602 for flag in $(EXTRA_TARGET_FLAGS); do \
25603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25604 done; \
25605 (cd $(TARGET_SUBDIR)/libffi && \
25606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608 "RANLIB=$${RANLIB}" \
25609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25610 installcheck) \
25611 || exit 1
25613 @endif target-libffi
25615 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25616 maybe-mostlyclean-target-libffi:
25617 @if target-libffi
25618 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25620 mostlyclean-target-libffi:
25621 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25622 r=`${PWD_COMMAND}`; export r; \
25623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25624 $(SET_LIB_PATH) \
25625 $(NORMAL_TARGET_EXPORTS) \
25626 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25627 for flag in $(EXTRA_TARGET_FLAGS); do \
25628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25629 done; \
25630 (cd $(TARGET_SUBDIR)/libffi && \
25631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25633 "RANLIB=$${RANLIB}" \
25634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25635 mostlyclean) \
25636 || exit 1
25638 @endif target-libffi
25640 .PHONY: maybe-clean-target-libffi clean-target-libffi
25641 maybe-clean-target-libffi:
25642 @if target-libffi
25643 maybe-clean-target-libffi: clean-target-libffi
25645 clean-target-libffi:
25646 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25647 r=`${PWD_COMMAND}`; export r; \
25648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25649 $(SET_LIB_PATH) \
25650 $(NORMAL_TARGET_EXPORTS) \
25651 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25652 for flag in $(EXTRA_TARGET_FLAGS); do \
25653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25654 done; \
25655 (cd $(TARGET_SUBDIR)/libffi && \
25656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25658 "RANLIB=$${RANLIB}" \
25659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25660 clean) \
25661 || exit 1
25663 @endif target-libffi
25665 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25666 maybe-distclean-target-libffi:
25667 @if target-libffi
25668 maybe-distclean-target-libffi: distclean-target-libffi
25670 distclean-target-libffi:
25671 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25672 r=`${PWD_COMMAND}`; export r; \
25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 $(SET_LIB_PATH) \
25675 $(NORMAL_TARGET_EXPORTS) \
25676 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25677 for flag in $(EXTRA_TARGET_FLAGS); do \
25678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25679 done; \
25680 (cd $(TARGET_SUBDIR)/libffi && \
25681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25683 "RANLIB=$${RANLIB}" \
25684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25685 distclean) \
25686 || exit 1
25688 @endif target-libffi
25690 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25691 maybe-maintainer-clean-target-libffi:
25692 @if target-libffi
25693 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25695 maintainer-clean-target-libffi:
25696 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25697 r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(SET_LIB_PATH) \
25700 $(NORMAL_TARGET_EXPORTS) \
25701 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25702 for flag in $(EXTRA_TARGET_FLAGS); do \
25703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25704 done; \
25705 (cd $(TARGET_SUBDIR)/libffi && \
25706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25708 "RANLIB=$${RANLIB}" \
25709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25710 maintainer-clean) \
25711 || exit 1
25713 @endif target-libffi
25716 .PHONY: configure-target-libjava maybe-configure-target-libjava
25717 maybe-configure-target-libjava:
25718 @if target-libjava
25719 maybe-configure-target-libjava: configure-target-libjava
25721 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25722 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25723 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25724 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25725 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25727 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25728 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25730 r=`${PWD_COMMAND}`; export r; \
25731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25732 $(SET_LIB_PATH) \
25733 $(RAW_CXX_TARGET_EXPORTS) \
25734 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25735 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25736 case $(srcdir) in \
25737 /* | [A-Za-z]:[\\/]*) \
25738 topdir=$(srcdir) ;; \
25739 *) \
25740 case "$(TARGET_SUBDIR)" in \
25741 .) topdir="../$(srcdir)" ;; \
25742 *) topdir="../../$(srcdir)" ;; \
25743 esac ;; \
25744 esac; \
25745 srcdiroption="--srcdir=$${topdir}/libjava"; \
25746 libsrcdir="$$s/libjava"; \
25747 rm -f no-such-file || : ; \
25748 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25749 $(TARGET_CONFIGARGS) $${srcdiroption} \
25750 --with-target-subdir="$(TARGET_SUBDIR)" \
25751 || exit 1
25752 @endif target-libjava
25754 .PHONY: all-target-libjava maybe-all-target-libjava
25755 maybe-all-target-libjava:
25756 @if target-libjava
25757 maybe-all-target-libjava: all-target-libjava
25758 all-target-libjava: configure-target-libjava
25759 @r=`${PWD_COMMAND}`; export r; \
25760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25761 $(SET_LIB_PATH) \
25762 $(RAW_CXX_TARGET_EXPORTS) \
25763 (cd $(TARGET_SUBDIR)/libjava && \
25764 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
25765 @endif target-libjava
25767 .PHONY: check-target-libjava maybe-check-target-libjava
25768 maybe-check-target-libjava:
25769 @if target-libjava
25770 maybe-check-target-libjava: check-target-libjava
25772 check-target-libjava:
25773 @r=`${PWD_COMMAND}`; export r; \
25774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25775 $(SET_LIB_PATH) \
25776 $(RAW_CXX_TARGET_EXPORTS) \
25777 (cd $(TARGET_SUBDIR)/libjava && \
25778 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25780 @endif target-libjava
25782 .PHONY: install-target-libjava maybe-install-target-libjava
25783 maybe-install-target-libjava:
25784 @if target-libjava
25785 maybe-install-target-libjava: install-target-libjava
25787 install-target-libjava: installdirs
25788 @r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(SET_LIB_PATH) \
25791 $(RAW_CXX_TARGET_EXPORTS) \
25792 (cd $(TARGET_SUBDIR)/libjava && \
25793 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25795 @endif target-libjava
25797 # Other targets (info, dvi, etc.)
25799 .PHONY: maybe-info-target-libjava info-target-libjava
25800 maybe-info-target-libjava:
25801 @if target-libjava
25802 maybe-info-target-libjava: info-target-libjava
25804 info-target-libjava: \
25805 configure-target-libjava
25806 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25807 r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 $(SET_LIB_PATH) \
25810 $(RAW_CXX_TARGET_EXPORTS) \
25811 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25812 for flag in $(EXTRA_TARGET_FLAGS); do \
25813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25814 done; \
25815 (cd $(TARGET_SUBDIR)/libjava && \
25816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25818 "RANLIB=$${RANLIB}" \
25819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25820 info) \
25821 || exit 1
25823 @endif target-libjava
25825 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25826 maybe-dvi-target-libjava:
25827 @if target-libjava
25828 maybe-dvi-target-libjava: dvi-target-libjava
25830 dvi-target-libjava: \
25831 configure-target-libjava
25832 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25833 r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25835 $(SET_LIB_PATH) \
25836 $(RAW_CXX_TARGET_EXPORTS) \
25837 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25838 for flag in $(EXTRA_TARGET_FLAGS); do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25840 done; \
25841 (cd $(TARGET_SUBDIR)/libjava && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25846 dvi) \
25847 || exit 1
25849 @endif target-libjava
25851 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25852 maybe-TAGS-target-libjava:
25853 @if target-libjava
25854 maybe-TAGS-target-libjava: TAGS-target-libjava
25856 TAGS-target-libjava: \
25857 configure-target-libjava
25858 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(SET_LIB_PATH) \
25862 $(RAW_CXX_TARGET_EXPORTS) \
25863 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25864 for flag in $(EXTRA_TARGET_FLAGS); do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 done; \
25867 (cd $(TARGET_SUBDIR)/libjava && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25872 TAGS) \
25873 || exit 1
25875 @endif target-libjava
25877 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25878 maybe-install-info-target-libjava:
25879 @if target-libjava
25880 maybe-install-info-target-libjava: install-info-target-libjava
25882 install-info-target-libjava: \
25883 configure-target-libjava \
25884 info-target-libjava
25885 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25886 r=`${PWD_COMMAND}`; export r; \
25887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(SET_LIB_PATH) \
25889 $(RAW_CXX_TARGET_EXPORTS) \
25890 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25891 for flag in $(EXTRA_TARGET_FLAGS); do \
25892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 done; \
25894 (cd $(TARGET_SUBDIR)/libjava && \
25895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25897 "RANLIB=$${RANLIB}" \
25898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25899 install-info) \
25900 || exit 1
25902 @endif target-libjava
25904 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25905 maybe-installcheck-target-libjava:
25906 @if target-libjava
25907 maybe-installcheck-target-libjava: installcheck-target-libjava
25909 installcheck-target-libjava: \
25910 configure-target-libjava
25911 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 $(SET_LIB_PATH) \
25915 $(RAW_CXX_TARGET_EXPORTS) \
25916 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25917 for flag in $(EXTRA_TARGET_FLAGS); do \
25918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25919 done; \
25920 (cd $(TARGET_SUBDIR)/libjava && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25925 installcheck) \
25926 || exit 1
25928 @endif target-libjava
25930 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
25931 maybe-mostlyclean-target-libjava:
25932 @if target-libjava
25933 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
25935 mostlyclean-target-libjava:
25936 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25937 r=`${PWD_COMMAND}`; export r; \
25938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25939 $(SET_LIB_PATH) \
25940 $(RAW_CXX_TARGET_EXPORTS) \
25941 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
25942 for flag in $(EXTRA_TARGET_FLAGS); do \
25943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25944 done; \
25945 (cd $(TARGET_SUBDIR)/libjava && \
25946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25948 "RANLIB=$${RANLIB}" \
25949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25950 mostlyclean) \
25951 || exit 1
25953 @endif target-libjava
25955 .PHONY: maybe-clean-target-libjava clean-target-libjava
25956 maybe-clean-target-libjava:
25957 @if target-libjava
25958 maybe-clean-target-libjava: clean-target-libjava
25960 clean-target-libjava:
25961 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25962 r=`${PWD_COMMAND}`; export r; \
25963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25964 $(SET_LIB_PATH) \
25965 $(RAW_CXX_TARGET_EXPORTS) \
25966 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
25967 for flag in $(EXTRA_TARGET_FLAGS); do \
25968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25969 done; \
25970 (cd $(TARGET_SUBDIR)/libjava && \
25971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25973 "RANLIB=$${RANLIB}" \
25974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25975 clean) \
25976 || exit 1
25978 @endif target-libjava
25980 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
25981 maybe-distclean-target-libjava:
25982 @if target-libjava
25983 maybe-distclean-target-libjava: distclean-target-libjava
25985 distclean-target-libjava:
25986 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25987 r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 $(SET_LIB_PATH) \
25990 $(RAW_CXX_TARGET_EXPORTS) \
25991 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
25992 for flag in $(EXTRA_TARGET_FLAGS); do \
25993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25994 done; \
25995 (cd $(TARGET_SUBDIR)/libjava && \
25996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25998 "RANLIB=$${RANLIB}" \
25999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26000 distclean) \
26001 || exit 1
26003 @endif target-libjava
26005 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26006 maybe-maintainer-clean-target-libjava:
26007 @if target-libjava
26008 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26010 maintainer-clean-target-libjava:
26011 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26012 r=`${PWD_COMMAND}`; export r; \
26013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26014 $(SET_LIB_PATH) \
26015 $(RAW_CXX_TARGET_EXPORTS) \
26016 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26017 for flag in $(EXTRA_TARGET_FLAGS); do \
26018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26019 done; \
26020 (cd $(TARGET_SUBDIR)/libjava && \
26021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26023 "RANLIB=$${RANLIB}" \
26024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26025 maintainer-clean) \
26026 || exit 1
26028 @endif target-libjava
26031 .PHONY: configure-target-zlib maybe-configure-target-zlib
26032 maybe-configure-target-zlib:
26033 @if target-zlib
26034 maybe-configure-target-zlib: configure-target-zlib
26036 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26037 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26039 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26040 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26042 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26043 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26045 r=`${PWD_COMMAND}`; export r; \
26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(SET_LIB_PATH) \
26048 $(NORMAL_TARGET_EXPORTS) \
26049 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26050 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26051 case $(srcdir) in \
26052 /* | [A-Za-z]:[\\/]*) \
26053 topdir=$(srcdir) ;; \
26054 *) \
26055 case "$(TARGET_SUBDIR)" in \
26056 .) topdir="../$(srcdir)" ;; \
26057 *) topdir="../../$(srcdir)" ;; \
26058 esac ;; \
26059 esac; \
26060 if [ "$(srcdir)" = "." ] ; then \
26061 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26062 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26063 if [ -f Makefile ]; then \
26064 if $(MAKE) distclean; then \
26065 true; \
26066 else \
26067 exit 1; \
26068 fi; \
26069 else \
26070 true; \
26071 fi; \
26072 else \
26073 exit 1; \
26074 fi; \
26075 else \
26076 true; \
26077 fi; \
26078 srcdiroption="--srcdir=."; \
26079 libsrcdir="."; \
26080 else \
26081 srcdiroption="--srcdir=$${topdir}/zlib"; \
26082 libsrcdir="$$s/zlib"; \
26083 fi; \
26084 rm -f no-such-file || : ; \
26085 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26086 $(TARGET_CONFIGARGS) $${srcdiroption} \
26087 --with-target-subdir="$(TARGET_SUBDIR)" \
26088 || exit 1
26089 @endif target-zlib
26091 .PHONY: all-target-zlib maybe-all-target-zlib
26092 maybe-all-target-zlib:
26093 @if target-zlib
26094 maybe-all-target-zlib: all-target-zlib
26095 all-target-zlib: configure-target-zlib
26096 @r=`${PWD_COMMAND}`; export r; \
26097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26098 $(SET_LIB_PATH) \
26099 $(NORMAL_TARGET_EXPORTS) \
26100 (cd $(TARGET_SUBDIR)/zlib && \
26101 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26102 @endif target-zlib
26104 .PHONY: check-target-zlib maybe-check-target-zlib
26105 maybe-check-target-zlib:
26106 @if target-zlib
26107 maybe-check-target-zlib: check-target-zlib
26109 check-target-zlib:
26110 @r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(SET_LIB_PATH) \
26113 $(NORMAL_TARGET_EXPORTS) \
26114 (cd $(TARGET_SUBDIR)/zlib && \
26115 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26117 @endif target-zlib
26119 .PHONY: install-target-zlib maybe-install-target-zlib
26120 maybe-install-target-zlib:
26121 @if target-zlib
26122 maybe-install-target-zlib: install-target-zlib
26124 install-target-zlib: installdirs
26125 @r=`${PWD_COMMAND}`; export r; \
26126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26127 $(SET_LIB_PATH) \
26128 $(NORMAL_TARGET_EXPORTS) \
26129 (cd $(TARGET_SUBDIR)/zlib && \
26130 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26132 @endif target-zlib
26134 # Other targets (info, dvi, etc.)
26136 .PHONY: maybe-info-target-zlib info-target-zlib
26137 maybe-info-target-zlib:
26138 @if target-zlib
26139 maybe-info-target-zlib: info-target-zlib
26141 info-target-zlib: \
26142 configure-target-zlib
26143 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26144 r=`${PWD_COMMAND}`; export r; \
26145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 $(SET_LIB_PATH) \
26147 $(NORMAL_TARGET_EXPORTS) \
26148 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26149 for flag in $(EXTRA_TARGET_FLAGS); do \
26150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26151 done; \
26152 (cd $(TARGET_SUBDIR)/zlib && \
26153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26155 "RANLIB=$${RANLIB}" \
26156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26157 info) \
26158 || exit 1
26160 @endif target-zlib
26162 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26163 maybe-dvi-target-zlib:
26164 @if target-zlib
26165 maybe-dvi-target-zlib: dvi-target-zlib
26167 dvi-target-zlib: \
26168 configure-target-zlib
26169 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26170 r=`${PWD_COMMAND}`; export r; \
26171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26172 $(SET_LIB_PATH) \
26173 $(NORMAL_TARGET_EXPORTS) \
26174 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26175 for flag in $(EXTRA_TARGET_FLAGS); do \
26176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26177 done; \
26178 (cd $(TARGET_SUBDIR)/zlib && \
26179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26181 "RANLIB=$${RANLIB}" \
26182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26183 dvi) \
26184 || exit 1
26186 @endif target-zlib
26188 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26189 maybe-TAGS-target-zlib:
26190 @if target-zlib
26191 maybe-TAGS-target-zlib: TAGS-target-zlib
26193 TAGS-target-zlib: \
26194 configure-target-zlib
26195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26196 r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 $(SET_LIB_PATH) \
26199 $(NORMAL_TARGET_EXPORTS) \
26200 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26201 for flag in $(EXTRA_TARGET_FLAGS); do \
26202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26203 done; \
26204 (cd $(TARGET_SUBDIR)/zlib && \
26205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26207 "RANLIB=$${RANLIB}" \
26208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26209 TAGS) \
26210 || exit 1
26212 @endif target-zlib
26214 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26215 maybe-install-info-target-zlib:
26216 @if target-zlib
26217 maybe-install-info-target-zlib: install-info-target-zlib
26219 install-info-target-zlib: \
26220 configure-target-zlib \
26221 info-target-zlib
26222 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26223 r=`${PWD_COMMAND}`; export r; \
26224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26225 $(SET_LIB_PATH) \
26226 $(NORMAL_TARGET_EXPORTS) \
26227 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26228 for flag in $(EXTRA_TARGET_FLAGS); do \
26229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26230 done; \
26231 (cd $(TARGET_SUBDIR)/zlib && \
26232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26234 "RANLIB=$${RANLIB}" \
26235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26236 install-info) \
26237 || exit 1
26239 @endif target-zlib
26241 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26242 maybe-installcheck-target-zlib:
26243 @if target-zlib
26244 maybe-installcheck-target-zlib: installcheck-target-zlib
26246 installcheck-target-zlib: \
26247 configure-target-zlib
26248 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26249 r=`${PWD_COMMAND}`; export r; \
26250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26251 $(SET_LIB_PATH) \
26252 $(NORMAL_TARGET_EXPORTS) \
26253 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26254 for flag in $(EXTRA_TARGET_FLAGS); do \
26255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26256 done; \
26257 (cd $(TARGET_SUBDIR)/zlib && \
26258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26260 "RANLIB=$${RANLIB}" \
26261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26262 installcheck) \
26263 || exit 1
26265 @endif target-zlib
26267 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26268 maybe-mostlyclean-target-zlib:
26269 @if target-zlib
26270 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26272 mostlyclean-target-zlib:
26273 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26274 r=`${PWD_COMMAND}`; export r; \
26275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26276 $(SET_LIB_PATH) \
26277 $(NORMAL_TARGET_EXPORTS) \
26278 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26279 for flag in $(EXTRA_TARGET_FLAGS); do \
26280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26281 done; \
26282 (cd $(TARGET_SUBDIR)/zlib && \
26283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26285 "RANLIB=$${RANLIB}" \
26286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26287 mostlyclean) \
26288 || exit 1
26290 @endif target-zlib
26292 .PHONY: maybe-clean-target-zlib clean-target-zlib
26293 maybe-clean-target-zlib:
26294 @if target-zlib
26295 maybe-clean-target-zlib: clean-target-zlib
26297 clean-target-zlib:
26298 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26299 r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 $(SET_LIB_PATH) \
26302 $(NORMAL_TARGET_EXPORTS) \
26303 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26304 for flag in $(EXTRA_TARGET_FLAGS); do \
26305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26306 done; \
26307 (cd $(TARGET_SUBDIR)/zlib && \
26308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26310 "RANLIB=$${RANLIB}" \
26311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26312 clean) \
26313 || exit 1
26315 @endif target-zlib
26317 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26318 maybe-distclean-target-zlib:
26319 @if target-zlib
26320 maybe-distclean-target-zlib: distclean-target-zlib
26322 distclean-target-zlib:
26323 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26324 r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(SET_LIB_PATH) \
26327 $(NORMAL_TARGET_EXPORTS) \
26328 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26329 for flag in $(EXTRA_TARGET_FLAGS); do \
26330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26331 done; \
26332 (cd $(TARGET_SUBDIR)/zlib && \
26333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26335 "RANLIB=$${RANLIB}" \
26336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26337 distclean) \
26338 || exit 1
26340 @endif target-zlib
26342 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26343 maybe-maintainer-clean-target-zlib:
26344 @if target-zlib
26345 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26347 maintainer-clean-target-zlib:
26348 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26349 r=`${PWD_COMMAND}`; export r; \
26350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26351 $(SET_LIB_PATH) \
26352 $(NORMAL_TARGET_EXPORTS) \
26353 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26354 for flag in $(EXTRA_TARGET_FLAGS); do \
26355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26356 done; \
26357 (cd $(TARGET_SUBDIR)/zlib && \
26358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26360 "RANLIB=$${RANLIB}" \
26361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26362 maintainer-clean) \
26363 || exit 1
26365 @endif target-zlib
26368 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26369 maybe-configure-target-boehm-gc:
26370 @if target-boehm-gc
26371 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26373 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26374 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26375 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26376 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26377 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26379 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26380 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26382 r=`${PWD_COMMAND}`; export r; \
26383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26384 $(SET_LIB_PATH) \
26385 $(NORMAL_TARGET_EXPORTS) \
26386 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26387 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26388 case $(srcdir) in \
26389 /* | [A-Za-z]:[\\/]*) \
26390 topdir=$(srcdir) ;; \
26391 *) \
26392 case "$(TARGET_SUBDIR)" in \
26393 .) topdir="../$(srcdir)" ;; \
26394 *) topdir="../../$(srcdir)" ;; \
26395 esac ;; \
26396 esac; \
26397 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26398 libsrcdir="$$s/boehm-gc"; \
26399 rm -f no-such-file || : ; \
26400 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26401 $(TARGET_CONFIGARGS) $${srcdiroption} \
26402 --with-target-subdir="$(TARGET_SUBDIR)" \
26403 || exit 1
26404 @endif target-boehm-gc
26406 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26407 maybe-all-target-boehm-gc:
26408 @if target-boehm-gc
26409 maybe-all-target-boehm-gc: all-target-boehm-gc
26410 all-target-boehm-gc: configure-target-boehm-gc
26411 @r=`${PWD_COMMAND}`; export r; \
26412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 $(SET_LIB_PATH) \
26414 $(NORMAL_TARGET_EXPORTS) \
26415 (cd $(TARGET_SUBDIR)/boehm-gc && \
26416 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26417 @endif target-boehm-gc
26419 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26420 maybe-check-target-boehm-gc:
26421 @if target-boehm-gc
26422 maybe-check-target-boehm-gc: check-target-boehm-gc
26424 check-target-boehm-gc:
26425 @r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 $(SET_LIB_PATH) \
26428 $(NORMAL_TARGET_EXPORTS) \
26429 (cd $(TARGET_SUBDIR)/boehm-gc && \
26430 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26432 @endif target-boehm-gc
26434 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26435 maybe-install-target-boehm-gc:
26436 @if target-boehm-gc
26437 maybe-install-target-boehm-gc: install-target-boehm-gc
26439 install-target-boehm-gc: installdirs
26440 @r=`${PWD_COMMAND}`; export r; \
26441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26442 $(SET_LIB_PATH) \
26443 $(NORMAL_TARGET_EXPORTS) \
26444 (cd $(TARGET_SUBDIR)/boehm-gc && \
26445 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26447 @endif target-boehm-gc
26449 # Other targets (info, dvi, etc.)
26451 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26452 maybe-info-target-boehm-gc:
26453 @if target-boehm-gc
26454 maybe-info-target-boehm-gc: info-target-boehm-gc
26456 info-target-boehm-gc: \
26457 configure-target-boehm-gc
26458 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26459 r=`${PWD_COMMAND}`; export r; \
26460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26461 $(SET_LIB_PATH) \
26462 $(NORMAL_TARGET_EXPORTS) \
26463 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26464 for flag in $(EXTRA_TARGET_FLAGS); do \
26465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26466 done; \
26467 (cd $(TARGET_SUBDIR)/boehm-gc && \
26468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26470 "RANLIB=$${RANLIB}" \
26471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26472 info) \
26473 || exit 1
26475 @endif target-boehm-gc
26477 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26478 maybe-dvi-target-boehm-gc:
26479 @if target-boehm-gc
26480 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26482 dvi-target-boehm-gc: \
26483 configure-target-boehm-gc
26484 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26485 r=`${PWD_COMMAND}`; export r; \
26486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26487 $(SET_LIB_PATH) \
26488 $(NORMAL_TARGET_EXPORTS) \
26489 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26490 for flag in $(EXTRA_TARGET_FLAGS); do \
26491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26492 done; \
26493 (cd $(TARGET_SUBDIR)/boehm-gc && \
26494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26496 "RANLIB=$${RANLIB}" \
26497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26498 dvi) \
26499 || exit 1
26501 @endif target-boehm-gc
26503 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26504 maybe-TAGS-target-boehm-gc:
26505 @if target-boehm-gc
26506 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26508 TAGS-target-boehm-gc: \
26509 configure-target-boehm-gc
26510 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26511 r=`${PWD_COMMAND}`; export r; \
26512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26513 $(SET_LIB_PATH) \
26514 $(NORMAL_TARGET_EXPORTS) \
26515 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26516 for flag in $(EXTRA_TARGET_FLAGS); do \
26517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26518 done; \
26519 (cd $(TARGET_SUBDIR)/boehm-gc && \
26520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26522 "RANLIB=$${RANLIB}" \
26523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 TAGS) \
26525 || exit 1
26527 @endif target-boehm-gc
26529 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26530 maybe-install-info-target-boehm-gc:
26531 @if target-boehm-gc
26532 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26534 install-info-target-boehm-gc: \
26535 configure-target-boehm-gc \
26536 info-target-boehm-gc
26537 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26538 r=`${PWD_COMMAND}`; export r; \
26539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26540 $(SET_LIB_PATH) \
26541 $(NORMAL_TARGET_EXPORTS) \
26542 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26543 for flag in $(EXTRA_TARGET_FLAGS); do \
26544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26545 done; \
26546 (cd $(TARGET_SUBDIR)/boehm-gc && \
26547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26549 "RANLIB=$${RANLIB}" \
26550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26551 install-info) \
26552 || exit 1
26554 @endif target-boehm-gc
26556 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26557 maybe-installcheck-target-boehm-gc:
26558 @if target-boehm-gc
26559 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26561 installcheck-target-boehm-gc: \
26562 configure-target-boehm-gc
26563 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26564 r=`${PWD_COMMAND}`; export r; \
26565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26566 $(SET_LIB_PATH) \
26567 $(NORMAL_TARGET_EXPORTS) \
26568 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26569 for flag in $(EXTRA_TARGET_FLAGS); do \
26570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26571 done; \
26572 (cd $(TARGET_SUBDIR)/boehm-gc && \
26573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26575 "RANLIB=$${RANLIB}" \
26576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26577 installcheck) \
26578 || exit 1
26580 @endif target-boehm-gc
26582 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26583 maybe-mostlyclean-target-boehm-gc:
26584 @if target-boehm-gc
26585 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26587 mostlyclean-target-boehm-gc:
26588 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26591 $(SET_LIB_PATH) \
26592 $(NORMAL_TARGET_EXPORTS) \
26593 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26594 for flag in $(EXTRA_TARGET_FLAGS); do \
26595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26596 done; \
26597 (cd $(TARGET_SUBDIR)/boehm-gc && \
26598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26600 "RANLIB=$${RANLIB}" \
26601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26602 mostlyclean) \
26603 || exit 1
26605 @endif target-boehm-gc
26607 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26608 maybe-clean-target-boehm-gc:
26609 @if target-boehm-gc
26610 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26612 clean-target-boehm-gc:
26613 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26614 r=`${PWD_COMMAND}`; export r; \
26615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26616 $(SET_LIB_PATH) \
26617 $(NORMAL_TARGET_EXPORTS) \
26618 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26619 for flag in $(EXTRA_TARGET_FLAGS); do \
26620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26621 done; \
26622 (cd $(TARGET_SUBDIR)/boehm-gc && \
26623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26625 "RANLIB=$${RANLIB}" \
26626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26627 clean) \
26628 || exit 1
26630 @endif target-boehm-gc
26632 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26633 maybe-distclean-target-boehm-gc:
26634 @if target-boehm-gc
26635 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26637 distclean-target-boehm-gc:
26638 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26639 r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(SET_LIB_PATH) \
26642 $(NORMAL_TARGET_EXPORTS) \
26643 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26644 for flag in $(EXTRA_TARGET_FLAGS); do \
26645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26646 done; \
26647 (cd $(TARGET_SUBDIR)/boehm-gc && \
26648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26650 "RANLIB=$${RANLIB}" \
26651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26652 distclean) \
26653 || exit 1
26655 @endif target-boehm-gc
26657 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26658 maybe-maintainer-clean-target-boehm-gc:
26659 @if target-boehm-gc
26660 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26662 maintainer-clean-target-boehm-gc:
26663 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26664 r=`${PWD_COMMAND}`; export r; \
26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(SET_LIB_PATH) \
26667 $(NORMAL_TARGET_EXPORTS) \
26668 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26669 for flag in $(EXTRA_TARGET_FLAGS); do \
26670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26671 done; \
26672 (cd $(TARGET_SUBDIR)/boehm-gc && \
26673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26675 "RANLIB=$${RANLIB}" \
26676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26677 maintainer-clean) \
26678 || exit 1
26680 @endif target-boehm-gc
26683 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26684 maybe-configure-target-qthreads:
26685 @if target-qthreads
26686 maybe-configure-target-qthreads: configure-target-qthreads
26688 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26689 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26690 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26691 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26692 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26694 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26695 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26696 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26697 r=`${PWD_COMMAND}`; export r; \
26698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26699 $(SET_LIB_PATH) \
26700 $(NORMAL_TARGET_EXPORTS) \
26701 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26702 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26703 case $(srcdir) in \
26704 /* | [A-Za-z]:[\\/]*) \
26705 topdir=$(srcdir) ;; \
26706 *) \
26707 case "$(TARGET_SUBDIR)" in \
26708 .) topdir="../$(srcdir)" ;; \
26709 *) topdir="../../$(srcdir)" ;; \
26710 esac ;; \
26711 esac; \
26712 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26713 libsrcdir="$$s/qthreads"; \
26714 rm -f no-such-file || : ; \
26715 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26716 $(TARGET_CONFIGARGS) $${srcdiroption} \
26717 --with-target-subdir="$(TARGET_SUBDIR)" \
26718 || exit 1
26719 @endif target-qthreads
26721 .PHONY: all-target-qthreads maybe-all-target-qthreads
26722 maybe-all-target-qthreads:
26723 @if target-qthreads
26724 maybe-all-target-qthreads: all-target-qthreads
26725 all-target-qthreads: configure-target-qthreads
26726 @r=`${PWD_COMMAND}`; export r; \
26727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 $(SET_LIB_PATH) \
26729 $(NORMAL_TARGET_EXPORTS) \
26730 (cd $(TARGET_SUBDIR)/qthreads && \
26731 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26732 @endif target-qthreads
26734 .PHONY: check-target-qthreads maybe-check-target-qthreads
26735 maybe-check-target-qthreads:
26736 @if target-qthreads
26737 maybe-check-target-qthreads: check-target-qthreads
26739 check-target-qthreads:
26740 @r=`${PWD_COMMAND}`; export r; \
26741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26742 $(SET_LIB_PATH) \
26743 $(NORMAL_TARGET_EXPORTS) \
26744 (cd $(TARGET_SUBDIR)/qthreads && \
26745 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26747 @endif target-qthreads
26749 .PHONY: install-target-qthreads maybe-install-target-qthreads
26750 maybe-install-target-qthreads:
26751 @if target-qthreads
26752 maybe-install-target-qthreads: install-target-qthreads
26754 install-target-qthreads: installdirs
26755 @r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(SET_LIB_PATH) \
26758 $(NORMAL_TARGET_EXPORTS) \
26759 (cd $(TARGET_SUBDIR)/qthreads && \
26760 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26762 @endif target-qthreads
26764 # Other targets (info, dvi, etc.)
26766 .PHONY: maybe-info-target-qthreads info-target-qthreads
26767 maybe-info-target-qthreads:
26768 @if target-qthreads
26769 maybe-info-target-qthreads: info-target-qthreads
26771 info-target-qthreads: \
26772 configure-target-qthreads
26773 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26774 r=`${PWD_COMMAND}`; export r; \
26775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26776 $(SET_LIB_PATH) \
26777 $(NORMAL_TARGET_EXPORTS) \
26778 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26779 for flag in $(EXTRA_TARGET_FLAGS); do \
26780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26781 done; \
26782 (cd $(TARGET_SUBDIR)/qthreads && \
26783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26785 "RANLIB=$${RANLIB}" \
26786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26787 info) \
26788 || exit 1
26790 @endif target-qthreads
26792 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26793 maybe-dvi-target-qthreads:
26794 @if target-qthreads
26795 maybe-dvi-target-qthreads: dvi-target-qthreads
26797 dvi-target-qthreads: \
26798 configure-target-qthreads
26799 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26800 r=`${PWD_COMMAND}`; export r; \
26801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26802 $(SET_LIB_PATH) \
26803 $(NORMAL_TARGET_EXPORTS) \
26804 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26805 for flag in $(EXTRA_TARGET_FLAGS); do \
26806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26807 done; \
26808 (cd $(TARGET_SUBDIR)/qthreads && \
26809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26811 "RANLIB=$${RANLIB}" \
26812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26813 dvi) \
26814 || exit 1
26816 @endif target-qthreads
26818 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26819 maybe-TAGS-target-qthreads:
26820 @if target-qthreads
26821 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26823 TAGS-target-qthreads: \
26824 configure-target-qthreads
26825 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26826 r=`${PWD_COMMAND}`; export r; \
26827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26828 $(SET_LIB_PATH) \
26829 $(NORMAL_TARGET_EXPORTS) \
26830 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26831 for flag in $(EXTRA_TARGET_FLAGS); do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26833 done; \
26834 (cd $(TARGET_SUBDIR)/qthreads && \
26835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26837 "RANLIB=$${RANLIB}" \
26838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26839 TAGS) \
26840 || exit 1
26842 @endif target-qthreads
26844 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26845 maybe-install-info-target-qthreads:
26846 @if target-qthreads
26847 maybe-install-info-target-qthreads: install-info-target-qthreads
26849 install-info-target-qthreads: \
26850 configure-target-qthreads \
26851 info-target-qthreads
26852 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26853 r=`${PWD_COMMAND}`; export r; \
26854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(SET_LIB_PATH) \
26856 $(NORMAL_TARGET_EXPORTS) \
26857 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26858 for flag in $(EXTRA_TARGET_FLAGS); do \
26859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26860 done; \
26861 (cd $(TARGET_SUBDIR)/qthreads && \
26862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26864 "RANLIB=$${RANLIB}" \
26865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26866 install-info) \
26867 || exit 1
26869 @endif target-qthreads
26871 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26872 maybe-installcheck-target-qthreads:
26873 @if target-qthreads
26874 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26876 installcheck-target-qthreads: \
26877 configure-target-qthreads
26878 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26879 r=`${PWD_COMMAND}`; export r; \
26880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26881 $(SET_LIB_PATH) \
26882 $(NORMAL_TARGET_EXPORTS) \
26883 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26884 for flag in $(EXTRA_TARGET_FLAGS); do \
26885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26886 done; \
26887 (cd $(TARGET_SUBDIR)/qthreads && \
26888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26890 "RANLIB=$${RANLIB}" \
26891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26892 installcheck) \
26893 || exit 1
26895 @endif target-qthreads
26897 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26898 maybe-mostlyclean-target-qthreads:
26899 @if target-qthreads
26900 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26902 mostlyclean-target-qthreads:
26903 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26904 r=`${PWD_COMMAND}`; export r; \
26905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26906 $(SET_LIB_PATH) \
26907 $(NORMAL_TARGET_EXPORTS) \
26908 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26909 for flag in $(EXTRA_TARGET_FLAGS); do \
26910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26911 done; \
26912 (cd $(TARGET_SUBDIR)/qthreads && \
26913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26915 "RANLIB=$${RANLIB}" \
26916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26917 mostlyclean) \
26918 || exit 1
26920 @endif target-qthreads
26922 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
26923 maybe-clean-target-qthreads:
26924 @if target-qthreads
26925 maybe-clean-target-qthreads: clean-target-qthreads
26927 clean-target-qthreads:
26928 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26929 r=`${PWD_COMMAND}`; export r; \
26930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26931 $(SET_LIB_PATH) \
26932 $(NORMAL_TARGET_EXPORTS) \
26933 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
26934 for flag in $(EXTRA_TARGET_FLAGS); do \
26935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26936 done; \
26937 (cd $(TARGET_SUBDIR)/qthreads && \
26938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26940 "RANLIB=$${RANLIB}" \
26941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26942 clean) \
26943 || exit 1
26945 @endif target-qthreads
26947 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
26948 maybe-distclean-target-qthreads:
26949 @if target-qthreads
26950 maybe-distclean-target-qthreads: distclean-target-qthreads
26952 distclean-target-qthreads:
26953 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26954 r=`${PWD_COMMAND}`; export r; \
26955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26956 $(SET_LIB_PATH) \
26957 $(NORMAL_TARGET_EXPORTS) \
26958 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
26959 for flag in $(EXTRA_TARGET_FLAGS); do \
26960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26961 done; \
26962 (cd $(TARGET_SUBDIR)/qthreads && \
26963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26965 "RANLIB=$${RANLIB}" \
26966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26967 distclean) \
26968 || exit 1
26970 @endif target-qthreads
26972 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
26973 maybe-maintainer-clean-target-qthreads:
26974 @if target-qthreads
26975 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
26977 maintainer-clean-target-qthreads:
26978 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26979 r=`${PWD_COMMAND}`; export r; \
26980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26981 $(SET_LIB_PATH) \
26982 $(NORMAL_TARGET_EXPORTS) \
26983 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
26984 for flag in $(EXTRA_TARGET_FLAGS); do \
26985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26986 done; \
26987 (cd $(TARGET_SUBDIR)/qthreads && \
26988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26990 "RANLIB=$${RANLIB}" \
26991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26992 maintainer-clean) \
26993 || exit 1
26995 @endif target-qthreads
26998 .PHONY: configure-target-rda maybe-configure-target-rda
26999 maybe-configure-target-rda:
27000 @if target-rda
27001 maybe-configure-target-rda: configure-target-rda
27003 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27004 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27005 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27006 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27007 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27009 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27010 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27012 r=`${PWD_COMMAND}`; export r; \
27013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27014 $(SET_LIB_PATH) \
27015 $(NORMAL_TARGET_EXPORTS) \
27016 echo Configuring in $(TARGET_SUBDIR)/rda; \
27017 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27018 case $(srcdir) in \
27019 /* | [A-Za-z]:[\\/]*) \
27020 topdir=$(srcdir) ;; \
27021 *) \
27022 case "$(TARGET_SUBDIR)" in \
27023 .) topdir="../$(srcdir)" ;; \
27024 *) topdir="../../$(srcdir)" ;; \
27025 esac ;; \
27026 esac; \
27027 srcdiroption="--srcdir=$${topdir}/rda"; \
27028 libsrcdir="$$s/rda"; \
27029 rm -f no-such-file || : ; \
27030 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27031 $(TARGET_CONFIGARGS) $${srcdiroption} \
27032 --with-target-subdir="$(TARGET_SUBDIR)" \
27033 || exit 1
27034 @endif target-rda
27036 .PHONY: all-target-rda maybe-all-target-rda
27037 maybe-all-target-rda:
27038 @if target-rda
27039 maybe-all-target-rda: all-target-rda
27040 all-target-rda: configure-target-rda
27041 @r=`${PWD_COMMAND}`; export r; \
27042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27043 $(SET_LIB_PATH) \
27044 $(NORMAL_TARGET_EXPORTS) \
27045 (cd $(TARGET_SUBDIR)/rda && \
27046 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27047 @endif target-rda
27049 .PHONY: check-target-rda maybe-check-target-rda
27050 maybe-check-target-rda:
27051 @if target-rda
27052 maybe-check-target-rda: check-target-rda
27054 check-target-rda:
27055 @r=`${PWD_COMMAND}`; export r; \
27056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27057 $(SET_LIB_PATH) \
27058 $(NORMAL_TARGET_EXPORTS) \
27059 (cd $(TARGET_SUBDIR)/rda && \
27060 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27062 @endif target-rda
27064 .PHONY: install-target-rda maybe-install-target-rda
27065 maybe-install-target-rda:
27066 @if target-rda
27067 maybe-install-target-rda: install-target-rda
27069 install-target-rda: installdirs
27070 @r=`${PWD_COMMAND}`; export r; \
27071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27072 $(SET_LIB_PATH) \
27073 $(NORMAL_TARGET_EXPORTS) \
27074 (cd $(TARGET_SUBDIR)/rda && \
27075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27077 @endif target-rda
27079 # Other targets (info, dvi, etc.)
27081 .PHONY: maybe-info-target-rda info-target-rda
27082 maybe-info-target-rda:
27083 @if target-rda
27084 maybe-info-target-rda: info-target-rda
27086 info-target-rda: \
27087 configure-target-rda
27088 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27089 r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 $(SET_LIB_PATH) \
27092 $(NORMAL_TARGET_EXPORTS) \
27093 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27094 for flag in $(EXTRA_TARGET_FLAGS); do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27096 done; \
27097 (cd $(TARGET_SUBDIR)/rda && \
27098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27100 "RANLIB=$${RANLIB}" \
27101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27102 info) \
27103 || exit 1
27105 @endif target-rda
27107 .PHONY: maybe-dvi-target-rda dvi-target-rda
27108 maybe-dvi-target-rda:
27109 @if target-rda
27110 maybe-dvi-target-rda: dvi-target-rda
27112 dvi-target-rda: \
27113 configure-target-rda
27114 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(SET_LIB_PATH) \
27118 $(NORMAL_TARGET_EXPORTS) \
27119 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27120 for flag in $(EXTRA_TARGET_FLAGS); do \
27121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27122 done; \
27123 (cd $(TARGET_SUBDIR)/rda && \
27124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27126 "RANLIB=$${RANLIB}" \
27127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27128 dvi) \
27129 || exit 1
27131 @endif target-rda
27133 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27134 maybe-TAGS-target-rda:
27135 @if target-rda
27136 maybe-TAGS-target-rda: TAGS-target-rda
27138 TAGS-target-rda: \
27139 configure-target-rda
27140 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27141 r=`${PWD_COMMAND}`; export r; \
27142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(SET_LIB_PATH) \
27144 $(NORMAL_TARGET_EXPORTS) \
27145 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27146 for flag in $(EXTRA_TARGET_FLAGS); do \
27147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27148 done; \
27149 (cd $(TARGET_SUBDIR)/rda && \
27150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27152 "RANLIB=$${RANLIB}" \
27153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27154 TAGS) \
27155 || exit 1
27157 @endif target-rda
27159 .PHONY: maybe-install-info-target-rda install-info-target-rda
27160 maybe-install-info-target-rda:
27161 @if target-rda
27162 maybe-install-info-target-rda: install-info-target-rda
27164 install-info-target-rda: \
27165 configure-target-rda \
27166 info-target-rda
27167 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27168 r=`${PWD_COMMAND}`; export r; \
27169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27170 $(SET_LIB_PATH) \
27171 $(NORMAL_TARGET_EXPORTS) \
27172 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27173 for flag in $(EXTRA_TARGET_FLAGS); do \
27174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27175 done; \
27176 (cd $(TARGET_SUBDIR)/rda && \
27177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179 "RANLIB=$${RANLIB}" \
27180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181 install-info) \
27182 || exit 1
27184 @endif target-rda
27186 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27187 maybe-installcheck-target-rda:
27188 @if target-rda
27189 maybe-installcheck-target-rda: installcheck-target-rda
27191 installcheck-target-rda: \
27192 configure-target-rda
27193 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27194 r=`${PWD_COMMAND}`; export r; \
27195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 $(SET_LIB_PATH) \
27197 $(NORMAL_TARGET_EXPORTS) \
27198 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27199 for flag in $(EXTRA_TARGET_FLAGS); do \
27200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27201 done; \
27202 (cd $(TARGET_SUBDIR)/rda && \
27203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27205 "RANLIB=$${RANLIB}" \
27206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27207 installcheck) \
27208 || exit 1
27210 @endif target-rda
27212 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27213 maybe-mostlyclean-target-rda:
27214 @if target-rda
27215 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27217 mostlyclean-target-rda:
27218 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27219 r=`${PWD_COMMAND}`; export r; \
27220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27221 $(SET_LIB_PATH) \
27222 $(NORMAL_TARGET_EXPORTS) \
27223 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27224 for flag in $(EXTRA_TARGET_FLAGS); do \
27225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27226 done; \
27227 (cd $(TARGET_SUBDIR)/rda && \
27228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27230 "RANLIB=$${RANLIB}" \
27231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27232 mostlyclean) \
27233 || exit 1
27235 @endif target-rda
27237 .PHONY: maybe-clean-target-rda clean-target-rda
27238 maybe-clean-target-rda:
27239 @if target-rda
27240 maybe-clean-target-rda: clean-target-rda
27242 clean-target-rda:
27243 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27244 r=`${PWD_COMMAND}`; export r; \
27245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27246 $(SET_LIB_PATH) \
27247 $(NORMAL_TARGET_EXPORTS) \
27248 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27249 for flag in $(EXTRA_TARGET_FLAGS); do \
27250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27251 done; \
27252 (cd $(TARGET_SUBDIR)/rda && \
27253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27255 "RANLIB=$${RANLIB}" \
27256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27257 clean) \
27258 || exit 1
27260 @endif target-rda
27262 .PHONY: maybe-distclean-target-rda distclean-target-rda
27263 maybe-distclean-target-rda:
27264 @if target-rda
27265 maybe-distclean-target-rda: distclean-target-rda
27267 distclean-target-rda:
27268 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27269 r=`${PWD_COMMAND}`; export r; \
27270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27271 $(SET_LIB_PATH) \
27272 $(NORMAL_TARGET_EXPORTS) \
27273 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27274 for flag in $(EXTRA_TARGET_FLAGS); do \
27275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27276 done; \
27277 (cd $(TARGET_SUBDIR)/rda && \
27278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27280 "RANLIB=$${RANLIB}" \
27281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27282 distclean) \
27283 || exit 1
27285 @endif target-rda
27287 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27288 maybe-maintainer-clean-target-rda:
27289 @if target-rda
27290 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27292 maintainer-clean-target-rda:
27293 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27294 r=`${PWD_COMMAND}`; export r; \
27295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27296 $(SET_LIB_PATH) \
27297 $(NORMAL_TARGET_EXPORTS) \
27298 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27299 for flag in $(EXTRA_TARGET_FLAGS); do \
27300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27301 done; \
27302 (cd $(TARGET_SUBDIR)/rda && \
27303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27305 "RANLIB=$${RANLIB}" \
27306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27307 maintainer-clean) \
27308 || exit 1
27310 @endif target-rda
27313 .PHONY: configure-target-libada maybe-configure-target-libada
27314 maybe-configure-target-libada:
27315 @if target-libada
27316 maybe-configure-target-libada: configure-target-libada
27318 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27319 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27321 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27322 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27324 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27325 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27327 r=`${PWD_COMMAND}`; export r; \
27328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27329 $(SET_LIB_PATH) \
27330 $(NORMAL_TARGET_EXPORTS) \
27331 echo Configuring in $(TARGET_SUBDIR)/libada; \
27332 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27333 case $(srcdir) in \
27334 /* | [A-Za-z]:[\\/]*) \
27335 topdir=$(srcdir) ;; \
27336 *) \
27337 case "$(TARGET_SUBDIR)" in \
27338 .) topdir="../$(srcdir)" ;; \
27339 *) topdir="../../$(srcdir)" ;; \
27340 esac ;; \
27341 esac; \
27342 srcdiroption="--srcdir=$${topdir}/libada"; \
27343 libsrcdir="$$s/libada"; \
27344 rm -f no-such-file || : ; \
27345 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27346 $(TARGET_CONFIGARGS) $${srcdiroption} \
27347 --with-target-subdir="$(TARGET_SUBDIR)" \
27348 || exit 1
27349 @endif target-libada
27351 .PHONY: all-target-libada maybe-all-target-libada
27352 maybe-all-target-libada:
27353 @if target-libada
27354 maybe-all-target-libada: all-target-libada
27355 all-target-libada: configure-target-libada
27356 @r=`${PWD_COMMAND}`; export r; \
27357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(SET_LIB_PATH) \
27359 $(NORMAL_TARGET_EXPORTS) \
27360 (cd $(TARGET_SUBDIR)/libada && \
27361 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27362 @endif target-libada
27364 .PHONY: check-target-libada maybe-check-target-libada
27365 maybe-check-target-libada:
27366 @if target-libada
27367 maybe-check-target-libada: check-target-libada
27369 check-target-libada:
27370 @r=`${PWD_COMMAND}`; export r; \
27371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27372 $(SET_LIB_PATH) \
27373 $(NORMAL_TARGET_EXPORTS) \
27374 (cd $(TARGET_SUBDIR)/libada && \
27375 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27377 @endif target-libada
27379 .PHONY: install-target-libada maybe-install-target-libada
27380 maybe-install-target-libada:
27381 @if target-libada
27382 maybe-install-target-libada: install-target-libada
27384 install-target-libada: installdirs
27385 @r=`${PWD_COMMAND}`; export r; \
27386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(SET_LIB_PATH) \
27388 $(NORMAL_TARGET_EXPORTS) \
27389 (cd $(TARGET_SUBDIR)/libada && \
27390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27392 @endif target-libada
27394 # Other targets (info, dvi, etc.)
27396 .PHONY: maybe-info-target-libada info-target-libada
27397 maybe-info-target-libada:
27398 @if target-libada
27399 maybe-info-target-libada: info-target-libada
27401 info-target-libada: \
27402 configure-target-libada
27403 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(SET_LIB_PATH) \
27407 $(NORMAL_TARGET_EXPORTS) \
27408 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27409 for flag in $(EXTRA_TARGET_FLAGS); do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 (cd $(TARGET_SUBDIR)/libada && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27417 info) \
27418 || exit 1
27420 @endif target-libada
27422 .PHONY: maybe-dvi-target-libada dvi-target-libada
27423 maybe-dvi-target-libada:
27424 @if target-libada
27425 maybe-dvi-target-libada: dvi-target-libada
27427 dvi-target-libada: \
27428 configure-target-libada
27429 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27430 r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(SET_LIB_PATH) \
27433 $(NORMAL_TARGET_EXPORTS) \
27434 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27435 for flag in $(EXTRA_TARGET_FLAGS); do \
27436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27437 done; \
27438 (cd $(TARGET_SUBDIR)/libada && \
27439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27441 "RANLIB=$${RANLIB}" \
27442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27443 dvi) \
27444 || exit 1
27446 @endif target-libada
27448 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27449 maybe-TAGS-target-libada:
27450 @if target-libada
27451 maybe-TAGS-target-libada: TAGS-target-libada
27453 TAGS-target-libada: \
27454 configure-target-libada
27455 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27456 r=`${PWD_COMMAND}`; export r; \
27457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(SET_LIB_PATH) \
27459 $(NORMAL_TARGET_EXPORTS) \
27460 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27461 for flag in $(EXTRA_TARGET_FLAGS); do \
27462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27463 done; \
27464 (cd $(TARGET_SUBDIR)/libada && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27469 TAGS) \
27470 || exit 1
27472 @endif target-libada
27474 .PHONY: maybe-install-info-target-libada install-info-target-libada
27475 maybe-install-info-target-libada:
27476 @if target-libada
27477 maybe-install-info-target-libada: install-info-target-libada
27479 install-info-target-libada: \
27480 configure-target-libada \
27481 info-target-libada
27482 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27483 r=`${PWD_COMMAND}`; export r; \
27484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27485 $(SET_LIB_PATH) \
27486 $(NORMAL_TARGET_EXPORTS) \
27487 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27488 for flag in $(EXTRA_TARGET_FLAGS); do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 (cd $(TARGET_SUBDIR)/libada && \
27492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27494 "RANLIB=$${RANLIB}" \
27495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27496 install-info) \
27497 || exit 1
27499 @endif target-libada
27501 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27502 maybe-installcheck-target-libada:
27503 @if target-libada
27504 maybe-installcheck-target-libada: installcheck-target-libada
27506 installcheck-target-libada: \
27507 configure-target-libada
27508 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(SET_LIB_PATH) \
27512 $(NORMAL_TARGET_EXPORTS) \
27513 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27514 for flag in $(EXTRA_TARGET_FLAGS); do \
27515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27516 done; \
27517 (cd $(TARGET_SUBDIR)/libada && \
27518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27520 "RANLIB=$${RANLIB}" \
27521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27522 installcheck) \
27523 || exit 1
27525 @endif target-libada
27527 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27528 maybe-mostlyclean-target-libada:
27529 @if target-libada
27530 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27532 mostlyclean-target-libada:
27533 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27534 r=`${PWD_COMMAND}`; export r; \
27535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27536 $(SET_LIB_PATH) \
27537 $(NORMAL_TARGET_EXPORTS) \
27538 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27539 for flag in $(EXTRA_TARGET_FLAGS); do \
27540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27541 done; \
27542 (cd $(TARGET_SUBDIR)/libada && \
27543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27545 "RANLIB=$${RANLIB}" \
27546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27547 mostlyclean) \
27548 || exit 1
27550 @endif target-libada
27552 .PHONY: maybe-clean-target-libada clean-target-libada
27553 maybe-clean-target-libada:
27554 @if target-libada
27555 maybe-clean-target-libada: clean-target-libada
27557 clean-target-libada:
27558 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27559 r=`${PWD_COMMAND}`; export r; \
27560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27561 $(SET_LIB_PATH) \
27562 $(NORMAL_TARGET_EXPORTS) \
27563 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27564 for flag in $(EXTRA_TARGET_FLAGS); do \
27565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27566 done; \
27567 (cd $(TARGET_SUBDIR)/libada && \
27568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27570 "RANLIB=$${RANLIB}" \
27571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27572 clean) \
27573 || exit 1
27575 @endif target-libada
27577 .PHONY: maybe-distclean-target-libada distclean-target-libada
27578 maybe-distclean-target-libada:
27579 @if target-libada
27580 maybe-distclean-target-libada: distclean-target-libada
27582 distclean-target-libada:
27583 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27584 r=`${PWD_COMMAND}`; export r; \
27585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27586 $(SET_LIB_PATH) \
27587 $(NORMAL_TARGET_EXPORTS) \
27588 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27589 for flag in $(EXTRA_TARGET_FLAGS); do \
27590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27591 done; \
27592 (cd $(TARGET_SUBDIR)/libada && \
27593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27595 "RANLIB=$${RANLIB}" \
27596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27597 distclean) \
27598 || exit 1
27600 @endif target-libada
27602 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27603 maybe-maintainer-clean-target-libada:
27604 @if target-libada
27605 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27607 maintainer-clean-target-libada:
27608 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27609 r=`${PWD_COMMAND}`; export r; \
27610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27611 $(SET_LIB_PATH) \
27612 $(NORMAL_TARGET_EXPORTS) \
27613 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27614 for flag in $(EXTRA_TARGET_FLAGS); do \
27615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27616 done; \
27617 (cd $(TARGET_SUBDIR)/libada && \
27618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27620 "RANLIB=$${RANLIB}" \
27621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27622 maintainer-clean) \
27623 || exit 1
27625 @endif target-libada
27629 # ----------
27630 # GCC module
27631 # ----------
27633 # Unfortunately, while gcc _should_ be a host module,
27634 # libgcc is a target module, and gen* programs are
27635 # build modules. So GCC is a sort of hybrid.
27637 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27638 # Don't use shared host config.cache, as it will confuse later
27639 # directories; GCC wants slightly different values for some
27640 # precious variables. *sigh*
27642 # We must skip configuring if toplevel bootstrap is going.
27643 .PHONY: configure-gcc maybe-configure-gcc
27644 maybe-configure-gcc:
27645 @if gcc
27646 maybe-configure-gcc: configure-gcc
27647 configure-gcc:
27648 @endif gcc
27649 @if gcc-no-bootstrap
27650 @test ! -f gcc/Makefile || exit 0; \
27651 [ -d gcc ] || mkdir gcc; \
27652 r=`${PWD_COMMAND}`; export r; \
27653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27654 $(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-no-bootstrap
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 @endif gcc
27682 @if gcc-no-bootstrap
27683 r=`${PWD_COMMAND}`; export r; \
27684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27685 $(SET_LIB_PATH) \
27686 $(HOST_EXPORTS) \
27687 if [ -f gcc/stage_last ] ; then \
27688 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
27689 else \
27690 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
27693 # Building GCC uses some tools for rebuilding "source" files
27694 # like texinfo, bison/byacc, etc. So we must depend on those.
27696 # While building GCC, it may be necessary to run various target
27697 # programs like the assembler, linker, etc. So we depend on
27698 # those too.
27700 # In theory, on an SMP all those dependencies can be resolved
27701 # in parallel.
27703 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27704 .PHONY: $(GCC_STRAP_TARGETS)
27705 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
27706 @r=`${PWD_COMMAND}`; export r; \
27707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27708 $(SET_LIB_PATH) \
27709 $(HOST_EXPORTS) \
27710 echo "Bootstrapping the compiler"; \
27711 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27712 @r=`${PWD_COMMAND}`; export r; \
27713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27714 case "$@" in \
27715 *bootstrap4-lean ) \
27716 msg="Comparing stage3 and stage4 of the compiler"; \
27717 compare=compare3-lean ;; \
27718 *bootstrap4 ) \
27719 msg="Comparing stage3 and stage4 of the compiler"; \
27720 compare=compare3 ;; \
27721 *-lean ) \
27722 msg="Comparing stage2 and stage3 of the compiler"; \
27723 compare=compare-lean ;; \
27724 * ) \
27725 msg="Comparing stage2 and stage3 of the compiler"; \
27726 compare=compare ;; \
27727 esac; \
27728 $(SET_LIB_PATH) \
27729 $(HOST_EXPORTS) \
27730 echo "$$msg"; \
27731 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27732 @r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27734 $(SET_LIB_PATH) \
27735 echo "Building runtime libraries"; \
27736 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27738 profiledbootstrap: all-bootstrap configure-gcc
27739 @r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 $(SET_LIB_PATH) \
27742 $(HOST_EXPORTS) \
27743 echo "Bootstrapping the compiler"; \
27744 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27745 @r=`${PWD_COMMAND}`; export r; \
27746 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27747 $(SET_LIB_PATH) \
27748 echo "Building runtime libraries and training compiler"; \
27749 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27750 @r=`${PWD_COMMAND}`; export r; \
27751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27752 $(SET_LIB_PATH) \
27753 $(HOST_EXPORTS) \
27754 echo "Building feedback based compiler"; \
27755 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27757 .PHONY: cross
27758 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
27759 @r=`${PWD_COMMAND}`; export r; \
27760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27761 $(SET_LIB_PATH) \
27762 $(HOST_EXPORTS) \
27763 echo "Building the C and C++ compiler"; \
27764 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27765 @r=`${PWD_COMMAND}`; export r; \
27766 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27767 $(SET_LIB_PATH) \
27768 echo "Building runtime libraries"; \
27769 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27770 @endif gcc-no-bootstrap
27772 .PHONY: check-gcc maybe-check-gcc
27773 maybe-check-gcc:
27774 @if gcc
27775 maybe-check-gcc: check-gcc
27776 check-gcc:
27777 @if [ -f ./gcc/Makefile ] ; then \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(SET_LIB_PATH) \
27781 $(HOST_EXPORTS) \
27782 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
27783 else \
27784 true; \
27787 .PHONY: check-gcc-c++
27788 check-gcc-c++:
27789 @if [ -f ./gcc/Makefile ] ; then \
27790 r=`${PWD_COMMAND}`; export r; \
27791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27792 $(SET_LIB_PATH) \
27793 $(HOST_EXPORTS) \
27794 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27795 else \
27796 true; \
27799 .PHONY: check-c++
27800 check-c++: check-target-libstdc++-v3 check-gcc-c++
27801 @endif gcc
27803 .PHONY: install-gcc maybe-install-gcc
27804 maybe-install-gcc:
27805 @if gcc
27806 maybe-install-gcc: install-gcc
27807 install-gcc:
27808 @if [ -f ./gcc/Makefile ] ; then \
27809 r=`${PWD_COMMAND}`; export r; \
27810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27811 $(SET_LIB_PATH) \
27812 $(HOST_EXPORTS) \
27813 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27814 else \
27815 true; \
27817 @endif gcc
27819 # Install the gcc headers files, but not the fixed include files,
27820 # which Cygnus is not allowed to distribute. This rule is very
27821 # dependent on the workings of the gcc Makefile.in.
27822 .PHONY: gcc-no-fixedincludes
27823 gcc-no-fixedincludes:
27824 @if [ -f ./gcc/Makefile ]; then \
27825 rm -rf gcc/tmp-include; \
27826 mv gcc/include gcc/tmp-include 2>/dev/null; \
27827 mkdir gcc/include; \
27828 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27829 touch gcc/stmp-fixinc gcc/include/fixed; \
27830 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27833 $(SET_LIB_PATH) \
27834 $(HOST_EXPORTS) \
27835 (cd ./gcc && \
27836 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27837 rm -rf gcc/include; \
27838 mv gcc/tmp-include gcc/include 2>/dev/null; \
27839 else true; fi
27841 # Other targets (dvi, info, etc.)
27843 .PHONY: maybe-info-gcc info-gcc
27844 maybe-info-gcc:
27845 @if gcc
27846 maybe-info-gcc: info-gcc
27847 info-gcc: \
27848 configure-gcc
27849 @[ -f ./gcc/Makefile ] || exit 0; \
27850 r=`${PWD_COMMAND}`; export r; \
27851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27852 $(SET_LIB_PATH) \
27853 for flag in $(EXTRA_GCC_FLAGS); do \
27854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27855 done; \
27856 $(HOST_EXPORTS) \
27857 echo "Doing info in gcc" ; \
27858 (cd gcc && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27861 "RANLIB=$${RANLIB}" \
27862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27863 info) \
27864 || exit 1
27865 @endif gcc
27868 .PHONY: maybe-dvi-gcc dvi-gcc
27869 maybe-dvi-gcc:
27870 @if gcc
27871 maybe-dvi-gcc: dvi-gcc
27872 dvi-gcc: \
27873 configure-gcc
27874 @[ -f ./gcc/Makefile ] || exit 0; \
27875 r=`${PWD_COMMAND}`; export r; \
27876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27877 $(SET_LIB_PATH) \
27878 for flag in $(EXTRA_GCC_FLAGS); do \
27879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27880 done; \
27881 $(HOST_EXPORTS) \
27882 echo "Doing dvi in gcc" ; \
27883 (cd gcc && \
27884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27886 "RANLIB=$${RANLIB}" \
27887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27888 dvi) \
27889 || exit 1
27890 @endif gcc
27893 .PHONY: maybe-TAGS-gcc TAGS-gcc
27894 maybe-TAGS-gcc:
27895 @if gcc
27896 maybe-TAGS-gcc: TAGS-gcc
27897 TAGS-gcc: \
27898 configure-gcc
27899 @[ -f ./gcc/Makefile ] || exit 0; \
27900 r=`${PWD_COMMAND}`; export r; \
27901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27902 $(SET_LIB_PATH) \
27903 for flag in $(EXTRA_GCC_FLAGS); do \
27904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27905 done; \
27906 $(HOST_EXPORTS) \
27907 echo "Doing TAGS in gcc" ; \
27908 (cd gcc && \
27909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27911 "RANLIB=$${RANLIB}" \
27912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27913 TAGS) \
27914 || exit 1
27915 @endif gcc
27918 .PHONY: maybe-install-info-gcc install-info-gcc
27919 maybe-install-info-gcc:
27920 @if gcc
27921 maybe-install-info-gcc: install-info-gcc
27922 install-info-gcc: \
27923 configure-gcc \
27924 info-gcc
27925 @[ -f ./gcc/Makefile ] || exit 0; \
27926 r=`${PWD_COMMAND}`; export r; \
27927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27928 $(SET_LIB_PATH) \
27929 for flag in $(EXTRA_GCC_FLAGS); do \
27930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27931 done; \
27932 $(HOST_EXPORTS) \
27933 echo "Doing install-info in gcc" ; \
27934 (cd gcc && \
27935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27937 "RANLIB=$${RANLIB}" \
27938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27939 install-info) \
27940 || exit 1
27941 @endif gcc
27944 .PHONY: maybe-installcheck-gcc installcheck-gcc
27945 maybe-installcheck-gcc:
27946 @if gcc
27947 maybe-installcheck-gcc: installcheck-gcc
27948 installcheck-gcc: \
27949 configure-gcc
27950 @[ -f ./gcc/Makefile ] || exit 0; \
27951 r=`${PWD_COMMAND}`; export r; \
27952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27953 $(SET_LIB_PATH) \
27954 for flag in $(EXTRA_GCC_FLAGS); do \
27955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27956 done; \
27957 $(HOST_EXPORTS) \
27958 echo "Doing installcheck in gcc" ; \
27959 (cd gcc && \
27960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27962 "RANLIB=$${RANLIB}" \
27963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27964 installcheck) \
27965 || exit 1
27966 @endif gcc
27969 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
27970 maybe-mostlyclean-gcc:
27971 @if gcc
27972 maybe-mostlyclean-gcc: mostlyclean-gcc
27973 mostlyclean-gcc:
27974 @[ -f ./gcc/Makefile ] || exit 0; \
27975 r=`${PWD_COMMAND}`; export r; \
27976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27977 $(SET_LIB_PATH) \
27978 for flag in $(EXTRA_GCC_FLAGS); do \
27979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27980 done; \
27981 $(HOST_EXPORTS) \
27982 echo "Doing mostlyclean in gcc" ; \
27983 (cd gcc && \
27984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27986 "RANLIB=$${RANLIB}" \
27987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27988 mostlyclean) \
27989 || exit 1
27990 @endif gcc
27993 .PHONY: maybe-clean-gcc clean-gcc
27994 maybe-clean-gcc:
27995 @if gcc
27996 maybe-clean-gcc: clean-gcc
27997 clean-gcc:
27998 @[ -f ./gcc/Makefile ] || exit 0; \
27999 r=`${PWD_COMMAND}`; export r; \
28000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28001 $(SET_LIB_PATH) \
28002 for flag in $(EXTRA_GCC_FLAGS); do \
28003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28004 done; \
28005 $(HOST_EXPORTS) \
28006 echo "Doing clean in gcc" ; \
28007 (cd gcc && \
28008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28010 "RANLIB=$${RANLIB}" \
28011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28012 clean) \
28013 || exit 1
28014 @endif gcc
28017 .PHONY: maybe-distclean-gcc distclean-gcc
28018 maybe-distclean-gcc:
28019 @if gcc
28020 maybe-distclean-gcc: distclean-gcc
28021 distclean-gcc:
28022 @[ -f ./gcc/Makefile ] || exit 0; \
28023 r=`${PWD_COMMAND}`; export r; \
28024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28025 $(SET_LIB_PATH) \
28026 for flag in $(EXTRA_GCC_FLAGS); do \
28027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28028 done; \
28029 $(HOST_EXPORTS) \
28030 echo "Doing distclean in gcc" ; \
28031 (cd gcc && \
28032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28034 "RANLIB=$${RANLIB}" \
28035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28036 distclean) \
28037 || exit 1
28038 @endif gcc
28041 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
28042 maybe-maintainer-clean-gcc:
28043 @if gcc
28044 maybe-maintainer-clean-gcc: maintainer-clean-gcc
28045 maintainer-clean-gcc:
28046 @[ -f ./gcc/Makefile ] || exit 0; \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(SET_LIB_PATH) \
28050 for flag in $(EXTRA_GCC_FLAGS); do \
28051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28052 done; \
28053 $(HOST_EXPORTS) \
28054 echo "Doing maintainer-clean in gcc" ; \
28055 (cd gcc && \
28056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28058 "RANLIB=$${RANLIB}" \
28059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28060 maintainer-clean) \
28061 || exit 1
28062 @endif gcc
28066 @if gcc-bootstrap
28067 # ---------------------
28068 # GCC bootstrap support
28069 # ---------------------
28071 # We track the current stage (the one in 'gcc') in the stage_last file.
28072 # We name the build directories for the various stages "stage1-gcc",
28073 # "stage2-gcc","stage3-gcc", etc.
28075 # Since the 'compare' process will fail (on debugging information) if any
28076 # directory names are different, we need to link the gcc directory for
28077 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28078 # the build directories constant as well. For the latter, we use naked names
28079 # like 'gcc', because the scripts in that directory assume it. We use
28080 # mv on platforms where symlinks to directories do not work or are not
28081 # reliable.
28083 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28084 # be kept, so that libraries can find it. Ick!
28086 # It would be best to preinstall gcc into a staging area (and in the
28087 # future, gather there all prebootstrap packages). This would allow
28088 # assemblers and linkers can be bootstrapped as well as the compiler
28089 # (both in a combined tree, or separately). This however requires some
28090 # change to the gcc driver, again in order to avoid comparison failures.
28092 # Bugs: This is almost certainly not parallel-make safe.
28094 # 'touch' doesn't work right on some platforms.
28095 STAMP = echo timestamp >
28097 # Only build the C compiler for stage1, because that is the only one that
28098 # we can guarantee will build with the native compiler, and also it is the
28099 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28100 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28101 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28103 STAGE1_CFLAGS=@stage1_cflags@
28104 STAGE1_LANGUAGES=@stage1_languages@
28106 # We only want to compare .o files, so set this!
28107 objext = .o
28109 # Real targets act phony if they depend on phony targets; this hack
28110 # prevents gratuitous rebuilding of stage 1.
28111 prebootstrap:
28112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-bootstrap
28113 $(STAMP) prebootstrap
28115 # Flags to pass to stage2 and later makes.
28116 BOOT_CFLAGS= -g -O2
28117 POSTSTAGE1_FLAGS_TO_PASS = \
28118 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28119 STAGE_PREFIX=$$r/stage-gcc/ \
28120 CFLAGS="$(BOOT_CFLAGS)" \
28121 ADAC="\$$(CC)"
28123 # For stage 1:
28124 # * We force-disable intermodule optimizations, even if
28125 # --enable-intermodule was passed, since the installed compiler probably
28126 # can't handle them. Luckily, autoconf always respects
28127 # the last argument when conflicting --enable arguments are passed.
28128 # * Likewise, we force-disable coverage flags, since the installed compiler
28129 # probably has never heard of them.
28130 # * We build only C (and possibly Ada).
28133 .PHONY: stage1-start stage1-end
28135 stage1-start::
28136 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28137 echo stage1 > stage_last ; \
28138 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28139 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28141 stage1-end::
28142 rm -f stage_last ; \
28143 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28145 # Bubble a bugfix through all the stages up to stage 1. They
28146 # are remade, but not reconfigured. The next stage (if any) will not
28147 # be reconfigured as well.
28148 .PHONY: stage1-bubble
28149 stage1-bubble::
28150 @if [ -f all-stage1-gcc ] ; then \
28151 echo Remaking stage 1 ; \
28152 rm -f all-stage1-gcc ; \
28153 fi ; \
28154 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28158 configure-stage1-gcc: prebootstrap
28159 $(MAKE) stage1-start
28160 @if [ -f stage1-gcc/Makefile ] ; then \
28161 $(STAMP) configure-stage1-gcc ; \
28162 exit 0; \
28163 else \
28164 true ; \
28165 fi ; \
28166 r=`${PWD_COMMAND}`; export r; \
28167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28168 $(HOST_EXPORTS) \
28169 echo Configuring stage 1 in gcc ; \
28170 cd gcc || exit 1; \
28171 case $(srcdir) in \
28172 \.) \
28173 srcdiroption="--srcdir=."; \
28174 libsrcdir=".";; \
28175 /* | [A-Za-z]:[\\/]*) \
28176 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28177 libsrcdir="$$s/gcc";; \
28178 *) \
28179 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28180 libsrcdir="$$s/gcc";; \
28181 esac; \
28182 $(SHELL) $${libsrcdir}/configure \
28183 $(HOST_CONFIGARGS) $${srcdiroption} \
28184 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28185 $(STAMP) ../configure-stage1-gcc
28187 all-stage1-gcc: configure-stage1-gcc
28188 $(MAKE) stage1-start
28189 @r=`${PWD_COMMAND}`; export r; \
28190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28191 $(HOST_EXPORTS) \
28192 cd gcc && \
28193 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28194 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28200 .PHONY: restage1 touch-stage1 distclean-stage1
28202 # Rules to wipe a stage and all the following ones, used for cleanstrap
28204 distclean-stage1::
28205 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28206 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28208 # Rules to renew the timestamp on a stage and all the following ones
28210 touch-stage1::
28211 @[ -f configure-stage1-gcc ] && \
28212 echo '$(STAMP) configure-stage1-gcc' && \
28213 $(STAMP) configure-stage1-gcc; \
28214 [ -f all-stage1-gcc ] && \
28215 echo '$(STAMP) all-stage1-gcc' && \
28216 $(STAMP) all-stage1-gcc; \
28219 # After building a stage, touch the following ones
28221 restage1::
28222 rm -rf all-stage1-gcc
28223 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28228 .PHONY: stage2-start stage2-end
28230 stage2-start::
28231 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28232 echo stage2 > stage_last ; \
28233 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28234 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28235 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28237 stage2-end::
28238 rm -f stage_last ; \
28239 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28240 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28242 # Bubble a bugfix through all the stages up to stage 2. They
28243 # are remade, but not reconfigured. The next stage (if any) will not
28244 # be reconfigured as well.
28245 .PHONY: stage2-bubble
28246 stage2-bubble:: stage1-bubble
28247 @if [ -f all-stage2-gcc ] ; then \
28248 echo Remaking stage 2 ; \
28249 rm -f all-stage2-gcc ; \
28250 fi ; \
28251 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28254 stage1-bubble::
28255 @if [ -f configure-stage2-gcc ] ; then \
28256 $(STAMP) configure-stage2-gcc ; \
28260 configure-stage2-gcc: all-stage1-gcc
28261 $(MAKE) stage2-start
28262 @if [ -f stage2-gcc/Makefile ] ; then \
28263 $(STAMP) configure-stage2-gcc ; \
28264 exit 0; \
28265 else \
28266 true ; \
28267 fi ; \
28268 r=`${PWD_COMMAND}`; export r; \
28269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28270 $(STAGE_HOST_EXPORTS) \
28271 echo Configuring stage 2 in gcc ; \
28272 cd gcc || exit 1; \
28273 case $(srcdir) in \
28274 \.) \
28275 srcdiroption="--srcdir=."; \
28276 libsrcdir=".";; \
28277 /* | [A-Za-z]:[\\/]*) \
28278 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28279 libsrcdir="$$s/gcc";; \
28280 *) \
28281 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28282 libsrcdir="$$s/gcc";; \
28283 esac; \
28284 $(SHELL) $${libsrcdir}/configure \
28285 $(HOST_CONFIGARGS) $${srcdiroption} \
28286 @stage2_werror_flag@ && \
28287 $(STAMP) ../configure-stage2-gcc
28289 all-stage2-gcc: configure-stage2-gcc
28290 $(MAKE) stage2-start
28291 @r=`${PWD_COMMAND}`; export r; \
28292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28293 $(STAGE_HOST_EXPORTS) \
28294 cd gcc && \
28295 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28296 $(POSTSTAGE1_FLAGS_TO_PASS) \
28297 && $(STAMP) ../all-stage2-gcc
28302 .PHONY: bootstrap2
28303 bootstrap2:
28304 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble \
28305 stage2-start all stage2-end
28308 .PHONY: restage2 touch-stage2 distclean-stage2
28310 # Rules to wipe a stage and all the following ones, used for cleanstrap
28311 distclean-stage1:: distclean-stage2
28312 distclean-stage2::
28313 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28314 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28316 # Rules to renew the timestamp on a stage and all the following ones
28317 touch-stage1:: touch-stage2
28318 touch-stage2::
28319 @[ -f configure-stage2-gcc ] && \
28320 echo '$(STAMP) configure-stage2-gcc' && \
28321 $(STAMP) configure-stage2-gcc; \
28322 [ -f all-stage2-gcc ] && \
28323 echo '$(STAMP) all-stage2-gcc' && \
28324 $(STAMP) all-stage2-gcc; \
28327 # After building a stage, touch the following ones
28328 restage1:: touch-stage2
28329 restage2::
28330 rm -rf all-stage2-gcc
28331 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28336 .PHONY: stage3-start stage3-end
28338 stage3-start::
28339 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28340 echo stage3 > stage_last ; \
28341 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28342 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28343 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28345 stage3-end::
28346 rm -f stage_last ; \
28347 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28348 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28350 # Bubble a bugfix through all the stages up to stage 3. They
28351 # are remade, but not reconfigured. The next stage (if any) will not
28352 # be reconfigured as well.
28353 .PHONY: stage3-bubble
28354 stage3-bubble:: stage2-bubble
28355 @if [ -f all-stage3-gcc ] ; then \
28356 echo Remaking stage 3 ; \
28357 rm -f all-stage3-gcc ; \
28358 fi ; \
28359 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28362 stage2-bubble::
28363 @if [ -f configure-stage3-gcc ] ; then \
28364 $(STAMP) configure-stage3-gcc ; \
28368 configure-stage3-gcc: all-stage2-gcc
28369 $(MAKE) stage3-start
28370 @if [ -f stage3-gcc/Makefile ] ; then \
28371 $(STAMP) configure-stage3-gcc ; \
28372 exit 0; \
28373 else \
28374 true ; \
28375 fi ; \
28376 r=`${PWD_COMMAND}`; export r; \
28377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28378 $(STAGE_HOST_EXPORTS) \
28379 echo Configuring stage 3 in gcc ; \
28380 cd gcc || exit 1; \
28381 case $(srcdir) in \
28382 \.) \
28383 srcdiroption="--srcdir=."; \
28384 libsrcdir=".";; \
28385 /* | [A-Za-z]:[\\/]*) \
28386 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28387 libsrcdir="$$s/gcc";; \
28388 *) \
28389 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28390 libsrcdir="$$s/gcc";; \
28391 esac; \
28392 $(SHELL) $${libsrcdir}/configure \
28393 $(HOST_CONFIGARGS) $${srcdiroption} \
28394 @stage2_werror_flag@ && \
28395 $(STAMP) ../configure-stage3-gcc
28397 all-stage3-gcc: configure-stage3-gcc
28398 $(MAKE) stage3-start
28399 @r=`${PWD_COMMAND}`; export r; \
28400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28401 $(STAGE_HOST_EXPORTS) \
28402 cd gcc && \
28403 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28404 $(POSTSTAGE1_FLAGS_TO_PASS) \
28405 && $(STAMP) ../all-stage3-gcc
28408 compare: all-stage3-gcc
28409 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28410 @r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 rm -f .bad_compare ; \
28413 cd stage3-gcc; \
28414 files=`find . -name "*$(objext)" -print` ; \
28415 cd .. ; \
28416 for file in $${files} ; do \
28417 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28418 @do_compare@ > /dev/null 2>&1; \
28419 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28420 done ; \
28421 if [ -f .bad_compare ]; then \
28422 echo "Bootstrap comparison failure!"; \
28423 cat .bad_compare; \
28424 exit 1; \
28425 else \
28426 true; \
28427 fi ; \
28428 $(STAMP) compare
28432 .PHONY: bootstrap
28433 bootstrap:
28434 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare \
28435 stage3-start all stage3-end
28438 .PHONY: restage3 touch-stage3 distclean-stage3
28440 # Rules to wipe a stage and all the following ones, used for cleanstrap
28441 distclean-stage2:: distclean-stage3
28442 distclean-stage3::
28443 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28444 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28446 # Rules to renew the timestamp on a stage and all the following ones
28447 touch-stage2:: touch-stage3
28448 touch-stage3::
28449 @[ -f configure-stage3-gcc ] && \
28450 echo '$(STAMP) configure-stage3-gcc' && \
28451 $(STAMP) configure-stage3-gcc; \
28452 [ -f all-stage3-gcc ] && \
28453 echo '$(STAMP) all-stage3-gcc' && \
28454 $(STAMP) all-stage3-gcc; \
28457 # After building a stage, touch the following ones
28458 restage2:: touch-stage3
28459 restage3::
28460 rm -rf all-stage3-gcc compare
28461 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28464 .PHONY: cleanstrap
28465 cleanstrap: distclean-stage1 bootstrap
28469 .PHONY: stage4-start stage4-end
28471 stage4-start::
28472 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28473 echo stage4 > stage_last ; \
28474 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28475 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28476 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28478 stage4-end::
28479 rm -f stage_last ; \
28480 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28481 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28483 # Bubble a bugfix through all the stages up to stage 4. They
28484 # are remade, but not reconfigured. The next stage (if any) will not
28485 # be reconfigured as well.
28486 .PHONY: stage4-bubble
28487 stage4-bubble:: stage3-bubble
28488 @if [ -f all-stage4-gcc ] ; then \
28489 echo Remaking stage 4 ; \
28490 rm -f all-stage4-gcc ; \
28491 fi ; \
28492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28495 stage3-bubble::
28496 @if [ -f configure-stage4-gcc ] ; then \
28497 $(STAMP) configure-stage4-gcc ; \
28501 configure-stage4-gcc: all-stage3-gcc
28502 $(MAKE) stage4-start
28503 @if [ -f stage4-gcc/Makefile ] ; then \
28504 $(STAMP) configure-stage4-gcc ; \
28505 exit 0; \
28506 else \
28507 true ; \
28508 fi ; \
28509 r=`${PWD_COMMAND}`; export r; \
28510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28511 $(STAGE_HOST_EXPORTS) \
28512 echo Configuring stage 4 in gcc ; \
28513 cd gcc || exit 1; \
28514 case $(srcdir) in \
28515 \.) \
28516 srcdiroption="--srcdir=."; \
28517 libsrcdir=".";; \
28518 /* | [A-Za-z]:[\\/]*) \
28519 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28520 libsrcdir="$$s/gcc";; \
28521 *) \
28522 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28523 libsrcdir="$$s/gcc";; \
28524 esac; \
28525 $(SHELL) $${libsrcdir}/configure \
28526 $(HOST_CONFIGARGS) $${srcdiroption} \
28527 @stage2_werror_flag@ && \
28528 $(STAMP) ../configure-stage4-gcc
28530 all-stage4-gcc: configure-stage4-gcc
28531 $(MAKE) stage4-start
28532 @r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(STAGE_HOST_EXPORTS) \
28535 cd gcc && \
28536 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28537 $(POSTSTAGE1_FLAGS_TO_PASS) \
28538 && $(STAMP) ../all-stage4-gcc
28541 compare3: all-stage4-gcc
28542 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28543 @r=`${PWD_COMMAND}`; export r; \
28544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28545 rm -f .bad_compare ; \
28546 cd stage4-gcc; \
28547 files=`find . -name "*$(objext)" -print` ; \
28548 cd .. ; \
28549 for file in $${files} ; do \
28550 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28551 @do_compare@ > /dev/null 2>&1; \
28552 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28553 done ; \
28554 if [ -f .bad_compare ]; then \
28555 echo "Bootstrap comparison failure!"; \
28556 cat .bad_compare; \
28557 exit 1; \
28558 else \
28559 true; \
28560 fi ; \
28561 $(STAMP) compare3
28565 .PHONY: bootstrap4
28566 bootstrap4:
28567 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 \
28568 stage4-start all stage4-end
28571 .PHONY: restage4 touch-stage4 distclean-stage4
28573 # Rules to wipe a stage and all the following ones, used for cleanstrap
28574 distclean-stage3:: distclean-stage4
28575 distclean-stage4::
28576 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28577 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28579 # Rules to renew the timestamp on a stage and all the following ones
28580 touch-stage3:: touch-stage4
28581 touch-stage4::
28582 @[ -f configure-stage4-gcc ] && \
28583 echo '$(STAMP) configure-stage4-gcc' && \
28584 $(STAMP) configure-stage4-gcc; \
28585 [ -f all-stage4-gcc ] && \
28586 echo '$(STAMP) all-stage4-gcc' && \
28587 $(STAMP) all-stage4-gcc; \
28590 # After building a stage, touch the following ones
28591 restage3:: touch-stage4
28592 restage4::
28593 rm -rf all-stage4-gcc compare3
28594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28599 .PHONY: stageprofile-start stageprofile-end
28601 stageprofile-start::
28602 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28603 echo stageprofile > stage_last ; \
28604 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28605 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28606 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28608 stageprofile-end::
28609 rm -f stage_last ; \
28610 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28611 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28613 # Bubble a bugfix through all the stages up to stage profile. They
28614 # are remade, but not reconfigured. The next stage (if any) will not
28615 # be reconfigured as well.
28616 .PHONY: stageprofile-bubble
28617 stageprofile-bubble:: stage1-bubble
28618 @if [ -f all-stageprofile-gcc ] ; then \
28619 echo Remaking stage profile ; \
28620 rm -f all-stageprofile-gcc ; \
28621 fi ; \
28622 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28625 stage1-bubble::
28626 @if [ -f configure-stageprofile-gcc ] ; then \
28627 $(STAMP) configure-stageprofile-gcc ; \
28631 configure-stageprofile-gcc: all-stage1-gcc
28632 $(MAKE) stageprofile-start
28633 @if [ -f stageprofile-gcc/Makefile ] ; then \
28634 $(STAMP) configure-stageprofile-gcc ; \
28635 exit 0; \
28636 else \
28637 true ; \
28638 fi ; \
28639 r=`${PWD_COMMAND}`; export r; \
28640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28641 $(STAGE_HOST_EXPORTS) \
28642 echo Configuring stage profile in gcc ; \
28643 cd gcc || exit 1; \
28644 case $(srcdir) in \
28645 \.) \
28646 srcdiroption="--srcdir=."; \
28647 libsrcdir=".";; \
28648 /* | [A-Za-z]:[\\/]*) \
28649 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28650 libsrcdir="$$s/gcc";; \
28651 *) \
28652 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28653 libsrcdir="$$s/gcc";; \
28654 esac; \
28655 $(SHELL) $${libsrcdir}/configure \
28656 $(HOST_CONFIGARGS) $${srcdiroption} \
28657 @stage2_werror_flag@ && \
28658 $(STAMP) ../configure-stageprofile-gcc
28660 all-stageprofile-gcc: configure-stageprofile-gcc
28661 $(MAKE) stageprofile-start
28662 @r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 $(STAGE_HOST_EXPORTS) \
28665 cd gcc && \
28666 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28667 $(POSTSTAGE1_FLAGS_TO_PASS) \
28668 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
28674 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
28676 # Rules to wipe a stage and all the following ones, used for cleanstrap
28677 distclean-stage1:: distclean-stageprofile
28678 distclean-stageprofile::
28679 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28680 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
28682 # Rules to renew the timestamp on a stage and all the following ones
28683 touch-stage1:: touch-stageprofile
28684 touch-stageprofile::
28685 @[ -f configure-stageprofile-gcc ] && \
28686 echo '$(STAMP) configure-stageprofile-gcc' && \
28687 $(STAMP) configure-stageprofile-gcc; \
28688 [ -f all-stageprofile-gcc ] && \
28689 echo '$(STAMP) all-stageprofile-gcc' && \
28690 $(STAMP) all-stageprofile-gcc; \
28693 # After building a stage, touch the following ones
28694 restage1:: touch-stageprofile
28695 restageprofile::
28696 rm -rf all-stageprofile-gcc
28697 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28702 .PHONY: stagefeedback-start stagefeedback-end
28704 stagefeedback-start::
28705 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28706 echo stagefeedback > stage_last ; \
28707 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
28708 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28709 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28711 stagefeedback-end::
28712 rm -f stage_last ; \
28713 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
28714 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28716 # Bubble a bugfix through all the stages up to stage feedback. They
28717 # are remade, but not reconfigured. The next stage (if any) will not
28718 # be reconfigured as well.
28719 .PHONY: stagefeedback-bubble
28720 stagefeedback-bubble:: stage1-bubble
28721 @if [ -f all-stagefeedback-gcc ] ; then \
28722 echo Remaking stage feedback ; \
28723 rm -f all-stagefeedback-gcc ; \
28724 fi ; \
28725 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28728 stage1-bubble::
28729 @if [ -f configure-stagefeedback-gcc ] ; then \
28730 $(STAMP) configure-stagefeedback-gcc ; \
28734 configure-stagefeedback-gcc: all-stage1-gcc
28735 $(MAKE) stagefeedback-start
28736 @if [ -f stagefeedback-gcc/Makefile ] ; then \
28737 $(STAMP) configure-stagefeedback-gcc ; \
28738 exit 0; \
28739 else \
28740 true ; \
28741 fi ; \
28742 r=`${PWD_COMMAND}`; export r; \
28743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28744 $(STAGE_HOST_EXPORTS) \
28745 echo Configuring stage feedback in gcc ; \
28746 cd gcc || exit 1; \
28747 case $(srcdir) in \
28748 \.) \
28749 srcdiroption="--srcdir=."; \
28750 libsrcdir=".";; \
28751 /* | [A-Za-z]:[\\/]*) \
28752 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28753 libsrcdir="$$s/gcc";; \
28754 *) \
28755 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28756 libsrcdir="$$s/gcc";; \
28757 esac; \
28758 $(SHELL) $${libsrcdir}/configure \
28759 $(HOST_CONFIGARGS) $${srcdiroption} \
28760 @stage2_werror_flag@ && \
28761 $(STAMP) ../configure-stagefeedback-gcc
28763 all-stagefeedback-gcc: configure-stagefeedback-gcc
28764 $(MAKE) stagefeedback-start
28765 @r=`${PWD_COMMAND}`; export r; \
28766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28767 $(STAGE_HOST_EXPORTS) \
28768 cd gcc && \
28769 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28770 $(POSTSTAGE1_FLAGS_TO_PASS) \
28771 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
28777 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
28779 # Rules to wipe a stage and all the following ones, used for cleanstrap
28780 distclean-stage1:: distclean-stagefeedback
28781 distclean-stagefeedback::
28782 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28783 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
28785 # Rules to renew the timestamp on a stage and all the following ones
28786 touch-stage1:: touch-stagefeedback
28787 touch-stagefeedback::
28788 @[ -f configure-stagefeedback-gcc ] && \
28789 echo '$(STAMP) configure-stagefeedback-gcc' && \
28790 $(STAMP) configure-stagefeedback-gcc; \
28791 [ -f all-stagefeedback-gcc ] && \
28792 echo '$(STAMP) all-stagefeedback-gcc' && \
28793 $(STAMP) all-stagefeedback-gcc; \
28796 # After building a stage, touch the following ones
28797 restage1:: touch-stagefeedback
28798 restagefeedback::
28799 rm -rf all-stagefeedback-gcc
28800 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28806 stagefeedback-start::
28807 @r=`${PWD_COMMAND}`; export r; \
28808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28809 cd stageprofile-gcc && \
28810 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
28811 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
28813 profiledbootstrap: all-bootstrap configure-gcc
28814 @r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(SET_LIB_PATH) \
28817 $(HOST_EXPORTS) \
28818 echo "Bootstrapping the compiler"; \
28819 $(MAKE) stageprofile-bubble distclean-stagefeedback stageprofile-start
28820 @r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28822 $(SET_LIB_PATH) \
28823 echo "Building runtime libraries and training compiler"; \
28824 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
28825 @r=`${PWD_COMMAND}`; export r; \
28826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28827 $(SET_LIB_PATH) \
28828 $(HOST_EXPORTS) \
28829 echo "Building feedback based compiler"; \
28830 $(MAKE) stagefeedback-bubble stagefeedback-end
28832 @endif gcc-bootstrap
28834 # --------------------------------------
28835 # Dependencies between different modules
28836 # --------------------------------------
28838 # There are two types of dependencies here: 'hard' dependencies, where one
28839 # module simply won't build without the other; and 'soft' dependencies, where
28840 # if the depended-on module is missing, the depending module will do without
28841 # or find a substitute somewhere (perhaps installed). Soft dependencies
28842 # are specified by depending on a 'maybe-' target. If you're not sure,
28843 # it's safer to use a soft dependency.
28845 # Host modules specific to gcc.
28846 # GCC needs to identify certain tools.
28847 # GCC also needs the information exported by the intl configure script.
28848 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
28849 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
28850 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
28851 all-libcpp: maybe-all-libiberty maybe-all-intl
28852 # This is a slightly kludgy method of getting dependencies on
28853 # all-build-libiberty correct; it would be better to build it every time.
28854 all-gcc: maybe-all-build-libiberty
28855 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
28857 # Host modules specific to gdb.
28858 # GDB needs to know that the simulator is being built.
28859 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
28860 GDB_TK = @GDB_TK@
28861 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)
28862 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
28863 configure-libgui: maybe-configure-tcl maybe-configure-tk
28864 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
28866 # Host modules specific to binutils.
28867 configure-bfd: configure-libiberty
28868 all-bfd: maybe-all-libiberty maybe-all-intl
28869 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
28870 # We put install-opcodes before install-binutils because the installed
28871 # binutils might be on PATH, and they might need the shared opcodes
28872 # library.
28873 install-binutils: maybe-install-opcodes
28874 # libopcodes depends on libbfd
28875 install-opcodes: maybe-install-bfd
28876 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
28877 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
28878 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
28879 all-opcodes: maybe-all-bfd maybe-all-libiberty
28881 # Other host modules in the 'src' repository.
28882 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
28883 configure-expect: maybe-configure-tcl maybe-configure-tk
28884 all-expect: maybe-all-tcl maybe-all-tk
28885 configure-itcl: maybe-configure-tcl maybe-configure-tk
28886 all-itcl: maybe-all-tcl maybe-all-tk
28887 # We put install-tcl before install-itcl because itcl wants to run a
28888 # program on installation which uses the Tcl libraries.
28889 install-itcl: maybe-install-tcl
28890 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
28891 install-sid: maybe-install-tcl maybe-install-tk
28892 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
28893 configure-tk: maybe-configure-tcl
28894 all-tk: maybe-all-tcl
28895 configure-tix: maybe-configure-tcl maybe-configure-tk
28896 all-tix: maybe-all-tcl maybe-all-tk
28897 all-texinfo: maybe-all-libiberty
28899 # Other host modules. Warning, these are not well tested.
28900 all-autoconf: maybe-all-m4 maybe-all-texinfo
28901 all-automake: maybe-all-m4 maybe-all-texinfo
28902 all-bison: maybe-all-texinfo
28903 all-diff: maybe-all-libiberty
28904 all-fastjar: maybe-all-zlib maybe-all-libiberty
28905 all-fileutils: maybe-all-libiberty
28906 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
28907 all-gzip: maybe-all-libiberty
28908 all-hello: maybe-all-libiberty
28909 all-m4: maybe-all-libiberty maybe-all-texinfo
28910 all-make: maybe-all-libiberty maybe-all-intl
28911 all-patch: maybe-all-libiberty
28912 all-prms: maybe-all-libiberty
28913 all-recode: maybe-all-libiberty
28914 all-sed: maybe-all-libiberty
28915 all-send-pr: maybe-all-prms
28916 all-tar: maybe-all-libiberty
28917 all-uudecode: maybe-all-libiberty
28919 ALL_GCC = maybe-all-gcc
28920 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
28921 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
28923 # Target modules specific to gcc.
28924 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
28925 configure-target-fastjar: maybe-configure-target-zlib
28926 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
28927 configure-target-libada: $(ALL_GCC_C)
28928 configure-target-libgfortran: $(ALL_GCC_C)
28929 configure-target-libffi: $(ALL_GCC_C)
28930 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
28931 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
28932 configure-target-libobjc: $(ALL_GCC_C)
28933 all-target-libobjc: maybe-all-target-libiberty
28934 configure-target-libstdc++-v3: $(ALL_GCC_C)
28935 all-target-libstdc++-v3: maybe-all-target-libiberty
28936 configure-target-zlib: $(ALL_GCC_C)
28938 # Target modules in the 'src' repository.
28939 configure-target-examples: $(ALL_GCC_C)
28940 configure-target-libgloss: $(ALL_GCC)
28941 all-target-libgloss: maybe-configure-target-newlib
28942 configure-target-libiberty: $(ALL_GCC)
28943 configure-target-libtermcap: $(ALL_GCC_C)
28944 configure-target-newlib: $(ALL_GCC)
28945 configure-target-rda: $(ALL_GCC_C)
28946 configure-target-winsup: $(ALL_GCC_C)
28947 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
28949 # Other target modules. Warning, these are not well tested.
28950 configure-target-gperf: $(ALL_GCC_CXX)
28951 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
28952 configure-target-qthreads: $(ALL_GCC_C)
28954 # Serialization dependencies. Host configures don't work well in parallel to
28955 # each other, due to contention over config.cache. Target configures and
28956 # build configures are similar.
28957 @serialization_dependencies@
28959 # --------------------------------
28960 # Regenerating top level configury
28961 # --------------------------------
28963 # Multilib.out tells target dirs what multilibs they should build.
28964 # There is really only one copy. We use the 'timestamp' method to
28965 # work around various timestamp bugs on some systems.
28966 # We use move-if-change so that it's only considered updated when it
28967 # actually changes, because it has to depend on a phony target.
28968 multilib.out: maybe-all-gcc
28969 @r=`${PWD_COMMAND}`; export r; \
28970 echo "Checking multilib configuration..."; \
28971 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
28972 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
28974 # Rebuilding Makefile.in, using autogen.
28975 AUTOGEN = autogen
28976 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
28977 cd $(srcdir) && $(AUTOGEN) Makefile.def
28979 # Rebuilding Makefile.
28980 Makefile: $(srcdir)/Makefile.in config.status
28981 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
28983 config.status: configure $(gcc_version_trigger)
28984 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
28986 # Rebuilding configure.
28987 AUTOCONF = autoconf
28988 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
28989 cd $(srcdir) && $(AUTOCONF)
28991 # ------------------------------
28992 # Special directives to GNU Make
28993 # ------------------------------
28995 # Don't pass command-line variables to submakes.
28996 .NOEXPORT:
28997 MAKEOVERRIDES=
28999 # end of Makefile.in