Gimplify VA_ARG_EXPR into simpler forms.
[official-gcc.git] / Makefile.in
blob02d9f7ed2e562085335e47cafc7dea119950c6b6
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;
161 # Similar, for the gcc directory.
162 GCC_HOST_EXPORTS = \
163 $(HOST_EXPORTS) \
164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
165 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
166 GMPINC="$(HOST_GMPINC)"; export GMPINC;
168 # Similar, for later GCC stages.
169 STAGE_HOST_EXPORTS = \
170 $(GCC_HOST_EXPORTS) \
171 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
172 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
174 # This is set by the configure script to the list of directories which
175 # should be built using the target tools.
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # Target libraries are put under this directory:
178 TARGET_SUBDIR = @target_subdir@
179 # This is set by the configure script to the arguments to use when configuring
180 # directories built for the target.
181 TARGET_CONFIGARGS = @target_configargs@
182 # This is the list of variables to export in the environment when
183 # configuring subdirectories for the host system. It must also be
184 # exported whenever recursing into a host directory in case that
185 # directory's Makefile re-runs configure.
186 BASE_TARGET_EXPORTS = \
187 AR="$(AR_FOR_TARGET)"; export AR; \
188 AS="$(AS_FOR_TARGET)"; export AS; \
189 CC="$(CC_FOR_TARGET)"; export CC; \
190 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
193 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
194 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
196 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
197 LD="$(LD_FOR_TARGET)"; export LD; \
198 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
199 NM="$(NM_FOR_TARGET)"; export NM; \
200 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
201 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
203 RAW_CXX_TARGET_EXPORTS = \
204 $(BASE_TARGET_EXPORTS) \
205 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
206 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
208 NORMAL_TARGET_EXPORTS = \
209 $(BASE_TARGET_EXPORTS) \
210 CXX="$(CXX_FOR_TARGET)"; export CXX;
212 # Where to find GMP
213 HOST_GMPLIBS = @gmplibs@
214 HOST_GMPINC = @gmpinc@
216 # ----------------------------------------------
217 # Programs producing files for the BUILD machine
218 # ----------------------------------------------
220 SHELL = @config_shell@
222 # pwd command to use. Allow user to override default by setting PWDCMD in
223 # the environment to account for automounters. The make variable must not
224 # be called PWDCMD, otherwise the value set here is passed to make
225 # subprocesses and overrides the setting from the user's environment.
226 # Don't use PWD since it is a common shell environment variable and we
227 # don't want to corrupt it.
228 PWD_COMMAND = $${PWDCMD-pwd}
230 # compilers to use to create programs which must be run in the build
231 # environment.
232 CC_FOR_BUILD = @CC_FOR_BUILD@
233 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
235 CXX_FOR_BUILD = $(CXX)
237 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
238 # here so that they can be overridden by Makefile fragments.
239 BUILD_PREFIX = @BUILD_PREFIX@
240 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
242 BISON=@BISON@
243 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
244 echo $$r/bison/bison -L $$s/bison/ ; \
245 else \
246 echo bison ; \
249 DEFAULT_YACC = @DEFAULT_YACC@
250 YACC=@YACC@
251 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
252 echo $$r/bison/bison -y -L $$s/bison/ ; \
253 elif [ -f $$r/byacc/byacc ] ; then \
254 echo $$r/byacc/byacc ; \
255 else \
256 echo ${DEFAULT_YACC} ; \
259 DEFAULT_LEX = @DEFAULT_LEX@
260 LEX=@LEX@
261 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
262 then echo $$r/flex/flex ; \
263 else echo ${DEFAULT_LEX} ; fi`
265 DEFAULT_M4 = @DEFAULT_M4@
266 M4 = `if [ -f $$r/m4/m4 ] ; \
267 then echo $$r/m4/m4 ; \
268 else echo ${DEFAULT_M4} ; fi`
270 # For an installed makeinfo, we require it to be from texinfo 4.2 or
271 # higher, else we use the "missing" dummy.
272 MAKEINFO=@MAKEINFO@
273 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
274 then echo $$r/texinfo/makeinfo/makeinfo ; \
275 else if (makeinfo --version \
276 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
277 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
279 # This just becomes part of the MAKEINFO definition passed down to
280 # sub-makes. It lets flags be given on the command line while still
281 # using the makeinfo from the object tree.
282 # (Default to avoid splitting info files by setting the threshold high.)
283 MAKEINFOFLAGS = --split-size=5000000
285 EXPECT = `if [ -f $$r/expect/expect ] ; \
286 then echo $$r/expect/expect ; \
287 else echo expect ; fi`
289 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
290 then echo $$s/dejagnu/runtest ; \
291 else echo runtest ; fi`
293 # ---------------------------------------------
294 # Programs producing files for the HOST machine
295 # ---------------------------------------------
297 # This is the list of directories that may be needed in RPATH_ENVVAR
298 # so that programs built for the host machine work.
299 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
301 AS = @AS@
303 AR = @AR@
304 AR_FLAGS = rc
306 CC = @CC@
307 CFLAGS = @CFLAGS@
308 LIBCFLAGS = $(CFLAGS)
310 CXX = @CXX@
311 CXXFLAGS = @CXXFLAGS@
312 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
314 DLLTOOL = @DLLTOOL@
316 NM = @NM@
318 LD = @LD@
319 LDFLAGS =
321 RANLIB = @RANLIB@
323 WINDRES = @WINDRES@
325 PICFLAG =
327 # -----------------------------------------------
328 # Programs producing files for the TARGET machine
329 # -----------------------------------------------
331 # This is the list of directories that may be needed in RPATH_ENVVAR
332 # so that prorgams built for the target machine work.
333 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
335 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
337 AR_FOR_TARGET=@AR_FOR_TARGET@
338 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
339 USUAL_AR_FOR_TARGET = ` \
340 if [ -f $$r/binutils/ar ] ; then \
341 echo $$r/binutils/ar ; \
342 else \
343 if [ '$(host)' = '$(target)' ] ; then \
344 echo $(AR); \
345 else \
346 echo $(CONFIGURED_AR_FOR_TARGET) ; \
347 fi; \
350 AS_FOR_TARGET=@AS_FOR_TARGET@
351 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
352 USUAL_AS_FOR_TARGET = ` \
353 if [ -f $$r/gas/as-new ] ; then \
354 echo $$r/gas/as-new ; \
355 elif [ -f $$r/gcc/xgcc ]; then \
356 $(CC_FOR_TARGET) -print-prog-name=as ; \
357 else \
358 if [ '$(host)' = '$(target)' ] ; then \
359 echo $(AS); \
360 else \
361 echo $(CONFIGURED_AS_FOR_TARGET) ; \
362 fi; \
365 CC_FOR_TARGET = @CC_FOR_TARGET@
366 # During gcc bootstrap, if we use some random cc for stage1 then
367 # CFLAGS will be just -g. We want to ensure that TARGET libraries
368 # (which we know are built with gcc) are built with optimizations so
369 # prepend -O2 when setting CFLAGS_FOR_TARGET.
370 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
371 # If GCC_FOR_TARGET is not overriden on the command line, then this
372 # variable is passed down to the gcc Makefile, where it is used to
373 # build libgcc2.a. We define it here so that it can itself be
374 # overridden on the command line.
375 GCC_FOR_TARGET=@GCC_FOR_TARGET@
376 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
377 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
379 CXX_FOR_TARGET = @CXX_FOR_TARGET@
380 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
381 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
382 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
384 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
386 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
387 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
388 USUAL_DLLTOOL_FOR_TARGET = ` \
389 if [ -f $$r/binutils/dlltool ] ; then \
390 echo $$r/binutils/dlltool ; \
391 else \
392 if [ '$(host)' = '$(target)' ] ; then \
393 echo $(DLLTOOL); \
394 else \
395 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
396 fi; \
399 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
400 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
402 LD_FOR_TARGET=@LD_FOR_TARGET@
403 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
404 USUAL_LD_FOR_TARGET = ` \
405 if [ -f $$r/ld/ld-new ] ; then \
406 echo $$r/ld/ld-new ; \
407 elif [ -f $$r/gcc/xgcc ]; then \
408 $(CC_FOR_TARGET) -print-prog-name=ld ; \
409 else \
410 if [ '$(host)' = '$(target)' ] ; then \
411 echo $(LD); \
412 else \
413 echo $(CONFIGURED_LD_FOR_TARGET) ; \
414 fi; \
417 LDFLAGS_FOR_TARGET =
419 NM_FOR_TARGET=@NM_FOR_TARGET@
420 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
421 USUAL_NM_FOR_TARGET = ` \
422 if [ -f $$r/binutils/nm-new ] ; then \
423 echo $$r/binutils/nm-new ; \
424 elif [ -f $$r/gcc/xgcc ]; then \
425 $(CC_FOR_TARGET) -print-prog-name=nm ; \
426 else \
427 if [ '$(host)' = '$(target)' ] ; then \
428 echo $(NM); \
429 else \
430 echo $(CONFIGURED_NM_FOR_TARGET) ; \
431 fi; \
434 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
435 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
436 USUAL_RANLIB_FOR_TARGET = ` \
437 if [ -f $$r/binutils/ranlib ] ; then \
438 echo $$r/binutils/ranlib ; \
439 else \
440 if [ '$(host)' = '$(target)' ] ; then \
441 if [ x'$(RANLIB)' != x ]; then \
442 echo $(RANLIB); \
443 else \
444 echo ranlib; \
445 fi; \
446 else \
447 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
448 fi; \
451 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
452 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
453 USUAL_WINDRES_FOR_TARGET = ` \
454 if [ -f $$r/binutils/windres ] ; then \
455 echo $$r/binutils/windres ; \
456 else \
457 if [ '$(host)' = '$(target)' ] ; then \
458 echo $(WINDRES); \
459 else \
460 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
461 fi; \
464 PICFLAG_FOR_TARGET =
466 # ------------------------------------
467 # Miscellaneous targets and flag lists
468 # ------------------------------------
470 # The first rule in the file had better be this one. Don't put any above it.
471 # This lives here to allow makefile fragments to contain dependencies.
472 @default_target@:
474 #### host and target specific makefile fragments come in here.
475 @target_makefile_frag@
476 @alphaieee_frag@
477 @ospace_frag@
478 @host_makefile_frag@
481 # Flags to pass down to all sub-makes.
482 BASE_FLAGS_TO_PASS = \
483 "DESTDIR=$(DESTDIR)" \
484 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
485 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
486 "bindir=$(bindir)" \
487 "datadir=$(datadir)" \
488 "exec_prefix=$(exec_prefix)" \
489 "includedir=$(includedir)" \
490 "infodir=$(infodir)" \
491 "libdir=$(libdir)" \
492 "libexecdir=$(libexecdir)" \
493 "lispdir=$(lispdir)" \
494 "libstdcxx_incdir=$(libstdcxx_incdir)" \
495 "libsubdir=$(libsubdir)" \
496 "localstatedir=$(localstatedir)" \
497 "mandir=$(mandir)" \
498 "oldincludedir=$(oldincludedir)" \
499 "prefix=$(prefix)" \
500 "sbindir=$(sbindir)" \
501 "sharedstatedir=$(sharedstatedir)" \
502 "sysconfdir=$(sysconfdir)" \
503 "tooldir=$(tooldir)" \
504 "build_tooldir=$(build_tooldir)" \
505 "gxx_include_dir=$(gxx_include_dir)" \
506 "gcc_version=$(gcc_version)" \
507 "gcc_version_trigger=$(gcc_version_trigger)" \
508 "target_alias=$(target_alias)" \
509 "BISON=$(BISON)" \
510 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
511 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
512 "EXPECT=$(EXPECT)" \
513 "INSTALL=$(INSTALL)" \
514 "INSTALL_DATA=$(INSTALL_DATA)" \
515 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
516 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
517 "LEX=$(LEX)" \
518 "M4=$(M4)" \
519 "MAKE=$(MAKE)" \
520 "RUNTEST=$(RUNTEST)" \
521 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
522 "SHELL=$(SHELL)" \
523 "YACC=$(YACC)" \
524 "AR_FLAGS=$(AR_FLAGS)" \
525 "CFLAGS=$(CFLAGS)" \
526 "CXXFLAGS=$(CXXFLAGS)" \
527 "LDFLAGS=$(LDFLAGS)" \
528 "LIBCFLAGS=$(LIBCFLAGS)" \
529 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
530 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
531 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
532 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
533 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
534 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
535 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
536 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
537 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
538 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
539 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
540 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
541 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
542 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
543 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
544 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
545 "CONFIG_SHELL=$(SHELL)" \
546 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
548 # For any flags above that may contain shell code that varies from one
549 # target library to another. When doing recursive invocations of the
550 # top-level Makefile, we don't want the outer make to evaluate them,
551 # so we pass these variables down unchanged. They must not contain
552 # single nor double quotes.
553 RECURSE_FLAGS = \
554 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
555 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
557 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
559 # Flags to pass down to most sub-makes, in which we're building with
560 # the host environment.
561 EXTRA_HOST_FLAGS = \
562 'AR=$(AR)' \
563 'AS=$(AS)' \
564 'CC=$(CC)' \
565 'CXX=$(CXX)' \
566 'DLLTOOL=$(DLLTOOL)' \
567 'LD=$(LD)' \
568 'NM=$(NM)' \
569 'RANLIB=$(RANLIB)' \
570 'WINDRES=$(WINDRES)'
572 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
574 # Flags that are concerned with the location of the X11 include files
575 # and library files
577 # NOTE: until the top-level is getting the values via autoconf, it only
578 # causes problems to have this top-level Makefile overriding the autoconf-set
579 # values in child directories. Only variables that don't conflict with
580 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
582 X11_FLAGS_TO_PASS = \
583 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
584 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
586 # Flags to pass down to makes which are built with the target environment.
587 # The double $ decreases the length of the command line; the variables
588 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
589 EXTRA_TARGET_FLAGS = \
590 'AR=$$(AR_FOR_TARGET)' \
591 'AS=$$(AS_FOR_TARGET)' \
592 'CC=$$(CC_FOR_TARGET)' \
593 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
594 'CXX=$$(CXX_FOR_TARGET)' \
595 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
596 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
597 'LD=$$(LD_FOR_TARGET)' \
598 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
599 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
600 'NM=$$(NM_FOR_TARGET)' \
601 'RANLIB=$$(RANLIB_FOR_TARGET)' \
602 'WINDRES=$$(WINDRES_FOR_TARGET)'
604 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
606 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
607 # unfortunately needs the native compiler and the target ar and
608 # ranlib.
609 # If any variables are added here, they must be added to do-*, below.
610 # The BUILD_* variables are a special case, which are used for the gcc
611 # cross-building scheme.
612 EXTRA_GCC_FLAGS = \
613 'BUILD_PREFIX=$(BUILD_PREFIX)' \
614 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
615 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
616 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
617 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
618 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
619 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
620 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
621 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
622 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
623 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
624 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
625 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
627 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
629 .PHONY: configure-host
630 configure-host: maybe-configure-gcc \
631 maybe-configure-ash \
632 maybe-configure-autoconf \
633 maybe-configure-automake \
634 maybe-configure-bash \
635 maybe-configure-bfd \
636 maybe-configure-opcodes \
637 maybe-configure-binutils \
638 maybe-configure-bison \
639 maybe-configure-byacc \
640 maybe-configure-bzip2 \
641 maybe-configure-dejagnu \
642 maybe-configure-diff \
643 maybe-configure-dosutils \
644 maybe-configure-etc \
645 maybe-configure-fastjar \
646 maybe-configure-fileutils \
647 maybe-configure-findutils \
648 maybe-configure-find \
649 maybe-configure-flex \
650 maybe-configure-gas \
651 maybe-configure-gawk \
652 maybe-configure-gettext \
653 maybe-configure-gnuserv \
654 maybe-configure-gprof \
655 maybe-configure-gzip \
656 maybe-configure-hello \
657 maybe-configure-indent \
658 maybe-configure-intl \
659 maybe-configure-tcl \
660 maybe-configure-itcl \
661 maybe-configure-ld \
662 maybe-configure-libcpp \
663 maybe-configure-libgui \
664 maybe-configure-libbanshee \
665 maybe-configure-libiberty \
666 maybe-configure-libtool \
667 maybe-configure-m4 \
668 maybe-configure-make \
669 maybe-configure-mmalloc \
670 maybe-configure-patch \
671 maybe-configure-perl \
672 maybe-configure-prms \
673 maybe-configure-rcs \
674 maybe-configure-readline \
675 maybe-configure-release \
676 maybe-configure-recode \
677 maybe-configure-sed \
678 maybe-configure-send-pr \
679 maybe-configure-shellutils \
680 maybe-configure-sid \
681 maybe-configure-sim \
682 maybe-configure-tar \
683 maybe-configure-texinfo \
684 maybe-configure-textutils \
685 maybe-configure-time \
686 maybe-configure-uudecode \
687 maybe-configure-wdiff \
688 maybe-configure-zip \
689 maybe-configure-zlib \
690 maybe-configure-gdb \
691 maybe-configure-expect \
692 maybe-configure-guile \
693 maybe-configure-tk \
694 maybe-configure-tix \
695 maybe-configure-libtermcap \
696 maybe-configure-utils
697 .PHONY: configure-target
698 configure-target: \
699 maybe-configure-target-libstdc++-v3 \
700 maybe-configure-target-libmudflap \
701 maybe-configure-target-newlib \
702 maybe-configure-target-libgfortran \
703 maybe-configure-target-libobjc \
704 maybe-configure-target-libtermcap \
705 maybe-configure-target-winsup \
706 maybe-configure-target-libgloss \
707 maybe-configure-target-libiberty \
708 maybe-configure-target-gperf \
709 maybe-configure-target-examples \
710 maybe-configure-target-libffi \
711 maybe-configure-target-libjava \
712 maybe-configure-target-zlib \
713 maybe-configure-target-boehm-gc \
714 maybe-configure-target-qthreads \
715 maybe-configure-target-rda \
716 maybe-configure-target-libada
718 # The target built for a native non-bootstrap build.
719 .PHONY: all
720 all: @all_build_modules@ all-host all-target
722 .PHONY: all-host
723 all-host: maybe-all-gcc \
724 maybe-all-ash \
725 maybe-all-autoconf \
726 maybe-all-automake \
727 maybe-all-bash \
728 maybe-all-bfd \
729 maybe-all-opcodes \
730 maybe-all-binutils \
731 maybe-all-bison \
732 maybe-all-byacc \
733 maybe-all-bzip2 \
734 maybe-all-dejagnu \
735 maybe-all-diff \
736 maybe-all-dosutils \
737 maybe-all-etc \
738 maybe-all-fastjar \
739 maybe-all-fileutils \
740 maybe-all-findutils \
741 maybe-all-find \
742 maybe-all-flex \
743 maybe-all-gas \
744 maybe-all-gawk \
745 maybe-all-gettext \
746 maybe-all-gnuserv \
747 maybe-all-gprof \
748 maybe-all-gzip \
749 maybe-all-hello \
750 maybe-all-indent \
751 maybe-all-intl \
752 maybe-all-tcl \
753 maybe-all-itcl \
754 maybe-all-ld \
755 maybe-all-libcpp \
756 maybe-all-libgui \
757 maybe-all-libbanshee \
758 maybe-all-libiberty \
759 maybe-all-libtool \
760 maybe-all-m4 \
761 maybe-all-make \
762 maybe-all-mmalloc \
763 maybe-all-patch \
764 maybe-all-perl \
765 maybe-all-prms \
766 maybe-all-rcs \
767 maybe-all-readline \
768 maybe-all-release \
769 maybe-all-recode \
770 maybe-all-sed \
771 maybe-all-send-pr \
772 maybe-all-shellutils \
773 maybe-all-sid \
774 maybe-all-sim \
775 maybe-all-tar \
776 maybe-all-texinfo \
777 maybe-all-textutils \
778 maybe-all-time \
779 maybe-all-uudecode \
780 maybe-all-wdiff \
781 maybe-all-zip \
782 maybe-all-zlib \
783 maybe-all-gdb \
784 maybe-all-expect \
785 maybe-all-guile \
786 maybe-all-tk \
787 maybe-all-tix \
788 maybe-all-libtermcap \
789 maybe-all-utils
790 .PHONY: all-target
791 all-target: \
792 maybe-all-target-libstdc++-v3 \
793 maybe-all-target-libmudflap \
794 maybe-all-target-newlib \
795 maybe-all-target-libgfortran \
796 maybe-all-target-libobjc \
797 maybe-all-target-libtermcap \
798 maybe-all-target-winsup \
799 maybe-all-target-libgloss \
800 maybe-all-target-libiberty \
801 maybe-all-target-gperf \
802 maybe-all-target-examples \
803 maybe-all-target-libffi \
804 maybe-all-target-libjava \
805 maybe-all-target-zlib \
806 maybe-all-target-boehm-gc \
807 maybe-all-target-qthreads \
808 maybe-all-target-rda \
809 maybe-all-target-libada
811 # Do a target for all the subdirectories. A ``make do-X'' will do a
812 # ``make X'' in all subdirectories (because, in general, there is a
813 # dependency (below) of X upon do-X, a ``make X'' will also do this,
814 # but it may do additional work as well).
816 .PHONY: do-info
817 do-info: info-host info-target
819 .PHONY: info-host
820 info-host: maybe-info-gcc \
821 maybe-info-ash \
822 maybe-info-autoconf \
823 maybe-info-automake \
824 maybe-info-bash \
825 maybe-info-bfd \
826 maybe-info-opcodes \
827 maybe-info-binutils \
828 maybe-info-bison \
829 maybe-info-byacc \
830 maybe-info-bzip2 \
831 maybe-info-dejagnu \
832 maybe-info-diff \
833 maybe-info-dosutils \
834 maybe-info-etc \
835 maybe-info-fastjar \
836 maybe-info-fileutils \
837 maybe-info-findutils \
838 maybe-info-find \
839 maybe-info-flex \
840 maybe-info-gas \
841 maybe-info-gawk \
842 maybe-info-gettext \
843 maybe-info-gnuserv \
844 maybe-info-gprof \
845 maybe-info-gzip \
846 maybe-info-hello \
847 maybe-info-indent \
848 maybe-info-intl \
849 maybe-info-tcl \
850 maybe-info-itcl \
851 maybe-info-ld \
852 maybe-info-libcpp \
853 maybe-info-libgui \
854 maybe-info-libbanshee \
855 maybe-info-libiberty \
856 maybe-info-libtool \
857 maybe-info-m4 \
858 maybe-info-make \
859 maybe-info-mmalloc \
860 maybe-info-patch \
861 maybe-info-perl \
862 maybe-info-prms \
863 maybe-info-rcs \
864 maybe-info-readline \
865 maybe-info-release \
866 maybe-info-recode \
867 maybe-info-sed \
868 maybe-info-send-pr \
869 maybe-info-shellutils \
870 maybe-info-sid \
871 maybe-info-sim \
872 maybe-info-tar \
873 maybe-info-texinfo \
874 maybe-info-textutils \
875 maybe-info-time \
876 maybe-info-uudecode \
877 maybe-info-wdiff \
878 maybe-info-zip \
879 maybe-info-zlib \
880 maybe-info-gdb \
881 maybe-info-expect \
882 maybe-info-guile \
883 maybe-info-tk \
884 maybe-info-tix \
885 maybe-info-libtermcap \
886 maybe-info-utils
888 .PHONY: info-target
889 info-target: \
890 maybe-info-target-libstdc++-v3 \
891 maybe-info-target-libmudflap \
892 maybe-info-target-newlib \
893 maybe-info-target-libgfortran \
894 maybe-info-target-libobjc \
895 maybe-info-target-libtermcap \
896 maybe-info-target-winsup \
897 maybe-info-target-libgloss \
898 maybe-info-target-libiberty \
899 maybe-info-target-gperf \
900 maybe-info-target-examples \
901 maybe-info-target-libffi \
902 maybe-info-target-libjava \
903 maybe-info-target-zlib \
904 maybe-info-target-boehm-gc \
905 maybe-info-target-qthreads \
906 maybe-info-target-rda \
907 maybe-info-target-libada
909 .PHONY: do-dvi
910 do-dvi: dvi-host dvi-target
912 .PHONY: dvi-host
913 dvi-host: maybe-dvi-gcc \
914 maybe-dvi-ash \
915 maybe-dvi-autoconf \
916 maybe-dvi-automake \
917 maybe-dvi-bash \
918 maybe-dvi-bfd \
919 maybe-dvi-opcodes \
920 maybe-dvi-binutils \
921 maybe-dvi-bison \
922 maybe-dvi-byacc \
923 maybe-dvi-bzip2 \
924 maybe-dvi-dejagnu \
925 maybe-dvi-diff \
926 maybe-dvi-dosutils \
927 maybe-dvi-etc \
928 maybe-dvi-fastjar \
929 maybe-dvi-fileutils \
930 maybe-dvi-findutils \
931 maybe-dvi-find \
932 maybe-dvi-flex \
933 maybe-dvi-gas \
934 maybe-dvi-gawk \
935 maybe-dvi-gettext \
936 maybe-dvi-gnuserv \
937 maybe-dvi-gprof \
938 maybe-dvi-gzip \
939 maybe-dvi-hello \
940 maybe-dvi-indent \
941 maybe-dvi-intl \
942 maybe-dvi-tcl \
943 maybe-dvi-itcl \
944 maybe-dvi-ld \
945 maybe-dvi-libcpp \
946 maybe-dvi-libgui \
947 maybe-dvi-libbanshee \
948 maybe-dvi-libiberty \
949 maybe-dvi-libtool \
950 maybe-dvi-m4 \
951 maybe-dvi-make \
952 maybe-dvi-mmalloc \
953 maybe-dvi-patch \
954 maybe-dvi-perl \
955 maybe-dvi-prms \
956 maybe-dvi-rcs \
957 maybe-dvi-readline \
958 maybe-dvi-release \
959 maybe-dvi-recode \
960 maybe-dvi-sed \
961 maybe-dvi-send-pr \
962 maybe-dvi-shellutils \
963 maybe-dvi-sid \
964 maybe-dvi-sim \
965 maybe-dvi-tar \
966 maybe-dvi-texinfo \
967 maybe-dvi-textutils \
968 maybe-dvi-time \
969 maybe-dvi-uudecode \
970 maybe-dvi-wdiff \
971 maybe-dvi-zip \
972 maybe-dvi-zlib \
973 maybe-dvi-gdb \
974 maybe-dvi-expect \
975 maybe-dvi-guile \
976 maybe-dvi-tk \
977 maybe-dvi-tix \
978 maybe-dvi-libtermcap \
979 maybe-dvi-utils
981 .PHONY: dvi-target
982 dvi-target: \
983 maybe-dvi-target-libstdc++-v3 \
984 maybe-dvi-target-libmudflap \
985 maybe-dvi-target-newlib \
986 maybe-dvi-target-libgfortran \
987 maybe-dvi-target-libobjc \
988 maybe-dvi-target-libtermcap \
989 maybe-dvi-target-winsup \
990 maybe-dvi-target-libgloss \
991 maybe-dvi-target-libiberty \
992 maybe-dvi-target-gperf \
993 maybe-dvi-target-examples \
994 maybe-dvi-target-libffi \
995 maybe-dvi-target-libjava \
996 maybe-dvi-target-zlib \
997 maybe-dvi-target-boehm-gc \
998 maybe-dvi-target-qthreads \
999 maybe-dvi-target-rda \
1000 maybe-dvi-target-libada
1002 .PHONY: do-TAGS
1003 do-TAGS: TAGS-host TAGS-target
1005 .PHONY: TAGS-host
1006 TAGS-host: maybe-TAGS-gcc \
1007 maybe-TAGS-ash \
1008 maybe-TAGS-autoconf \
1009 maybe-TAGS-automake \
1010 maybe-TAGS-bash \
1011 maybe-TAGS-bfd \
1012 maybe-TAGS-opcodes \
1013 maybe-TAGS-binutils \
1014 maybe-TAGS-bison \
1015 maybe-TAGS-byacc \
1016 maybe-TAGS-bzip2 \
1017 maybe-TAGS-dejagnu \
1018 maybe-TAGS-diff \
1019 maybe-TAGS-dosutils \
1020 maybe-TAGS-etc \
1021 maybe-TAGS-fastjar \
1022 maybe-TAGS-fileutils \
1023 maybe-TAGS-findutils \
1024 maybe-TAGS-find \
1025 maybe-TAGS-flex \
1026 maybe-TAGS-gas \
1027 maybe-TAGS-gawk \
1028 maybe-TAGS-gettext \
1029 maybe-TAGS-gnuserv \
1030 maybe-TAGS-gprof \
1031 maybe-TAGS-gzip \
1032 maybe-TAGS-hello \
1033 maybe-TAGS-indent \
1034 maybe-TAGS-intl \
1035 maybe-TAGS-tcl \
1036 maybe-TAGS-itcl \
1037 maybe-TAGS-ld \
1038 maybe-TAGS-libcpp \
1039 maybe-TAGS-libgui \
1040 maybe-TAGS-libbanshee \
1041 maybe-TAGS-libiberty \
1042 maybe-TAGS-libtool \
1043 maybe-TAGS-m4 \
1044 maybe-TAGS-make \
1045 maybe-TAGS-mmalloc \
1046 maybe-TAGS-patch \
1047 maybe-TAGS-perl \
1048 maybe-TAGS-prms \
1049 maybe-TAGS-rcs \
1050 maybe-TAGS-readline \
1051 maybe-TAGS-release \
1052 maybe-TAGS-recode \
1053 maybe-TAGS-sed \
1054 maybe-TAGS-send-pr \
1055 maybe-TAGS-shellutils \
1056 maybe-TAGS-sid \
1057 maybe-TAGS-sim \
1058 maybe-TAGS-tar \
1059 maybe-TAGS-texinfo \
1060 maybe-TAGS-textutils \
1061 maybe-TAGS-time \
1062 maybe-TAGS-uudecode \
1063 maybe-TAGS-wdiff \
1064 maybe-TAGS-zip \
1065 maybe-TAGS-zlib \
1066 maybe-TAGS-gdb \
1067 maybe-TAGS-expect \
1068 maybe-TAGS-guile \
1069 maybe-TAGS-tk \
1070 maybe-TAGS-tix \
1071 maybe-TAGS-libtermcap \
1072 maybe-TAGS-utils
1074 .PHONY: TAGS-target
1075 TAGS-target: \
1076 maybe-TAGS-target-libstdc++-v3 \
1077 maybe-TAGS-target-libmudflap \
1078 maybe-TAGS-target-newlib \
1079 maybe-TAGS-target-libgfortran \
1080 maybe-TAGS-target-libobjc \
1081 maybe-TAGS-target-libtermcap \
1082 maybe-TAGS-target-winsup \
1083 maybe-TAGS-target-libgloss \
1084 maybe-TAGS-target-libiberty \
1085 maybe-TAGS-target-gperf \
1086 maybe-TAGS-target-examples \
1087 maybe-TAGS-target-libffi \
1088 maybe-TAGS-target-libjava \
1089 maybe-TAGS-target-zlib \
1090 maybe-TAGS-target-boehm-gc \
1091 maybe-TAGS-target-qthreads \
1092 maybe-TAGS-target-rda \
1093 maybe-TAGS-target-libada
1095 .PHONY: do-install-info
1096 do-install-info: install-info-host install-info-target
1098 .PHONY: install-info-host
1099 install-info-host: maybe-install-info-gcc \
1100 maybe-install-info-ash \
1101 maybe-install-info-autoconf \
1102 maybe-install-info-automake \
1103 maybe-install-info-bash \
1104 maybe-install-info-bfd \
1105 maybe-install-info-opcodes \
1106 maybe-install-info-binutils \
1107 maybe-install-info-bison \
1108 maybe-install-info-byacc \
1109 maybe-install-info-bzip2 \
1110 maybe-install-info-dejagnu \
1111 maybe-install-info-diff \
1112 maybe-install-info-dosutils \
1113 maybe-install-info-etc \
1114 maybe-install-info-fastjar \
1115 maybe-install-info-fileutils \
1116 maybe-install-info-findutils \
1117 maybe-install-info-find \
1118 maybe-install-info-flex \
1119 maybe-install-info-gas \
1120 maybe-install-info-gawk \
1121 maybe-install-info-gettext \
1122 maybe-install-info-gnuserv \
1123 maybe-install-info-gprof \
1124 maybe-install-info-gzip \
1125 maybe-install-info-hello \
1126 maybe-install-info-indent \
1127 maybe-install-info-intl \
1128 maybe-install-info-tcl \
1129 maybe-install-info-itcl \
1130 maybe-install-info-ld \
1131 maybe-install-info-libcpp \
1132 maybe-install-info-libgui \
1133 maybe-install-info-libbanshee \
1134 maybe-install-info-libiberty \
1135 maybe-install-info-libtool \
1136 maybe-install-info-m4 \
1137 maybe-install-info-make \
1138 maybe-install-info-mmalloc \
1139 maybe-install-info-patch \
1140 maybe-install-info-perl \
1141 maybe-install-info-prms \
1142 maybe-install-info-rcs \
1143 maybe-install-info-readline \
1144 maybe-install-info-release \
1145 maybe-install-info-recode \
1146 maybe-install-info-sed \
1147 maybe-install-info-send-pr \
1148 maybe-install-info-shellutils \
1149 maybe-install-info-sid \
1150 maybe-install-info-sim \
1151 maybe-install-info-tar \
1152 maybe-install-info-texinfo \
1153 maybe-install-info-textutils \
1154 maybe-install-info-time \
1155 maybe-install-info-uudecode \
1156 maybe-install-info-wdiff \
1157 maybe-install-info-zip \
1158 maybe-install-info-zlib \
1159 maybe-install-info-gdb \
1160 maybe-install-info-expect \
1161 maybe-install-info-guile \
1162 maybe-install-info-tk \
1163 maybe-install-info-tix \
1164 maybe-install-info-libtermcap \
1165 maybe-install-info-utils
1167 .PHONY: install-info-target
1168 install-info-target: \
1169 maybe-install-info-target-libstdc++-v3 \
1170 maybe-install-info-target-libmudflap \
1171 maybe-install-info-target-newlib \
1172 maybe-install-info-target-libgfortran \
1173 maybe-install-info-target-libobjc \
1174 maybe-install-info-target-libtermcap \
1175 maybe-install-info-target-winsup \
1176 maybe-install-info-target-libgloss \
1177 maybe-install-info-target-libiberty \
1178 maybe-install-info-target-gperf \
1179 maybe-install-info-target-examples \
1180 maybe-install-info-target-libffi \
1181 maybe-install-info-target-libjava \
1182 maybe-install-info-target-zlib \
1183 maybe-install-info-target-boehm-gc \
1184 maybe-install-info-target-qthreads \
1185 maybe-install-info-target-rda \
1186 maybe-install-info-target-libada
1188 .PHONY: do-installcheck
1189 do-installcheck: installcheck-host installcheck-target
1191 .PHONY: installcheck-host
1192 installcheck-host: maybe-installcheck-gcc \
1193 maybe-installcheck-ash \
1194 maybe-installcheck-autoconf \
1195 maybe-installcheck-automake \
1196 maybe-installcheck-bash \
1197 maybe-installcheck-bfd \
1198 maybe-installcheck-opcodes \
1199 maybe-installcheck-binutils \
1200 maybe-installcheck-bison \
1201 maybe-installcheck-byacc \
1202 maybe-installcheck-bzip2 \
1203 maybe-installcheck-dejagnu \
1204 maybe-installcheck-diff \
1205 maybe-installcheck-dosutils \
1206 maybe-installcheck-etc \
1207 maybe-installcheck-fastjar \
1208 maybe-installcheck-fileutils \
1209 maybe-installcheck-findutils \
1210 maybe-installcheck-find \
1211 maybe-installcheck-flex \
1212 maybe-installcheck-gas \
1213 maybe-installcheck-gawk \
1214 maybe-installcheck-gettext \
1215 maybe-installcheck-gnuserv \
1216 maybe-installcheck-gprof \
1217 maybe-installcheck-gzip \
1218 maybe-installcheck-hello \
1219 maybe-installcheck-indent \
1220 maybe-installcheck-intl \
1221 maybe-installcheck-tcl \
1222 maybe-installcheck-itcl \
1223 maybe-installcheck-ld \
1224 maybe-installcheck-libcpp \
1225 maybe-installcheck-libgui \
1226 maybe-installcheck-libbanshee \
1227 maybe-installcheck-libiberty \
1228 maybe-installcheck-libtool \
1229 maybe-installcheck-m4 \
1230 maybe-installcheck-make \
1231 maybe-installcheck-mmalloc \
1232 maybe-installcheck-patch \
1233 maybe-installcheck-perl \
1234 maybe-installcheck-prms \
1235 maybe-installcheck-rcs \
1236 maybe-installcheck-readline \
1237 maybe-installcheck-release \
1238 maybe-installcheck-recode \
1239 maybe-installcheck-sed \
1240 maybe-installcheck-send-pr \
1241 maybe-installcheck-shellutils \
1242 maybe-installcheck-sid \
1243 maybe-installcheck-sim \
1244 maybe-installcheck-tar \
1245 maybe-installcheck-texinfo \
1246 maybe-installcheck-textutils \
1247 maybe-installcheck-time \
1248 maybe-installcheck-uudecode \
1249 maybe-installcheck-wdiff \
1250 maybe-installcheck-zip \
1251 maybe-installcheck-zlib \
1252 maybe-installcheck-gdb \
1253 maybe-installcheck-expect \
1254 maybe-installcheck-guile \
1255 maybe-installcheck-tk \
1256 maybe-installcheck-tix \
1257 maybe-installcheck-libtermcap \
1258 maybe-installcheck-utils
1260 .PHONY: installcheck-target
1261 installcheck-target: \
1262 maybe-installcheck-target-libstdc++-v3 \
1263 maybe-installcheck-target-libmudflap \
1264 maybe-installcheck-target-newlib \
1265 maybe-installcheck-target-libgfortran \
1266 maybe-installcheck-target-libobjc \
1267 maybe-installcheck-target-libtermcap \
1268 maybe-installcheck-target-winsup \
1269 maybe-installcheck-target-libgloss \
1270 maybe-installcheck-target-libiberty \
1271 maybe-installcheck-target-gperf \
1272 maybe-installcheck-target-examples \
1273 maybe-installcheck-target-libffi \
1274 maybe-installcheck-target-libjava \
1275 maybe-installcheck-target-zlib \
1276 maybe-installcheck-target-boehm-gc \
1277 maybe-installcheck-target-qthreads \
1278 maybe-installcheck-target-rda \
1279 maybe-installcheck-target-libada
1281 .PHONY: do-mostlyclean
1282 do-mostlyclean: mostlyclean-host mostlyclean-target
1284 .PHONY: mostlyclean-host
1285 mostlyclean-host: maybe-mostlyclean-gcc \
1286 maybe-mostlyclean-ash \
1287 maybe-mostlyclean-autoconf \
1288 maybe-mostlyclean-automake \
1289 maybe-mostlyclean-bash \
1290 maybe-mostlyclean-bfd \
1291 maybe-mostlyclean-opcodes \
1292 maybe-mostlyclean-binutils \
1293 maybe-mostlyclean-bison \
1294 maybe-mostlyclean-byacc \
1295 maybe-mostlyclean-bzip2 \
1296 maybe-mostlyclean-dejagnu \
1297 maybe-mostlyclean-diff \
1298 maybe-mostlyclean-dosutils \
1299 maybe-mostlyclean-etc \
1300 maybe-mostlyclean-fastjar \
1301 maybe-mostlyclean-fileutils \
1302 maybe-mostlyclean-findutils \
1303 maybe-mostlyclean-find \
1304 maybe-mostlyclean-flex \
1305 maybe-mostlyclean-gas \
1306 maybe-mostlyclean-gawk \
1307 maybe-mostlyclean-gettext \
1308 maybe-mostlyclean-gnuserv \
1309 maybe-mostlyclean-gprof \
1310 maybe-mostlyclean-gzip \
1311 maybe-mostlyclean-hello \
1312 maybe-mostlyclean-indent \
1313 maybe-mostlyclean-intl \
1314 maybe-mostlyclean-tcl \
1315 maybe-mostlyclean-itcl \
1316 maybe-mostlyclean-ld \
1317 maybe-mostlyclean-libcpp \
1318 maybe-mostlyclean-libgui \
1319 maybe-mostlyclean-libbanshee \
1320 maybe-mostlyclean-libiberty \
1321 maybe-mostlyclean-libtool \
1322 maybe-mostlyclean-m4 \
1323 maybe-mostlyclean-make \
1324 maybe-mostlyclean-mmalloc \
1325 maybe-mostlyclean-patch \
1326 maybe-mostlyclean-perl \
1327 maybe-mostlyclean-prms \
1328 maybe-mostlyclean-rcs \
1329 maybe-mostlyclean-readline \
1330 maybe-mostlyclean-release \
1331 maybe-mostlyclean-recode \
1332 maybe-mostlyclean-sed \
1333 maybe-mostlyclean-send-pr \
1334 maybe-mostlyclean-shellutils \
1335 maybe-mostlyclean-sid \
1336 maybe-mostlyclean-sim \
1337 maybe-mostlyclean-tar \
1338 maybe-mostlyclean-texinfo \
1339 maybe-mostlyclean-textutils \
1340 maybe-mostlyclean-time \
1341 maybe-mostlyclean-uudecode \
1342 maybe-mostlyclean-wdiff \
1343 maybe-mostlyclean-zip \
1344 maybe-mostlyclean-zlib \
1345 maybe-mostlyclean-gdb \
1346 maybe-mostlyclean-expect \
1347 maybe-mostlyclean-guile \
1348 maybe-mostlyclean-tk \
1349 maybe-mostlyclean-tix \
1350 maybe-mostlyclean-libtermcap \
1351 maybe-mostlyclean-utils
1353 .PHONY: mostlyclean-target
1354 mostlyclean-target: \
1355 maybe-mostlyclean-target-libstdc++-v3 \
1356 maybe-mostlyclean-target-libmudflap \
1357 maybe-mostlyclean-target-newlib \
1358 maybe-mostlyclean-target-libgfortran \
1359 maybe-mostlyclean-target-libobjc \
1360 maybe-mostlyclean-target-libtermcap \
1361 maybe-mostlyclean-target-winsup \
1362 maybe-mostlyclean-target-libgloss \
1363 maybe-mostlyclean-target-libiberty \
1364 maybe-mostlyclean-target-gperf \
1365 maybe-mostlyclean-target-examples \
1366 maybe-mostlyclean-target-libffi \
1367 maybe-mostlyclean-target-libjava \
1368 maybe-mostlyclean-target-zlib \
1369 maybe-mostlyclean-target-boehm-gc \
1370 maybe-mostlyclean-target-qthreads \
1371 maybe-mostlyclean-target-rda \
1372 maybe-mostlyclean-target-libada
1374 .PHONY: do-clean
1375 do-clean: clean-host clean-target
1377 .PHONY: clean-host
1378 clean-host: maybe-clean-gcc \
1379 maybe-clean-ash \
1380 maybe-clean-autoconf \
1381 maybe-clean-automake \
1382 maybe-clean-bash \
1383 maybe-clean-bfd \
1384 maybe-clean-opcodes \
1385 maybe-clean-binutils \
1386 maybe-clean-bison \
1387 maybe-clean-byacc \
1388 maybe-clean-bzip2 \
1389 maybe-clean-dejagnu \
1390 maybe-clean-diff \
1391 maybe-clean-dosutils \
1392 maybe-clean-etc \
1393 maybe-clean-fastjar \
1394 maybe-clean-fileutils \
1395 maybe-clean-findutils \
1396 maybe-clean-find \
1397 maybe-clean-flex \
1398 maybe-clean-gas \
1399 maybe-clean-gawk \
1400 maybe-clean-gettext \
1401 maybe-clean-gnuserv \
1402 maybe-clean-gprof \
1403 maybe-clean-gzip \
1404 maybe-clean-hello \
1405 maybe-clean-indent \
1406 maybe-clean-intl \
1407 maybe-clean-tcl \
1408 maybe-clean-itcl \
1409 maybe-clean-ld \
1410 maybe-clean-libcpp \
1411 maybe-clean-libgui \
1412 maybe-clean-libbanshee \
1413 maybe-clean-libiberty \
1414 maybe-clean-libtool \
1415 maybe-clean-m4 \
1416 maybe-clean-make \
1417 maybe-clean-mmalloc \
1418 maybe-clean-patch \
1419 maybe-clean-perl \
1420 maybe-clean-prms \
1421 maybe-clean-rcs \
1422 maybe-clean-readline \
1423 maybe-clean-release \
1424 maybe-clean-recode \
1425 maybe-clean-sed \
1426 maybe-clean-send-pr \
1427 maybe-clean-shellutils \
1428 maybe-clean-sid \
1429 maybe-clean-sim \
1430 maybe-clean-tar \
1431 maybe-clean-texinfo \
1432 maybe-clean-textutils \
1433 maybe-clean-time \
1434 maybe-clean-uudecode \
1435 maybe-clean-wdiff \
1436 maybe-clean-zip \
1437 maybe-clean-zlib \
1438 maybe-clean-gdb \
1439 maybe-clean-expect \
1440 maybe-clean-guile \
1441 maybe-clean-tk \
1442 maybe-clean-tix \
1443 maybe-clean-libtermcap \
1444 maybe-clean-utils
1446 .PHONY: clean-target
1447 clean-target: \
1448 maybe-clean-target-libstdc++-v3 \
1449 maybe-clean-target-libmudflap \
1450 maybe-clean-target-newlib \
1451 maybe-clean-target-libgfortran \
1452 maybe-clean-target-libobjc \
1453 maybe-clean-target-libtermcap \
1454 maybe-clean-target-winsup \
1455 maybe-clean-target-libgloss \
1456 maybe-clean-target-libiberty \
1457 maybe-clean-target-gperf \
1458 maybe-clean-target-examples \
1459 maybe-clean-target-libffi \
1460 maybe-clean-target-libjava \
1461 maybe-clean-target-zlib \
1462 maybe-clean-target-boehm-gc \
1463 maybe-clean-target-qthreads \
1464 maybe-clean-target-rda \
1465 maybe-clean-target-libada
1467 .PHONY: do-distclean
1468 do-distclean: distclean-host distclean-target
1470 .PHONY: distclean-host
1471 distclean-host: maybe-distclean-gcc \
1472 maybe-distclean-ash \
1473 maybe-distclean-autoconf \
1474 maybe-distclean-automake \
1475 maybe-distclean-bash \
1476 maybe-distclean-bfd \
1477 maybe-distclean-opcodes \
1478 maybe-distclean-binutils \
1479 maybe-distclean-bison \
1480 maybe-distclean-byacc \
1481 maybe-distclean-bzip2 \
1482 maybe-distclean-dejagnu \
1483 maybe-distclean-diff \
1484 maybe-distclean-dosutils \
1485 maybe-distclean-etc \
1486 maybe-distclean-fastjar \
1487 maybe-distclean-fileutils \
1488 maybe-distclean-findutils \
1489 maybe-distclean-find \
1490 maybe-distclean-flex \
1491 maybe-distclean-gas \
1492 maybe-distclean-gawk \
1493 maybe-distclean-gettext \
1494 maybe-distclean-gnuserv \
1495 maybe-distclean-gprof \
1496 maybe-distclean-gzip \
1497 maybe-distclean-hello \
1498 maybe-distclean-indent \
1499 maybe-distclean-intl \
1500 maybe-distclean-tcl \
1501 maybe-distclean-itcl \
1502 maybe-distclean-ld \
1503 maybe-distclean-libcpp \
1504 maybe-distclean-libgui \
1505 maybe-distclean-libbanshee \
1506 maybe-distclean-libiberty \
1507 maybe-distclean-libtool \
1508 maybe-distclean-m4 \
1509 maybe-distclean-make \
1510 maybe-distclean-mmalloc \
1511 maybe-distclean-patch \
1512 maybe-distclean-perl \
1513 maybe-distclean-prms \
1514 maybe-distclean-rcs \
1515 maybe-distclean-readline \
1516 maybe-distclean-release \
1517 maybe-distclean-recode \
1518 maybe-distclean-sed \
1519 maybe-distclean-send-pr \
1520 maybe-distclean-shellutils \
1521 maybe-distclean-sid \
1522 maybe-distclean-sim \
1523 maybe-distclean-tar \
1524 maybe-distclean-texinfo \
1525 maybe-distclean-textutils \
1526 maybe-distclean-time \
1527 maybe-distclean-uudecode \
1528 maybe-distclean-wdiff \
1529 maybe-distclean-zip \
1530 maybe-distclean-zlib \
1531 maybe-distclean-gdb \
1532 maybe-distclean-expect \
1533 maybe-distclean-guile \
1534 maybe-distclean-tk \
1535 maybe-distclean-tix \
1536 maybe-distclean-libtermcap \
1537 maybe-distclean-utils
1539 .PHONY: distclean-target
1540 distclean-target: \
1541 maybe-distclean-target-libstdc++-v3 \
1542 maybe-distclean-target-libmudflap \
1543 maybe-distclean-target-newlib \
1544 maybe-distclean-target-libgfortran \
1545 maybe-distclean-target-libobjc \
1546 maybe-distclean-target-libtermcap \
1547 maybe-distclean-target-winsup \
1548 maybe-distclean-target-libgloss \
1549 maybe-distclean-target-libiberty \
1550 maybe-distclean-target-gperf \
1551 maybe-distclean-target-examples \
1552 maybe-distclean-target-libffi \
1553 maybe-distclean-target-libjava \
1554 maybe-distclean-target-zlib \
1555 maybe-distclean-target-boehm-gc \
1556 maybe-distclean-target-qthreads \
1557 maybe-distclean-target-rda \
1558 maybe-distclean-target-libada
1560 .PHONY: do-maintainer-clean
1561 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1563 .PHONY: maintainer-clean-host
1564 maintainer-clean-host: maybe-maintainer-clean-gcc \
1565 maybe-maintainer-clean-ash \
1566 maybe-maintainer-clean-autoconf \
1567 maybe-maintainer-clean-automake \
1568 maybe-maintainer-clean-bash \
1569 maybe-maintainer-clean-bfd \
1570 maybe-maintainer-clean-opcodes \
1571 maybe-maintainer-clean-binutils \
1572 maybe-maintainer-clean-bison \
1573 maybe-maintainer-clean-byacc \
1574 maybe-maintainer-clean-bzip2 \
1575 maybe-maintainer-clean-dejagnu \
1576 maybe-maintainer-clean-diff \
1577 maybe-maintainer-clean-dosutils \
1578 maybe-maintainer-clean-etc \
1579 maybe-maintainer-clean-fastjar \
1580 maybe-maintainer-clean-fileutils \
1581 maybe-maintainer-clean-findutils \
1582 maybe-maintainer-clean-find \
1583 maybe-maintainer-clean-flex \
1584 maybe-maintainer-clean-gas \
1585 maybe-maintainer-clean-gawk \
1586 maybe-maintainer-clean-gettext \
1587 maybe-maintainer-clean-gnuserv \
1588 maybe-maintainer-clean-gprof \
1589 maybe-maintainer-clean-gzip \
1590 maybe-maintainer-clean-hello \
1591 maybe-maintainer-clean-indent \
1592 maybe-maintainer-clean-intl \
1593 maybe-maintainer-clean-tcl \
1594 maybe-maintainer-clean-itcl \
1595 maybe-maintainer-clean-ld \
1596 maybe-maintainer-clean-libcpp \
1597 maybe-maintainer-clean-libgui \
1598 maybe-maintainer-clean-libbanshee \
1599 maybe-maintainer-clean-libiberty \
1600 maybe-maintainer-clean-libtool \
1601 maybe-maintainer-clean-m4 \
1602 maybe-maintainer-clean-make \
1603 maybe-maintainer-clean-mmalloc \
1604 maybe-maintainer-clean-patch \
1605 maybe-maintainer-clean-perl \
1606 maybe-maintainer-clean-prms \
1607 maybe-maintainer-clean-rcs \
1608 maybe-maintainer-clean-readline \
1609 maybe-maintainer-clean-release \
1610 maybe-maintainer-clean-recode \
1611 maybe-maintainer-clean-sed \
1612 maybe-maintainer-clean-send-pr \
1613 maybe-maintainer-clean-shellutils \
1614 maybe-maintainer-clean-sid \
1615 maybe-maintainer-clean-sim \
1616 maybe-maintainer-clean-tar \
1617 maybe-maintainer-clean-texinfo \
1618 maybe-maintainer-clean-textutils \
1619 maybe-maintainer-clean-time \
1620 maybe-maintainer-clean-uudecode \
1621 maybe-maintainer-clean-wdiff \
1622 maybe-maintainer-clean-zip \
1623 maybe-maintainer-clean-zlib \
1624 maybe-maintainer-clean-gdb \
1625 maybe-maintainer-clean-expect \
1626 maybe-maintainer-clean-guile \
1627 maybe-maintainer-clean-tk \
1628 maybe-maintainer-clean-tix \
1629 maybe-maintainer-clean-libtermcap \
1630 maybe-maintainer-clean-utils
1632 .PHONY: maintainer-clean-target
1633 maintainer-clean-target: \
1634 maybe-maintainer-clean-target-libstdc++-v3 \
1635 maybe-maintainer-clean-target-libmudflap \
1636 maybe-maintainer-clean-target-newlib \
1637 maybe-maintainer-clean-target-libgfortran \
1638 maybe-maintainer-clean-target-libobjc \
1639 maybe-maintainer-clean-target-libtermcap \
1640 maybe-maintainer-clean-target-winsup \
1641 maybe-maintainer-clean-target-libgloss \
1642 maybe-maintainer-clean-target-libiberty \
1643 maybe-maintainer-clean-target-gperf \
1644 maybe-maintainer-clean-target-examples \
1645 maybe-maintainer-clean-target-libffi \
1646 maybe-maintainer-clean-target-libjava \
1647 maybe-maintainer-clean-target-zlib \
1648 maybe-maintainer-clean-target-boehm-gc \
1649 maybe-maintainer-clean-target-qthreads \
1650 maybe-maintainer-clean-target-rda \
1651 maybe-maintainer-clean-target-libada
1654 # Here are the targets which correspond to the do-X targets.
1656 .PHONY: info installcheck dvi install-info
1657 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1658 .PHONY: local-clean local-distclean local-maintainer-clean
1659 info: do-info
1660 installcheck: do-installcheck
1661 dvi: do-dvi
1663 # Make sure makeinfo is built before we do a `make info', if we're
1664 # in fact building texinfo.
1665 do-info: maybe-all-texinfo
1667 install-info: do-install-info dir.info
1668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1669 if [ -f dir.info ] ; then \
1670 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1671 else true ; fi
1673 local-clean:
1674 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1676 local-distclean:
1677 -rm -f Makefile config.status config.cache mh-frag mt-frag
1678 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1679 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1680 rm -rf $(TARGET_SUBDIR); \
1681 else true; fi
1682 -rm -rf $(BUILD_SUBDIR)
1683 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1684 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1685 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1686 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1687 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1689 local-maintainer-clean:
1690 @echo "This command is intended for maintainers to use;"
1691 @echo "it deletes files that may require special tools to rebuild."
1693 clean: do-clean local-clean
1694 mostlyclean: do-mostlyclean local-clean
1695 distclean: do-distclean local-clean local-distclean
1696 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1697 maintainer-clean: local-distclean
1698 realclean: maintainer-clean
1700 # Extra dependency for clean-target, owing to the mixed nature of gcc
1701 clean-target: clean-target-libgcc
1702 clean-target-libgcc:
1703 test ! -d gcc/libgcc || \
1704 (cd gcc/libgcc && find . -type d -print) | \
1705 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1706 -rm -rf gcc/libgcc
1708 # Check target.
1710 .PHONY: check do-check
1711 check: do-check
1713 # Only include modules actually being configured and built.
1714 do-check: maybe-check-gcc \
1715 maybe-check-ash \
1716 maybe-check-autoconf \
1717 maybe-check-automake \
1718 maybe-check-bash \
1719 maybe-check-bfd \
1720 maybe-check-opcodes \
1721 maybe-check-binutils \
1722 maybe-check-bison \
1723 maybe-check-byacc \
1724 maybe-check-bzip2 \
1725 maybe-check-dejagnu \
1726 maybe-check-diff \
1727 maybe-check-dosutils \
1728 maybe-check-etc \
1729 maybe-check-fastjar \
1730 maybe-check-fileutils \
1731 maybe-check-findutils \
1732 maybe-check-find \
1733 maybe-check-flex \
1734 maybe-check-gas \
1735 maybe-check-gawk \
1736 maybe-check-gettext \
1737 maybe-check-gnuserv \
1738 maybe-check-gprof \
1739 maybe-check-gzip \
1740 maybe-check-hello \
1741 maybe-check-indent \
1742 maybe-check-intl \
1743 maybe-check-tcl \
1744 maybe-check-itcl \
1745 maybe-check-ld \
1746 maybe-check-libcpp \
1747 maybe-check-libgui \
1748 maybe-check-libbanshee \
1749 maybe-check-libiberty \
1750 maybe-check-libtool \
1751 maybe-check-m4 \
1752 maybe-check-make \
1753 maybe-check-mmalloc \
1754 maybe-check-patch \
1755 maybe-check-perl \
1756 maybe-check-prms \
1757 maybe-check-rcs \
1758 maybe-check-readline \
1759 maybe-check-release \
1760 maybe-check-recode \
1761 maybe-check-sed \
1762 maybe-check-send-pr \
1763 maybe-check-shellutils \
1764 maybe-check-sid \
1765 maybe-check-sim \
1766 maybe-check-tar \
1767 maybe-check-texinfo \
1768 maybe-check-textutils \
1769 maybe-check-time \
1770 maybe-check-uudecode \
1771 maybe-check-wdiff \
1772 maybe-check-zip \
1773 maybe-check-zlib \
1774 maybe-check-gdb \
1775 maybe-check-expect \
1776 maybe-check-guile \
1777 maybe-check-tk \
1778 maybe-check-tix \
1779 maybe-check-libtermcap \
1780 maybe-check-utils \
1781 maybe-check-target-libstdc++-v3 \
1782 maybe-check-target-libmudflap \
1783 maybe-check-target-newlib \
1784 maybe-check-target-libgfortran \
1785 maybe-check-target-libobjc \
1786 maybe-check-target-libtermcap \
1787 maybe-check-target-winsup \
1788 maybe-check-target-libgloss \
1789 maybe-check-target-libiberty \
1790 maybe-check-target-gperf \
1791 maybe-check-target-examples \
1792 maybe-check-target-libffi \
1793 maybe-check-target-libjava \
1794 maybe-check-target-zlib \
1795 maybe-check-target-boehm-gc \
1796 maybe-check-target-qthreads \
1797 maybe-check-target-rda \
1798 maybe-check-target-libada
1800 # Automated reporting of test results.
1802 warning.log: build.log
1803 $(srcdir)/contrib/warn_summary build.log > $@
1805 mail-report.log:
1806 if test x'$(BOOT_CFLAGS)' != x''; then \
1807 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1808 fi; \
1809 $(srcdir)/contrib/test_summary -t >$@
1810 chmod +x $@
1811 echo If you really want to send e-mail, run ./$@ now
1813 mail-report-with-warnings.log: warning.log
1814 if test x'$(BOOT_CFLAGS)' != x''; then \
1815 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1816 fi; \
1817 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1818 chmod +x $@
1819 echo If you really want to send e-mail, run ./$@ now
1821 # Installation targets.
1823 .PHONY: install uninstall
1824 install: installdirs install-host install-target
1826 .PHONY: install-host-nogcc
1827 install-host-nogcc: \
1828 maybe-install-ash \
1829 maybe-install-autoconf \
1830 maybe-install-automake \
1831 maybe-install-bash \
1832 maybe-install-bfd \
1833 maybe-install-opcodes \
1834 maybe-install-binutils \
1835 maybe-install-bison \
1836 maybe-install-byacc \
1837 maybe-install-bzip2 \
1838 maybe-install-dejagnu \
1839 maybe-install-diff \
1840 maybe-install-dosutils \
1841 maybe-install-etc \
1842 maybe-install-fastjar \
1843 maybe-install-fileutils \
1844 maybe-install-findutils \
1845 maybe-install-find \
1846 maybe-install-flex \
1847 maybe-install-gas \
1848 maybe-install-gawk \
1849 maybe-install-gettext \
1850 maybe-install-gnuserv \
1851 maybe-install-gprof \
1852 maybe-install-gzip \
1853 maybe-install-hello \
1854 maybe-install-indent \
1855 maybe-install-intl \
1856 maybe-install-tcl \
1857 maybe-install-itcl \
1858 maybe-install-ld \
1859 maybe-install-libcpp \
1860 maybe-install-libgui \
1861 maybe-install-libbanshee \
1862 maybe-install-libiberty \
1863 maybe-install-libtool \
1864 maybe-install-m4 \
1865 maybe-install-make \
1866 maybe-install-mmalloc \
1867 maybe-install-patch \
1868 maybe-install-perl \
1869 maybe-install-prms \
1870 maybe-install-rcs \
1871 maybe-install-readline \
1872 maybe-install-release \
1873 maybe-install-recode \
1874 maybe-install-sed \
1875 maybe-install-send-pr \
1876 maybe-install-shellutils \
1877 maybe-install-sid \
1878 maybe-install-sim \
1879 maybe-install-tar \
1880 maybe-install-texinfo \
1881 maybe-install-textutils \
1882 maybe-install-time \
1883 maybe-install-uudecode \
1884 maybe-install-wdiff \
1885 maybe-install-zip \
1886 maybe-install-zlib \
1887 maybe-install-gdb \
1888 maybe-install-expect \
1889 maybe-install-guile \
1890 maybe-install-tk \
1891 maybe-install-tix \
1892 maybe-install-libtermcap \
1893 maybe-install-utils
1895 .PHONY: install-host
1896 install-host: maybe-install-gcc \
1897 maybe-install-ash \
1898 maybe-install-autoconf \
1899 maybe-install-automake \
1900 maybe-install-bash \
1901 maybe-install-bfd \
1902 maybe-install-opcodes \
1903 maybe-install-binutils \
1904 maybe-install-bison \
1905 maybe-install-byacc \
1906 maybe-install-bzip2 \
1907 maybe-install-dejagnu \
1908 maybe-install-diff \
1909 maybe-install-dosutils \
1910 maybe-install-etc \
1911 maybe-install-fastjar \
1912 maybe-install-fileutils \
1913 maybe-install-findutils \
1914 maybe-install-find \
1915 maybe-install-flex \
1916 maybe-install-gas \
1917 maybe-install-gawk \
1918 maybe-install-gettext \
1919 maybe-install-gnuserv \
1920 maybe-install-gprof \
1921 maybe-install-gzip \
1922 maybe-install-hello \
1923 maybe-install-indent \
1924 maybe-install-intl \
1925 maybe-install-tcl \
1926 maybe-install-itcl \
1927 maybe-install-ld \
1928 maybe-install-libcpp \
1929 maybe-install-libgui \
1930 maybe-install-libbanshee \
1931 maybe-install-libiberty \
1932 maybe-install-libtool \
1933 maybe-install-m4 \
1934 maybe-install-make \
1935 maybe-install-mmalloc \
1936 maybe-install-patch \
1937 maybe-install-perl \
1938 maybe-install-prms \
1939 maybe-install-rcs \
1940 maybe-install-readline \
1941 maybe-install-release \
1942 maybe-install-recode \
1943 maybe-install-sed \
1944 maybe-install-send-pr \
1945 maybe-install-shellutils \
1946 maybe-install-sid \
1947 maybe-install-sim \
1948 maybe-install-tar \
1949 maybe-install-texinfo \
1950 maybe-install-textutils \
1951 maybe-install-time \
1952 maybe-install-uudecode \
1953 maybe-install-wdiff \
1954 maybe-install-zip \
1955 maybe-install-zlib \
1956 maybe-install-gdb \
1957 maybe-install-expect \
1958 maybe-install-guile \
1959 maybe-install-tk \
1960 maybe-install-tix \
1961 maybe-install-libtermcap \
1962 maybe-install-utils
1964 .PHONY: install-target
1965 install-target: \
1966 maybe-install-target-libstdc++-v3 \
1967 maybe-install-target-libmudflap \
1968 maybe-install-target-newlib \
1969 maybe-install-target-libgfortran \
1970 maybe-install-target-libobjc \
1971 maybe-install-target-libtermcap \
1972 maybe-install-target-winsup \
1973 maybe-install-target-libgloss \
1974 maybe-install-target-libiberty \
1975 maybe-install-target-gperf \
1976 maybe-install-target-examples \
1977 maybe-install-target-libffi \
1978 maybe-install-target-libjava \
1979 maybe-install-target-zlib \
1980 maybe-install-target-boehm-gc \
1981 maybe-install-target-qthreads \
1982 maybe-install-target-rda \
1983 maybe-install-target-libada
1985 uninstall:
1986 @echo "the uninstall target is not supported in this tree"
1988 .PHONY: install.all
1989 install.all: install-no-fixedincludes
1990 @if [ -f ./gcc/Makefile ] ; then \
1991 r=`${PWD_COMMAND}` ; export r ; \
1992 $(SET_LIB_PATH) \
1993 $(GCC_HOST_EXPORTS) \
1994 (cd ./gcc && \
1995 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1996 else \
1997 true ; \
2000 # install-no-fixedincludes is used because Cygnus can not distribute
2001 # the fixed header files.
2002 .PHONY: install-no-fixedincludes
2003 install-no-fixedincludes: installdirs install-host-nogcc \
2004 install-target gcc-no-fixedincludes
2006 ### other supporting targets
2008 MAKEDIRS= \
2009 $(DESTDIR)$(prefix) \
2010 $(DESTDIR)$(exec_prefix)
2011 .PHONY: installdirs
2012 installdirs: mkinstalldirs
2013 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2015 dir.info: do-install-info
2016 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2017 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2018 mv -f dir.info.new dir.info ; \
2019 else true ; \
2022 dist:
2023 @echo "Building a full distribution of this tree isn't done"
2024 @echo "via 'make dist'. Check out the etc/ subdirectory"
2026 etags tags: TAGS
2028 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2029 # ability to use several tags files at once, so there is probably no need
2030 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2031 # (if we felt like it) have this Makefile write a piece of elisp which
2032 # the user could load to tell emacs19 where all the TAGS files we just
2033 # built are.
2034 TAGS: do-TAGS
2036 # --------------------------------------
2037 # Modules which run on the build machine
2038 # --------------------------------------
2040 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2041 maybe-configure-build-libiberty:
2042 @if build-libiberty
2043 maybe-configure-build-libiberty: configure-build-libiberty
2044 configure-build-libiberty:
2045 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2046 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2047 r=`${PWD_COMMAND}`; export r; \
2048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2049 $(BUILD_EXPORTS) \
2050 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2051 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2052 case $(srcdir) in \
2053 /* | [A-Za-z]:[\\/]*) \
2054 topdir=$(srcdir) ;; \
2055 *) \
2056 case "$(BUILD_SUBDIR)" in \
2057 .) topdir="../$(srcdir)" ;; \
2058 *) topdir="../../$(srcdir)" ;; \
2059 esac ;; \
2060 esac; \
2061 if [ "$(srcdir)" = "." ] ; then \
2062 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2063 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2064 if [ -f Makefile ]; then \
2065 if $(MAKE) distclean; then \
2066 true; \
2067 else \
2068 exit 1; \
2069 fi; \
2070 else \
2071 true; \
2072 fi; \
2073 else \
2074 exit 1; \
2075 fi; \
2076 else \
2077 true; \
2078 fi; \
2079 srcdiroption="--srcdir=."; \
2080 libsrcdir="."; \
2081 else \
2082 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2083 libsrcdir="$$s/libiberty"; \
2084 fi; \
2085 rm -f no-such-file || : ; \
2086 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2087 $(BUILD_CONFIGARGS) $${srcdiroption} \
2088 --with-build-subdir="$(BUILD_SUBDIR)" \
2089 || exit 1
2090 @endif build-libiberty
2092 .PHONY: all-build-libiberty maybe-all-build-libiberty
2093 maybe-all-build-libiberty:
2094 @if build-libiberty
2095 maybe-all-build-libiberty: all-build-libiberty
2096 all-build-libiberty: configure-build-libiberty
2097 @r=`${PWD_COMMAND}`; export r; \
2098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2099 $(BUILD_EXPORTS) \
2100 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2101 @endif build-libiberty
2103 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2104 maybe-configure-build-libbanshee:
2105 @if build-libbanshee
2106 maybe-configure-build-libbanshee: configure-build-libbanshee
2107 configure-build-libbanshee:
2108 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2109 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2110 r=`${PWD_COMMAND}`; export r; \
2111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2112 $(BUILD_EXPORTS) \
2113 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2114 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2115 case $(srcdir) in \
2116 /* | [A-Za-z]:[\\/]*) \
2117 topdir=$(srcdir) ;; \
2118 *) \
2119 case "$(BUILD_SUBDIR)" in \
2120 .) topdir="../$(srcdir)" ;; \
2121 *) topdir="../../$(srcdir)" ;; \
2122 esac ;; \
2123 esac; \
2124 if [ "$(srcdir)" = "." ] ; then \
2125 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2126 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2127 if [ -f Makefile ]; then \
2128 if $(MAKE) distclean; then \
2129 true; \
2130 else \
2131 exit 1; \
2132 fi; \
2133 else \
2134 true; \
2135 fi; \
2136 else \
2137 exit 1; \
2138 fi; \
2139 else \
2140 true; \
2141 fi; \
2142 srcdiroption="--srcdir=."; \
2143 libsrcdir="."; \
2144 else \
2145 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2146 libsrcdir="$$s/libbanshee"; \
2147 fi; \
2148 rm -f no-such-file || : ; \
2149 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2150 $(BUILD_CONFIGARGS) $${srcdiroption} \
2151 --with-build-subdir="$(BUILD_SUBDIR)" \
2152 || exit 1
2153 @endif build-libbanshee
2155 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2156 maybe-all-build-libbanshee:
2157 @if build-libbanshee
2158 maybe-all-build-libbanshee: all-build-libbanshee
2159 all-build-libbanshee: configure-build-libbanshee
2160 @r=`${PWD_COMMAND}`; export r; \
2161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2162 $(BUILD_EXPORTS) \
2163 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2164 @endif build-libbanshee
2167 # --------------------------------------
2168 # Modules which run on the host machine
2169 # --------------------------------------
2171 .PHONY: configure-ash maybe-configure-ash
2172 maybe-configure-ash:
2173 @if ash
2174 maybe-configure-ash: configure-ash
2175 configure-ash:
2176 @test ! -f ash/Makefile || exit 0; \
2177 [ -d ash ] || mkdir ash; \
2178 r=`${PWD_COMMAND}`; export r; \
2179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2180 $(HOST_EXPORTS) \
2181 echo Configuring in ash; \
2182 cd ash || exit 1; \
2183 case $(srcdir) in \
2184 \.) \
2185 srcdiroption="--srcdir=."; \
2186 libsrcdir=".";; \
2187 /* | [A-Za-z]:[\\/]*) \
2188 srcdiroption="--srcdir=$(srcdir)/ash"; \
2189 libsrcdir="$$s/ash";; \
2190 *) \
2191 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2192 libsrcdir="$$s/ash";; \
2193 esac; \
2194 $(SHELL) $${libsrcdir}/configure \
2195 $(HOST_CONFIGARGS) $${srcdiroption} \
2196 || exit 1
2197 @endif ash
2199 .PHONY: all-ash maybe-all-ash
2200 maybe-all-ash:
2201 @if ash
2202 maybe-all-ash: all-ash
2203 all-ash: configure-ash
2204 @r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2206 $(SET_LIB_PATH) \
2207 $(HOST_EXPORTS) \
2208 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2209 @endif ash
2211 .PHONY: check-ash maybe-check-ash
2212 maybe-check-ash:
2213 @if ash
2214 maybe-check-ash: check-ash
2216 check-ash:
2217 @r=`${PWD_COMMAND}`; export r; \
2218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2219 $(SET_LIB_PATH) \
2220 $(HOST_EXPORTS) \
2221 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2223 @endif ash
2225 .PHONY: install-ash maybe-install-ash
2226 maybe-install-ash:
2227 @if ash
2228 maybe-install-ash: install-ash
2230 install-ash: installdirs
2231 @r=`${PWD_COMMAND}`; export r; \
2232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2233 $(SET_LIB_PATH) \
2234 $(HOST_EXPORTS) \
2235 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2237 @endif ash
2239 # Other targets (info, dvi, etc.)
2241 .PHONY: maybe-info-ash info-ash
2242 maybe-info-ash:
2243 @if ash
2244 maybe-info-ash: info-ash
2246 info-ash: \
2247 configure-ash
2248 @[ -f ./ash/Makefile ] || exit 0; \
2249 r=`${PWD_COMMAND}`; export r; \
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2251 $(SET_LIB_PATH) \
2252 $(HOST_EXPORTS) \
2253 for flag in $(EXTRA_HOST_FLAGS); do \
2254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2255 done; \
2256 echo "Doing info in ash" ; \
2257 (cd ash && \
2258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2260 "RANLIB=$${RANLIB}" \
2261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2262 info) \
2263 || exit 1
2265 @endif ash
2267 .PHONY: maybe-dvi-ash dvi-ash
2268 maybe-dvi-ash:
2269 @if ash
2270 maybe-dvi-ash: dvi-ash
2272 dvi-ash: \
2273 configure-ash
2274 @[ -f ./ash/Makefile ] || exit 0; \
2275 r=`${PWD_COMMAND}`; export r; \
2276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2277 $(SET_LIB_PATH) \
2278 $(HOST_EXPORTS) \
2279 for flag in $(EXTRA_HOST_FLAGS); do \
2280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2281 done; \
2282 echo "Doing dvi in ash" ; \
2283 (cd ash && \
2284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2286 "RANLIB=$${RANLIB}" \
2287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2288 dvi) \
2289 || exit 1
2291 @endif ash
2293 .PHONY: maybe-TAGS-ash TAGS-ash
2294 maybe-TAGS-ash:
2295 @if ash
2296 maybe-TAGS-ash: TAGS-ash
2298 TAGS-ash: \
2299 configure-ash
2300 @[ -f ./ash/Makefile ] || exit 0; \
2301 r=`${PWD_COMMAND}`; export r; \
2302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2303 $(SET_LIB_PATH) \
2304 $(HOST_EXPORTS) \
2305 for flag in $(EXTRA_HOST_FLAGS); do \
2306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2307 done; \
2308 echo "Doing TAGS in ash" ; \
2309 (cd ash && \
2310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2312 "RANLIB=$${RANLIB}" \
2313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2314 TAGS) \
2315 || exit 1
2317 @endif ash
2319 .PHONY: maybe-install-info-ash install-info-ash
2320 maybe-install-info-ash:
2321 @if ash
2322 maybe-install-info-ash: install-info-ash
2324 install-info-ash: \
2325 configure-ash \
2326 info-ash
2327 @[ -f ./ash/Makefile ] || exit 0; \
2328 r=`${PWD_COMMAND}`; export r; \
2329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 $(SET_LIB_PATH) \
2331 $(HOST_EXPORTS) \
2332 for flag in $(EXTRA_HOST_FLAGS); do \
2333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2334 done; \
2335 echo "Doing install-info in ash" ; \
2336 (cd ash && \
2337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2339 "RANLIB=$${RANLIB}" \
2340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2341 install-info) \
2342 || exit 1
2344 @endif ash
2346 .PHONY: maybe-installcheck-ash installcheck-ash
2347 maybe-installcheck-ash:
2348 @if ash
2349 maybe-installcheck-ash: installcheck-ash
2351 installcheck-ash: \
2352 configure-ash
2353 @[ -f ./ash/Makefile ] || exit 0; \
2354 r=`${PWD_COMMAND}`; export r; \
2355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2356 $(SET_LIB_PATH) \
2357 $(HOST_EXPORTS) \
2358 for flag in $(EXTRA_HOST_FLAGS); do \
2359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2360 done; \
2361 echo "Doing installcheck in ash" ; \
2362 (cd ash && \
2363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2365 "RANLIB=$${RANLIB}" \
2366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2367 installcheck) \
2368 || exit 1
2370 @endif ash
2372 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2373 maybe-mostlyclean-ash:
2374 @if ash
2375 maybe-mostlyclean-ash: mostlyclean-ash
2377 mostlyclean-ash:
2378 @[ -f ./ash/Makefile ] || exit 0; \
2379 r=`${PWD_COMMAND}`; export r; \
2380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2381 $(SET_LIB_PATH) \
2382 $(HOST_EXPORTS) \
2383 for flag in $(EXTRA_HOST_FLAGS); do \
2384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2385 done; \
2386 echo "Doing mostlyclean in ash" ; \
2387 (cd ash && \
2388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2390 "RANLIB=$${RANLIB}" \
2391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2392 mostlyclean) \
2393 || exit 1
2395 @endif ash
2397 .PHONY: maybe-clean-ash clean-ash
2398 maybe-clean-ash:
2399 @if ash
2400 maybe-clean-ash: clean-ash
2402 clean-ash:
2403 @[ -f ./ash/Makefile ] || exit 0; \
2404 r=`${PWD_COMMAND}`; export r; \
2405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2406 $(SET_LIB_PATH) \
2407 $(HOST_EXPORTS) \
2408 for flag in $(EXTRA_HOST_FLAGS); do \
2409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2410 done; \
2411 echo "Doing clean in ash" ; \
2412 (cd ash && \
2413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2415 "RANLIB=$${RANLIB}" \
2416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2417 clean) \
2418 || exit 1
2420 @endif ash
2422 .PHONY: maybe-distclean-ash distclean-ash
2423 maybe-distclean-ash:
2424 @if ash
2425 maybe-distclean-ash: distclean-ash
2427 distclean-ash:
2428 @[ -f ./ash/Makefile ] || exit 0; \
2429 r=`${PWD_COMMAND}`; export r; \
2430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2431 $(SET_LIB_PATH) \
2432 $(HOST_EXPORTS) \
2433 for flag in $(EXTRA_HOST_FLAGS); do \
2434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2435 done; \
2436 echo "Doing distclean in ash" ; \
2437 (cd ash && \
2438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2440 "RANLIB=$${RANLIB}" \
2441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2442 distclean) \
2443 || exit 1
2445 @endif ash
2447 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2448 maybe-maintainer-clean-ash:
2449 @if ash
2450 maybe-maintainer-clean-ash: maintainer-clean-ash
2452 maintainer-clean-ash:
2453 @[ -f ./ash/Makefile ] || exit 0; \
2454 r=`${PWD_COMMAND}`; export r; \
2455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2456 $(SET_LIB_PATH) \
2457 $(HOST_EXPORTS) \
2458 for flag in $(EXTRA_HOST_FLAGS); do \
2459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2460 done; \
2461 echo "Doing maintainer-clean in ash" ; \
2462 (cd ash && \
2463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2465 "RANLIB=$${RANLIB}" \
2466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2467 maintainer-clean) \
2468 || exit 1
2470 @endif ash
2473 .PHONY: configure-autoconf maybe-configure-autoconf
2474 maybe-configure-autoconf:
2475 @if autoconf
2476 maybe-configure-autoconf: configure-autoconf
2477 configure-autoconf:
2478 @test ! -f autoconf/Makefile || exit 0; \
2479 [ -d autoconf ] || mkdir autoconf; \
2480 r=`${PWD_COMMAND}`; export r; \
2481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2482 $(HOST_EXPORTS) \
2483 echo Configuring in autoconf; \
2484 cd autoconf || exit 1; \
2485 case $(srcdir) in \
2486 \.) \
2487 srcdiroption="--srcdir=."; \
2488 libsrcdir=".";; \
2489 /* | [A-Za-z]:[\\/]*) \
2490 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2491 libsrcdir="$$s/autoconf";; \
2492 *) \
2493 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2494 libsrcdir="$$s/autoconf";; \
2495 esac; \
2496 $(SHELL) $${libsrcdir}/configure \
2497 $(HOST_CONFIGARGS) $${srcdiroption} \
2498 || exit 1
2499 @endif autoconf
2501 .PHONY: all-autoconf maybe-all-autoconf
2502 maybe-all-autoconf:
2503 @if autoconf
2504 maybe-all-autoconf: all-autoconf
2505 all-autoconf: configure-autoconf
2506 @r=`${PWD_COMMAND}`; export r; \
2507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2508 $(SET_LIB_PATH) \
2509 $(HOST_EXPORTS) \
2510 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2511 @endif autoconf
2513 .PHONY: check-autoconf maybe-check-autoconf
2514 maybe-check-autoconf:
2515 @if autoconf
2516 maybe-check-autoconf: check-autoconf
2518 check-autoconf:
2519 @r=`${PWD_COMMAND}`; export r; \
2520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2521 $(SET_LIB_PATH) \
2522 $(HOST_EXPORTS) \
2523 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2525 @endif autoconf
2527 .PHONY: install-autoconf maybe-install-autoconf
2528 maybe-install-autoconf:
2529 @if autoconf
2530 maybe-install-autoconf: install-autoconf
2532 install-autoconf: installdirs
2533 @r=`${PWD_COMMAND}`; export r; \
2534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2535 $(SET_LIB_PATH) \
2536 $(HOST_EXPORTS) \
2537 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2539 @endif autoconf
2541 # Other targets (info, dvi, etc.)
2543 .PHONY: maybe-info-autoconf info-autoconf
2544 maybe-info-autoconf:
2545 @if autoconf
2546 maybe-info-autoconf: info-autoconf
2548 info-autoconf: \
2549 configure-autoconf
2550 @[ -f ./autoconf/Makefile ] || exit 0; \
2551 r=`${PWD_COMMAND}`; export r; \
2552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2553 $(SET_LIB_PATH) \
2554 $(HOST_EXPORTS) \
2555 for flag in $(EXTRA_HOST_FLAGS); do \
2556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2557 done; \
2558 echo "Doing info in autoconf" ; \
2559 (cd autoconf && \
2560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2562 "RANLIB=$${RANLIB}" \
2563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2564 info) \
2565 || exit 1
2567 @endif autoconf
2569 .PHONY: maybe-dvi-autoconf dvi-autoconf
2570 maybe-dvi-autoconf:
2571 @if autoconf
2572 maybe-dvi-autoconf: dvi-autoconf
2574 dvi-autoconf: \
2575 configure-autoconf
2576 @[ -f ./autoconf/Makefile ] || exit 0; \
2577 r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(SET_LIB_PATH) \
2580 $(HOST_EXPORTS) \
2581 for flag in $(EXTRA_HOST_FLAGS); do \
2582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2583 done; \
2584 echo "Doing dvi in autoconf" ; \
2585 (cd autoconf && \
2586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2588 "RANLIB=$${RANLIB}" \
2589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2590 dvi) \
2591 || exit 1
2593 @endif autoconf
2595 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2596 maybe-TAGS-autoconf:
2597 @if autoconf
2598 maybe-TAGS-autoconf: TAGS-autoconf
2600 TAGS-autoconf: \
2601 configure-autoconf
2602 @[ -f ./autoconf/Makefile ] || exit 0; \
2603 r=`${PWD_COMMAND}`; export r; \
2604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2605 $(SET_LIB_PATH) \
2606 $(HOST_EXPORTS) \
2607 for flag in $(EXTRA_HOST_FLAGS); do \
2608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2609 done; \
2610 echo "Doing TAGS in autoconf" ; \
2611 (cd autoconf && \
2612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2614 "RANLIB=$${RANLIB}" \
2615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2616 TAGS) \
2617 || exit 1
2619 @endif autoconf
2621 .PHONY: maybe-install-info-autoconf install-info-autoconf
2622 maybe-install-info-autoconf:
2623 @if autoconf
2624 maybe-install-info-autoconf: install-info-autoconf
2626 install-info-autoconf: \
2627 configure-autoconf \
2628 info-autoconf
2629 @[ -f ./autoconf/Makefile ] || exit 0; \
2630 r=`${PWD_COMMAND}`; export r; \
2631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2632 $(SET_LIB_PATH) \
2633 $(HOST_EXPORTS) \
2634 for flag in $(EXTRA_HOST_FLAGS); do \
2635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2636 done; \
2637 echo "Doing install-info in autoconf" ; \
2638 (cd autoconf && \
2639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2641 "RANLIB=$${RANLIB}" \
2642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2643 install-info) \
2644 || exit 1
2646 @endif autoconf
2648 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2649 maybe-installcheck-autoconf:
2650 @if autoconf
2651 maybe-installcheck-autoconf: installcheck-autoconf
2653 installcheck-autoconf: \
2654 configure-autoconf
2655 @[ -f ./autoconf/Makefile ] || exit 0; \
2656 r=`${PWD_COMMAND}`; export r; \
2657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 $(SET_LIB_PATH) \
2659 $(HOST_EXPORTS) \
2660 for flag in $(EXTRA_HOST_FLAGS); do \
2661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2662 done; \
2663 echo "Doing installcheck in autoconf" ; \
2664 (cd autoconf && \
2665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2667 "RANLIB=$${RANLIB}" \
2668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2669 installcheck) \
2670 || exit 1
2672 @endif autoconf
2674 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2675 maybe-mostlyclean-autoconf:
2676 @if autoconf
2677 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2679 mostlyclean-autoconf:
2680 @[ -f ./autoconf/Makefile ] || exit 0; \
2681 r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 $(SET_LIB_PATH) \
2684 $(HOST_EXPORTS) \
2685 for flag in $(EXTRA_HOST_FLAGS); do \
2686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2687 done; \
2688 echo "Doing mostlyclean in autoconf" ; \
2689 (cd autoconf && \
2690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2692 "RANLIB=$${RANLIB}" \
2693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2694 mostlyclean) \
2695 || exit 1
2697 @endif autoconf
2699 .PHONY: maybe-clean-autoconf clean-autoconf
2700 maybe-clean-autoconf:
2701 @if autoconf
2702 maybe-clean-autoconf: clean-autoconf
2704 clean-autoconf:
2705 @[ -f ./autoconf/Makefile ] || exit 0; \
2706 r=`${PWD_COMMAND}`; export r; \
2707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2708 $(SET_LIB_PATH) \
2709 $(HOST_EXPORTS) \
2710 for flag in $(EXTRA_HOST_FLAGS); do \
2711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2712 done; \
2713 echo "Doing clean in autoconf" ; \
2714 (cd autoconf && \
2715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2717 "RANLIB=$${RANLIB}" \
2718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2719 clean) \
2720 || exit 1
2722 @endif autoconf
2724 .PHONY: maybe-distclean-autoconf distclean-autoconf
2725 maybe-distclean-autoconf:
2726 @if autoconf
2727 maybe-distclean-autoconf: distclean-autoconf
2729 distclean-autoconf:
2730 @[ -f ./autoconf/Makefile ] || exit 0; \
2731 r=`${PWD_COMMAND}`; export r; \
2732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2733 $(SET_LIB_PATH) \
2734 $(HOST_EXPORTS) \
2735 for flag in $(EXTRA_HOST_FLAGS); do \
2736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2737 done; \
2738 echo "Doing distclean in autoconf" ; \
2739 (cd autoconf && \
2740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2742 "RANLIB=$${RANLIB}" \
2743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2744 distclean) \
2745 || exit 1
2747 @endif autoconf
2749 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2750 maybe-maintainer-clean-autoconf:
2751 @if autoconf
2752 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2754 maintainer-clean-autoconf:
2755 @[ -f ./autoconf/Makefile ] || exit 0; \
2756 r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(SET_LIB_PATH) \
2759 $(HOST_EXPORTS) \
2760 for flag in $(EXTRA_HOST_FLAGS); do \
2761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2762 done; \
2763 echo "Doing maintainer-clean in autoconf" ; \
2764 (cd autoconf && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2767 "RANLIB=$${RANLIB}" \
2768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2769 maintainer-clean) \
2770 || exit 1
2772 @endif autoconf
2775 .PHONY: configure-automake maybe-configure-automake
2776 maybe-configure-automake:
2777 @if automake
2778 maybe-configure-automake: configure-automake
2779 configure-automake:
2780 @test ! -f automake/Makefile || exit 0; \
2781 [ -d automake ] || mkdir automake; \
2782 r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 $(HOST_EXPORTS) \
2785 echo Configuring in automake; \
2786 cd automake || exit 1; \
2787 case $(srcdir) in \
2788 \.) \
2789 srcdiroption="--srcdir=."; \
2790 libsrcdir=".";; \
2791 /* | [A-Za-z]:[\\/]*) \
2792 srcdiroption="--srcdir=$(srcdir)/automake"; \
2793 libsrcdir="$$s/automake";; \
2794 *) \
2795 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2796 libsrcdir="$$s/automake";; \
2797 esac; \
2798 $(SHELL) $${libsrcdir}/configure \
2799 $(HOST_CONFIGARGS) $${srcdiroption} \
2800 || exit 1
2801 @endif automake
2803 .PHONY: all-automake maybe-all-automake
2804 maybe-all-automake:
2805 @if automake
2806 maybe-all-automake: all-automake
2807 all-automake: configure-automake
2808 @r=`${PWD_COMMAND}`; export r; \
2809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2810 $(SET_LIB_PATH) \
2811 $(HOST_EXPORTS) \
2812 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2813 @endif automake
2815 .PHONY: check-automake maybe-check-automake
2816 maybe-check-automake:
2817 @if automake
2818 maybe-check-automake: check-automake
2820 check-automake:
2821 @r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2823 $(SET_LIB_PATH) \
2824 $(HOST_EXPORTS) \
2825 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2827 @endif automake
2829 .PHONY: install-automake maybe-install-automake
2830 maybe-install-automake:
2831 @if automake
2832 maybe-install-automake: install-automake
2834 install-automake: installdirs
2835 @r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2837 $(SET_LIB_PATH) \
2838 $(HOST_EXPORTS) \
2839 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2841 @endif automake
2843 # Other targets (info, dvi, etc.)
2845 .PHONY: maybe-info-automake info-automake
2846 maybe-info-automake:
2847 @if automake
2848 maybe-info-automake: info-automake
2850 info-automake: \
2851 configure-automake
2852 @[ -f ./automake/Makefile ] || exit 0; \
2853 r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(SET_LIB_PATH) \
2856 $(HOST_EXPORTS) \
2857 for flag in $(EXTRA_HOST_FLAGS); do \
2858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2859 done; \
2860 echo "Doing info in automake" ; \
2861 (cd automake && \
2862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2864 "RANLIB=$${RANLIB}" \
2865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2866 info) \
2867 || exit 1
2869 @endif automake
2871 .PHONY: maybe-dvi-automake dvi-automake
2872 maybe-dvi-automake:
2873 @if automake
2874 maybe-dvi-automake: dvi-automake
2876 dvi-automake: \
2877 configure-automake
2878 @[ -f ./automake/Makefile ] || exit 0; \
2879 r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(SET_LIB_PATH) \
2882 $(HOST_EXPORTS) \
2883 for flag in $(EXTRA_HOST_FLAGS); do \
2884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2885 done; \
2886 echo "Doing dvi in automake" ; \
2887 (cd automake && \
2888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2890 "RANLIB=$${RANLIB}" \
2891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2892 dvi) \
2893 || exit 1
2895 @endif automake
2897 .PHONY: maybe-TAGS-automake TAGS-automake
2898 maybe-TAGS-automake:
2899 @if automake
2900 maybe-TAGS-automake: TAGS-automake
2902 TAGS-automake: \
2903 configure-automake
2904 @[ -f ./automake/Makefile ] || exit 0; \
2905 r=`${PWD_COMMAND}`; export r; \
2906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2907 $(SET_LIB_PATH) \
2908 $(HOST_EXPORTS) \
2909 for flag in $(EXTRA_HOST_FLAGS); do \
2910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2911 done; \
2912 echo "Doing TAGS in automake" ; \
2913 (cd automake && \
2914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2916 "RANLIB=$${RANLIB}" \
2917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2918 TAGS) \
2919 || exit 1
2921 @endif automake
2923 .PHONY: maybe-install-info-automake install-info-automake
2924 maybe-install-info-automake:
2925 @if automake
2926 maybe-install-info-automake: install-info-automake
2928 install-info-automake: \
2929 configure-automake \
2930 info-automake
2931 @[ -f ./automake/Makefile ] || exit 0; \
2932 r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(SET_LIB_PATH) \
2935 $(HOST_EXPORTS) \
2936 for flag in $(EXTRA_HOST_FLAGS); do \
2937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2938 done; \
2939 echo "Doing install-info in automake" ; \
2940 (cd automake && \
2941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2943 "RANLIB=$${RANLIB}" \
2944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2945 install-info) \
2946 || exit 1
2948 @endif automake
2950 .PHONY: maybe-installcheck-automake installcheck-automake
2951 maybe-installcheck-automake:
2952 @if automake
2953 maybe-installcheck-automake: installcheck-automake
2955 installcheck-automake: \
2956 configure-automake
2957 @[ -f ./automake/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(SET_LIB_PATH) \
2961 $(HOST_EXPORTS) \
2962 for flag in $(EXTRA_HOST_FLAGS); do \
2963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2964 done; \
2965 echo "Doing installcheck in automake" ; \
2966 (cd automake && \
2967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2969 "RANLIB=$${RANLIB}" \
2970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2971 installcheck) \
2972 || exit 1
2974 @endif automake
2976 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2977 maybe-mostlyclean-automake:
2978 @if automake
2979 maybe-mostlyclean-automake: mostlyclean-automake
2981 mostlyclean-automake:
2982 @[ -f ./automake/Makefile ] || exit 0; \
2983 r=`${PWD_COMMAND}`; export r; \
2984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2985 $(SET_LIB_PATH) \
2986 $(HOST_EXPORTS) \
2987 for flag in $(EXTRA_HOST_FLAGS); do \
2988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2989 done; \
2990 echo "Doing mostlyclean in automake" ; \
2991 (cd automake && \
2992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2994 "RANLIB=$${RANLIB}" \
2995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2996 mostlyclean) \
2997 || exit 1
2999 @endif automake
3001 .PHONY: maybe-clean-automake clean-automake
3002 maybe-clean-automake:
3003 @if automake
3004 maybe-clean-automake: clean-automake
3006 clean-automake:
3007 @[ -f ./automake/Makefile ] || exit 0; \
3008 r=`${PWD_COMMAND}`; export r; \
3009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3010 $(SET_LIB_PATH) \
3011 $(HOST_EXPORTS) \
3012 for flag in $(EXTRA_HOST_FLAGS); do \
3013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3014 done; \
3015 echo "Doing clean in automake" ; \
3016 (cd automake && \
3017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3019 "RANLIB=$${RANLIB}" \
3020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3021 clean) \
3022 || exit 1
3024 @endif automake
3026 .PHONY: maybe-distclean-automake distclean-automake
3027 maybe-distclean-automake:
3028 @if automake
3029 maybe-distclean-automake: distclean-automake
3031 distclean-automake:
3032 @[ -f ./automake/Makefile ] || exit 0; \
3033 r=`${PWD_COMMAND}`; export r; \
3034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3035 $(SET_LIB_PATH) \
3036 $(HOST_EXPORTS) \
3037 for flag in $(EXTRA_HOST_FLAGS); do \
3038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3039 done; \
3040 echo "Doing distclean in automake" ; \
3041 (cd automake && \
3042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3044 "RANLIB=$${RANLIB}" \
3045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3046 distclean) \
3047 || exit 1
3049 @endif automake
3051 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3052 maybe-maintainer-clean-automake:
3053 @if automake
3054 maybe-maintainer-clean-automake: maintainer-clean-automake
3056 maintainer-clean-automake:
3057 @[ -f ./automake/Makefile ] || exit 0; \
3058 r=`${PWD_COMMAND}`; export r; \
3059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3060 $(SET_LIB_PATH) \
3061 $(HOST_EXPORTS) \
3062 for flag in $(EXTRA_HOST_FLAGS); do \
3063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3064 done; \
3065 echo "Doing maintainer-clean in automake" ; \
3066 (cd automake && \
3067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3069 "RANLIB=$${RANLIB}" \
3070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3071 maintainer-clean) \
3072 || exit 1
3074 @endif automake
3077 .PHONY: configure-bash maybe-configure-bash
3078 maybe-configure-bash:
3079 @if bash
3080 maybe-configure-bash: configure-bash
3081 configure-bash:
3082 @test ! -f bash/Makefile || exit 0; \
3083 [ -d bash ] || mkdir bash; \
3084 r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3086 $(HOST_EXPORTS) \
3087 echo Configuring in bash; \
3088 cd bash || exit 1; \
3089 case $(srcdir) in \
3090 \.) \
3091 srcdiroption="--srcdir=."; \
3092 libsrcdir=".";; \
3093 /* | [A-Za-z]:[\\/]*) \
3094 srcdiroption="--srcdir=$(srcdir)/bash"; \
3095 libsrcdir="$$s/bash";; \
3096 *) \
3097 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3098 libsrcdir="$$s/bash";; \
3099 esac; \
3100 $(SHELL) $${libsrcdir}/configure \
3101 $(HOST_CONFIGARGS) $${srcdiroption} \
3102 || exit 1
3103 @endif bash
3105 .PHONY: all-bash maybe-all-bash
3106 maybe-all-bash:
3107 @if bash
3108 maybe-all-bash: all-bash
3109 all-bash: configure-bash
3110 @r=`${PWD_COMMAND}`; export r; \
3111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3112 $(SET_LIB_PATH) \
3113 $(HOST_EXPORTS) \
3114 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3115 @endif bash
3117 .PHONY: check-bash maybe-check-bash
3118 maybe-check-bash:
3119 @if bash
3120 maybe-check-bash: check-bash
3122 check-bash:
3123 @r=`${PWD_COMMAND}`; export r; \
3124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3125 $(SET_LIB_PATH) \
3126 $(HOST_EXPORTS) \
3127 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3129 @endif bash
3131 .PHONY: install-bash maybe-install-bash
3132 maybe-install-bash:
3133 @if bash
3134 maybe-install-bash: install-bash
3136 install-bash: installdirs
3137 @r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3139 $(SET_LIB_PATH) \
3140 $(HOST_EXPORTS) \
3141 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3143 @endif bash
3145 # Other targets (info, dvi, etc.)
3147 .PHONY: maybe-info-bash info-bash
3148 maybe-info-bash:
3149 @if bash
3150 maybe-info-bash: info-bash
3152 info-bash: \
3153 configure-bash
3154 @[ -f ./bash/Makefile ] || exit 0; \
3155 r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 $(SET_LIB_PATH) \
3158 $(HOST_EXPORTS) \
3159 for flag in $(EXTRA_HOST_FLAGS); do \
3160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3161 done; \
3162 echo "Doing info in bash" ; \
3163 (cd bash && \
3164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3166 "RANLIB=$${RANLIB}" \
3167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3168 info) \
3169 || exit 1
3171 @endif bash
3173 .PHONY: maybe-dvi-bash dvi-bash
3174 maybe-dvi-bash:
3175 @if bash
3176 maybe-dvi-bash: dvi-bash
3178 dvi-bash: \
3179 configure-bash
3180 @[ -f ./bash/Makefile ] || exit 0; \
3181 r=`${PWD_COMMAND}`; export r; \
3182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 $(SET_LIB_PATH) \
3184 $(HOST_EXPORTS) \
3185 for flag in $(EXTRA_HOST_FLAGS); do \
3186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3187 done; \
3188 echo "Doing dvi in bash" ; \
3189 (cd bash && \
3190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3192 "RANLIB=$${RANLIB}" \
3193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3194 dvi) \
3195 || exit 1
3197 @endif bash
3199 .PHONY: maybe-TAGS-bash TAGS-bash
3200 maybe-TAGS-bash:
3201 @if bash
3202 maybe-TAGS-bash: TAGS-bash
3204 TAGS-bash: \
3205 configure-bash
3206 @[ -f ./bash/Makefile ] || exit 0; \
3207 r=`${PWD_COMMAND}`; export r; \
3208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3209 $(SET_LIB_PATH) \
3210 $(HOST_EXPORTS) \
3211 for flag in $(EXTRA_HOST_FLAGS); do \
3212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3213 done; \
3214 echo "Doing TAGS in bash" ; \
3215 (cd bash && \
3216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3218 "RANLIB=$${RANLIB}" \
3219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3220 TAGS) \
3221 || exit 1
3223 @endif bash
3225 .PHONY: maybe-install-info-bash install-info-bash
3226 maybe-install-info-bash:
3227 @if bash
3228 maybe-install-info-bash: install-info-bash
3230 install-info-bash: \
3231 configure-bash \
3232 info-bash
3233 @[ -f ./bash/Makefile ] || exit 0; \
3234 r=`${PWD_COMMAND}`; export r; \
3235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3236 $(SET_LIB_PATH) \
3237 $(HOST_EXPORTS) \
3238 for flag in $(EXTRA_HOST_FLAGS); do \
3239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3240 done; \
3241 echo "Doing install-info in bash" ; \
3242 (cd bash && \
3243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3245 "RANLIB=$${RANLIB}" \
3246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3247 install-info) \
3248 || exit 1
3250 @endif bash
3252 .PHONY: maybe-installcheck-bash installcheck-bash
3253 maybe-installcheck-bash:
3254 @if bash
3255 maybe-installcheck-bash: installcheck-bash
3257 installcheck-bash: \
3258 configure-bash
3259 @[ -f ./bash/Makefile ] || exit 0; \
3260 r=`${PWD_COMMAND}`; export r; \
3261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3262 $(SET_LIB_PATH) \
3263 $(HOST_EXPORTS) \
3264 for flag in $(EXTRA_HOST_FLAGS); do \
3265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3266 done; \
3267 echo "Doing installcheck in bash" ; \
3268 (cd bash && \
3269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3271 "RANLIB=$${RANLIB}" \
3272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3273 installcheck) \
3274 || exit 1
3276 @endif bash
3278 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3279 maybe-mostlyclean-bash:
3280 @if bash
3281 maybe-mostlyclean-bash: mostlyclean-bash
3283 mostlyclean-bash:
3284 @[ -f ./bash/Makefile ] || exit 0; \
3285 r=`${PWD_COMMAND}`; export r; \
3286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3287 $(SET_LIB_PATH) \
3288 $(HOST_EXPORTS) \
3289 for flag in $(EXTRA_HOST_FLAGS); do \
3290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3291 done; \
3292 echo "Doing mostlyclean in bash" ; \
3293 (cd bash && \
3294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3296 "RANLIB=$${RANLIB}" \
3297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3298 mostlyclean) \
3299 || exit 1
3301 @endif bash
3303 .PHONY: maybe-clean-bash clean-bash
3304 maybe-clean-bash:
3305 @if bash
3306 maybe-clean-bash: clean-bash
3308 clean-bash:
3309 @[ -f ./bash/Makefile ] || exit 0; \
3310 r=`${PWD_COMMAND}`; export r; \
3311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3312 $(SET_LIB_PATH) \
3313 $(HOST_EXPORTS) \
3314 for flag in $(EXTRA_HOST_FLAGS); do \
3315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3316 done; \
3317 echo "Doing clean in bash" ; \
3318 (cd bash && \
3319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3321 "RANLIB=$${RANLIB}" \
3322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3323 clean) \
3324 || exit 1
3326 @endif bash
3328 .PHONY: maybe-distclean-bash distclean-bash
3329 maybe-distclean-bash:
3330 @if bash
3331 maybe-distclean-bash: distclean-bash
3333 distclean-bash:
3334 @[ -f ./bash/Makefile ] || exit 0; \
3335 r=`${PWD_COMMAND}`; export r; \
3336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 $(SET_LIB_PATH) \
3338 $(HOST_EXPORTS) \
3339 for flag in $(EXTRA_HOST_FLAGS); do \
3340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3341 done; \
3342 echo "Doing distclean in bash" ; \
3343 (cd bash && \
3344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3346 "RANLIB=$${RANLIB}" \
3347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3348 distclean) \
3349 || exit 1
3351 @endif bash
3353 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3354 maybe-maintainer-clean-bash:
3355 @if bash
3356 maybe-maintainer-clean-bash: maintainer-clean-bash
3358 maintainer-clean-bash:
3359 @[ -f ./bash/Makefile ] || exit 0; \
3360 r=`${PWD_COMMAND}`; export r; \
3361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3362 $(SET_LIB_PATH) \
3363 $(HOST_EXPORTS) \
3364 for flag in $(EXTRA_HOST_FLAGS); do \
3365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3366 done; \
3367 echo "Doing maintainer-clean in bash" ; \
3368 (cd bash && \
3369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3371 "RANLIB=$${RANLIB}" \
3372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3373 maintainer-clean) \
3374 || exit 1
3376 @endif bash
3379 .PHONY: configure-bfd maybe-configure-bfd
3380 maybe-configure-bfd:
3381 @if bfd
3382 maybe-configure-bfd: configure-bfd
3383 configure-bfd:
3384 @test ! -f bfd/Makefile || exit 0; \
3385 [ -d bfd ] || mkdir bfd; \
3386 r=`${PWD_COMMAND}`; export r; \
3387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3388 $(HOST_EXPORTS) \
3389 echo Configuring in bfd; \
3390 cd bfd || exit 1; \
3391 case $(srcdir) in \
3392 \.) \
3393 srcdiroption="--srcdir=."; \
3394 libsrcdir=".";; \
3395 /* | [A-Za-z]:[\\/]*) \
3396 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3397 libsrcdir="$$s/bfd";; \
3398 *) \
3399 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3400 libsrcdir="$$s/bfd";; \
3401 esac; \
3402 $(SHELL) $${libsrcdir}/configure \
3403 $(HOST_CONFIGARGS) $${srcdiroption} \
3404 || exit 1
3405 @endif bfd
3407 .PHONY: all-bfd maybe-all-bfd
3408 maybe-all-bfd:
3409 @if bfd
3410 maybe-all-bfd: all-bfd
3411 all-bfd: configure-bfd
3412 @r=`${PWD_COMMAND}`; export r; \
3413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3414 $(SET_LIB_PATH) \
3415 $(HOST_EXPORTS) \
3416 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3417 @endif bfd
3419 .PHONY: check-bfd maybe-check-bfd
3420 maybe-check-bfd:
3421 @if bfd
3422 maybe-check-bfd: check-bfd
3424 check-bfd:
3425 @r=`${PWD_COMMAND}`; export r; \
3426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 $(SET_LIB_PATH) \
3428 $(HOST_EXPORTS) \
3429 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3431 @endif bfd
3433 .PHONY: install-bfd maybe-install-bfd
3434 maybe-install-bfd:
3435 @if bfd
3436 maybe-install-bfd: install-bfd
3438 install-bfd: installdirs
3439 @r=`${PWD_COMMAND}`; export r; \
3440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3441 $(SET_LIB_PATH) \
3442 $(HOST_EXPORTS) \
3443 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3445 @endif bfd
3447 # Other targets (info, dvi, etc.)
3449 .PHONY: maybe-info-bfd info-bfd
3450 maybe-info-bfd:
3451 @if bfd
3452 maybe-info-bfd: info-bfd
3454 info-bfd: \
3455 configure-bfd
3456 @[ -f ./bfd/Makefile ] || exit 0; \
3457 r=`${PWD_COMMAND}`; export r; \
3458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459 $(SET_LIB_PATH) \
3460 $(HOST_EXPORTS) \
3461 for flag in $(EXTRA_HOST_FLAGS); do \
3462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3463 done; \
3464 echo "Doing info in bfd" ; \
3465 (cd bfd && \
3466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3468 "RANLIB=$${RANLIB}" \
3469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3470 info) \
3471 || exit 1
3473 @endif bfd
3475 .PHONY: maybe-dvi-bfd dvi-bfd
3476 maybe-dvi-bfd:
3477 @if bfd
3478 maybe-dvi-bfd: dvi-bfd
3480 dvi-bfd: \
3481 configure-bfd
3482 @[ -f ./bfd/Makefile ] || exit 0; \
3483 r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(SET_LIB_PATH) \
3486 $(HOST_EXPORTS) \
3487 for flag in $(EXTRA_HOST_FLAGS); do \
3488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3489 done; \
3490 echo "Doing dvi in bfd" ; \
3491 (cd bfd && \
3492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3494 "RANLIB=$${RANLIB}" \
3495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3496 dvi) \
3497 || exit 1
3499 @endif bfd
3501 .PHONY: maybe-TAGS-bfd TAGS-bfd
3502 maybe-TAGS-bfd:
3503 @if bfd
3504 maybe-TAGS-bfd: TAGS-bfd
3506 TAGS-bfd: \
3507 configure-bfd
3508 @[ -f ./bfd/Makefile ] || exit 0; \
3509 r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 $(SET_LIB_PATH) \
3512 $(HOST_EXPORTS) \
3513 for flag in $(EXTRA_HOST_FLAGS); do \
3514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3515 done; \
3516 echo "Doing TAGS in bfd" ; \
3517 (cd bfd && \
3518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3520 "RANLIB=$${RANLIB}" \
3521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3522 TAGS) \
3523 || exit 1
3525 @endif bfd
3527 .PHONY: maybe-install-info-bfd install-info-bfd
3528 maybe-install-info-bfd:
3529 @if bfd
3530 maybe-install-info-bfd: install-info-bfd
3532 install-info-bfd: \
3533 configure-bfd \
3534 info-bfd
3535 @[ -f ./bfd/Makefile ] || exit 0; \
3536 r=`${PWD_COMMAND}`; export r; \
3537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3538 $(SET_LIB_PATH) \
3539 $(HOST_EXPORTS) \
3540 for flag in $(EXTRA_HOST_FLAGS); do \
3541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3542 done; \
3543 echo "Doing install-info in bfd" ; \
3544 (cd bfd && \
3545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3547 "RANLIB=$${RANLIB}" \
3548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3549 install-info) \
3550 || exit 1
3552 @endif bfd
3554 .PHONY: maybe-installcheck-bfd installcheck-bfd
3555 maybe-installcheck-bfd:
3556 @if bfd
3557 maybe-installcheck-bfd: installcheck-bfd
3559 installcheck-bfd: \
3560 configure-bfd
3561 @[ -f ./bfd/Makefile ] || exit 0; \
3562 r=`${PWD_COMMAND}`; export r; \
3563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3564 $(SET_LIB_PATH) \
3565 $(HOST_EXPORTS) \
3566 for flag in $(EXTRA_HOST_FLAGS); do \
3567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3568 done; \
3569 echo "Doing installcheck in bfd" ; \
3570 (cd bfd && \
3571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3573 "RANLIB=$${RANLIB}" \
3574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3575 installcheck) \
3576 || exit 1
3578 @endif bfd
3580 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3581 maybe-mostlyclean-bfd:
3582 @if bfd
3583 maybe-mostlyclean-bfd: mostlyclean-bfd
3585 mostlyclean-bfd:
3586 @[ -f ./bfd/Makefile ] || exit 0; \
3587 r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 $(SET_LIB_PATH) \
3590 $(HOST_EXPORTS) \
3591 for flag in $(EXTRA_HOST_FLAGS); do \
3592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3593 done; \
3594 echo "Doing mostlyclean in bfd" ; \
3595 (cd bfd && \
3596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3598 "RANLIB=$${RANLIB}" \
3599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3600 mostlyclean) \
3601 || exit 1
3603 @endif bfd
3605 .PHONY: maybe-clean-bfd clean-bfd
3606 maybe-clean-bfd:
3607 @if bfd
3608 maybe-clean-bfd: clean-bfd
3610 clean-bfd:
3611 @[ -f ./bfd/Makefile ] || exit 0; \
3612 r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3614 $(SET_LIB_PATH) \
3615 $(HOST_EXPORTS) \
3616 for flag in $(EXTRA_HOST_FLAGS); do \
3617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3618 done; \
3619 echo "Doing clean in bfd" ; \
3620 (cd bfd && \
3621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3623 "RANLIB=$${RANLIB}" \
3624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3625 clean) \
3626 || exit 1
3628 @endif bfd
3630 .PHONY: maybe-distclean-bfd distclean-bfd
3631 maybe-distclean-bfd:
3632 @if bfd
3633 maybe-distclean-bfd: distclean-bfd
3635 distclean-bfd:
3636 @[ -f ./bfd/Makefile ] || exit 0; \
3637 r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 $(SET_LIB_PATH) \
3640 $(HOST_EXPORTS) \
3641 for flag in $(EXTRA_HOST_FLAGS); do \
3642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3643 done; \
3644 echo "Doing distclean in bfd" ; \
3645 (cd bfd && \
3646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3648 "RANLIB=$${RANLIB}" \
3649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3650 distclean) \
3651 || exit 1
3653 @endif bfd
3655 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3656 maybe-maintainer-clean-bfd:
3657 @if bfd
3658 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3660 maintainer-clean-bfd:
3661 @[ -f ./bfd/Makefile ] || exit 0; \
3662 r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3664 $(SET_LIB_PATH) \
3665 $(HOST_EXPORTS) \
3666 for flag in $(EXTRA_HOST_FLAGS); do \
3667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3668 done; \
3669 echo "Doing maintainer-clean in bfd" ; \
3670 (cd bfd && \
3671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3673 "RANLIB=$${RANLIB}" \
3674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3675 maintainer-clean) \
3676 || exit 1
3678 @endif bfd
3681 .PHONY: configure-opcodes maybe-configure-opcodes
3682 maybe-configure-opcodes:
3683 @if opcodes
3684 maybe-configure-opcodes: configure-opcodes
3685 configure-opcodes:
3686 @test ! -f opcodes/Makefile || exit 0; \
3687 [ -d opcodes ] || mkdir opcodes; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 $(HOST_EXPORTS) \
3691 echo Configuring in opcodes; \
3692 cd opcodes || exit 1; \
3693 case $(srcdir) in \
3694 \.) \
3695 srcdiroption="--srcdir=."; \
3696 libsrcdir=".";; \
3697 /* | [A-Za-z]:[\\/]*) \
3698 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3699 libsrcdir="$$s/opcodes";; \
3700 *) \
3701 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3702 libsrcdir="$$s/opcodes";; \
3703 esac; \
3704 $(SHELL) $${libsrcdir}/configure \
3705 $(HOST_CONFIGARGS) $${srcdiroption} \
3706 || exit 1
3707 @endif opcodes
3709 .PHONY: all-opcodes maybe-all-opcodes
3710 maybe-all-opcodes:
3711 @if opcodes
3712 maybe-all-opcodes: all-opcodes
3713 all-opcodes: configure-opcodes
3714 @r=`${PWD_COMMAND}`; export r; \
3715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3716 $(SET_LIB_PATH) \
3717 $(HOST_EXPORTS) \
3718 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3719 @endif opcodes
3721 .PHONY: check-opcodes maybe-check-opcodes
3722 maybe-check-opcodes:
3723 @if opcodes
3724 maybe-check-opcodes: check-opcodes
3726 check-opcodes:
3727 @r=`${PWD_COMMAND}`; export r; \
3728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3729 $(SET_LIB_PATH) \
3730 $(HOST_EXPORTS) \
3731 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3733 @endif opcodes
3735 .PHONY: install-opcodes maybe-install-opcodes
3736 maybe-install-opcodes:
3737 @if opcodes
3738 maybe-install-opcodes: install-opcodes
3740 install-opcodes: installdirs
3741 @r=`${PWD_COMMAND}`; export r; \
3742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3743 $(SET_LIB_PATH) \
3744 $(HOST_EXPORTS) \
3745 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3747 @endif opcodes
3749 # Other targets (info, dvi, etc.)
3751 .PHONY: maybe-info-opcodes info-opcodes
3752 maybe-info-opcodes:
3753 @if opcodes
3754 maybe-info-opcodes: info-opcodes
3756 info-opcodes: \
3757 configure-opcodes
3758 @[ -f ./opcodes/Makefile ] || exit 0; \
3759 r=`${PWD_COMMAND}`; export r; \
3760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3761 $(SET_LIB_PATH) \
3762 $(HOST_EXPORTS) \
3763 for flag in $(EXTRA_HOST_FLAGS); do \
3764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765 done; \
3766 echo "Doing info in opcodes" ; \
3767 (cd opcodes && \
3768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3770 "RANLIB=$${RANLIB}" \
3771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3772 info) \
3773 || exit 1
3775 @endif opcodes
3777 .PHONY: maybe-dvi-opcodes dvi-opcodes
3778 maybe-dvi-opcodes:
3779 @if opcodes
3780 maybe-dvi-opcodes: dvi-opcodes
3782 dvi-opcodes: \
3783 configure-opcodes
3784 @[ -f ./opcodes/Makefile ] || exit 0; \
3785 r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(SET_LIB_PATH) \
3788 $(HOST_EXPORTS) \
3789 for flag in $(EXTRA_HOST_FLAGS); do \
3790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3791 done; \
3792 echo "Doing dvi in opcodes" ; \
3793 (cd opcodes && \
3794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3796 "RANLIB=$${RANLIB}" \
3797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3798 dvi) \
3799 || exit 1
3801 @endif opcodes
3803 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3804 maybe-TAGS-opcodes:
3805 @if opcodes
3806 maybe-TAGS-opcodes: TAGS-opcodes
3808 TAGS-opcodes: \
3809 configure-opcodes
3810 @[ -f ./opcodes/Makefile ] || exit 0; \
3811 r=`${PWD_COMMAND}`; export r; \
3812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3813 $(SET_LIB_PATH) \
3814 $(HOST_EXPORTS) \
3815 for flag in $(EXTRA_HOST_FLAGS); do \
3816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3817 done; \
3818 echo "Doing TAGS in opcodes" ; \
3819 (cd opcodes && \
3820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3822 "RANLIB=$${RANLIB}" \
3823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3824 TAGS) \
3825 || exit 1
3827 @endif opcodes
3829 .PHONY: maybe-install-info-opcodes install-info-opcodes
3830 maybe-install-info-opcodes:
3831 @if opcodes
3832 maybe-install-info-opcodes: install-info-opcodes
3834 install-info-opcodes: \
3835 configure-opcodes \
3836 info-opcodes
3837 @[ -f ./opcodes/Makefile ] || exit 0; \
3838 r=`${PWD_COMMAND}`; export r; \
3839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3840 $(SET_LIB_PATH) \
3841 $(HOST_EXPORTS) \
3842 for flag in $(EXTRA_HOST_FLAGS); do \
3843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3844 done; \
3845 echo "Doing install-info in opcodes" ; \
3846 (cd opcodes && \
3847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3849 "RANLIB=$${RANLIB}" \
3850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3851 install-info) \
3852 || exit 1
3854 @endif opcodes
3856 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3857 maybe-installcheck-opcodes:
3858 @if opcodes
3859 maybe-installcheck-opcodes: installcheck-opcodes
3861 installcheck-opcodes: \
3862 configure-opcodes
3863 @[ -f ./opcodes/Makefile ] || exit 0; \
3864 r=`${PWD_COMMAND}`; export r; \
3865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3866 $(SET_LIB_PATH) \
3867 $(HOST_EXPORTS) \
3868 for flag in $(EXTRA_HOST_FLAGS); do \
3869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3870 done; \
3871 echo "Doing installcheck in opcodes" ; \
3872 (cd opcodes && \
3873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3875 "RANLIB=$${RANLIB}" \
3876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3877 installcheck) \
3878 || exit 1
3880 @endif opcodes
3882 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3883 maybe-mostlyclean-opcodes:
3884 @if opcodes
3885 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3887 mostlyclean-opcodes:
3888 @[ -f ./opcodes/Makefile ] || exit 0; \
3889 r=`${PWD_COMMAND}`; export r; \
3890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3891 $(SET_LIB_PATH) \
3892 $(HOST_EXPORTS) \
3893 for flag in $(EXTRA_HOST_FLAGS); do \
3894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3895 done; \
3896 echo "Doing mostlyclean in opcodes" ; \
3897 (cd opcodes && \
3898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3900 "RANLIB=$${RANLIB}" \
3901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3902 mostlyclean) \
3903 || exit 1
3905 @endif opcodes
3907 .PHONY: maybe-clean-opcodes clean-opcodes
3908 maybe-clean-opcodes:
3909 @if opcodes
3910 maybe-clean-opcodes: clean-opcodes
3912 clean-opcodes:
3913 @[ -f ./opcodes/Makefile ] || exit 0; \
3914 r=`${PWD_COMMAND}`; export r; \
3915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3916 $(SET_LIB_PATH) \
3917 $(HOST_EXPORTS) \
3918 for flag in $(EXTRA_HOST_FLAGS); do \
3919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3920 done; \
3921 echo "Doing clean in opcodes" ; \
3922 (cd opcodes && \
3923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3925 "RANLIB=$${RANLIB}" \
3926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3927 clean) \
3928 || exit 1
3930 @endif opcodes
3932 .PHONY: maybe-distclean-opcodes distclean-opcodes
3933 maybe-distclean-opcodes:
3934 @if opcodes
3935 maybe-distclean-opcodes: distclean-opcodes
3937 distclean-opcodes:
3938 @[ -f ./opcodes/Makefile ] || exit 0; \
3939 r=`${PWD_COMMAND}`; export r; \
3940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3941 $(SET_LIB_PATH) \
3942 $(HOST_EXPORTS) \
3943 for flag in $(EXTRA_HOST_FLAGS); do \
3944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3945 done; \
3946 echo "Doing distclean in opcodes" ; \
3947 (cd opcodes && \
3948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3950 "RANLIB=$${RANLIB}" \
3951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3952 distclean) \
3953 || exit 1
3955 @endif opcodes
3957 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3958 maybe-maintainer-clean-opcodes:
3959 @if opcodes
3960 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3962 maintainer-clean-opcodes:
3963 @[ -f ./opcodes/Makefile ] || exit 0; \
3964 r=`${PWD_COMMAND}`; export r; \
3965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3966 $(SET_LIB_PATH) \
3967 $(HOST_EXPORTS) \
3968 for flag in $(EXTRA_HOST_FLAGS); do \
3969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3970 done; \
3971 echo "Doing maintainer-clean in opcodes" ; \
3972 (cd opcodes && \
3973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3975 "RANLIB=$${RANLIB}" \
3976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3977 maintainer-clean) \
3978 || exit 1
3980 @endif opcodes
3983 .PHONY: configure-binutils maybe-configure-binutils
3984 maybe-configure-binutils:
3985 @if binutils
3986 maybe-configure-binutils: configure-binutils
3987 configure-binutils:
3988 @test ! -f binutils/Makefile || exit 0; \
3989 [ -d binutils ] || mkdir binutils; \
3990 r=`${PWD_COMMAND}`; export r; \
3991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3992 $(HOST_EXPORTS) \
3993 echo Configuring in binutils; \
3994 cd binutils || exit 1; \
3995 case $(srcdir) in \
3996 \.) \
3997 srcdiroption="--srcdir=."; \
3998 libsrcdir=".";; \
3999 /* | [A-Za-z]:[\\/]*) \
4000 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4001 libsrcdir="$$s/binutils";; \
4002 *) \
4003 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4004 libsrcdir="$$s/binutils";; \
4005 esac; \
4006 $(SHELL) $${libsrcdir}/configure \
4007 $(HOST_CONFIGARGS) $${srcdiroption} \
4008 || exit 1
4009 @endif binutils
4011 .PHONY: all-binutils maybe-all-binutils
4012 maybe-all-binutils:
4013 @if binutils
4014 maybe-all-binutils: all-binutils
4015 all-binutils: configure-binutils
4016 @r=`${PWD_COMMAND}`; export r; \
4017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4018 $(SET_LIB_PATH) \
4019 $(HOST_EXPORTS) \
4020 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4021 @endif binutils
4023 .PHONY: check-binutils maybe-check-binutils
4024 maybe-check-binutils:
4025 @if binutils
4026 maybe-check-binutils: check-binutils
4028 check-binutils:
4029 @r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031 $(SET_LIB_PATH) \
4032 $(HOST_EXPORTS) \
4033 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4035 @endif binutils
4037 .PHONY: install-binutils maybe-install-binutils
4038 maybe-install-binutils:
4039 @if binutils
4040 maybe-install-binutils: install-binutils
4042 install-binutils: installdirs
4043 @r=`${PWD_COMMAND}`; export r; \
4044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4045 $(SET_LIB_PATH) \
4046 $(HOST_EXPORTS) \
4047 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4049 @endif binutils
4051 # Other targets (info, dvi, etc.)
4053 .PHONY: maybe-info-binutils info-binutils
4054 maybe-info-binutils:
4055 @if binutils
4056 maybe-info-binutils: info-binutils
4058 info-binutils: \
4059 configure-binutils
4060 @[ -f ./binutils/Makefile ] || exit 0; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 $(SET_LIB_PATH) \
4064 $(HOST_EXPORTS) \
4065 for flag in $(EXTRA_HOST_FLAGS); do \
4066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4067 done; \
4068 echo "Doing info in binutils" ; \
4069 (cd binutils && \
4070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4072 "RANLIB=$${RANLIB}" \
4073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4074 info) \
4075 || exit 1
4077 @endif binutils
4079 .PHONY: maybe-dvi-binutils dvi-binutils
4080 maybe-dvi-binutils:
4081 @if binutils
4082 maybe-dvi-binutils: dvi-binutils
4084 dvi-binutils: \
4085 configure-binutils
4086 @[ -f ./binutils/Makefile ] || exit 0; \
4087 r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 $(SET_LIB_PATH) \
4090 $(HOST_EXPORTS) \
4091 for flag in $(EXTRA_HOST_FLAGS); do \
4092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4093 done; \
4094 echo "Doing dvi in binutils" ; \
4095 (cd binutils && \
4096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4098 "RANLIB=$${RANLIB}" \
4099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4100 dvi) \
4101 || exit 1
4103 @endif binutils
4105 .PHONY: maybe-TAGS-binutils TAGS-binutils
4106 maybe-TAGS-binutils:
4107 @if binutils
4108 maybe-TAGS-binutils: TAGS-binutils
4110 TAGS-binutils: \
4111 configure-binutils
4112 @[ -f ./binutils/Makefile ] || exit 0; \
4113 r=`${PWD_COMMAND}`; export r; \
4114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4115 $(SET_LIB_PATH) \
4116 $(HOST_EXPORTS) \
4117 for flag in $(EXTRA_HOST_FLAGS); do \
4118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4119 done; \
4120 echo "Doing TAGS in binutils" ; \
4121 (cd binutils && \
4122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4124 "RANLIB=$${RANLIB}" \
4125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4126 TAGS) \
4127 || exit 1
4129 @endif binutils
4131 .PHONY: maybe-install-info-binutils install-info-binutils
4132 maybe-install-info-binutils:
4133 @if binutils
4134 maybe-install-info-binutils: install-info-binutils
4136 install-info-binutils: \
4137 configure-binutils \
4138 info-binutils
4139 @[ -f ./binutils/Makefile ] || exit 0; \
4140 r=`${PWD_COMMAND}`; export r; \
4141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4142 $(SET_LIB_PATH) \
4143 $(HOST_EXPORTS) \
4144 for flag in $(EXTRA_HOST_FLAGS); do \
4145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4146 done; \
4147 echo "Doing install-info in binutils" ; \
4148 (cd binutils && \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151 "RANLIB=$${RANLIB}" \
4152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4153 install-info) \
4154 || exit 1
4156 @endif binutils
4158 .PHONY: maybe-installcheck-binutils installcheck-binutils
4159 maybe-installcheck-binutils:
4160 @if binutils
4161 maybe-installcheck-binutils: installcheck-binutils
4163 installcheck-binutils: \
4164 configure-binutils
4165 @[ -f ./binutils/Makefile ] || exit 0; \
4166 r=`${PWD_COMMAND}`; export r; \
4167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 $(SET_LIB_PATH) \
4169 $(HOST_EXPORTS) \
4170 for flag in $(EXTRA_HOST_FLAGS); do \
4171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4172 done; \
4173 echo "Doing installcheck in binutils" ; \
4174 (cd binutils && \
4175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4177 "RANLIB=$${RANLIB}" \
4178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4179 installcheck) \
4180 || exit 1
4182 @endif binutils
4184 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4185 maybe-mostlyclean-binutils:
4186 @if binutils
4187 maybe-mostlyclean-binutils: mostlyclean-binutils
4189 mostlyclean-binutils:
4190 @[ -f ./binutils/Makefile ] || exit 0; \
4191 r=`${PWD_COMMAND}`; export r; \
4192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 $(SET_LIB_PATH) \
4194 $(HOST_EXPORTS) \
4195 for flag in $(EXTRA_HOST_FLAGS); do \
4196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4197 done; \
4198 echo "Doing mostlyclean in binutils" ; \
4199 (cd binutils && \
4200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4202 "RANLIB=$${RANLIB}" \
4203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4204 mostlyclean) \
4205 || exit 1
4207 @endif binutils
4209 .PHONY: maybe-clean-binutils clean-binutils
4210 maybe-clean-binutils:
4211 @if binutils
4212 maybe-clean-binutils: clean-binutils
4214 clean-binutils:
4215 @[ -f ./binutils/Makefile ] || exit 0; \
4216 r=`${PWD_COMMAND}`; export r; \
4217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4218 $(SET_LIB_PATH) \
4219 $(HOST_EXPORTS) \
4220 for flag in $(EXTRA_HOST_FLAGS); do \
4221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4222 done; \
4223 echo "Doing clean in binutils" ; \
4224 (cd binutils && \
4225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4227 "RANLIB=$${RANLIB}" \
4228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4229 clean) \
4230 || exit 1
4232 @endif binutils
4234 .PHONY: maybe-distclean-binutils distclean-binutils
4235 maybe-distclean-binutils:
4236 @if binutils
4237 maybe-distclean-binutils: distclean-binutils
4239 distclean-binutils:
4240 @[ -f ./binutils/Makefile ] || exit 0; \
4241 r=`${PWD_COMMAND}`; export r; \
4242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4243 $(SET_LIB_PATH) \
4244 $(HOST_EXPORTS) \
4245 for flag in $(EXTRA_HOST_FLAGS); do \
4246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4247 done; \
4248 echo "Doing distclean in binutils" ; \
4249 (cd binutils && \
4250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4252 "RANLIB=$${RANLIB}" \
4253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4254 distclean) \
4255 || exit 1
4257 @endif binutils
4259 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4260 maybe-maintainer-clean-binutils:
4261 @if binutils
4262 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4264 maintainer-clean-binutils:
4265 @[ -f ./binutils/Makefile ] || exit 0; \
4266 r=`${PWD_COMMAND}`; export r; \
4267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4268 $(SET_LIB_PATH) \
4269 $(HOST_EXPORTS) \
4270 for flag in $(EXTRA_HOST_FLAGS); do \
4271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4272 done; \
4273 echo "Doing maintainer-clean in binutils" ; \
4274 (cd binutils && \
4275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4277 "RANLIB=$${RANLIB}" \
4278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4279 maintainer-clean) \
4280 || exit 1
4282 @endif binutils
4285 .PHONY: configure-bison maybe-configure-bison
4286 maybe-configure-bison:
4287 @if bison
4288 maybe-configure-bison: configure-bison
4289 configure-bison:
4290 @test ! -f bison/Makefile || exit 0; \
4291 [ -d bison ] || mkdir bison; \
4292 r=`${PWD_COMMAND}`; export r; \
4293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4294 $(HOST_EXPORTS) \
4295 echo Configuring in bison; \
4296 cd bison || exit 1; \
4297 case $(srcdir) in \
4298 \.) \
4299 srcdiroption="--srcdir=."; \
4300 libsrcdir=".";; \
4301 /* | [A-Za-z]:[\\/]*) \
4302 srcdiroption="--srcdir=$(srcdir)/bison"; \
4303 libsrcdir="$$s/bison";; \
4304 *) \
4305 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4306 libsrcdir="$$s/bison";; \
4307 esac; \
4308 $(SHELL) $${libsrcdir}/configure \
4309 $(HOST_CONFIGARGS) $${srcdiroption} \
4310 || exit 1
4311 @endif bison
4313 .PHONY: all-bison maybe-all-bison
4314 maybe-all-bison:
4315 @if bison
4316 maybe-all-bison: all-bison
4317 all-bison: configure-bison
4318 @r=`${PWD_COMMAND}`; export r; \
4319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4320 $(SET_LIB_PATH) \
4321 $(HOST_EXPORTS) \
4322 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4323 @endif bison
4325 .PHONY: check-bison maybe-check-bison
4326 maybe-check-bison:
4327 @if bison
4328 maybe-check-bison: check-bison
4330 # This module is only tested in a native toolchain.
4331 check-bison:
4332 @if [ '$(host)' = '$(target)' ] ; then \
4333 r=`${PWD_COMMAND}`; export r; \
4334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4335 $(SET_LIB_PATH) \
4336 $(HOST_EXPORTS) \
4337 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4340 @endif bison
4342 .PHONY: install-bison maybe-install-bison
4343 maybe-install-bison:
4344 @if bison
4345 maybe-install-bison: install-bison
4347 install-bison: installdirs
4348 @r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(SET_LIB_PATH) \
4351 $(HOST_EXPORTS) \
4352 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4354 @endif bison
4356 # Other targets (info, dvi, etc.)
4358 .PHONY: maybe-info-bison info-bison
4359 maybe-info-bison:
4360 @if bison
4361 maybe-info-bison: info-bison
4363 info-bison: \
4364 configure-bison
4365 @[ -f ./bison/Makefile ] || exit 0; \
4366 r=`${PWD_COMMAND}`; export r; \
4367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4368 $(SET_LIB_PATH) \
4369 $(HOST_EXPORTS) \
4370 for flag in $(EXTRA_HOST_FLAGS); do \
4371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4372 done; \
4373 echo "Doing info in bison" ; \
4374 (cd bison && \
4375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4377 "RANLIB=$${RANLIB}" \
4378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4379 info) \
4380 || exit 1
4382 @endif bison
4384 .PHONY: maybe-dvi-bison dvi-bison
4385 maybe-dvi-bison:
4386 @if bison
4387 maybe-dvi-bison: dvi-bison
4389 dvi-bison: \
4390 configure-bison
4391 @[ -f ./bison/Makefile ] || exit 0; \
4392 r=`${PWD_COMMAND}`; export r; \
4393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4394 $(SET_LIB_PATH) \
4395 $(HOST_EXPORTS) \
4396 for flag in $(EXTRA_HOST_FLAGS); do \
4397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4398 done; \
4399 echo "Doing dvi in bison" ; \
4400 (cd bison && \
4401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4403 "RANLIB=$${RANLIB}" \
4404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4405 dvi) \
4406 || exit 1
4408 @endif bison
4410 .PHONY: maybe-TAGS-bison TAGS-bison
4411 maybe-TAGS-bison:
4412 @if bison
4413 maybe-TAGS-bison: TAGS-bison
4415 TAGS-bison: \
4416 configure-bison
4417 @[ -f ./bison/Makefile ] || exit 0; \
4418 r=`${PWD_COMMAND}`; export r; \
4419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4420 $(SET_LIB_PATH) \
4421 $(HOST_EXPORTS) \
4422 for flag in $(EXTRA_HOST_FLAGS); do \
4423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4424 done; \
4425 echo "Doing TAGS in bison" ; \
4426 (cd bison && \
4427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4429 "RANLIB=$${RANLIB}" \
4430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4431 TAGS) \
4432 || exit 1
4434 @endif bison
4436 .PHONY: maybe-install-info-bison install-info-bison
4437 maybe-install-info-bison:
4438 @if bison
4439 maybe-install-info-bison: install-info-bison
4441 install-info-bison: \
4442 configure-bison \
4443 info-bison
4444 @[ -f ./bison/Makefile ] || exit 0; \
4445 r=`${PWD_COMMAND}`; export r; \
4446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4447 $(SET_LIB_PATH) \
4448 $(HOST_EXPORTS) \
4449 for flag in $(EXTRA_HOST_FLAGS); do \
4450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4451 done; \
4452 echo "Doing install-info in bison" ; \
4453 (cd bison && \
4454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4456 "RANLIB=$${RANLIB}" \
4457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4458 install-info) \
4459 || exit 1
4461 @endif bison
4463 .PHONY: maybe-installcheck-bison installcheck-bison
4464 maybe-installcheck-bison:
4465 @if bison
4466 maybe-installcheck-bison: installcheck-bison
4468 installcheck-bison: \
4469 configure-bison
4470 @[ -f ./bison/Makefile ] || exit 0; \
4471 r=`${PWD_COMMAND}`; export r; \
4472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4473 $(SET_LIB_PATH) \
4474 $(HOST_EXPORTS) \
4475 for flag in $(EXTRA_HOST_FLAGS); do \
4476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4477 done; \
4478 echo "Doing installcheck in bison" ; \
4479 (cd bison && \
4480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4482 "RANLIB=$${RANLIB}" \
4483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4484 installcheck) \
4485 || exit 1
4487 @endif bison
4489 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4490 maybe-mostlyclean-bison:
4491 @if bison
4492 maybe-mostlyclean-bison: mostlyclean-bison
4494 mostlyclean-bison:
4495 @[ -f ./bison/Makefile ] || exit 0; \
4496 r=`${PWD_COMMAND}`; export r; \
4497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4498 $(SET_LIB_PATH) \
4499 $(HOST_EXPORTS) \
4500 for flag in $(EXTRA_HOST_FLAGS); do \
4501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4502 done; \
4503 echo "Doing mostlyclean in bison" ; \
4504 (cd bison && \
4505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4507 "RANLIB=$${RANLIB}" \
4508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4509 mostlyclean) \
4510 || exit 1
4512 @endif bison
4514 .PHONY: maybe-clean-bison clean-bison
4515 maybe-clean-bison:
4516 @if bison
4517 maybe-clean-bison: clean-bison
4519 clean-bison:
4520 @[ -f ./bison/Makefile ] || exit 0; \
4521 r=`${PWD_COMMAND}`; export r; \
4522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4523 $(SET_LIB_PATH) \
4524 $(HOST_EXPORTS) \
4525 for flag in $(EXTRA_HOST_FLAGS); do \
4526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4527 done; \
4528 echo "Doing clean in bison" ; \
4529 (cd bison && \
4530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4532 "RANLIB=$${RANLIB}" \
4533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4534 clean) \
4535 || exit 1
4537 @endif bison
4539 .PHONY: maybe-distclean-bison distclean-bison
4540 maybe-distclean-bison:
4541 @if bison
4542 maybe-distclean-bison: distclean-bison
4544 distclean-bison:
4545 @[ -f ./bison/Makefile ] || exit 0; \
4546 r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 $(SET_LIB_PATH) \
4549 $(HOST_EXPORTS) \
4550 for flag in $(EXTRA_HOST_FLAGS); do \
4551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4552 done; \
4553 echo "Doing distclean in bison" ; \
4554 (cd bison && \
4555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4557 "RANLIB=$${RANLIB}" \
4558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4559 distclean) \
4560 || exit 1
4562 @endif bison
4564 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4565 maybe-maintainer-clean-bison:
4566 @if bison
4567 maybe-maintainer-clean-bison: maintainer-clean-bison
4569 maintainer-clean-bison:
4570 @[ -f ./bison/Makefile ] || exit 0; \
4571 r=`${PWD_COMMAND}`; export r; \
4572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4573 $(SET_LIB_PATH) \
4574 $(HOST_EXPORTS) \
4575 for flag in $(EXTRA_HOST_FLAGS); do \
4576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4577 done; \
4578 echo "Doing maintainer-clean in bison" ; \
4579 (cd bison && \
4580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4582 "RANLIB=$${RANLIB}" \
4583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4584 maintainer-clean) \
4585 || exit 1
4587 @endif bison
4590 .PHONY: configure-byacc maybe-configure-byacc
4591 maybe-configure-byacc:
4592 @if byacc
4593 maybe-configure-byacc: configure-byacc
4594 configure-byacc:
4595 @test ! -f byacc/Makefile || exit 0; \
4596 [ -d byacc ] || mkdir byacc; \
4597 r=`${PWD_COMMAND}`; export r; \
4598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4599 $(HOST_EXPORTS) \
4600 echo Configuring in byacc; \
4601 cd byacc || exit 1; \
4602 case $(srcdir) in \
4603 \.) \
4604 srcdiroption="--srcdir=."; \
4605 libsrcdir=".";; \
4606 /* | [A-Za-z]:[\\/]*) \
4607 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4608 libsrcdir="$$s/byacc";; \
4609 *) \
4610 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4611 libsrcdir="$$s/byacc";; \
4612 esac; \
4613 $(SHELL) $${libsrcdir}/configure \
4614 $(HOST_CONFIGARGS) $${srcdiroption} \
4615 || exit 1
4616 @endif byacc
4618 .PHONY: all-byacc maybe-all-byacc
4619 maybe-all-byacc:
4620 @if byacc
4621 maybe-all-byacc: all-byacc
4622 all-byacc: configure-byacc
4623 @r=`${PWD_COMMAND}`; export r; \
4624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4625 $(SET_LIB_PATH) \
4626 $(HOST_EXPORTS) \
4627 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4628 @endif byacc
4630 .PHONY: check-byacc maybe-check-byacc
4631 maybe-check-byacc:
4632 @if byacc
4633 maybe-check-byacc: check-byacc
4635 # This module is only tested in a native toolchain.
4636 check-byacc:
4637 @if [ '$(host)' = '$(target)' ] ; then \
4638 r=`${PWD_COMMAND}`; export r; \
4639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4640 $(SET_LIB_PATH) \
4641 $(HOST_EXPORTS) \
4642 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4645 @endif byacc
4647 .PHONY: install-byacc maybe-install-byacc
4648 maybe-install-byacc:
4649 @if byacc
4650 maybe-install-byacc: install-byacc
4652 install-byacc: installdirs
4653 @r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(SET_LIB_PATH) \
4656 $(HOST_EXPORTS) \
4657 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4659 @endif byacc
4661 # Other targets (info, dvi, etc.)
4663 .PHONY: maybe-info-byacc info-byacc
4664 maybe-info-byacc:
4665 @if byacc
4666 maybe-info-byacc: info-byacc
4668 info-byacc: \
4669 configure-byacc
4670 @[ -f ./byacc/Makefile ] || exit 0; \
4671 r=`${PWD_COMMAND}`; export r; \
4672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4673 $(SET_LIB_PATH) \
4674 $(HOST_EXPORTS) \
4675 for flag in $(EXTRA_HOST_FLAGS); do \
4676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4677 done; \
4678 echo "Doing info in byacc" ; \
4679 (cd byacc && \
4680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4682 "RANLIB=$${RANLIB}" \
4683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4684 info) \
4685 || exit 1
4687 @endif byacc
4689 .PHONY: maybe-dvi-byacc dvi-byacc
4690 maybe-dvi-byacc:
4691 @if byacc
4692 maybe-dvi-byacc: dvi-byacc
4694 dvi-byacc: \
4695 configure-byacc
4696 @[ -f ./byacc/Makefile ] || exit 0; \
4697 r=`${PWD_COMMAND}`; export r; \
4698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4699 $(SET_LIB_PATH) \
4700 $(HOST_EXPORTS) \
4701 for flag in $(EXTRA_HOST_FLAGS); do \
4702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4703 done; \
4704 echo "Doing dvi in byacc" ; \
4705 (cd byacc && \
4706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4708 "RANLIB=$${RANLIB}" \
4709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4710 dvi) \
4711 || exit 1
4713 @endif byacc
4715 .PHONY: maybe-TAGS-byacc TAGS-byacc
4716 maybe-TAGS-byacc:
4717 @if byacc
4718 maybe-TAGS-byacc: TAGS-byacc
4720 TAGS-byacc: \
4721 configure-byacc
4722 @[ -f ./byacc/Makefile ] || exit 0; \
4723 r=`${PWD_COMMAND}`; export r; \
4724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 $(SET_LIB_PATH) \
4726 $(HOST_EXPORTS) \
4727 for flag in $(EXTRA_HOST_FLAGS); do \
4728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4729 done; \
4730 echo "Doing TAGS in byacc" ; \
4731 (cd byacc && \
4732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4734 "RANLIB=$${RANLIB}" \
4735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4736 TAGS) \
4737 || exit 1
4739 @endif byacc
4741 .PHONY: maybe-install-info-byacc install-info-byacc
4742 maybe-install-info-byacc:
4743 @if byacc
4744 maybe-install-info-byacc: install-info-byacc
4746 install-info-byacc: \
4747 configure-byacc \
4748 info-byacc
4749 @[ -f ./byacc/Makefile ] || exit 0; \
4750 r=`${PWD_COMMAND}`; export r; \
4751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4752 $(SET_LIB_PATH) \
4753 $(HOST_EXPORTS) \
4754 for flag in $(EXTRA_HOST_FLAGS); do \
4755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4756 done; \
4757 echo "Doing install-info in byacc" ; \
4758 (cd byacc && \
4759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4761 "RANLIB=$${RANLIB}" \
4762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4763 install-info) \
4764 || exit 1
4766 @endif byacc
4768 .PHONY: maybe-installcheck-byacc installcheck-byacc
4769 maybe-installcheck-byacc:
4770 @if byacc
4771 maybe-installcheck-byacc: installcheck-byacc
4773 installcheck-byacc: \
4774 configure-byacc
4775 @[ -f ./byacc/Makefile ] || exit 0; \
4776 r=`${PWD_COMMAND}`; export r; \
4777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4778 $(SET_LIB_PATH) \
4779 $(HOST_EXPORTS) \
4780 for flag in $(EXTRA_HOST_FLAGS); do \
4781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4782 done; \
4783 echo "Doing installcheck in byacc" ; \
4784 (cd byacc && \
4785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4787 "RANLIB=$${RANLIB}" \
4788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4789 installcheck) \
4790 || exit 1
4792 @endif byacc
4794 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4795 maybe-mostlyclean-byacc:
4796 @if byacc
4797 maybe-mostlyclean-byacc: mostlyclean-byacc
4799 mostlyclean-byacc:
4800 @[ -f ./byacc/Makefile ] || exit 0; \
4801 r=`${PWD_COMMAND}`; export r; \
4802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 $(SET_LIB_PATH) \
4804 $(HOST_EXPORTS) \
4805 for flag in $(EXTRA_HOST_FLAGS); do \
4806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4807 done; \
4808 echo "Doing mostlyclean in byacc" ; \
4809 (cd byacc && \
4810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4812 "RANLIB=$${RANLIB}" \
4813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4814 mostlyclean) \
4815 || exit 1
4817 @endif byacc
4819 .PHONY: maybe-clean-byacc clean-byacc
4820 maybe-clean-byacc:
4821 @if byacc
4822 maybe-clean-byacc: clean-byacc
4824 clean-byacc:
4825 @[ -f ./byacc/Makefile ] || exit 0; \
4826 r=`${PWD_COMMAND}`; export r; \
4827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4828 $(SET_LIB_PATH) \
4829 $(HOST_EXPORTS) \
4830 for flag in $(EXTRA_HOST_FLAGS); do \
4831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4832 done; \
4833 echo "Doing clean in byacc" ; \
4834 (cd byacc && \
4835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4837 "RANLIB=$${RANLIB}" \
4838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4839 clean) \
4840 || exit 1
4842 @endif byacc
4844 .PHONY: maybe-distclean-byacc distclean-byacc
4845 maybe-distclean-byacc:
4846 @if byacc
4847 maybe-distclean-byacc: distclean-byacc
4849 distclean-byacc:
4850 @[ -f ./byacc/Makefile ] || exit 0; \
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4853 $(SET_LIB_PATH) \
4854 $(HOST_EXPORTS) \
4855 for flag in $(EXTRA_HOST_FLAGS); do \
4856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4857 done; \
4858 echo "Doing distclean in byacc" ; \
4859 (cd byacc && \
4860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4862 "RANLIB=$${RANLIB}" \
4863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4864 distclean) \
4865 || exit 1
4867 @endif byacc
4869 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4870 maybe-maintainer-clean-byacc:
4871 @if byacc
4872 maybe-maintainer-clean-byacc: maintainer-clean-byacc
4874 maintainer-clean-byacc:
4875 @[ -f ./byacc/Makefile ] || exit 0; \
4876 r=`${PWD_COMMAND}`; export r; \
4877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4878 $(SET_LIB_PATH) \
4879 $(HOST_EXPORTS) \
4880 for flag in $(EXTRA_HOST_FLAGS); do \
4881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4882 done; \
4883 echo "Doing maintainer-clean in byacc" ; \
4884 (cd byacc && \
4885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4887 "RANLIB=$${RANLIB}" \
4888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4889 maintainer-clean) \
4890 || exit 1
4892 @endif byacc
4895 .PHONY: configure-bzip2 maybe-configure-bzip2
4896 maybe-configure-bzip2:
4897 @if bzip2
4898 maybe-configure-bzip2: configure-bzip2
4899 configure-bzip2:
4900 @test ! -f bzip2/Makefile || exit 0; \
4901 [ -d bzip2 ] || mkdir bzip2; \
4902 r=`${PWD_COMMAND}`; export r; \
4903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4904 $(HOST_EXPORTS) \
4905 echo Configuring in bzip2; \
4906 cd bzip2 || exit 1; \
4907 case $(srcdir) in \
4908 \.) \
4909 srcdiroption="--srcdir=."; \
4910 libsrcdir=".";; \
4911 /* | [A-Za-z]:[\\/]*) \
4912 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4913 libsrcdir="$$s/bzip2";; \
4914 *) \
4915 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4916 libsrcdir="$$s/bzip2";; \
4917 esac; \
4918 $(SHELL) $${libsrcdir}/configure \
4919 $(HOST_CONFIGARGS) $${srcdiroption} \
4920 || exit 1
4921 @endif bzip2
4923 .PHONY: all-bzip2 maybe-all-bzip2
4924 maybe-all-bzip2:
4925 @if bzip2
4926 maybe-all-bzip2: all-bzip2
4927 all-bzip2: configure-bzip2
4928 @r=`${PWD_COMMAND}`; export r; \
4929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4930 $(SET_LIB_PATH) \
4931 $(HOST_EXPORTS) \
4932 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4933 @endif bzip2
4935 .PHONY: check-bzip2 maybe-check-bzip2
4936 maybe-check-bzip2:
4937 @if bzip2
4938 maybe-check-bzip2: check-bzip2
4940 check-bzip2:
4941 @r=`${PWD_COMMAND}`; export r; \
4942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4943 $(SET_LIB_PATH) \
4944 $(HOST_EXPORTS) \
4945 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4947 @endif bzip2
4949 .PHONY: install-bzip2 maybe-install-bzip2
4950 maybe-install-bzip2:
4951 @if bzip2
4952 maybe-install-bzip2: install-bzip2
4954 install-bzip2: installdirs
4955 @r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4957 $(SET_LIB_PATH) \
4958 $(HOST_EXPORTS) \
4959 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4961 @endif bzip2
4963 # Other targets (info, dvi, etc.)
4965 .PHONY: maybe-info-bzip2 info-bzip2
4966 maybe-info-bzip2:
4967 @if bzip2
4968 maybe-info-bzip2: info-bzip2
4970 info-bzip2: \
4971 configure-bzip2
4972 @[ -f ./bzip2/Makefile ] || exit 0; \
4973 r=`${PWD_COMMAND}`; export r; \
4974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4975 $(SET_LIB_PATH) \
4976 $(HOST_EXPORTS) \
4977 for flag in $(EXTRA_HOST_FLAGS); do \
4978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4979 done; \
4980 echo "Doing info in bzip2" ; \
4981 (cd bzip2 && \
4982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4984 "RANLIB=$${RANLIB}" \
4985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4986 info) \
4987 || exit 1
4989 @endif bzip2
4991 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4992 maybe-dvi-bzip2:
4993 @if bzip2
4994 maybe-dvi-bzip2: dvi-bzip2
4996 dvi-bzip2: \
4997 configure-bzip2
4998 @[ -f ./bzip2/Makefile ] || exit 0; \
4999 r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 $(SET_LIB_PATH) \
5002 $(HOST_EXPORTS) \
5003 for flag in $(EXTRA_HOST_FLAGS); do \
5004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5005 done; \
5006 echo "Doing dvi in bzip2" ; \
5007 (cd bzip2 && \
5008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5010 "RANLIB=$${RANLIB}" \
5011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5012 dvi) \
5013 || exit 1
5015 @endif bzip2
5017 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5018 maybe-TAGS-bzip2:
5019 @if bzip2
5020 maybe-TAGS-bzip2: TAGS-bzip2
5022 TAGS-bzip2: \
5023 configure-bzip2
5024 @[ -f ./bzip2/Makefile ] || exit 0; \
5025 r=`${PWD_COMMAND}`; export r; \
5026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5027 $(SET_LIB_PATH) \
5028 $(HOST_EXPORTS) \
5029 for flag in $(EXTRA_HOST_FLAGS); do \
5030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5031 done; \
5032 echo "Doing TAGS in bzip2" ; \
5033 (cd bzip2 && \
5034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5036 "RANLIB=$${RANLIB}" \
5037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5038 TAGS) \
5039 || exit 1
5041 @endif bzip2
5043 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5044 maybe-install-info-bzip2:
5045 @if bzip2
5046 maybe-install-info-bzip2: install-info-bzip2
5048 install-info-bzip2: \
5049 configure-bzip2 \
5050 info-bzip2
5051 @[ -f ./bzip2/Makefile ] || exit 0; \
5052 r=`${PWD_COMMAND}`; export r; \
5053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 $(SET_LIB_PATH) \
5055 $(HOST_EXPORTS) \
5056 for flag in $(EXTRA_HOST_FLAGS); do \
5057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5058 done; \
5059 echo "Doing install-info in bzip2" ; \
5060 (cd bzip2 && \
5061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5063 "RANLIB=$${RANLIB}" \
5064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5065 install-info) \
5066 || exit 1
5068 @endif bzip2
5070 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5071 maybe-installcheck-bzip2:
5072 @if bzip2
5073 maybe-installcheck-bzip2: installcheck-bzip2
5075 installcheck-bzip2: \
5076 configure-bzip2
5077 @[ -f ./bzip2/Makefile ] || exit 0; \
5078 r=`${PWD_COMMAND}`; export r; \
5079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080 $(SET_LIB_PATH) \
5081 $(HOST_EXPORTS) \
5082 for flag in $(EXTRA_HOST_FLAGS); do \
5083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5084 done; \
5085 echo "Doing installcheck in bzip2" ; \
5086 (cd bzip2 && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5089 "RANLIB=$${RANLIB}" \
5090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5091 installcheck) \
5092 || exit 1
5094 @endif bzip2
5096 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5097 maybe-mostlyclean-bzip2:
5098 @if bzip2
5099 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5101 mostlyclean-bzip2:
5102 @[ -f ./bzip2/Makefile ] || exit 0; \
5103 r=`${PWD_COMMAND}`; export r; \
5104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 $(SET_LIB_PATH) \
5106 $(HOST_EXPORTS) \
5107 for flag in $(EXTRA_HOST_FLAGS); do \
5108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5109 done; \
5110 echo "Doing mostlyclean in bzip2" ; \
5111 (cd bzip2 && \
5112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5114 "RANLIB=$${RANLIB}" \
5115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5116 mostlyclean) \
5117 || exit 1
5119 @endif bzip2
5121 .PHONY: maybe-clean-bzip2 clean-bzip2
5122 maybe-clean-bzip2:
5123 @if bzip2
5124 maybe-clean-bzip2: clean-bzip2
5126 clean-bzip2:
5127 @[ -f ./bzip2/Makefile ] || exit 0; \
5128 r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5130 $(SET_LIB_PATH) \
5131 $(HOST_EXPORTS) \
5132 for flag in $(EXTRA_HOST_FLAGS); do \
5133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5134 done; \
5135 echo "Doing clean in bzip2" ; \
5136 (cd bzip2 && \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5139 "RANLIB=$${RANLIB}" \
5140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5141 clean) \
5142 || exit 1
5144 @endif bzip2
5146 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5147 maybe-distclean-bzip2:
5148 @if bzip2
5149 maybe-distclean-bzip2: distclean-bzip2
5151 distclean-bzip2:
5152 @[ -f ./bzip2/Makefile ] || exit 0; \
5153 r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 $(SET_LIB_PATH) \
5156 $(HOST_EXPORTS) \
5157 for flag in $(EXTRA_HOST_FLAGS); do \
5158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5159 done; \
5160 echo "Doing distclean in bzip2" ; \
5161 (cd bzip2 && \
5162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5164 "RANLIB=$${RANLIB}" \
5165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5166 distclean) \
5167 || exit 1
5169 @endif bzip2
5171 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5172 maybe-maintainer-clean-bzip2:
5173 @if bzip2
5174 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5176 maintainer-clean-bzip2:
5177 @[ -f ./bzip2/Makefile ] || exit 0; \
5178 r=`${PWD_COMMAND}`; export r; \
5179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5180 $(SET_LIB_PATH) \
5181 $(HOST_EXPORTS) \
5182 for flag in $(EXTRA_HOST_FLAGS); do \
5183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5184 done; \
5185 echo "Doing maintainer-clean in bzip2" ; \
5186 (cd bzip2 && \
5187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5189 "RANLIB=$${RANLIB}" \
5190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5191 maintainer-clean) \
5192 || exit 1
5194 @endif bzip2
5197 .PHONY: configure-dejagnu maybe-configure-dejagnu
5198 maybe-configure-dejagnu:
5199 @if dejagnu
5200 maybe-configure-dejagnu: configure-dejagnu
5201 configure-dejagnu:
5202 @test ! -f dejagnu/Makefile || exit 0; \
5203 [ -d dejagnu ] || mkdir dejagnu; \
5204 r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5206 $(HOST_EXPORTS) \
5207 echo Configuring in dejagnu; \
5208 cd dejagnu || exit 1; \
5209 case $(srcdir) in \
5210 \.) \
5211 srcdiroption="--srcdir=."; \
5212 libsrcdir=".";; \
5213 /* | [A-Za-z]:[\\/]*) \
5214 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5215 libsrcdir="$$s/dejagnu";; \
5216 *) \
5217 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5218 libsrcdir="$$s/dejagnu";; \
5219 esac; \
5220 $(SHELL) $${libsrcdir}/configure \
5221 $(HOST_CONFIGARGS) $${srcdiroption} \
5222 || exit 1
5223 @endif dejagnu
5225 .PHONY: all-dejagnu maybe-all-dejagnu
5226 maybe-all-dejagnu:
5227 @if dejagnu
5228 maybe-all-dejagnu: all-dejagnu
5229 all-dejagnu: configure-dejagnu
5230 @r=`${PWD_COMMAND}`; export r; \
5231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5232 $(SET_LIB_PATH) \
5233 $(HOST_EXPORTS) \
5234 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5235 @endif dejagnu
5237 .PHONY: check-dejagnu maybe-check-dejagnu
5238 maybe-check-dejagnu:
5239 @if dejagnu
5240 maybe-check-dejagnu: check-dejagnu
5242 check-dejagnu:
5243 @r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(SET_LIB_PATH) \
5246 $(HOST_EXPORTS) \
5247 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5249 @endif dejagnu
5251 .PHONY: install-dejagnu maybe-install-dejagnu
5252 maybe-install-dejagnu:
5253 @if dejagnu
5254 maybe-install-dejagnu: install-dejagnu
5256 install-dejagnu: installdirs
5257 @r=`${PWD_COMMAND}`; export r; \
5258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5259 $(SET_LIB_PATH) \
5260 $(HOST_EXPORTS) \
5261 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5263 @endif dejagnu
5265 # Other targets (info, dvi, etc.)
5267 .PHONY: maybe-info-dejagnu info-dejagnu
5268 maybe-info-dejagnu:
5269 @if dejagnu
5270 maybe-info-dejagnu: info-dejagnu
5272 info-dejagnu: \
5273 configure-dejagnu
5274 @[ -f ./dejagnu/Makefile ] || exit 0; \
5275 r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277 $(SET_LIB_PATH) \
5278 $(HOST_EXPORTS) \
5279 for flag in $(EXTRA_HOST_FLAGS); do \
5280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5281 done; \
5282 echo "Doing info in dejagnu" ; \
5283 (cd dejagnu && \
5284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5286 "RANLIB=$${RANLIB}" \
5287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5288 info) \
5289 || exit 1
5291 @endif dejagnu
5293 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5294 maybe-dvi-dejagnu:
5295 @if dejagnu
5296 maybe-dvi-dejagnu: dvi-dejagnu
5298 dvi-dejagnu: \
5299 configure-dejagnu
5300 @[ -f ./dejagnu/Makefile ] || exit 0; \
5301 r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 $(SET_LIB_PATH) \
5304 $(HOST_EXPORTS) \
5305 for flag in $(EXTRA_HOST_FLAGS); do \
5306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5307 done; \
5308 echo "Doing dvi in dejagnu" ; \
5309 (cd dejagnu && \
5310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5312 "RANLIB=$${RANLIB}" \
5313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5314 dvi) \
5315 || exit 1
5317 @endif dejagnu
5319 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5320 maybe-TAGS-dejagnu:
5321 @if dejagnu
5322 maybe-TAGS-dejagnu: TAGS-dejagnu
5324 TAGS-dejagnu: \
5325 configure-dejagnu
5326 @[ -f ./dejagnu/Makefile ] || exit 0; \
5327 r=`${PWD_COMMAND}`; export r; \
5328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 $(SET_LIB_PATH) \
5330 $(HOST_EXPORTS) \
5331 for flag in $(EXTRA_HOST_FLAGS); do \
5332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5333 done; \
5334 echo "Doing TAGS in dejagnu" ; \
5335 (cd dejagnu && \
5336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5338 "RANLIB=$${RANLIB}" \
5339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5340 TAGS) \
5341 || exit 1
5343 @endif dejagnu
5345 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5346 maybe-install-info-dejagnu:
5347 @if dejagnu
5348 maybe-install-info-dejagnu: install-info-dejagnu
5350 install-info-dejagnu: \
5351 configure-dejagnu \
5352 info-dejagnu
5353 @[ -f ./dejagnu/Makefile ] || exit 0; \
5354 r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356 $(SET_LIB_PATH) \
5357 $(HOST_EXPORTS) \
5358 for flag in $(EXTRA_HOST_FLAGS); do \
5359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5360 done; \
5361 echo "Doing install-info in dejagnu" ; \
5362 (cd dejagnu && \
5363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5365 "RANLIB=$${RANLIB}" \
5366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5367 install-info) \
5368 || exit 1
5370 @endif dejagnu
5372 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5373 maybe-installcheck-dejagnu:
5374 @if dejagnu
5375 maybe-installcheck-dejagnu: installcheck-dejagnu
5377 installcheck-dejagnu: \
5378 configure-dejagnu
5379 @[ -f ./dejagnu/Makefile ] || exit 0; \
5380 r=`${PWD_COMMAND}`; export r; \
5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5382 $(SET_LIB_PATH) \
5383 $(HOST_EXPORTS) \
5384 for flag in $(EXTRA_HOST_FLAGS); do \
5385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5386 done; \
5387 echo "Doing installcheck in dejagnu" ; \
5388 (cd dejagnu && \
5389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5391 "RANLIB=$${RANLIB}" \
5392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5393 installcheck) \
5394 || exit 1
5396 @endif dejagnu
5398 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5399 maybe-mostlyclean-dejagnu:
5400 @if dejagnu
5401 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5403 mostlyclean-dejagnu:
5404 @[ -f ./dejagnu/Makefile ] || exit 0; \
5405 r=`${PWD_COMMAND}`; export r; \
5406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5407 $(SET_LIB_PATH) \
5408 $(HOST_EXPORTS) \
5409 for flag in $(EXTRA_HOST_FLAGS); do \
5410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5411 done; \
5412 echo "Doing mostlyclean in dejagnu" ; \
5413 (cd dejagnu && \
5414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5416 "RANLIB=$${RANLIB}" \
5417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5418 mostlyclean) \
5419 || exit 1
5421 @endif dejagnu
5423 .PHONY: maybe-clean-dejagnu clean-dejagnu
5424 maybe-clean-dejagnu:
5425 @if dejagnu
5426 maybe-clean-dejagnu: clean-dejagnu
5428 clean-dejagnu:
5429 @[ -f ./dejagnu/Makefile ] || exit 0; \
5430 r=`${PWD_COMMAND}`; export r; \
5431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5432 $(SET_LIB_PATH) \
5433 $(HOST_EXPORTS) \
5434 for flag in $(EXTRA_HOST_FLAGS); do \
5435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5436 done; \
5437 echo "Doing clean in dejagnu" ; \
5438 (cd dejagnu && \
5439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5441 "RANLIB=$${RANLIB}" \
5442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5443 clean) \
5444 || exit 1
5446 @endif dejagnu
5448 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5449 maybe-distclean-dejagnu:
5450 @if dejagnu
5451 maybe-distclean-dejagnu: distclean-dejagnu
5453 distclean-dejagnu:
5454 @[ -f ./dejagnu/Makefile ] || exit 0; \
5455 r=`${PWD_COMMAND}`; export r; \
5456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5457 $(SET_LIB_PATH) \
5458 $(HOST_EXPORTS) \
5459 for flag in $(EXTRA_HOST_FLAGS); do \
5460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5461 done; \
5462 echo "Doing distclean in dejagnu" ; \
5463 (cd dejagnu && \
5464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5466 "RANLIB=$${RANLIB}" \
5467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5468 distclean) \
5469 || exit 1
5471 @endif dejagnu
5473 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5474 maybe-maintainer-clean-dejagnu:
5475 @if dejagnu
5476 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5478 maintainer-clean-dejagnu:
5479 @[ -f ./dejagnu/Makefile ] || exit 0; \
5480 r=`${PWD_COMMAND}`; export r; \
5481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5482 $(SET_LIB_PATH) \
5483 $(HOST_EXPORTS) \
5484 for flag in $(EXTRA_HOST_FLAGS); do \
5485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5486 done; \
5487 echo "Doing maintainer-clean in dejagnu" ; \
5488 (cd dejagnu && \
5489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5491 "RANLIB=$${RANLIB}" \
5492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5493 maintainer-clean) \
5494 || exit 1
5496 @endif dejagnu
5499 .PHONY: configure-diff maybe-configure-diff
5500 maybe-configure-diff:
5501 @if diff
5502 maybe-configure-diff: configure-diff
5503 configure-diff:
5504 @test ! -f diff/Makefile || exit 0; \
5505 [ -d diff ] || mkdir diff; \
5506 r=`${PWD_COMMAND}`; export r; \
5507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5508 $(HOST_EXPORTS) \
5509 echo Configuring in diff; \
5510 cd diff || exit 1; \
5511 case $(srcdir) in \
5512 \.) \
5513 srcdiroption="--srcdir=."; \
5514 libsrcdir=".";; \
5515 /* | [A-Za-z]:[\\/]*) \
5516 srcdiroption="--srcdir=$(srcdir)/diff"; \
5517 libsrcdir="$$s/diff";; \
5518 *) \
5519 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5520 libsrcdir="$$s/diff";; \
5521 esac; \
5522 $(SHELL) $${libsrcdir}/configure \
5523 $(HOST_CONFIGARGS) $${srcdiroption} \
5524 || exit 1
5525 @endif diff
5527 .PHONY: all-diff maybe-all-diff
5528 maybe-all-diff:
5529 @if diff
5530 maybe-all-diff: all-diff
5531 all-diff: configure-diff
5532 @r=`${PWD_COMMAND}`; export r; \
5533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5534 $(SET_LIB_PATH) \
5535 $(HOST_EXPORTS) \
5536 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5537 @endif diff
5539 .PHONY: check-diff maybe-check-diff
5540 maybe-check-diff:
5541 @if diff
5542 maybe-check-diff: check-diff
5544 check-diff:
5545 @r=`${PWD_COMMAND}`; export r; \
5546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5547 $(SET_LIB_PATH) \
5548 $(HOST_EXPORTS) \
5549 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5551 @endif diff
5553 .PHONY: install-diff maybe-install-diff
5554 maybe-install-diff:
5555 @if diff
5556 maybe-install-diff: install-diff
5558 install-diff: installdirs
5559 @r=`${PWD_COMMAND}`; export r; \
5560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5561 $(SET_LIB_PATH) \
5562 $(HOST_EXPORTS) \
5563 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5565 @endif diff
5567 # Other targets (info, dvi, etc.)
5569 .PHONY: maybe-info-diff info-diff
5570 maybe-info-diff:
5571 @if diff
5572 maybe-info-diff: info-diff
5574 info-diff: \
5575 configure-diff
5576 @[ -f ./diff/Makefile ] || exit 0; \
5577 r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 $(SET_LIB_PATH) \
5580 $(HOST_EXPORTS) \
5581 for flag in $(EXTRA_HOST_FLAGS); do \
5582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5583 done; \
5584 echo "Doing info in diff" ; \
5585 (cd diff && \
5586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5588 "RANLIB=$${RANLIB}" \
5589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5590 info) \
5591 || exit 1
5593 @endif diff
5595 .PHONY: maybe-dvi-diff dvi-diff
5596 maybe-dvi-diff:
5597 @if diff
5598 maybe-dvi-diff: dvi-diff
5600 dvi-diff: \
5601 configure-diff
5602 @[ -f ./diff/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(SET_LIB_PATH) \
5606 $(HOST_EXPORTS) \
5607 for flag in $(EXTRA_HOST_FLAGS); do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5609 done; \
5610 echo "Doing dvi in diff" ; \
5611 (cd diff && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5616 dvi) \
5617 || exit 1
5619 @endif diff
5621 .PHONY: maybe-TAGS-diff TAGS-diff
5622 maybe-TAGS-diff:
5623 @if diff
5624 maybe-TAGS-diff: TAGS-diff
5626 TAGS-diff: \
5627 configure-diff
5628 @[ -f ./diff/Makefile ] || exit 0; \
5629 r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5631 $(SET_LIB_PATH) \
5632 $(HOST_EXPORTS) \
5633 for flag in $(EXTRA_HOST_FLAGS); do \
5634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5635 done; \
5636 echo "Doing TAGS in diff" ; \
5637 (cd diff && \
5638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5640 "RANLIB=$${RANLIB}" \
5641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5642 TAGS) \
5643 || exit 1
5645 @endif diff
5647 .PHONY: maybe-install-info-diff install-info-diff
5648 maybe-install-info-diff:
5649 @if diff
5650 maybe-install-info-diff: install-info-diff
5652 install-info-diff: \
5653 configure-diff \
5654 info-diff
5655 @[ -f ./diff/Makefile ] || exit 0; \
5656 r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(SET_LIB_PATH) \
5659 $(HOST_EXPORTS) \
5660 for flag in $(EXTRA_HOST_FLAGS); do \
5661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5662 done; \
5663 echo "Doing install-info in diff" ; \
5664 (cd diff && \
5665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5667 "RANLIB=$${RANLIB}" \
5668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5669 install-info) \
5670 || exit 1
5672 @endif diff
5674 .PHONY: maybe-installcheck-diff installcheck-diff
5675 maybe-installcheck-diff:
5676 @if diff
5677 maybe-installcheck-diff: installcheck-diff
5679 installcheck-diff: \
5680 configure-diff
5681 @[ -f ./diff/Makefile ] || exit 0; \
5682 r=`${PWD_COMMAND}`; export r; \
5683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5684 $(SET_LIB_PATH) \
5685 $(HOST_EXPORTS) \
5686 for flag in $(EXTRA_HOST_FLAGS); do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5688 done; \
5689 echo "Doing installcheck in diff" ; \
5690 (cd diff && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5695 installcheck) \
5696 || exit 1
5698 @endif diff
5700 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5701 maybe-mostlyclean-diff:
5702 @if diff
5703 maybe-mostlyclean-diff: mostlyclean-diff
5705 mostlyclean-diff:
5706 @[ -f ./diff/Makefile ] || exit 0; \
5707 r=`${PWD_COMMAND}`; export r; \
5708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5709 $(SET_LIB_PATH) \
5710 $(HOST_EXPORTS) \
5711 for flag in $(EXTRA_HOST_FLAGS); do \
5712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5713 done; \
5714 echo "Doing mostlyclean in diff" ; \
5715 (cd diff && \
5716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5718 "RANLIB=$${RANLIB}" \
5719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5720 mostlyclean) \
5721 || exit 1
5723 @endif diff
5725 .PHONY: maybe-clean-diff clean-diff
5726 maybe-clean-diff:
5727 @if diff
5728 maybe-clean-diff: clean-diff
5730 clean-diff:
5731 @[ -f ./diff/Makefile ] || exit 0; \
5732 r=`${PWD_COMMAND}`; export r; \
5733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5734 $(SET_LIB_PATH) \
5735 $(HOST_EXPORTS) \
5736 for flag in $(EXTRA_HOST_FLAGS); do \
5737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5738 done; \
5739 echo "Doing clean in diff" ; \
5740 (cd diff && \
5741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5743 "RANLIB=$${RANLIB}" \
5744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5745 clean) \
5746 || exit 1
5748 @endif diff
5750 .PHONY: maybe-distclean-diff distclean-diff
5751 maybe-distclean-diff:
5752 @if diff
5753 maybe-distclean-diff: distclean-diff
5755 distclean-diff:
5756 @[ -f ./diff/Makefile ] || exit 0; \
5757 r=`${PWD_COMMAND}`; export r; \
5758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759 $(SET_LIB_PATH) \
5760 $(HOST_EXPORTS) \
5761 for flag in $(EXTRA_HOST_FLAGS); do \
5762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5763 done; \
5764 echo "Doing distclean in diff" ; \
5765 (cd diff && \
5766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5768 "RANLIB=$${RANLIB}" \
5769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5770 distclean) \
5771 || exit 1
5773 @endif diff
5775 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5776 maybe-maintainer-clean-diff:
5777 @if diff
5778 maybe-maintainer-clean-diff: maintainer-clean-diff
5780 maintainer-clean-diff:
5781 @[ -f ./diff/Makefile ] || exit 0; \
5782 r=`${PWD_COMMAND}`; export r; \
5783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5784 $(SET_LIB_PATH) \
5785 $(HOST_EXPORTS) \
5786 for flag in $(EXTRA_HOST_FLAGS); do \
5787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5788 done; \
5789 echo "Doing maintainer-clean in diff" ; \
5790 (cd diff && \
5791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5793 "RANLIB=$${RANLIB}" \
5794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5795 maintainer-clean) \
5796 || exit 1
5798 @endif diff
5801 .PHONY: configure-dosutils maybe-configure-dosutils
5802 maybe-configure-dosutils:
5803 @if dosutils
5804 maybe-configure-dosutils: configure-dosutils
5805 configure-dosutils:
5806 @test ! -f dosutils/Makefile || exit 0; \
5807 [ -d dosutils ] || mkdir dosutils; \
5808 r=`${PWD_COMMAND}`; export r; \
5809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5810 $(HOST_EXPORTS) \
5811 echo Configuring in dosutils; \
5812 cd dosutils || exit 1; \
5813 case $(srcdir) in \
5814 \.) \
5815 srcdiroption="--srcdir=."; \
5816 libsrcdir=".";; \
5817 /* | [A-Za-z]:[\\/]*) \
5818 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5819 libsrcdir="$$s/dosutils";; \
5820 *) \
5821 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5822 libsrcdir="$$s/dosutils";; \
5823 esac; \
5824 $(SHELL) $${libsrcdir}/configure \
5825 $(HOST_CONFIGARGS) $${srcdiroption} \
5826 || exit 1
5827 @endif dosutils
5829 .PHONY: all-dosutils maybe-all-dosutils
5830 maybe-all-dosutils:
5831 @if dosutils
5832 maybe-all-dosutils: all-dosutils
5833 all-dosutils: configure-dosutils
5834 @r=`${PWD_COMMAND}`; export r; \
5835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5836 $(SET_LIB_PATH) \
5837 $(HOST_EXPORTS) \
5838 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5839 @endif dosutils
5841 .PHONY: check-dosutils maybe-check-dosutils
5842 maybe-check-dosutils:
5843 @if dosutils
5844 maybe-check-dosutils: check-dosutils
5846 check-dosutils:
5848 @endif dosutils
5850 .PHONY: install-dosutils maybe-install-dosutils
5851 maybe-install-dosutils:
5852 @if dosutils
5853 maybe-install-dosutils: install-dosutils
5855 install-dosutils: installdirs
5856 @r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(SET_LIB_PATH) \
5859 $(HOST_EXPORTS) \
5860 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5862 @endif dosutils
5864 # Other targets (info, dvi, etc.)
5866 .PHONY: maybe-info-dosutils info-dosutils
5867 maybe-info-dosutils:
5868 @if dosutils
5869 maybe-info-dosutils: info-dosutils
5871 info-dosutils: \
5872 configure-dosutils
5873 @[ -f ./dosutils/Makefile ] || exit 0; \
5874 r=`${PWD_COMMAND}`; export r; \
5875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876 $(SET_LIB_PATH) \
5877 $(HOST_EXPORTS) \
5878 for flag in $(EXTRA_HOST_FLAGS); do \
5879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5880 done; \
5881 echo "Doing info in dosutils" ; \
5882 (cd dosutils && \
5883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5885 "RANLIB=$${RANLIB}" \
5886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5887 info) \
5888 || exit 1
5890 @endif dosutils
5892 .PHONY: maybe-dvi-dosutils dvi-dosutils
5893 maybe-dvi-dosutils:
5894 @if dosutils
5895 maybe-dvi-dosutils: dvi-dosutils
5897 dvi-dosutils: \
5898 configure-dosutils
5899 @[ -f ./dosutils/Makefile ] || exit 0; \
5900 r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 $(SET_LIB_PATH) \
5903 $(HOST_EXPORTS) \
5904 for flag in $(EXTRA_HOST_FLAGS); do \
5905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5906 done; \
5907 echo "Doing dvi in dosutils" ; \
5908 (cd dosutils && \
5909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5911 "RANLIB=$${RANLIB}" \
5912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5913 dvi) \
5914 || exit 1
5916 @endif dosutils
5918 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5919 maybe-TAGS-dosutils:
5920 @if dosutils
5921 maybe-TAGS-dosutils: TAGS-dosutils
5923 TAGS-dosutils: \
5924 configure-dosutils
5925 @[ -f ./dosutils/Makefile ] || exit 0; \
5926 r=`${PWD_COMMAND}`; export r; \
5927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5928 $(SET_LIB_PATH) \
5929 $(HOST_EXPORTS) \
5930 for flag in $(EXTRA_HOST_FLAGS); do \
5931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5932 done; \
5933 echo "Doing TAGS in dosutils" ; \
5934 (cd dosutils && \
5935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5937 "RANLIB=$${RANLIB}" \
5938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5939 TAGS) \
5940 || exit 1
5942 @endif dosutils
5944 .PHONY: maybe-install-info-dosutils install-info-dosutils
5945 maybe-install-info-dosutils:
5946 @if dosutils
5947 maybe-install-info-dosutils: install-info-dosutils
5949 install-info-dosutils: \
5950 configure-dosutils \
5951 info-dosutils
5952 @[ -f ./dosutils/Makefile ] || exit 0; \
5953 r=`${PWD_COMMAND}`; export r; \
5954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 $(SET_LIB_PATH) \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS); do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing install-info in dosutils" ; \
5961 (cd dosutils && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 install-info) \
5967 || exit 1
5969 @endif dosutils
5971 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5972 maybe-installcheck-dosutils:
5973 @if dosutils
5974 maybe-installcheck-dosutils: installcheck-dosutils
5976 installcheck-dosutils: \
5977 configure-dosutils
5978 @[ -f ./dosutils/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(SET_LIB_PATH) \
5982 $(HOST_EXPORTS) \
5983 for flag in $(EXTRA_HOST_FLAGS); do \
5984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5985 done; \
5986 echo "Doing installcheck in dosutils" ; \
5987 (cd dosutils && \
5988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5990 "RANLIB=$${RANLIB}" \
5991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5992 installcheck) \
5993 || exit 1
5995 @endif dosutils
5997 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5998 maybe-mostlyclean-dosutils:
5999 @if dosutils
6000 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6002 mostlyclean-dosutils:
6003 @[ -f ./dosutils/Makefile ] || exit 0; \
6004 r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(SET_LIB_PATH) \
6007 $(HOST_EXPORTS) \
6008 for flag in $(EXTRA_HOST_FLAGS); do \
6009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6010 done; \
6011 echo "Doing mostlyclean in dosutils" ; \
6012 (cd dosutils && \
6013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6015 "RANLIB=$${RANLIB}" \
6016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6017 mostlyclean) \
6018 || exit 1
6020 @endif dosutils
6022 .PHONY: maybe-clean-dosutils clean-dosutils
6023 maybe-clean-dosutils:
6024 @if dosutils
6025 maybe-clean-dosutils: clean-dosutils
6027 clean-dosutils:
6028 @[ -f ./dosutils/Makefile ] || exit 0; \
6029 r=`${PWD_COMMAND}`; export r; \
6030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6031 $(SET_LIB_PATH) \
6032 $(HOST_EXPORTS) \
6033 for flag in $(EXTRA_HOST_FLAGS); do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6035 done; \
6036 echo "Doing clean in dosutils" ; \
6037 (cd dosutils && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6040 "RANLIB=$${RANLIB}" \
6041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6042 clean) \
6043 || exit 1
6045 @endif dosutils
6047 .PHONY: maybe-distclean-dosutils distclean-dosutils
6048 maybe-distclean-dosutils:
6049 @if dosutils
6050 maybe-distclean-dosutils: distclean-dosutils
6052 distclean-dosutils:
6053 @[ -f ./dosutils/Makefile ] || exit 0; \
6054 r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 $(SET_LIB_PATH) \
6057 $(HOST_EXPORTS) \
6058 for flag in $(EXTRA_HOST_FLAGS); do \
6059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6060 done; \
6061 echo "Doing distclean in dosutils" ; \
6062 (cd dosutils && \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6065 "RANLIB=$${RANLIB}" \
6066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 distclean) \
6068 || exit 1
6070 @endif dosutils
6072 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6073 maybe-maintainer-clean-dosutils:
6074 @if dosutils
6075 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6077 maintainer-clean-dosutils:
6078 @[ -f ./dosutils/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(SET_LIB_PATH) \
6082 $(HOST_EXPORTS) \
6083 for flag in $(EXTRA_HOST_FLAGS); do \
6084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6085 done; \
6086 echo "Doing maintainer-clean in dosutils" ; \
6087 (cd dosutils && \
6088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6090 "RANLIB=$${RANLIB}" \
6091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6092 maintainer-clean) \
6093 || exit 1
6095 @endif dosutils
6098 .PHONY: configure-etc maybe-configure-etc
6099 maybe-configure-etc:
6100 @if etc
6101 maybe-configure-etc: configure-etc
6102 configure-etc:
6103 @test ! -f etc/Makefile || exit 0; \
6104 [ -d etc ] || mkdir etc; \
6105 r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 $(HOST_EXPORTS) \
6108 echo Configuring in etc; \
6109 cd etc || exit 1; \
6110 case $(srcdir) in \
6111 \.) \
6112 srcdiroption="--srcdir=."; \
6113 libsrcdir=".";; \
6114 /* | [A-Za-z]:[\\/]*) \
6115 srcdiroption="--srcdir=$(srcdir)/etc"; \
6116 libsrcdir="$$s/etc";; \
6117 *) \
6118 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6119 libsrcdir="$$s/etc";; \
6120 esac; \
6121 $(SHELL) $${libsrcdir}/configure \
6122 $(HOST_CONFIGARGS) $${srcdiroption} \
6123 || exit 1
6124 @endif etc
6126 .PHONY: all-etc maybe-all-etc
6127 maybe-all-etc:
6128 @if etc
6129 maybe-all-etc: all-etc
6130 all-etc: configure-etc
6131 @r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133 $(SET_LIB_PATH) \
6134 $(HOST_EXPORTS) \
6135 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6136 @endif etc
6138 .PHONY: check-etc maybe-check-etc
6139 maybe-check-etc:
6140 @if etc
6141 maybe-check-etc: check-etc
6143 check-etc:
6144 @r=`${PWD_COMMAND}`; export r; \
6145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6146 $(SET_LIB_PATH) \
6147 $(HOST_EXPORTS) \
6148 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6150 @endif etc
6152 .PHONY: install-etc maybe-install-etc
6153 maybe-install-etc:
6154 @if etc
6155 maybe-install-etc: install-etc
6157 install-etc: installdirs
6158 @r=`${PWD_COMMAND}`; export r; \
6159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 $(SET_LIB_PATH) \
6161 $(HOST_EXPORTS) \
6162 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6164 @endif etc
6166 # Other targets (info, dvi, etc.)
6168 .PHONY: maybe-info-etc info-etc
6169 maybe-info-etc:
6170 @if etc
6171 maybe-info-etc: info-etc
6173 info-etc: \
6174 configure-etc
6175 @[ -f ./etc/Makefile ] || exit 0; \
6176 r=`${PWD_COMMAND}`; export r; \
6177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6178 $(SET_LIB_PATH) \
6179 $(HOST_EXPORTS) \
6180 for flag in $(EXTRA_HOST_FLAGS); do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6182 done; \
6183 echo "Doing info in etc" ; \
6184 (cd etc && \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189 info) \
6190 || exit 1
6192 @endif etc
6194 .PHONY: maybe-dvi-etc dvi-etc
6195 maybe-dvi-etc:
6196 @if etc
6197 maybe-dvi-etc: dvi-etc
6199 dvi-etc: \
6200 configure-etc
6201 @[ -f ./etc/Makefile ] || exit 0; \
6202 r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(SET_LIB_PATH) \
6205 $(HOST_EXPORTS) \
6206 for flag in $(EXTRA_HOST_FLAGS); do \
6207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6208 done; \
6209 echo "Doing dvi in etc" ; \
6210 (cd etc && \
6211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6213 "RANLIB=$${RANLIB}" \
6214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6215 dvi) \
6216 || exit 1
6218 @endif etc
6220 .PHONY: maybe-TAGS-etc TAGS-etc
6221 maybe-TAGS-etc:
6222 @if etc
6223 maybe-TAGS-etc: TAGS-etc
6225 TAGS-etc: \
6226 configure-etc
6227 @[ -f ./etc/Makefile ] || exit 0; \
6228 r=`${PWD_COMMAND}`; export r; \
6229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6230 $(SET_LIB_PATH) \
6231 $(HOST_EXPORTS) \
6232 for flag in $(EXTRA_HOST_FLAGS); do \
6233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6234 done; \
6235 echo "Doing TAGS in etc" ; \
6236 (cd etc && \
6237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6239 "RANLIB=$${RANLIB}" \
6240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6241 TAGS) \
6242 || exit 1
6244 @endif etc
6246 .PHONY: maybe-install-info-etc install-info-etc
6247 maybe-install-info-etc:
6248 @if etc
6249 maybe-install-info-etc: install-info-etc
6251 install-info-etc: \
6252 configure-etc \
6253 info-etc
6254 @[ -f ./etc/Makefile ] || exit 0; \
6255 r=`${PWD_COMMAND}`; export r; \
6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 $(SET_LIB_PATH) \
6258 $(HOST_EXPORTS) \
6259 for flag in $(EXTRA_HOST_FLAGS); do \
6260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6261 done; \
6262 echo "Doing install-info in etc" ; \
6263 (cd etc && \
6264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6266 "RANLIB=$${RANLIB}" \
6267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6268 install-info) \
6269 || exit 1
6271 @endif etc
6273 .PHONY: maybe-installcheck-etc installcheck-etc
6274 maybe-installcheck-etc:
6275 @if etc
6276 maybe-installcheck-etc: installcheck-etc
6278 installcheck-etc: \
6279 configure-etc
6280 @[ -f ./etc/Makefile ] || exit 0; \
6281 r=`${PWD_COMMAND}`; export r; \
6282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6283 $(SET_LIB_PATH) \
6284 $(HOST_EXPORTS) \
6285 for flag in $(EXTRA_HOST_FLAGS); do \
6286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6287 done; \
6288 echo "Doing installcheck in etc" ; \
6289 (cd etc && \
6290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6292 "RANLIB=$${RANLIB}" \
6293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6294 installcheck) \
6295 || exit 1
6297 @endif etc
6299 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6300 maybe-mostlyclean-etc:
6301 @if etc
6302 maybe-mostlyclean-etc: mostlyclean-etc
6304 mostlyclean-etc:
6305 @[ -f ./etc/Makefile ] || exit 0; \
6306 r=`${PWD_COMMAND}`; export r; \
6307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6308 $(SET_LIB_PATH) \
6309 $(HOST_EXPORTS) \
6310 for flag in $(EXTRA_HOST_FLAGS); do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6312 done; \
6313 echo "Doing mostlyclean in etc" ; \
6314 (cd etc && \
6315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317 "RANLIB=$${RANLIB}" \
6318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6319 mostlyclean) \
6320 || exit 1
6322 @endif etc
6324 .PHONY: maybe-clean-etc clean-etc
6325 maybe-clean-etc:
6326 @if etc
6327 maybe-clean-etc: clean-etc
6329 clean-etc:
6330 @[ -f ./etc/Makefile ] || exit 0; \
6331 r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(SET_LIB_PATH) \
6334 $(HOST_EXPORTS) \
6335 for flag in $(EXTRA_HOST_FLAGS); do \
6336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6337 done; \
6338 echo "Doing clean in etc" ; \
6339 (cd etc && \
6340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6342 "RANLIB=$${RANLIB}" \
6343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6344 clean) \
6345 || exit 1
6347 @endif etc
6349 .PHONY: maybe-distclean-etc distclean-etc
6350 maybe-distclean-etc:
6351 @if etc
6352 maybe-distclean-etc: distclean-etc
6354 distclean-etc:
6355 @[ -f ./etc/Makefile ] || exit 0; \
6356 r=`${PWD_COMMAND}`; export r; \
6357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6358 $(SET_LIB_PATH) \
6359 $(HOST_EXPORTS) \
6360 for flag in $(EXTRA_HOST_FLAGS); do \
6361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6362 done; \
6363 echo "Doing distclean in etc" ; \
6364 (cd etc && \
6365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6367 "RANLIB=$${RANLIB}" \
6368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6369 distclean) \
6370 || exit 1
6372 @endif etc
6374 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6375 maybe-maintainer-clean-etc:
6376 @if etc
6377 maybe-maintainer-clean-etc: maintainer-clean-etc
6379 maintainer-clean-etc:
6380 @[ -f ./etc/Makefile ] || exit 0; \
6381 r=`${PWD_COMMAND}`; export r; \
6382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6383 $(SET_LIB_PATH) \
6384 $(HOST_EXPORTS) \
6385 for flag in $(EXTRA_HOST_FLAGS); do \
6386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6387 done; \
6388 echo "Doing maintainer-clean in etc" ; \
6389 (cd etc && \
6390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6392 "RANLIB=$${RANLIB}" \
6393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6394 maintainer-clean) \
6395 || exit 1
6397 @endif etc
6400 .PHONY: configure-fastjar maybe-configure-fastjar
6401 maybe-configure-fastjar:
6402 @if fastjar
6403 maybe-configure-fastjar: configure-fastjar
6404 configure-fastjar:
6405 @test ! -f fastjar/Makefile || exit 0; \
6406 [ -d fastjar ] || mkdir fastjar; \
6407 r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 $(HOST_EXPORTS) \
6410 echo Configuring in fastjar; \
6411 cd fastjar || exit 1; \
6412 case $(srcdir) in \
6413 \.) \
6414 srcdiroption="--srcdir=."; \
6415 libsrcdir=".";; \
6416 /* | [A-Za-z]:[\\/]*) \
6417 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6418 libsrcdir="$$s/fastjar";; \
6419 *) \
6420 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6421 libsrcdir="$$s/fastjar";; \
6422 esac; \
6423 $(SHELL) $${libsrcdir}/configure \
6424 $(HOST_CONFIGARGS) $${srcdiroption} \
6425 || exit 1
6426 @endif fastjar
6428 .PHONY: all-fastjar maybe-all-fastjar
6429 maybe-all-fastjar:
6430 @if fastjar
6431 maybe-all-fastjar: all-fastjar
6432 all-fastjar: configure-fastjar
6433 @r=`${PWD_COMMAND}`; export r; \
6434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6435 $(SET_LIB_PATH) \
6436 $(HOST_EXPORTS) \
6437 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6438 @endif fastjar
6440 .PHONY: check-fastjar maybe-check-fastjar
6441 maybe-check-fastjar:
6442 @if fastjar
6443 maybe-check-fastjar: check-fastjar
6445 # This module is only tested in a native toolchain.
6446 check-fastjar:
6447 @if [ '$(host)' = '$(target)' ] ; then \
6448 r=`${PWD_COMMAND}`; export r; \
6449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6450 $(SET_LIB_PATH) \
6451 $(HOST_EXPORTS) \
6452 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6455 @endif fastjar
6457 .PHONY: install-fastjar maybe-install-fastjar
6458 maybe-install-fastjar:
6459 @if fastjar
6460 maybe-install-fastjar: install-fastjar
6462 install-fastjar: installdirs
6463 @r=`${PWD_COMMAND}`; export r; \
6464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6465 $(SET_LIB_PATH) \
6466 $(HOST_EXPORTS) \
6467 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6469 @endif fastjar
6471 # Other targets (info, dvi, etc.)
6473 .PHONY: maybe-info-fastjar info-fastjar
6474 maybe-info-fastjar:
6475 @if fastjar
6476 maybe-info-fastjar: info-fastjar
6478 info-fastjar: \
6479 configure-fastjar
6480 @[ -f ./fastjar/Makefile ] || exit 0; \
6481 r=`${PWD_COMMAND}`; export r; \
6482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6483 $(SET_LIB_PATH) \
6484 $(HOST_EXPORTS) \
6485 for flag in $(EXTRA_HOST_FLAGS); do \
6486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6487 done; \
6488 echo "Doing info in fastjar" ; \
6489 (cd fastjar && \
6490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6492 "RANLIB=$${RANLIB}" \
6493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6494 info) \
6495 || exit 1
6497 @endif fastjar
6499 .PHONY: maybe-dvi-fastjar dvi-fastjar
6500 maybe-dvi-fastjar:
6501 @if fastjar
6502 maybe-dvi-fastjar: dvi-fastjar
6504 dvi-fastjar: \
6505 configure-fastjar
6506 @[ -f ./fastjar/Makefile ] || exit 0; \
6507 r=`${PWD_COMMAND}`; export r; \
6508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6509 $(SET_LIB_PATH) \
6510 $(HOST_EXPORTS) \
6511 for flag in $(EXTRA_HOST_FLAGS); do \
6512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6513 done; \
6514 echo "Doing dvi in fastjar" ; \
6515 (cd fastjar && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6518 "RANLIB=$${RANLIB}" \
6519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6520 dvi) \
6521 || exit 1
6523 @endif fastjar
6525 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6526 maybe-TAGS-fastjar:
6527 @if fastjar
6528 maybe-TAGS-fastjar: TAGS-fastjar
6530 TAGS-fastjar: \
6531 configure-fastjar
6532 @[ -f ./fastjar/Makefile ] || exit 0; \
6533 r=`${PWD_COMMAND}`; export r; \
6534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 $(SET_LIB_PATH) \
6536 $(HOST_EXPORTS) \
6537 for flag in $(EXTRA_HOST_FLAGS); do \
6538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6539 done; \
6540 echo "Doing TAGS in fastjar" ; \
6541 (cd fastjar && \
6542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6544 "RANLIB=$${RANLIB}" \
6545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6546 TAGS) \
6547 || exit 1
6549 @endif fastjar
6551 .PHONY: maybe-install-info-fastjar install-info-fastjar
6552 maybe-install-info-fastjar:
6553 @if fastjar
6554 maybe-install-info-fastjar: install-info-fastjar
6556 install-info-fastjar: \
6557 configure-fastjar \
6558 info-fastjar
6559 @[ -f ./fastjar/Makefile ] || exit 0; \
6560 r=`${PWD_COMMAND}`; export r; \
6561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 $(SET_LIB_PATH) \
6563 $(HOST_EXPORTS) \
6564 for flag in $(EXTRA_HOST_FLAGS); do \
6565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6566 done; \
6567 echo "Doing install-info in fastjar" ; \
6568 (cd fastjar && \
6569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6571 "RANLIB=$${RANLIB}" \
6572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6573 install-info) \
6574 || exit 1
6576 @endif fastjar
6578 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6579 maybe-installcheck-fastjar:
6580 @if fastjar
6581 maybe-installcheck-fastjar: installcheck-fastjar
6583 installcheck-fastjar: \
6584 configure-fastjar
6585 @[ -f ./fastjar/Makefile ] || exit 0; \
6586 r=`${PWD_COMMAND}`; export r; \
6587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6588 $(SET_LIB_PATH) \
6589 $(HOST_EXPORTS) \
6590 for flag in $(EXTRA_HOST_FLAGS); do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 done; \
6593 echo "Doing installcheck in fastjar" ; \
6594 (cd fastjar && \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6599 installcheck) \
6600 || exit 1
6602 @endif fastjar
6604 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6605 maybe-mostlyclean-fastjar:
6606 @if fastjar
6607 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6609 mostlyclean-fastjar:
6610 @[ -f ./fastjar/Makefile ] || exit 0; \
6611 r=`${PWD_COMMAND}`; export r; \
6612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6613 $(SET_LIB_PATH) \
6614 $(HOST_EXPORTS) \
6615 for flag in $(EXTRA_HOST_FLAGS); do \
6616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6617 done; \
6618 echo "Doing mostlyclean in fastjar" ; \
6619 (cd fastjar && \
6620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6622 "RANLIB=$${RANLIB}" \
6623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6624 mostlyclean) \
6625 || exit 1
6627 @endif fastjar
6629 .PHONY: maybe-clean-fastjar clean-fastjar
6630 maybe-clean-fastjar:
6631 @if fastjar
6632 maybe-clean-fastjar: clean-fastjar
6634 clean-fastjar:
6635 @[ -f ./fastjar/Makefile ] || exit 0; \
6636 r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 $(SET_LIB_PATH) \
6639 $(HOST_EXPORTS) \
6640 for flag in $(EXTRA_HOST_FLAGS); do \
6641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6642 done; \
6643 echo "Doing clean in fastjar" ; \
6644 (cd fastjar && \
6645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6647 "RANLIB=$${RANLIB}" \
6648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6649 clean) \
6650 || exit 1
6652 @endif fastjar
6654 .PHONY: maybe-distclean-fastjar distclean-fastjar
6655 maybe-distclean-fastjar:
6656 @if fastjar
6657 maybe-distclean-fastjar: distclean-fastjar
6659 distclean-fastjar:
6660 @[ -f ./fastjar/Makefile ] || exit 0; \
6661 r=`${PWD_COMMAND}`; export r; \
6662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6663 $(SET_LIB_PATH) \
6664 $(HOST_EXPORTS) \
6665 for flag in $(EXTRA_HOST_FLAGS); do \
6666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6667 done; \
6668 echo "Doing distclean in fastjar" ; \
6669 (cd fastjar && \
6670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6672 "RANLIB=$${RANLIB}" \
6673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6674 distclean) \
6675 || exit 1
6677 @endif fastjar
6679 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6680 maybe-maintainer-clean-fastjar:
6681 @if fastjar
6682 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6684 maintainer-clean-fastjar:
6685 @[ -f ./fastjar/Makefile ] || exit 0; \
6686 r=`${PWD_COMMAND}`; export r; \
6687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6688 $(SET_LIB_PATH) \
6689 $(HOST_EXPORTS) \
6690 for flag in $(EXTRA_HOST_FLAGS); do \
6691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6692 done; \
6693 echo "Doing maintainer-clean in fastjar" ; \
6694 (cd fastjar && \
6695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697 "RANLIB=$${RANLIB}" \
6698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6699 maintainer-clean) \
6700 || exit 1
6702 @endif fastjar
6705 .PHONY: configure-fileutils maybe-configure-fileutils
6706 maybe-configure-fileutils:
6707 @if fileutils
6708 maybe-configure-fileutils: configure-fileutils
6709 configure-fileutils:
6710 @test ! -f fileutils/Makefile || exit 0; \
6711 [ -d fileutils ] || mkdir fileutils; \
6712 r=`${PWD_COMMAND}`; export r; \
6713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6714 $(HOST_EXPORTS) \
6715 echo Configuring in fileutils; \
6716 cd fileutils || exit 1; \
6717 case $(srcdir) in \
6718 \.) \
6719 srcdiroption="--srcdir=."; \
6720 libsrcdir=".";; \
6721 /* | [A-Za-z]:[\\/]*) \
6722 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6723 libsrcdir="$$s/fileutils";; \
6724 *) \
6725 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6726 libsrcdir="$$s/fileutils";; \
6727 esac; \
6728 $(SHELL) $${libsrcdir}/configure \
6729 $(HOST_CONFIGARGS) $${srcdiroption} \
6730 || exit 1
6731 @endif fileutils
6733 .PHONY: all-fileutils maybe-all-fileutils
6734 maybe-all-fileutils:
6735 @if fileutils
6736 maybe-all-fileutils: all-fileutils
6737 all-fileutils: configure-fileutils
6738 @r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(SET_LIB_PATH) \
6741 $(HOST_EXPORTS) \
6742 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6743 @endif fileutils
6745 .PHONY: check-fileutils maybe-check-fileutils
6746 maybe-check-fileutils:
6747 @if fileutils
6748 maybe-check-fileutils: check-fileutils
6750 check-fileutils:
6751 @r=`${PWD_COMMAND}`; export r; \
6752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6753 $(SET_LIB_PATH) \
6754 $(HOST_EXPORTS) \
6755 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6757 @endif fileutils
6759 .PHONY: install-fileutils maybe-install-fileutils
6760 maybe-install-fileutils:
6761 @if fileutils
6762 maybe-install-fileutils: install-fileutils
6764 install-fileutils: installdirs
6765 @r=`${PWD_COMMAND}`; export r; \
6766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6767 $(SET_LIB_PATH) \
6768 $(HOST_EXPORTS) \
6769 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6771 @endif fileutils
6773 # Other targets (info, dvi, etc.)
6775 .PHONY: maybe-info-fileutils info-fileutils
6776 maybe-info-fileutils:
6777 @if fileutils
6778 maybe-info-fileutils: info-fileutils
6780 info-fileutils: \
6781 configure-fileutils
6782 @[ -f ./fileutils/Makefile ] || exit 0; \
6783 r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(SET_LIB_PATH) \
6786 $(HOST_EXPORTS) \
6787 for flag in $(EXTRA_HOST_FLAGS); do \
6788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6789 done; \
6790 echo "Doing info in fileutils" ; \
6791 (cd fileutils && \
6792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6794 "RANLIB=$${RANLIB}" \
6795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6796 info) \
6797 || exit 1
6799 @endif fileutils
6801 .PHONY: maybe-dvi-fileutils dvi-fileutils
6802 maybe-dvi-fileutils:
6803 @if fileutils
6804 maybe-dvi-fileutils: dvi-fileutils
6806 dvi-fileutils: \
6807 configure-fileutils
6808 @[ -f ./fileutils/Makefile ] || exit 0; \
6809 r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(SET_LIB_PATH) \
6812 $(HOST_EXPORTS) \
6813 for flag in $(EXTRA_HOST_FLAGS); do \
6814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6815 done; \
6816 echo "Doing dvi in fileutils" ; \
6817 (cd fileutils && \
6818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6820 "RANLIB=$${RANLIB}" \
6821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6822 dvi) \
6823 || exit 1
6825 @endif fileutils
6827 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6828 maybe-TAGS-fileutils:
6829 @if fileutils
6830 maybe-TAGS-fileutils: TAGS-fileutils
6832 TAGS-fileutils: \
6833 configure-fileutils
6834 @[ -f ./fileutils/Makefile ] || exit 0; \
6835 r=`${PWD_COMMAND}`; export r; \
6836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6837 $(SET_LIB_PATH) \
6838 $(HOST_EXPORTS) \
6839 for flag in $(EXTRA_HOST_FLAGS); do \
6840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6841 done; \
6842 echo "Doing TAGS in fileutils" ; \
6843 (cd fileutils && \
6844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6846 "RANLIB=$${RANLIB}" \
6847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 TAGS) \
6849 || exit 1
6851 @endif fileutils
6853 .PHONY: maybe-install-info-fileutils install-info-fileutils
6854 maybe-install-info-fileutils:
6855 @if fileutils
6856 maybe-install-info-fileutils: install-info-fileutils
6858 install-info-fileutils: \
6859 configure-fileutils \
6860 info-fileutils
6861 @[ -f ./fileutils/Makefile ] || exit 0; \
6862 r=`${PWD_COMMAND}`; export r; \
6863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6864 $(SET_LIB_PATH) \
6865 $(HOST_EXPORTS) \
6866 for flag in $(EXTRA_HOST_FLAGS); do \
6867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6868 done; \
6869 echo "Doing install-info in fileutils" ; \
6870 (cd fileutils && \
6871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6873 "RANLIB=$${RANLIB}" \
6874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6875 install-info) \
6876 || exit 1
6878 @endif fileutils
6880 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6881 maybe-installcheck-fileutils:
6882 @if fileutils
6883 maybe-installcheck-fileutils: installcheck-fileutils
6885 installcheck-fileutils: \
6886 configure-fileutils
6887 @[ -f ./fileutils/Makefile ] || exit 0; \
6888 r=`${PWD_COMMAND}`; export r; \
6889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6890 $(SET_LIB_PATH) \
6891 $(HOST_EXPORTS) \
6892 for flag in $(EXTRA_HOST_FLAGS); do \
6893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 done; \
6895 echo "Doing installcheck in fileutils" ; \
6896 (cd fileutils && \
6897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6899 "RANLIB=$${RANLIB}" \
6900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6901 installcheck) \
6902 || exit 1
6904 @endif fileutils
6906 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6907 maybe-mostlyclean-fileutils:
6908 @if fileutils
6909 maybe-mostlyclean-fileutils: mostlyclean-fileutils
6911 mostlyclean-fileutils:
6912 @[ -f ./fileutils/Makefile ] || exit 0; \
6913 r=`${PWD_COMMAND}`; export r; \
6914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6915 $(SET_LIB_PATH) \
6916 $(HOST_EXPORTS) \
6917 for flag in $(EXTRA_HOST_FLAGS); do \
6918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6919 done; \
6920 echo "Doing mostlyclean in fileutils" ; \
6921 (cd fileutils && \
6922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6924 "RANLIB=$${RANLIB}" \
6925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6926 mostlyclean) \
6927 || exit 1
6929 @endif fileutils
6931 .PHONY: maybe-clean-fileutils clean-fileutils
6932 maybe-clean-fileutils:
6933 @if fileutils
6934 maybe-clean-fileutils: clean-fileutils
6936 clean-fileutils:
6937 @[ -f ./fileutils/Makefile ] || exit 0; \
6938 r=`${PWD_COMMAND}`; export r; \
6939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6940 $(SET_LIB_PATH) \
6941 $(HOST_EXPORTS) \
6942 for flag in $(EXTRA_HOST_FLAGS); do \
6943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6944 done; \
6945 echo "Doing clean in fileutils" ; \
6946 (cd fileutils && \
6947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949 "RANLIB=$${RANLIB}" \
6950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6951 clean) \
6952 || exit 1
6954 @endif fileutils
6956 .PHONY: maybe-distclean-fileutils distclean-fileutils
6957 maybe-distclean-fileutils:
6958 @if fileutils
6959 maybe-distclean-fileutils: distclean-fileutils
6961 distclean-fileutils:
6962 @[ -f ./fileutils/Makefile ] || exit 0; \
6963 r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 $(SET_LIB_PATH) \
6966 $(HOST_EXPORTS) \
6967 for flag in $(EXTRA_HOST_FLAGS); do \
6968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6969 done; \
6970 echo "Doing distclean in fileutils" ; \
6971 (cd fileutils && \
6972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6974 "RANLIB=$${RANLIB}" \
6975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6976 distclean) \
6977 || exit 1
6979 @endif fileutils
6981 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6982 maybe-maintainer-clean-fileutils:
6983 @if fileutils
6984 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
6986 maintainer-clean-fileutils:
6987 @[ -f ./fileutils/Makefile ] || exit 0; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 $(SET_LIB_PATH) \
6991 $(HOST_EXPORTS) \
6992 for flag in $(EXTRA_HOST_FLAGS); do \
6993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6994 done; \
6995 echo "Doing maintainer-clean in fileutils" ; \
6996 (cd fileutils && \
6997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6999 "RANLIB=$${RANLIB}" \
7000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7001 maintainer-clean) \
7002 || exit 1
7004 @endif fileutils
7007 .PHONY: configure-findutils maybe-configure-findutils
7008 maybe-configure-findutils:
7009 @if findutils
7010 maybe-configure-findutils: configure-findutils
7011 configure-findutils:
7012 @test ! -f findutils/Makefile || exit 0; \
7013 [ -d findutils ] || mkdir findutils; \
7014 r=`${PWD_COMMAND}`; export r; \
7015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7016 $(HOST_EXPORTS) \
7017 echo Configuring in findutils; \
7018 cd findutils || exit 1; \
7019 case $(srcdir) in \
7020 \.) \
7021 srcdiroption="--srcdir=."; \
7022 libsrcdir=".";; \
7023 /* | [A-Za-z]:[\\/]*) \
7024 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7025 libsrcdir="$$s/findutils";; \
7026 *) \
7027 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7028 libsrcdir="$$s/findutils";; \
7029 esac; \
7030 $(SHELL) $${libsrcdir}/configure \
7031 $(HOST_CONFIGARGS) $${srcdiroption} \
7032 || exit 1
7033 @endif findutils
7035 .PHONY: all-findutils maybe-all-findutils
7036 maybe-all-findutils:
7037 @if findutils
7038 maybe-all-findutils: all-findutils
7039 all-findutils: configure-findutils
7040 @r=`${PWD_COMMAND}`; export r; \
7041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7042 $(SET_LIB_PATH) \
7043 $(HOST_EXPORTS) \
7044 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7045 @endif findutils
7047 .PHONY: check-findutils maybe-check-findutils
7048 maybe-check-findutils:
7049 @if findutils
7050 maybe-check-findutils: check-findutils
7052 check-findutils:
7053 @r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7055 $(SET_LIB_PATH) \
7056 $(HOST_EXPORTS) \
7057 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7059 @endif findutils
7061 .PHONY: install-findutils maybe-install-findutils
7062 maybe-install-findutils:
7063 @if findutils
7064 maybe-install-findutils: install-findutils
7066 install-findutils: installdirs
7067 @r=`${PWD_COMMAND}`; export r; \
7068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 $(SET_LIB_PATH) \
7070 $(HOST_EXPORTS) \
7071 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7073 @endif findutils
7075 # Other targets (info, dvi, etc.)
7077 .PHONY: maybe-info-findutils info-findutils
7078 maybe-info-findutils:
7079 @if findutils
7080 maybe-info-findutils: info-findutils
7082 info-findutils: \
7083 configure-findutils
7084 @[ -f ./findutils/Makefile ] || exit 0; \
7085 r=`${PWD_COMMAND}`; export r; \
7086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 $(SET_LIB_PATH) \
7088 $(HOST_EXPORTS) \
7089 for flag in $(EXTRA_HOST_FLAGS); do \
7090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7091 done; \
7092 echo "Doing info in findutils" ; \
7093 (cd findutils && \
7094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7096 "RANLIB=$${RANLIB}" \
7097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7098 info) \
7099 || exit 1
7101 @endif findutils
7103 .PHONY: maybe-dvi-findutils dvi-findutils
7104 maybe-dvi-findutils:
7105 @if findutils
7106 maybe-dvi-findutils: dvi-findutils
7108 dvi-findutils: \
7109 configure-findutils
7110 @[ -f ./findutils/Makefile ] || exit 0; \
7111 r=`${PWD_COMMAND}`; export r; \
7112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113 $(SET_LIB_PATH) \
7114 $(HOST_EXPORTS) \
7115 for flag in $(EXTRA_HOST_FLAGS); do \
7116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7117 done; \
7118 echo "Doing dvi in findutils" ; \
7119 (cd findutils && \
7120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7122 "RANLIB=$${RANLIB}" \
7123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7124 dvi) \
7125 || exit 1
7127 @endif findutils
7129 .PHONY: maybe-TAGS-findutils TAGS-findutils
7130 maybe-TAGS-findutils:
7131 @if findutils
7132 maybe-TAGS-findutils: TAGS-findutils
7134 TAGS-findutils: \
7135 configure-findutils
7136 @[ -f ./findutils/Makefile ] || exit 0; \
7137 r=`${PWD_COMMAND}`; export r; \
7138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7139 $(SET_LIB_PATH) \
7140 $(HOST_EXPORTS) \
7141 for flag in $(EXTRA_HOST_FLAGS); do \
7142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7143 done; \
7144 echo "Doing TAGS in findutils" ; \
7145 (cd findutils && \
7146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7148 "RANLIB=$${RANLIB}" \
7149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7150 TAGS) \
7151 || exit 1
7153 @endif findutils
7155 .PHONY: maybe-install-info-findutils install-info-findutils
7156 maybe-install-info-findutils:
7157 @if findutils
7158 maybe-install-info-findutils: install-info-findutils
7160 install-info-findutils: \
7161 configure-findutils \
7162 info-findutils
7163 @[ -f ./findutils/Makefile ] || exit 0; \
7164 r=`${PWD_COMMAND}`; export r; \
7165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7166 $(SET_LIB_PATH) \
7167 $(HOST_EXPORTS) \
7168 for flag in $(EXTRA_HOST_FLAGS); do \
7169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7170 done; \
7171 echo "Doing install-info in findutils" ; \
7172 (cd findutils && \
7173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7175 "RANLIB=$${RANLIB}" \
7176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7177 install-info) \
7178 || exit 1
7180 @endif findutils
7182 .PHONY: maybe-installcheck-findutils installcheck-findutils
7183 maybe-installcheck-findutils:
7184 @if findutils
7185 maybe-installcheck-findutils: installcheck-findutils
7187 installcheck-findutils: \
7188 configure-findutils
7189 @[ -f ./findutils/Makefile ] || exit 0; \
7190 r=`${PWD_COMMAND}`; export r; \
7191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7192 $(SET_LIB_PATH) \
7193 $(HOST_EXPORTS) \
7194 for flag in $(EXTRA_HOST_FLAGS); do \
7195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7196 done; \
7197 echo "Doing installcheck in findutils" ; \
7198 (cd findutils && \
7199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7201 "RANLIB=$${RANLIB}" \
7202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7203 installcheck) \
7204 || exit 1
7206 @endif findutils
7208 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7209 maybe-mostlyclean-findutils:
7210 @if findutils
7211 maybe-mostlyclean-findutils: mostlyclean-findutils
7213 mostlyclean-findutils:
7214 @[ -f ./findutils/Makefile ] || exit 0; \
7215 r=`${PWD_COMMAND}`; export r; \
7216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7217 $(SET_LIB_PATH) \
7218 $(HOST_EXPORTS) \
7219 for flag in $(EXTRA_HOST_FLAGS); do \
7220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7221 done; \
7222 echo "Doing mostlyclean in findutils" ; \
7223 (cd findutils && \
7224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7226 "RANLIB=$${RANLIB}" \
7227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7228 mostlyclean) \
7229 || exit 1
7231 @endif findutils
7233 .PHONY: maybe-clean-findutils clean-findutils
7234 maybe-clean-findutils:
7235 @if findutils
7236 maybe-clean-findutils: clean-findutils
7238 clean-findutils:
7239 @[ -f ./findutils/Makefile ] || exit 0; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7242 $(SET_LIB_PATH) \
7243 $(HOST_EXPORTS) \
7244 for flag in $(EXTRA_HOST_FLAGS); do \
7245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7246 done; \
7247 echo "Doing clean in findutils" ; \
7248 (cd findutils && \
7249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7251 "RANLIB=$${RANLIB}" \
7252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7253 clean) \
7254 || exit 1
7256 @endif findutils
7258 .PHONY: maybe-distclean-findutils distclean-findutils
7259 maybe-distclean-findutils:
7260 @if findutils
7261 maybe-distclean-findutils: distclean-findutils
7263 distclean-findutils:
7264 @[ -f ./findutils/Makefile ] || exit 0; \
7265 r=`${PWD_COMMAND}`; export r; \
7266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7267 $(SET_LIB_PATH) \
7268 $(HOST_EXPORTS) \
7269 for flag in $(EXTRA_HOST_FLAGS); do \
7270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7271 done; \
7272 echo "Doing distclean in findutils" ; \
7273 (cd findutils && \
7274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7276 "RANLIB=$${RANLIB}" \
7277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7278 distclean) \
7279 || exit 1
7281 @endif findutils
7283 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7284 maybe-maintainer-clean-findutils:
7285 @if findutils
7286 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7288 maintainer-clean-findutils:
7289 @[ -f ./findutils/Makefile ] || exit 0; \
7290 r=`${PWD_COMMAND}`; export r; \
7291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7292 $(SET_LIB_PATH) \
7293 $(HOST_EXPORTS) \
7294 for flag in $(EXTRA_HOST_FLAGS); do \
7295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7296 done; \
7297 echo "Doing maintainer-clean in findutils" ; \
7298 (cd findutils && \
7299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7301 "RANLIB=$${RANLIB}" \
7302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7303 maintainer-clean) \
7304 || exit 1
7306 @endif findutils
7309 .PHONY: configure-find maybe-configure-find
7310 maybe-configure-find:
7311 @if find
7312 maybe-configure-find: configure-find
7313 configure-find:
7314 @test ! -f find/Makefile || exit 0; \
7315 [ -d find ] || mkdir find; \
7316 r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7318 $(HOST_EXPORTS) \
7319 echo Configuring in find; \
7320 cd find || exit 1; \
7321 case $(srcdir) in \
7322 \.) \
7323 srcdiroption="--srcdir=."; \
7324 libsrcdir=".";; \
7325 /* | [A-Za-z]:[\\/]*) \
7326 srcdiroption="--srcdir=$(srcdir)/find"; \
7327 libsrcdir="$$s/find";; \
7328 *) \
7329 srcdiroption="--srcdir=../$(srcdir)/find"; \
7330 libsrcdir="$$s/find";; \
7331 esac; \
7332 $(SHELL) $${libsrcdir}/configure \
7333 $(HOST_CONFIGARGS) $${srcdiroption} \
7334 || exit 1
7335 @endif find
7337 .PHONY: all-find maybe-all-find
7338 maybe-all-find:
7339 @if find
7340 maybe-all-find: all-find
7341 all-find: configure-find
7342 @r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 $(SET_LIB_PATH) \
7345 $(HOST_EXPORTS) \
7346 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7347 @endif find
7349 .PHONY: check-find maybe-check-find
7350 maybe-check-find:
7351 @if find
7352 maybe-check-find: check-find
7354 check-find:
7355 @r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357 $(SET_LIB_PATH) \
7358 $(HOST_EXPORTS) \
7359 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7361 @endif find
7363 .PHONY: install-find maybe-install-find
7364 maybe-install-find:
7365 @if find
7366 maybe-install-find: install-find
7368 install-find: installdirs
7369 @r=`${PWD_COMMAND}`; export r; \
7370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7371 $(SET_LIB_PATH) \
7372 $(HOST_EXPORTS) \
7373 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7375 @endif find
7377 # Other targets (info, dvi, etc.)
7379 .PHONY: maybe-info-find info-find
7380 maybe-info-find:
7381 @if find
7382 maybe-info-find: info-find
7384 info-find: \
7385 configure-find
7386 @[ -f ./find/Makefile ] || exit 0; \
7387 r=`${PWD_COMMAND}`; export r; \
7388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7389 $(SET_LIB_PATH) \
7390 $(HOST_EXPORTS) \
7391 for flag in $(EXTRA_HOST_FLAGS); do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 done; \
7394 echo "Doing info in find" ; \
7395 (cd find && \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7400 info) \
7401 || exit 1
7403 @endif find
7405 .PHONY: maybe-dvi-find dvi-find
7406 maybe-dvi-find:
7407 @if find
7408 maybe-dvi-find: dvi-find
7410 dvi-find: \
7411 configure-find
7412 @[ -f ./find/Makefile ] || exit 0; \
7413 r=`${PWD_COMMAND}`; export r; \
7414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415 $(SET_LIB_PATH) \
7416 $(HOST_EXPORTS) \
7417 for flag in $(EXTRA_HOST_FLAGS); do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 done; \
7420 echo "Doing dvi in find" ; \
7421 (cd find && \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7426 dvi) \
7427 || exit 1
7429 @endif find
7431 .PHONY: maybe-TAGS-find TAGS-find
7432 maybe-TAGS-find:
7433 @if find
7434 maybe-TAGS-find: TAGS-find
7436 TAGS-find: \
7437 configure-find
7438 @[ -f ./find/Makefile ] || exit 0; \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(SET_LIB_PATH) \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS); do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing TAGS in find" ; \
7447 (cd find && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7452 TAGS) \
7453 || exit 1
7455 @endif find
7457 .PHONY: maybe-install-info-find install-info-find
7458 maybe-install-info-find:
7459 @if find
7460 maybe-install-info-find: install-info-find
7462 install-info-find: \
7463 configure-find \
7464 info-find
7465 @[ -f ./find/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7468 $(SET_LIB_PATH) \
7469 $(HOST_EXPORTS) \
7470 for flag in $(EXTRA_HOST_FLAGS); do \
7471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7472 done; \
7473 echo "Doing install-info in find" ; \
7474 (cd find && \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7477 "RANLIB=$${RANLIB}" \
7478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7479 install-info) \
7480 || exit 1
7482 @endif find
7484 .PHONY: maybe-installcheck-find installcheck-find
7485 maybe-installcheck-find:
7486 @if find
7487 maybe-installcheck-find: installcheck-find
7489 installcheck-find: \
7490 configure-find
7491 @[ -f ./find/Makefile ] || exit 0; \
7492 r=`${PWD_COMMAND}`; export r; \
7493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 $(SET_LIB_PATH) \
7495 $(HOST_EXPORTS) \
7496 for flag in $(EXTRA_HOST_FLAGS); do \
7497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 done; \
7499 echo "Doing installcheck in find" ; \
7500 (cd find && \
7501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7503 "RANLIB=$${RANLIB}" \
7504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7505 installcheck) \
7506 || exit 1
7508 @endif find
7510 .PHONY: maybe-mostlyclean-find mostlyclean-find
7511 maybe-mostlyclean-find:
7512 @if find
7513 maybe-mostlyclean-find: mostlyclean-find
7515 mostlyclean-find:
7516 @[ -f ./find/Makefile ] || exit 0; \
7517 r=`${PWD_COMMAND}`; export r; \
7518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7519 $(SET_LIB_PATH) \
7520 $(HOST_EXPORTS) \
7521 for flag in $(EXTRA_HOST_FLAGS); do \
7522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 done; \
7524 echo "Doing mostlyclean in find" ; \
7525 (cd find && \
7526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7528 "RANLIB=$${RANLIB}" \
7529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7530 mostlyclean) \
7531 || exit 1
7533 @endif find
7535 .PHONY: maybe-clean-find clean-find
7536 maybe-clean-find:
7537 @if find
7538 maybe-clean-find: clean-find
7540 clean-find:
7541 @[ -f ./find/Makefile ] || exit 0; \
7542 r=`${PWD_COMMAND}`; export r; \
7543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 $(SET_LIB_PATH) \
7545 $(HOST_EXPORTS) \
7546 for flag in $(EXTRA_HOST_FLAGS); do \
7547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7548 done; \
7549 echo "Doing clean in find" ; \
7550 (cd find && \
7551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7553 "RANLIB=$${RANLIB}" \
7554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7555 clean) \
7556 || exit 1
7558 @endif find
7560 .PHONY: maybe-distclean-find distclean-find
7561 maybe-distclean-find:
7562 @if find
7563 maybe-distclean-find: distclean-find
7565 distclean-find:
7566 @[ -f ./find/Makefile ] || exit 0; \
7567 r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(SET_LIB_PATH) \
7570 $(HOST_EXPORTS) \
7571 for flag in $(EXTRA_HOST_FLAGS); do \
7572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7573 done; \
7574 echo "Doing distclean in find" ; \
7575 (cd find && \
7576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7578 "RANLIB=$${RANLIB}" \
7579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7580 distclean) \
7581 || exit 1
7583 @endif find
7585 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7586 maybe-maintainer-clean-find:
7587 @if find
7588 maybe-maintainer-clean-find: maintainer-clean-find
7590 maintainer-clean-find:
7591 @[ -f ./find/Makefile ] || exit 0; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(SET_LIB_PATH) \
7595 $(HOST_EXPORTS) \
7596 for flag in $(EXTRA_HOST_FLAGS); do \
7597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7598 done; \
7599 echo "Doing maintainer-clean in find" ; \
7600 (cd find && \
7601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7603 "RANLIB=$${RANLIB}" \
7604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7605 maintainer-clean) \
7606 || exit 1
7608 @endif find
7611 .PHONY: configure-flex maybe-configure-flex
7612 maybe-configure-flex:
7613 @if flex
7614 maybe-configure-flex: configure-flex
7615 configure-flex:
7616 @test ! -f flex/Makefile || exit 0; \
7617 [ -d flex ] || mkdir flex; \
7618 r=`${PWD_COMMAND}`; export r; \
7619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7620 $(HOST_EXPORTS) \
7621 echo Configuring in flex; \
7622 cd flex || exit 1; \
7623 case $(srcdir) in \
7624 \.) \
7625 srcdiroption="--srcdir=."; \
7626 libsrcdir=".";; \
7627 /* | [A-Za-z]:[\\/]*) \
7628 srcdiroption="--srcdir=$(srcdir)/flex"; \
7629 libsrcdir="$$s/flex";; \
7630 *) \
7631 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7632 libsrcdir="$$s/flex";; \
7633 esac; \
7634 $(SHELL) $${libsrcdir}/configure \
7635 $(HOST_CONFIGARGS) $${srcdiroption} \
7636 || exit 1
7637 @endif flex
7639 .PHONY: all-flex maybe-all-flex
7640 maybe-all-flex:
7641 @if flex
7642 maybe-all-flex: all-flex
7643 all-flex: configure-flex
7644 @r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(SET_LIB_PATH) \
7647 $(HOST_EXPORTS) \
7648 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7649 @endif flex
7651 .PHONY: check-flex maybe-check-flex
7652 maybe-check-flex:
7653 @if flex
7654 maybe-check-flex: check-flex
7656 # This module is only tested in a native toolchain.
7657 check-flex:
7658 @if [ '$(host)' = '$(target)' ] ; then \
7659 r=`${PWD_COMMAND}`; export r; \
7660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7661 $(SET_LIB_PATH) \
7662 $(HOST_EXPORTS) \
7663 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7666 @endif flex
7668 .PHONY: install-flex maybe-install-flex
7669 maybe-install-flex:
7670 @if flex
7671 maybe-install-flex: install-flex
7673 install-flex: installdirs
7674 @r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(SET_LIB_PATH) \
7677 $(HOST_EXPORTS) \
7678 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7680 @endif flex
7682 # Other targets (info, dvi, etc.)
7684 .PHONY: maybe-info-flex info-flex
7685 maybe-info-flex:
7686 @if flex
7687 maybe-info-flex: info-flex
7689 info-flex: \
7690 configure-flex
7691 @[ -f ./flex/Makefile ] || exit 0; \
7692 r=`${PWD_COMMAND}`; export r; \
7693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 $(SET_LIB_PATH) \
7695 $(HOST_EXPORTS) \
7696 for flag in $(EXTRA_HOST_FLAGS); do \
7697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7698 done; \
7699 echo "Doing info in flex" ; \
7700 (cd flex && \
7701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7703 "RANLIB=$${RANLIB}" \
7704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7705 info) \
7706 || exit 1
7708 @endif flex
7710 .PHONY: maybe-dvi-flex dvi-flex
7711 maybe-dvi-flex:
7712 @if flex
7713 maybe-dvi-flex: dvi-flex
7715 dvi-flex: \
7716 configure-flex
7717 @[ -f ./flex/Makefile ] || exit 0; \
7718 r=`${PWD_COMMAND}`; export r; \
7719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7720 $(SET_LIB_PATH) \
7721 $(HOST_EXPORTS) \
7722 for flag in $(EXTRA_HOST_FLAGS); do \
7723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7724 done; \
7725 echo "Doing dvi in flex" ; \
7726 (cd flex && \
7727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7729 "RANLIB=$${RANLIB}" \
7730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7731 dvi) \
7732 || exit 1
7734 @endif flex
7736 .PHONY: maybe-TAGS-flex TAGS-flex
7737 maybe-TAGS-flex:
7738 @if flex
7739 maybe-TAGS-flex: TAGS-flex
7741 TAGS-flex: \
7742 configure-flex
7743 @[ -f ./flex/Makefile ] || exit 0; \
7744 r=`${PWD_COMMAND}`; export r; \
7745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7746 $(SET_LIB_PATH) \
7747 $(HOST_EXPORTS) \
7748 for flag in $(EXTRA_HOST_FLAGS); do \
7749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750 done; \
7751 echo "Doing TAGS in flex" ; \
7752 (cd flex && \
7753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7755 "RANLIB=$${RANLIB}" \
7756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7757 TAGS) \
7758 || exit 1
7760 @endif flex
7762 .PHONY: maybe-install-info-flex install-info-flex
7763 maybe-install-info-flex:
7764 @if flex
7765 maybe-install-info-flex: install-info-flex
7767 install-info-flex: \
7768 configure-flex \
7769 info-flex
7770 @[ -f ./flex/Makefile ] || exit 0; \
7771 r=`${PWD_COMMAND}`; export r; \
7772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7773 $(SET_LIB_PATH) \
7774 $(HOST_EXPORTS) \
7775 for flag in $(EXTRA_HOST_FLAGS); do \
7776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7777 done; \
7778 echo "Doing install-info in flex" ; \
7779 (cd flex && \
7780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7782 "RANLIB=$${RANLIB}" \
7783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7784 install-info) \
7785 || exit 1
7787 @endif flex
7789 .PHONY: maybe-installcheck-flex installcheck-flex
7790 maybe-installcheck-flex:
7791 @if flex
7792 maybe-installcheck-flex: installcheck-flex
7794 installcheck-flex: \
7795 configure-flex
7796 @[ -f ./flex/Makefile ] || exit 0; \
7797 r=`${PWD_COMMAND}`; export r; \
7798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7799 $(SET_LIB_PATH) \
7800 $(HOST_EXPORTS) \
7801 for flag in $(EXTRA_HOST_FLAGS); do \
7802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803 done; \
7804 echo "Doing installcheck in flex" ; \
7805 (cd flex && \
7806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808 "RANLIB=$${RANLIB}" \
7809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7810 installcheck) \
7811 || exit 1
7813 @endif flex
7815 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7816 maybe-mostlyclean-flex:
7817 @if flex
7818 maybe-mostlyclean-flex: mostlyclean-flex
7820 mostlyclean-flex:
7821 @[ -f ./flex/Makefile ] || exit 0; \
7822 r=`${PWD_COMMAND}`; export r; \
7823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7824 $(SET_LIB_PATH) \
7825 $(HOST_EXPORTS) \
7826 for flag in $(EXTRA_HOST_FLAGS); do \
7827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7828 done; \
7829 echo "Doing mostlyclean in flex" ; \
7830 (cd flex && \
7831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7833 "RANLIB=$${RANLIB}" \
7834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7835 mostlyclean) \
7836 || exit 1
7838 @endif flex
7840 .PHONY: maybe-clean-flex clean-flex
7841 maybe-clean-flex:
7842 @if flex
7843 maybe-clean-flex: clean-flex
7845 clean-flex:
7846 @[ -f ./flex/Makefile ] || exit 0; \
7847 r=`${PWD_COMMAND}`; export r; \
7848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7849 $(SET_LIB_PATH) \
7850 $(HOST_EXPORTS) \
7851 for flag in $(EXTRA_HOST_FLAGS); do \
7852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7853 done; \
7854 echo "Doing clean in flex" ; \
7855 (cd flex && \
7856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7858 "RANLIB=$${RANLIB}" \
7859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7860 clean) \
7861 || exit 1
7863 @endif flex
7865 .PHONY: maybe-distclean-flex distclean-flex
7866 maybe-distclean-flex:
7867 @if flex
7868 maybe-distclean-flex: distclean-flex
7870 distclean-flex:
7871 @[ -f ./flex/Makefile ] || exit 0; \
7872 r=`${PWD_COMMAND}`; export r; \
7873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 $(SET_LIB_PATH) \
7875 $(HOST_EXPORTS) \
7876 for flag in $(EXTRA_HOST_FLAGS); do \
7877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7878 done; \
7879 echo "Doing distclean in flex" ; \
7880 (cd flex && \
7881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7883 "RANLIB=$${RANLIB}" \
7884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7885 distclean) \
7886 || exit 1
7888 @endif flex
7890 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7891 maybe-maintainer-clean-flex:
7892 @if flex
7893 maybe-maintainer-clean-flex: maintainer-clean-flex
7895 maintainer-clean-flex:
7896 @[ -f ./flex/Makefile ] || exit 0; \
7897 r=`${PWD_COMMAND}`; export r; \
7898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 $(SET_LIB_PATH) \
7900 $(HOST_EXPORTS) \
7901 for flag in $(EXTRA_HOST_FLAGS); do \
7902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7903 done; \
7904 echo "Doing maintainer-clean in flex" ; \
7905 (cd flex && \
7906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7908 "RANLIB=$${RANLIB}" \
7909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7910 maintainer-clean) \
7911 || exit 1
7913 @endif flex
7916 .PHONY: configure-gas maybe-configure-gas
7917 maybe-configure-gas:
7918 @if gas
7919 maybe-configure-gas: configure-gas
7920 configure-gas:
7921 @test ! -f gas/Makefile || exit 0; \
7922 [ -d gas ] || mkdir gas; \
7923 r=`${PWD_COMMAND}`; export r; \
7924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 $(HOST_EXPORTS) \
7926 echo Configuring in gas; \
7927 cd gas || exit 1; \
7928 case $(srcdir) in \
7929 \.) \
7930 srcdiroption="--srcdir=."; \
7931 libsrcdir=".";; \
7932 /* | [A-Za-z]:[\\/]*) \
7933 srcdiroption="--srcdir=$(srcdir)/gas"; \
7934 libsrcdir="$$s/gas";; \
7935 *) \
7936 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7937 libsrcdir="$$s/gas";; \
7938 esac; \
7939 $(SHELL) $${libsrcdir}/configure \
7940 $(HOST_CONFIGARGS) $${srcdiroption} \
7941 || exit 1
7942 @endif gas
7944 .PHONY: all-gas maybe-all-gas
7945 maybe-all-gas:
7946 @if gas
7947 maybe-all-gas: all-gas
7948 all-gas: configure-gas
7949 @r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 $(SET_LIB_PATH) \
7952 $(HOST_EXPORTS) \
7953 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7954 @endif gas
7956 .PHONY: check-gas maybe-check-gas
7957 maybe-check-gas:
7958 @if gas
7959 maybe-check-gas: check-gas
7961 check-gas:
7962 @r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(SET_LIB_PATH) \
7965 $(HOST_EXPORTS) \
7966 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7968 @endif gas
7970 .PHONY: install-gas maybe-install-gas
7971 maybe-install-gas:
7972 @if gas
7973 maybe-install-gas: install-gas
7975 install-gas: installdirs
7976 @r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7978 $(SET_LIB_PATH) \
7979 $(HOST_EXPORTS) \
7980 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7982 @endif gas
7984 # Other targets (info, dvi, etc.)
7986 .PHONY: maybe-info-gas info-gas
7987 maybe-info-gas:
7988 @if gas
7989 maybe-info-gas: info-gas
7991 info-gas: \
7992 configure-gas
7993 @[ -f ./gas/Makefile ] || exit 0; \
7994 r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 $(SET_LIB_PATH) \
7997 $(HOST_EXPORTS) \
7998 for flag in $(EXTRA_HOST_FLAGS); do \
7999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8000 done; \
8001 echo "Doing info in gas" ; \
8002 (cd gas && \
8003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8005 "RANLIB=$${RANLIB}" \
8006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8007 info) \
8008 || exit 1
8010 @endif gas
8012 .PHONY: maybe-dvi-gas dvi-gas
8013 maybe-dvi-gas:
8014 @if gas
8015 maybe-dvi-gas: dvi-gas
8017 dvi-gas: \
8018 configure-gas
8019 @[ -f ./gas/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022 $(SET_LIB_PATH) \
8023 $(HOST_EXPORTS) \
8024 for flag in $(EXTRA_HOST_FLAGS); do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 done; \
8027 echo "Doing dvi in gas" ; \
8028 (cd gas && \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8033 dvi) \
8034 || exit 1
8036 @endif gas
8038 .PHONY: maybe-TAGS-gas TAGS-gas
8039 maybe-TAGS-gas:
8040 @if gas
8041 maybe-TAGS-gas: TAGS-gas
8043 TAGS-gas: \
8044 configure-gas
8045 @[ -f ./gas/Makefile ] || exit 0; \
8046 r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 $(SET_LIB_PATH) \
8049 $(HOST_EXPORTS) \
8050 for flag in $(EXTRA_HOST_FLAGS); do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8052 done; \
8053 echo "Doing TAGS in gas" ; \
8054 (cd gas && \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8059 TAGS) \
8060 || exit 1
8062 @endif gas
8064 .PHONY: maybe-install-info-gas install-info-gas
8065 maybe-install-info-gas:
8066 @if gas
8067 maybe-install-info-gas: install-info-gas
8069 install-info-gas: \
8070 configure-gas \
8071 info-gas
8072 @[ -f ./gas/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 $(SET_LIB_PATH) \
8076 $(HOST_EXPORTS) \
8077 for flag in $(EXTRA_HOST_FLAGS); do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 done; \
8080 echo "Doing install-info in gas" ; \
8081 (cd gas && \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8086 install-info) \
8087 || exit 1
8089 @endif gas
8091 .PHONY: maybe-installcheck-gas installcheck-gas
8092 maybe-installcheck-gas:
8093 @if gas
8094 maybe-installcheck-gas: installcheck-gas
8096 installcheck-gas: \
8097 configure-gas
8098 @[ -f ./gas/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(SET_LIB_PATH) \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS); do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing installcheck in gas" ; \
8107 (cd gas && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 installcheck) \
8113 || exit 1
8115 @endif gas
8117 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8118 maybe-mostlyclean-gas:
8119 @if gas
8120 maybe-mostlyclean-gas: mostlyclean-gas
8122 mostlyclean-gas:
8123 @[ -f ./gas/Makefile ] || exit 0; \
8124 r=`${PWD_COMMAND}`; export r; \
8125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8126 $(SET_LIB_PATH) \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS); do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing mostlyclean in gas" ; \
8132 (cd gas && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 mostlyclean) \
8138 || exit 1
8140 @endif gas
8142 .PHONY: maybe-clean-gas clean-gas
8143 maybe-clean-gas:
8144 @if gas
8145 maybe-clean-gas: clean-gas
8147 clean-gas:
8148 @[ -f ./gas/Makefile ] || exit 0; \
8149 r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8151 $(SET_LIB_PATH) \
8152 $(HOST_EXPORTS) \
8153 for flag in $(EXTRA_HOST_FLAGS); do \
8154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8155 done; \
8156 echo "Doing clean in gas" ; \
8157 (cd gas && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8160 "RANLIB=$${RANLIB}" \
8161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8162 clean) \
8163 || exit 1
8165 @endif gas
8167 .PHONY: maybe-distclean-gas distclean-gas
8168 maybe-distclean-gas:
8169 @if gas
8170 maybe-distclean-gas: distclean-gas
8172 distclean-gas:
8173 @[ -f ./gas/Makefile ] || exit 0; \
8174 r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 $(SET_LIB_PATH) \
8177 $(HOST_EXPORTS) \
8178 for flag in $(EXTRA_HOST_FLAGS); do \
8179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8180 done; \
8181 echo "Doing distclean in gas" ; \
8182 (cd gas && \
8183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8185 "RANLIB=$${RANLIB}" \
8186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8187 distclean) \
8188 || exit 1
8190 @endif gas
8192 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8193 maybe-maintainer-clean-gas:
8194 @if gas
8195 maybe-maintainer-clean-gas: maintainer-clean-gas
8197 maintainer-clean-gas:
8198 @[ -f ./gas/Makefile ] || exit 0; \
8199 r=`${PWD_COMMAND}`; export r; \
8200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8201 $(SET_LIB_PATH) \
8202 $(HOST_EXPORTS) \
8203 for flag in $(EXTRA_HOST_FLAGS); do \
8204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8205 done; \
8206 echo "Doing maintainer-clean in gas" ; \
8207 (cd gas && \
8208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8210 "RANLIB=$${RANLIB}" \
8211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8212 maintainer-clean) \
8213 || exit 1
8215 @endif gas
8218 .PHONY: configure-gawk maybe-configure-gawk
8219 maybe-configure-gawk:
8220 @if gawk
8221 maybe-configure-gawk: configure-gawk
8222 configure-gawk:
8223 @test ! -f gawk/Makefile || exit 0; \
8224 [ -d gawk ] || mkdir gawk; \
8225 r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8227 $(HOST_EXPORTS) \
8228 echo Configuring in gawk; \
8229 cd gawk || exit 1; \
8230 case $(srcdir) in \
8231 \.) \
8232 srcdiroption="--srcdir=."; \
8233 libsrcdir=".";; \
8234 /* | [A-Za-z]:[\\/]*) \
8235 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8236 libsrcdir="$$s/gawk";; \
8237 *) \
8238 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8239 libsrcdir="$$s/gawk";; \
8240 esac; \
8241 $(SHELL) $${libsrcdir}/configure \
8242 $(HOST_CONFIGARGS) $${srcdiroption} \
8243 || exit 1
8244 @endif gawk
8246 .PHONY: all-gawk maybe-all-gawk
8247 maybe-all-gawk:
8248 @if gawk
8249 maybe-all-gawk: all-gawk
8250 all-gawk: configure-gawk
8251 @r=`${PWD_COMMAND}`; export r; \
8252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8253 $(SET_LIB_PATH) \
8254 $(HOST_EXPORTS) \
8255 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8256 @endif gawk
8258 .PHONY: check-gawk maybe-check-gawk
8259 maybe-check-gawk:
8260 @if gawk
8261 maybe-check-gawk: check-gawk
8263 check-gawk:
8264 @r=`${PWD_COMMAND}`; export r; \
8265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266 $(SET_LIB_PATH) \
8267 $(HOST_EXPORTS) \
8268 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8270 @endif gawk
8272 .PHONY: install-gawk maybe-install-gawk
8273 maybe-install-gawk:
8274 @if gawk
8275 maybe-install-gawk: install-gawk
8277 install-gawk: installdirs
8278 @r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 $(SET_LIB_PATH) \
8281 $(HOST_EXPORTS) \
8282 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8284 @endif gawk
8286 # Other targets (info, dvi, etc.)
8288 .PHONY: maybe-info-gawk info-gawk
8289 maybe-info-gawk:
8290 @if gawk
8291 maybe-info-gawk: info-gawk
8293 info-gawk: \
8294 configure-gawk
8295 @[ -f ./gawk/Makefile ] || exit 0; \
8296 r=`${PWD_COMMAND}`; export r; \
8297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8298 $(SET_LIB_PATH) \
8299 $(HOST_EXPORTS) \
8300 for flag in $(EXTRA_HOST_FLAGS); do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8302 done; \
8303 echo "Doing info in gawk" ; \
8304 (cd gawk && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8309 info) \
8310 || exit 1
8312 @endif gawk
8314 .PHONY: maybe-dvi-gawk dvi-gawk
8315 maybe-dvi-gawk:
8316 @if gawk
8317 maybe-dvi-gawk: dvi-gawk
8319 dvi-gawk: \
8320 configure-gawk
8321 @[ -f ./gawk/Makefile ] || exit 0; \
8322 r=`${PWD_COMMAND}`; export r; \
8323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8324 $(SET_LIB_PATH) \
8325 $(HOST_EXPORTS) \
8326 for flag in $(EXTRA_HOST_FLAGS); do \
8327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8328 done; \
8329 echo "Doing dvi in gawk" ; \
8330 (cd gawk && \
8331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8333 "RANLIB=$${RANLIB}" \
8334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8335 dvi) \
8336 || exit 1
8338 @endif gawk
8340 .PHONY: maybe-TAGS-gawk TAGS-gawk
8341 maybe-TAGS-gawk:
8342 @if gawk
8343 maybe-TAGS-gawk: TAGS-gawk
8345 TAGS-gawk: \
8346 configure-gawk
8347 @[ -f ./gawk/Makefile ] || exit 0; \
8348 r=`${PWD_COMMAND}`; export r; \
8349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8350 $(SET_LIB_PATH) \
8351 $(HOST_EXPORTS) \
8352 for flag in $(EXTRA_HOST_FLAGS); do \
8353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8354 done; \
8355 echo "Doing TAGS in gawk" ; \
8356 (cd gawk && \
8357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8359 "RANLIB=$${RANLIB}" \
8360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8361 TAGS) \
8362 || exit 1
8364 @endif gawk
8366 .PHONY: maybe-install-info-gawk install-info-gawk
8367 maybe-install-info-gawk:
8368 @if gawk
8369 maybe-install-info-gawk: install-info-gawk
8371 install-info-gawk: \
8372 configure-gawk \
8373 info-gawk
8374 @[ -f ./gawk/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8377 $(SET_LIB_PATH) \
8378 $(HOST_EXPORTS) \
8379 for flag in $(EXTRA_HOST_FLAGS); do \
8380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 done; \
8382 echo "Doing install-info in gawk" ; \
8383 (cd gawk && \
8384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8386 "RANLIB=$${RANLIB}" \
8387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8388 install-info) \
8389 || exit 1
8391 @endif gawk
8393 .PHONY: maybe-installcheck-gawk installcheck-gawk
8394 maybe-installcheck-gawk:
8395 @if gawk
8396 maybe-installcheck-gawk: installcheck-gawk
8398 installcheck-gawk: \
8399 configure-gawk
8400 @[ -f ./gawk/Makefile ] || exit 0; \
8401 r=`${PWD_COMMAND}`; export r; \
8402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8403 $(SET_LIB_PATH) \
8404 $(HOST_EXPORTS) \
8405 for flag in $(EXTRA_HOST_FLAGS); do \
8406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8407 done; \
8408 echo "Doing installcheck in gawk" ; \
8409 (cd gawk && \
8410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8412 "RANLIB=$${RANLIB}" \
8413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8414 installcheck) \
8415 || exit 1
8417 @endif gawk
8419 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8420 maybe-mostlyclean-gawk:
8421 @if gawk
8422 maybe-mostlyclean-gawk: mostlyclean-gawk
8424 mostlyclean-gawk:
8425 @[ -f ./gawk/Makefile ] || exit 0; \
8426 r=`${PWD_COMMAND}`; export r; \
8427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8428 $(SET_LIB_PATH) \
8429 $(HOST_EXPORTS) \
8430 for flag in $(EXTRA_HOST_FLAGS); do \
8431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8432 done; \
8433 echo "Doing mostlyclean in gawk" ; \
8434 (cd gawk && \
8435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8437 "RANLIB=$${RANLIB}" \
8438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8439 mostlyclean) \
8440 || exit 1
8442 @endif gawk
8444 .PHONY: maybe-clean-gawk clean-gawk
8445 maybe-clean-gawk:
8446 @if gawk
8447 maybe-clean-gawk: clean-gawk
8449 clean-gawk:
8450 @[ -f ./gawk/Makefile ] || exit 0; \
8451 r=`${PWD_COMMAND}`; export r; \
8452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8453 $(SET_LIB_PATH) \
8454 $(HOST_EXPORTS) \
8455 for flag in $(EXTRA_HOST_FLAGS); do \
8456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 done; \
8458 echo "Doing clean in gawk" ; \
8459 (cd gawk && \
8460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8462 "RANLIB=$${RANLIB}" \
8463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8464 clean) \
8465 || exit 1
8467 @endif gawk
8469 .PHONY: maybe-distclean-gawk distclean-gawk
8470 maybe-distclean-gawk:
8471 @if gawk
8472 maybe-distclean-gawk: distclean-gawk
8474 distclean-gawk:
8475 @[ -f ./gawk/Makefile ] || exit 0; \
8476 r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(SET_LIB_PATH) \
8479 $(HOST_EXPORTS) \
8480 for flag in $(EXTRA_HOST_FLAGS); do \
8481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8482 done; \
8483 echo "Doing distclean in gawk" ; \
8484 (cd gawk && \
8485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8487 "RANLIB=$${RANLIB}" \
8488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8489 distclean) \
8490 || exit 1
8492 @endif gawk
8494 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8495 maybe-maintainer-clean-gawk:
8496 @if gawk
8497 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8499 maintainer-clean-gawk:
8500 @[ -f ./gawk/Makefile ] || exit 0; \
8501 r=`${PWD_COMMAND}`; export r; \
8502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8503 $(SET_LIB_PATH) \
8504 $(HOST_EXPORTS) \
8505 for flag in $(EXTRA_HOST_FLAGS); do \
8506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8507 done; \
8508 echo "Doing maintainer-clean in gawk" ; \
8509 (cd gawk && \
8510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8512 "RANLIB=$${RANLIB}" \
8513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8514 maintainer-clean) \
8515 || exit 1
8517 @endif gawk
8520 .PHONY: configure-gettext maybe-configure-gettext
8521 maybe-configure-gettext:
8522 @if gettext
8523 maybe-configure-gettext: configure-gettext
8524 configure-gettext:
8525 @test ! -f gettext/Makefile || exit 0; \
8526 [ -d gettext ] || mkdir gettext; \
8527 r=`${PWD_COMMAND}`; export r; \
8528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8529 $(HOST_EXPORTS) \
8530 echo Configuring in gettext; \
8531 cd gettext || exit 1; \
8532 case $(srcdir) in \
8533 \.) \
8534 srcdiroption="--srcdir=."; \
8535 libsrcdir=".";; \
8536 /* | [A-Za-z]:[\\/]*) \
8537 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8538 libsrcdir="$$s/gettext";; \
8539 *) \
8540 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8541 libsrcdir="$$s/gettext";; \
8542 esac; \
8543 $(SHELL) $${libsrcdir}/configure \
8544 $(HOST_CONFIGARGS) $${srcdiroption} \
8545 || exit 1
8546 @endif gettext
8548 .PHONY: all-gettext maybe-all-gettext
8549 maybe-all-gettext:
8550 @if gettext
8551 maybe-all-gettext: all-gettext
8552 all-gettext: configure-gettext
8553 @r=`${PWD_COMMAND}`; export r; \
8554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8555 $(SET_LIB_PATH) \
8556 $(HOST_EXPORTS) \
8557 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8558 @endif gettext
8560 .PHONY: check-gettext maybe-check-gettext
8561 maybe-check-gettext:
8562 @if gettext
8563 maybe-check-gettext: check-gettext
8565 check-gettext:
8566 @r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(SET_LIB_PATH) \
8569 $(HOST_EXPORTS) \
8570 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8572 @endif gettext
8574 .PHONY: install-gettext maybe-install-gettext
8575 maybe-install-gettext:
8576 @if gettext
8577 maybe-install-gettext: install-gettext
8579 install-gettext: installdirs
8580 @r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(SET_LIB_PATH) \
8583 $(HOST_EXPORTS) \
8584 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8586 @endif gettext
8588 # Other targets (info, dvi, etc.)
8590 .PHONY: maybe-info-gettext info-gettext
8591 maybe-info-gettext:
8592 @if gettext
8593 maybe-info-gettext: info-gettext
8595 info-gettext: \
8596 configure-gettext
8597 @[ -f ./gettext/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(SET_LIB_PATH) \
8601 $(HOST_EXPORTS) \
8602 for flag in $(EXTRA_HOST_FLAGS); do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing info in gettext" ; \
8606 (cd gettext && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611 info) \
8612 || exit 1
8614 @endif gettext
8616 .PHONY: maybe-dvi-gettext dvi-gettext
8617 maybe-dvi-gettext:
8618 @if gettext
8619 maybe-dvi-gettext: dvi-gettext
8621 dvi-gettext: \
8622 configure-gettext
8623 @[ -f ./gettext/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(SET_LIB_PATH) \
8627 $(HOST_EXPORTS) \
8628 for flag in $(EXTRA_HOST_FLAGS); do \
8629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 done; \
8631 echo "Doing dvi in gettext" ; \
8632 (cd gettext && \
8633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8635 "RANLIB=$${RANLIB}" \
8636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8637 dvi) \
8638 || exit 1
8640 @endif gettext
8642 .PHONY: maybe-TAGS-gettext TAGS-gettext
8643 maybe-TAGS-gettext:
8644 @if gettext
8645 maybe-TAGS-gettext: TAGS-gettext
8647 TAGS-gettext: \
8648 configure-gettext
8649 @[ -f ./gettext/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(SET_LIB_PATH) \
8653 $(HOST_EXPORTS) \
8654 for flag in $(EXTRA_HOST_FLAGS); do \
8655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8656 done; \
8657 echo "Doing TAGS in gettext" ; \
8658 (cd gettext && \
8659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8661 "RANLIB=$${RANLIB}" \
8662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8663 TAGS) \
8664 || exit 1
8666 @endif gettext
8668 .PHONY: maybe-install-info-gettext install-info-gettext
8669 maybe-install-info-gettext:
8670 @if gettext
8671 maybe-install-info-gettext: install-info-gettext
8673 install-info-gettext: \
8674 configure-gettext \
8675 info-gettext
8676 @[ -f ./gettext/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(SET_LIB_PATH) \
8680 $(HOST_EXPORTS) \
8681 for flag in $(EXTRA_HOST_FLAGS); do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing install-info in gettext" ; \
8685 (cd gettext && \
8686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8688 "RANLIB=$${RANLIB}" \
8689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 install-info) \
8691 || exit 1
8693 @endif gettext
8695 .PHONY: maybe-installcheck-gettext installcheck-gettext
8696 maybe-installcheck-gettext:
8697 @if gettext
8698 maybe-installcheck-gettext: installcheck-gettext
8700 installcheck-gettext: \
8701 configure-gettext
8702 @[ -f ./gettext/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(SET_LIB_PATH) \
8706 $(HOST_EXPORTS) \
8707 for flag in $(EXTRA_HOST_FLAGS); do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709 done; \
8710 echo "Doing installcheck in gettext" ; \
8711 (cd gettext && \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716 installcheck) \
8717 || exit 1
8719 @endif gettext
8721 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
8722 maybe-mostlyclean-gettext:
8723 @if gettext
8724 maybe-mostlyclean-gettext: mostlyclean-gettext
8726 mostlyclean-gettext:
8727 @[ -f ./gettext/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(SET_LIB_PATH) \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS); do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing mostlyclean in gettext" ; \
8736 (cd gettext && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 mostlyclean) \
8742 || exit 1
8744 @endif gettext
8746 .PHONY: maybe-clean-gettext clean-gettext
8747 maybe-clean-gettext:
8748 @if gettext
8749 maybe-clean-gettext: clean-gettext
8751 clean-gettext:
8752 @[ -f ./gettext/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(SET_LIB_PATH) \
8756 $(HOST_EXPORTS) \
8757 for flag in $(EXTRA_HOST_FLAGS); do \
8758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8759 done; \
8760 echo "Doing clean in gettext" ; \
8761 (cd gettext && \
8762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8764 "RANLIB=$${RANLIB}" \
8765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8766 clean) \
8767 || exit 1
8769 @endif gettext
8771 .PHONY: maybe-distclean-gettext distclean-gettext
8772 maybe-distclean-gettext:
8773 @if gettext
8774 maybe-distclean-gettext: distclean-gettext
8776 distclean-gettext:
8777 @[ -f ./gettext/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(SET_LIB_PATH) \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS); do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing distclean in gettext" ; \
8786 (cd gettext && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 distclean) \
8792 || exit 1
8794 @endif gettext
8796 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
8797 maybe-maintainer-clean-gettext:
8798 @if gettext
8799 maybe-maintainer-clean-gettext: maintainer-clean-gettext
8801 maintainer-clean-gettext:
8802 @[ -f ./gettext/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(SET_LIB_PATH) \
8806 $(HOST_EXPORTS) \
8807 for flag in $(EXTRA_HOST_FLAGS); do \
8808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 done; \
8810 echo "Doing maintainer-clean in gettext" ; \
8811 (cd gettext && \
8812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8814 "RANLIB=$${RANLIB}" \
8815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8816 maintainer-clean) \
8817 || exit 1
8819 @endif gettext
8822 .PHONY: configure-gnuserv maybe-configure-gnuserv
8823 maybe-configure-gnuserv:
8824 @if gnuserv
8825 maybe-configure-gnuserv: configure-gnuserv
8826 configure-gnuserv:
8827 @test ! -f gnuserv/Makefile || exit 0; \
8828 [ -d gnuserv ] || mkdir gnuserv; \
8829 r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 $(HOST_EXPORTS) \
8832 echo Configuring in gnuserv; \
8833 cd gnuserv || exit 1; \
8834 case $(srcdir) in \
8835 \.) \
8836 srcdiroption="--srcdir=."; \
8837 libsrcdir=".";; \
8838 /* | [A-Za-z]:[\\/]*) \
8839 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
8840 libsrcdir="$$s/gnuserv";; \
8841 *) \
8842 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
8843 libsrcdir="$$s/gnuserv";; \
8844 esac; \
8845 $(SHELL) $${libsrcdir}/configure \
8846 $(HOST_CONFIGARGS) $${srcdiroption} \
8847 || exit 1
8848 @endif gnuserv
8850 .PHONY: all-gnuserv maybe-all-gnuserv
8851 maybe-all-gnuserv:
8852 @if gnuserv
8853 maybe-all-gnuserv: all-gnuserv
8854 all-gnuserv: configure-gnuserv
8855 @r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 $(SET_LIB_PATH) \
8858 $(HOST_EXPORTS) \
8859 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
8860 @endif gnuserv
8862 .PHONY: check-gnuserv maybe-check-gnuserv
8863 maybe-check-gnuserv:
8864 @if gnuserv
8865 maybe-check-gnuserv: check-gnuserv
8867 check-gnuserv:
8868 @r=`${PWD_COMMAND}`; export r; \
8869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8870 $(SET_LIB_PATH) \
8871 $(HOST_EXPORTS) \
8872 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8874 @endif gnuserv
8876 .PHONY: install-gnuserv maybe-install-gnuserv
8877 maybe-install-gnuserv:
8878 @if gnuserv
8879 maybe-install-gnuserv: install-gnuserv
8881 install-gnuserv: installdirs
8882 @r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8884 $(SET_LIB_PATH) \
8885 $(HOST_EXPORTS) \
8886 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8888 @endif gnuserv
8890 # Other targets (info, dvi, etc.)
8892 .PHONY: maybe-info-gnuserv info-gnuserv
8893 maybe-info-gnuserv:
8894 @if gnuserv
8895 maybe-info-gnuserv: info-gnuserv
8897 info-gnuserv: \
8898 configure-gnuserv
8899 @[ -f ./gnuserv/Makefile ] || exit 0; \
8900 r=`${PWD_COMMAND}`; export r; \
8901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8902 $(SET_LIB_PATH) \
8903 $(HOST_EXPORTS) \
8904 for flag in $(EXTRA_HOST_FLAGS); do \
8905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8906 done; \
8907 echo "Doing info in gnuserv" ; \
8908 (cd gnuserv && \
8909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8911 "RANLIB=$${RANLIB}" \
8912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8913 info) \
8914 || exit 1
8916 @endif gnuserv
8918 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8919 maybe-dvi-gnuserv:
8920 @if gnuserv
8921 maybe-dvi-gnuserv: dvi-gnuserv
8923 dvi-gnuserv: \
8924 configure-gnuserv
8925 @[ -f ./gnuserv/Makefile ] || exit 0; \
8926 r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(SET_LIB_PATH) \
8929 $(HOST_EXPORTS) \
8930 for flag in $(EXTRA_HOST_FLAGS); do \
8931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8932 done; \
8933 echo "Doing dvi in gnuserv" ; \
8934 (cd gnuserv && \
8935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8937 "RANLIB=$${RANLIB}" \
8938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8939 dvi) \
8940 || exit 1
8942 @endif gnuserv
8944 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8945 maybe-TAGS-gnuserv:
8946 @if gnuserv
8947 maybe-TAGS-gnuserv: TAGS-gnuserv
8949 TAGS-gnuserv: \
8950 configure-gnuserv
8951 @[ -f ./gnuserv/Makefile ] || exit 0; \
8952 r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 $(SET_LIB_PATH) \
8955 $(HOST_EXPORTS) \
8956 for flag in $(EXTRA_HOST_FLAGS); do \
8957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8958 done; \
8959 echo "Doing TAGS in gnuserv" ; \
8960 (cd gnuserv && \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8963 "RANLIB=$${RANLIB}" \
8964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8965 TAGS) \
8966 || exit 1
8968 @endif gnuserv
8970 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8971 maybe-install-info-gnuserv:
8972 @if gnuserv
8973 maybe-install-info-gnuserv: install-info-gnuserv
8975 install-info-gnuserv: \
8976 configure-gnuserv \
8977 info-gnuserv
8978 @[ -f ./gnuserv/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(SET_LIB_PATH) \
8982 $(HOST_EXPORTS) \
8983 for flag in $(EXTRA_HOST_FLAGS); do \
8984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985 done; \
8986 echo "Doing install-info in gnuserv" ; \
8987 (cd gnuserv && \
8988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990 "RANLIB=$${RANLIB}" \
8991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8992 install-info) \
8993 || exit 1
8995 @endif gnuserv
8997 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8998 maybe-installcheck-gnuserv:
8999 @if gnuserv
9000 maybe-installcheck-gnuserv: installcheck-gnuserv
9002 installcheck-gnuserv: \
9003 configure-gnuserv
9004 @[ -f ./gnuserv/Makefile ] || exit 0; \
9005 r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007 $(SET_LIB_PATH) \
9008 $(HOST_EXPORTS) \
9009 for flag in $(EXTRA_HOST_FLAGS); do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 done; \
9012 echo "Doing installcheck in gnuserv" ; \
9013 (cd gnuserv && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 installcheck) \
9019 || exit 1
9021 @endif gnuserv
9023 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9024 maybe-mostlyclean-gnuserv:
9025 @if gnuserv
9026 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9028 mostlyclean-gnuserv:
9029 @[ -f ./gnuserv/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(SET_LIB_PATH) \
9033 $(HOST_EXPORTS) \
9034 for flag in $(EXTRA_HOST_FLAGS); do \
9035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9036 done; \
9037 echo "Doing mostlyclean in gnuserv" ; \
9038 (cd gnuserv && \
9039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9041 "RANLIB=$${RANLIB}" \
9042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9043 mostlyclean) \
9044 || exit 1
9046 @endif gnuserv
9048 .PHONY: maybe-clean-gnuserv clean-gnuserv
9049 maybe-clean-gnuserv:
9050 @if gnuserv
9051 maybe-clean-gnuserv: clean-gnuserv
9053 clean-gnuserv:
9054 @[ -f ./gnuserv/Makefile ] || exit 0; \
9055 r=`${PWD_COMMAND}`; export r; \
9056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 $(SET_LIB_PATH) \
9058 $(HOST_EXPORTS) \
9059 for flag in $(EXTRA_HOST_FLAGS); do \
9060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9061 done; \
9062 echo "Doing clean in gnuserv" ; \
9063 (cd gnuserv && \
9064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9066 "RANLIB=$${RANLIB}" \
9067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9068 clean) \
9069 || exit 1
9071 @endif gnuserv
9073 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9074 maybe-distclean-gnuserv:
9075 @if gnuserv
9076 maybe-distclean-gnuserv: distclean-gnuserv
9078 distclean-gnuserv:
9079 @[ -f ./gnuserv/Makefile ] || exit 0; \
9080 r=`${PWD_COMMAND}`; export r; \
9081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9082 $(SET_LIB_PATH) \
9083 $(HOST_EXPORTS) \
9084 for flag in $(EXTRA_HOST_FLAGS); do \
9085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9086 done; \
9087 echo "Doing distclean in gnuserv" ; \
9088 (cd gnuserv && \
9089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9091 "RANLIB=$${RANLIB}" \
9092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9093 distclean) \
9094 || exit 1
9096 @endif gnuserv
9098 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9099 maybe-maintainer-clean-gnuserv:
9100 @if gnuserv
9101 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9103 maintainer-clean-gnuserv:
9104 @[ -f ./gnuserv/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(SET_LIB_PATH) \
9108 $(HOST_EXPORTS) \
9109 for flag in $(EXTRA_HOST_FLAGS); do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 done; \
9112 echo "Doing maintainer-clean in gnuserv" ; \
9113 (cd gnuserv && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 maintainer-clean) \
9119 || exit 1
9121 @endif gnuserv
9124 .PHONY: configure-gprof maybe-configure-gprof
9125 maybe-configure-gprof:
9126 @if gprof
9127 maybe-configure-gprof: configure-gprof
9128 configure-gprof:
9129 @test ! -f gprof/Makefile || exit 0; \
9130 [ -d gprof ] || mkdir gprof; \
9131 r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 echo Configuring in gprof; \
9135 cd gprof || exit 1; \
9136 case $(srcdir) in \
9137 \.) \
9138 srcdiroption="--srcdir=."; \
9139 libsrcdir=".";; \
9140 /* | [A-Za-z]:[\\/]*) \
9141 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9142 libsrcdir="$$s/gprof";; \
9143 *) \
9144 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9145 libsrcdir="$$s/gprof";; \
9146 esac; \
9147 $(SHELL) $${libsrcdir}/configure \
9148 $(HOST_CONFIGARGS) $${srcdiroption} \
9149 || exit 1
9150 @endif gprof
9152 .PHONY: all-gprof maybe-all-gprof
9153 maybe-all-gprof:
9154 @if gprof
9155 maybe-all-gprof: all-gprof
9156 all-gprof: configure-gprof
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(SET_LIB_PATH) \
9160 $(HOST_EXPORTS) \
9161 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9162 @endif gprof
9164 .PHONY: check-gprof maybe-check-gprof
9165 maybe-check-gprof:
9166 @if gprof
9167 maybe-check-gprof: check-gprof
9169 check-gprof:
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(SET_LIB_PATH) \
9173 $(HOST_EXPORTS) \
9174 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9176 @endif gprof
9178 .PHONY: install-gprof maybe-install-gprof
9179 maybe-install-gprof:
9180 @if gprof
9181 maybe-install-gprof: install-gprof
9183 install-gprof: installdirs
9184 @r=`${PWD_COMMAND}`; export r; \
9185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9186 $(SET_LIB_PATH) \
9187 $(HOST_EXPORTS) \
9188 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9190 @endif gprof
9192 # Other targets (info, dvi, etc.)
9194 .PHONY: maybe-info-gprof info-gprof
9195 maybe-info-gprof:
9196 @if gprof
9197 maybe-info-gprof: info-gprof
9199 info-gprof: \
9200 configure-gprof
9201 @[ -f ./gprof/Makefile ] || exit 0; \
9202 r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204 $(SET_LIB_PATH) \
9205 $(HOST_EXPORTS) \
9206 for flag in $(EXTRA_HOST_FLAGS); do \
9207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 done; \
9209 echo "Doing info in gprof" ; \
9210 (cd gprof && \
9211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9213 "RANLIB=$${RANLIB}" \
9214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9215 info) \
9216 || exit 1
9218 @endif gprof
9220 .PHONY: maybe-dvi-gprof dvi-gprof
9221 maybe-dvi-gprof:
9222 @if gprof
9223 maybe-dvi-gprof: dvi-gprof
9225 dvi-gprof: \
9226 configure-gprof
9227 @[ -f ./gprof/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(SET_LIB_PATH) \
9231 $(HOST_EXPORTS) \
9232 for flag in $(EXTRA_HOST_FLAGS); do \
9233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9234 done; \
9235 echo "Doing dvi in gprof" ; \
9236 (cd gprof && \
9237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9239 "RANLIB=$${RANLIB}" \
9240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9241 dvi) \
9242 || exit 1
9244 @endif gprof
9246 .PHONY: maybe-TAGS-gprof TAGS-gprof
9247 maybe-TAGS-gprof:
9248 @if gprof
9249 maybe-TAGS-gprof: TAGS-gprof
9251 TAGS-gprof: \
9252 configure-gprof
9253 @[ -f ./gprof/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(SET_LIB_PATH) \
9257 $(HOST_EXPORTS) \
9258 for flag in $(EXTRA_HOST_FLAGS); do \
9259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9260 done; \
9261 echo "Doing TAGS in gprof" ; \
9262 (cd gprof && \
9263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9265 "RANLIB=$${RANLIB}" \
9266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9267 TAGS) \
9268 || exit 1
9270 @endif gprof
9272 .PHONY: maybe-install-info-gprof install-info-gprof
9273 maybe-install-info-gprof:
9274 @if gprof
9275 maybe-install-info-gprof: install-info-gprof
9277 install-info-gprof: \
9278 configure-gprof \
9279 info-gprof
9280 @[ -f ./gprof/Makefile ] || exit 0; \
9281 r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 $(SET_LIB_PATH) \
9284 $(HOST_EXPORTS) \
9285 for flag in $(EXTRA_HOST_FLAGS); do \
9286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9287 done; \
9288 echo "Doing install-info in gprof" ; \
9289 (cd gprof && \
9290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9292 "RANLIB=$${RANLIB}" \
9293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 install-info) \
9295 || exit 1
9297 @endif gprof
9299 .PHONY: maybe-installcheck-gprof installcheck-gprof
9300 maybe-installcheck-gprof:
9301 @if gprof
9302 maybe-installcheck-gprof: installcheck-gprof
9304 installcheck-gprof: \
9305 configure-gprof
9306 @[ -f ./gprof/Makefile ] || exit 0; \
9307 r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9309 $(SET_LIB_PATH) \
9310 $(HOST_EXPORTS) \
9311 for flag in $(EXTRA_HOST_FLAGS); do \
9312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 done; \
9314 echo "Doing installcheck in gprof" ; \
9315 (cd gprof && \
9316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9318 "RANLIB=$${RANLIB}" \
9319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 installcheck) \
9321 || exit 1
9323 @endif gprof
9325 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9326 maybe-mostlyclean-gprof:
9327 @if gprof
9328 maybe-mostlyclean-gprof: mostlyclean-gprof
9330 mostlyclean-gprof:
9331 @[ -f ./gprof/Makefile ] || exit 0; \
9332 r=`${PWD_COMMAND}`; export r; \
9333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9334 $(SET_LIB_PATH) \
9335 $(HOST_EXPORTS) \
9336 for flag in $(EXTRA_HOST_FLAGS); do \
9337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9338 done; \
9339 echo "Doing mostlyclean in gprof" ; \
9340 (cd gprof && \
9341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9343 "RANLIB=$${RANLIB}" \
9344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9345 mostlyclean) \
9346 || exit 1
9348 @endif gprof
9350 .PHONY: maybe-clean-gprof clean-gprof
9351 maybe-clean-gprof:
9352 @if gprof
9353 maybe-clean-gprof: clean-gprof
9355 clean-gprof:
9356 @[ -f ./gprof/Makefile ] || exit 0; \
9357 r=`${PWD_COMMAND}`; export r; \
9358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9359 $(SET_LIB_PATH) \
9360 $(HOST_EXPORTS) \
9361 for flag in $(EXTRA_HOST_FLAGS); do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363 done; \
9364 echo "Doing clean in gprof" ; \
9365 (cd gprof && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 clean) \
9371 || exit 1
9373 @endif gprof
9375 .PHONY: maybe-distclean-gprof distclean-gprof
9376 maybe-distclean-gprof:
9377 @if gprof
9378 maybe-distclean-gprof: distclean-gprof
9380 distclean-gprof:
9381 @[ -f ./gprof/Makefile ] || exit 0; \
9382 r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 $(SET_LIB_PATH) \
9385 $(HOST_EXPORTS) \
9386 for flag in $(EXTRA_HOST_FLAGS); do \
9387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9388 done; \
9389 echo "Doing distclean in gprof" ; \
9390 (cd gprof && \
9391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9393 "RANLIB=$${RANLIB}" \
9394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9395 distclean) \
9396 || exit 1
9398 @endif gprof
9400 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9401 maybe-maintainer-clean-gprof:
9402 @if gprof
9403 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9405 maintainer-clean-gprof:
9406 @[ -f ./gprof/Makefile ] || exit 0; \
9407 r=`${PWD_COMMAND}`; export r; \
9408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 $(SET_LIB_PATH) \
9410 $(HOST_EXPORTS) \
9411 for flag in $(EXTRA_HOST_FLAGS); do \
9412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9413 done; \
9414 echo "Doing maintainer-clean in gprof" ; \
9415 (cd gprof && \
9416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9418 "RANLIB=$${RANLIB}" \
9419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9420 maintainer-clean) \
9421 || exit 1
9423 @endif gprof
9426 .PHONY: configure-gzip maybe-configure-gzip
9427 maybe-configure-gzip:
9428 @if gzip
9429 maybe-configure-gzip: configure-gzip
9430 configure-gzip:
9431 @test ! -f gzip/Makefile || exit 0; \
9432 [ -d gzip ] || mkdir gzip; \
9433 r=`${PWD_COMMAND}`; export r; \
9434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9435 $(HOST_EXPORTS) \
9436 echo Configuring in gzip; \
9437 cd gzip || exit 1; \
9438 case $(srcdir) in \
9439 \.) \
9440 srcdiroption="--srcdir=."; \
9441 libsrcdir=".";; \
9442 /* | [A-Za-z]:[\\/]*) \
9443 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9444 libsrcdir="$$s/gzip";; \
9445 *) \
9446 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9447 libsrcdir="$$s/gzip";; \
9448 esac; \
9449 $(SHELL) $${libsrcdir}/configure \
9450 $(HOST_CONFIGARGS) $${srcdiroption} \
9451 || exit 1
9452 @endif gzip
9454 .PHONY: all-gzip maybe-all-gzip
9455 maybe-all-gzip:
9456 @if gzip
9457 maybe-all-gzip: all-gzip
9458 all-gzip: configure-gzip
9459 @r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 $(SET_LIB_PATH) \
9462 $(HOST_EXPORTS) \
9463 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9464 @endif gzip
9466 .PHONY: check-gzip maybe-check-gzip
9467 maybe-check-gzip:
9468 @if gzip
9469 maybe-check-gzip: check-gzip
9471 check-gzip:
9472 @r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(SET_LIB_PATH) \
9475 $(HOST_EXPORTS) \
9476 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9478 @endif gzip
9480 .PHONY: install-gzip maybe-install-gzip
9481 maybe-install-gzip:
9482 @if gzip
9483 maybe-install-gzip: install-gzip
9485 install-gzip: installdirs
9486 @r=`${PWD_COMMAND}`; export r; \
9487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9488 $(SET_LIB_PATH) \
9489 $(HOST_EXPORTS) \
9490 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9492 @endif gzip
9494 # Other targets (info, dvi, etc.)
9496 .PHONY: maybe-info-gzip info-gzip
9497 maybe-info-gzip:
9498 @if gzip
9499 maybe-info-gzip: info-gzip
9501 info-gzip: \
9502 configure-gzip
9503 @[ -f ./gzip/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(SET_LIB_PATH) \
9507 $(HOST_EXPORTS) \
9508 for flag in $(EXTRA_HOST_FLAGS); do \
9509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9510 done; \
9511 echo "Doing info in gzip" ; \
9512 (cd gzip && \
9513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9515 "RANLIB=$${RANLIB}" \
9516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9517 info) \
9518 || exit 1
9520 @endif gzip
9522 .PHONY: maybe-dvi-gzip dvi-gzip
9523 maybe-dvi-gzip:
9524 @if gzip
9525 maybe-dvi-gzip: dvi-gzip
9527 dvi-gzip: \
9528 configure-gzip
9529 @[ -f ./gzip/Makefile ] || exit 0; \
9530 r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 $(SET_LIB_PATH) \
9533 $(HOST_EXPORTS) \
9534 for flag in $(EXTRA_HOST_FLAGS); do \
9535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9536 done; \
9537 echo "Doing dvi in gzip" ; \
9538 (cd gzip && \
9539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9541 "RANLIB=$${RANLIB}" \
9542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9543 dvi) \
9544 || exit 1
9546 @endif gzip
9548 .PHONY: maybe-TAGS-gzip TAGS-gzip
9549 maybe-TAGS-gzip:
9550 @if gzip
9551 maybe-TAGS-gzip: TAGS-gzip
9553 TAGS-gzip: \
9554 configure-gzip
9555 @[ -f ./gzip/Makefile ] || exit 0; \
9556 r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(SET_LIB_PATH) \
9559 $(HOST_EXPORTS) \
9560 for flag in $(EXTRA_HOST_FLAGS); do \
9561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9562 done; \
9563 echo "Doing TAGS in gzip" ; \
9564 (cd gzip && \
9565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9567 "RANLIB=$${RANLIB}" \
9568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9569 TAGS) \
9570 || exit 1
9572 @endif gzip
9574 .PHONY: maybe-install-info-gzip install-info-gzip
9575 maybe-install-info-gzip:
9576 @if gzip
9577 maybe-install-info-gzip: install-info-gzip
9579 install-info-gzip: \
9580 configure-gzip \
9581 info-gzip
9582 @[ -f ./gzip/Makefile ] || exit 0; \
9583 r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 $(SET_LIB_PATH) \
9586 $(HOST_EXPORTS) \
9587 for flag in $(EXTRA_HOST_FLAGS); do \
9588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9589 done; \
9590 echo "Doing install-info in gzip" ; \
9591 (cd gzip && \
9592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9594 "RANLIB=$${RANLIB}" \
9595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9596 install-info) \
9597 || exit 1
9599 @endif gzip
9601 .PHONY: maybe-installcheck-gzip installcheck-gzip
9602 maybe-installcheck-gzip:
9603 @if gzip
9604 maybe-installcheck-gzip: installcheck-gzip
9606 installcheck-gzip: \
9607 configure-gzip
9608 @[ -f ./gzip/Makefile ] || exit 0; \
9609 r=`${PWD_COMMAND}`; export r; \
9610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9611 $(SET_LIB_PATH) \
9612 $(HOST_EXPORTS) \
9613 for flag in $(EXTRA_HOST_FLAGS); do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing installcheck in gzip" ; \
9617 (cd gzip && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 installcheck) \
9623 || exit 1
9625 @endif gzip
9627 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9628 maybe-mostlyclean-gzip:
9629 @if gzip
9630 maybe-mostlyclean-gzip: mostlyclean-gzip
9632 mostlyclean-gzip:
9633 @[ -f ./gzip/Makefile ] || exit 0; \
9634 r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 $(SET_LIB_PATH) \
9637 $(HOST_EXPORTS) \
9638 for flag in $(EXTRA_HOST_FLAGS); do \
9639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9640 done; \
9641 echo "Doing mostlyclean in gzip" ; \
9642 (cd gzip && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9645 "RANLIB=$${RANLIB}" \
9646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9647 mostlyclean) \
9648 || exit 1
9650 @endif gzip
9652 .PHONY: maybe-clean-gzip clean-gzip
9653 maybe-clean-gzip:
9654 @if gzip
9655 maybe-clean-gzip: clean-gzip
9657 clean-gzip:
9658 @[ -f ./gzip/Makefile ] || exit 0; \
9659 r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(SET_LIB_PATH) \
9662 $(HOST_EXPORTS) \
9663 for flag in $(EXTRA_HOST_FLAGS); do \
9664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9665 done; \
9666 echo "Doing clean in gzip" ; \
9667 (cd gzip && \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670 "RANLIB=$${RANLIB}" \
9671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9672 clean) \
9673 || exit 1
9675 @endif gzip
9677 .PHONY: maybe-distclean-gzip distclean-gzip
9678 maybe-distclean-gzip:
9679 @if gzip
9680 maybe-distclean-gzip: distclean-gzip
9682 distclean-gzip:
9683 @[ -f ./gzip/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(SET_LIB_PATH) \
9687 $(HOST_EXPORTS) \
9688 for flag in $(EXTRA_HOST_FLAGS); do \
9689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9690 done; \
9691 echo "Doing distclean in gzip" ; \
9692 (cd gzip && \
9693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9695 "RANLIB=$${RANLIB}" \
9696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9697 distclean) \
9698 || exit 1
9700 @endif gzip
9702 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
9703 maybe-maintainer-clean-gzip:
9704 @if gzip
9705 maybe-maintainer-clean-gzip: maintainer-clean-gzip
9707 maintainer-clean-gzip:
9708 @[ -f ./gzip/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 $(SET_LIB_PATH) \
9712 $(HOST_EXPORTS) \
9713 for flag in $(EXTRA_HOST_FLAGS); do \
9714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9715 done; \
9716 echo "Doing maintainer-clean in gzip" ; \
9717 (cd gzip && \
9718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720 "RANLIB=$${RANLIB}" \
9721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9722 maintainer-clean) \
9723 || exit 1
9725 @endif gzip
9728 .PHONY: configure-hello maybe-configure-hello
9729 maybe-configure-hello:
9730 @if hello
9731 maybe-configure-hello: configure-hello
9732 configure-hello:
9733 @test ! -f hello/Makefile || exit 0; \
9734 [ -d hello ] || mkdir hello; \
9735 r=`${PWD_COMMAND}`; export r; \
9736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 $(HOST_EXPORTS) \
9738 echo Configuring in hello; \
9739 cd hello || exit 1; \
9740 case $(srcdir) in \
9741 \.) \
9742 srcdiroption="--srcdir=."; \
9743 libsrcdir=".";; \
9744 /* | [A-Za-z]:[\\/]*) \
9745 srcdiroption="--srcdir=$(srcdir)/hello"; \
9746 libsrcdir="$$s/hello";; \
9747 *) \
9748 srcdiroption="--srcdir=../$(srcdir)/hello"; \
9749 libsrcdir="$$s/hello";; \
9750 esac; \
9751 $(SHELL) $${libsrcdir}/configure \
9752 $(HOST_CONFIGARGS) $${srcdiroption} \
9753 || exit 1
9754 @endif hello
9756 .PHONY: all-hello maybe-all-hello
9757 maybe-all-hello:
9758 @if hello
9759 maybe-all-hello: all-hello
9760 all-hello: configure-hello
9761 @r=`${PWD_COMMAND}`; export r; \
9762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9763 $(SET_LIB_PATH) \
9764 $(HOST_EXPORTS) \
9765 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
9766 @endif hello
9768 .PHONY: check-hello maybe-check-hello
9769 maybe-check-hello:
9770 @if hello
9771 maybe-check-hello: check-hello
9773 check-hello:
9774 @r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 $(SET_LIB_PATH) \
9777 $(HOST_EXPORTS) \
9778 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
9780 @endif hello
9782 .PHONY: install-hello maybe-install-hello
9783 maybe-install-hello:
9784 @if hello
9785 maybe-install-hello: install-hello
9787 install-hello: installdirs
9788 @r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(SET_LIB_PATH) \
9791 $(HOST_EXPORTS) \
9792 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
9794 @endif hello
9796 # Other targets (info, dvi, etc.)
9798 .PHONY: maybe-info-hello info-hello
9799 maybe-info-hello:
9800 @if hello
9801 maybe-info-hello: info-hello
9803 info-hello: \
9804 configure-hello
9805 @[ -f ./hello/Makefile ] || exit 0; \
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808 $(SET_LIB_PATH) \
9809 $(HOST_EXPORTS) \
9810 for flag in $(EXTRA_HOST_FLAGS); do \
9811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9812 done; \
9813 echo "Doing info in hello" ; \
9814 (cd hello && \
9815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9817 "RANLIB=$${RANLIB}" \
9818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9819 info) \
9820 || exit 1
9822 @endif hello
9824 .PHONY: maybe-dvi-hello dvi-hello
9825 maybe-dvi-hello:
9826 @if hello
9827 maybe-dvi-hello: dvi-hello
9829 dvi-hello: \
9830 configure-hello
9831 @[ -f ./hello/Makefile ] || exit 0; \
9832 r=`${PWD_COMMAND}`; export r; \
9833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834 $(SET_LIB_PATH) \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS); do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing dvi in hello" ; \
9840 (cd hello && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 dvi) \
9846 || exit 1
9848 @endif hello
9850 .PHONY: maybe-TAGS-hello TAGS-hello
9851 maybe-TAGS-hello:
9852 @if hello
9853 maybe-TAGS-hello: TAGS-hello
9855 TAGS-hello: \
9856 configure-hello
9857 @[ -f ./hello/Makefile ] || exit 0; \
9858 r=`${PWD_COMMAND}`; export r; \
9859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9860 $(SET_LIB_PATH) \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS); do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing TAGS in hello" ; \
9866 (cd hello && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9871 TAGS) \
9872 || exit 1
9874 @endif hello
9876 .PHONY: maybe-install-info-hello install-info-hello
9877 maybe-install-info-hello:
9878 @if hello
9879 maybe-install-info-hello: install-info-hello
9881 install-info-hello: \
9882 configure-hello \
9883 info-hello
9884 @[ -f ./hello/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(SET_LIB_PATH) \
9888 $(HOST_EXPORTS) \
9889 for flag in $(EXTRA_HOST_FLAGS); do \
9890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9891 done; \
9892 echo "Doing install-info in hello" ; \
9893 (cd hello && \
9894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9896 "RANLIB=$${RANLIB}" \
9897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 install-info) \
9899 || exit 1
9901 @endif hello
9903 .PHONY: maybe-installcheck-hello installcheck-hello
9904 maybe-installcheck-hello:
9905 @if hello
9906 maybe-installcheck-hello: installcheck-hello
9908 installcheck-hello: \
9909 configure-hello
9910 @[ -f ./hello/Makefile ] || exit 0; \
9911 r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 $(SET_LIB_PATH) \
9914 $(HOST_EXPORTS) \
9915 for flag in $(EXTRA_HOST_FLAGS); do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 echo "Doing installcheck in hello" ; \
9919 (cd hello && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924 installcheck) \
9925 || exit 1
9927 @endif hello
9929 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
9930 maybe-mostlyclean-hello:
9931 @if hello
9932 maybe-mostlyclean-hello: mostlyclean-hello
9934 mostlyclean-hello:
9935 @[ -f ./hello/Makefile ] || exit 0; \
9936 r=`${PWD_COMMAND}`; export r; \
9937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 $(SET_LIB_PATH) \
9939 $(HOST_EXPORTS) \
9940 for flag in $(EXTRA_HOST_FLAGS); do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942 done; \
9943 echo "Doing mostlyclean in hello" ; \
9944 (cd hello && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9949 mostlyclean) \
9950 || exit 1
9952 @endif hello
9954 .PHONY: maybe-clean-hello clean-hello
9955 maybe-clean-hello:
9956 @if hello
9957 maybe-clean-hello: clean-hello
9959 clean-hello:
9960 @[ -f ./hello/Makefile ] || exit 0; \
9961 r=`${PWD_COMMAND}`; export r; \
9962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9963 $(SET_LIB_PATH) \
9964 $(HOST_EXPORTS) \
9965 for flag in $(EXTRA_HOST_FLAGS); do \
9966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9967 done; \
9968 echo "Doing clean in hello" ; \
9969 (cd hello && \
9970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9972 "RANLIB=$${RANLIB}" \
9973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9974 clean) \
9975 || exit 1
9977 @endif hello
9979 .PHONY: maybe-distclean-hello distclean-hello
9980 maybe-distclean-hello:
9981 @if hello
9982 maybe-distclean-hello: distclean-hello
9984 distclean-hello:
9985 @[ -f ./hello/Makefile ] || exit 0; \
9986 r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(SET_LIB_PATH) \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS); do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing distclean in hello" ; \
9994 (cd hello && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9999 distclean) \
10000 || exit 1
10002 @endif hello
10004 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10005 maybe-maintainer-clean-hello:
10006 @if hello
10007 maybe-maintainer-clean-hello: maintainer-clean-hello
10009 maintainer-clean-hello:
10010 @[ -f ./hello/Makefile ] || exit 0; \
10011 r=`${PWD_COMMAND}`; export r; \
10012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10013 $(SET_LIB_PATH) \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS); do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing maintainer-clean in hello" ; \
10019 (cd hello && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 maintainer-clean) \
10025 || exit 1
10027 @endif hello
10030 .PHONY: configure-indent maybe-configure-indent
10031 maybe-configure-indent:
10032 @if indent
10033 maybe-configure-indent: configure-indent
10034 configure-indent:
10035 @test ! -f indent/Makefile || exit 0; \
10036 [ -d indent ] || mkdir indent; \
10037 r=`${PWD_COMMAND}`; export r; \
10038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 $(HOST_EXPORTS) \
10040 echo Configuring in indent; \
10041 cd indent || exit 1; \
10042 case $(srcdir) in \
10043 \.) \
10044 srcdiroption="--srcdir=."; \
10045 libsrcdir=".";; \
10046 /* | [A-Za-z]:[\\/]*) \
10047 srcdiroption="--srcdir=$(srcdir)/indent"; \
10048 libsrcdir="$$s/indent";; \
10049 *) \
10050 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10051 libsrcdir="$$s/indent";; \
10052 esac; \
10053 $(SHELL) $${libsrcdir}/configure \
10054 $(HOST_CONFIGARGS) $${srcdiroption} \
10055 || exit 1
10056 @endif indent
10058 .PHONY: all-indent maybe-all-indent
10059 maybe-all-indent:
10060 @if indent
10061 maybe-all-indent: all-indent
10062 all-indent: configure-indent
10063 @r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 $(SET_LIB_PATH) \
10066 $(HOST_EXPORTS) \
10067 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10068 @endif indent
10070 .PHONY: check-indent maybe-check-indent
10071 maybe-check-indent:
10072 @if indent
10073 maybe-check-indent: check-indent
10075 check-indent:
10076 @r=`${PWD_COMMAND}`; export r; \
10077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10078 $(SET_LIB_PATH) \
10079 $(HOST_EXPORTS) \
10080 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10082 @endif indent
10084 .PHONY: install-indent maybe-install-indent
10085 maybe-install-indent:
10086 @if indent
10087 maybe-install-indent: install-indent
10089 install-indent: installdirs
10090 @r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(SET_LIB_PATH) \
10093 $(HOST_EXPORTS) \
10094 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10096 @endif indent
10098 # Other targets (info, dvi, etc.)
10100 .PHONY: maybe-info-indent info-indent
10101 maybe-info-indent:
10102 @if indent
10103 maybe-info-indent: info-indent
10105 info-indent: \
10106 configure-indent
10107 @[ -f ./indent/Makefile ] || exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(SET_LIB_PATH) \
10111 $(HOST_EXPORTS) \
10112 for flag in $(EXTRA_HOST_FLAGS); do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 done; \
10115 echo "Doing info in indent" ; \
10116 (cd indent && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10121 info) \
10122 || exit 1
10124 @endif indent
10126 .PHONY: maybe-dvi-indent dvi-indent
10127 maybe-dvi-indent:
10128 @if indent
10129 maybe-dvi-indent: dvi-indent
10131 dvi-indent: \
10132 configure-indent
10133 @[ -f ./indent/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(SET_LIB_PATH) \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS); do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing dvi in indent" ; \
10142 (cd indent && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10147 dvi) \
10148 || exit 1
10150 @endif indent
10152 .PHONY: maybe-TAGS-indent TAGS-indent
10153 maybe-TAGS-indent:
10154 @if indent
10155 maybe-TAGS-indent: TAGS-indent
10157 TAGS-indent: \
10158 configure-indent
10159 @[ -f ./indent/Makefile ] || exit 0; \
10160 r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 $(SET_LIB_PATH) \
10163 $(HOST_EXPORTS) \
10164 for flag in $(EXTRA_HOST_FLAGS); do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166 done; \
10167 echo "Doing TAGS in indent" ; \
10168 (cd indent && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 TAGS) \
10174 || exit 1
10176 @endif indent
10178 .PHONY: maybe-install-info-indent install-info-indent
10179 maybe-install-info-indent:
10180 @if indent
10181 maybe-install-info-indent: install-info-indent
10183 install-info-indent: \
10184 configure-indent \
10185 info-indent
10186 @[ -f ./indent/Makefile ] || exit 0; \
10187 r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(SET_LIB_PATH) \
10190 $(HOST_EXPORTS) \
10191 for flag in $(EXTRA_HOST_FLAGS); do \
10192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10193 done; \
10194 echo "Doing install-info in indent" ; \
10195 (cd indent && \
10196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10198 "RANLIB=$${RANLIB}" \
10199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10200 install-info) \
10201 || exit 1
10203 @endif indent
10205 .PHONY: maybe-installcheck-indent installcheck-indent
10206 maybe-installcheck-indent:
10207 @if indent
10208 maybe-installcheck-indent: installcheck-indent
10210 installcheck-indent: \
10211 configure-indent
10212 @[ -f ./indent/Makefile ] || exit 0; \
10213 r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(SET_LIB_PATH) \
10216 $(HOST_EXPORTS) \
10217 for flag in $(EXTRA_HOST_FLAGS); do \
10218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10219 done; \
10220 echo "Doing installcheck in indent" ; \
10221 (cd indent && \
10222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10224 "RANLIB=$${RANLIB}" \
10225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10226 installcheck) \
10227 || exit 1
10229 @endif indent
10231 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10232 maybe-mostlyclean-indent:
10233 @if indent
10234 maybe-mostlyclean-indent: mostlyclean-indent
10236 mostlyclean-indent:
10237 @[ -f ./indent/Makefile ] || exit 0; \
10238 r=`${PWD_COMMAND}`; export r; \
10239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10240 $(SET_LIB_PATH) \
10241 $(HOST_EXPORTS) \
10242 for flag in $(EXTRA_HOST_FLAGS); do \
10243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10244 done; \
10245 echo "Doing mostlyclean in indent" ; \
10246 (cd indent && \
10247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249 "RANLIB=$${RANLIB}" \
10250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10251 mostlyclean) \
10252 || exit 1
10254 @endif indent
10256 .PHONY: maybe-clean-indent clean-indent
10257 maybe-clean-indent:
10258 @if indent
10259 maybe-clean-indent: clean-indent
10261 clean-indent:
10262 @[ -f ./indent/Makefile ] || exit 0; \
10263 r=`${PWD_COMMAND}`; export r; \
10264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10265 $(SET_LIB_PATH) \
10266 $(HOST_EXPORTS) \
10267 for flag in $(EXTRA_HOST_FLAGS); do \
10268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10269 done; \
10270 echo "Doing clean in indent" ; \
10271 (cd indent && \
10272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10274 "RANLIB=$${RANLIB}" \
10275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10276 clean) \
10277 || exit 1
10279 @endif indent
10281 .PHONY: maybe-distclean-indent distclean-indent
10282 maybe-distclean-indent:
10283 @if indent
10284 maybe-distclean-indent: distclean-indent
10286 distclean-indent:
10287 @[ -f ./indent/Makefile ] || exit 0; \
10288 r=`${PWD_COMMAND}`; export r; \
10289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10290 $(SET_LIB_PATH) \
10291 $(HOST_EXPORTS) \
10292 for flag in $(EXTRA_HOST_FLAGS); do \
10293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10294 done; \
10295 echo "Doing distclean in indent" ; \
10296 (cd indent && \
10297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10299 "RANLIB=$${RANLIB}" \
10300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10301 distclean) \
10302 || exit 1
10304 @endif indent
10306 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10307 maybe-maintainer-clean-indent:
10308 @if indent
10309 maybe-maintainer-clean-indent: maintainer-clean-indent
10311 maintainer-clean-indent:
10312 @[ -f ./indent/Makefile ] || exit 0; \
10313 r=`${PWD_COMMAND}`; export r; \
10314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10315 $(SET_LIB_PATH) \
10316 $(HOST_EXPORTS) \
10317 for flag in $(EXTRA_HOST_FLAGS); do \
10318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10319 done; \
10320 echo "Doing maintainer-clean in indent" ; \
10321 (cd indent && \
10322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10324 "RANLIB=$${RANLIB}" \
10325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10326 maintainer-clean) \
10327 || exit 1
10329 @endif indent
10332 .PHONY: configure-intl maybe-configure-intl
10333 maybe-configure-intl:
10334 @if intl
10335 maybe-configure-intl: configure-intl
10336 configure-intl:
10337 @test ! -f intl/Makefile || exit 0; \
10338 [ -d intl ] || mkdir intl; \
10339 r=`${PWD_COMMAND}`; export r; \
10340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10341 $(HOST_EXPORTS) \
10342 echo Configuring in intl; \
10343 cd intl || exit 1; \
10344 case $(srcdir) in \
10345 \.) \
10346 srcdiroption="--srcdir=."; \
10347 libsrcdir=".";; \
10348 /* | [A-Za-z]:[\\/]*) \
10349 srcdiroption="--srcdir=$(srcdir)/intl"; \
10350 libsrcdir="$$s/intl";; \
10351 *) \
10352 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10353 libsrcdir="$$s/intl";; \
10354 esac; \
10355 $(SHELL) $${libsrcdir}/configure \
10356 $(HOST_CONFIGARGS) $${srcdiroption} \
10357 || exit 1
10358 @endif intl
10360 .PHONY: all-intl maybe-all-intl
10361 maybe-all-intl:
10362 @if intl
10363 maybe-all-intl: all-intl
10364 all-intl: configure-intl
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 $(SET_LIB_PATH) \
10368 $(HOST_EXPORTS) \
10369 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10370 @endif intl
10372 .PHONY: check-intl maybe-check-intl
10373 maybe-check-intl:
10374 @if intl
10375 maybe-check-intl: check-intl
10377 check-intl:
10378 @r=`${PWD_COMMAND}`; export r; \
10379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10380 $(SET_LIB_PATH) \
10381 $(HOST_EXPORTS) \
10382 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10384 @endif intl
10386 .PHONY: install-intl maybe-install-intl
10387 maybe-install-intl:
10388 @if intl
10389 maybe-install-intl: install-intl
10391 install-intl: installdirs
10392 @r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(SET_LIB_PATH) \
10395 $(HOST_EXPORTS) \
10396 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10398 @endif intl
10400 # Other targets (info, dvi, etc.)
10402 .PHONY: maybe-info-intl info-intl
10403 maybe-info-intl:
10404 @if intl
10405 maybe-info-intl: info-intl
10407 info-intl: \
10408 configure-intl
10409 @[ -f ./intl/Makefile ] || exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(SET_LIB_PATH) \
10413 $(HOST_EXPORTS) \
10414 for flag in $(EXTRA_HOST_FLAGS); do \
10415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10416 done; \
10417 echo "Doing info in intl" ; \
10418 (cd intl && \
10419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421 "RANLIB=$${RANLIB}" \
10422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10423 info) \
10424 || exit 1
10426 @endif intl
10428 .PHONY: maybe-dvi-intl dvi-intl
10429 maybe-dvi-intl:
10430 @if intl
10431 maybe-dvi-intl: dvi-intl
10433 dvi-intl: \
10434 configure-intl
10435 @[ -f ./intl/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(SET_LIB_PATH) \
10439 $(HOST_EXPORTS) \
10440 for flag in $(EXTRA_HOST_FLAGS); do \
10441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10442 done; \
10443 echo "Doing dvi in intl" ; \
10444 (cd intl && \
10445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10447 "RANLIB=$${RANLIB}" \
10448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10449 dvi) \
10450 || exit 1
10452 @endif intl
10454 .PHONY: maybe-TAGS-intl TAGS-intl
10455 maybe-TAGS-intl:
10456 @if intl
10457 maybe-TAGS-intl: TAGS-intl
10459 TAGS-intl: \
10460 configure-intl
10461 @[ -f ./intl/Makefile ] || exit 0; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(SET_LIB_PATH) \
10465 $(HOST_EXPORTS) \
10466 for flag in $(EXTRA_HOST_FLAGS); do \
10467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10468 done; \
10469 echo "Doing TAGS in intl" ; \
10470 (cd intl && \
10471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10473 "RANLIB=$${RANLIB}" \
10474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10475 TAGS) \
10476 || exit 1
10478 @endif intl
10480 .PHONY: maybe-install-info-intl install-info-intl
10481 maybe-install-info-intl:
10482 @if intl
10483 maybe-install-info-intl: install-info-intl
10485 install-info-intl: \
10486 configure-intl \
10487 info-intl
10488 @[ -f ./intl/Makefile ] || exit 0; \
10489 r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(SET_LIB_PATH) \
10492 $(HOST_EXPORTS) \
10493 for flag in $(EXTRA_HOST_FLAGS); do \
10494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10495 done; \
10496 echo "Doing install-info in intl" ; \
10497 (cd intl && \
10498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10500 "RANLIB=$${RANLIB}" \
10501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10502 install-info) \
10503 || exit 1
10505 @endif intl
10507 .PHONY: maybe-installcheck-intl installcheck-intl
10508 maybe-installcheck-intl:
10509 @if intl
10510 maybe-installcheck-intl: installcheck-intl
10512 installcheck-intl: \
10513 configure-intl
10514 @[ -f ./intl/Makefile ] || exit 0; \
10515 r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 $(SET_LIB_PATH) \
10518 $(HOST_EXPORTS) \
10519 for flag in $(EXTRA_HOST_FLAGS); do \
10520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10521 done; \
10522 echo "Doing installcheck in intl" ; \
10523 (cd intl && \
10524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10526 "RANLIB=$${RANLIB}" \
10527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 installcheck) \
10529 || exit 1
10531 @endif intl
10533 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10534 maybe-mostlyclean-intl:
10535 @if intl
10536 maybe-mostlyclean-intl: mostlyclean-intl
10538 mostlyclean-intl:
10539 @[ -f ./intl/Makefile ] || exit 0; \
10540 r=`${PWD_COMMAND}`; export r; \
10541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10542 $(SET_LIB_PATH) \
10543 $(HOST_EXPORTS) \
10544 for flag in $(EXTRA_HOST_FLAGS); do \
10545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10546 done; \
10547 echo "Doing mostlyclean in intl" ; \
10548 (cd intl && \
10549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10551 "RANLIB=$${RANLIB}" \
10552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10553 mostlyclean) \
10554 || exit 1
10556 @endif intl
10558 .PHONY: maybe-clean-intl clean-intl
10559 maybe-clean-intl:
10560 @if intl
10561 maybe-clean-intl: clean-intl
10563 clean-intl:
10564 @[ -f ./intl/Makefile ] || exit 0; \
10565 r=`${PWD_COMMAND}`; export r; \
10566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 $(SET_LIB_PATH) \
10568 $(HOST_EXPORTS) \
10569 for flag in $(EXTRA_HOST_FLAGS); do \
10570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10571 done; \
10572 echo "Doing clean in intl" ; \
10573 (cd intl && \
10574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10576 "RANLIB=$${RANLIB}" \
10577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10578 clean) \
10579 || exit 1
10581 @endif intl
10583 .PHONY: maybe-distclean-intl distclean-intl
10584 maybe-distclean-intl:
10585 @if intl
10586 maybe-distclean-intl: distclean-intl
10588 distclean-intl:
10589 @[ -f ./intl/Makefile ] || exit 0; \
10590 r=`${PWD_COMMAND}`; export r; \
10591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10592 $(SET_LIB_PATH) \
10593 $(HOST_EXPORTS) \
10594 for flag in $(EXTRA_HOST_FLAGS); do \
10595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10596 done; \
10597 echo "Doing distclean in intl" ; \
10598 (cd intl && \
10599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10601 "RANLIB=$${RANLIB}" \
10602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10603 distclean) \
10604 || exit 1
10606 @endif intl
10608 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10609 maybe-maintainer-clean-intl:
10610 @if intl
10611 maybe-maintainer-clean-intl: maintainer-clean-intl
10613 maintainer-clean-intl:
10614 @[ -f ./intl/Makefile ] || exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(SET_LIB_PATH) \
10618 $(HOST_EXPORTS) \
10619 for flag in $(EXTRA_HOST_FLAGS); do \
10620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10621 done; \
10622 echo "Doing maintainer-clean in intl" ; \
10623 (cd intl && \
10624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10626 "RANLIB=$${RANLIB}" \
10627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10628 maintainer-clean) \
10629 || exit 1
10631 @endif intl
10634 .PHONY: configure-tcl maybe-configure-tcl
10635 maybe-configure-tcl:
10636 @if tcl
10637 maybe-configure-tcl: configure-tcl
10638 configure-tcl:
10639 @test ! -f tcl/Makefile || exit 0; \
10640 [ -d tcl ] || mkdir tcl; \
10641 r=`${PWD_COMMAND}`; export r; \
10642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 $(HOST_EXPORTS) \
10644 echo Configuring in tcl; \
10645 cd tcl || exit 1; \
10646 case $(srcdir) in \
10647 \.) \
10648 srcdiroption="--srcdir=."; \
10649 libsrcdir=".";; \
10650 /* | [A-Za-z]:[\\/]*) \
10651 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10652 libsrcdir="$$s/tcl";; \
10653 *) \
10654 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10655 libsrcdir="$$s/tcl";; \
10656 esac; \
10657 $(SHELL) $${libsrcdir}/configure \
10658 $(HOST_CONFIGARGS) $${srcdiroption} \
10659 || exit 1
10660 @endif tcl
10662 .PHONY: all-tcl maybe-all-tcl
10663 maybe-all-tcl:
10664 @if tcl
10665 maybe-all-tcl: all-tcl
10666 all-tcl: configure-tcl
10667 @r=`${PWD_COMMAND}`; export r; \
10668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 $(SET_LIB_PATH) \
10670 $(HOST_EXPORTS) \
10671 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
10672 @endif tcl
10674 .PHONY: check-tcl maybe-check-tcl
10675 maybe-check-tcl:
10676 @if tcl
10677 maybe-check-tcl: check-tcl
10679 check-tcl:
10680 @r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(SET_LIB_PATH) \
10683 $(HOST_EXPORTS) \
10684 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
10686 @endif tcl
10688 .PHONY: install-tcl maybe-install-tcl
10689 maybe-install-tcl:
10690 @if tcl
10691 maybe-install-tcl: install-tcl
10693 install-tcl: installdirs
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(SET_LIB_PATH) \
10697 $(HOST_EXPORTS) \
10698 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
10700 @endif tcl
10702 # Other targets (info, dvi, etc.)
10704 .PHONY: maybe-info-tcl info-tcl
10705 maybe-info-tcl:
10706 @if tcl
10707 maybe-info-tcl: info-tcl
10709 info-tcl: \
10710 configure-tcl
10711 @[ -f ./tcl/Makefile ] || exit 0; \
10712 r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(SET_LIB_PATH) \
10715 $(HOST_EXPORTS) \
10716 for flag in $(EXTRA_HOST_FLAGS); do \
10717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10718 done; \
10719 echo "Doing info in tcl" ; \
10720 (cd tcl && \
10721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10723 "RANLIB=$${RANLIB}" \
10724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10725 info) \
10726 || exit 1
10728 @endif tcl
10730 .PHONY: maybe-dvi-tcl dvi-tcl
10731 maybe-dvi-tcl:
10732 @if tcl
10733 maybe-dvi-tcl: dvi-tcl
10735 dvi-tcl: \
10736 configure-tcl
10737 @[ -f ./tcl/Makefile ] || exit 0; \
10738 r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 $(SET_LIB_PATH) \
10741 $(HOST_EXPORTS) \
10742 for flag in $(EXTRA_HOST_FLAGS); do \
10743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10744 done; \
10745 echo "Doing dvi in tcl" ; \
10746 (cd tcl && \
10747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10749 "RANLIB=$${RANLIB}" \
10750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10751 dvi) \
10752 || exit 1
10754 @endif tcl
10756 .PHONY: maybe-TAGS-tcl TAGS-tcl
10757 maybe-TAGS-tcl:
10758 @if tcl
10759 maybe-TAGS-tcl: TAGS-tcl
10761 TAGS-tcl: \
10762 configure-tcl
10763 @[ -f ./tcl/Makefile ] || exit 0; \
10764 r=`${PWD_COMMAND}`; export r; \
10765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10766 $(SET_LIB_PATH) \
10767 $(HOST_EXPORTS) \
10768 for flag in $(EXTRA_HOST_FLAGS); do \
10769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10770 done; \
10771 echo "Doing TAGS in tcl" ; \
10772 (cd tcl && \
10773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10775 "RANLIB=$${RANLIB}" \
10776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10777 TAGS) \
10778 || exit 1
10780 @endif tcl
10782 .PHONY: maybe-install-info-tcl install-info-tcl
10783 maybe-install-info-tcl:
10784 @if tcl
10785 maybe-install-info-tcl: install-info-tcl
10787 install-info-tcl: \
10788 configure-tcl \
10789 info-tcl
10790 @[ -f ./tcl/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(SET_LIB_PATH) \
10794 $(HOST_EXPORTS) \
10795 for flag in $(EXTRA_HOST_FLAGS); do \
10796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10797 done; \
10798 echo "Doing install-info in tcl" ; \
10799 (cd tcl && \
10800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10802 "RANLIB=$${RANLIB}" \
10803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 install-info) \
10805 || exit 1
10807 @endif tcl
10809 .PHONY: maybe-installcheck-tcl installcheck-tcl
10810 maybe-installcheck-tcl:
10811 @if tcl
10812 maybe-installcheck-tcl: installcheck-tcl
10814 installcheck-tcl: \
10815 configure-tcl
10816 @[ -f ./tcl/Makefile ] || exit 0; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 $(SET_LIB_PATH) \
10820 $(HOST_EXPORTS) \
10821 for flag in $(EXTRA_HOST_FLAGS); do \
10822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10823 done; \
10824 echo "Doing installcheck in tcl" ; \
10825 (cd tcl && \
10826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10828 "RANLIB=$${RANLIB}" \
10829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 installcheck) \
10831 || exit 1
10833 @endif tcl
10835 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10836 maybe-mostlyclean-tcl:
10837 @if tcl
10838 maybe-mostlyclean-tcl: mostlyclean-tcl
10840 # tcl doesn't support mostlyclean.
10841 mostlyclean-tcl:
10843 @endif tcl
10845 .PHONY: maybe-clean-tcl clean-tcl
10846 maybe-clean-tcl:
10847 @if tcl
10848 maybe-clean-tcl: clean-tcl
10850 clean-tcl:
10851 @[ -f ./tcl/Makefile ] || exit 0; \
10852 r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 $(SET_LIB_PATH) \
10855 $(HOST_EXPORTS) \
10856 for flag in $(EXTRA_HOST_FLAGS); do \
10857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10858 done; \
10859 echo "Doing clean in tcl" ; \
10860 (cd tcl && \
10861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10863 "RANLIB=$${RANLIB}" \
10864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10865 clean) \
10866 || exit 1
10868 @endif tcl
10870 .PHONY: maybe-distclean-tcl distclean-tcl
10871 maybe-distclean-tcl:
10872 @if tcl
10873 maybe-distclean-tcl: distclean-tcl
10875 distclean-tcl:
10876 @[ -f ./tcl/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(SET_LIB_PATH) \
10880 $(HOST_EXPORTS) \
10881 for flag in $(EXTRA_HOST_FLAGS); do \
10882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10883 done; \
10884 echo "Doing distclean in tcl" ; \
10885 (cd tcl && \
10886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10888 "RANLIB=$${RANLIB}" \
10889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10890 distclean) \
10891 || exit 1
10893 @endif tcl
10895 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
10896 maybe-maintainer-clean-tcl:
10897 @if tcl
10898 maybe-maintainer-clean-tcl: maintainer-clean-tcl
10900 maintainer-clean-tcl:
10901 @[ -f ./tcl/Makefile ] || exit 0; \
10902 r=`${PWD_COMMAND}`; export r; \
10903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 $(SET_LIB_PATH) \
10905 $(HOST_EXPORTS) \
10906 for flag in $(EXTRA_HOST_FLAGS); do \
10907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10908 done; \
10909 echo "Doing maintainer-clean in tcl" ; \
10910 (cd tcl && \
10911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10913 "RANLIB=$${RANLIB}" \
10914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10915 maintainer-clean) \
10916 || exit 1
10918 @endif tcl
10921 .PHONY: configure-itcl maybe-configure-itcl
10922 maybe-configure-itcl:
10923 @if itcl
10924 maybe-configure-itcl: configure-itcl
10925 configure-itcl:
10926 @test ! -f itcl/Makefile || exit 0; \
10927 [ -d itcl ] || mkdir itcl; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930 $(HOST_EXPORTS) \
10931 echo Configuring in itcl; \
10932 cd itcl || exit 1; \
10933 case $(srcdir) in \
10934 \.) \
10935 srcdiroption="--srcdir=."; \
10936 libsrcdir=".";; \
10937 /* | [A-Za-z]:[\\/]*) \
10938 srcdiroption="--srcdir=$(srcdir)/itcl"; \
10939 libsrcdir="$$s/itcl";; \
10940 *) \
10941 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
10942 libsrcdir="$$s/itcl";; \
10943 esac; \
10944 $(SHELL) $${libsrcdir}/configure \
10945 $(HOST_CONFIGARGS) $${srcdiroption} \
10946 || exit 1
10947 @endif itcl
10949 .PHONY: all-itcl maybe-all-itcl
10950 maybe-all-itcl:
10951 @if itcl
10952 maybe-all-itcl: all-itcl
10953 all-itcl: configure-itcl
10954 @r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(SET_LIB_PATH) \
10957 $(HOST_EXPORTS) \
10958 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
10959 @endif itcl
10961 .PHONY: check-itcl maybe-check-itcl
10962 maybe-check-itcl:
10963 @if itcl
10964 maybe-check-itcl: check-itcl
10966 check-itcl:
10967 @r=`${PWD_COMMAND}`; export r; \
10968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10969 $(SET_LIB_PATH) \
10970 $(HOST_EXPORTS) \
10971 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
10973 @endif itcl
10975 .PHONY: install-itcl maybe-install-itcl
10976 maybe-install-itcl:
10977 @if itcl
10978 maybe-install-itcl: install-itcl
10980 install-itcl: installdirs
10981 @r=`${PWD_COMMAND}`; export r; \
10982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10983 $(SET_LIB_PATH) \
10984 $(HOST_EXPORTS) \
10985 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
10987 @endif itcl
10989 # Other targets (info, dvi, etc.)
10991 .PHONY: maybe-info-itcl info-itcl
10992 maybe-info-itcl:
10993 @if itcl
10994 maybe-info-itcl: info-itcl
10996 info-itcl: \
10997 configure-itcl
10998 @[ -f ./itcl/Makefile ] || exit 0; \
10999 r=`${PWD_COMMAND}`; export r; \
11000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11001 $(SET_LIB_PATH) \
11002 $(HOST_EXPORTS) \
11003 for flag in $(EXTRA_HOST_FLAGS); do \
11004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11005 done; \
11006 echo "Doing info in itcl" ; \
11007 (cd itcl && \
11008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11010 "RANLIB=$${RANLIB}" \
11011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11012 info) \
11013 || exit 1
11015 @endif itcl
11017 .PHONY: maybe-dvi-itcl dvi-itcl
11018 maybe-dvi-itcl:
11019 @if itcl
11020 maybe-dvi-itcl: dvi-itcl
11022 dvi-itcl: \
11023 configure-itcl
11024 @[ -f ./itcl/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(SET_LIB_PATH) \
11028 $(HOST_EXPORTS) \
11029 for flag in $(EXTRA_HOST_FLAGS); do \
11030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11031 done; \
11032 echo "Doing dvi in itcl" ; \
11033 (cd itcl && \
11034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11036 "RANLIB=$${RANLIB}" \
11037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11038 dvi) \
11039 || exit 1
11041 @endif itcl
11043 .PHONY: maybe-TAGS-itcl TAGS-itcl
11044 maybe-TAGS-itcl:
11045 @if itcl
11046 maybe-TAGS-itcl: TAGS-itcl
11048 TAGS-itcl: \
11049 configure-itcl
11050 @[ -f ./itcl/Makefile ] || exit 0; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(SET_LIB_PATH) \
11054 $(HOST_EXPORTS) \
11055 for flag in $(EXTRA_HOST_FLAGS); do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11057 done; \
11058 echo "Doing TAGS in itcl" ; \
11059 (cd itcl && \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11064 TAGS) \
11065 || exit 1
11067 @endif itcl
11069 .PHONY: maybe-install-info-itcl install-info-itcl
11070 maybe-install-info-itcl:
11071 @if itcl
11072 maybe-install-info-itcl: install-info-itcl
11074 install-info-itcl: \
11075 configure-itcl \
11076 info-itcl
11077 @[ -f ./itcl/Makefile ] || exit 0; \
11078 r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11080 $(SET_LIB_PATH) \
11081 $(HOST_EXPORTS) \
11082 for flag in $(EXTRA_HOST_FLAGS); do \
11083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11084 done; \
11085 echo "Doing install-info in itcl" ; \
11086 (cd itcl && \
11087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11089 "RANLIB=$${RANLIB}" \
11090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11091 install-info) \
11092 || exit 1
11094 @endif itcl
11096 .PHONY: maybe-installcheck-itcl installcheck-itcl
11097 maybe-installcheck-itcl:
11098 @if itcl
11099 maybe-installcheck-itcl: installcheck-itcl
11101 installcheck-itcl: \
11102 configure-itcl
11103 @[ -f ./itcl/Makefile ] || exit 0; \
11104 r=`${PWD_COMMAND}`; export r; \
11105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 $(SET_LIB_PATH) \
11107 $(HOST_EXPORTS) \
11108 for flag in $(EXTRA_HOST_FLAGS); do \
11109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11110 done; \
11111 echo "Doing installcheck in itcl" ; \
11112 (cd itcl && \
11113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11115 "RANLIB=$${RANLIB}" \
11116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11117 installcheck) \
11118 || exit 1
11120 @endif itcl
11122 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11123 maybe-mostlyclean-itcl:
11124 @if itcl
11125 maybe-mostlyclean-itcl: mostlyclean-itcl
11127 mostlyclean-itcl:
11128 @[ -f ./itcl/Makefile ] || exit 0; \
11129 r=`${PWD_COMMAND}`; export r; \
11130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11131 $(SET_LIB_PATH) \
11132 $(HOST_EXPORTS) \
11133 for flag in $(EXTRA_HOST_FLAGS); do \
11134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 done; \
11136 echo "Doing mostlyclean in itcl" ; \
11137 (cd itcl && \
11138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11140 "RANLIB=$${RANLIB}" \
11141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11142 mostlyclean) \
11143 || exit 1
11145 @endif itcl
11147 .PHONY: maybe-clean-itcl clean-itcl
11148 maybe-clean-itcl:
11149 @if itcl
11150 maybe-clean-itcl: clean-itcl
11152 clean-itcl:
11153 @[ -f ./itcl/Makefile ] || exit 0; \
11154 r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 $(SET_LIB_PATH) \
11157 $(HOST_EXPORTS) \
11158 for flag in $(EXTRA_HOST_FLAGS); do \
11159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 done; \
11161 echo "Doing clean in itcl" ; \
11162 (cd itcl && \
11163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11165 "RANLIB=$${RANLIB}" \
11166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11167 clean) \
11168 || exit 1
11170 @endif itcl
11172 .PHONY: maybe-distclean-itcl distclean-itcl
11173 maybe-distclean-itcl:
11174 @if itcl
11175 maybe-distclean-itcl: distclean-itcl
11177 distclean-itcl:
11178 @[ -f ./itcl/Makefile ] || exit 0; \
11179 r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(SET_LIB_PATH) \
11182 $(HOST_EXPORTS) \
11183 for flag in $(EXTRA_HOST_FLAGS); do \
11184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 done; \
11186 echo "Doing distclean in itcl" ; \
11187 (cd itcl && \
11188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11190 "RANLIB=$${RANLIB}" \
11191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11192 distclean) \
11193 || exit 1
11195 @endif itcl
11197 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11198 maybe-maintainer-clean-itcl:
11199 @if itcl
11200 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11202 maintainer-clean-itcl:
11203 @[ -f ./itcl/Makefile ] || exit 0; \
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 $(SET_LIB_PATH) \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS); do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing maintainer-clean in itcl" ; \
11212 (cd itcl && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11217 maintainer-clean) \
11218 || exit 1
11220 @endif itcl
11223 .PHONY: configure-ld maybe-configure-ld
11224 maybe-configure-ld:
11225 @if ld
11226 maybe-configure-ld: configure-ld
11227 configure-ld:
11228 @test ! -f ld/Makefile || exit 0; \
11229 [ -d ld ] || mkdir ld; \
11230 r=`${PWD_COMMAND}`; export r; \
11231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 $(HOST_EXPORTS) \
11233 echo Configuring in ld; \
11234 cd ld || exit 1; \
11235 case $(srcdir) in \
11236 \.) \
11237 srcdiroption="--srcdir=."; \
11238 libsrcdir=".";; \
11239 /* | [A-Za-z]:[\\/]*) \
11240 srcdiroption="--srcdir=$(srcdir)/ld"; \
11241 libsrcdir="$$s/ld";; \
11242 *) \
11243 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11244 libsrcdir="$$s/ld";; \
11245 esac; \
11246 $(SHELL) $${libsrcdir}/configure \
11247 $(HOST_CONFIGARGS) $${srcdiroption} \
11248 || exit 1
11249 @endif ld
11251 .PHONY: all-ld maybe-all-ld
11252 maybe-all-ld:
11253 @if ld
11254 maybe-all-ld: all-ld
11255 all-ld: configure-ld
11256 @r=`${PWD_COMMAND}`; export r; \
11257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11258 $(SET_LIB_PATH) \
11259 $(HOST_EXPORTS) \
11260 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11261 @endif ld
11263 .PHONY: check-ld maybe-check-ld
11264 maybe-check-ld:
11265 @if ld
11266 maybe-check-ld: check-ld
11268 check-ld:
11269 @r=`${PWD_COMMAND}`; export r; \
11270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11271 $(SET_LIB_PATH) \
11272 $(HOST_EXPORTS) \
11273 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11275 @endif ld
11277 .PHONY: install-ld maybe-install-ld
11278 maybe-install-ld:
11279 @if ld
11280 maybe-install-ld: install-ld
11282 install-ld: installdirs
11283 @r=`${PWD_COMMAND}`; export r; \
11284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11285 $(SET_LIB_PATH) \
11286 $(HOST_EXPORTS) \
11287 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11289 @endif ld
11291 # Other targets (info, dvi, etc.)
11293 .PHONY: maybe-info-ld info-ld
11294 maybe-info-ld:
11295 @if ld
11296 maybe-info-ld: info-ld
11298 info-ld: \
11299 configure-ld
11300 @[ -f ./ld/Makefile ] || exit 0; \
11301 r=`${PWD_COMMAND}`; export r; \
11302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 $(SET_LIB_PATH) \
11304 $(HOST_EXPORTS) \
11305 for flag in $(EXTRA_HOST_FLAGS); do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing info in ld" ; \
11309 (cd ld && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11314 info) \
11315 || exit 1
11317 @endif ld
11319 .PHONY: maybe-dvi-ld dvi-ld
11320 maybe-dvi-ld:
11321 @if ld
11322 maybe-dvi-ld: dvi-ld
11324 dvi-ld: \
11325 configure-ld
11326 @[ -f ./ld/Makefile ] || exit 0; \
11327 r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 $(SET_LIB_PATH) \
11330 $(HOST_EXPORTS) \
11331 for flag in $(EXTRA_HOST_FLAGS); do \
11332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11333 done; \
11334 echo "Doing dvi in ld" ; \
11335 (cd ld && \
11336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11338 "RANLIB=$${RANLIB}" \
11339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11340 dvi) \
11341 || exit 1
11343 @endif ld
11345 .PHONY: maybe-TAGS-ld TAGS-ld
11346 maybe-TAGS-ld:
11347 @if ld
11348 maybe-TAGS-ld: TAGS-ld
11350 TAGS-ld: \
11351 configure-ld
11352 @[ -f ./ld/Makefile ] || exit 0; \
11353 r=`${PWD_COMMAND}`; export r; \
11354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 $(SET_LIB_PATH) \
11356 $(HOST_EXPORTS) \
11357 for flag in $(EXTRA_HOST_FLAGS); do \
11358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 done; \
11360 echo "Doing TAGS in ld" ; \
11361 (cd ld && \
11362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11364 "RANLIB=$${RANLIB}" \
11365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11366 TAGS) \
11367 || exit 1
11369 @endif ld
11371 .PHONY: maybe-install-info-ld install-info-ld
11372 maybe-install-info-ld:
11373 @if ld
11374 maybe-install-info-ld: install-info-ld
11376 install-info-ld: \
11377 configure-ld \
11378 info-ld
11379 @[ -f ./ld/Makefile ] || exit 0; \
11380 r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11382 $(SET_LIB_PATH) \
11383 $(HOST_EXPORTS) \
11384 for flag in $(EXTRA_HOST_FLAGS); do \
11385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386 done; \
11387 echo "Doing install-info in ld" ; \
11388 (cd ld && \
11389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11391 "RANLIB=$${RANLIB}" \
11392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11393 install-info) \
11394 || exit 1
11396 @endif ld
11398 .PHONY: maybe-installcheck-ld installcheck-ld
11399 maybe-installcheck-ld:
11400 @if ld
11401 maybe-installcheck-ld: installcheck-ld
11403 installcheck-ld: \
11404 configure-ld
11405 @[ -f ./ld/Makefile ] || exit 0; \
11406 r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11408 $(SET_LIB_PATH) \
11409 $(HOST_EXPORTS) \
11410 for flag in $(EXTRA_HOST_FLAGS); do \
11411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412 done; \
11413 echo "Doing installcheck in ld" ; \
11414 (cd ld && \
11415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11417 "RANLIB=$${RANLIB}" \
11418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419 installcheck) \
11420 || exit 1
11422 @endif ld
11424 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11425 maybe-mostlyclean-ld:
11426 @if ld
11427 maybe-mostlyclean-ld: mostlyclean-ld
11429 mostlyclean-ld:
11430 @[ -f ./ld/Makefile ] || exit 0; \
11431 r=`${PWD_COMMAND}`; export r; \
11432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11433 $(SET_LIB_PATH) \
11434 $(HOST_EXPORTS) \
11435 for flag in $(EXTRA_HOST_FLAGS); do \
11436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437 done; \
11438 echo "Doing mostlyclean in ld" ; \
11439 (cd ld && \
11440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11442 "RANLIB=$${RANLIB}" \
11443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11444 mostlyclean) \
11445 || exit 1
11447 @endif ld
11449 .PHONY: maybe-clean-ld clean-ld
11450 maybe-clean-ld:
11451 @if ld
11452 maybe-clean-ld: clean-ld
11454 clean-ld:
11455 @[ -f ./ld/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 $(SET_LIB_PATH) \
11459 $(HOST_EXPORTS) \
11460 for flag in $(EXTRA_HOST_FLAGS); do \
11461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11462 done; \
11463 echo "Doing clean in ld" ; \
11464 (cd ld && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467 "RANLIB=$${RANLIB}" \
11468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11469 clean) \
11470 || exit 1
11472 @endif ld
11474 .PHONY: maybe-distclean-ld distclean-ld
11475 maybe-distclean-ld:
11476 @if ld
11477 maybe-distclean-ld: distclean-ld
11479 distclean-ld:
11480 @[ -f ./ld/Makefile ] || exit 0; \
11481 r=`${PWD_COMMAND}`; export r; \
11482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11483 $(SET_LIB_PATH) \
11484 $(HOST_EXPORTS) \
11485 for flag in $(EXTRA_HOST_FLAGS); do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487 done; \
11488 echo "Doing distclean in ld" ; \
11489 (cd ld && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494 distclean) \
11495 || exit 1
11497 @endif ld
11499 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11500 maybe-maintainer-clean-ld:
11501 @if ld
11502 maybe-maintainer-clean-ld: maintainer-clean-ld
11504 maintainer-clean-ld:
11505 @[ -f ./ld/Makefile ] || exit 0; \
11506 r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508 $(SET_LIB_PATH) \
11509 $(HOST_EXPORTS) \
11510 for flag in $(EXTRA_HOST_FLAGS); do \
11511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11512 done; \
11513 echo "Doing maintainer-clean in ld" ; \
11514 (cd ld && \
11515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517 "RANLIB=$${RANLIB}" \
11518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11519 maintainer-clean) \
11520 || exit 1
11522 @endif ld
11525 .PHONY: configure-libcpp maybe-configure-libcpp
11526 maybe-configure-libcpp:
11527 @if libcpp
11528 maybe-configure-libcpp: configure-libcpp
11529 configure-libcpp:
11530 @test ! -f libcpp/Makefile || exit 0; \
11531 [ -d libcpp ] || mkdir libcpp; \
11532 r=`${PWD_COMMAND}`; export r; \
11533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11534 $(HOST_EXPORTS) \
11535 echo Configuring in libcpp; \
11536 cd libcpp || exit 1; \
11537 case $(srcdir) in \
11538 \.) \
11539 srcdiroption="--srcdir=."; \
11540 libsrcdir=".";; \
11541 /* | [A-Za-z]:[\\/]*) \
11542 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
11543 libsrcdir="$$s/libcpp";; \
11544 *) \
11545 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
11546 libsrcdir="$$s/libcpp";; \
11547 esac; \
11548 $(SHELL) $${libsrcdir}/configure \
11549 $(HOST_CONFIGARGS) $${srcdiroption} \
11550 || exit 1
11551 @endif libcpp
11553 .PHONY: all-libcpp maybe-all-libcpp
11554 maybe-all-libcpp:
11555 @if libcpp
11556 maybe-all-libcpp: all-libcpp
11557 all-libcpp: configure-libcpp
11558 @r=`${PWD_COMMAND}`; export r; \
11559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 $(SET_LIB_PATH) \
11561 $(HOST_EXPORTS) \
11562 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
11563 @endif libcpp
11565 .PHONY: check-libcpp maybe-check-libcpp
11566 maybe-check-libcpp:
11567 @if libcpp
11568 maybe-check-libcpp: check-libcpp
11570 check-libcpp:
11571 @r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 $(SET_LIB_PATH) \
11574 $(HOST_EXPORTS) \
11575 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
11577 @endif libcpp
11579 .PHONY: install-libcpp maybe-install-libcpp
11580 maybe-install-libcpp:
11581 @if libcpp
11582 maybe-install-libcpp: install-libcpp
11584 install-libcpp: installdirs
11585 @r=`${PWD_COMMAND}`; export r; \
11586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11587 $(SET_LIB_PATH) \
11588 $(HOST_EXPORTS) \
11589 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
11591 @endif libcpp
11593 # Other targets (info, dvi, etc.)
11595 .PHONY: maybe-info-libcpp info-libcpp
11596 maybe-info-libcpp:
11597 @if libcpp
11598 maybe-info-libcpp: info-libcpp
11600 info-libcpp: \
11601 configure-libcpp
11602 @[ -f ./libcpp/Makefile ] || exit 0; \
11603 r=`${PWD_COMMAND}`; export r; \
11604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11605 $(SET_LIB_PATH) \
11606 $(HOST_EXPORTS) \
11607 for flag in $(EXTRA_HOST_FLAGS); do \
11608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11609 done; \
11610 echo "Doing info in libcpp" ; \
11611 (cd libcpp && \
11612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11614 "RANLIB=$${RANLIB}" \
11615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11616 info) \
11617 || exit 1
11619 @endif libcpp
11621 .PHONY: maybe-dvi-libcpp dvi-libcpp
11622 maybe-dvi-libcpp:
11623 @if libcpp
11624 maybe-dvi-libcpp: dvi-libcpp
11626 dvi-libcpp: \
11627 configure-libcpp
11628 @[ -f ./libcpp/Makefile ] || exit 0; \
11629 r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11631 $(SET_LIB_PATH) \
11632 $(HOST_EXPORTS) \
11633 for flag in $(EXTRA_HOST_FLAGS); do \
11634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 done; \
11636 echo "Doing dvi in libcpp" ; \
11637 (cd libcpp && \
11638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11640 "RANLIB=$${RANLIB}" \
11641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11642 dvi) \
11643 || exit 1
11645 @endif libcpp
11647 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
11648 maybe-TAGS-libcpp:
11649 @if libcpp
11650 maybe-TAGS-libcpp: TAGS-libcpp
11652 TAGS-libcpp: \
11653 configure-libcpp
11654 @[ -f ./libcpp/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 $(SET_LIB_PATH) \
11658 $(HOST_EXPORTS) \
11659 for flag in $(EXTRA_HOST_FLAGS); do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11661 done; \
11662 echo "Doing TAGS in libcpp" ; \
11663 (cd libcpp && \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11666 "RANLIB=$${RANLIB}" \
11667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11668 TAGS) \
11669 || exit 1
11671 @endif libcpp
11673 .PHONY: maybe-install-info-libcpp install-info-libcpp
11674 maybe-install-info-libcpp:
11675 @if libcpp
11676 maybe-install-info-libcpp: install-info-libcpp
11678 install-info-libcpp: \
11679 configure-libcpp \
11680 info-libcpp
11681 @[ -f ./libcpp/Makefile ] || exit 0; \
11682 r=`${PWD_COMMAND}`; export r; \
11683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11684 $(SET_LIB_PATH) \
11685 $(HOST_EXPORTS) \
11686 for flag in $(EXTRA_HOST_FLAGS); do \
11687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11688 done; \
11689 echo "Doing install-info in libcpp" ; \
11690 (cd libcpp && \
11691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11693 "RANLIB=$${RANLIB}" \
11694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11695 install-info) \
11696 || exit 1
11698 @endif libcpp
11700 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
11701 maybe-installcheck-libcpp:
11702 @if libcpp
11703 maybe-installcheck-libcpp: installcheck-libcpp
11705 installcheck-libcpp: \
11706 configure-libcpp
11707 @[ -f ./libcpp/Makefile ] || exit 0; \
11708 r=`${PWD_COMMAND}`; export r; \
11709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11710 $(SET_LIB_PATH) \
11711 $(HOST_EXPORTS) \
11712 for flag in $(EXTRA_HOST_FLAGS); do \
11713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11714 done; \
11715 echo "Doing installcheck in libcpp" ; \
11716 (cd libcpp && \
11717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11719 "RANLIB=$${RANLIB}" \
11720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11721 installcheck) \
11722 || exit 1
11724 @endif libcpp
11726 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
11727 maybe-mostlyclean-libcpp:
11728 @if libcpp
11729 maybe-mostlyclean-libcpp: mostlyclean-libcpp
11731 mostlyclean-libcpp:
11732 @[ -f ./libcpp/Makefile ] || exit 0; \
11733 r=`${PWD_COMMAND}`; export r; \
11734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 $(SET_LIB_PATH) \
11736 $(HOST_EXPORTS) \
11737 for flag in $(EXTRA_HOST_FLAGS); do \
11738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11739 done; \
11740 echo "Doing mostlyclean in libcpp" ; \
11741 (cd libcpp && \
11742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11744 "RANLIB=$${RANLIB}" \
11745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11746 mostlyclean) \
11747 || exit 1
11749 @endif libcpp
11751 .PHONY: maybe-clean-libcpp clean-libcpp
11752 maybe-clean-libcpp:
11753 @if libcpp
11754 maybe-clean-libcpp: clean-libcpp
11756 clean-libcpp:
11757 @[ -f ./libcpp/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760 $(SET_LIB_PATH) \
11761 $(HOST_EXPORTS) \
11762 for flag in $(EXTRA_HOST_FLAGS); do \
11763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764 done; \
11765 echo "Doing clean in libcpp" ; \
11766 (cd libcpp && \
11767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769 "RANLIB=$${RANLIB}" \
11770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11771 clean) \
11772 || exit 1
11774 @endif libcpp
11776 .PHONY: maybe-distclean-libcpp distclean-libcpp
11777 maybe-distclean-libcpp:
11778 @if libcpp
11779 maybe-distclean-libcpp: distclean-libcpp
11781 distclean-libcpp:
11782 @[ -f ./libcpp/Makefile ] || exit 0; \
11783 r=`${PWD_COMMAND}`; export r; \
11784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11785 $(SET_LIB_PATH) \
11786 $(HOST_EXPORTS) \
11787 for flag in $(EXTRA_HOST_FLAGS); do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789 done; \
11790 echo "Doing distclean in libcpp" ; \
11791 (cd libcpp && \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11796 distclean) \
11797 || exit 1
11799 @endif libcpp
11801 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
11802 maybe-maintainer-clean-libcpp:
11803 @if libcpp
11804 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
11806 maintainer-clean-libcpp:
11807 @[ -f ./libcpp/Makefile ] || exit 0; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 $(SET_LIB_PATH) \
11811 $(HOST_EXPORTS) \
11812 for flag in $(EXTRA_HOST_FLAGS); do \
11813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11814 done; \
11815 echo "Doing maintainer-clean in libcpp" ; \
11816 (cd libcpp && \
11817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819 "RANLIB=$${RANLIB}" \
11820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11821 maintainer-clean) \
11822 || exit 1
11824 @endif libcpp
11827 .PHONY: configure-libgui maybe-configure-libgui
11828 maybe-configure-libgui:
11829 @if libgui
11830 maybe-configure-libgui: configure-libgui
11831 configure-libgui:
11832 @test ! -f libgui/Makefile || exit 0; \
11833 [ -d libgui ] || mkdir libgui; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11836 $(HOST_EXPORTS) \
11837 echo Configuring in libgui; \
11838 cd libgui || exit 1; \
11839 case $(srcdir) in \
11840 \.) \
11841 srcdiroption="--srcdir=."; \
11842 libsrcdir=".";; \
11843 /* | [A-Za-z]:[\\/]*) \
11844 srcdiroption="--srcdir=$(srcdir)/libgui"; \
11845 libsrcdir="$$s/libgui";; \
11846 *) \
11847 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
11848 libsrcdir="$$s/libgui";; \
11849 esac; \
11850 $(SHELL) $${libsrcdir}/configure \
11851 $(HOST_CONFIGARGS) $${srcdiroption} \
11852 || exit 1
11853 @endif libgui
11855 .PHONY: all-libgui maybe-all-libgui
11856 maybe-all-libgui:
11857 @if libgui
11858 maybe-all-libgui: all-libgui
11859 all-libgui: configure-libgui
11860 @r=`${PWD_COMMAND}`; export r; \
11861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 $(SET_LIB_PATH) \
11863 $(HOST_EXPORTS) \
11864 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
11865 @endif libgui
11867 .PHONY: check-libgui maybe-check-libgui
11868 maybe-check-libgui:
11869 @if libgui
11870 maybe-check-libgui: check-libgui
11872 check-libgui:
11873 @r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 $(SET_LIB_PATH) \
11876 $(HOST_EXPORTS) \
11877 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
11879 @endif libgui
11881 .PHONY: install-libgui maybe-install-libgui
11882 maybe-install-libgui:
11883 @if libgui
11884 maybe-install-libgui: install-libgui
11886 install-libgui: installdirs
11887 @r=`${PWD_COMMAND}`; export r; \
11888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11889 $(SET_LIB_PATH) \
11890 $(HOST_EXPORTS) \
11891 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
11893 @endif libgui
11895 # Other targets (info, dvi, etc.)
11897 .PHONY: maybe-info-libgui info-libgui
11898 maybe-info-libgui:
11899 @if libgui
11900 maybe-info-libgui: info-libgui
11902 info-libgui: \
11903 configure-libgui
11904 @[ -f ./libgui/Makefile ] || exit 0; \
11905 r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(SET_LIB_PATH) \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS); do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing info in libgui" ; \
11913 (cd libgui && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11918 info) \
11919 || exit 1
11921 @endif libgui
11923 .PHONY: maybe-dvi-libgui dvi-libgui
11924 maybe-dvi-libgui:
11925 @if libgui
11926 maybe-dvi-libgui: dvi-libgui
11928 dvi-libgui: \
11929 configure-libgui
11930 @[ -f ./libgui/Makefile ] || exit 0; \
11931 r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(SET_LIB_PATH) \
11934 $(HOST_EXPORTS) \
11935 for flag in $(EXTRA_HOST_FLAGS); do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937 done; \
11938 echo "Doing dvi in libgui" ; \
11939 (cd libgui && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11944 dvi) \
11945 || exit 1
11947 @endif libgui
11949 .PHONY: maybe-TAGS-libgui TAGS-libgui
11950 maybe-TAGS-libgui:
11951 @if libgui
11952 maybe-TAGS-libgui: TAGS-libgui
11954 TAGS-libgui: \
11955 configure-libgui
11956 @[ -f ./libgui/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11959 $(SET_LIB_PATH) \
11960 $(HOST_EXPORTS) \
11961 for flag in $(EXTRA_HOST_FLAGS); do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11963 done; \
11964 echo "Doing TAGS in libgui" ; \
11965 (cd libgui && \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11970 TAGS) \
11971 || exit 1
11973 @endif libgui
11975 .PHONY: maybe-install-info-libgui install-info-libgui
11976 maybe-install-info-libgui:
11977 @if libgui
11978 maybe-install-info-libgui: install-info-libgui
11980 install-info-libgui: \
11981 configure-libgui \
11982 info-libgui
11983 @[ -f ./libgui/Makefile ] || exit 0; \
11984 r=`${PWD_COMMAND}`; export r; \
11985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11986 $(SET_LIB_PATH) \
11987 $(HOST_EXPORTS) \
11988 for flag in $(EXTRA_HOST_FLAGS); do \
11989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11990 done; \
11991 echo "Doing install-info in libgui" ; \
11992 (cd libgui && \
11993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11995 "RANLIB=$${RANLIB}" \
11996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11997 install-info) \
11998 || exit 1
12000 @endif libgui
12002 .PHONY: maybe-installcheck-libgui installcheck-libgui
12003 maybe-installcheck-libgui:
12004 @if libgui
12005 maybe-installcheck-libgui: installcheck-libgui
12007 installcheck-libgui: \
12008 configure-libgui
12009 @[ -f ./libgui/Makefile ] || exit 0; \
12010 r=`${PWD_COMMAND}`; export r; \
12011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12012 $(SET_LIB_PATH) \
12013 $(HOST_EXPORTS) \
12014 for flag in $(EXTRA_HOST_FLAGS); do \
12015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 done; \
12017 echo "Doing installcheck in libgui" ; \
12018 (cd libgui && \
12019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12021 "RANLIB=$${RANLIB}" \
12022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12023 installcheck) \
12024 || exit 1
12026 @endif libgui
12028 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12029 maybe-mostlyclean-libgui:
12030 @if libgui
12031 maybe-mostlyclean-libgui: mostlyclean-libgui
12033 mostlyclean-libgui:
12034 @[ -f ./libgui/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(SET_LIB_PATH) \
12038 $(HOST_EXPORTS) \
12039 for flag in $(EXTRA_HOST_FLAGS); do \
12040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12041 done; \
12042 echo "Doing mostlyclean in libgui" ; \
12043 (cd libgui && \
12044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12046 "RANLIB=$${RANLIB}" \
12047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12048 mostlyclean) \
12049 || exit 1
12051 @endif libgui
12053 .PHONY: maybe-clean-libgui clean-libgui
12054 maybe-clean-libgui:
12055 @if libgui
12056 maybe-clean-libgui: clean-libgui
12058 clean-libgui:
12059 @[ -f ./libgui/Makefile ] || exit 0; \
12060 r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 $(SET_LIB_PATH) \
12063 $(HOST_EXPORTS) \
12064 for flag in $(EXTRA_HOST_FLAGS); do \
12065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12066 done; \
12067 echo "Doing clean in libgui" ; \
12068 (cd libgui && \
12069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071 "RANLIB=$${RANLIB}" \
12072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12073 clean) \
12074 || exit 1
12076 @endif libgui
12078 .PHONY: maybe-distclean-libgui distclean-libgui
12079 maybe-distclean-libgui:
12080 @if libgui
12081 maybe-distclean-libgui: distclean-libgui
12083 distclean-libgui:
12084 @[ -f ./libgui/Makefile ] || exit 0; \
12085 r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087 $(SET_LIB_PATH) \
12088 $(HOST_EXPORTS) \
12089 for flag in $(EXTRA_HOST_FLAGS); do \
12090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12091 done; \
12092 echo "Doing distclean in libgui" ; \
12093 (cd libgui && \
12094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12096 "RANLIB=$${RANLIB}" \
12097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12098 distclean) \
12099 || exit 1
12101 @endif libgui
12103 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12104 maybe-maintainer-clean-libgui:
12105 @if libgui
12106 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12108 maintainer-clean-libgui:
12109 @[ -f ./libgui/Makefile ] || exit 0; \
12110 r=`${PWD_COMMAND}`; export r; \
12111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 $(SET_LIB_PATH) \
12113 $(HOST_EXPORTS) \
12114 for flag in $(EXTRA_HOST_FLAGS); do \
12115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12116 done; \
12117 echo "Doing maintainer-clean in libgui" ; \
12118 (cd libgui && \
12119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12121 "RANLIB=$${RANLIB}" \
12122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12123 maintainer-clean) \
12124 || exit 1
12126 @endif libgui
12129 .PHONY: configure-libbanshee maybe-configure-libbanshee
12130 maybe-configure-libbanshee:
12131 @if libbanshee
12132 maybe-configure-libbanshee: configure-libbanshee
12133 configure-libbanshee:
12134 @test ! -f libbanshee/Makefile || exit 0; \
12135 [ -d libbanshee ] || mkdir libbanshee; \
12136 r=`${PWD_COMMAND}`; export r; \
12137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12138 $(HOST_EXPORTS) \
12139 echo Configuring in libbanshee; \
12140 cd libbanshee || exit 1; \
12141 case $(srcdir) in \
12142 \.) \
12143 srcdiroption="--srcdir=."; \
12144 libsrcdir=".";; \
12145 /* | [A-Za-z]:[\\/]*) \
12146 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12147 libsrcdir="$$s/libbanshee";; \
12148 *) \
12149 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12150 libsrcdir="$$s/libbanshee";; \
12151 esac; \
12152 $(SHELL) $${libsrcdir}/configure \
12153 $(HOST_CONFIGARGS) $${srcdiroption} \
12154 || exit 1
12155 @endif libbanshee
12157 .PHONY: all-libbanshee maybe-all-libbanshee
12158 maybe-all-libbanshee:
12159 @if libbanshee
12160 maybe-all-libbanshee: all-libbanshee
12161 all-libbanshee: configure-libbanshee
12162 @r=`${PWD_COMMAND}`; export r; \
12163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164 $(SET_LIB_PATH) \
12165 $(HOST_EXPORTS) \
12166 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12167 @endif libbanshee
12169 .PHONY: check-libbanshee maybe-check-libbanshee
12170 maybe-check-libbanshee:
12171 @if libbanshee
12172 maybe-check-libbanshee: check-libbanshee
12174 check-libbanshee:
12175 @r=`${PWD_COMMAND}`; export r; \
12176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12177 $(SET_LIB_PATH) \
12178 $(HOST_EXPORTS) \
12179 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12181 @endif libbanshee
12183 .PHONY: install-libbanshee maybe-install-libbanshee
12184 maybe-install-libbanshee:
12185 @if libbanshee
12186 maybe-install-libbanshee: install-libbanshee
12188 install-libbanshee:
12190 @endif libbanshee
12192 # Other targets (info, dvi, etc.)
12194 .PHONY: maybe-info-libbanshee info-libbanshee
12195 maybe-info-libbanshee:
12196 @if libbanshee
12197 maybe-info-libbanshee: info-libbanshee
12199 info-libbanshee: \
12200 configure-libbanshee
12201 @[ -f ./libbanshee/Makefile ] || exit 0; \
12202 r=`${PWD_COMMAND}`; export r; \
12203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12204 $(SET_LIB_PATH) \
12205 $(HOST_EXPORTS) \
12206 for flag in $(EXTRA_HOST_FLAGS); do \
12207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12208 done; \
12209 echo "Doing info in libbanshee" ; \
12210 (cd libbanshee && \
12211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12213 "RANLIB=$${RANLIB}" \
12214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12215 info) \
12216 || exit 1
12218 @endif libbanshee
12220 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12221 maybe-dvi-libbanshee:
12222 @if libbanshee
12223 maybe-dvi-libbanshee: dvi-libbanshee
12225 dvi-libbanshee: \
12226 configure-libbanshee
12227 @[ -f ./libbanshee/Makefile ] || exit 0; \
12228 r=`${PWD_COMMAND}`; export r; \
12229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12230 $(SET_LIB_PATH) \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS); do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing dvi in libbanshee" ; \
12236 (cd libbanshee && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 dvi) \
12242 || exit 1
12244 @endif libbanshee
12246 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12247 maybe-TAGS-libbanshee:
12248 @if libbanshee
12249 maybe-TAGS-libbanshee: TAGS-libbanshee
12251 TAGS-libbanshee: \
12252 configure-libbanshee
12253 @[ -f ./libbanshee/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(SET_LIB_PATH) \
12257 $(HOST_EXPORTS) \
12258 for flag in $(EXTRA_HOST_FLAGS); do \
12259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12260 done; \
12261 echo "Doing TAGS in libbanshee" ; \
12262 (cd libbanshee && \
12263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12265 "RANLIB=$${RANLIB}" \
12266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12267 TAGS) \
12268 || exit 1
12270 @endif libbanshee
12272 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12273 maybe-install-info-libbanshee:
12274 @if libbanshee
12275 maybe-install-info-libbanshee: install-info-libbanshee
12277 install-info-libbanshee: \
12278 configure-libbanshee \
12279 info-libbanshee
12280 @[ -f ./libbanshee/Makefile ] || exit 0; \
12281 r=`${PWD_COMMAND}`; export r; \
12282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12283 $(SET_LIB_PATH) \
12284 $(HOST_EXPORTS) \
12285 for flag in $(EXTRA_HOST_FLAGS); do \
12286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12287 done; \
12288 echo "Doing install-info in libbanshee" ; \
12289 (cd libbanshee && \
12290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12292 "RANLIB=$${RANLIB}" \
12293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12294 install-info) \
12295 || exit 1
12297 @endif libbanshee
12299 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12300 maybe-installcheck-libbanshee:
12301 @if libbanshee
12302 maybe-installcheck-libbanshee: installcheck-libbanshee
12304 installcheck-libbanshee: \
12305 configure-libbanshee
12306 @[ -f ./libbanshee/Makefile ] || exit 0; \
12307 r=`${PWD_COMMAND}`; export r; \
12308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12309 $(SET_LIB_PATH) \
12310 $(HOST_EXPORTS) \
12311 for flag in $(EXTRA_HOST_FLAGS); do \
12312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12313 done; \
12314 echo "Doing installcheck in libbanshee" ; \
12315 (cd libbanshee && \
12316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12318 "RANLIB=$${RANLIB}" \
12319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12320 installcheck) \
12321 || exit 1
12323 @endif libbanshee
12325 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12326 maybe-mostlyclean-libbanshee:
12327 @if libbanshee
12328 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12330 mostlyclean-libbanshee:
12331 @[ -f ./libbanshee/Makefile ] || exit 0; \
12332 r=`${PWD_COMMAND}`; export r; \
12333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12334 $(SET_LIB_PATH) \
12335 $(HOST_EXPORTS) \
12336 for flag in $(EXTRA_HOST_FLAGS); do \
12337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12338 done; \
12339 echo "Doing mostlyclean in libbanshee" ; \
12340 (cd libbanshee && \
12341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12343 "RANLIB=$${RANLIB}" \
12344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12345 mostlyclean) \
12346 || exit 1
12348 @endif libbanshee
12350 .PHONY: maybe-clean-libbanshee clean-libbanshee
12351 maybe-clean-libbanshee:
12352 @if libbanshee
12353 maybe-clean-libbanshee: clean-libbanshee
12355 clean-libbanshee:
12356 @[ -f ./libbanshee/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(SET_LIB_PATH) \
12360 $(HOST_EXPORTS) \
12361 for flag in $(EXTRA_HOST_FLAGS); do \
12362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12363 done; \
12364 echo "Doing clean in libbanshee" ; \
12365 (cd libbanshee && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368 "RANLIB=$${RANLIB}" \
12369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12370 clean) \
12371 || exit 1
12373 @endif libbanshee
12375 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12376 maybe-distclean-libbanshee:
12377 @if libbanshee
12378 maybe-distclean-libbanshee: distclean-libbanshee
12380 distclean-libbanshee:
12381 @[ -f ./libbanshee/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(SET_LIB_PATH) \
12385 $(HOST_EXPORTS) \
12386 for flag in $(EXTRA_HOST_FLAGS); do \
12387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12388 done; \
12389 echo "Doing distclean in libbanshee" ; \
12390 (cd libbanshee && \
12391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12393 "RANLIB=$${RANLIB}" \
12394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12395 distclean) \
12396 || exit 1
12398 @endif libbanshee
12400 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12401 maybe-maintainer-clean-libbanshee:
12402 @if libbanshee
12403 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12405 maintainer-clean-libbanshee:
12406 @[ -f ./libbanshee/Makefile ] || exit 0; \
12407 r=`${PWD_COMMAND}`; export r; \
12408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 $(SET_LIB_PATH) \
12410 $(HOST_EXPORTS) \
12411 for flag in $(EXTRA_HOST_FLAGS); do \
12412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12413 done; \
12414 echo "Doing maintainer-clean in libbanshee" ; \
12415 (cd libbanshee && \
12416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12418 "RANLIB=$${RANLIB}" \
12419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12420 maintainer-clean) \
12421 || exit 1
12423 @endif libbanshee
12426 .PHONY: configure-libiberty maybe-configure-libiberty
12427 maybe-configure-libiberty:
12428 @if libiberty
12429 maybe-configure-libiberty: configure-libiberty
12430 configure-libiberty:
12431 @test ! -f libiberty/Makefile || exit 0; \
12432 [ -d libiberty ] || mkdir libiberty; \
12433 r=`${PWD_COMMAND}`; export r; \
12434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12435 $(HOST_EXPORTS) \
12436 echo Configuring in libiberty; \
12437 cd libiberty || exit 1; \
12438 case $(srcdir) in \
12439 \.) \
12440 srcdiroption="--srcdir=."; \
12441 libsrcdir=".";; \
12442 /* | [A-Za-z]:[\\/]*) \
12443 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12444 libsrcdir="$$s/libiberty";; \
12445 *) \
12446 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12447 libsrcdir="$$s/libiberty";; \
12448 esac; \
12449 $(SHELL) $${libsrcdir}/configure \
12450 $(HOST_CONFIGARGS) $${srcdiroption} \
12451 || exit 1
12452 @endif libiberty
12454 .PHONY: all-libiberty maybe-all-libiberty
12455 maybe-all-libiberty:
12456 @if libiberty
12457 maybe-all-libiberty: all-libiberty
12458 all-libiberty: configure-libiberty
12459 @r=`${PWD_COMMAND}`; export r; \
12460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12461 $(SET_LIB_PATH) \
12462 $(HOST_EXPORTS) \
12463 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12464 @endif libiberty
12466 .PHONY: check-libiberty maybe-check-libiberty
12467 maybe-check-libiberty:
12468 @if libiberty
12469 maybe-check-libiberty: check-libiberty
12471 check-libiberty:
12472 @r=`${PWD_COMMAND}`; export r; \
12473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12474 $(SET_LIB_PATH) \
12475 $(HOST_EXPORTS) \
12476 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12478 @endif libiberty
12480 .PHONY: install-libiberty maybe-install-libiberty
12481 maybe-install-libiberty:
12482 @if libiberty
12483 maybe-install-libiberty: install-libiberty
12485 install-libiberty: installdirs
12486 @r=`${PWD_COMMAND}`; export r; \
12487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12488 $(SET_LIB_PATH) \
12489 $(HOST_EXPORTS) \
12490 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12492 @endif libiberty
12494 # Other targets (info, dvi, etc.)
12496 .PHONY: maybe-info-libiberty info-libiberty
12497 maybe-info-libiberty:
12498 @if libiberty
12499 maybe-info-libiberty: info-libiberty
12501 info-libiberty: \
12502 configure-libiberty
12503 @[ -f ./libiberty/Makefile ] || exit 0; \
12504 r=`${PWD_COMMAND}`; export r; \
12505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506 $(SET_LIB_PATH) \
12507 $(HOST_EXPORTS) \
12508 for flag in $(EXTRA_HOST_FLAGS); do \
12509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12510 done; \
12511 echo "Doing info in libiberty" ; \
12512 (cd libiberty && \
12513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12515 "RANLIB=$${RANLIB}" \
12516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12517 info) \
12518 || exit 1
12520 @endif libiberty
12522 .PHONY: maybe-dvi-libiberty dvi-libiberty
12523 maybe-dvi-libiberty:
12524 @if libiberty
12525 maybe-dvi-libiberty: dvi-libiberty
12527 dvi-libiberty: \
12528 configure-libiberty
12529 @[ -f ./libiberty/Makefile ] || exit 0; \
12530 r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532 $(SET_LIB_PATH) \
12533 $(HOST_EXPORTS) \
12534 for flag in $(EXTRA_HOST_FLAGS); do \
12535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12536 done; \
12537 echo "Doing dvi in libiberty" ; \
12538 (cd libiberty && \
12539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12541 "RANLIB=$${RANLIB}" \
12542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12543 dvi) \
12544 || exit 1
12546 @endif libiberty
12548 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12549 maybe-TAGS-libiberty:
12550 @if libiberty
12551 maybe-TAGS-libiberty: TAGS-libiberty
12553 TAGS-libiberty: \
12554 configure-libiberty
12555 @[ -f ./libiberty/Makefile ] || exit 0; \
12556 r=`${PWD_COMMAND}`; export r; \
12557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12558 $(SET_LIB_PATH) \
12559 $(HOST_EXPORTS) \
12560 for flag in $(EXTRA_HOST_FLAGS); do \
12561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12562 done; \
12563 echo "Doing TAGS in libiberty" ; \
12564 (cd libiberty && \
12565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12567 "RANLIB=$${RANLIB}" \
12568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12569 TAGS) \
12570 || exit 1
12572 @endif libiberty
12574 .PHONY: maybe-install-info-libiberty install-info-libiberty
12575 maybe-install-info-libiberty:
12576 @if libiberty
12577 maybe-install-info-libiberty: install-info-libiberty
12579 install-info-libiberty: \
12580 configure-libiberty \
12581 info-libiberty
12582 @[ -f ./libiberty/Makefile ] || exit 0; \
12583 r=`${PWD_COMMAND}`; export r; \
12584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12585 $(SET_LIB_PATH) \
12586 $(HOST_EXPORTS) \
12587 for flag in $(EXTRA_HOST_FLAGS); do \
12588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12589 done; \
12590 echo "Doing install-info in libiberty" ; \
12591 (cd libiberty && \
12592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12594 "RANLIB=$${RANLIB}" \
12595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12596 install-info) \
12597 || exit 1
12599 @endif libiberty
12601 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12602 maybe-installcheck-libiberty:
12603 @if libiberty
12604 maybe-installcheck-libiberty: installcheck-libiberty
12606 installcheck-libiberty: \
12607 configure-libiberty
12608 @[ -f ./libiberty/Makefile ] || exit 0; \
12609 r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611 $(SET_LIB_PATH) \
12612 $(HOST_EXPORTS) \
12613 for flag in $(EXTRA_HOST_FLAGS); do \
12614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12615 done; \
12616 echo "Doing installcheck in libiberty" ; \
12617 (cd libiberty && \
12618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12620 "RANLIB=$${RANLIB}" \
12621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12622 installcheck) \
12623 || exit 1
12625 @endif libiberty
12627 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12628 maybe-mostlyclean-libiberty:
12629 @if libiberty
12630 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12632 mostlyclean-libiberty:
12633 @[ -f ./libiberty/Makefile ] || exit 0; \
12634 r=`${PWD_COMMAND}`; export r; \
12635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12636 $(SET_LIB_PATH) \
12637 $(HOST_EXPORTS) \
12638 for flag in $(EXTRA_HOST_FLAGS); do \
12639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12640 done; \
12641 echo "Doing mostlyclean in libiberty" ; \
12642 (cd libiberty && \
12643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12645 "RANLIB=$${RANLIB}" \
12646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12647 mostlyclean) \
12648 || exit 1
12650 @endif libiberty
12652 .PHONY: maybe-clean-libiberty clean-libiberty
12653 maybe-clean-libiberty:
12654 @if libiberty
12655 maybe-clean-libiberty: clean-libiberty
12657 clean-libiberty:
12658 @[ -f ./libiberty/Makefile ] || exit 0; \
12659 r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 $(SET_LIB_PATH) \
12662 $(HOST_EXPORTS) \
12663 for flag in $(EXTRA_HOST_FLAGS); do \
12664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12665 done; \
12666 echo "Doing clean in libiberty" ; \
12667 (cd libiberty && \
12668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12670 "RANLIB=$${RANLIB}" \
12671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12672 clean) \
12673 || exit 1
12675 @endif libiberty
12677 .PHONY: maybe-distclean-libiberty distclean-libiberty
12678 maybe-distclean-libiberty:
12679 @if libiberty
12680 maybe-distclean-libiberty: distclean-libiberty
12682 distclean-libiberty:
12683 @[ -f ./libiberty/Makefile ] || exit 0; \
12684 r=`${PWD_COMMAND}`; export r; \
12685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12686 $(SET_LIB_PATH) \
12687 $(HOST_EXPORTS) \
12688 for flag in $(EXTRA_HOST_FLAGS); do \
12689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12690 done; \
12691 echo "Doing distclean in libiberty" ; \
12692 (cd libiberty && \
12693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12695 "RANLIB=$${RANLIB}" \
12696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12697 distclean) \
12698 || exit 1
12700 @endif libiberty
12702 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
12703 maybe-maintainer-clean-libiberty:
12704 @if libiberty
12705 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
12707 maintainer-clean-libiberty:
12708 @[ -f ./libiberty/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(SET_LIB_PATH) \
12712 $(HOST_EXPORTS) \
12713 for flag in $(EXTRA_HOST_FLAGS); do \
12714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12715 done; \
12716 echo "Doing maintainer-clean in libiberty" ; \
12717 (cd libiberty && \
12718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12720 "RANLIB=$${RANLIB}" \
12721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12722 maintainer-clean) \
12723 || exit 1
12725 @endif libiberty
12728 .PHONY: configure-libtool maybe-configure-libtool
12729 maybe-configure-libtool:
12730 @if libtool
12731 maybe-configure-libtool: configure-libtool
12732 configure-libtool:
12733 @test ! -f libtool/Makefile || exit 0; \
12734 [ -d libtool ] || mkdir libtool; \
12735 r=`${PWD_COMMAND}`; export r; \
12736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12737 $(HOST_EXPORTS) \
12738 echo Configuring in libtool; \
12739 cd libtool || exit 1; \
12740 case $(srcdir) in \
12741 \.) \
12742 srcdiroption="--srcdir=."; \
12743 libsrcdir=".";; \
12744 /* | [A-Za-z]:[\\/]*) \
12745 srcdiroption="--srcdir=$(srcdir)/libtool"; \
12746 libsrcdir="$$s/libtool";; \
12747 *) \
12748 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
12749 libsrcdir="$$s/libtool";; \
12750 esac; \
12751 $(SHELL) $${libsrcdir}/configure \
12752 $(HOST_CONFIGARGS) $${srcdiroption} \
12753 || exit 1
12754 @endif libtool
12756 .PHONY: all-libtool maybe-all-libtool
12757 maybe-all-libtool:
12758 @if libtool
12759 maybe-all-libtool: all-libtool
12760 all-libtool: configure-libtool
12761 @r=`${PWD_COMMAND}`; export r; \
12762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12763 $(SET_LIB_PATH) \
12764 $(HOST_EXPORTS) \
12765 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
12766 @endif libtool
12768 .PHONY: check-libtool maybe-check-libtool
12769 maybe-check-libtool:
12770 @if libtool
12771 maybe-check-libtool: check-libtool
12773 check-libtool:
12774 @r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(SET_LIB_PATH) \
12777 $(HOST_EXPORTS) \
12778 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
12780 @endif libtool
12782 .PHONY: install-libtool maybe-install-libtool
12783 maybe-install-libtool:
12784 @if libtool
12785 maybe-install-libtool: install-libtool
12787 install-libtool: installdirs
12788 @r=`${PWD_COMMAND}`; export r; \
12789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12790 $(SET_LIB_PATH) \
12791 $(HOST_EXPORTS) \
12792 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
12794 @endif libtool
12796 # Other targets (info, dvi, etc.)
12798 .PHONY: maybe-info-libtool info-libtool
12799 maybe-info-libtool:
12800 @if libtool
12801 maybe-info-libtool: info-libtool
12803 info-libtool: \
12804 configure-libtool
12805 @[ -f ./libtool/Makefile ] || exit 0; \
12806 r=`${PWD_COMMAND}`; export r; \
12807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 $(SET_LIB_PATH) \
12809 $(HOST_EXPORTS) \
12810 for flag in $(EXTRA_HOST_FLAGS); do \
12811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12812 done; \
12813 echo "Doing info in libtool" ; \
12814 (cd libtool && \
12815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12817 "RANLIB=$${RANLIB}" \
12818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12819 info) \
12820 || exit 1
12822 @endif libtool
12824 .PHONY: maybe-dvi-libtool dvi-libtool
12825 maybe-dvi-libtool:
12826 @if libtool
12827 maybe-dvi-libtool: dvi-libtool
12829 dvi-libtool: \
12830 configure-libtool
12831 @[ -f ./libtool/Makefile ] || exit 0; \
12832 r=`${PWD_COMMAND}`; export r; \
12833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 $(SET_LIB_PATH) \
12835 $(HOST_EXPORTS) \
12836 for flag in $(EXTRA_HOST_FLAGS); do \
12837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12838 done; \
12839 echo "Doing dvi in libtool" ; \
12840 (cd libtool && \
12841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12843 "RANLIB=$${RANLIB}" \
12844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12845 dvi) \
12846 || exit 1
12848 @endif libtool
12850 .PHONY: maybe-TAGS-libtool TAGS-libtool
12851 maybe-TAGS-libtool:
12852 @if libtool
12853 maybe-TAGS-libtool: TAGS-libtool
12855 TAGS-libtool: \
12856 configure-libtool
12857 @[ -f ./libtool/Makefile ] || exit 0; \
12858 r=`${PWD_COMMAND}`; export r; \
12859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12860 $(SET_LIB_PATH) \
12861 $(HOST_EXPORTS) \
12862 for flag in $(EXTRA_HOST_FLAGS); do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864 done; \
12865 echo "Doing TAGS in libtool" ; \
12866 (cd libtool && \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12871 TAGS) \
12872 || exit 1
12874 @endif libtool
12876 .PHONY: maybe-install-info-libtool install-info-libtool
12877 maybe-install-info-libtool:
12878 @if libtool
12879 maybe-install-info-libtool: install-info-libtool
12881 install-info-libtool: \
12882 configure-libtool \
12883 info-libtool
12884 @[ -f ./libtool/Makefile ] || exit 0; \
12885 r=`${PWD_COMMAND}`; export r; \
12886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 $(SET_LIB_PATH) \
12888 $(HOST_EXPORTS) \
12889 for flag in $(EXTRA_HOST_FLAGS); do \
12890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12891 done; \
12892 echo "Doing install-info in libtool" ; \
12893 (cd libtool && \
12894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12896 "RANLIB=$${RANLIB}" \
12897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12898 install-info) \
12899 || exit 1
12901 @endif libtool
12903 .PHONY: maybe-installcheck-libtool installcheck-libtool
12904 maybe-installcheck-libtool:
12905 @if libtool
12906 maybe-installcheck-libtool: installcheck-libtool
12908 installcheck-libtool: \
12909 configure-libtool
12910 @[ -f ./libtool/Makefile ] || exit 0; \
12911 r=`${PWD_COMMAND}`; export r; \
12912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 $(SET_LIB_PATH) \
12914 $(HOST_EXPORTS) \
12915 for flag in $(EXTRA_HOST_FLAGS); do \
12916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12917 done; \
12918 echo "Doing installcheck in libtool" ; \
12919 (cd libtool && \
12920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12922 "RANLIB=$${RANLIB}" \
12923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12924 installcheck) \
12925 || exit 1
12927 @endif libtool
12929 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
12930 maybe-mostlyclean-libtool:
12931 @if libtool
12932 maybe-mostlyclean-libtool: mostlyclean-libtool
12934 mostlyclean-libtool:
12935 @[ -f ./libtool/Makefile ] || exit 0; \
12936 r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12938 $(SET_LIB_PATH) \
12939 $(HOST_EXPORTS) \
12940 for flag in $(EXTRA_HOST_FLAGS); do \
12941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12942 done; \
12943 echo "Doing mostlyclean in libtool" ; \
12944 (cd libtool && \
12945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12947 "RANLIB=$${RANLIB}" \
12948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12949 mostlyclean) \
12950 || exit 1
12952 @endif libtool
12954 .PHONY: maybe-clean-libtool clean-libtool
12955 maybe-clean-libtool:
12956 @if libtool
12957 maybe-clean-libtool: clean-libtool
12959 clean-libtool:
12960 @[ -f ./libtool/Makefile ] || exit 0; \
12961 r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12963 $(SET_LIB_PATH) \
12964 $(HOST_EXPORTS) \
12965 for flag in $(EXTRA_HOST_FLAGS); do \
12966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12967 done; \
12968 echo "Doing clean in libtool" ; \
12969 (cd libtool && \
12970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12972 "RANLIB=$${RANLIB}" \
12973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12974 clean) \
12975 || exit 1
12977 @endif libtool
12979 .PHONY: maybe-distclean-libtool distclean-libtool
12980 maybe-distclean-libtool:
12981 @if libtool
12982 maybe-distclean-libtool: distclean-libtool
12984 distclean-libtool:
12985 @[ -f ./libtool/Makefile ] || exit 0; \
12986 r=`${PWD_COMMAND}`; export r; \
12987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12988 $(SET_LIB_PATH) \
12989 $(HOST_EXPORTS) \
12990 for flag in $(EXTRA_HOST_FLAGS); do \
12991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12992 done; \
12993 echo "Doing distclean in libtool" ; \
12994 (cd libtool && \
12995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12997 "RANLIB=$${RANLIB}" \
12998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12999 distclean) \
13000 || exit 1
13002 @endif libtool
13004 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13005 maybe-maintainer-clean-libtool:
13006 @if libtool
13007 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13009 maintainer-clean-libtool:
13010 @[ -f ./libtool/Makefile ] || exit 0; \
13011 r=`${PWD_COMMAND}`; export r; \
13012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13013 $(SET_LIB_PATH) \
13014 $(HOST_EXPORTS) \
13015 for flag in $(EXTRA_HOST_FLAGS); do \
13016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13017 done; \
13018 echo "Doing maintainer-clean in libtool" ; \
13019 (cd libtool && \
13020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13022 "RANLIB=$${RANLIB}" \
13023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13024 maintainer-clean) \
13025 || exit 1
13027 @endif libtool
13030 .PHONY: configure-m4 maybe-configure-m4
13031 maybe-configure-m4:
13032 @if m4
13033 maybe-configure-m4: configure-m4
13034 configure-m4:
13035 @test ! -f m4/Makefile || exit 0; \
13036 [ -d m4 ] || mkdir m4; \
13037 r=`${PWD_COMMAND}`; export r; \
13038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13039 $(HOST_EXPORTS) \
13040 echo Configuring in m4; \
13041 cd m4 || exit 1; \
13042 case $(srcdir) in \
13043 \.) \
13044 srcdiroption="--srcdir=."; \
13045 libsrcdir=".";; \
13046 /* | [A-Za-z]:[\\/]*) \
13047 srcdiroption="--srcdir=$(srcdir)/m4"; \
13048 libsrcdir="$$s/m4";; \
13049 *) \
13050 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13051 libsrcdir="$$s/m4";; \
13052 esac; \
13053 $(SHELL) $${libsrcdir}/configure \
13054 $(HOST_CONFIGARGS) $${srcdiroption} \
13055 || exit 1
13056 @endif m4
13058 .PHONY: all-m4 maybe-all-m4
13059 maybe-all-m4:
13060 @if m4
13061 maybe-all-m4: all-m4
13062 all-m4: configure-m4
13063 @r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 $(SET_LIB_PATH) \
13066 $(HOST_EXPORTS) \
13067 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13068 @endif m4
13070 .PHONY: check-m4 maybe-check-m4
13071 maybe-check-m4:
13072 @if m4
13073 maybe-check-m4: check-m4
13075 check-m4:
13076 @r=`${PWD_COMMAND}`; export r; \
13077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13078 $(SET_LIB_PATH) \
13079 $(HOST_EXPORTS) \
13080 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13082 @endif m4
13084 .PHONY: install-m4 maybe-install-m4
13085 maybe-install-m4:
13086 @if m4
13087 maybe-install-m4: install-m4
13089 install-m4: installdirs
13090 @r=`${PWD_COMMAND}`; export r; \
13091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13092 $(SET_LIB_PATH) \
13093 $(HOST_EXPORTS) \
13094 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13096 @endif m4
13098 # Other targets (info, dvi, etc.)
13100 .PHONY: maybe-info-m4 info-m4
13101 maybe-info-m4:
13102 @if m4
13103 maybe-info-m4: info-m4
13105 info-m4: \
13106 configure-m4
13107 @[ -f ./m4/Makefile ] || exit 0; \
13108 r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(SET_LIB_PATH) \
13111 $(HOST_EXPORTS) \
13112 for flag in $(EXTRA_HOST_FLAGS); do \
13113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13114 done; \
13115 echo "Doing info in m4" ; \
13116 (cd m4 && \
13117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13119 "RANLIB=$${RANLIB}" \
13120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13121 info) \
13122 || exit 1
13124 @endif m4
13126 .PHONY: maybe-dvi-m4 dvi-m4
13127 maybe-dvi-m4:
13128 @if m4
13129 maybe-dvi-m4: dvi-m4
13131 dvi-m4: \
13132 configure-m4
13133 @[ -f ./m4/Makefile ] || exit 0; \
13134 r=`${PWD_COMMAND}`; export r; \
13135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13136 $(SET_LIB_PATH) \
13137 $(HOST_EXPORTS) \
13138 for flag in $(EXTRA_HOST_FLAGS); do \
13139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13140 done; \
13141 echo "Doing dvi in m4" ; \
13142 (cd m4 && \
13143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13145 "RANLIB=$${RANLIB}" \
13146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13147 dvi) \
13148 || exit 1
13150 @endif m4
13152 .PHONY: maybe-TAGS-m4 TAGS-m4
13153 maybe-TAGS-m4:
13154 @if m4
13155 maybe-TAGS-m4: TAGS-m4
13157 TAGS-m4: \
13158 configure-m4
13159 @[ -f ./m4/Makefile ] || exit 0; \
13160 r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 $(SET_LIB_PATH) \
13163 $(HOST_EXPORTS) \
13164 for flag in $(EXTRA_HOST_FLAGS); do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13166 done; \
13167 echo "Doing TAGS in m4" ; \
13168 (cd m4 && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 TAGS) \
13174 || exit 1
13176 @endif m4
13178 .PHONY: maybe-install-info-m4 install-info-m4
13179 maybe-install-info-m4:
13180 @if m4
13181 maybe-install-info-m4: install-info-m4
13183 install-info-m4: \
13184 configure-m4 \
13185 info-m4
13186 @[ -f ./m4/Makefile ] || exit 0; \
13187 r=`${PWD_COMMAND}`; export r; \
13188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13189 $(SET_LIB_PATH) \
13190 $(HOST_EXPORTS) \
13191 for flag in $(EXTRA_HOST_FLAGS); do \
13192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13193 done; \
13194 echo "Doing install-info in m4" ; \
13195 (cd m4 && \
13196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13198 "RANLIB=$${RANLIB}" \
13199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13200 install-info) \
13201 || exit 1
13203 @endif m4
13205 .PHONY: maybe-installcheck-m4 installcheck-m4
13206 maybe-installcheck-m4:
13207 @if m4
13208 maybe-installcheck-m4: installcheck-m4
13210 installcheck-m4: \
13211 configure-m4
13212 @[ -f ./m4/Makefile ] || exit 0; \
13213 r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215 $(SET_LIB_PATH) \
13216 $(HOST_EXPORTS) \
13217 for flag in $(EXTRA_HOST_FLAGS); do \
13218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13219 done; \
13220 echo "Doing installcheck in m4" ; \
13221 (cd m4 && \
13222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13224 "RANLIB=$${RANLIB}" \
13225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13226 installcheck) \
13227 || exit 1
13229 @endif m4
13231 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13232 maybe-mostlyclean-m4:
13233 @if m4
13234 maybe-mostlyclean-m4: mostlyclean-m4
13236 mostlyclean-m4:
13237 @[ -f ./m4/Makefile ] || exit 0; \
13238 r=`${PWD_COMMAND}`; export r; \
13239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13240 $(SET_LIB_PATH) \
13241 $(HOST_EXPORTS) \
13242 for flag in $(EXTRA_HOST_FLAGS); do \
13243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13244 done; \
13245 echo "Doing mostlyclean in m4" ; \
13246 (cd m4 && \
13247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13249 "RANLIB=$${RANLIB}" \
13250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13251 mostlyclean) \
13252 || exit 1
13254 @endif m4
13256 .PHONY: maybe-clean-m4 clean-m4
13257 maybe-clean-m4:
13258 @if m4
13259 maybe-clean-m4: clean-m4
13261 clean-m4:
13262 @[ -f ./m4/Makefile ] || exit 0; \
13263 r=`${PWD_COMMAND}`; export r; \
13264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13265 $(SET_LIB_PATH) \
13266 $(HOST_EXPORTS) \
13267 for flag in $(EXTRA_HOST_FLAGS); do \
13268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13269 done; \
13270 echo "Doing clean in m4" ; \
13271 (cd m4 && \
13272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13274 "RANLIB=$${RANLIB}" \
13275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13276 clean) \
13277 || exit 1
13279 @endif m4
13281 .PHONY: maybe-distclean-m4 distclean-m4
13282 maybe-distclean-m4:
13283 @if m4
13284 maybe-distclean-m4: distclean-m4
13286 distclean-m4:
13287 @[ -f ./m4/Makefile ] || exit 0; \
13288 r=`${PWD_COMMAND}`; export r; \
13289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13290 $(SET_LIB_PATH) \
13291 $(HOST_EXPORTS) \
13292 for flag in $(EXTRA_HOST_FLAGS); do \
13293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13294 done; \
13295 echo "Doing distclean in m4" ; \
13296 (cd m4 && \
13297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13299 "RANLIB=$${RANLIB}" \
13300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13301 distclean) \
13302 || exit 1
13304 @endif m4
13306 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13307 maybe-maintainer-clean-m4:
13308 @if m4
13309 maybe-maintainer-clean-m4: maintainer-clean-m4
13311 maintainer-clean-m4:
13312 @[ -f ./m4/Makefile ] || exit 0; \
13313 r=`${PWD_COMMAND}`; export r; \
13314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13315 $(SET_LIB_PATH) \
13316 $(HOST_EXPORTS) \
13317 for flag in $(EXTRA_HOST_FLAGS); do \
13318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13319 done; \
13320 echo "Doing maintainer-clean in m4" ; \
13321 (cd m4 && \
13322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13324 "RANLIB=$${RANLIB}" \
13325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13326 maintainer-clean) \
13327 || exit 1
13329 @endif m4
13332 .PHONY: configure-make maybe-configure-make
13333 maybe-configure-make:
13334 @if make
13335 maybe-configure-make: configure-make
13336 configure-make:
13337 @test ! -f make/Makefile || exit 0; \
13338 [ -d make ] || mkdir make; \
13339 r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 $(HOST_EXPORTS) \
13342 echo Configuring in make; \
13343 cd make || exit 1; \
13344 case $(srcdir) in \
13345 \.) \
13346 srcdiroption="--srcdir=."; \
13347 libsrcdir=".";; \
13348 /* | [A-Za-z]:[\\/]*) \
13349 srcdiroption="--srcdir=$(srcdir)/make"; \
13350 libsrcdir="$$s/make";; \
13351 *) \
13352 srcdiroption="--srcdir=../$(srcdir)/make"; \
13353 libsrcdir="$$s/make";; \
13354 esac; \
13355 $(SHELL) $${libsrcdir}/configure \
13356 $(HOST_CONFIGARGS) $${srcdiroption} \
13357 || exit 1
13358 @endif make
13360 .PHONY: all-make maybe-all-make
13361 maybe-all-make:
13362 @if make
13363 maybe-all-make: all-make
13364 all-make: configure-make
13365 @r=`${PWD_COMMAND}`; export r; \
13366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13367 $(SET_LIB_PATH) \
13368 $(HOST_EXPORTS) \
13369 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13370 @endif make
13372 .PHONY: check-make maybe-check-make
13373 maybe-check-make:
13374 @if make
13375 maybe-check-make: check-make
13377 check-make:
13378 @r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 $(SET_LIB_PATH) \
13381 $(HOST_EXPORTS) \
13382 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13384 @endif make
13386 .PHONY: install-make maybe-install-make
13387 maybe-install-make:
13388 @if make
13389 maybe-install-make: install-make
13391 install-make: installdirs
13392 @r=`${PWD_COMMAND}`; export r; \
13393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13394 $(SET_LIB_PATH) \
13395 $(HOST_EXPORTS) \
13396 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13398 @endif make
13400 # Other targets (info, dvi, etc.)
13402 .PHONY: maybe-info-make info-make
13403 maybe-info-make:
13404 @if make
13405 maybe-info-make: info-make
13407 info-make: \
13408 configure-make
13409 @[ -f ./make/Makefile ] || exit 0; \
13410 r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412 $(SET_LIB_PATH) \
13413 $(HOST_EXPORTS) \
13414 for flag in $(EXTRA_HOST_FLAGS); do \
13415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13416 done; \
13417 echo "Doing info in make" ; \
13418 (cd make && \
13419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13421 "RANLIB=$${RANLIB}" \
13422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13423 info) \
13424 || exit 1
13426 @endif make
13428 .PHONY: maybe-dvi-make dvi-make
13429 maybe-dvi-make:
13430 @if make
13431 maybe-dvi-make: dvi-make
13433 dvi-make: \
13434 configure-make
13435 @[ -f ./make/Makefile ] || exit 0; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(SET_LIB_PATH) \
13439 $(HOST_EXPORTS) \
13440 for flag in $(EXTRA_HOST_FLAGS); do \
13441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13442 done; \
13443 echo "Doing dvi in make" ; \
13444 (cd make && \
13445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13447 "RANLIB=$${RANLIB}" \
13448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13449 dvi) \
13450 || exit 1
13452 @endif make
13454 .PHONY: maybe-TAGS-make TAGS-make
13455 maybe-TAGS-make:
13456 @if make
13457 maybe-TAGS-make: TAGS-make
13459 TAGS-make: \
13460 configure-make
13461 @[ -f ./make/Makefile ] || exit 0; \
13462 r=`${PWD_COMMAND}`; export r; \
13463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13464 $(SET_LIB_PATH) \
13465 $(HOST_EXPORTS) \
13466 for flag in $(EXTRA_HOST_FLAGS); do \
13467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13468 done; \
13469 echo "Doing TAGS in make" ; \
13470 (cd make && \
13471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13473 "RANLIB=$${RANLIB}" \
13474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13475 TAGS) \
13476 || exit 1
13478 @endif make
13480 .PHONY: maybe-install-info-make install-info-make
13481 maybe-install-info-make:
13482 @if make
13483 maybe-install-info-make: install-info-make
13485 install-info-make: \
13486 configure-make \
13487 info-make
13488 @[ -f ./make/Makefile ] || exit 0; \
13489 r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13491 $(SET_LIB_PATH) \
13492 $(HOST_EXPORTS) \
13493 for flag in $(EXTRA_HOST_FLAGS); do \
13494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13495 done; \
13496 echo "Doing install-info in make" ; \
13497 (cd make && \
13498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13500 "RANLIB=$${RANLIB}" \
13501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13502 install-info) \
13503 || exit 1
13505 @endif make
13507 .PHONY: maybe-installcheck-make installcheck-make
13508 maybe-installcheck-make:
13509 @if make
13510 maybe-installcheck-make: installcheck-make
13512 installcheck-make: \
13513 configure-make
13514 @[ -f ./make/Makefile ] || exit 0; \
13515 r=`${PWD_COMMAND}`; export r; \
13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13517 $(SET_LIB_PATH) \
13518 $(HOST_EXPORTS) \
13519 for flag in $(EXTRA_HOST_FLAGS); do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13521 done; \
13522 echo "Doing installcheck in make" ; \
13523 (cd make && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 installcheck) \
13529 || exit 1
13531 @endif make
13533 .PHONY: maybe-mostlyclean-make mostlyclean-make
13534 maybe-mostlyclean-make:
13535 @if make
13536 maybe-mostlyclean-make: mostlyclean-make
13538 mostlyclean-make:
13539 @[ -f ./make/Makefile ] || exit 0; \
13540 r=`${PWD_COMMAND}`; export r; \
13541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13542 $(SET_LIB_PATH) \
13543 $(HOST_EXPORTS) \
13544 for flag in $(EXTRA_HOST_FLAGS); do \
13545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13546 done; \
13547 echo "Doing mostlyclean in make" ; \
13548 (cd make && \
13549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13551 "RANLIB=$${RANLIB}" \
13552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13553 mostlyclean) \
13554 || exit 1
13556 @endif make
13558 .PHONY: maybe-clean-make clean-make
13559 maybe-clean-make:
13560 @if make
13561 maybe-clean-make: clean-make
13563 clean-make:
13564 @[ -f ./make/Makefile ] || exit 0; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 $(SET_LIB_PATH) \
13568 $(HOST_EXPORTS) \
13569 for flag in $(EXTRA_HOST_FLAGS); do \
13570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13571 done; \
13572 echo "Doing clean in make" ; \
13573 (cd make && \
13574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13576 "RANLIB=$${RANLIB}" \
13577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13578 clean) \
13579 || exit 1
13581 @endif make
13583 .PHONY: maybe-distclean-make distclean-make
13584 maybe-distclean-make:
13585 @if make
13586 maybe-distclean-make: distclean-make
13588 distclean-make:
13589 @[ -f ./make/Makefile ] || exit 0; \
13590 r=`${PWD_COMMAND}`; export r; \
13591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13592 $(SET_LIB_PATH) \
13593 $(HOST_EXPORTS) \
13594 for flag in $(EXTRA_HOST_FLAGS); do \
13595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 done; \
13597 echo "Doing distclean in make" ; \
13598 (cd make && \
13599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13601 "RANLIB=$${RANLIB}" \
13602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13603 distclean) \
13604 || exit 1
13606 @endif make
13608 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13609 maybe-maintainer-clean-make:
13610 @if make
13611 maybe-maintainer-clean-make: maintainer-clean-make
13613 maintainer-clean-make:
13614 @[ -f ./make/Makefile ] || exit 0; \
13615 r=`${PWD_COMMAND}`; export r; \
13616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13617 $(SET_LIB_PATH) \
13618 $(HOST_EXPORTS) \
13619 for flag in $(EXTRA_HOST_FLAGS); do \
13620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13621 done; \
13622 echo "Doing maintainer-clean in make" ; \
13623 (cd make && \
13624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13626 "RANLIB=$${RANLIB}" \
13627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13628 maintainer-clean) \
13629 || exit 1
13631 @endif make
13634 .PHONY: configure-mmalloc maybe-configure-mmalloc
13635 maybe-configure-mmalloc:
13636 @if mmalloc
13637 maybe-configure-mmalloc: configure-mmalloc
13638 configure-mmalloc:
13639 @test ! -f mmalloc/Makefile || exit 0; \
13640 [ -d mmalloc ] || mkdir mmalloc; \
13641 r=`${PWD_COMMAND}`; export r; \
13642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13643 $(HOST_EXPORTS) \
13644 echo Configuring in mmalloc; \
13645 cd mmalloc || exit 1; \
13646 case $(srcdir) in \
13647 \.) \
13648 srcdiroption="--srcdir=."; \
13649 libsrcdir=".";; \
13650 /* | [A-Za-z]:[\\/]*) \
13651 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13652 libsrcdir="$$s/mmalloc";; \
13653 *) \
13654 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13655 libsrcdir="$$s/mmalloc";; \
13656 esac; \
13657 $(SHELL) $${libsrcdir}/configure \
13658 $(HOST_CONFIGARGS) $${srcdiroption} \
13659 || exit 1
13660 @endif mmalloc
13662 .PHONY: all-mmalloc maybe-all-mmalloc
13663 maybe-all-mmalloc:
13664 @if mmalloc
13665 maybe-all-mmalloc: all-mmalloc
13666 all-mmalloc: configure-mmalloc
13667 @r=`${PWD_COMMAND}`; export r; \
13668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13669 $(SET_LIB_PATH) \
13670 $(HOST_EXPORTS) \
13671 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
13672 @endif mmalloc
13674 .PHONY: check-mmalloc maybe-check-mmalloc
13675 maybe-check-mmalloc:
13676 @if mmalloc
13677 maybe-check-mmalloc: check-mmalloc
13679 check-mmalloc:
13681 @endif mmalloc
13683 .PHONY: install-mmalloc maybe-install-mmalloc
13684 maybe-install-mmalloc:
13685 @if mmalloc
13686 maybe-install-mmalloc: install-mmalloc
13688 install-mmalloc: installdirs
13689 @r=`${PWD_COMMAND}`; export r; \
13690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13691 $(SET_LIB_PATH) \
13692 $(HOST_EXPORTS) \
13693 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
13695 @endif mmalloc
13697 # Other targets (info, dvi, etc.)
13699 .PHONY: maybe-info-mmalloc info-mmalloc
13700 maybe-info-mmalloc:
13701 @if mmalloc
13702 maybe-info-mmalloc: info-mmalloc
13704 info-mmalloc: \
13705 configure-mmalloc
13706 @[ -f ./mmalloc/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 $(SET_LIB_PATH) \
13710 $(HOST_EXPORTS) \
13711 for flag in $(EXTRA_HOST_FLAGS); do \
13712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13713 done; \
13714 echo "Doing info in mmalloc" ; \
13715 (cd mmalloc && \
13716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13718 "RANLIB=$${RANLIB}" \
13719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13720 info) \
13721 || exit 1
13723 @endif mmalloc
13725 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
13726 maybe-dvi-mmalloc:
13727 @if mmalloc
13728 maybe-dvi-mmalloc: dvi-mmalloc
13730 dvi-mmalloc: \
13731 configure-mmalloc
13732 @[ -f ./mmalloc/Makefile ] || exit 0; \
13733 r=`${PWD_COMMAND}`; export r; \
13734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13735 $(SET_LIB_PATH) \
13736 $(HOST_EXPORTS) \
13737 for flag in $(EXTRA_HOST_FLAGS); do \
13738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13739 done; \
13740 echo "Doing dvi in mmalloc" ; \
13741 (cd mmalloc && \
13742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13744 "RANLIB=$${RANLIB}" \
13745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13746 dvi) \
13747 || exit 1
13749 @endif mmalloc
13751 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
13752 maybe-TAGS-mmalloc:
13753 @if mmalloc
13754 maybe-TAGS-mmalloc: TAGS-mmalloc
13756 TAGS-mmalloc: \
13757 configure-mmalloc
13758 @[ -f ./mmalloc/Makefile ] || exit 0; \
13759 r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(SET_LIB_PATH) \
13762 $(HOST_EXPORTS) \
13763 for flag in $(EXTRA_HOST_FLAGS); do \
13764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13765 done; \
13766 echo "Doing TAGS in mmalloc" ; \
13767 (cd mmalloc && \
13768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13770 "RANLIB=$${RANLIB}" \
13771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13772 TAGS) \
13773 || exit 1
13775 @endif mmalloc
13777 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
13778 maybe-install-info-mmalloc:
13779 @if mmalloc
13780 maybe-install-info-mmalloc: install-info-mmalloc
13782 install-info-mmalloc: \
13783 configure-mmalloc \
13784 info-mmalloc
13785 @[ -f ./mmalloc/Makefile ] || exit 0; \
13786 r=`${PWD_COMMAND}`; export r; \
13787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13788 $(SET_LIB_PATH) \
13789 $(HOST_EXPORTS) \
13790 for flag in $(EXTRA_HOST_FLAGS); do \
13791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13792 done; \
13793 echo "Doing install-info in mmalloc" ; \
13794 (cd mmalloc && \
13795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13797 "RANLIB=$${RANLIB}" \
13798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13799 install-info) \
13800 || exit 1
13802 @endif mmalloc
13804 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
13805 maybe-installcheck-mmalloc:
13806 @if mmalloc
13807 maybe-installcheck-mmalloc: installcheck-mmalloc
13809 installcheck-mmalloc: \
13810 configure-mmalloc
13811 @[ -f ./mmalloc/Makefile ] || exit 0; \
13812 r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13814 $(SET_LIB_PATH) \
13815 $(HOST_EXPORTS) \
13816 for flag in $(EXTRA_HOST_FLAGS); do \
13817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13818 done; \
13819 echo "Doing installcheck in mmalloc" ; \
13820 (cd mmalloc && \
13821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13823 "RANLIB=$${RANLIB}" \
13824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13825 installcheck) \
13826 || exit 1
13828 @endif mmalloc
13830 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
13831 maybe-mostlyclean-mmalloc:
13832 @if mmalloc
13833 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
13835 mostlyclean-mmalloc:
13836 @[ -f ./mmalloc/Makefile ] || exit 0; \
13837 r=`${PWD_COMMAND}`; export r; \
13838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13839 $(SET_LIB_PATH) \
13840 $(HOST_EXPORTS) \
13841 for flag in $(EXTRA_HOST_FLAGS); do \
13842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13843 done; \
13844 echo "Doing mostlyclean in mmalloc" ; \
13845 (cd mmalloc && \
13846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13848 "RANLIB=$${RANLIB}" \
13849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13850 mostlyclean) \
13851 || exit 1
13853 @endif mmalloc
13855 .PHONY: maybe-clean-mmalloc clean-mmalloc
13856 maybe-clean-mmalloc:
13857 @if mmalloc
13858 maybe-clean-mmalloc: clean-mmalloc
13860 clean-mmalloc:
13861 @[ -f ./mmalloc/Makefile ] || exit 0; \
13862 r=`${PWD_COMMAND}`; export r; \
13863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13864 $(SET_LIB_PATH) \
13865 $(HOST_EXPORTS) \
13866 for flag in $(EXTRA_HOST_FLAGS); do \
13867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13868 done; \
13869 echo "Doing clean in mmalloc" ; \
13870 (cd mmalloc && \
13871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873 "RANLIB=$${RANLIB}" \
13874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13875 clean) \
13876 || exit 1
13878 @endif mmalloc
13880 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
13881 maybe-distclean-mmalloc:
13882 @if mmalloc
13883 maybe-distclean-mmalloc: distclean-mmalloc
13885 distclean-mmalloc:
13886 @[ -f ./mmalloc/Makefile ] || exit 0; \
13887 r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 $(SET_LIB_PATH) \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS); do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing distclean in mmalloc" ; \
13895 (cd mmalloc && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13900 distclean) \
13901 || exit 1
13903 @endif mmalloc
13905 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
13906 maybe-maintainer-clean-mmalloc:
13907 @if mmalloc
13908 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
13910 maintainer-clean-mmalloc:
13911 @[ -f ./mmalloc/Makefile ] || exit 0; \
13912 r=`${PWD_COMMAND}`; export r; \
13913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 $(SET_LIB_PATH) \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS); do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing maintainer-clean in mmalloc" ; \
13920 (cd mmalloc && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 maintainer-clean) \
13926 || exit 1
13928 @endif mmalloc
13931 .PHONY: configure-patch maybe-configure-patch
13932 maybe-configure-patch:
13933 @if patch
13934 maybe-configure-patch: configure-patch
13935 configure-patch:
13936 @test ! -f patch/Makefile || exit 0; \
13937 [ -d patch ] || mkdir patch; \
13938 r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13940 $(HOST_EXPORTS) \
13941 echo Configuring in patch; \
13942 cd patch || exit 1; \
13943 case $(srcdir) in \
13944 \.) \
13945 srcdiroption="--srcdir=."; \
13946 libsrcdir=".";; \
13947 /* | [A-Za-z]:[\\/]*) \
13948 srcdiroption="--srcdir=$(srcdir)/patch"; \
13949 libsrcdir="$$s/patch";; \
13950 *) \
13951 srcdiroption="--srcdir=../$(srcdir)/patch"; \
13952 libsrcdir="$$s/patch";; \
13953 esac; \
13954 $(SHELL) $${libsrcdir}/configure \
13955 $(HOST_CONFIGARGS) $${srcdiroption} \
13956 || exit 1
13957 @endif patch
13959 .PHONY: all-patch maybe-all-patch
13960 maybe-all-patch:
13961 @if patch
13962 maybe-all-patch: all-patch
13963 all-patch: configure-patch
13964 @r=`${PWD_COMMAND}`; export r; \
13965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13966 $(SET_LIB_PATH) \
13967 $(HOST_EXPORTS) \
13968 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
13969 @endif patch
13971 .PHONY: check-patch maybe-check-patch
13972 maybe-check-patch:
13973 @if patch
13974 maybe-check-patch: check-patch
13976 check-patch:
13977 @r=`${PWD_COMMAND}`; export r; \
13978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13979 $(SET_LIB_PATH) \
13980 $(HOST_EXPORTS) \
13981 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
13983 @endif patch
13985 .PHONY: install-patch maybe-install-patch
13986 maybe-install-patch:
13987 @if patch
13988 maybe-install-patch: install-patch
13990 install-patch: installdirs
13991 @r=`${PWD_COMMAND}`; export r; \
13992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13993 $(SET_LIB_PATH) \
13994 $(HOST_EXPORTS) \
13995 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
13997 @endif patch
13999 # Other targets (info, dvi, etc.)
14001 .PHONY: maybe-info-patch info-patch
14002 maybe-info-patch:
14003 @if patch
14004 maybe-info-patch: info-patch
14006 info-patch: \
14007 configure-patch
14008 @[ -f ./patch/Makefile ] || exit 0; \
14009 r=`${PWD_COMMAND}`; export r; \
14010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 $(SET_LIB_PATH) \
14012 $(HOST_EXPORTS) \
14013 for flag in $(EXTRA_HOST_FLAGS); do \
14014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14015 done; \
14016 echo "Doing info in patch" ; \
14017 (cd patch && \
14018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14020 "RANLIB=$${RANLIB}" \
14021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14022 info) \
14023 || exit 1
14025 @endif patch
14027 .PHONY: maybe-dvi-patch dvi-patch
14028 maybe-dvi-patch:
14029 @if patch
14030 maybe-dvi-patch: dvi-patch
14032 dvi-patch: \
14033 configure-patch
14034 @[ -f ./patch/Makefile ] || exit 0; \
14035 r=`${PWD_COMMAND}`; export r; \
14036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14037 $(SET_LIB_PATH) \
14038 $(HOST_EXPORTS) \
14039 for flag in $(EXTRA_HOST_FLAGS); do \
14040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14041 done; \
14042 echo "Doing dvi in patch" ; \
14043 (cd patch && \
14044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14046 "RANLIB=$${RANLIB}" \
14047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14048 dvi) \
14049 || exit 1
14051 @endif patch
14053 .PHONY: maybe-TAGS-patch TAGS-patch
14054 maybe-TAGS-patch:
14055 @if patch
14056 maybe-TAGS-patch: TAGS-patch
14058 TAGS-patch: \
14059 configure-patch
14060 @[ -f ./patch/Makefile ] || exit 0; \
14061 r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 $(SET_LIB_PATH) \
14064 $(HOST_EXPORTS) \
14065 for flag in $(EXTRA_HOST_FLAGS); do \
14066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14067 done; \
14068 echo "Doing TAGS in patch" ; \
14069 (cd patch && \
14070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14072 "RANLIB=$${RANLIB}" \
14073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14074 TAGS) \
14075 || exit 1
14077 @endif patch
14079 .PHONY: maybe-install-info-patch install-info-patch
14080 maybe-install-info-patch:
14081 @if patch
14082 maybe-install-info-patch: install-info-patch
14084 install-info-patch: \
14085 configure-patch \
14086 info-patch
14087 @[ -f ./patch/Makefile ] || exit 0; \
14088 r=`${PWD_COMMAND}`; export r; \
14089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14090 $(SET_LIB_PATH) \
14091 $(HOST_EXPORTS) \
14092 for flag in $(EXTRA_HOST_FLAGS); do \
14093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14094 done; \
14095 echo "Doing install-info in patch" ; \
14096 (cd patch && \
14097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14099 "RANLIB=$${RANLIB}" \
14100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14101 install-info) \
14102 || exit 1
14104 @endif patch
14106 .PHONY: maybe-installcheck-patch installcheck-patch
14107 maybe-installcheck-patch:
14108 @if patch
14109 maybe-installcheck-patch: installcheck-patch
14111 installcheck-patch: \
14112 configure-patch
14113 @[ -f ./patch/Makefile ] || exit 0; \
14114 r=`${PWD_COMMAND}`; export r; \
14115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14116 $(SET_LIB_PATH) \
14117 $(HOST_EXPORTS) \
14118 for flag in $(EXTRA_HOST_FLAGS); do \
14119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14120 done; \
14121 echo "Doing installcheck in patch" ; \
14122 (cd patch && \
14123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14125 "RANLIB=$${RANLIB}" \
14126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14127 installcheck) \
14128 || exit 1
14130 @endif patch
14132 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14133 maybe-mostlyclean-patch:
14134 @if patch
14135 maybe-mostlyclean-patch: mostlyclean-patch
14137 mostlyclean-patch:
14138 @[ -f ./patch/Makefile ] || exit 0; \
14139 r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141 $(SET_LIB_PATH) \
14142 $(HOST_EXPORTS) \
14143 for flag in $(EXTRA_HOST_FLAGS); do \
14144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14145 done; \
14146 echo "Doing mostlyclean in patch" ; \
14147 (cd patch && \
14148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14150 "RANLIB=$${RANLIB}" \
14151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14152 mostlyclean) \
14153 || exit 1
14155 @endif patch
14157 .PHONY: maybe-clean-patch clean-patch
14158 maybe-clean-patch:
14159 @if patch
14160 maybe-clean-patch: clean-patch
14162 clean-patch:
14163 @[ -f ./patch/Makefile ] || exit 0; \
14164 r=`${PWD_COMMAND}`; export r; \
14165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14166 $(SET_LIB_PATH) \
14167 $(HOST_EXPORTS) \
14168 for flag in $(EXTRA_HOST_FLAGS); do \
14169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14170 done; \
14171 echo "Doing clean in patch" ; \
14172 (cd patch && \
14173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14175 "RANLIB=$${RANLIB}" \
14176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14177 clean) \
14178 || exit 1
14180 @endif patch
14182 .PHONY: maybe-distclean-patch distclean-patch
14183 maybe-distclean-patch:
14184 @if patch
14185 maybe-distclean-patch: distclean-patch
14187 distclean-patch:
14188 @[ -f ./patch/Makefile ] || exit 0; \
14189 r=`${PWD_COMMAND}`; export r; \
14190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14191 $(SET_LIB_PATH) \
14192 $(HOST_EXPORTS) \
14193 for flag in $(EXTRA_HOST_FLAGS); do \
14194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14195 done; \
14196 echo "Doing distclean in patch" ; \
14197 (cd patch && \
14198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14200 "RANLIB=$${RANLIB}" \
14201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14202 distclean) \
14203 || exit 1
14205 @endif patch
14207 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14208 maybe-maintainer-clean-patch:
14209 @if patch
14210 maybe-maintainer-clean-patch: maintainer-clean-patch
14212 maintainer-clean-patch:
14213 @[ -f ./patch/Makefile ] || exit 0; \
14214 r=`${PWD_COMMAND}`; export r; \
14215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14216 $(SET_LIB_PATH) \
14217 $(HOST_EXPORTS) \
14218 for flag in $(EXTRA_HOST_FLAGS); do \
14219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14220 done; \
14221 echo "Doing maintainer-clean in patch" ; \
14222 (cd patch && \
14223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14225 "RANLIB=$${RANLIB}" \
14226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 maintainer-clean) \
14228 || exit 1
14230 @endif patch
14233 .PHONY: configure-perl maybe-configure-perl
14234 maybe-configure-perl:
14235 @if perl
14236 maybe-configure-perl: configure-perl
14237 configure-perl:
14238 @test ! -f perl/Makefile || exit 0; \
14239 [ -d perl ] || mkdir perl; \
14240 r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 $(HOST_EXPORTS) \
14243 echo Configuring in perl; \
14244 cd perl || exit 1; \
14245 case $(srcdir) in \
14246 \.) \
14247 srcdiroption="--srcdir=."; \
14248 libsrcdir=".";; \
14249 /* | [A-Za-z]:[\\/]*) \
14250 srcdiroption="--srcdir=$(srcdir)/perl"; \
14251 libsrcdir="$$s/perl";; \
14252 *) \
14253 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14254 libsrcdir="$$s/perl";; \
14255 esac; \
14256 $(SHELL) $${libsrcdir}/configure \
14257 $(HOST_CONFIGARGS) $${srcdiroption} \
14258 || exit 1
14259 @endif perl
14261 .PHONY: all-perl maybe-all-perl
14262 maybe-all-perl:
14263 @if perl
14264 maybe-all-perl: all-perl
14265 all-perl: configure-perl
14266 @r=`${PWD_COMMAND}`; export r; \
14267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14268 $(SET_LIB_PATH) \
14269 $(HOST_EXPORTS) \
14270 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14271 @endif perl
14273 .PHONY: check-perl maybe-check-perl
14274 maybe-check-perl:
14275 @if perl
14276 maybe-check-perl: check-perl
14278 check-perl:
14279 @r=`${PWD_COMMAND}`; export r; \
14280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14281 $(SET_LIB_PATH) \
14282 $(HOST_EXPORTS) \
14283 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14285 @endif perl
14287 .PHONY: install-perl maybe-install-perl
14288 maybe-install-perl:
14289 @if perl
14290 maybe-install-perl: install-perl
14292 install-perl: installdirs
14293 @r=`${PWD_COMMAND}`; export r; \
14294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14295 $(SET_LIB_PATH) \
14296 $(HOST_EXPORTS) \
14297 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14299 @endif perl
14301 # Other targets (info, dvi, etc.)
14303 .PHONY: maybe-info-perl info-perl
14304 maybe-info-perl:
14305 @if perl
14306 maybe-info-perl: info-perl
14308 info-perl: \
14309 configure-perl
14310 @[ -f ./perl/Makefile ] || exit 0; \
14311 r=`${PWD_COMMAND}`; export r; \
14312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14313 $(SET_LIB_PATH) \
14314 $(HOST_EXPORTS) \
14315 for flag in $(EXTRA_HOST_FLAGS); do \
14316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14317 done; \
14318 echo "Doing info in perl" ; \
14319 (cd perl && \
14320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14322 "RANLIB=$${RANLIB}" \
14323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14324 info) \
14325 || exit 1
14327 @endif perl
14329 .PHONY: maybe-dvi-perl dvi-perl
14330 maybe-dvi-perl:
14331 @if perl
14332 maybe-dvi-perl: dvi-perl
14334 dvi-perl: \
14335 configure-perl
14336 @[ -f ./perl/Makefile ] || exit 0; \
14337 r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14339 $(SET_LIB_PATH) \
14340 $(HOST_EXPORTS) \
14341 for flag in $(EXTRA_HOST_FLAGS); do \
14342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14343 done; \
14344 echo "Doing dvi in perl" ; \
14345 (cd perl && \
14346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14348 "RANLIB=$${RANLIB}" \
14349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14350 dvi) \
14351 || exit 1
14353 @endif perl
14355 .PHONY: maybe-TAGS-perl TAGS-perl
14356 maybe-TAGS-perl:
14357 @if perl
14358 maybe-TAGS-perl: TAGS-perl
14360 TAGS-perl: \
14361 configure-perl
14362 @[ -f ./perl/Makefile ] || exit 0; \
14363 r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14365 $(SET_LIB_PATH) \
14366 $(HOST_EXPORTS) \
14367 for flag in $(EXTRA_HOST_FLAGS); do \
14368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14369 done; \
14370 echo "Doing TAGS in perl" ; \
14371 (cd perl && \
14372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14374 "RANLIB=$${RANLIB}" \
14375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14376 TAGS) \
14377 || exit 1
14379 @endif perl
14381 .PHONY: maybe-install-info-perl install-info-perl
14382 maybe-install-info-perl:
14383 @if perl
14384 maybe-install-info-perl: install-info-perl
14386 install-info-perl: \
14387 configure-perl \
14388 info-perl
14389 @[ -f ./perl/Makefile ] || exit 0; \
14390 r=`${PWD_COMMAND}`; export r; \
14391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14392 $(SET_LIB_PATH) \
14393 $(HOST_EXPORTS) \
14394 for flag in $(EXTRA_HOST_FLAGS); do \
14395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14396 done; \
14397 echo "Doing install-info in perl" ; \
14398 (cd perl && \
14399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14401 "RANLIB=$${RANLIB}" \
14402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14403 install-info) \
14404 || exit 1
14406 @endif perl
14408 .PHONY: maybe-installcheck-perl installcheck-perl
14409 maybe-installcheck-perl:
14410 @if perl
14411 maybe-installcheck-perl: installcheck-perl
14413 installcheck-perl: \
14414 configure-perl
14415 @[ -f ./perl/Makefile ] || exit 0; \
14416 r=`${PWD_COMMAND}`; export r; \
14417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 $(SET_LIB_PATH) \
14419 $(HOST_EXPORTS) \
14420 for flag in $(EXTRA_HOST_FLAGS); do \
14421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14422 done; \
14423 echo "Doing installcheck in perl" ; \
14424 (cd perl && \
14425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14427 "RANLIB=$${RANLIB}" \
14428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14429 installcheck) \
14430 || exit 1
14432 @endif perl
14434 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14435 maybe-mostlyclean-perl:
14436 @if perl
14437 maybe-mostlyclean-perl: mostlyclean-perl
14439 mostlyclean-perl:
14440 @[ -f ./perl/Makefile ] || exit 0; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 $(SET_LIB_PATH) \
14444 $(HOST_EXPORTS) \
14445 for flag in $(EXTRA_HOST_FLAGS); do \
14446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14447 done; \
14448 echo "Doing mostlyclean in perl" ; \
14449 (cd perl && \
14450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14452 "RANLIB=$${RANLIB}" \
14453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14454 mostlyclean) \
14455 || exit 1
14457 @endif perl
14459 .PHONY: maybe-clean-perl clean-perl
14460 maybe-clean-perl:
14461 @if perl
14462 maybe-clean-perl: clean-perl
14464 clean-perl:
14465 @[ -f ./perl/Makefile ] || exit 0; \
14466 r=`${PWD_COMMAND}`; export r; \
14467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14468 $(SET_LIB_PATH) \
14469 $(HOST_EXPORTS) \
14470 for flag in $(EXTRA_HOST_FLAGS); do \
14471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14472 done; \
14473 echo "Doing clean in perl" ; \
14474 (cd perl && \
14475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14477 "RANLIB=$${RANLIB}" \
14478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14479 clean) \
14480 || exit 1
14482 @endif perl
14484 .PHONY: maybe-distclean-perl distclean-perl
14485 maybe-distclean-perl:
14486 @if perl
14487 maybe-distclean-perl: distclean-perl
14489 distclean-perl:
14490 @[ -f ./perl/Makefile ] || exit 0; \
14491 r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(SET_LIB_PATH) \
14494 $(HOST_EXPORTS) \
14495 for flag in $(EXTRA_HOST_FLAGS); do \
14496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14497 done; \
14498 echo "Doing distclean in perl" ; \
14499 (cd perl && \
14500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14502 "RANLIB=$${RANLIB}" \
14503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14504 distclean) \
14505 || exit 1
14507 @endif perl
14509 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14510 maybe-maintainer-clean-perl:
14511 @if perl
14512 maybe-maintainer-clean-perl: maintainer-clean-perl
14514 maintainer-clean-perl:
14515 @[ -f ./perl/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(SET_LIB_PATH) \
14519 $(HOST_EXPORTS) \
14520 for flag in $(EXTRA_HOST_FLAGS); do \
14521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14522 done; \
14523 echo "Doing maintainer-clean in perl" ; \
14524 (cd perl && \
14525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14527 "RANLIB=$${RANLIB}" \
14528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14529 maintainer-clean) \
14530 || exit 1
14532 @endif perl
14535 .PHONY: configure-prms maybe-configure-prms
14536 maybe-configure-prms:
14537 @if prms
14538 maybe-configure-prms: configure-prms
14539 configure-prms:
14540 @test ! -f prms/Makefile || exit 0; \
14541 [ -d prms ] || mkdir prms; \
14542 r=`${PWD_COMMAND}`; export r; \
14543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 $(HOST_EXPORTS) \
14545 echo Configuring in prms; \
14546 cd prms || exit 1; \
14547 case $(srcdir) in \
14548 \.) \
14549 srcdiroption="--srcdir=."; \
14550 libsrcdir=".";; \
14551 /* | [A-Za-z]:[\\/]*) \
14552 srcdiroption="--srcdir=$(srcdir)/prms"; \
14553 libsrcdir="$$s/prms";; \
14554 *) \
14555 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14556 libsrcdir="$$s/prms";; \
14557 esac; \
14558 $(SHELL) $${libsrcdir}/configure \
14559 $(HOST_CONFIGARGS) $${srcdiroption} \
14560 || exit 1
14561 @endif prms
14563 .PHONY: all-prms maybe-all-prms
14564 maybe-all-prms:
14565 @if prms
14566 maybe-all-prms: all-prms
14567 all-prms: configure-prms
14568 @r=`${PWD_COMMAND}`; export r; \
14569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14570 $(SET_LIB_PATH) \
14571 $(HOST_EXPORTS) \
14572 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14573 @endif prms
14575 .PHONY: check-prms maybe-check-prms
14576 maybe-check-prms:
14577 @if prms
14578 maybe-check-prms: check-prms
14580 check-prms:
14581 @r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 $(SET_LIB_PATH) \
14584 $(HOST_EXPORTS) \
14585 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14587 @endif prms
14589 .PHONY: install-prms maybe-install-prms
14590 maybe-install-prms:
14591 @if prms
14592 maybe-install-prms: install-prms
14594 install-prms: installdirs
14595 @r=`${PWD_COMMAND}`; export r; \
14596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14597 $(SET_LIB_PATH) \
14598 $(HOST_EXPORTS) \
14599 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14601 @endif prms
14603 # Other targets (info, dvi, etc.)
14605 .PHONY: maybe-info-prms info-prms
14606 maybe-info-prms:
14607 @if prms
14608 maybe-info-prms: info-prms
14610 info-prms: \
14611 configure-prms
14612 @[ -f ./prms/Makefile ] || exit 0; \
14613 r=`${PWD_COMMAND}`; export r; \
14614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 $(SET_LIB_PATH) \
14616 $(HOST_EXPORTS) \
14617 for flag in $(EXTRA_HOST_FLAGS); do \
14618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14619 done; \
14620 echo "Doing info in prms" ; \
14621 (cd prms && \
14622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14624 "RANLIB=$${RANLIB}" \
14625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14626 info) \
14627 || exit 1
14629 @endif prms
14631 .PHONY: maybe-dvi-prms dvi-prms
14632 maybe-dvi-prms:
14633 @if prms
14634 maybe-dvi-prms: dvi-prms
14636 dvi-prms: \
14637 configure-prms
14638 @[ -f ./prms/Makefile ] || exit 0; \
14639 r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14641 $(SET_LIB_PATH) \
14642 $(HOST_EXPORTS) \
14643 for flag in $(EXTRA_HOST_FLAGS); do \
14644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14645 done; \
14646 echo "Doing dvi in prms" ; \
14647 (cd prms && \
14648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14650 "RANLIB=$${RANLIB}" \
14651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14652 dvi) \
14653 || exit 1
14655 @endif prms
14657 .PHONY: maybe-TAGS-prms TAGS-prms
14658 maybe-TAGS-prms:
14659 @if prms
14660 maybe-TAGS-prms: TAGS-prms
14662 TAGS-prms: \
14663 configure-prms
14664 @[ -f ./prms/Makefile ] || exit 0; \
14665 r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14667 $(SET_LIB_PATH) \
14668 $(HOST_EXPORTS) \
14669 for flag in $(EXTRA_HOST_FLAGS); do \
14670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14671 done; \
14672 echo "Doing TAGS in prms" ; \
14673 (cd prms && \
14674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14676 "RANLIB=$${RANLIB}" \
14677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14678 TAGS) \
14679 || exit 1
14681 @endif prms
14683 .PHONY: maybe-install-info-prms install-info-prms
14684 maybe-install-info-prms:
14685 @if prms
14686 maybe-install-info-prms: install-info-prms
14688 install-info-prms: \
14689 configure-prms \
14690 info-prms
14691 @[ -f ./prms/Makefile ] || exit 0; \
14692 r=`${PWD_COMMAND}`; export r; \
14693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14694 $(SET_LIB_PATH) \
14695 $(HOST_EXPORTS) \
14696 for flag in $(EXTRA_HOST_FLAGS); do \
14697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14698 done; \
14699 echo "Doing install-info in prms" ; \
14700 (cd prms && \
14701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14703 "RANLIB=$${RANLIB}" \
14704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14705 install-info) \
14706 || exit 1
14708 @endif prms
14710 .PHONY: maybe-installcheck-prms installcheck-prms
14711 maybe-installcheck-prms:
14712 @if prms
14713 maybe-installcheck-prms: installcheck-prms
14715 installcheck-prms: \
14716 configure-prms
14717 @[ -f ./prms/Makefile ] || exit 0; \
14718 r=`${PWD_COMMAND}`; export r; \
14719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14720 $(SET_LIB_PATH) \
14721 $(HOST_EXPORTS) \
14722 for flag in $(EXTRA_HOST_FLAGS); do \
14723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14724 done; \
14725 echo "Doing installcheck in prms" ; \
14726 (cd prms && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14729 "RANLIB=$${RANLIB}" \
14730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14731 installcheck) \
14732 || exit 1
14734 @endif prms
14736 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
14737 maybe-mostlyclean-prms:
14738 @if prms
14739 maybe-mostlyclean-prms: mostlyclean-prms
14741 mostlyclean-prms:
14742 @[ -f ./prms/Makefile ] || exit 0; \
14743 r=`${PWD_COMMAND}`; export r; \
14744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14745 $(SET_LIB_PATH) \
14746 $(HOST_EXPORTS) \
14747 for flag in $(EXTRA_HOST_FLAGS); do \
14748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14749 done; \
14750 echo "Doing mostlyclean in prms" ; \
14751 (cd prms && \
14752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14754 "RANLIB=$${RANLIB}" \
14755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14756 mostlyclean) \
14757 || exit 1
14759 @endif prms
14761 .PHONY: maybe-clean-prms clean-prms
14762 maybe-clean-prms:
14763 @if prms
14764 maybe-clean-prms: clean-prms
14766 clean-prms:
14767 @[ -f ./prms/Makefile ] || exit 0; \
14768 r=`${PWD_COMMAND}`; export r; \
14769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14770 $(SET_LIB_PATH) \
14771 $(HOST_EXPORTS) \
14772 for flag in $(EXTRA_HOST_FLAGS); do \
14773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14774 done; \
14775 echo "Doing clean in prms" ; \
14776 (cd prms && \
14777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14779 "RANLIB=$${RANLIB}" \
14780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14781 clean) \
14782 || exit 1
14784 @endif prms
14786 .PHONY: maybe-distclean-prms distclean-prms
14787 maybe-distclean-prms:
14788 @if prms
14789 maybe-distclean-prms: distclean-prms
14791 distclean-prms:
14792 @[ -f ./prms/Makefile ] || exit 0; \
14793 r=`${PWD_COMMAND}`; export r; \
14794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 $(SET_LIB_PATH) \
14796 $(HOST_EXPORTS) \
14797 for flag in $(EXTRA_HOST_FLAGS); do \
14798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14799 done; \
14800 echo "Doing distclean in prms" ; \
14801 (cd prms && \
14802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14804 "RANLIB=$${RANLIB}" \
14805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14806 distclean) \
14807 || exit 1
14809 @endif prms
14811 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
14812 maybe-maintainer-clean-prms:
14813 @if prms
14814 maybe-maintainer-clean-prms: maintainer-clean-prms
14816 maintainer-clean-prms:
14817 @[ -f ./prms/Makefile ] || exit 0; \
14818 r=`${PWD_COMMAND}`; export r; \
14819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 $(SET_LIB_PATH) \
14821 $(HOST_EXPORTS) \
14822 for flag in $(EXTRA_HOST_FLAGS); do \
14823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14824 done; \
14825 echo "Doing maintainer-clean in prms" ; \
14826 (cd prms && \
14827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14829 "RANLIB=$${RANLIB}" \
14830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14831 maintainer-clean) \
14832 || exit 1
14834 @endif prms
14837 .PHONY: configure-rcs maybe-configure-rcs
14838 maybe-configure-rcs:
14839 @if rcs
14840 maybe-configure-rcs: configure-rcs
14841 configure-rcs:
14842 @test ! -f rcs/Makefile || exit 0; \
14843 [ -d rcs ] || mkdir rcs; \
14844 r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 $(HOST_EXPORTS) \
14847 echo Configuring in rcs; \
14848 cd rcs || exit 1; \
14849 case $(srcdir) in \
14850 \.) \
14851 srcdiroption="--srcdir=."; \
14852 libsrcdir=".";; \
14853 /* | [A-Za-z]:[\\/]*) \
14854 srcdiroption="--srcdir=$(srcdir)/rcs"; \
14855 libsrcdir="$$s/rcs";; \
14856 *) \
14857 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
14858 libsrcdir="$$s/rcs";; \
14859 esac; \
14860 $(SHELL) $${libsrcdir}/configure \
14861 $(HOST_CONFIGARGS) $${srcdiroption} \
14862 || exit 1
14863 @endif rcs
14865 .PHONY: all-rcs maybe-all-rcs
14866 maybe-all-rcs:
14867 @if rcs
14868 maybe-all-rcs: all-rcs
14869 all-rcs: configure-rcs
14870 @r=`${PWD_COMMAND}`; export r; \
14871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14872 $(SET_LIB_PATH) \
14873 $(HOST_EXPORTS) \
14874 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
14875 @endif rcs
14877 .PHONY: check-rcs maybe-check-rcs
14878 maybe-check-rcs:
14879 @if rcs
14880 maybe-check-rcs: check-rcs
14882 check-rcs:
14883 @r=`${PWD_COMMAND}`; export r; \
14884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14885 $(SET_LIB_PATH) \
14886 $(HOST_EXPORTS) \
14887 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
14889 @endif rcs
14891 .PHONY: install-rcs maybe-install-rcs
14892 maybe-install-rcs:
14893 @if rcs
14894 maybe-install-rcs: install-rcs
14896 install-rcs: installdirs
14897 @r=`${PWD_COMMAND}`; export r; \
14898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14899 $(SET_LIB_PATH) \
14900 $(HOST_EXPORTS) \
14901 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
14903 @endif rcs
14905 # Other targets (info, dvi, etc.)
14907 .PHONY: maybe-info-rcs info-rcs
14908 maybe-info-rcs:
14909 @if rcs
14910 maybe-info-rcs: info-rcs
14912 info-rcs: \
14913 configure-rcs
14914 @[ -f ./rcs/Makefile ] || exit 0; \
14915 r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917 $(SET_LIB_PATH) \
14918 $(HOST_EXPORTS) \
14919 for flag in $(EXTRA_HOST_FLAGS); do \
14920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14921 done; \
14922 echo "Doing info in rcs" ; \
14923 (cd rcs && \
14924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14926 "RANLIB=$${RANLIB}" \
14927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14928 info) \
14929 || exit 1
14931 @endif rcs
14933 .PHONY: maybe-dvi-rcs dvi-rcs
14934 maybe-dvi-rcs:
14935 @if rcs
14936 maybe-dvi-rcs: dvi-rcs
14938 dvi-rcs: \
14939 configure-rcs
14940 @[ -f ./rcs/Makefile ] || exit 0; \
14941 r=`${PWD_COMMAND}`; export r; \
14942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14943 $(SET_LIB_PATH) \
14944 $(HOST_EXPORTS) \
14945 for flag in $(EXTRA_HOST_FLAGS); do \
14946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14947 done; \
14948 echo "Doing dvi in rcs" ; \
14949 (cd rcs && \
14950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14952 "RANLIB=$${RANLIB}" \
14953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14954 dvi) \
14955 || exit 1
14957 @endif rcs
14959 .PHONY: maybe-TAGS-rcs TAGS-rcs
14960 maybe-TAGS-rcs:
14961 @if rcs
14962 maybe-TAGS-rcs: TAGS-rcs
14964 TAGS-rcs: \
14965 configure-rcs
14966 @[ -f ./rcs/Makefile ] || exit 0; \
14967 r=`${PWD_COMMAND}`; export r; \
14968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14969 $(SET_LIB_PATH) \
14970 $(HOST_EXPORTS) \
14971 for flag in $(EXTRA_HOST_FLAGS); do \
14972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14973 done; \
14974 echo "Doing TAGS in rcs" ; \
14975 (cd rcs && \
14976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14978 "RANLIB=$${RANLIB}" \
14979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14980 TAGS) \
14981 || exit 1
14983 @endif rcs
14985 .PHONY: maybe-install-info-rcs install-info-rcs
14986 maybe-install-info-rcs:
14987 @if rcs
14988 maybe-install-info-rcs: install-info-rcs
14990 install-info-rcs: \
14991 configure-rcs \
14992 info-rcs
14993 @[ -f ./rcs/Makefile ] || exit 0; \
14994 r=`${PWD_COMMAND}`; export r; \
14995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14996 $(SET_LIB_PATH) \
14997 $(HOST_EXPORTS) \
14998 for flag in $(EXTRA_HOST_FLAGS); do \
14999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15000 done; \
15001 echo "Doing install-info in rcs" ; \
15002 (cd rcs && \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15005 "RANLIB=$${RANLIB}" \
15006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15007 install-info) \
15008 || exit 1
15010 @endif rcs
15012 .PHONY: maybe-installcheck-rcs installcheck-rcs
15013 maybe-installcheck-rcs:
15014 @if rcs
15015 maybe-installcheck-rcs: installcheck-rcs
15017 installcheck-rcs: \
15018 configure-rcs
15019 @[ -f ./rcs/Makefile ] || exit 0; \
15020 r=`${PWD_COMMAND}`; export r; \
15021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15022 $(SET_LIB_PATH) \
15023 $(HOST_EXPORTS) \
15024 for flag in $(EXTRA_HOST_FLAGS); do \
15025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15026 done; \
15027 echo "Doing installcheck in rcs" ; \
15028 (cd rcs && \
15029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15031 "RANLIB=$${RANLIB}" \
15032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15033 installcheck) \
15034 || exit 1
15036 @endif rcs
15038 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15039 maybe-mostlyclean-rcs:
15040 @if rcs
15041 maybe-mostlyclean-rcs: mostlyclean-rcs
15043 mostlyclean-rcs:
15044 @[ -f ./rcs/Makefile ] || exit 0; \
15045 r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 $(SET_LIB_PATH) \
15048 $(HOST_EXPORTS) \
15049 for flag in $(EXTRA_HOST_FLAGS); do \
15050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15051 done; \
15052 echo "Doing mostlyclean in rcs" ; \
15053 (cd rcs && \
15054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15056 "RANLIB=$${RANLIB}" \
15057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15058 mostlyclean) \
15059 || exit 1
15061 @endif rcs
15063 .PHONY: maybe-clean-rcs clean-rcs
15064 maybe-clean-rcs:
15065 @if rcs
15066 maybe-clean-rcs: clean-rcs
15068 clean-rcs:
15069 @[ -f ./rcs/Makefile ] || exit 0; \
15070 r=`${PWD_COMMAND}`; export r; \
15071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15072 $(SET_LIB_PATH) \
15073 $(HOST_EXPORTS) \
15074 for flag in $(EXTRA_HOST_FLAGS); do \
15075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15076 done; \
15077 echo "Doing clean in rcs" ; \
15078 (cd rcs && \
15079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15081 "RANLIB=$${RANLIB}" \
15082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15083 clean) \
15084 || exit 1
15086 @endif rcs
15088 .PHONY: maybe-distclean-rcs distclean-rcs
15089 maybe-distclean-rcs:
15090 @if rcs
15091 maybe-distclean-rcs: distclean-rcs
15093 distclean-rcs:
15094 @[ -f ./rcs/Makefile ] || exit 0; \
15095 r=`${PWD_COMMAND}`; export r; \
15096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15097 $(SET_LIB_PATH) \
15098 $(HOST_EXPORTS) \
15099 for flag in $(EXTRA_HOST_FLAGS); do \
15100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15101 done; \
15102 echo "Doing distclean in rcs" ; \
15103 (cd rcs && \
15104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15106 "RANLIB=$${RANLIB}" \
15107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15108 distclean) \
15109 || exit 1
15111 @endif rcs
15113 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15114 maybe-maintainer-clean-rcs:
15115 @if rcs
15116 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15118 maintainer-clean-rcs:
15119 @[ -f ./rcs/Makefile ] || exit 0; \
15120 r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(SET_LIB_PATH) \
15123 $(HOST_EXPORTS) \
15124 for flag in $(EXTRA_HOST_FLAGS); do \
15125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15126 done; \
15127 echo "Doing maintainer-clean in rcs" ; \
15128 (cd rcs && \
15129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15131 "RANLIB=$${RANLIB}" \
15132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15133 maintainer-clean) \
15134 || exit 1
15136 @endif rcs
15139 .PHONY: configure-readline maybe-configure-readline
15140 maybe-configure-readline:
15141 @if readline
15142 maybe-configure-readline: configure-readline
15143 configure-readline:
15144 @test ! -f readline/Makefile || exit 0; \
15145 [ -d readline ] || mkdir readline; \
15146 r=`${PWD_COMMAND}`; export r; \
15147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15148 $(HOST_EXPORTS) \
15149 echo Configuring in readline; \
15150 cd readline || exit 1; \
15151 case $(srcdir) in \
15152 \.) \
15153 srcdiroption="--srcdir=."; \
15154 libsrcdir=".";; \
15155 /* | [A-Za-z]:[\\/]*) \
15156 srcdiroption="--srcdir=$(srcdir)/readline"; \
15157 libsrcdir="$$s/readline";; \
15158 *) \
15159 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15160 libsrcdir="$$s/readline";; \
15161 esac; \
15162 $(SHELL) $${libsrcdir}/configure \
15163 $(HOST_CONFIGARGS) $${srcdiroption} \
15164 || exit 1
15165 @endif readline
15167 .PHONY: all-readline maybe-all-readline
15168 maybe-all-readline:
15169 @if readline
15170 maybe-all-readline: all-readline
15171 all-readline: configure-readline
15172 @r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15174 $(SET_LIB_PATH) \
15175 $(HOST_EXPORTS) \
15176 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15177 @endif readline
15179 .PHONY: check-readline maybe-check-readline
15180 maybe-check-readline:
15181 @if readline
15182 maybe-check-readline: check-readline
15184 check-readline:
15185 @r=`${PWD_COMMAND}`; export r; \
15186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 $(SET_LIB_PATH) \
15188 $(HOST_EXPORTS) \
15189 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15191 @endif readline
15193 .PHONY: install-readline maybe-install-readline
15194 maybe-install-readline:
15195 @if readline
15196 maybe-install-readline: install-readline
15198 install-readline: installdirs
15199 @r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15201 $(SET_LIB_PATH) \
15202 $(HOST_EXPORTS) \
15203 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15205 @endif readline
15207 # Other targets (info, dvi, etc.)
15209 .PHONY: maybe-info-readline info-readline
15210 maybe-info-readline:
15211 @if readline
15212 maybe-info-readline: info-readline
15214 info-readline: \
15215 configure-readline
15216 @[ -f ./readline/Makefile ] || exit 0; \
15217 r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 $(SET_LIB_PATH) \
15220 $(HOST_EXPORTS) \
15221 for flag in $(EXTRA_HOST_FLAGS); do \
15222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15223 done; \
15224 echo "Doing info in readline" ; \
15225 (cd readline && \
15226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15228 "RANLIB=$${RANLIB}" \
15229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15230 info) \
15231 || exit 1
15233 @endif readline
15235 .PHONY: maybe-dvi-readline dvi-readline
15236 maybe-dvi-readline:
15237 @if readline
15238 maybe-dvi-readline: dvi-readline
15240 dvi-readline: \
15241 configure-readline
15242 @[ -f ./readline/Makefile ] || exit 0; \
15243 r=`${PWD_COMMAND}`; export r; \
15244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15245 $(SET_LIB_PATH) \
15246 $(HOST_EXPORTS) \
15247 for flag in $(EXTRA_HOST_FLAGS); do \
15248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15249 done; \
15250 echo "Doing dvi in readline" ; \
15251 (cd readline && \
15252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15254 "RANLIB=$${RANLIB}" \
15255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15256 dvi) \
15257 || exit 1
15259 @endif readline
15261 .PHONY: maybe-TAGS-readline TAGS-readline
15262 maybe-TAGS-readline:
15263 @if readline
15264 maybe-TAGS-readline: TAGS-readline
15266 TAGS-readline: \
15267 configure-readline
15268 @[ -f ./readline/Makefile ] || exit 0; \
15269 r=`${PWD_COMMAND}`; export r; \
15270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15271 $(SET_LIB_PATH) \
15272 $(HOST_EXPORTS) \
15273 for flag in $(EXTRA_HOST_FLAGS); do \
15274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15275 done; \
15276 echo "Doing TAGS in readline" ; \
15277 (cd readline && \
15278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15280 "RANLIB=$${RANLIB}" \
15281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15282 TAGS) \
15283 || exit 1
15285 @endif readline
15287 .PHONY: maybe-install-info-readline install-info-readline
15288 maybe-install-info-readline:
15289 @if readline
15290 maybe-install-info-readline: install-info-readline
15292 install-info-readline: \
15293 configure-readline \
15294 info-readline
15295 @[ -f ./readline/Makefile ] || exit 0; \
15296 r=`${PWD_COMMAND}`; export r; \
15297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 $(SET_LIB_PATH) \
15299 $(HOST_EXPORTS) \
15300 for flag in $(EXTRA_HOST_FLAGS); do \
15301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15302 done; \
15303 echo "Doing install-info in readline" ; \
15304 (cd readline && \
15305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15307 "RANLIB=$${RANLIB}" \
15308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15309 install-info) \
15310 || exit 1
15312 @endif readline
15314 .PHONY: maybe-installcheck-readline installcheck-readline
15315 maybe-installcheck-readline:
15316 @if readline
15317 maybe-installcheck-readline: installcheck-readline
15319 installcheck-readline: \
15320 configure-readline
15321 @[ -f ./readline/Makefile ] || exit 0; \
15322 r=`${PWD_COMMAND}`; export r; \
15323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15324 $(SET_LIB_PATH) \
15325 $(HOST_EXPORTS) \
15326 for flag in $(EXTRA_HOST_FLAGS); do \
15327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15328 done; \
15329 echo "Doing installcheck in readline" ; \
15330 (cd readline && \
15331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15333 "RANLIB=$${RANLIB}" \
15334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15335 installcheck) \
15336 || exit 1
15338 @endif readline
15340 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15341 maybe-mostlyclean-readline:
15342 @if readline
15343 maybe-mostlyclean-readline: mostlyclean-readline
15345 mostlyclean-readline:
15346 @[ -f ./readline/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(SET_LIB_PATH) \
15350 $(HOST_EXPORTS) \
15351 for flag in $(EXTRA_HOST_FLAGS); do \
15352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15353 done; \
15354 echo "Doing mostlyclean in readline" ; \
15355 (cd readline && \
15356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15358 "RANLIB=$${RANLIB}" \
15359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15360 mostlyclean) \
15361 || exit 1
15363 @endif readline
15365 .PHONY: maybe-clean-readline clean-readline
15366 maybe-clean-readline:
15367 @if readline
15368 maybe-clean-readline: clean-readline
15370 clean-readline:
15371 @[ -f ./readline/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15374 $(SET_LIB_PATH) \
15375 $(HOST_EXPORTS) \
15376 for flag in $(EXTRA_HOST_FLAGS); do \
15377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15378 done; \
15379 echo "Doing clean in readline" ; \
15380 (cd readline && \
15381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15383 "RANLIB=$${RANLIB}" \
15384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15385 clean) \
15386 || exit 1
15388 @endif readline
15390 .PHONY: maybe-distclean-readline distclean-readline
15391 maybe-distclean-readline:
15392 @if readline
15393 maybe-distclean-readline: distclean-readline
15395 distclean-readline:
15396 @[ -f ./readline/Makefile ] || exit 0; \
15397 r=`${PWD_COMMAND}`; export r; \
15398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15399 $(SET_LIB_PATH) \
15400 $(HOST_EXPORTS) \
15401 for flag in $(EXTRA_HOST_FLAGS); do \
15402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15403 done; \
15404 echo "Doing distclean in readline" ; \
15405 (cd readline && \
15406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15408 "RANLIB=$${RANLIB}" \
15409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15410 distclean) \
15411 || exit 1
15413 @endif readline
15415 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15416 maybe-maintainer-clean-readline:
15417 @if readline
15418 maybe-maintainer-clean-readline: maintainer-clean-readline
15420 maintainer-clean-readline:
15421 @[ -f ./readline/Makefile ] || exit 0; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(SET_LIB_PATH) \
15425 $(HOST_EXPORTS) \
15426 for flag in $(EXTRA_HOST_FLAGS); do \
15427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15428 done; \
15429 echo "Doing maintainer-clean in readline" ; \
15430 (cd readline && \
15431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15433 "RANLIB=$${RANLIB}" \
15434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15435 maintainer-clean) \
15436 || exit 1
15438 @endif readline
15441 .PHONY: configure-release maybe-configure-release
15442 maybe-configure-release:
15443 @if release
15444 maybe-configure-release: configure-release
15445 configure-release:
15446 @test ! -f release/Makefile || exit 0; \
15447 [ -d release ] || mkdir release; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 echo Configuring in release; \
15452 cd release || exit 1; \
15453 case $(srcdir) in \
15454 \.) \
15455 srcdiroption="--srcdir=."; \
15456 libsrcdir=".";; \
15457 /* | [A-Za-z]:[\\/]*) \
15458 srcdiroption="--srcdir=$(srcdir)/release"; \
15459 libsrcdir="$$s/release";; \
15460 *) \
15461 srcdiroption="--srcdir=../$(srcdir)/release"; \
15462 libsrcdir="$$s/release";; \
15463 esac; \
15464 $(SHELL) $${libsrcdir}/configure \
15465 $(HOST_CONFIGARGS) $${srcdiroption} \
15466 || exit 1
15467 @endif release
15469 .PHONY: all-release maybe-all-release
15470 maybe-all-release:
15471 @if release
15472 maybe-all-release: all-release
15473 all-release: configure-release
15474 @r=`${PWD_COMMAND}`; export r; \
15475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15476 $(SET_LIB_PATH) \
15477 $(HOST_EXPORTS) \
15478 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15479 @endif release
15481 .PHONY: check-release maybe-check-release
15482 maybe-check-release:
15483 @if release
15484 maybe-check-release: check-release
15486 check-release:
15488 @endif release
15490 .PHONY: install-release maybe-install-release
15491 maybe-install-release:
15492 @if release
15493 maybe-install-release: install-release
15495 install-release:
15497 @endif release
15499 # Other targets (info, dvi, etc.)
15501 .PHONY: maybe-info-release info-release
15502 maybe-info-release:
15503 @if release
15504 maybe-info-release: info-release
15506 info-release: \
15507 configure-release
15508 @[ -f ./release/Makefile ] || exit 0; \
15509 r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15511 $(SET_LIB_PATH) \
15512 $(HOST_EXPORTS) \
15513 for flag in $(EXTRA_HOST_FLAGS); do \
15514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15515 done; \
15516 echo "Doing info in release" ; \
15517 (cd release && \
15518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15520 "RANLIB=$${RANLIB}" \
15521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15522 info) \
15523 || exit 1
15525 @endif release
15527 .PHONY: maybe-dvi-release dvi-release
15528 maybe-dvi-release:
15529 @if release
15530 maybe-dvi-release: dvi-release
15532 dvi-release: \
15533 configure-release
15534 @[ -f ./release/Makefile ] || exit 0; \
15535 r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 $(SET_LIB_PATH) \
15538 $(HOST_EXPORTS) \
15539 for flag in $(EXTRA_HOST_FLAGS); do \
15540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15541 done; \
15542 echo "Doing dvi in release" ; \
15543 (cd release && \
15544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15546 "RANLIB=$${RANLIB}" \
15547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15548 dvi) \
15549 || exit 1
15551 @endif release
15553 .PHONY: maybe-TAGS-release TAGS-release
15554 maybe-TAGS-release:
15555 @if release
15556 maybe-TAGS-release: TAGS-release
15558 TAGS-release: \
15559 configure-release
15560 @[ -f ./release/Makefile ] || exit 0; \
15561 r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(SET_LIB_PATH) \
15564 $(HOST_EXPORTS) \
15565 for flag in $(EXTRA_HOST_FLAGS); do \
15566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15567 done; \
15568 echo "Doing TAGS in release" ; \
15569 (cd release && \
15570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15572 "RANLIB=$${RANLIB}" \
15573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15574 TAGS) \
15575 || exit 1
15577 @endif release
15579 .PHONY: maybe-install-info-release install-info-release
15580 maybe-install-info-release:
15581 @if release
15582 maybe-install-info-release: install-info-release
15584 install-info-release: \
15585 configure-release \
15586 info-release
15587 @[ -f ./release/Makefile ] || exit 0; \
15588 r=`${PWD_COMMAND}`; export r; \
15589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15590 $(SET_LIB_PATH) \
15591 $(HOST_EXPORTS) \
15592 for flag in $(EXTRA_HOST_FLAGS); do \
15593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15594 done; \
15595 echo "Doing install-info in release" ; \
15596 (cd release && \
15597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15599 "RANLIB=$${RANLIB}" \
15600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15601 install-info) \
15602 || exit 1
15604 @endif release
15606 .PHONY: maybe-installcheck-release installcheck-release
15607 maybe-installcheck-release:
15608 @if release
15609 maybe-installcheck-release: installcheck-release
15611 installcheck-release: \
15612 configure-release
15613 @[ -f ./release/Makefile ] || exit 0; \
15614 r=`${PWD_COMMAND}`; export r; \
15615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15616 $(SET_LIB_PATH) \
15617 $(HOST_EXPORTS) \
15618 for flag in $(EXTRA_HOST_FLAGS); do \
15619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15620 done; \
15621 echo "Doing installcheck in release" ; \
15622 (cd release && \
15623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15625 "RANLIB=$${RANLIB}" \
15626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15627 installcheck) \
15628 || exit 1
15630 @endif release
15632 .PHONY: maybe-mostlyclean-release mostlyclean-release
15633 maybe-mostlyclean-release:
15634 @if release
15635 maybe-mostlyclean-release: mostlyclean-release
15637 mostlyclean-release:
15638 @[ -f ./release/Makefile ] || exit 0; \
15639 r=`${PWD_COMMAND}`; export r; \
15640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15641 $(SET_LIB_PATH) \
15642 $(HOST_EXPORTS) \
15643 for flag in $(EXTRA_HOST_FLAGS); do \
15644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15645 done; \
15646 echo "Doing mostlyclean in release" ; \
15647 (cd release && \
15648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15650 "RANLIB=$${RANLIB}" \
15651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15652 mostlyclean) \
15653 || exit 1
15655 @endif release
15657 .PHONY: maybe-clean-release clean-release
15658 maybe-clean-release:
15659 @if release
15660 maybe-clean-release: clean-release
15662 clean-release:
15663 @[ -f ./release/Makefile ] || exit 0; \
15664 r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 $(SET_LIB_PATH) \
15667 $(HOST_EXPORTS) \
15668 for flag in $(EXTRA_HOST_FLAGS); do \
15669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15670 done; \
15671 echo "Doing clean in release" ; \
15672 (cd release && \
15673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15675 "RANLIB=$${RANLIB}" \
15676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 clean) \
15678 || exit 1
15680 @endif release
15682 .PHONY: maybe-distclean-release distclean-release
15683 maybe-distclean-release:
15684 @if release
15685 maybe-distclean-release: distclean-release
15687 distclean-release:
15688 @[ -f ./release/Makefile ] || exit 0; \
15689 r=`${PWD_COMMAND}`; export r; \
15690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15691 $(SET_LIB_PATH) \
15692 $(HOST_EXPORTS) \
15693 for flag in $(EXTRA_HOST_FLAGS); do \
15694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15695 done; \
15696 echo "Doing distclean in release" ; \
15697 (cd release && \
15698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15700 "RANLIB=$${RANLIB}" \
15701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15702 distclean) \
15703 || exit 1
15705 @endif release
15707 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
15708 maybe-maintainer-clean-release:
15709 @if release
15710 maybe-maintainer-clean-release: maintainer-clean-release
15712 maintainer-clean-release:
15713 @[ -f ./release/Makefile ] || exit 0; \
15714 r=`${PWD_COMMAND}`; export r; \
15715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15716 $(SET_LIB_PATH) \
15717 $(HOST_EXPORTS) \
15718 for flag in $(EXTRA_HOST_FLAGS); do \
15719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15720 done; \
15721 echo "Doing maintainer-clean in release" ; \
15722 (cd release && \
15723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15725 "RANLIB=$${RANLIB}" \
15726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15727 maintainer-clean) \
15728 || exit 1
15730 @endif release
15733 .PHONY: configure-recode maybe-configure-recode
15734 maybe-configure-recode:
15735 @if recode
15736 maybe-configure-recode: configure-recode
15737 configure-recode:
15738 @test ! -f recode/Makefile || exit 0; \
15739 [ -d recode ] || mkdir recode; \
15740 r=`${PWD_COMMAND}`; export r; \
15741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15742 $(HOST_EXPORTS) \
15743 echo Configuring in recode; \
15744 cd recode || exit 1; \
15745 case $(srcdir) in \
15746 \.) \
15747 srcdiroption="--srcdir=."; \
15748 libsrcdir=".";; \
15749 /* | [A-Za-z]:[\\/]*) \
15750 srcdiroption="--srcdir=$(srcdir)/recode"; \
15751 libsrcdir="$$s/recode";; \
15752 *) \
15753 srcdiroption="--srcdir=../$(srcdir)/recode"; \
15754 libsrcdir="$$s/recode";; \
15755 esac; \
15756 $(SHELL) $${libsrcdir}/configure \
15757 $(HOST_CONFIGARGS) $${srcdiroption} \
15758 || exit 1
15759 @endif recode
15761 .PHONY: all-recode maybe-all-recode
15762 maybe-all-recode:
15763 @if recode
15764 maybe-all-recode: all-recode
15765 all-recode: configure-recode
15766 @r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 $(SET_LIB_PATH) \
15769 $(HOST_EXPORTS) \
15770 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
15771 @endif recode
15773 .PHONY: check-recode maybe-check-recode
15774 maybe-check-recode:
15775 @if recode
15776 maybe-check-recode: check-recode
15778 check-recode:
15779 @r=`${PWD_COMMAND}`; export r; \
15780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15781 $(SET_LIB_PATH) \
15782 $(HOST_EXPORTS) \
15783 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
15785 @endif recode
15787 .PHONY: install-recode maybe-install-recode
15788 maybe-install-recode:
15789 @if recode
15790 maybe-install-recode: install-recode
15792 install-recode: installdirs
15793 @r=`${PWD_COMMAND}`; export r; \
15794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15795 $(SET_LIB_PATH) \
15796 $(HOST_EXPORTS) \
15797 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
15799 @endif recode
15801 # Other targets (info, dvi, etc.)
15803 .PHONY: maybe-info-recode info-recode
15804 maybe-info-recode:
15805 @if recode
15806 maybe-info-recode: info-recode
15808 info-recode: \
15809 configure-recode
15810 @[ -f ./recode/Makefile ] || exit 0; \
15811 r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 $(SET_LIB_PATH) \
15814 $(HOST_EXPORTS) \
15815 for flag in $(EXTRA_HOST_FLAGS); do \
15816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15817 done; \
15818 echo "Doing info in recode" ; \
15819 (cd recode && \
15820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15822 "RANLIB=$${RANLIB}" \
15823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15824 info) \
15825 || exit 1
15827 @endif recode
15829 .PHONY: maybe-dvi-recode dvi-recode
15830 maybe-dvi-recode:
15831 @if recode
15832 maybe-dvi-recode: dvi-recode
15834 dvi-recode: \
15835 configure-recode
15836 @[ -f ./recode/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(SET_LIB_PATH) \
15840 $(HOST_EXPORTS) \
15841 for flag in $(EXTRA_HOST_FLAGS); do \
15842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15843 done; \
15844 echo "Doing dvi in recode" ; \
15845 (cd recode && \
15846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15848 "RANLIB=$${RANLIB}" \
15849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15850 dvi) \
15851 || exit 1
15853 @endif recode
15855 .PHONY: maybe-TAGS-recode TAGS-recode
15856 maybe-TAGS-recode:
15857 @if recode
15858 maybe-TAGS-recode: TAGS-recode
15860 TAGS-recode: \
15861 configure-recode
15862 @[ -f ./recode/Makefile ] || exit 0; \
15863 r=`${PWD_COMMAND}`; export r; \
15864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 $(SET_LIB_PATH) \
15866 $(HOST_EXPORTS) \
15867 for flag in $(EXTRA_HOST_FLAGS); do \
15868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15869 done; \
15870 echo "Doing TAGS in recode" ; \
15871 (cd recode && \
15872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15874 "RANLIB=$${RANLIB}" \
15875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15876 TAGS) \
15877 || exit 1
15879 @endif recode
15881 .PHONY: maybe-install-info-recode install-info-recode
15882 maybe-install-info-recode:
15883 @if recode
15884 maybe-install-info-recode: install-info-recode
15886 install-info-recode: \
15887 configure-recode \
15888 info-recode
15889 @[ -f ./recode/Makefile ] || exit 0; \
15890 r=`${PWD_COMMAND}`; export r; \
15891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15892 $(SET_LIB_PATH) \
15893 $(HOST_EXPORTS) \
15894 for flag in $(EXTRA_HOST_FLAGS); do \
15895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15896 done; \
15897 echo "Doing install-info in recode" ; \
15898 (cd recode && \
15899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15901 "RANLIB=$${RANLIB}" \
15902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15903 install-info) \
15904 || exit 1
15906 @endif recode
15908 .PHONY: maybe-installcheck-recode installcheck-recode
15909 maybe-installcheck-recode:
15910 @if recode
15911 maybe-installcheck-recode: installcheck-recode
15913 installcheck-recode: \
15914 configure-recode
15915 @[ -f ./recode/Makefile ] || exit 0; \
15916 r=`${PWD_COMMAND}`; export r; \
15917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15918 $(SET_LIB_PATH) \
15919 $(HOST_EXPORTS) \
15920 for flag in $(EXTRA_HOST_FLAGS); do \
15921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15922 done; \
15923 echo "Doing installcheck in recode" ; \
15924 (cd recode && \
15925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15927 "RANLIB=$${RANLIB}" \
15928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15929 installcheck) \
15930 || exit 1
15932 @endif recode
15934 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
15935 maybe-mostlyclean-recode:
15936 @if recode
15937 maybe-mostlyclean-recode: mostlyclean-recode
15939 mostlyclean-recode:
15940 @[ -f ./recode/Makefile ] || exit 0; \
15941 r=`${PWD_COMMAND}`; export r; \
15942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15943 $(SET_LIB_PATH) \
15944 $(HOST_EXPORTS) \
15945 for flag in $(EXTRA_HOST_FLAGS); do \
15946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15947 done; \
15948 echo "Doing mostlyclean in recode" ; \
15949 (cd recode && \
15950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15952 "RANLIB=$${RANLIB}" \
15953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15954 mostlyclean) \
15955 || exit 1
15957 @endif recode
15959 .PHONY: maybe-clean-recode clean-recode
15960 maybe-clean-recode:
15961 @if recode
15962 maybe-clean-recode: clean-recode
15964 clean-recode:
15965 @[ -f ./recode/Makefile ] || exit 0; \
15966 r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 $(SET_LIB_PATH) \
15969 $(HOST_EXPORTS) \
15970 for flag in $(EXTRA_HOST_FLAGS); do \
15971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15972 done; \
15973 echo "Doing clean in recode" ; \
15974 (cd recode && \
15975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15977 "RANLIB=$${RANLIB}" \
15978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15979 clean) \
15980 || exit 1
15982 @endif recode
15984 .PHONY: maybe-distclean-recode distclean-recode
15985 maybe-distclean-recode:
15986 @if recode
15987 maybe-distclean-recode: distclean-recode
15989 distclean-recode:
15990 @[ -f ./recode/Makefile ] || exit 0; \
15991 r=`${PWD_COMMAND}`; export r; \
15992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15993 $(SET_LIB_PATH) \
15994 $(HOST_EXPORTS) \
15995 for flag in $(EXTRA_HOST_FLAGS); do \
15996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15997 done; \
15998 echo "Doing distclean in recode" ; \
15999 (cd recode && \
16000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16002 "RANLIB=$${RANLIB}" \
16003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16004 distclean) \
16005 || exit 1
16007 @endif recode
16009 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16010 maybe-maintainer-clean-recode:
16011 @if recode
16012 maybe-maintainer-clean-recode: maintainer-clean-recode
16014 maintainer-clean-recode:
16015 @[ -f ./recode/Makefile ] || exit 0; \
16016 r=`${PWD_COMMAND}`; export r; \
16017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16018 $(SET_LIB_PATH) \
16019 $(HOST_EXPORTS) \
16020 for flag in $(EXTRA_HOST_FLAGS); do \
16021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16022 done; \
16023 echo "Doing maintainer-clean in recode" ; \
16024 (cd recode && \
16025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16027 "RANLIB=$${RANLIB}" \
16028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16029 maintainer-clean) \
16030 || exit 1
16032 @endif recode
16035 .PHONY: configure-sed maybe-configure-sed
16036 maybe-configure-sed:
16037 @if sed
16038 maybe-configure-sed: configure-sed
16039 configure-sed:
16040 @test ! -f sed/Makefile || exit 0; \
16041 [ -d sed ] || mkdir sed; \
16042 r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 $(HOST_EXPORTS) \
16045 echo Configuring in sed; \
16046 cd sed || exit 1; \
16047 case $(srcdir) in \
16048 \.) \
16049 srcdiroption="--srcdir=."; \
16050 libsrcdir=".";; \
16051 /* | [A-Za-z]:[\\/]*) \
16052 srcdiroption="--srcdir=$(srcdir)/sed"; \
16053 libsrcdir="$$s/sed";; \
16054 *) \
16055 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16056 libsrcdir="$$s/sed";; \
16057 esac; \
16058 $(SHELL) $${libsrcdir}/configure \
16059 $(HOST_CONFIGARGS) $${srcdiroption} \
16060 || exit 1
16061 @endif sed
16063 .PHONY: all-sed maybe-all-sed
16064 maybe-all-sed:
16065 @if sed
16066 maybe-all-sed: all-sed
16067 all-sed: configure-sed
16068 @r=`${PWD_COMMAND}`; export r; \
16069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16070 $(SET_LIB_PATH) \
16071 $(HOST_EXPORTS) \
16072 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16073 @endif sed
16075 .PHONY: check-sed maybe-check-sed
16076 maybe-check-sed:
16077 @if sed
16078 maybe-check-sed: check-sed
16080 check-sed:
16081 @r=`${PWD_COMMAND}`; export r; \
16082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16083 $(SET_LIB_PATH) \
16084 $(HOST_EXPORTS) \
16085 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16087 @endif sed
16089 .PHONY: install-sed maybe-install-sed
16090 maybe-install-sed:
16091 @if sed
16092 maybe-install-sed: install-sed
16094 install-sed: installdirs
16095 @r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16097 $(SET_LIB_PATH) \
16098 $(HOST_EXPORTS) \
16099 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16101 @endif sed
16103 # Other targets (info, dvi, etc.)
16105 .PHONY: maybe-info-sed info-sed
16106 maybe-info-sed:
16107 @if sed
16108 maybe-info-sed: info-sed
16110 info-sed: \
16111 configure-sed
16112 @[ -f ./sed/Makefile ] || exit 0; \
16113 r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16115 $(SET_LIB_PATH) \
16116 $(HOST_EXPORTS) \
16117 for flag in $(EXTRA_HOST_FLAGS); do \
16118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16119 done; \
16120 echo "Doing info in sed" ; \
16121 (cd sed && \
16122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16124 "RANLIB=$${RANLIB}" \
16125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16126 info) \
16127 || exit 1
16129 @endif sed
16131 .PHONY: maybe-dvi-sed dvi-sed
16132 maybe-dvi-sed:
16133 @if sed
16134 maybe-dvi-sed: dvi-sed
16136 dvi-sed: \
16137 configure-sed
16138 @[ -f ./sed/Makefile ] || exit 0; \
16139 r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16141 $(SET_LIB_PATH) \
16142 $(HOST_EXPORTS) \
16143 for flag in $(EXTRA_HOST_FLAGS); do \
16144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16145 done; \
16146 echo "Doing dvi in sed" ; \
16147 (cd sed && \
16148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16150 "RANLIB=$${RANLIB}" \
16151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16152 dvi) \
16153 || exit 1
16155 @endif sed
16157 .PHONY: maybe-TAGS-sed TAGS-sed
16158 maybe-TAGS-sed:
16159 @if sed
16160 maybe-TAGS-sed: TAGS-sed
16162 TAGS-sed: \
16163 configure-sed
16164 @[ -f ./sed/Makefile ] || exit 0; \
16165 r=`${PWD_COMMAND}`; export r; \
16166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 $(SET_LIB_PATH) \
16168 $(HOST_EXPORTS) \
16169 for flag in $(EXTRA_HOST_FLAGS); do \
16170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16171 done; \
16172 echo "Doing TAGS in sed" ; \
16173 (cd sed && \
16174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16176 "RANLIB=$${RANLIB}" \
16177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16178 TAGS) \
16179 || exit 1
16181 @endif sed
16183 .PHONY: maybe-install-info-sed install-info-sed
16184 maybe-install-info-sed:
16185 @if sed
16186 maybe-install-info-sed: install-info-sed
16188 install-info-sed: \
16189 configure-sed \
16190 info-sed
16191 @[ -f ./sed/Makefile ] || exit 0; \
16192 r=`${PWD_COMMAND}`; export r; \
16193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16194 $(SET_LIB_PATH) \
16195 $(HOST_EXPORTS) \
16196 for flag in $(EXTRA_HOST_FLAGS); do \
16197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16198 done; \
16199 echo "Doing install-info in sed" ; \
16200 (cd sed && \
16201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16203 "RANLIB=$${RANLIB}" \
16204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16205 install-info) \
16206 || exit 1
16208 @endif sed
16210 .PHONY: maybe-installcheck-sed installcheck-sed
16211 maybe-installcheck-sed:
16212 @if sed
16213 maybe-installcheck-sed: installcheck-sed
16215 installcheck-sed: \
16216 configure-sed
16217 @[ -f ./sed/Makefile ] || exit 0; \
16218 r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220 $(SET_LIB_PATH) \
16221 $(HOST_EXPORTS) \
16222 for flag in $(EXTRA_HOST_FLAGS); do \
16223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16224 done; \
16225 echo "Doing installcheck in sed" ; \
16226 (cd sed && \
16227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16229 "RANLIB=$${RANLIB}" \
16230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16231 installcheck) \
16232 || exit 1
16234 @endif sed
16236 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16237 maybe-mostlyclean-sed:
16238 @if sed
16239 maybe-mostlyclean-sed: mostlyclean-sed
16241 mostlyclean-sed:
16242 @[ -f ./sed/Makefile ] || exit 0; \
16243 r=`${PWD_COMMAND}`; export r; \
16244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16245 $(SET_LIB_PATH) \
16246 $(HOST_EXPORTS) \
16247 for flag in $(EXTRA_HOST_FLAGS); do \
16248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16249 done; \
16250 echo "Doing mostlyclean in sed" ; \
16251 (cd sed && \
16252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16254 "RANLIB=$${RANLIB}" \
16255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16256 mostlyclean) \
16257 || exit 1
16259 @endif sed
16261 .PHONY: maybe-clean-sed clean-sed
16262 maybe-clean-sed:
16263 @if sed
16264 maybe-clean-sed: clean-sed
16266 clean-sed:
16267 @[ -f ./sed/Makefile ] || exit 0; \
16268 r=`${PWD_COMMAND}`; export r; \
16269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16270 $(SET_LIB_PATH) \
16271 $(HOST_EXPORTS) \
16272 for flag in $(EXTRA_HOST_FLAGS); do \
16273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16274 done; \
16275 echo "Doing clean in sed" ; \
16276 (cd sed && \
16277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16279 "RANLIB=$${RANLIB}" \
16280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16281 clean) \
16282 || exit 1
16284 @endif sed
16286 .PHONY: maybe-distclean-sed distclean-sed
16287 maybe-distclean-sed:
16288 @if sed
16289 maybe-distclean-sed: distclean-sed
16291 distclean-sed:
16292 @[ -f ./sed/Makefile ] || exit 0; \
16293 r=`${PWD_COMMAND}`; export r; \
16294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16295 $(SET_LIB_PATH) \
16296 $(HOST_EXPORTS) \
16297 for flag in $(EXTRA_HOST_FLAGS); do \
16298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16299 done; \
16300 echo "Doing distclean in sed" ; \
16301 (cd sed && \
16302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16304 "RANLIB=$${RANLIB}" \
16305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16306 distclean) \
16307 || exit 1
16309 @endif sed
16311 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16312 maybe-maintainer-clean-sed:
16313 @if sed
16314 maybe-maintainer-clean-sed: maintainer-clean-sed
16316 maintainer-clean-sed:
16317 @[ -f ./sed/Makefile ] || exit 0; \
16318 r=`${PWD_COMMAND}`; export r; \
16319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16320 $(SET_LIB_PATH) \
16321 $(HOST_EXPORTS) \
16322 for flag in $(EXTRA_HOST_FLAGS); do \
16323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16324 done; \
16325 echo "Doing maintainer-clean in sed" ; \
16326 (cd sed && \
16327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16329 "RANLIB=$${RANLIB}" \
16330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16331 maintainer-clean) \
16332 || exit 1
16334 @endif sed
16337 .PHONY: configure-send-pr maybe-configure-send-pr
16338 maybe-configure-send-pr:
16339 @if send-pr
16340 maybe-configure-send-pr: configure-send-pr
16341 configure-send-pr:
16342 @test ! -f send-pr/Makefile || exit 0; \
16343 [ -d send-pr ] || mkdir send-pr; \
16344 r=`${PWD_COMMAND}`; export r; \
16345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 $(HOST_EXPORTS) \
16347 echo Configuring in send-pr; \
16348 cd send-pr || exit 1; \
16349 case $(srcdir) in \
16350 \.) \
16351 srcdiroption="--srcdir=."; \
16352 libsrcdir=".";; \
16353 /* | [A-Za-z]:[\\/]*) \
16354 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16355 libsrcdir="$$s/send-pr";; \
16356 *) \
16357 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16358 libsrcdir="$$s/send-pr";; \
16359 esac; \
16360 $(SHELL) $${libsrcdir}/configure \
16361 $(HOST_CONFIGARGS) $${srcdiroption} \
16362 || exit 1
16363 @endif send-pr
16365 .PHONY: all-send-pr maybe-all-send-pr
16366 maybe-all-send-pr:
16367 @if send-pr
16368 maybe-all-send-pr: all-send-pr
16369 all-send-pr: configure-send-pr
16370 @r=`${PWD_COMMAND}`; export r; \
16371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16372 $(SET_LIB_PATH) \
16373 $(HOST_EXPORTS) \
16374 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16375 @endif send-pr
16377 .PHONY: check-send-pr maybe-check-send-pr
16378 maybe-check-send-pr:
16379 @if send-pr
16380 maybe-check-send-pr: check-send-pr
16382 check-send-pr:
16383 @r=`${PWD_COMMAND}`; export r; \
16384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16385 $(SET_LIB_PATH) \
16386 $(HOST_EXPORTS) \
16387 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16389 @endif send-pr
16391 .PHONY: install-send-pr maybe-install-send-pr
16392 maybe-install-send-pr:
16393 @if send-pr
16394 maybe-install-send-pr: install-send-pr
16396 install-send-pr: installdirs
16397 @r=`${PWD_COMMAND}`; export r; \
16398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16399 $(SET_LIB_PATH) \
16400 $(HOST_EXPORTS) \
16401 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16403 @endif send-pr
16405 # Other targets (info, dvi, etc.)
16407 .PHONY: maybe-info-send-pr info-send-pr
16408 maybe-info-send-pr:
16409 @if send-pr
16410 maybe-info-send-pr: info-send-pr
16412 info-send-pr: \
16413 configure-send-pr
16414 @[ -f ./send-pr/Makefile ] || exit 0; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(SET_LIB_PATH) \
16418 $(HOST_EXPORTS) \
16419 for flag in $(EXTRA_HOST_FLAGS); do \
16420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16421 done; \
16422 echo "Doing info in send-pr" ; \
16423 (cd send-pr && \
16424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16426 "RANLIB=$${RANLIB}" \
16427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16428 info) \
16429 || exit 1
16431 @endif send-pr
16433 .PHONY: maybe-dvi-send-pr dvi-send-pr
16434 maybe-dvi-send-pr:
16435 @if send-pr
16436 maybe-dvi-send-pr: dvi-send-pr
16438 dvi-send-pr: \
16439 configure-send-pr
16440 @[ -f ./send-pr/Makefile ] || exit 0; \
16441 r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(SET_LIB_PATH) \
16444 $(HOST_EXPORTS) \
16445 for flag in $(EXTRA_HOST_FLAGS); do \
16446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16447 done; \
16448 echo "Doing dvi in send-pr" ; \
16449 (cd send-pr && \
16450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16452 "RANLIB=$${RANLIB}" \
16453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16454 dvi) \
16455 || exit 1
16457 @endif send-pr
16459 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16460 maybe-TAGS-send-pr:
16461 @if send-pr
16462 maybe-TAGS-send-pr: TAGS-send-pr
16464 TAGS-send-pr: \
16465 configure-send-pr
16466 @[ -f ./send-pr/Makefile ] || exit 0; \
16467 r=`${PWD_COMMAND}`; export r; \
16468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16469 $(SET_LIB_PATH) \
16470 $(HOST_EXPORTS) \
16471 for flag in $(EXTRA_HOST_FLAGS); do \
16472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16473 done; \
16474 echo "Doing TAGS in send-pr" ; \
16475 (cd send-pr && \
16476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16478 "RANLIB=$${RANLIB}" \
16479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16480 TAGS) \
16481 || exit 1
16483 @endif send-pr
16485 .PHONY: maybe-install-info-send-pr install-info-send-pr
16486 maybe-install-info-send-pr:
16487 @if send-pr
16488 maybe-install-info-send-pr: install-info-send-pr
16490 install-info-send-pr: \
16491 configure-send-pr \
16492 info-send-pr
16493 @[ -f ./send-pr/Makefile ] || exit 0; \
16494 r=`${PWD_COMMAND}`; export r; \
16495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16496 $(SET_LIB_PATH) \
16497 $(HOST_EXPORTS) \
16498 for flag in $(EXTRA_HOST_FLAGS); do \
16499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16500 done; \
16501 echo "Doing install-info in send-pr" ; \
16502 (cd send-pr && \
16503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16505 "RANLIB=$${RANLIB}" \
16506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16507 install-info) \
16508 || exit 1
16510 @endif send-pr
16512 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16513 maybe-installcheck-send-pr:
16514 @if send-pr
16515 maybe-installcheck-send-pr: installcheck-send-pr
16517 installcheck-send-pr: \
16518 configure-send-pr
16519 @[ -f ./send-pr/Makefile ] || exit 0; \
16520 r=`${PWD_COMMAND}`; export r; \
16521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16522 $(SET_LIB_PATH) \
16523 $(HOST_EXPORTS) \
16524 for flag in $(EXTRA_HOST_FLAGS); do \
16525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16526 done; \
16527 echo "Doing installcheck in send-pr" ; \
16528 (cd send-pr && \
16529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16531 "RANLIB=$${RANLIB}" \
16532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16533 installcheck) \
16534 || exit 1
16536 @endif send-pr
16538 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16539 maybe-mostlyclean-send-pr:
16540 @if send-pr
16541 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16543 mostlyclean-send-pr:
16544 @[ -f ./send-pr/Makefile ] || exit 0; \
16545 r=`${PWD_COMMAND}`; export r; \
16546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16547 $(SET_LIB_PATH) \
16548 $(HOST_EXPORTS) \
16549 for flag in $(EXTRA_HOST_FLAGS); do \
16550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16551 done; \
16552 echo "Doing mostlyclean in send-pr" ; \
16553 (cd send-pr && \
16554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16556 "RANLIB=$${RANLIB}" \
16557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16558 mostlyclean) \
16559 || exit 1
16561 @endif send-pr
16563 .PHONY: maybe-clean-send-pr clean-send-pr
16564 maybe-clean-send-pr:
16565 @if send-pr
16566 maybe-clean-send-pr: clean-send-pr
16568 clean-send-pr:
16569 @[ -f ./send-pr/Makefile ] || exit 0; \
16570 r=`${PWD_COMMAND}`; export r; \
16571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16572 $(SET_LIB_PATH) \
16573 $(HOST_EXPORTS) \
16574 for flag in $(EXTRA_HOST_FLAGS); do \
16575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16576 done; \
16577 echo "Doing clean in send-pr" ; \
16578 (cd send-pr && \
16579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16581 "RANLIB=$${RANLIB}" \
16582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16583 clean) \
16584 || exit 1
16586 @endif send-pr
16588 .PHONY: maybe-distclean-send-pr distclean-send-pr
16589 maybe-distclean-send-pr:
16590 @if send-pr
16591 maybe-distclean-send-pr: distclean-send-pr
16593 distclean-send-pr:
16594 @[ -f ./send-pr/Makefile ] || exit 0; \
16595 r=`${PWD_COMMAND}`; export r; \
16596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16597 $(SET_LIB_PATH) \
16598 $(HOST_EXPORTS) \
16599 for flag in $(EXTRA_HOST_FLAGS); do \
16600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16601 done; \
16602 echo "Doing distclean in send-pr" ; \
16603 (cd send-pr && \
16604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16606 "RANLIB=$${RANLIB}" \
16607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16608 distclean) \
16609 || exit 1
16611 @endif send-pr
16613 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16614 maybe-maintainer-clean-send-pr:
16615 @if send-pr
16616 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16618 maintainer-clean-send-pr:
16619 @[ -f ./send-pr/Makefile ] || exit 0; \
16620 r=`${PWD_COMMAND}`; export r; \
16621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16622 $(SET_LIB_PATH) \
16623 $(HOST_EXPORTS) \
16624 for flag in $(EXTRA_HOST_FLAGS); do \
16625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16626 done; \
16627 echo "Doing maintainer-clean in send-pr" ; \
16628 (cd send-pr && \
16629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16631 "RANLIB=$${RANLIB}" \
16632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16633 maintainer-clean) \
16634 || exit 1
16636 @endif send-pr
16639 .PHONY: configure-shellutils maybe-configure-shellutils
16640 maybe-configure-shellutils:
16641 @if shellutils
16642 maybe-configure-shellutils: configure-shellutils
16643 configure-shellutils:
16644 @test ! -f shellutils/Makefile || exit 0; \
16645 [ -d shellutils ] || mkdir shellutils; \
16646 r=`${PWD_COMMAND}`; export r; \
16647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 $(HOST_EXPORTS) \
16649 echo Configuring in shellutils; \
16650 cd shellutils || exit 1; \
16651 case $(srcdir) in \
16652 \.) \
16653 srcdiroption="--srcdir=."; \
16654 libsrcdir=".";; \
16655 /* | [A-Za-z]:[\\/]*) \
16656 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16657 libsrcdir="$$s/shellutils";; \
16658 *) \
16659 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16660 libsrcdir="$$s/shellutils";; \
16661 esac; \
16662 $(SHELL) $${libsrcdir}/configure \
16663 $(HOST_CONFIGARGS) $${srcdiroption} \
16664 || exit 1
16665 @endif shellutils
16667 .PHONY: all-shellutils maybe-all-shellutils
16668 maybe-all-shellutils:
16669 @if shellutils
16670 maybe-all-shellutils: all-shellutils
16671 all-shellutils: configure-shellutils
16672 @r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 $(SET_LIB_PATH) \
16675 $(HOST_EXPORTS) \
16676 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
16677 @endif shellutils
16679 .PHONY: check-shellutils maybe-check-shellutils
16680 maybe-check-shellutils:
16681 @if shellutils
16682 maybe-check-shellutils: check-shellutils
16684 check-shellutils:
16685 @r=`${PWD_COMMAND}`; export r; \
16686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16687 $(SET_LIB_PATH) \
16688 $(HOST_EXPORTS) \
16689 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
16691 @endif shellutils
16693 .PHONY: install-shellutils maybe-install-shellutils
16694 maybe-install-shellutils:
16695 @if shellutils
16696 maybe-install-shellutils: install-shellutils
16698 install-shellutils: installdirs
16699 @r=`${PWD_COMMAND}`; export r; \
16700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16701 $(SET_LIB_PATH) \
16702 $(HOST_EXPORTS) \
16703 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
16705 @endif shellutils
16707 # Other targets (info, dvi, etc.)
16709 .PHONY: maybe-info-shellutils info-shellutils
16710 maybe-info-shellutils:
16711 @if shellutils
16712 maybe-info-shellutils: info-shellutils
16714 info-shellutils: \
16715 configure-shellutils
16716 @[ -f ./shellutils/Makefile ] || exit 0; \
16717 r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 $(SET_LIB_PATH) \
16720 $(HOST_EXPORTS) \
16721 for flag in $(EXTRA_HOST_FLAGS); do \
16722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 done; \
16724 echo "Doing info in shellutils" ; \
16725 (cd shellutils && \
16726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16728 "RANLIB=$${RANLIB}" \
16729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16730 info) \
16731 || exit 1
16733 @endif shellutils
16735 .PHONY: maybe-dvi-shellutils dvi-shellutils
16736 maybe-dvi-shellutils:
16737 @if shellutils
16738 maybe-dvi-shellutils: dvi-shellutils
16740 dvi-shellutils: \
16741 configure-shellutils
16742 @[ -f ./shellutils/Makefile ] || exit 0; \
16743 r=`${PWD_COMMAND}`; export r; \
16744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16745 $(SET_LIB_PATH) \
16746 $(HOST_EXPORTS) \
16747 for flag in $(EXTRA_HOST_FLAGS); do \
16748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16749 done; \
16750 echo "Doing dvi in shellutils" ; \
16751 (cd shellutils && \
16752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16754 "RANLIB=$${RANLIB}" \
16755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16756 dvi) \
16757 || exit 1
16759 @endif shellutils
16761 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
16762 maybe-TAGS-shellutils:
16763 @if shellutils
16764 maybe-TAGS-shellutils: TAGS-shellutils
16766 TAGS-shellutils: \
16767 configure-shellutils
16768 @[ -f ./shellutils/Makefile ] || exit 0; \
16769 r=`${PWD_COMMAND}`; export r; \
16770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16771 $(SET_LIB_PATH) \
16772 $(HOST_EXPORTS) \
16773 for flag in $(EXTRA_HOST_FLAGS); do \
16774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16775 done; \
16776 echo "Doing TAGS in shellutils" ; \
16777 (cd shellutils && \
16778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16780 "RANLIB=$${RANLIB}" \
16781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16782 TAGS) \
16783 || exit 1
16785 @endif shellutils
16787 .PHONY: maybe-install-info-shellutils install-info-shellutils
16788 maybe-install-info-shellutils:
16789 @if shellutils
16790 maybe-install-info-shellutils: install-info-shellutils
16792 install-info-shellutils: \
16793 configure-shellutils \
16794 info-shellutils
16795 @[ -f ./shellutils/Makefile ] || exit 0; \
16796 r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(SET_LIB_PATH) \
16799 $(HOST_EXPORTS) \
16800 for flag in $(EXTRA_HOST_FLAGS); do \
16801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16802 done; \
16803 echo "Doing install-info in shellutils" ; \
16804 (cd shellutils && \
16805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16807 "RANLIB=$${RANLIB}" \
16808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16809 install-info) \
16810 || exit 1
16812 @endif shellutils
16814 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
16815 maybe-installcheck-shellutils:
16816 @if shellutils
16817 maybe-installcheck-shellutils: installcheck-shellutils
16819 installcheck-shellutils: \
16820 configure-shellutils
16821 @[ -f ./shellutils/Makefile ] || exit 0; \
16822 r=`${PWD_COMMAND}`; export r; \
16823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16824 $(SET_LIB_PATH) \
16825 $(HOST_EXPORTS) \
16826 for flag in $(EXTRA_HOST_FLAGS); do \
16827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16828 done; \
16829 echo "Doing installcheck in shellutils" ; \
16830 (cd shellutils && \
16831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16833 "RANLIB=$${RANLIB}" \
16834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16835 installcheck) \
16836 || exit 1
16838 @endif shellutils
16840 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
16841 maybe-mostlyclean-shellutils:
16842 @if shellutils
16843 maybe-mostlyclean-shellutils: mostlyclean-shellutils
16845 mostlyclean-shellutils:
16846 @[ -f ./shellutils/Makefile ] || exit 0; \
16847 r=`${PWD_COMMAND}`; export r; \
16848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16849 $(SET_LIB_PATH) \
16850 $(HOST_EXPORTS) \
16851 for flag in $(EXTRA_HOST_FLAGS); do \
16852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16853 done; \
16854 echo "Doing mostlyclean in shellutils" ; \
16855 (cd shellutils && \
16856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16858 "RANLIB=$${RANLIB}" \
16859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16860 mostlyclean) \
16861 || exit 1
16863 @endif shellutils
16865 .PHONY: maybe-clean-shellutils clean-shellutils
16866 maybe-clean-shellutils:
16867 @if shellutils
16868 maybe-clean-shellutils: clean-shellutils
16870 clean-shellutils:
16871 @[ -f ./shellutils/Makefile ] || exit 0; \
16872 r=`${PWD_COMMAND}`; export r; \
16873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 $(SET_LIB_PATH) \
16875 $(HOST_EXPORTS) \
16876 for flag in $(EXTRA_HOST_FLAGS); do \
16877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16878 done; \
16879 echo "Doing clean in shellutils" ; \
16880 (cd shellutils && \
16881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16883 "RANLIB=$${RANLIB}" \
16884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16885 clean) \
16886 || exit 1
16888 @endif shellutils
16890 .PHONY: maybe-distclean-shellutils distclean-shellutils
16891 maybe-distclean-shellutils:
16892 @if shellutils
16893 maybe-distclean-shellutils: distclean-shellutils
16895 distclean-shellutils:
16896 @[ -f ./shellutils/Makefile ] || exit 0; \
16897 r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16899 $(SET_LIB_PATH) \
16900 $(HOST_EXPORTS) \
16901 for flag in $(EXTRA_HOST_FLAGS); do \
16902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16903 done; \
16904 echo "Doing distclean in shellutils" ; \
16905 (cd shellutils && \
16906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16908 "RANLIB=$${RANLIB}" \
16909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16910 distclean) \
16911 || exit 1
16913 @endif shellutils
16915 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16916 maybe-maintainer-clean-shellutils:
16917 @if shellutils
16918 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
16920 maintainer-clean-shellutils:
16921 @[ -f ./shellutils/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(SET_LIB_PATH) \
16925 $(HOST_EXPORTS) \
16926 for flag in $(EXTRA_HOST_FLAGS); do \
16927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16928 done; \
16929 echo "Doing maintainer-clean in shellutils" ; \
16930 (cd shellutils && \
16931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16933 "RANLIB=$${RANLIB}" \
16934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16935 maintainer-clean) \
16936 || exit 1
16938 @endif shellutils
16941 .PHONY: configure-sid maybe-configure-sid
16942 maybe-configure-sid:
16943 @if sid
16944 maybe-configure-sid: configure-sid
16945 configure-sid:
16946 @test ! -f sid/Makefile || exit 0; \
16947 [ -d sid ] || mkdir sid; \
16948 r=`${PWD_COMMAND}`; export r; \
16949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 $(HOST_EXPORTS) \
16951 echo Configuring in sid; \
16952 cd sid || exit 1; \
16953 case $(srcdir) in \
16954 \.) \
16955 srcdiroption="--srcdir=."; \
16956 libsrcdir=".";; \
16957 /* | [A-Za-z]:[\\/]*) \
16958 srcdiroption="--srcdir=$(srcdir)/sid"; \
16959 libsrcdir="$$s/sid";; \
16960 *) \
16961 srcdiroption="--srcdir=../$(srcdir)/sid"; \
16962 libsrcdir="$$s/sid";; \
16963 esac; \
16964 $(SHELL) $${libsrcdir}/configure \
16965 $(HOST_CONFIGARGS) $${srcdiroption} \
16966 || exit 1
16967 @endif sid
16969 .PHONY: all-sid maybe-all-sid
16970 maybe-all-sid:
16971 @if sid
16972 maybe-all-sid: all-sid
16973 all-sid: configure-sid
16974 @r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 $(SET_LIB_PATH) \
16977 $(HOST_EXPORTS) \
16978 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
16979 @endif sid
16981 .PHONY: check-sid maybe-check-sid
16982 maybe-check-sid:
16983 @if sid
16984 maybe-check-sid: check-sid
16986 check-sid:
16987 @r=`${PWD_COMMAND}`; export r; \
16988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16989 $(SET_LIB_PATH) \
16990 $(HOST_EXPORTS) \
16991 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
16993 @endif sid
16995 .PHONY: install-sid maybe-install-sid
16996 maybe-install-sid:
16997 @if sid
16998 maybe-install-sid: install-sid
17000 install-sid: installdirs
17001 @r=`${PWD_COMMAND}`; export r; \
17002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17003 $(SET_LIB_PATH) \
17004 $(HOST_EXPORTS) \
17005 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17007 @endif sid
17009 # Other targets (info, dvi, etc.)
17011 .PHONY: maybe-info-sid info-sid
17012 maybe-info-sid:
17013 @if sid
17014 maybe-info-sid: info-sid
17016 info-sid: \
17017 configure-sid
17018 @[ -f ./sid/Makefile ] || exit 0; \
17019 r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 $(SET_LIB_PATH) \
17022 $(HOST_EXPORTS) \
17023 for flag in $(EXTRA_HOST_FLAGS); do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17025 done; \
17026 echo "Doing info in sid" ; \
17027 (cd sid && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17032 info) \
17033 || exit 1
17035 @endif sid
17037 .PHONY: maybe-dvi-sid dvi-sid
17038 maybe-dvi-sid:
17039 @if sid
17040 maybe-dvi-sid: dvi-sid
17042 dvi-sid: \
17043 configure-sid
17044 @[ -f ./sid/Makefile ] || exit 0; \
17045 r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 $(SET_LIB_PATH) \
17048 $(HOST_EXPORTS) \
17049 for flag in $(EXTRA_HOST_FLAGS); do \
17050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17051 done; \
17052 echo "Doing dvi in sid" ; \
17053 (cd sid && \
17054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17056 "RANLIB=$${RANLIB}" \
17057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17058 dvi) \
17059 || exit 1
17061 @endif sid
17063 .PHONY: maybe-TAGS-sid TAGS-sid
17064 maybe-TAGS-sid:
17065 @if sid
17066 maybe-TAGS-sid: TAGS-sid
17068 TAGS-sid: \
17069 configure-sid
17070 @[ -f ./sid/Makefile ] || exit 0; \
17071 r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(SET_LIB_PATH) \
17074 $(HOST_EXPORTS) \
17075 for flag in $(EXTRA_HOST_FLAGS); do \
17076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17077 done; \
17078 echo "Doing TAGS in sid" ; \
17079 (cd sid && \
17080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17082 "RANLIB=$${RANLIB}" \
17083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17084 TAGS) \
17085 || exit 1
17087 @endif sid
17089 .PHONY: maybe-install-info-sid install-info-sid
17090 maybe-install-info-sid:
17091 @if sid
17092 maybe-install-info-sid: install-info-sid
17094 install-info-sid: \
17095 configure-sid \
17096 info-sid
17097 @[ -f ./sid/Makefile ] || exit 0; \
17098 r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 $(SET_LIB_PATH) \
17101 $(HOST_EXPORTS) \
17102 for flag in $(EXTRA_HOST_FLAGS); do \
17103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17104 done; \
17105 echo "Doing install-info in sid" ; \
17106 (cd sid && \
17107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17109 "RANLIB=$${RANLIB}" \
17110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17111 install-info) \
17112 || exit 1
17114 @endif sid
17116 .PHONY: maybe-installcheck-sid installcheck-sid
17117 maybe-installcheck-sid:
17118 @if sid
17119 maybe-installcheck-sid: installcheck-sid
17121 installcheck-sid: \
17122 configure-sid
17123 @[ -f ./sid/Makefile ] || exit 0; \
17124 r=`${PWD_COMMAND}`; export r; \
17125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17126 $(SET_LIB_PATH) \
17127 $(HOST_EXPORTS) \
17128 for flag in $(EXTRA_HOST_FLAGS); do \
17129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17130 done; \
17131 echo "Doing installcheck in sid" ; \
17132 (cd sid && \
17133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17135 "RANLIB=$${RANLIB}" \
17136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17137 installcheck) \
17138 || exit 1
17140 @endif sid
17142 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17143 maybe-mostlyclean-sid:
17144 @if sid
17145 maybe-mostlyclean-sid: mostlyclean-sid
17147 mostlyclean-sid:
17148 @[ -f ./sid/Makefile ] || exit 0; \
17149 r=`${PWD_COMMAND}`; export r; \
17150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17151 $(SET_LIB_PATH) \
17152 $(HOST_EXPORTS) \
17153 for flag in $(EXTRA_HOST_FLAGS); do \
17154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17155 done; \
17156 echo "Doing mostlyclean in sid" ; \
17157 (cd sid && \
17158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17160 "RANLIB=$${RANLIB}" \
17161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17162 mostlyclean) \
17163 || exit 1
17165 @endif sid
17167 .PHONY: maybe-clean-sid clean-sid
17168 maybe-clean-sid:
17169 @if sid
17170 maybe-clean-sid: clean-sid
17172 clean-sid:
17173 @[ -f ./sid/Makefile ] || exit 0; \
17174 r=`${PWD_COMMAND}`; export r; \
17175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17176 $(SET_LIB_PATH) \
17177 $(HOST_EXPORTS) \
17178 for flag in $(EXTRA_HOST_FLAGS); do \
17179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17180 done; \
17181 echo "Doing clean in sid" ; \
17182 (cd sid && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17187 clean) \
17188 || exit 1
17190 @endif sid
17192 .PHONY: maybe-distclean-sid distclean-sid
17193 maybe-distclean-sid:
17194 @if sid
17195 maybe-distclean-sid: distclean-sid
17197 distclean-sid:
17198 @[ -f ./sid/Makefile ] || exit 0; \
17199 r=`${PWD_COMMAND}`; export r; \
17200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17201 $(SET_LIB_PATH) \
17202 $(HOST_EXPORTS) \
17203 for flag in $(EXTRA_HOST_FLAGS); do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17205 done; \
17206 echo "Doing distclean in sid" ; \
17207 (cd sid && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17210 "RANLIB=$${RANLIB}" \
17211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17212 distclean) \
17213 || exit 1
17215 @endif sid
17217 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17218 maybe-maintainer-clean-sid:
17219 @if sid
17220 maybe-maintainer-clean-sid: maintainer-clean-sid
17222 maintainer-clean-sid:
17223 @[ -f ./sid/Makefile ] || exit 0; \
17224 r=`${PWD_COMMAND}`; export r; \
17225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17226 $(SET_LIB_PATH) \
17227 $(HOST_EXPORTS) \
17228 for flag in $(EXTRA_HOST_FLAGS); do \
17229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17230 done; \
17231 echo "Doing maintainer-clean in sid" ; \
17232 (cd sid && \
17233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17235 "RANLIB=$${RANLIB}" \
17236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17237 maintainer-clean) \
17238 || exit 1
17240 @endif sid
17243 .PHONY: configure-sim maybe-configure-sim
17244 maybe-configure-sim:
17245 @if sim
17246 maybe-configure-sim: configure-sim
17247 configure-sim:
17248 @test ! -f sim/Makefile || exit 0; \
17249 [ -d sim ] || mkdir sim; \
17250 r=`${PWD_COMMAND}`; export r; \
17251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17252 $(HOST_EXPORTS) \
17253 echo Configuring in sim; \
17254 cd sim || exit 1; \
17255 case $(srcdir) in \
17256 \.) \
17257 srcdiroption="--srcdir=."; \
17258 libsrcdir=".";; \
17259 /* | [A-Za-z]:[\\/]*) \
17260 srcdiroption="--srcdir=$(srcdir)/sim"; \
17261 libsrcdir="$$s/sim";; \
17262 *) \
17263 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17264 libsrcdir="$$s/sim";; \
17265 esac; \
17266 $(SHELL) $${libsrcdir}/configure \
17267 $(HOST_CONFIGARGS) $${srcdiroption} \
17268 || exit 1
17269 @endif sim
17271 .PHONY: all-sim maybe-all-sim
17272 maybe-all-sim:
17273 @if sim
17274 maybe-all-sim: all-sim
17275 all-sim: configure-sim
17276 @r=`${PWD_COMMAND}`; export r; \
17277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17278 $(SET_LIB_PATH) \
17279 $(HOST_EXPORTS) \
17280 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17281 @endif sim
17283 .PHONY: check-sim maybe-check-sim
17284 maybe-check-sim:
17285 @if sim
17286 maybe-check-sim: check-sim
17288 check-sim:
17289 @r=`${PWD_COMMAND}`; export r; \
17290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17291 $(SET_LIB_PATH) \
17292 $(HOST_EXPORTS) \
17293 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17295 @endif sim
17297 .PHONY: install-sim maybe-install-sim
17298 maybe-install-sim:
17299 @if sim
17300 maybe-install-sim: install-sim
17302 install-sim: installdirs
17303 @r=`${PWD_COMMAND}`; export r; \
17304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 $(SET_LIB_PATH) \
17306 $(HOST_EXPORTS) \
17307 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17309 @endif sim
17311 # Other targets (info, dvi, etc.)
17313 .PHONY: maybe-info-sim info-sim
17314 maybe-info-sim:
17315 @if sim
17316 maybe-info-sim: info-sim
17318 info-sim: \
17319 configure-sim
17320 @[ -f ./sim/Makefile ] || exit 0; \
17321 r=`${PWD_COMMAND}`; export r; \
17322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17323 $(SET_LIB_PATH) \
17324 $(HOST_EXPORTS) \
17325 for flag in $(EXTRA_HOST_FLAGS); do \
17326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17327 done; \
17328 echo "Doing info in sim" ; \
17329 (cd sim && \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332 "RANLIB=$${RANLIB}" \
17333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17334 info) \
17335 || exit 1
17337 @endif sim
17339 .PHONY: maybe-dvi-sim dvi-sim
17340 maybe-dvi-sim:
17341 @if sim
17342 maybe-dvi-sim: dvi-sim
17344 dvi-sim: \
17345 configure-sim
17346 @[ -f ./sim/Makefile ] || exit 0; \
17347 r=`${PWD_COMMAND}`; export r; \
17348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17349 $(SET_LIB_PATH) \
17350 $(HOST_EXPORTS) \
17351 for flag in $(EXTRA_HOST_FLAGS); do \
17352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17353 done; \
17354 echo "Doing dvi in sim" ; \
17355 (cd sim && \
17356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17358 "RANLIB=$${RANLIB}" \
17359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17360 dvi) \
17361 || exit 1
17363 @endif sim
17365 .PHONY: maybe-TAGS-sim TAGS-sim
17366 maybe-TAGS-sim:
17367 @if sim
17368 maybe-TAGS-sim: TAGS-sim
17370 TAGS-sim: \
17371 configure-sim
17372 @[ -f ./sim/Makefile ] || exit 0; \
17373 r=`${PWD_COMMAND}`; export r; \
17374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 $(SET_LIB_PATH) \
17376 $(HOST_EXPORTS) \
17377 for flag in $(EXTRA_HOST_FLAGS); do \
17378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17379 done; \
17380 echo "Doing TAGS in sim" ; \
17381 (cd sim && \
17382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17384 "RANLIB=$${RANLIB}" \
17385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17386 TAGS) \
17387 || exit 1
17389 @endif sim
17391 .PHONY: maybe-install-info-sim install-info-sim
17392 maybe-install-info-sim:
17393 @if sim
17394 maybe-install-info-sim: install-info-sim
17396 install-info-sim: \
17397 configure-sim \
17398 info-sim
17399 @[ -f ./sim/Makefile ] || exit 0; \
17400 r=`${PWD_COMMAND}`; export r; \
17401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17402 $(SET_LIB_PATH) \
17403 $(HOST_EXPORTS) \
17404 for flag in $(EXTRA_HOST_FLAGS); do \
17405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17406 done; \
17407 echo "Doing install-info in sim" ; \
17408 (cd sim && \
17409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17411 "RANLIB=$${RANLIB}" \
17412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17413 install-info) \
17414 || exit 1
17416 @endif sim
17418 .PHONY: maybe-installcheck-sim installcheck-sim
17419 maybe-installcheck-sim:
17420 @if sim
17421 maybe-installcheck-sim: installcheck-sim
17423 installcheck-sim: \
17424 configure-sim
17425 @[ -f ./sim/Makefile ] || exit 0; \
17426 r=`${PWD_COMMAND}`; export r; \
17427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 $(SET_LIB_PATH) \
17429 $(HOST_EXPORTS) \
17430 for flag in $(EXTRA_HOST_FLAGS); do \
17431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17432 done; \
17433 echo "Doing installcheck in sim" ; \
17434 (cd sim && \
17435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17437 "RANLIB=$${RANLIB}" \
17438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17439 installcheck) \
17440 || exit 1
17442 @endif sim
17444 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17445 maybe-mostlyclean-sim:
17446 @if sim
17447 maybe-mostlyclean-sim: mostlyclean-sim
17449 mostlyclean-sim:
17450 @[ -f ./sim/Makefile ] || exit 0; \
17451 r=`${PWD_COMMAND}`; export r; \
17452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17453 $(SET_LIB_PATH) \
17454 $(HOST_EXPORTS) \
17455 for flag in $(EXTRA_HOST_FLAGS); do \
17456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17457 done; \
17458 echo "Doing mostlyclean in sim" ; \
17459 (cd sim && \
17460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17462 "RANLIB=$${RANLIB}" \
17463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17464 mostlyclean) \
17465 || exit 1
17467 @endif sim
17469 .PHONY: maybe-clean-sim clean-sim
17470 maybe-clean-sim:
17471 @if sim
17472 maybe-clean-sim: clean-sim
17474 clean-sim:
17475 @[ -f ./sim/Makefile ] || exit 0; \
17476 r=`${PWD_COMMAND}`; export r; \
17477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17478 $(SET_LIB_PATH) \
17479 $(HOST_EXPORTS) \
17480 for flag in $(EXTRA_HOST_FLAGS); do \
17481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17482 done; \
17483 echo "Doing clean in sim" ; \
17484 (cd sim && \
17485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17487 "RANLIB=$${RANLIB}" \
17488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17489 clean) \
17490 || exit 1
17492 @endif sim
17494 .PHONY: maybe-distclean-sim distclean-sim
17495 maybe-distclean-sim:
17496 @if sim
17497 maybe-distclean-sim: distclean-sim
17499 distclean-sim:
17500 @[ -f ./sim/Makefile ] || exit 0; \
17501 r=`${PWD_COMMAND}`; export r; \
17502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17503 $(SET_LIB_PATH) \
17504 $(HOST_EXPORTS) \
17505 for flag in $(EXTRA_HOST_FLAGS); do \
17506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 done; \
17508 echo "Doing distclean in sim" ; \
17509 (cd sim && \
17510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17512 "RANLIB=$${RANLIB}" \
17513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17514 distclean) \
17515 || exit 1
17517 @endif sim
17519 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17520 maybe-maintainer-clean-sim:
17521 @if sim
17522 maybe-maintainer-clean-sim: maintainer-clean-sim
17524 maintainer-clean-sim:
17525 @[ -f ./sim/Makefile ] || exit 0; \
17526 r=`${PWD_COMMAND}`; export r; \
17527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17528 $(SET_LIB_PATH) \
17529 $(HOST_EXPORTS) \
17530 for flag in $(EXTRA_HOST_FLAGS); do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17532 done; \
17533 echo "Doing maintainer-clean in sim" ; \
17534 (cd sim && \
17535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17537 "RANLIB=$${RANLIB}" \
17538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17539 maintainer-clean) \
17540 || exit 1
17542 @endif sim
17545 .PHONY: configure-tar maybe-configure-tar
17546 maybe-configure-tar:
17547 @if tar
17548 maybe-configure-tar: configure-tar
17549 configure-tar:
17550 @test ! -f tar/Makefile || exit 0; \
17551 [ -d tar ] || mkdir tar; \
17552 r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 $(HOST_EXPORTS) \
17555 echo Configuring in tar; \
17556 cd tar || exit 1; \
17557 case $(srcdir) in \
17558 \.) \
17559 srcdiroption="--srcdir=."; \
17560 libsrcdir=".";; \
17561 /* | [A-Za-z]:[\\/]*) \
17562 srcdiroption="--srcdir=$(srcdir)/tar"; \
17563 libsrcdir="$$s/tar";; \
17564 *) \
17565 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17566 libsrcdir="$$s/tar";; \
17567 esac; \
17568 $(SHELL) $${libsrcdir}/configure \
17569 $(HOST_CONFIGARGS) $${srcdiroption} \
17570 || exit 1
17571 @endif tar
17573 .PHONY: all-tar maybe-all-tar
17574 maybe-all-tar:
17575 @if tar
17576 maybe-all-tar: all-tar
17577 all-tar: configure-tar
17578 @r=`${PWD_COMMAND}`; export r; \
17579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17580 $(SET_LIB_PATH) \
17581 $(HOST_EXPORTS) \
17582 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17583 @endif tar
17585 .PHONY: check-tar maybe-check-tar
17586 maybe-check-tar:
17587 @if tar
17588 maybe-check-tar: check-tar
17590 check-tar:
17591 @r=`${PWD_COMMAND}`; export r; \
17592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17593 $(SET_LIB_PATH) \
17594 $(HOST_EXPORTS) \
17595 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17597 @endif tar
17599 .PHONY: install-tar maybe-install-tar
17600 maybe-install-tar:
17601 @if tar
17602 maybe-install-tar: install-tar
17604 install-tar: installdirs
17605 @r=`${PWD_COMMAND}`; export r; \
17606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17607 $(SET_LIB_PATH) \
17608 $(HOST_EXPORTS) \
17609 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17611 @endif tar
17613 # Other targets (info, dvi, etc.)
17615 .PHONY: maybe-info-tar info-tar
17616 maybe-info-tar:
17617 @if tar
17618 maybe-info-tar: info-tar
17620 info-tar: \
17621 configure-tar
17622 @[ -f ./tar/Makefile ] || exit 0; \
17623 r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 $(SET_LIB_PATH) \
17626 $(HOST_EXPORTS) \
17627 for flag in $(EXTRA_HOST_FLAGS); do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17629 done; \
17630 echo "Doing info in tar" ; \
17631 (cd tar && \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17636 info) \
17637 || exit 1
17639 @endif tar
17641 .PHONY: maybe-dvi-tar dvi-tar
17642 maybe-dvi-tar:
17643 @if tar
17644 maybe-dvi-tar: dvi-tar
17646 dvi-tar: \
17647 configure-tar
17648 @[ -f ./tar/Makefile ] || exit 0; \
17649 r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17651 $(SET_LIB_PATH) \
17652 $(HOST_EXPORTS) \
17653 for flag in $(EXTRA_HOST_FLAGS); do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17655 done; \
17656 echo "Doing dvi in tar" ; \
17657 (cd tar && \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17662 dvi) \
17663 || exit 1
17665 @endif tar
17667 .PHONY: maybe-TAGS-tar TAGS-tar
17668 maybe-TAGS-tar:
17669 @if tar
17670 maybe-TAGS-tar: TAGS-tar
17672 TAGS-tar: \
17673 configure-tar
17674 @[ -f ./tar/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17677 $(SET_LIB_PATH) \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS); do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing TAGS in tar" ; \
17683 (cd tar && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17688 TAGS) \
17689 || exit 1
17691 @endif tar
17693 .PHONY: maybe-install-info-tar install-info-tar
17694 maybe-install-info-tar:
17695 @if tar
17696 maybe-install-info-tar: install-info-tar
17698 install-info-tar: \
17699 configure-tar \
17700 info-tar
17701 @[ -f ./tar/Makefile ] || exit 0; \
17702 r=`${PWD_COMMAND}`; export r; \
17703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 $(SET_LIB_PATH) \
17705 $(HOST_EXPORTS) \
17706 for flag in $(EXTRA_HOST_FLAGS); do \
17707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17708 done; \
17709 echo "Doing install-info in tar" ; \
17710 (cd tar && \
17711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17713 "RANLIB=$${RANLIB}" \
17714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17715 install-info) \
17716 || exit 1
17718 @endif tar
17720 .PHONY: maybe-installcheck-tar installcheck-tar
17721 maybe-installcheck-tar:
17722 @if tar
17723 maybe-installcheck-tar: installcheck-tar
17725 installcheck-tar: \
17726 configure-tar
17727 @[ -f ./tar/Makefile ] || exit 0; \
17728 r=`${PWD_COMMAND}`; export r; \
17729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17730 $(SET_LIB_PATH) \
17731 $(HOST_EXPORTS) \
17732 for flag in $(EXTRA_HOST_FLAGS); do \
17733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17734 done; \
17735 echo "Doing installcheck in tar" ; \
17736 (cd tar && \
17737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17739 "RANLIB=$${RANLIB}" \
17740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17741 installcheck) \
17742 || exit 1
17744 @endif tar
17746 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
17747 maybe-mostlyclean-tar:
17748 @if tar
17749 maybe-mostlyclean-tar: mostlyclean-tar
17751 mostlyclean-tar:
17752 @[ -f ./tar/Makefile ] || exit 0; \
17753 r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 $(SET_LIB_PATH) \
17756 $(HOST_EXPORTS) \
17757 for flag in $(EXTRA_HOST_FLAGS); do \
17758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17759 done; \
17760 echo "Doing mostlyclean in tar" ; \
17761 (cd tar && \
17762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17764 "RANLIB=$${RANLIB}" \
17765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17766 mostlyclean) \
17767 || exit 1
17769 @endif tar
17771 .PHONY: maybe-clean-tar clean-tar
17772 maybe-clean-tar:
17773 @if tar
17774 maybe-clean-tar: clean-tar
17776 clean-tar:
17777 @[ -f ./tar/Makefile ] || exit 0; \
17778 r=`${PWD_COMMAND}`; export r; \
17779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17780 $(SET_LIB_PATH) \
17781 $(HOST_EXPORTS) \
17782 for flag in $(EXTRA_HOST_FLAGS); do \
17783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17784 done; \
17785 echo "Doing clean in tar" ; \
17786 (cd tar && \
17787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17789 "RANLIB=$${RANLIB}" \
17790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17791 clean) \
17792 || exit 1
17794 @endif tar
17796 .PHONY: maybe-distclean-tar distclean-tar
17797 maybe-distclean-tar:
17798 @if tar
17799 maybe-distclean-tar: distclean-tar
17801 distclean-tar:
17802 @[ -f ./tar/Makefile ] || exit 0; \
17803 r=`${PWD_COMMAND}`; export r; \
17804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17805 $(SET_LIB_PATH) \
17806 $(HOST_EXPORTS) \
17807 for flag in $(EXTRA_HOST_FLAGS); do \
17808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17809 done; \
17810 echo "Doing distclean in tar" ; \
17811 (cd tar && \
17812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17814 "RANLIB=$${RANLIB}" \
17815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17816 distclean) \
17817 || exit 1
17819 @endif tar
17821 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
17822 maybe-maintainer-clean-tar:
17823 @if tar
17824 maybe-maintainer-clean-tar: maintainer-clean-tar
17826 maintainer-clean-tar:
17827 @[ -f ./tar/Makefile ] || exit 0; \
17828 r=`${PWD_COMMAND}`; export r; \
17829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 $(SET_LIB_PATH) \
17831 $(HOST_EXPORTS) \
17832 for flag in $(EXTRA_HOST_FLAGS); do \
17833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17834 done; \
17835 echo "Doing maintainer-clean in tar" ; \
17836 (cd tar && \
17837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17839 "RANLIB=$${RANLIB}" \
17840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17841 maintainer-clean) \
17842 || exit 1
17844 @endif tar
17847 .PHONY: configure-texinfo maybe-configure-texinfo
17848 maybe-configure-texinfo:
17849 @if texinfo
17850 maybe-configure-texinfo: configure-texinfo
17851 configure-texinfo:
17852 @test ! -f texinfo/Makefile || exit 0; \
17853 [ -d texinfo ] || mkdir texinfo; \
17854 r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 $(HOST_EXPORTS) \
17857 echo Configuring in texinfo; \
17858 cd texinfo || exit 1; \
17859 case $(srcdir) in \
17860 \.) \
17861 srcdiroption="--srcdir=."; \
17862 libsrcdir=".";; \
17863 /* | [A-Za-z]:[\\/]*) \
17864 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
17865 libsrcdir="$$s/texinfo";; \
17866 *) \
17867 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
17868 libsrcdir="$$s/texinfo";; \
17869 esac; \
17870 $(SHELL) $${libsrcdir}/configure \
17871 $(HOST_CONFIGARGS) $${srcdiroption} \
17872 || exit 1
17873 @endif texinfo
17875 .PHONY: all-texinfo maybe-all-texinfo
17876 maybe-all-texinfo:
17877 @if texinfo
17878 maybe-all-texinfo: all-texinfo
17879 all-texinfo: configure-texinfo
17880 @r=`${PWD_COMMAND}`; export r; \
17881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17882 $(SET_LIB_PATH) \
17883 $(HOST_EXPORTS) \
17884 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
17885 @endif texinfo
17887 .PHONY: check-texinfo maybe-check-texinfo
17888 maybe-check-texinfo:
17889 @if texinfo
17890 maybe-check-texinfo: check-texinfo
17892 check-texinfo:
17893 @r=`${PWD_COMMAND}`; export r; \
17894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17895 $(SET_LIB_PATH) \
17896 $(HOST_EXPORTS) \
17897 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
17899 @endif texinfo
17901 .PHONY: install-texinfo maybe-install-texinfo
17902 maybe-install-texinfo:
17903 @if texinfo
17904 maybe-install-texinfo: install-texinfo
17906 install-texinfo:
17908 @endif texinfo
17910 # Other targets (info, dvi, etc.)
17912 .PHONY: maybe-info-texinfo info-texinfo
17913 maybe-info-texinfo:
17914 @if texinfo
17915 maybe-info-texinfo: info-texinfo
17917 info-texinfo: \
17918 configure-texinfo
17919 @[ -f ./texinfo/Makefile ] || exit 0; \
17920 r=`${PWD_COMMAND}`; export r; \
17921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17922 $(SET_LIB_PATH) \
17923 $(HOST_EXPORTS) \
17924 for flag in $(EXTRA_HOST_FLAGS); do \
17925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17926 done; \
17927 echo "Doing info in texinfo" ; \
17928 (cd texinfo && \
17929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17931 "RANLIB=$${RANLIB}" \
17932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17933 info) \
17934 || exit 1
17936 @endif texinfo
17938 .PHONY: maybe-dvi-texinfo dvi-texinfo
17939 maybe-dvi-texinfo:
17940 @if texinfo
17941 maybe-dvi-texinfo: dvi-texinfo
17943 dvi-texinfo: \
17944 configure-texinfo
17945 @[ -f ./texinfo/Makefile ] || exit 0; \
17946 r=`${PWD_COMMAND}`; export r; \
17947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 $(SET_LIB_PATH) \
17949 $(HOST_EXPORTS) \
17950 for flag in $(EXTRA_HOST_FLAGS); do \
17951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17952 done; \
17953 echo "Doing dvi in texinfo" ; \
17954 (cd texinfo && \
17955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17957 "RANLIB=$${RANLIB}" \
17958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17959 dvi) \
17960 || exit 1
17962 @endif texinfo
17964 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
17965 maybe-TAGS-texinfo:
17966 @if texinfo
17967 maybe-TAGS-texinfo: TAGS-texinfo
17969 TAGS-texinfo: \
17970 configure-texinfo
17971 @[ -f ./texinfo/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17974 $(SET_LIB_PATH) \
17975 $(HOST_EXPORTS) \
17976 for flag in $(EXTRA_HOST_FLAGS); do \
17977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17978 done; \
17979 echo "Doing TAGS in texinfo" ; \
17980 (cd texinfo && \
17981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17983 "RANLIB=$${RANLIB}" \
17984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17985 TAGS) \
17986 || exit 1
17988 @endif texinfo
17990 .PHONY: maybe-install-info-texinfo install-info-texinfo
17991 maybe-install-info-texinfo:
17992 @if texinfo
17993 maybe-install-info-texinfo: install-info-texinfo
17995 install-info-texinfo: \
17996 configure-texinfo \
17997 info-texinfo
17998 @[ -f ./texinfo/Makefile ] || exit 0; \
17999 r=`${PWD_COMMAND}`; export r; \
18000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18001 $(SET_LIB_PATH) \
18002 $(HOST_EXPORTS) \
18003 for flag in $(EXTRA_HOST_FLAGS); do \
18004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18005 done; \
18006 echo "Doing install-info in texinfo" ; \
18007 (cd texinfo && \
18008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18010 "RANLIB=$${RANLIB}" \
18011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18012 install-info) \
18013 || exit 1
18015 @endif texinfo
18017 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18018 maybe-installcheck-texinfo:
18019 @if texinfo
18020 maybe-installcheck-texinfo: installcheck-texinfo
18022 installcheck-texinfo: \
18023 configure-texinfo
18024 @[ -f ./texinfo/Makefile ] || exit 0; \
18025 r=`${PWD_COMMAND}`; export r; \
18026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18027 $(SET_LIB_PATH) \
18028 $(HOST_EXPORTS) \
18029 for flag in $(EXTRA_HOST_FLAGS); do \
18030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18031 done; \
18032 echo "Doing installcheck in texinfo" ; \
18033 (cd texinfo && \
18034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18036 "RANLIB=$${RANLIB}" \
18037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18038 installcheck) \
18039 || exit 1
18041 @endif texinfo
18043 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18044 maybe-mostlyclean-texinfo:
18045 @if texinfo
18046 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18048 mostlyclean-texinfo:
18049 @[ -f ./texinfo/Makefile ] || exit 0; \
18050 r=`${PWD_COMMAND}`; export r; \
18051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18052 $(SET_LIB_PATH) \
18053 $(HOST_EXPORTS) \
18054 for flag in $(EXTRA_HOST_FLAGS); do \
18055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18056 done; \
18057 echo "Doing mostlyclean in texinfo" ; \
18058 (cd texinfo && \
18059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18061 "RANLIB=$${RANLIB}" \
18062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18063 mostlyclean) \
18064 || exit 1
18066 @endif texinfo
18068 .PHONY: maybe-clean-texinfo clean-texinfo
18069 maybe-clean-texinfo:
18070 @if texinfo
18071 maybe-clean-texinfo: clean-texinfo
18073 clean-texinfo:
18074 @[ -f ./texinfo/Makefile ] || exit 0; \
18075 r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 $(SET_LIB_PATH) \
18078 $(HOST_EXPORTS) \
18079 for flag in $(EXTRA_HOST_FLAGS); do \
18080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18081 done; \
18082 echo "Doing clean in texinfo" ; \
18083 (cd texinfo && \
18084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18086 "RANLIB=$${RANLIB}" \
18087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18088 clean) \
18089 || exit 1
18091 @endif texinfo
18093 .PHONY: maybe-distclean-texinfo distclean-texinfo
18094 maybe-distclean-texinfo:
18095 @if texinfo
18096 maybe-distclean-texinfo: distclean-texinfo
18098 distclean-texinfo:
18099 @[ -f ./texinfo/Makefile ] || exit 0; \
18100 r=`${PWD_COMMAND}`; export r; \
18101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 $(SET_LIB_PATH) \
18103 $(HOST_EXPORTS) \
18104 for flag in $(EXTRA_HOST_FLAGS); do \
18105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18106 done; \
18107 echo "Doing distclean in texinfo" ; \
18108 (cd texinfo && \
18109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18111 "RANLIB=$${RANLIB}" \
18112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18113 distclean) \
18114 || exit 1
18116 @endif texinfo
18118 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18119 maybe-maintainer-clean-texinfo:
18120 @if texinfo
18121 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18123 maintainer-clean-texinfo:
18124 @[ -f ./texinfo/Makefile ] || exit 0; \
18125 r=`${PWD_COMMAND}`; export r; \
18126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18127 $(SET_LIB_PATH) \
18128 $(HOST_EXPORTS) \
18129 for flag in $(EXTRA_HOST_FLAGS); do \
18130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18131 done; \
18132 echo "Doing maintainer-clean in texinfo" ; \
18133 (cd texinfo && \
18134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18136 "RANLIB=$${RANLIB}" \
18137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18138 maintainer-clean) \
18139 || exit 1
18141 @endif texinfo
18144 .PHONY: configure-textutils maybe-configure-textutils
18145 maybe-configure-textutils:
18146 @if textutils
18147 maybe-configure-textutils: configure-textutils
18148 configure-textutils:
18149 @test ! -f textutils/Makefile || exit 0; \
18150 [ -d textutils ] || mkdir textutils; \
18151 r=`${PWD_COMMAND}`; export r; \
18152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18153 $(HOST_EXPORTS) \
18154 echo Configuring in textutils; \
18155 cd textutils || exit 1; \
18156 case $(srcdir) in \
18157 \.) \
18158 srcdiroption="--srcdir=."; \
18159 libsrcdir=".";; \
18160 /* | [A-Za-z]:[\\/]*) \
18161 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18162 libsrcdir="$$s/textutils";; \
18163 *) \
18164 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18165 libsrcdir="$$s/textutils";; \
18166 esac; \
18167 $(SHELL) $${libsrcdir}/configure \
18168 $(HOST_CONFIGARGS) $${srcdiroption} \
18169 || exit 1
18170 @endif textutils
18172 .PHONY: all-textutils maybe-all-textutils
18173 maybe-all-textutils:
18174 @if textutils
18175 maybe-all-textutils: all-textutils
18176 all-textutils: configure-textutils
18177 @r=`${PWD_COMMAND}`; export r; \
18178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18179 $(SET_LIB_PATH) \
18180 $(HOST_EXPORTS) \
18181 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18182 @endif textutils
18184 .PHONY: check-textutils maybe-check-textutils
18185 maybe-check-textutils:
18186 @if textutils
18187 maybe-check-textutils: check-textutils
18189 check-textutils:
18190 @r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 $(SET_LIB_PATH) \
18193 $(HOST_EXPORTS) \
18194 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18196 @endif textutils
18198 .PHONY: install-textutils maybe-install-textutils
18199 maybe-install-textutils:
18200 @if textutils
18201 maybe-install-textutils: install-textutils
18203 install-textutils: installdirs
18204 @r=`${PWD_COMMAND}`; export r; \
18205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18206 $(SET_LIB_PATH) \
18207 $(HOST_EXPORTS) \
18208 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18210 @endif textutils
18212 # Other targets (info, dvi, etc.)
18214 .PHONY: maybe-info-textutils info-textutils
18215 maybe-info-textutils:
18216 @if textutils
18217 maybe-info-textutils: info-textutils
18219 info-textutils: \
18220 configure-textutils
18221 @[ -f ./textutils/Makefile ] || exit 0; \
18222 r=`${PWD_COMMAND}`; export r; \
18223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18224 $(SET_LIB_PATH) \
18225 $(HOST_EXPORTS) \
18226 for flag in $(EXTRA_HOST_FLAGS); do \
18227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18228 done; \
18229 echo "Doing info in textutils" ; \
18230 (cd textutils && \
18231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18233 "RANLIB=$${RANLIB}" \
18234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18235 info) \
18236 || exit 1
18238 @endif textutils
18240 .PHONY: maybe-dvi-textutils dvi-textutils
18241 maybe-dvi-textutils:
18242 @if textutils
18243 maybe-dvi-textutils: dvi-textutils
18245 dvi-textutils: \
18246 configure-textutils
18247 @[ -f ./textutils/Makefile ] || exit 0; \
18248 r=`${PWD_COMMAND}`; export r; \
18249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18250 $(SET_LIB_PATH) \
18251 $(HOST_EXPORTS) \
18252 for flag in $(EXTRA_HOST_FLAGS); do \
18253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18254 done; \
18255 echo "Doing dvi in textutils" ; \
18256 (cd textutils && \
18257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18259 "RANLIB=$${RANLIB}" \
18260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18261 dvi) \
18262 || exit 1
18264 @endif textutils
18266 .PHONY: maybe-TAGS-textutils TAGS-textutils
18267 maybe-TAGS-textutils:
18268 @if textutils
18269 maybe-TAGS-textutils: TAGS-textutils
18271 TAGS-textutils: \
18272 configure-textutils
18273 @[ -f ./textutils/Makefile ] || exit 0; \
18274 r=`${PWD_COMMAND}`; export r; \
18275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18276 $(SET_LIB_PATH) \
18277 $(HOST_EXPORTS) \
18278 for flag in $(EXTRA_HOST_FLAGS); do \
18279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18280 done; \
18281 echo "Doing TAGS in textutils" ; \
18282 (cd textutils && \
18283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18285 "RANLIB=$${RANLIB}" \
18286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18287 TAGS) \
18288 || exit 1
18290 @endif textutils
18292 .PHONY: maybe-install-info-textutils install-info-textutils
18293 maybe-install-info-textutils:
18294 @if textutils
18295 maybe-install-info-textutils: install-info-textutils
18297 install-info-textutils: \
18298 configure-textutils \
18299 info-textutils
18300 @[ -f ./textutils/Makefile ] || exit 0; \
18301 r=`${PWD_COMMAND}`; export r; \
18302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18303 $(SET_LIB_PATH) \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS); do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing install-info in textutils" ; \
18309 (cd textutils && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18314 install-info) \
18315 || exit 1
18317 @endif textutils
18319 .PHONY: maybe-installcheck-textutils installcheck-textutils
18320 maybe-installcheck-textutils:
18321 @if textutils
18322 maybe-installcheck-textutils: installcheck-textutils
18324 installcheck-textutils: \
18325 configure-textutils
18326 @[ -f ./textutils/Makefile ] || exit 0; \
18327 r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(SET_LIB_PATH) \
18330 $(HOST_EXPORTS) \
18331 for flag in $(EXTRA_HOST_FLAGS); do \
18332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18333 done; \
18334 echo "Doing installcheck in textutils" ; \
18335 (cd textutils && \
18336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18338 "RANLIB=$${RANLIB}" \
18339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18340 installcheck) \
18341 || exit 1
18343 @endif textutils
18345 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18346 maybe-mostlyclean-textutils:
18347 @if textutils
18348 maybe-mostlyclean-textutils: mostlyclean-textutils
18350 mostlyclean-textutils:
18351 @[ -f ./textutils/Makefile ] || exit 0; \
18352 r=`${PWD_COMMAND}`; export r; \
18353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18354 $(SET_LIB_PATH) \
18355 $(HOST_EXPORTS) \
18356 for flag in $(EXTRA_HOST_FLAGS); do \
18357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18358 done; \
18359 echo "Doing mostlyclean in textutils" ; \
18360 (cd textutils && \
18361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18363 "RANLIB=$${RANLIB}" \
18364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18365 mostlyclean) \
18366 || exit 1
18368 @endif textutils
18370 .PHONY: maybe-clean-textutils clean-textutils
18371 maybe-clean-textutils:
18372 @if textutils
18373 maybe-clean-textutils: clean-textutils
18375 clean-textutils:
18376 @[ -f ./textutils/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(SET_LIB_PATH) \
18380 $(HOST_EXPORTS) \
18381 for flag in $(EXTRA_HOST_FLAGS); do \
18382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18383 done; \
18384 echo "Doing clean in textutils" ; \
18385 (cd textutils && \
18386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18388 "RANLIB=$${RANLIB}" \
18389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18390 clean) \
18391 || exit 1
18393 @endif textutils
18395 .PHONY: maybe-distclean-textutils distclean-textutils
18396 maybe-distclean-textutils:
18397 @if textutils
18398 maybe-distclean-textutils: distclean-textutils
18400 distclean-textutils:
18401 @[ -f ./textutils/Makefile ] || exit 0; \
18402 r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 $(SET_LIB_PATH) \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS); do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing distclean in textutils" ; \
18410 (cd textutils && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18415 distclean) \
18416 || exit 1
18418 @endif textutils
18420 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18421 maybe-maintainer-clean-textutils:
18422 @if textutils
18423 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18425 maintainer-clean-textutils:
18426 @[ -f ./textutils/Makefile ] || exit 0; \
18427 r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(SET_LIB_PATH) \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS); do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing maintainer-clean in textutils" ; \
18435 (cd textutils && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 maintainer-clean) \
18441 || exit 1
18443 @endif textutils
18446 .PHONY: configure-time maybe-configure-time
18447 maybe-configure-time:
18448 @if time
18449 maybe-configure-time: configure-time
18450 configure-time:
18451 @test ! -f time/Makefile || exit 0; \
18452 [ -d time ] || mkdir time; \
18453 r=`${PWD_COMMAND}`; export r; \
18454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18455 $(HOST_EXPORTS) \
18456 echo Configuring in time; \
18457 cd time || exit 1; \
18458 case $(srcdir) in \
18459 \.) \
18460 srcdiroption="--srcdir=."; \
18461 libsrcdir=".";; \
18462 /* | [A-Za-z]:[\\/]*) \
18463 srcdiroption="--srcdir=$(srcdir)/time"; \
18464 libsrcdir="$$s/time";; \
18465 *) \
18466 srcdiroption="--srcdir=../$(srcdir)/time"; \
18467 libsrcdir="$$s/time";; \
18468 esac; \
18469 $(SHELL) $${libsrcdir}/configure \
18470 $(HOST_CONFIGARGS) $${srcdiroption} \
18471 || exit 1
18472 @endif time
18474 .PHONY: all-time maybe-all-time
18475 maybe-all-time:
18476 @if time
18477 maybe-all-time: all-time
18478 all-time: configure-time
18479 @r=`${PWD_COMMAND}`; export r; \
18480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18481 $(SET_LIB_PATH) \
18482 $(HOST_EXPORTS) \
18483 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18484 @endif time
18486 .PHONY: check-time maybe-check-time
18487 maybe-check-time:
18488 @if time
18489 maybe-check-time: check-time
18491 check-time:
18492 @r=`${PWD_COMMAND}`; export r; \
18493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18494 $(SET_LIB_PATH) \
18495 $(HOST_EXPORTS) \
18496 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18498 @endif time
18500 .PHONY: install-time maybe-install-time
18501 maybe-install-time:
18502 @if time
18503 maybe-install-time: install-time
18505 install-time: installdirs
18506 @r=`${PWD_COMMAND}`; export r; \
18507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18508 $(SET_LIB_PATH) \
18509 $(HOST_EXPORTS) \
18510 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18512 @endif time
18514 # Other targets (info, dvi, etc.)
18516 .PHONY: maybe-info-time info-time
18517 maybe-info-time:
18518 @if time
18519 maybe-info-time: info-time
18521 info-time: \
18522 configure-time
18523 @[ -f ./time/Makefile ] || exit 0; \
18524 r=`${PWD_COMMAND}`; export r; \
18525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18526 $(SET_LIB_PATH) \
18527 $(HOST_EXPORTS) \
18528 for flag in $(EXTRA_HOST_FLAGS); do \
18529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18530 done; \
18531 echo "Doing info in time" ; \
18532 (cd time && \
18533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18535 "RANLIB=$${RANLIB}" \
18536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18537 info) \
18538 || exit 1
18540 @endif time
18542 .PHONY: maybe-dvi-time dvi-time
18543 maybe-dvi-time:
18544 @if time
18545 maybe-dvi-time: dvi-time
18547 dvi-time: \
18548 configure-time
18549 @[ -f ./time/Makefile ] || exit 0; \
18550 r=`${PWD_COMMAND}`; export r; \
18551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18552 $(SET_LIB_PATH) \
18553 $(HOST_EXPORTS) \
18554 for flag in $(EXTRA_HOST_FLAGS); do \
18555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18556 done; \
18557 echo "Doing dvi in time" ; \
18558 (cd time && \
18559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18561 "RANLIB=$${RANLIB}" \
18562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18563 dvi) \
18564 || exit 1
18566 @endif time
18568 .PHONY: maybe-TAGS-time TAGS-time
18569 maybe-TAGS-time:
18570 @if time
18571 maybe-TAGS-time: TAGS-time
18573 TAGS-time: \
18574 configure-time
18575 @[ -f ./time/Makefile ] || exit 0; \
18576 r=`${PWD_COMMAND}`; export r; \
18577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18578 $(SET_LIB_PATH) \
18579 $(HOST_EXPORTS) \
18580 for flag in $(EXTRA_HOST_FLAGS); do \
18581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18582 done; \
18583 echo "Doing TAGS in time" ; \
18584 (cd time && \
18585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18587 "RANLIB=$${RANLIB}" \
18588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18589 TAGS) \
18590 || exit 1
18592 @endif time
18594 .PHONY: maybe-install-info-time install-info-time
18595 maybe-install-info-time:
18596 @if time
18597 maybe-install-info-time: install-info-time
18599 install-info-time: \
18600 configure-time \
18601 info-time
18602 @[ -f ./time/Makefile ] || exit 0; \
18603 r=`${PWD_COMMAND}`; export r; \
18604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18605 $(SET_LIB_PATH) \
18606 $(HOST_EXPORTS) \
18607 for flag in $(EXTRA_HOST_FLAGS); do \
18608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18609 done; \
18610 echo "Doing install-info in time" ; \
18611 (cd time && \
18612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18614 "RANLIB=$${RANLIB}" \
18615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18616 install-info) \
18617 || exit 1
18619 @endif time
18621 .PHONY: maybe-installcheck-time installcheck-time
18622 maybe-installcheck-time:
18623 @if time
18624 maybe-installcheck-time: installcheck-time
18626 installcheck-time: \
18627 configure-time
18628 @[ -f ./time/Makefile ] || exit 0; \
18629 r=`${PWD_COMMAND}`; export r; \
18630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18631 $(SET_LIB_PATH) \
18632 $(HOST_EXPORTS) \
18633 for flag in $(EXTRA_HOST_FLAGS); do \
18634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18635 done; \
18636 echo "Doing installcheck in time" ; \
18637 (cd time && \
18638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18640 "RANLIB=$${RANLIB}" \
18641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18642 installcheck) \
18643 || exit 1
18645 @endif time
18647 .PHONY: maybe-mostlyclean-time mostlyclean-time
18648 maybe-mostlyclean-time:
18649 @if time
18650 maybe-mostlyclean-time: mostlyclean-time
18652 mostlyclean-time:
18653 @[ -f ./time/Makefile ] || exit 0; \
18654 r=`${PWD_COMMAND}`; export r; \
18655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18656 $(SET_LIB_PATH) \
18657 $(HOST_EXPORTS) \
18658 for flag in $(EXTRA_HOST_FLAGS); do \
18659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18660 done; \
18661 echo "Doing mostlyclean in time" ; \
18662 (cd time && \
18663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18665 "RANLIB=$${RANLIB}" \
18666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18667 mostlyclean) \
18668 || exit 1
18670 @endif time
18672 .PHONY: maybe-clean-time clean-time
18673 maybe-clean-time:
18674 @if time
18675 maybe-clean-time: clean-time
18677 clean-time:
18678 @[ -f ./time/Makefile ] || exit 0; \
18679 r=`${PWD_COMMAND}`; export r; \
18680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18681 $(SET_LIB_PATH) \
18682 $(HOST_EXPORTS) \
18683 for flag in $(EXTRA_HOST_FLAGS); do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18685 done; \
18686 echo "Doing clean in time" ; \
18687 (cd time && \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18692 clean) \
18693 || exit 1
18695 @endif time
18697 .PHONY: maybe-distclean-time distclean-time
18698 maybe-distclean-time:
18699 @if time
18700 maybe-distclean-time: distclean-time
18702 distclean-time:
18703 @[ -f ./time/Makefile ] || exit 0; \
18704 r=`${PWD_COMMAND}`; export r; \
18705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706 $(SET_LIB_PATH) \
18707 $(HOST_EXPORTS) \
18708 for flag in $(EXTRA_HOST_FLAGS); do \
18709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18710 done; \
18711 echo "Doing distclean in time" ; \
18712 (cd time && \
18713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18715 "RANLIB=$${RANLIB}" \
18716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18717 distclean) \
18718 || exit 1
18720 @endif time
18722 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
18723 maybe-maintainer-clean-time:
18724 @if time
18725 maybe-maintainer-clean-time: maintainer-clean-time
18727 maintainer-clean-time:
18728 @[ -f ./time/Makefile ] || exit 0; \
18729 r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 $(SET_LIB_PATH) \
18732 $(HOST_EXPORTS) \
18733 for flag in $(EXTRA_HOST_FLAGS); do \
18734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18735 done; \
18736 echo "Doing maintainer-clean in time" ; \
18737 (cd time && \
18738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18740 "RANLIB=$${RANLIB}" \
18741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18742 maintainer-clean) \
18743 || exit 1
18745 @endif time
18748 .PHONY: configure-uudecode maybe-configure-uudecode
18749 maybe-configure-uudecode:
18750 @if uudecode
18751 maybe-configure-uudecode: configure-uudecode
18752 configure-uudecode:
18753 @test ! -f uudecode/Makefile || exit 0; \
18754 [ -d uudecode ] || mkdir uudecode; \
18755 r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18757 $(HOST_EXPORTS) \
18758 echo Configuring in uudecode; \
18759 cd uudecode || exit 1; \
18760 case $(srcdir) in \
18761 \.) \
18762 srcdiroption="--srcdir=."; \
18763 libsrcdir=".";; \
18764 /* | [A-Za-z]:[\\/]*) \
18765 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
18766 libsrcdir="$$s/uudecode";; \
18767 *) \
18768 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
18769 libsrcdir="$$s/uudecode";; \
18770 esac; \
18771 $(SHELL) $${libsrcdir}/configure \
18772 $(HOST_CONFIGARGS) $${srcdiroption} \
18773 || exit 1
18774 @endif uudecode
18776 .PHONY: all-uudecode maybe-all-uudecode
18777 maybe-all-uudecode:
18778 @if uudecode
18779 maybe-all-uudecode: all-uudecode
18780 all-uudecode: configure-uudecode
18781 @r=`${PWD_COMMAND}`; export r; \
18782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18783 $(SET_LIB_PATH) \
18784 $(HOST_EXPORTS) \
18785 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
18786 @endif uudecode
18788 .PHONY: check-uudecode maybe-check-uudecode
18789 maybe-check-uudecode:
18790 @if uudecode
18791 maybe-check-uudecode: check-uudecode
18793 check-uudecode:
18794 @r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18796 $(SET_LIB_PATH) \
18797 $(HOST_EXPORTS) \
18798 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
18800 @endif uudecode
18802 .PHONY: install-uudecode maybe-install-uudecode
18803 maybe-install-uudecode:
18804 @if uudecode
18805 maybe-install-uudecode: install-uudecode
18807 install-uudecode: installdirs
18808 @r=`${PWD_COMMAND}`; export r; \
18809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18810 $(SET_LIB_PATH) \
18811 $(HOST_EXPORTS) \
18812 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
18814 @endif uudecode
18816 # Other targets (info, dvi, etc.)
18818 .PHONY: maybe-info-uudecode info-uudecode
18819 maybe-info-uudecode:
18820 @if uudecode
18821 maybe-info-uudecode: info-uudecode
18823 info-uudecode: \
18824 configure-uudecode
18825 @[ -f ./uudecode/Makefile ] || exit 0; \
18826 r=`${PWD_COMMAND}`; export r; \
18827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18828 $(SET_LIB_PATH) \
18829 $(HOST_EXPORTS) \
18830 for flag in $(EXTRA_HOST_FLAGS); do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832 done; \
18833 echo "Doing info in uudecode" ; \
18834 (cd uudecode && \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839 info) \
18840 || exit 1
18842 @endif uudecode
18844 .PHONY: maybe-dvi-uudecode dvi-uudecode
18845 maybe-dvi-uudecode:
18846 @if uudecode
18847 maybe-dvi-uudecode: dvi-uudecode
18849 dvi-uudecode: \
18850 configure-uudecode
18851 @[ -f ./uudecode/Makefile ] || exit 0; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854 $(SET_LIB_PATH) \
18855 $(HOST_EXPORTS) \
18856 for flag in $(EXTRA_HOST_FLAGS); do \
18857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18858 done; \
18859 echo "Doing dvi in uudecode" ; \
18860 (cd uudecode && \
18861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18863 "RANLIB=$${RANLIB}" \
18864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18865 dvi) \
18866 || exit 1
18868 @endif uudecode
18870 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
18871 maybe-TAGS-uudecode:
18872 @if uudecode
18873 maybe-TAGS-uudecode: TAGS-uudecode
18875 TAGS-uudecode: \
18876 configure-uudecode
18877 @[ -f ./uudecode/Makefile ] || exit 0; \
18878 r=`${PWD_COMMAND}`; export r; \
18879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18880 $(SET_LIB_PATH) \
18881 $(HOST_EXPORTS) \
18882 for flag in $(EXTRA_HOST_FLAGS); do \
18883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18884 done; \
18885 echo "Doing TAGS in uudecode" ; \
18886 (cd uudecode && \
18887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18889 "RANLIB=$${RANLIB}" \
18890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18891 TAGS) \
18892 || exit 1
18894 @endif uudecode
18896 .PHONY: maybe-install-info-uudecode install-info-uudecode
18897 maybe-install-info-uudecode:
18898 @if uudecode
18899 maybe-install-info-uudecode: install-info-uudecode
18901 install-info-uudecode: \
18902 configure-uudecode \
18903 info-uudecode
18904 @[ -f ./uudecode/Makefile ] || exit 0; \
18905 r=`${PWD_COMMAND}`; export r; \
18906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18907 $(SET_LIB_PATH) \
18908 $(HOST_EXPORTS) \
18909 for flag in $(EXTRA_HOST_FLAGS); do \
18910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18911 done; \
18912 echo "Doing install-info in uudecode" ; \
18913 (cd uudecode && \
18914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18916 "RANLIB=$${RANLIB}" \
18917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18918 install-info) \
18919 || exit 1
18921 @endif uudecode
18923 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
18924 maybe-installcheck-uudecode:
18925 @if uudecode
18926 maybe-installcheck-uudecode: installcheck-uudecode
18928 installcheck-uudecode: \
18929 configure-uudecode
18930 @[ -f ./uudecode/Makefile ] || exit 0; \
18931 r=`${PWD_COMMAND}`; export r; \
18932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933 $(SET_LIB_PATH) \
18934 $(HOST_EXPORTS) \
18935 for flag in $(EXTRA_HOST_FLAGS); do \
18936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18937 done; \
18938 echo "Doing installcheck in uudecode" ; \
18939 (cd uudecode && \
18940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18942 "RANLIB=$${RANLIB}" \
18943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18944 installcheck) \
18945 || exit 1
18947 @endif uudecode
18949 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
18950 maybe-mostlyclean-uudecode:
18951 @if uudecode
18952 maybe-mostlyclean-uudecode: mostlyclean-uudecode
18954 mostlyclean-uudecode:
18955 @[ -f ./uudecode/Makefile ] || exit 0; \
18956 r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(SET_LIB_PATH) \
18959 $(HOST_EXPORTS) \
18960 for flag in $(EXTRA_HOST_FLAGS); do \
18961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18962 done; \
18963 echo "Doing mostlyclean in uudecode" ; \
18964 (cd uudecode && \
18965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18967 "RANLIB=$${RANLIB}" \
18968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18969 mostlyclean) \
18970 || exit 1
18972 @endif uudecode
18974 .PHONY: maybe-clean-uudecode clean-uudecode
18975 maybe-clean-uudecode:
18976 @if uudecode
18977 maybe-clean-uudecode: clean-uudecode
18979 clean-uudecode:
18980 @[ -f ./uudecode/Makefile ] || exit 0; \
18981 r=`${PWD_COMMAND}`; export r; \
18982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18983 $(SET_LIB_PATH) \
18984 $(HOST_EXPORTS) \
18985 for flag in $(EXTRA_HOST_FLAGS); do \
18986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18987 done; \
18988 echo "Doing clean in uudecode" ; \
18989 (cd uudecode && \
18990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18992 "RANLIB=$${RANLIB}" \
18993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18994 clean) \
18995 || exit 1
18997 @endif uudecode
18999 .PHONY: maybe-distclean-uudecode distclean-uudecode
19000 maybe-distclean-uudecode:
19001 @if uudecode
19002 maybe-distclean-uudecode: distclean-uudecode
19004 distclean-uudecode:
19005 @[ -f ./uudecode/Makefile ] || exit 0; \
19006 r=`${PWD_COMMAND}`; export r; \
19007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19008 $(SET_LIB_PATH) \
19009 $(HOST_EXPORTS) \
19010 for flag in $(EXTRA_HOST_FLAGS); do \
19011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19012 done; \
19013 echo "Doing distclean in uudecode" ; \
19014 (cd uudecode && \
19015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19017 "RANLIB=$${RANLIB}" \
19018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19019 distclean) \
19020 || exit 1
19022 @endif uudecode
19024 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19025 maybe-maintainer-clean-uudecode:
19026 @if uudecode
19027 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19029 maintainer-clean-uudecode:
19030 @[ -f ./uudecode/Makefile ] || exit 0; \
19031 r=`${PWD_COMMAND}`; export r; \
19032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19033 $(SET_LIB_PATH) \
19034 $(HOST_EXPORTS) \
19035 for flag in $(EXTRA_HOST_FLAGS); do \
19036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19037 done; \
19038 echo "Doing maintainer-clean in uudecode" ; \
19039 (cd uudecode && \
19040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19042 "RANLIB=$${RANLIB}" \
19043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19044 maintainer-clean) \
19045 || exit 1
19047 @endif uudecode
19050 .PHONY: configure-wdiff maybe-configure-wdiff
19051 maybe-configure-wdiff:
19052 @if wdiff
19053 maybe-configure-wdiff: configure-wdiff
19054 configure-wdiff:
19055 @test ! -f wdiff/Makefile || exit 0; \
19056 [ -d wdiff ] || mkdir wdiff; \
19057 r=`${PWD_COMMAND}`; export r; \
19058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19059 $(HOST_EXPORTS) \
19060 echo Configuring in wdiff; \
19061 cd wdiff || exit 1; \
19062 case $(srcdir) in \
19063 \.) \
19064 srcdiroption="--srcdir=."; \
19065 libsrcdir=".";; \
19066 /* | [A-Za-z]:[\\/]*) \
19067 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19068 libsrcdir="$$s/wdiff";; \
19069 *) \
19070 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19071 libsrcdir="$$s/wdiff";; \
19072 esac; \
19073 $(SHELL) $${libsrcdir}/configure \
19074 $(HOST_CONFIGARGS) $${srcdiroption} \
19075 || exit 1
19076 @endif wdiff
19078 .PHONY: all-wdiff maybe-all-wdiff
19079 maybe-all-wdiff:
19080 @if wdiff
19081 maybe-all-wdiff: all-wdiff
19082 all-wdiff: configure-wdiff
19083 @r=`${PWD_COMMAND}`; export r; \
19084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19085 $(SET_LIB_PATH) \
19086 $(HOST_EXPORTS) \
19087 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19088 @endif wdiff
19090 .PHONY: check-wdiff maybe-check-wdiff
19091 maybe-check-wdiff:
19092 @if wdiff
19093 maybe-check-wdiff: check-wdiff
19095 check-wdiff:
19096 @r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 $(SET_LIB_PATH) \
19099 $(HOST_EXPORTS) \
19100 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19102 @endif wdiff
19104 .PHONY: install-wdiff maybe-install-wdiff
19105 maybe-install-wdiff:
19106 @if wdiff
19107 maybe-install-wdiff: install-wdiff
19109 install-wdiff: installdirs
19110 @r=`${PWD_COMMAND}`; export r; \
19111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19112 $(SET_LIB_PATH) \
19113 $(HOST_EXPORTS) \
19114 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19116 @endif wdiff
19118 # Other targets (info, dvi, etc.)
19120 .PHONY: maybe-info-wdiff info-wdiff
19121 maybe-info-wdiff:
19122 @if wdiff
19123 maybe-info-wdiff: info-wdiff
19125 info-wdiff: \
19126 configure-wdiff
19127 @[ -f ./wdiff/Makefile ] || exit 0; \
19128 r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19130 $(SET_LIB_PATH) \
19131 $(HOST_EXPORTS) \
19132 for flag in $(EXTRA_HOST_FLAGS); do \
19133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19134 done; \
19135 echo "Doing info in wdiff" ; \
19136 (cd wdiff && \
19137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19139 "RANLIB=$${RANLIB}" \
19140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19141 info) \
19142 || exit 1
19144 @endif wdiff
19146 .PHONY: maybe-dvi-wdiff dvi-wdiff
19147 maybe-dvi-wdiff:
19148 @if wdiff
19149 maybe-dvi-wdiff: dvi-wdiff
19151 dvi-wdiff: \
19152 configure-wdiff
19153 @[ -f ./wdiff/Makefile ] || exit 0; \
19154 r=`${PWD_COMMAND}`; export r; \
19155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19156 $(SET_LIB_PATH) \
19157 $(HOST_EXPORTS) \
19158 for flag in $(EXTRA_HOST_FLAGS); do \
19159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19160 done; \
19161 echo "Doing dvi in wdiff" ; \
19162 (cd wdiff && \
19163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19165 "RANLIB=$${RANLIB}" \
19166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19167 dvi) \
19168 || exit 1
19170 @endif wdiff
19172 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19173 maybe-TAGS-wdiff:
19174 @if wdiff
19175 maybe-TAGS-wdiff: TAGS-wdiff
19177 TAGS-wdiff: \
19178 configure-wdiff
19179 @[ -f ./wdiff/Makefile ] || exit 0; \
19180 r=`${PWD_COMMAND}`; export r; \
19181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19182 $(SET_LIB_PATH) \
19183 $(HOST_EXPORTS) \
19184 for flag in $(EXTRA_HOST_FLAGS); do \
19185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19186 done; \
19187 echo "Doing TAGS in wdiff" ; \
19188 (cd wdiff && \
19189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19191 "RANLIB=$${RANLIB}" \
19192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19193 TAGS) \
19194 || exit 1
19196 @endif wdiff
19198 .PHONY: maybe-install-info-wdiff install-info-wdiff
19199 maybe-install-info-wdiff:
19200 @if wdiff
19201 maybe-install-info-wdiff: install-info-wdiff
19203 install-info-wdiff: \
19204 configure-wdiff \
19205 info-wdiff
19206 @[ -f ./wdiff/Makefile ] || exit 0; \
19207 r=`${PWD_COMMAND}`; export r; \
19208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 $(SET_LIB_PATH) \
19210 $(HOST_EXPORTS) \
19211 for flag in $(EXTRA_HOST_FLAGS); do \
19212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19213 done; \
19214 echo "Doing install-info in wdiff" ; \
19215 (cd wdiff && \
19216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19218 "RANLIB=$${RANLIB}" \
19219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19220 install-info) \
19221 || exit 1
19223 @endif wdiff
19225 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19226 maybe-installcheck-wdiff:
19227 @if wdiff
19228 maybe-installcheck-wdiff: installcheck-wdiff
19230 installcheck-wdiff: \
19231 configure-wdiff
19232 @[ -f ./wdiff/Makefile ] || exit 0; \
19233 r=`${PWD_COMMAND}`; export r; \
19234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19235 $(SET_LIB_PATH) \
19236 $(HOST_EXPORTS) \
19237 for flag in $(EXTRA_HOST_FLAGS); do \
19238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19239 done; \
19240 echo "Doing installcheck in wdiff" ; \
19241 (cd wdiff && \
19242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19244 "RANLIB=$${RANLIB}" \
19245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19246 installcheck) \
19247 || exit 1
19249 @endif wdiff
19251 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19252 maybe-mostlyclean-wdiff:
19253 @if wdiff
19254 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19256 mostlyclean-wdiff:
19257 @[ -f ./wdiff/Makefile ] || exit 0; \
19258 r=`${PWD_COMMAND}`; export r; \
19259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19260 $(SET_LIB_PATH) \
19261 $(HOST_EXPORTS) \
19262 for flag in $(EXTRA_HOST_FLAGS); do \
19263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19264 done; \
19265 echo "Doing mostlyclean in wdiff" ; \
19266 (cd wdiff && \
19267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19269 "RANLIB=$${RANLIB}" \
19270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19271 mostlyclean) \
19272 || exit 1
19274 @endif wdiff
19276 .PHONY: maybe-clean-wdiff clean-wdiff
19277 maybe-clean-wdiff:
19278 @if wdiff
19279 maybe-clean-wdiff: clean-wdiff
19281 clean-wdiff:
19282 @[ -f ./wdiff/Makefile ] || exit 0; \
19283 r=`${PWD_COMMAND}`; export r; \
19284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19285 $(SET_LIB_PATH) \
19286 $(HOST_EXPORTS) \
19287 for flag in $(EXTRA_HOST_FLAGS); do \
19288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19289 done; \
19290 echo "Doing clean in wdiff" ; \
19291 (cd wdiff && \
19292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19294 "RANLIB=$${RANLIB}" \
19295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19296 clean) \
19297 || exit 1
19299 @endif wdiff
19301 .PHONY: maybe-distclean-wdiff distclean-wdiff
19302 maybe-distclean-wdiff:
19303 @if wdiff
19304 maybe-distclean-wdiff: distclean-wdiff
19306 distclean-wdiff:
19307 @[ -f ./wdiff/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(SET_LIB_PATH) \
19311 $(HOST_EXPORTS) \
19312 for flag in $(EXTRA_HOST_FLAGS); do \
19313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19314 done; \
19315 echo "Doing distclean in wdiff" ; \
19316 (cd wdiff && \
19317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19319 "RANLIB=$${RANLIB}" \
19320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19321 distclean) \
19322 || exit 1
19324 @endif wdiff
19326 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19327 maybe-maintainer-clean-wdiff:
19328 @if wdiff
19329 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19331 maintainer-clean-wdiff:
19332 @[ -f ./wdiff/Makefile ] || exit 0; \
19333 r=`${PWD_COMMAND}`; export r; \
19334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19335 $(SET_LIB_PATH) \
19336 $(HOST_EXPORTS) \
19337 for flag in $(EXTRA_HOST_FLAGS); do \
19338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19339 done; \
19340 echo "Doing maintainer-clean in wdiff" ; \
19341 (cd wdiff && \
19342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19344 "RANLIB=$${RANLIB}" \
19345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 maintainer-clean) \
19347 || exit 1
19349 @endif wdiff
19352 .PHONY: configure-zip maybe-configure-zip
19353 maybe-configure-zip:
19354 @if zip
19355 maybe-configure-zip: configure-zip
19356 configure-zip:
19357 @test ! -f zip/Makefile || exit 0; \
19358 [ -d zip ] || mkdir zip; \
19359 r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 $(HOST_EXPORTS) \
19362 echo Configuring in zip; \
19363 cd zip || exit 1; \
19364 case $(srcdir) in \
19365 \.) \
19366 srcdiroption="--srcdir=."; \
19367 libsrcdir=".";; \
19368 /* | [A-Za-z]:[\\/]*) \
19369 srcdiroption="--srcdir=$(srcdir)/zip"; \
19370 libsrcdir="$$s/zip";; \
19371 *) \
19372 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19373 libsrcdir="$$s/zip";; \
19374 esac; \
19375 $(SHELL) $${libsrcdir}/configure \
19376 $(HOST_CONFIGARGS) $${srcdiroption} \
19377 || exit 1
19378 @endif zip
19380 .PHONY: all-zip maybe-all-zip
19381 maybe-all-zip:
19382 @if zip
19383 maybe-all-zip: all-zip
19384 all-zip: configure-zip
19385 @r=`${PWD_COMMAND}`; export r; \
19386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19387 $(SET_LIB_PATH) \
19388 $(HOST_EXPORTS) \
19389 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19390 @endif zip
19392 .PHONY: check-zip maybe-check-zip
19393 maybe-check-zip:
19394 @if zip
19395 maybe-check-zip: check-zip
19397 # This module is only tested in a native toolchain.
19398 check-zip:
19399 @if [ '$(host)' = '$(target)' ] ; then \
19400 r=`${PWD_COMMAND}`; export r; \
19401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 $(SET_LIB_PATH) \
19403 $(HOST_EXPORTS) \
19404 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19407 @endif zip
19409 .PHONY: install-zip maybe-install-zip
19410 maybe-install-zip:
19411 @if zip
19412 maybe-install-zip: install-zip
19414 install-zip: installdirs
19415 @r=`${PWD_COMMAND}`; export r; \
19416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19417 $(SET_LIB_PATH) \
19418 $(HOST_EXPORTS) \
19419 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19421 @endif zip
19423 # Other targets (info, dvi, etc.)
19425 .PHONY: maybe-info-zip info-zip
19426 maybe-info-zip:
19427 @if zip
19428 maybe-info-zip: info-zip
19430 info-zip: \
19431 configure-zip
19432 @[ -f ./zip/Makefile ] || exit 0; \
19433 r=`${PWD_COMMAND}`; export r; \
19434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19435 $(SET_LIB_PATH) \
19436 $(HOST_EXPORTS) \
19437 for flag in $(EXTRA_HOST_FLAGS); do \
19438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19439 done; \
19440 echo "Doing info in zip" ; \
19441 (cd zip && \
19442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19444 "RANLIB=$${RANLIB}" \
19445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19446 info) \
19447 || exit 1
19449 @endif zip
19451 .PHONY: maybe-dvi-zip dvi-zip
19452 maybe-dvi-zip:
19453 @if zip
19454 maybe-dvi-zip: dvi-zip
19456 dvi-zip: \
19457 configure-zip
19458 @[ -f ./zip/Makefile ] || exit 0; \
19459 r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 $(SET_LIB_PATH) \
19462 $(HOST_EXPORTS) \
19463 for flag in $(EXTRA_HOST_FLAGS); do \
19464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19465 done; \
19466 echo "Doing dvi in zip" ; \
19467 (cd zip && \
19468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19470 "RANLIB=$${RANLIB}" \
19471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19472 dvi) \
19473 || exit 1
19475 @endif zip
19477 .PHONY: maybe-TAGS-zip TAGS-zip
19478 maybe-TAGS-zip:
19479 @if zip
19480 maybe-TAGS-zip: TAGS-zip
19482 TAGS-zip: \
19483 configure-zip
19484 @[ -f ./zip/Makefile ] || exit 0; \
19485 r=`${PWD_COMMAND}`; export r; \
19486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 $(SET_LIB_PATH) \
19488 $(HOST_EXPORTS) \
19489 for flag in $(EXTRA_HOST_FLAGS); do \
19490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491 done; \
19492 echo "Doing TAGS in zip" ; \
19493 (cd zip && \
19494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19496 "RANLIB=$${RANLIB}" \
19497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19498 TAGS) \
19499 || exit 1
19501 @endif zip
19503 .PHONY: maybe-install-info-zip install-info-zip
19504 maybe-install-info-zip:
19505 @if zip
19506 maybe-install-info-zip: install-info-zip
19508 install-info-zip: \
19509 configure-zip \
19510 info-zip
19511 @[ -f ./zip/Makefile ] || exit 0; \
19512 r=`${PWD_COMMAND}`; export r; \
19513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19514 $(SET_LIB_PATH) \
19515 $(HOST_EXPORTS) \
19516 for flag in $(EXTRA_HOST_FLAGS); do \
19517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19518 done; \
19519 echo "Doing install-info in zip" ; \
19520 (cd zip && \
19521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19523 "RANLIB=$${RANLIB}" \
19524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19525 install-info) \
19526 || exit 1
19528 @endif zip
19530 .PHONY: maybe-installcheck-zip installcheck-zip
19531 maybe-installcheck-zip:
19532 @if zip
19533 maybe-installcheck-zip: installcheck-zip
19535 installcheck-zip: \
19536 configure-zip
19537 @[ -f ./zip/Makefile ] || exit 0; \
19538 r=`${PWD_COMMAND}`; export r; \
19539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19540 $(SET_LIB_PATH) \
19541 $(HOST_EXPORTS) \
19542 for flag in $(EXTRA_HOST_FLAGS); do \
19543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19544 done; \
19545 echo "Doing installcheck in zip" ; \
19546 (cd zip && \
19547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19549 "RANLIB=$${RANLIB}" \
19550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19551 installcheck) \
19552 || exit 1
19554 @endif zip
19556 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19557 maybe-mostlyclean-zip:
19558 @if zip
19559 maybe-mostlyclean-zip: mostlyclean-zip
19561 mostlyclean-zip:
19562 @[ -f ./zip/Makefile ] || exit 0; \
19563 r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19565 $(SET_LIB_PATH) \
19566 $(HOST_EXPORTS) \
19567 for flag in $(EXTRA_HOST_FLAGS); do \
19568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19569 done; \
19570 echo "Doing mostlyclean in zip" ; \
19571 (cd zip && \
19572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19574 "RANLIB=$${RANLIB}" \
19575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19576 mostlyclean) \
19577 || exit 1
19579 @endif zip
19581 .PHONY: maybe-clean-zip clean-zip
19582 maybe-clean-zip:
19583 @if zip
19584 maybe-clean-zip: clean-zip
19586 clean-zip:
19587 @[ -f ./zip/Makefile ] || exit 0; \
19588 r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19590 $(SET_LIB_PATH) \
19591 $(HOST_EXPORTS) \
19592 for flag in $(EXTRA_HOST_FLAGS); do \
19593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19594 done; \
19595 echo "Doing clean in zip" ; \
19596 (cd zip && \
19597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19599 "RANLIB=$${RANLIB}" \
19600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19601 clean) \
19602 || exit 1
19604 @endif zip
19606 .PHONY: maybe-distclean-zip distclean-zip
19607 maybe-distclean-zip:
19608 @if zip
19609 maybe-distclean-zip: distclean-zip
19611 distclean-zip:
19612 @[ -f ./zip/Makefile ] || exit 0; \
19613 r=`${PWD_COMMAND}`; export r; \
19614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19615 $(SET_LIB_PATH) \
19616 $(HOST_EXPORTS) \
19617 for flag in $(EXTRA_HOST_FLAGS); do \
19618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19619 done; \
19620 echo "Doing distclean in zip" ; \
19621 (cd zip && \
19622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19624 "RANLIB=$${RANLIB}" \
19625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19626 distclean) \
19627 || exit 1
19629 @endif zip
19631 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19632 maybe-maintainer-clean-zip:
19633 @if zip
19634 maybe-maintainer-clean-zip: maintainer-clean-zip
19636 maintainer-clean-zip:
19637 @[ -f ./zip/Makefile ] || exit 0; \
19638 r=`${PWD_COMMAND}`; export r; \
19639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19640 $(SET_LIB_PATH) \
19641 $(HOST_EXPORTS) \
19642 for flag in $(EXTRA_HOST_FLAGS); do \
19643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19644 done; \
19645 echo "Doing maintainer-clean in zip" ; \
19646 (cd zip && \
19647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19649 "RANLIB=$${RANLIB}" \
19650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19651 maintainer-clean) \
19652 || exit 1
19654 @endif zip
19657 .PHONY: configure-zlib maybe-configure-zlib
19658 maybe-configure-zlib:
19659 @if zlib
19660 maybe-configure-zlib: configure-zlib
19661 configure-zlib:
19662 @test ! -f zlib/Makefile || exit 0; \
19663 [ -d zlib ] || mkdir zlib; \
19664 r=`${PWD_COMMAND}`; export r; \
19665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19666 $(HOST_EXPORTS) \
19667 echo Configuring in zlib; \
19668 cd zlib || exit 1; \
19669 case $(srcdir) in \
19670 \.) \
19671 srcdiroption="--srcdir=."; \
19672 libsrcdir=".";; \
19673 /* | [A-Za-z]:[\\/]*) \
19674 srcdiroption="--srcdir=$(srcdir)/zlib"; \
19675 libsrcdir="$$s/zlib";; \
19676 *) \
19677 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
19678 libsrcdir="$$s/zlib";; \
19679 esac; \
19680 $(SHELL) $${libsrcdir}/configure \
19681 $(HOST_CONFIGARGS) $${srcdiroption} \
19682 || exit 1
19683 @endif zlib
19685 .PHONY: all-zlib maybe-all-zlib
19686 maybe-all-zlib:
19687 @if zlib
19688 maybe-all-zlib: all-zlib
19689 all-zlib: configure-zlib
19690 @r=`${PWD_COMMAND}`; export r; \
19691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 $(SET_LIB_PATH) \
19693 $(HOST_EXPORTS) \
19694 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
19695 @endif zlib
19697 .PHONY: check-zlib maybe-check-zlib
19698 maybe-check-zlib:
19699 @if zlib
19700 maybe-check-zlib: check-zlib
19702 check-zlib:
19704 @endif zlib
19706 .PHONY: install-zlib maybe-install-zlib
19707 maybe-install-zlib:
19708 @if zlib
19709 maybe-install-zlib: install-zlib
19711 install-zlib:
19713 @endif zlib
19715 # Other targets (info, dvi, etc.)
19717 .PHONY: maybe-info-zlib info-zlib
19718 maybe-info-zlib:
19719 @if zlib
19720 maybe-info-zlib: info-zlib
19722 info-zlib: \
19723 configure-zlib
19724 @[ -f ./zlib/Makefile ] || exit 0; \
19725 r=`${PWD_COMMAND}`; export r; \
19726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19727 $(SET_LIB_PATH) \
19728 $(HOST_EXPORTS) \
19729 for flag in $(EXTRA_HOST_FLAGS); do \
19730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19731 done; \
19732 echo "Doing info in zlib" ; \
19733 (cd zlib && \
19734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19736 "RANLIB=$${RANLIB}" \
19737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19738 info) \
19739 || exit 1
19741 @endif zlib
19743 .PHONY: maybe-dvi-zlib dvi-zlib
19744 maybe-dvi-zlib:
19745 @if zlib
19746 maybe-dvi-zlib: dvi-zlib
19748 dvi-zlib: \
19749 configure-zlib
19750 @[ -f ./zlib/Makefile ] || exit 0; \
19751 r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19753 $(SET_LIB_PATH) \
19754 $(HOST_EXPORTS) \
19755 for flag in $(EXTRA_HOST_FLAGS); do \
19756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19757 done; \
19758 echo "Doing dvi in zlib" ; \
19759 (cd zlib && \
19760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19762 "RANLIB=$${RANLIB}" \
19763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19764 dvi) \
19765 || exit 1
19767 @endif zlib
19769 .PHONY: maybe-TAGS-zlib TAGS-zlib
19770 maybe-TAGS-zlib:
19771 @if zlib
19772 maybe-TAGS-zlib: TAGS-zlib
19774 TAGS-zlib: \
19775 configure-zlib
19776 @[ -f ./zlib/Makefile ] || exit 0; \
19777 r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19779 $(SET_LIB_PATH) \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS); do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing TAGS in zlib" ; \
19785 (cd zlib && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 TAGS) \
19791 || exit 1
19793 @endif zlib
19795 .PHONY: maybe-install-info-zlib install-info-zlib
19796 maybe-install-info-zlib:
19797 @if zlib
19798 maybe-install-info-zlib: install-info-zlib
19800 install-info-zlib: \
19801 configure-zlib \
19802 info-zlib
19803 @[ -f ./zlib/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 $(SET_LIB_PATH) \
19807 $(HOST_EXPORTS) \
19808 for flag in $(EXTRA_HOST_FLAGS); do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 done; \
19811 echo "Doing install-info in zlib" ; \
19812 (cd zlib && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19817 install-info) \
19818 || exit 1
19820 @endif zlib
19822 .PHONY: maybe-installcheck-zlib installcheck-zlib
19823 maybe-installcheck-zlib:
19824 @if zlib
19825 maybe-installcheck-zlib: installcheck-zlib
19827 installcheck-zlib: \
19828 configure-zlib
19829 @[ -f ./zlib/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(SET_LIB_PATH) \
19833 $(HOST_EXPORTS) \
19834 for flag in $(EXTRA_HOST_FLAGS); do \
19835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19836 done; \
19837 echo "Doing installcheck in zlib" ; \
19838 (cd zlib && \
19839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19841 "RANLIB=$${RANLIB}" \
19842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19843 installcheck) \
19844 || exit 1
19846 @endif zlib
19848 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
19849 maybe-mostlyclean-zlib:
19850 @if zlib
19851 maybe-mostlyclean-zlib: mostlyclean-zlib
19853 mostlyclean-zlib:
19854 @[ -f ./zlib/Makefile ] || exit 0; \
19855 r=`${PWD_COMMAND}`; export r; \
19856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857 $(SET_LIB_PATH) \
19858 $(HOST_EXPORTS) \
19859 for flag in $(EXTRA_HOST_FLAGS); do \
19860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19861 done; \
19862 echo "Doing mostlyclean in zlib" ; \
19863 (cd zlib && \
19864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19866 "RANLIB=$${RANLIB}" \
19867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19868 mostlyclean) \
19869 || exit 1
19871 @endif zlib
19873 .PHONY: maybe-clean-zlib clean-zlib
19874 maybe-clean-zlib:
19875 @if zlib
19876 maybe-clean-zlib: clean-zlib
19878 clean-zlib:
19879 @[ -f ./zlib/Makefile ] || exit 0; \
19880 r=`${PWD_COMMAND}`; export r; \
19881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19882 $(SET_LIB_PATH) \
19883 $(HOST_EXPORTS) \
19884 for flag in $(EXTRA_HOST_FLAGS); do \
19885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19886 done; \
19887 echo "Doing clean in zlib" ; \
19888 (cd zlib && \
19889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19891 "RANLIB=$${RANLIB}" \
19892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19893 clean) \
19894 || exit 1
19896 @endif zlib
19898 .PHONY: maybe-distclean-zlib distclean-zlib
19899 maybe-distclean-zlib:
19900 @if zlib
19901 maybe-distclean-zlib: distclean-zlib
19903 distclean-zlib:
19904 @[ -f ./zlib/Makefile ] || exit 0; \
19905 r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 $(SET_LIB_PATH) \
19908 $(HOST_EXPORTS) \
19909 for flag in $(EXTRA_HOST_FLAGS); do \
19910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19911 done; \
19912 echo "Doing distclean in zlib" ; \
19913 (cd zlib && \
19914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19916 "RANLIB=$${RANLIB}" \
19917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19918 distclean) \
19919 || exit 1
19921 @endif zlib
19923 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
19924 maybe-maintainer-clean-zlib:
19925 @if zlib
19926 maybe-maintainer-clean-zlib: maintainer-clean-zlib
19928 maintainer-clean-zlib:
19929 @[ -f ./zlib/Makefile ] || exit 0; \
19930 r=`${PWD_COMMAND}`; export r; \
19931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19932 $(SET_LIB_PATH) \
19933 $(HOST_EXPORTS) \
19934 for flag in $(EXTRA_HOST_FLAGS); do \
19935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19936 done; \
19937 echo "Doing maintainer-clean in zlib" ; \
19938 (cd zlib && \
19939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19941 "RANLIB=$${RANLIB}" \
19942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19943 maintainer-clean) \
19944 || exit 1
19946 @endif zlib
19949 .PHONY: configure-gdb maybe-configure-gdb
19950 maybe-configure-gdb:
19951 @if gdb
19952 maybe-configure-gdb: configure-gdb
19953 configure-gdb:
19954 @test ! -f gdb/Makefile || exit 0; \
19955 [ -d gdb ] || mkdir gdb; \
19956 r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 $(HOST_EXPORTS) \
19959 echo Configuring in gdb; \
19960 cd gdb || exit 1; \
19961 case $(srcdir) in \
19962 \.) \
19963 srcdiroption="--srcdir=."; \
19964 libsrcdir=".";; \
19965 /* | [A-Za-z]:[\\/]*) \
19966 srcdiroption="--srcdir=$(srcdir)/gdb"; \
19967 libsrcdir="$$s/gdb";; \
19968 *) \
19969 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
19970 libsrcdir="$$s/gdb";; \
19971 esac; \
19972 $(SHELL) $${libsrcdir}/configure \
19973 $(HOST_CONFIGARGS) $${srcdiroption} \
19974 || exit 1
19975 @endif gdb
19977 .PHONY: all-gdb maybe-all-gdb
19978 maybe-all-gdb:
19979 @if gdb
19980 maybe-all-gdb: all-gdb
19981 all-gdb: configure-gdb
19982 @r=`${PWD_COMMAND}`; export r; \
19983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19984 $(SET_LIB_PATH) \
19985 $(HOST_EXPORTS) \
19986 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
19987 @endif gdb
19989 .PHONY: check-gdb maybe-check-gdb
19990 maybe-check-gdb:
19991 @if gdb
19992 maybe-check-gdb: check-gdb
19994 check-gdb:
19995 @r=`${PWD_COMMAND}`; export r; \
19996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997 $(SET_LIB_PATH) \
19998 $(HOST_EXPORTS) \
19999 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20001 @endif gdb
20003 .PHONY: install-gdb maybe-install-gdb
20004 maybe-install-gdb:
20005 @if gdb
20006 maybe-install-gdb: install-gdb
20008 install-gdb: installdirs
20009 @r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20011 $(SET_LIB_PATH) \
20012 $(HOST_EXPORTS) \
20013 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20015 @endif gdb
20017 # Other targets (info, dvi, etc.)
20019 .PHONY: maybe-info-gdb info-gdb
20020 maybe-info-gdb:
20021 @if gdb
20022 maybe-info-gdb: info-gdb
20024 info-gdb: \
20025 configure-gdb
20026 @[ -f ./gdb/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20029 $(SET_LIB_PATH) \
20030 $(HOST_EXPORTS) \
20031 for flag in $(EXTRA_HOST_FLAGS); do \
20032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20033 done; \
20034 echo "Doing info in gdb" ; \
20035 (cd gdb && \
20036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20038 "RANLIB=$${RANLIB}" \
20039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20040 info) \
20041 || exit 1
20043 @endif gdb
20045 .PHONY: maybe-dvi-gdb dvi-gdb
20046 maybe-dvi-gdb:
20047 @if gdb
20048 maybe-dvi-gdb: dvi-gdb
20050 dvi-gdb: \
20051 configure-gdb
20052 @[ -f ./gdb/Makefile ] || exit 0; \
20053 r=`${PWD_COMMAND}`; export r; \
20054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20055 $(SET_LIB_PATH) \
20056 $(HOST_EXPORTS) \
20057 for flag in $(EXTRA_HOST_FLAGS); do \
20058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20059 done; \
20060 echo "Doing dvi in gdb" ; \
20061 (cd gdb && \
20062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20064 "RANLIB=$${RANLIB}" \
20065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20066 dvi) \
20067 || exit 1
20069 @endif gdb
20071 .PHONY: maybe-TAGS-gdb TAGS-gdb
20072 maybe-TAGS-gdb:
20073 @if gdb
20074 maybe-TAGS-gdb: TAGS-gdb
20076 TAGS-gdb: \
20077 configure-gdb
20078 @[ -f ./gdb/Makefile ] || exit 0; \
20079 r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(SET_LIB_PATH) \
20082 $(HOST_EXPORTS) \
20083 for flag in $(EXTRA_HOST_FLAGS); do \
20084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20085 done; \
20086 echo "Doing TAGS in gdb" ; \
20087 (cd gdb && \
20088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20090 "RANLIB=$${RANLIB}" \
20091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20092 TAGS) \
20093 || exit 1
20095 @endif gdb
20097 .PHONY: maybe-install-info-gdb install-info-gdb
20098 maybe-install-info-gdb:
20099 @if gdb
20100 maybe-install-info-gdb: install-info-gdb
20102 install-info-gdb: \
20103 configure-gdb \
20104 info-gdb
20105 @[ -f ./gdb/Makefile ] || exit 0; \
20106 r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(SET_LIB_PATH) \
20109 $(HOST_EXPORTS) \
20110 for flag in $(EXTRA_HOST_FLAGS); do \
20111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20112 done; \
20113 echo "Doing install-info in gdb" ; \
20114 (cd gdb && \
20115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20117 "RANLIB=$${RANLIB}" \
20118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20119 install-info) \
20120 || exit 1
20122 @endif gdb
20124 .PHONY: maybe-installcheck-gdb installcheck-gdb
20125 maybe-installcheck-gdb:
20126 @if gdb
20127 maybe-installcheck-gdb: installcheck-gdb
20129 installcheck-gdb: \
20130 configure-gdb
20131 @[ -f ./gdb/Makefile ] || exit 0; \
20132 r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 $(SET_LIB_PATH) \
20135 $(HOST_EXPORTS) \
20136 for flag in $(EXTRA_HOST_FLAGS); do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20138 done; \
20139 echo "Doing installcheck in gdb" ; \
20140 (cd gdb && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20145 installcheck) \
20146 || exit 1
20148 @endif gdb
20150 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20151 maybe-mostlyclean-gdb:
20152 @if gdb
20153 maybe-mostlyclean-gdb: mostlyclean-gdb
20155 mostlyclean-gdb:
20156 @[ -f ./gdb/Makefile ] || exit 0; \
20157 r=`${PWD_COMMAND}`; export r; \
20158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20159 $(SET_LIB_PATH) \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS); do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing mostlyclean in gdb" ; \
20165 (cd gdb && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20170 mostlyclean) \
20171 || exit 1
20173 @endif gdb
20175 .PHONY: maybe-clean-gdb clean-gdb
20176 maybe-clean-gdb:
20177 @if gdb
20178 maybe-clean-gdb: clean-gdb
20180 clean-gdb:
20181 @[ -f ./gdb/Makefile ] || exit 0; \
20182 r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 $(SET_LIB_PATH) \
20185 $(HOST_EXPORTS) \
20186 for flag in $(EXTRA_HOST_FLAGS); do \
20187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 done; \
20189 echo "Doing clean in gdb" ; \
20190 (cd gdb && \
20191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20193 "RANLIB=$${RANLIB}" \
20194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20195 clean) \
20196 || exit 1
20198 @endif gdb
20200 .PHONY: maybe-distclean-gdb distclean-gdb
20201 maybe-distclean-gdb:
20202 @if gdb
20203 maybe-distclean-gdb: distclean-gdb
20205 distclean-gdb:
20206 @[ -f ./gdb/Makefile ] || exit 0; \
20207 r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(SET_LIB_PATH) \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS); do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing distclean in gdb" ; \
20215 (cd gdb && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20220 distclean) \
20221 || exit 1
20223 @endif gdb
20225 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20226 maybe-maintainer-clean-gdb:
20227 @if gdb
20228 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20230 maintainer-clean-gdb:
20231 @[ -f ./gdb/Makefile ] || exit 0; \
20232 r=`${PWD_COMMAND}`; export r; \
20233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20234 $(SET_LIB_PATH) \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS); do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing maintainer-clean in gdb" ; \
20240 (cd gdb && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245 maintainer-clean) \
20246 || exit 1
20248 @endif gdb
20251 .PHONY: configure-expect maybe-configure-expect
20252 maybe-configure-expect:
20253 @if expect
20254 maybe-configure-expect: configure-expect
20255 configure-expect:
20256 @test ! -f expect/Makefile || exit 0; \
20257 [ -d expect ] || mkdir expect; \
20258 r=`${PWD_COMMAND}`; export r; \
20259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20260 $(HOST_EXPORTS) \
20261 echo Configuring in expect; \
20262 cd expect || exit 1; \
20263 case $(srcdir) in \
20264 \.) \
20265 srcdiroption="--srcdir=."; \
20266 libsrcdir=".";; \
20267 /* | [A-Za-z]:[\\/]*) \
20268 srcdiroption="--srcdir=$(srcdir)/expect"; \
20269 libsrcdir="$$s/expect";; \
20270 *) \
20271 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20272 libsrcdir="$$s/expect";; \
20273 esac; \
20274 $(SHELL) $${libsrcdir}/configure \
20275 $(HOST_CONFIGARGS) $${srcdiroption} \
20276 || exit 1
20277 @endif expect
20279 .PHONY: all-expect maybe-all-expect
20280 maybe-all-expect:
20281 @if expect
20282 maybe-all-expect: all-expect
20283 all-expect: configure-expect
20284 @r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 $(SET_LIB_PATH) \
20287 $(HOST_EXPORTS) \
20288 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20289 @endif expect
20291 .PHONY: check-expect maybe-check-expect
20292 maybe-check-expect:
20293 @if expect
20294 maybe-check-expect: check-expect
20296 check-expect:
20297 @r=`${PWD_COMMAND}`; export r; \
20298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20299 $(SET_LIB_PATH) \
20300 $(HOST_EXPORTS) \
20301 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20303 @endif expect
20305 .PHONY: install-expect maybe-install-expect
20306 maybe-install-expect:
20307 @if expect
20308 maybe-install-expect: install-expect
20310 install-expect: installdirs
20311 @r=`${PWD_COMMAND}`; export r; \
20312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 $(SET_LIB_PATH) \
20314 $(HOST_EXPORTS) \
20315 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20317 @endif expect
20319 # Other targets (info, dvi, etc.)
20321 .PHONY: maybe-info-expect info-expect
20322 maybe-info-expect:
20323 @if expect
20324 maybe-info-expect: info-expect
20326 info-expect: \
20327 configure-expect
20328 @[ -f ./expect/Makefile ] || exit 0; \
20329 r=`${PWD_COMMAND}`; export r; \
20330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20331 $(SET_LIB_PATH) \
20332 $(HOST_EXPORTS) \
20333 for flag in $(EXTRA_HOST_FLAGS); do \
20334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20335 done; \
20336 echo "Doing info in expect" ; \
20337 (cd expect && \
20338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20340 "RANLIB=$${RANLIB}" \
20341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20342 info) \
20343 || exit 1
20345 @endif expect
20347 .PHONY: maybe-dvi-expect dvi-expect
20348 maybe-dvi-expect:
20349 @if expect
20350 maybe-dvi-expect: dvi-expect
20352 dvi-expect: \
20353 configure-expect
20354 @[ -f ./expect/Makefile ] || exit 0; \
20355 r=`${PWD_COMMAND}`; export r; \
20356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20357 $(SET_LIB_PATH) \
20358 $(HOST_EXPORTS) \
20359 for flag in $(EXTRA_HOST_FLAGS); do \
20360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20361 done; \
20362 echo "Doing dvi in expect" ; \
20363 (cd expect && \
20364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20366 "RANLIB=$${RANLIB}" \
20367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20368 dvi) \
20369 || exit 1
20371 @endif expect
20373 .PHONY: maybe-TAGS-expect TAGS-expect
20374 maybe-TAGS-expect:
20375 @if expect
20376 maybe-TAGS-expect: TAGS-expect
20378 TAGS-expect: \
20379 configure-expect
20380 @[ -f ./expect/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 $(SET_LIB_PATH) \
20384 $(HOST_EXPORTS) \
20385 for flag in $(EXTRA_HOST_FLAGS); do \
20386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20387 done; \
20388 echo "Doing TAGS in expect" ; \
20389 (cd expect && \
20390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20392 "RANLIB=$${RANLIB}" \
20393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20394 TAGS) \
20395 || exit 1
20397 @endif expect
20399 .PHONY: maybe-install-info-expect install-info-expect
20400 maybe-install-info-expect:
20401 @if expect
20402 maybe-install-info-expect: install-info-expect
20404 install-info-expect: \
20405 configure-expect \
20406 info-expect
20407 @[ -f ./expect/Makefile ] || exit 0; \
20408 r=`${PWD_COMMAND}`; export r; \
20409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20410 $(SET_LIB_PATH) \
20411 $(HOST_EXPORTS) \
20412 for flag in $(EXTRA_HOST_FLAGS); do \
20413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20414 done; \
20415 echo "Doing install-info in expect" ; \
20416 (cd expect && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20419 "RANLIB=$${RANLIB}" \
20420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20421 install-info) \
20422 || exit 1
20424 @endif expect
20426 .PHONY: maybe-installcheck-expect installcheck-expect
20427 maybe-installcheck-expect:
20428 @if expect
20429 maybe-installcheck-expect: installcheck-expect
20431 installcheck-expect: \
20432 configure-expect
20433 @[ -f ./expect/Makefile ] || exit 0; \
20434 r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20436 $(SET_LIB_PATH) \
20437 $(HOST_EXPORTS) \
20438 for flag in $(EXTRA_HOST_FLAGS); do \
20439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20440 done; \
20441 echo "Doing installcheck in expect" ; \
20442 (cd expect && \
20443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20445 "RANLIB=$${RANLIB}" \
20446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20447 installcheck) \
20448 || exit 1
20450 @endif expect
20452 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20453 maybe-mostlyclean-expect:
20454 @if expect
20455 maybe-mostlyclean-expect: mostlyclean-expect
20457 mostlyclean-expect:
20458 @[ -f ./expect/Makefile ] || exit 0; \
20459 r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20461 $(SET_LIB_PATH) \
20462 $(HOST_EXPORTS) \
20463 for flag in $(EXTRA_HOST_FLAGS); do \
20464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20465 done; \
20466 echo "Doing mostlyclean in expect" ; \
20467 (cd expect && \
20468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20470 "RANLIB=$${RANLIB}" \
20471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20472 mostlyclean) \
20473 || exit 1
20475 @endif expect
20477 .PHONY: maybe-clean-expect clean-expect
20478 maybe-clean-expect:
20479 @if expect
20480 maybe-clean-expect: clean-expect
20482 clean-expect:
20483 @[ -f ./expect/Makefile ] || exit 0; \
20484 r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486 $(SET_LIB_PATH) \
20487 $(HOST_EXPORTS) \
20488 for flag in $(EXTRA_HOST_FLAGS); do \
20489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20490 done; \
20491 echo "Doing clean in expect" ; \
20492 (cd expect && \
20493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20495 "RANLIB=$${RANLIB}" \
20496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20497 clean) \
20498 || exit 1
20500 @endif expect
20502 .PHONY: maybe-distclean-expect distclean-expect
20503 maybe-distclean-expect:
20504 @if expect
20505 maybe-distclean-expect: distclean-expect
20507 distclean-expect:
20508 @[ -f ./expect/Makefile ] || exit 0; \
20509 r=`${PWD_COMMAND}`; export r; \
20510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20511 $(SET_LIB_PATH) \
20512 $(HOST_EXPORTS) \
20513 for flag in $(EXTRA_HOST_FLAGS); do \
20514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20515 done; \
20516 echo "Doing distclean in expect" ; \
20517 (cd expect && \
20518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20520 "RANLIB=$${RANLIB}" \
20521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20522 distclean) \
20523 || exit 1
20525 @endif expect
20527 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20528 maybe-maintainer-clean-expect:
20529 @if expect
20530 maybe-maintainer-clean-expect: maintainer-clean-expect
20532 maintainer-clean-expect:
20533 @[ -f ./expect/Makefile ] || exit 0; \
20534 r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536 $(SET_LIB_PATH) \
20537 $(HOST_EXPORTS) \
20538 for flag in $(EXTRA_HOST_FLAGS); do \
20539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20540 done; \
20541 echo "Doing maintainer-clean in expect" ; \
20542 (cd expect && \
20543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20545 "RANLIB=$${RANLIB}" \
20546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20547 maintainer-clean) \
20548 || exit 1
20550 @endif expect
20553 .PHONY: configure-guile maybe-configure-guile
20554 maybe-configure-guile:
20555 @if guile
20556 maybe-configure-guile: configure-guile
20557 configure-guile:
20558 @test ! -f guile/Makefile || exit 0; \
20559 [ -d guile ] || mkdir guile; \
20560 r=`${PWD_COMMAND}`; export r; \
20561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20562 $(HOST_EXPORTS) \
20563 echo Configuring in guile; \
20564 cd guile || exit 1; \
20565 case $(srcdir) in \
20566 \.) \
20567 srcdiroption="--srcdir=."; \
20568 libsrcdir=".";; \
20569 /* | [A-Za-z]:[\\/]*) \
20570 srcdiroption="--srcdir=$(srcdir)/guile"; \
20571 libsrcdir="$$s/guile";; \
20572 *) \
20573 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20574 libsrcdir="$$s/guile";; \
20575 esac; \
20576 $(SHELL) $${libsrcdir}/configure \
20577 $(HOST_CONFIGARGS) $${srcdiroption} \
20578 || exit 1
20579 @endif guile
20581 .PHONY: all-guile maybe-all-guile
20582 maybe-all-guile:
20583 @if guile
20584 maybe-all-guile: all-guile
20585 all-guile: configure-guile
20586 @r=`${PWD_COMMAND}`; export r; \
20587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20588 $(SET_LIB_PATH) \
20589 $(HOST_EXPORTS) \
20590 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20591 @endif guile
20593 .PHONY: check-guile maybe-check-guile
20594 maybe-check-guile:
20595 @if guile
20596 maybe-check-guile: check-guile
20598 check-guile:
20599 @r=`${PWD_COMMAND}`; export r; \
20600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20601 $(SET_LIB_PATH) \
20602 $(HOST_EXPORTS) \
20603 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20605 @endif guile
20607 .PHONY: install-guile maybe-install-guile
20608 maybe-install-guile:
20609 @if guile
20610 maybe-install-guile: install-guile
20612 install-guile: installdirs
20613 @r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20615 $(SET_LIB_PATH) \
20616 $(HOST_EXPORTS) \
20617 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20619 @endif guile
20621 # Other targets (info, dvi, etc.)
20623 .PHONY: maybe-info-guile info-guile
20624 maybe-info-guile:
20625 @if guile
20626 maybe-info-guile: info-guile
20628 info-guile: \
20629 configure-guile
20630 @[ -f ./guile/Makefile ] || exit 0; \
20631 r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 $(SET_LIB_PATH) \
20634 $(HOST_EXPORTS) \
20635 for flag in $(EXTRA_HOST_FLAGS); do \
20636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20637 done; \
20638 echo "Doing info in guile" ; \
20639 (cd guile && \
20640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20642 "RANLIB=$${RANLIB}" \
20643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20644 info) \
20645 || exit 1
20647 @endif guile
20649 .PHONY: maybe-dvi-guile dvi-guile
20650 maybe-dvi-guile:
20651 @if guile
20652 maybe-dvi-guile: dvi-guile
20654 dvi-guile: \
20655 configure-guile
20656 @[ -f ./guile/Makefile ] || exit 0; \
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20659 $(SET_LIB_PATH) \
20660 $(HOST_EXPORTS) \
20661 for flag in $(EXTRA_HOST_FLAGS); do \
20662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20663 done; \
20664 echo "Doing dvi in guile" ; \
20665 (cd guile && \
20666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20668 "RANLIB=$${RANLIB}" \
20669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20670 dvi) \
20671 || exit 1
20673 @endif guile
20675 .PHONY: maybe-TAGS-guile TAGS-guile
20676 maybe-TAGS-guile:
20677 @if guile
20678 maybe-TAGS-guile: TAGS-guile
20680 TAGS-guile: \
20681 configure-guile
20682 @[ -f ./guile/Makefile ] || exit 0; \
20683 r=`${PWD_COMMAND}`; export r; \
20684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20685 $(SET_LIB_PATH) \
20686 $(HOST_EXPORTS) \
20687 for flag in $(EXTRA_HOST_FLAGS); do \
20688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20689 done; \
20690 echo "Doing TAGS in guile" ; \
20691 (cd guile && \
20692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20694 "RANLIB=$${RANLIB}" \
20695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20696 TAGS) \
20697 || exit 1
20699 @endif guile
20701 .PHONY: maybe-install-info-guile install-info-guile
20702 maybe-install-info-guile:
20703 @if guile
20704 maybe-install-info-guile: install-info-guile
20706 install-info-guile: \
20707 configure-guile \
20708 info-guile
20709 @[ -f ./guile/Makefile ] || exit 0; \
20710 r=`${PWD_COMMAND}`; export r; \
20711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20712 $(SET_LIB_PATH) \
20713 $(HOST_EXPORTS) \
20714 for flag in $(EXTRA_HOST_FLAGS); do \
20715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20716 done; \
20717 echo "Doing install-info in guile" ; \
20718 (cd guile && \
20719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20721 "RANLIB=$${RANLIB}" \
20722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20723 install-info) \
20724 || exit 1
20726 @endif guile
20728 .PHONY: maybe-installcheck-guile installcheck-guile
20729 maybe-installcheck-guile:
20730 @if guile
20731 maybe-installcheck-guile: installcheck-guile
20733 installcheck-guile: \
20734 configure-guile
20735 @[ -f ./guile/Makefile ] || exit 0; \
20736 r=`${PWD_COMMAND}`; export r; \
20737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20738 $(SET_LIB_PATH) \
20739 $(HOST_EXPORTS) \
20740 for flag in $(EXTRA_HOST_FLAGS); do \
20741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20742 done; \
20743 echo "Doing installcheck in guile" ; \
20744 (cd guile && \
20745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20747 "RANLIB=$${RANLIB}" \
20748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20749 installcheck) \
20750 || exit 1
20752 @endif guile
20754 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
20755 maybe-mostlyclean-guile:
20756 @if guile
20757 maybe-mostlyclean-guile: mostlyclean-guile
20759 mostlyclean-guile:
20760 @[ -f ./guile/Makefile ] || exit 0; \
20761 r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 $(SET_LIB_PATH) \
20764 $(HOST_EXPORTS) \
20765 for flag in $(EXTRA_HOST_FLAGS); do \
20766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20767 done; \
20768 echo "Doing mostlyclean in guile" ; \
20769 (cd guile && \
20770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20772 "RANLIB=$${RANLIB}" \
20773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20774 mostlyclean) \
20775 || exit 1
20777 @endif guile
20779 .PHONY: maybe-clean-guile clean-guile
20780 maybe-clean-guile:
20781 @if guile
20782 maybe-clean-guile: clean-guile
20784 clean-guile:
20785 @[ -f ./guile/Makefile ] || exit 0; \
20786 r=`${PWD_COMMAND}`; export r; \
20787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 $(SET_LIB_PATH) \
20789 $(HOST_EXPORTS) \
20790 for flag in $(EXTRA_HOST_FLAGS); do \
20791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20792 done; \
20793 echo "Doing clean in guile" ; \
20794 (cd guile && \
20795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20797 "RANLIB=$${RANLIB}" \
20798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20799 clean) \
20800 || exit 1
20802 @endif guile
20804 .PHONY: maybe-distclean-guile distclean-guile
20805 maybe-distclean-guile:
20806 @if guile
20807 maybe-distclean-guile: distclean-guile
20809 distclean-guile:
20810 @[ -f ./guile/Makefile ] || exit 0; \
20811 r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 $(SET_LIB_PATH) \
20814 $(HOST_EXPORTS) \
20815 for flag in $(EXTRA_HOST_FLAGS); do \
20816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20817 done; \
20818 echo "Doing distclean in guile" ; \
20819 (cd guile && \
20820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20822 "RANLIB=$${RANLIB}" \
20823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20824 distclean) \
20825 || exit 1
20827 @endif guile
20829 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
20830 maybe-maintainer-clean-guile:
20831 @if guile
20832 maybe-maintainer-clean-guile: maintainer-clean-guile
20834 maintainer-clean-guile:
20835 @[ -f ./guile/Makefile ] || exit 0; \
20836 r=`${PWD_COMMAND}`; export r; \
20837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838 $(SET_LIB_PATH) \
20839 $(HOST_EXPORTS) \
20840 for flag in $(EXTRA_HOST_FLAGS); do \
20841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20842 done; \
20843 echo "Doing maintainer-clean in guile" ; \
20844 (cd guile && \
20845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20847 "RANLIB=$${RANLIB}" \
20848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20849 maintainer-clean) \
20850 || exit 1
20852 @endif guile
20855 .PHONY: configure-tk maybe-configure-tk
20856 maybe-configure-tk:
20857 @if tk
20858 maybe-configure-tk: configure-tk
20859 configure-tk:
20860 @test ! -f tk/Makefile || exit 0; \
20861 [ -d tk ] || mkdir tk; \
20862 r=`${PWD_COMMAND}`; export r; \
20863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 $(HOST_EXPORTS) \
20865 echo Configuring in tk; \
20866 cd tk || exit 1; \
20867 case $(srcdir) in \
20868 \.) \
20869 srcdiroption="--srcdir=."; \
20870 libsrcdir=".";; \
20871 /* | [A-Za-z]:[\\/]*) \
20872 srcdiroption="--srcdir=$(srcdir)/tk"; \
20873 libsrcdir="$$s/tk";; \
20874 *) \
20875 srcdiroption="--srcdir=../$(srcdir)/tk"; \
20876 libsrcdir="$$s/tk";; \
20877 esac; \
20878 $(SHELL) $${libsrcdir}/configure \
20879 $(HOST_CONFIGARGS) $${srcdiroption} \
20880 || exit 1
20881 @endif tk
20883 .PHONY: all-tk maybe-all-tk
20884 maybe-all-tk:
20885 @if tk
20886 maybe-all-tk: all-tk
20887 all-tk: configure-tk
20888 @r=`${PWD_COMMAND}`; export r; \
20889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20890 $(SET_LIB_PATH) \
20891 $(HOST_EXPORTS) \
20892 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20893 @endif tk
20895 .PHONY: check-tk maybe-check-tk
20896 maybe-check-tk:
20897 @if tk
20898 maybe-check-tk: check-tk
20900 check-tk:
20901 @r=`${PWD_COMMAND}`; export r; \
20902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20903 $(SET_LIB_PATH) \
20904 $(HOST_EXPORTS) \
20905 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20907 @endif tk
20909 .PHONY: install-tk maybe-install-tk
20910 maybe-install-tk:
20911 @if tk
20912 maybe-install-tk: install-tk
20914 install-tk: installdirs
20915 @r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 $(SET_LIB_PATH) \
20918 $(HOST_EXPORTS) \
20919 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20921 @endif tk
20923 # Other targets (info, dvi, etc.)
20925 .PHONY: maybe-info-tk info-tk
20926 maybe-info-tk:
20927 @if tk
20928 maybe-info-tk: info-tk
20930 info-tk: \
20931 configure-tk
20932 @[ -f ./tk/Makefile ] || exit 0; \
20933 r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935 $(SET_LIB_PATH) \
20936 $(HOST_EXPORTS) \
20937 for flag in $(EXTRA_HOST_FLAGS); do \
20938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20939 done; \
20940 echo "Doing info in tk" ; \
20941 (cd tk && \
20942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20944 "RANLIB=$${RANLIB}" \
20945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20946 info) \
20947 || exit 1
20949 @endif tk
20951 .PHONY: maybe-dvi-tk dvi-tk
20952 maybe-dvi-tk:
20953 @if tk
20954 maybe-dvi-tk: dvi-tk
20956 dvi-tk: \
20957 configure-tk
20958 @[ -f ./tk/Makefile ] || exit 0; \
20959 r=`${PWD_COMMAND}`; export r; \
20960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20961 $(SET_LIB_PATH) \
20962 $(HOST_EXPORTS) \
20963 for flag in $(EXTRA_HOST_FLAGS); do \
20964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20965 done; \
20966 echo "Doing dvi in tk" ; \
20967 (cd tk && \
20968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20970 "RANLIB=$${RANLIB}" \
20971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20972 dvi) \
20973 || exit 1
20975 @endif tk
20977 .PHONY: maybe-TAGS-tk TAGS-tk
20978 maybe-TAGS-tk:
20979 @if tk
20980 maybe-TAGS-tk: TAGS-tk
20982 TAGS-tk: \
20983 configure-tk
20984 @[ -f ./tk/Makefile ] || exit 0; \
20985 r=`${PWD_COMMAND}`; export r; \
20986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20987 $(SET_LIB_PATH) \
20988 $(HOST_EXPORTS) \
20989 for flag in $(EXTRA_HOST_FLAGS); do \
20990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20991 done; \
20992 echo "Doing TAGS in tk" ; \
20993 (cd tk && \
20994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20996 "RANLIB=$${RANLIB}" \
20997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20998 TAGS) \
20999 || exit 1
21001 @endif tk
21003 .PHONY: maybe-install-info-tk install-info-tk
21004 maybe-install-info-tk:
21005 @if tk
21006 maybe-install-info-tk: install-info-tk
21008 install-info-tk: \
21009 configure-tk \
21010 info-tk
21011 @[ -f ./tk/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21014 $(SET_LIB_PATH) \
21015 $(HOST_EXPORTS) \
21016 for flag in $(EXTRA_HOST_FLAGS); do \
21017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21018 done; \
21019 echo "Doing install-info in tk" ; \
21020 (cd tk && \
21021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21023 "RANLIB=$${RANLIB}" \
21024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21025 install-info) \
21026 || exit 1
21028 @endif tk
21030 .PHONY: maybe-installcheck-tk installcheck-tk
21031 maybe-installcheck-tk:
21032 @if tk
21033 maybe-installcheck-tk: installcheck-tk
21035 installcheck-tk: \
21036 configure-tk
21037 @[ -f ./tk/Makefile ] || exit 0; \
21038 r=`${PWD_COMMAND}`; export r; \
21039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21040 $(SET_LIB_PATH) \
21041 $(HOST_EXPORTS) \
21042 for flag in $(EXTRA_HOST_FLAGS); do \
21043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21044 done; \
21045 echo "Doing installcheck in tk" ; \
21046 (cd tk && \
21047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21049 "RANLIB=$${RANLIB}" \
21050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21051 installcheck) \
21052 || exit 1
21054 @endif tk
21056 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21057 maybe-mostlyclean-tk:
21058 @if tk
21059 maybe-mostlyclean-tk: mostlyclean-tk
21061 mostlyclean-tk:
21062 @[ -f ./tk/Makefile ] || exit 0; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(SET_LIB_PATH) \
21066 $(HOST_EXPORTS) \
21067 for flag in $(EXTRA_HOST_FLAGS); do \
21068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21069 done; \
21070 echo "Doing mostlyclean in tk" ; \
21071 (cd tk && \
21072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21074 "RANLIB=$${RANLIB}" \
21075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21076 mostlyclean) \
21077 || exit 1
21079 @endif tk
21081 .PHONY: maybe-clean-tk clean-tk
21082 maybe-clean-tk:
21083 @if tk
21084 maybe-clean-tk: clean-tk
21086 clean-tk:
21087 @[ -f ./tk/Makefile ] || exit 0; \
21088 r=`${PWD_COMMAND}`; export r; \
21089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21090 $(SET_LIB_PATH) \
21091 $(HOST_EXPORTS) \
21092 for flag in $(EXTRA_HOST_FLAGS); do \
21093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21094 done; \
21095 echo "Doing clean in tk" ; \
21096 (cd tk && \
21097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21099 "RANLIB=$${RANLIB}" \
21100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21101 clean) \
21102 || exit 1
21104 @endif tk
21106 .PHONY: maybe-distclean-tk distclean-tk
21107 maybe-distclean-tk:
21108 @if tk
21109 maybe-distclean-tk: distclean-tk
21111 distclean-tk:
21112 @[ -f ./tk/Makefile ] || exit 0; \
21113 r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115 $(SET_LIB_PATH) \
21116 $(HOST_EXPORTS) \
21117 for flag in $(EXTRA_HOST_FLAGS); do \
21118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21119 done; \
21120 echo "Doing distclean in tk" ; \
21121 (cd tk && \
21122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21124 "RANLIB=$${RANLIB}" \
21125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21126 distclean) \
21127 || exit 1
21129 @endif tk
21131 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21132 maybe-maintainer-clean-tk:
21133 @if tk
21134 maybe-maintainer-clean-tk: maintainer-clean-tk
21136 maintainer-clean-tk:
21137 @[ -f ./tk/Makefile ] || exit 0; \
21138 r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21140 $(SET_LIB_PATH) \
21141 $(HOST_EXPORTS) \
21142 for flag in $(EXTRA_HOST_FLAGS); do \
21143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21144 done; \
21145 echo "Doing maintainer-clean in tk" ; \
21146 (cd tk && \
21147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21149 "RANLIB=$${RANLIB}" \
21150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21151 maintainer-clean) \
21152 || exit 1
21154 @endif tk
21157 .PHONY: configure-tix maybe-configure-tix
21158 maybe-configure-tix:
21159 @if tix
21160 maybe-configure-tix: configure-tix
21161 configure-tix:
21162 @test ! -f tix/Makefile || exit 0; \
21163 [ -d tix ] || mkdir tix; \
21164 r=`${PWD_COMMAND}`; export r; \
21165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21166 $(HOST_EXPORTS) \
21167 echo Configuring in tix; \
21168 cd tix || exit 1; \
21169 case $(srcdir) in \
21170 \.) \
21171 srcdiroption="--srcdir=."; \
21172 libsrcdir=".";; \
21173 /* | [A-Za-z]:[\\/]*) \
21174 srcdiroption="--srcdir=$(srcdir)/tix"; \
21175 libsrcdir="$$s/tix";; \
21176 *) \
21177 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21178 libsrcdir="$$s/tix";; \
21179 esac; \
21180 $(SHELL) $${libsrcdir}/configure \
21181 $(HOST_CONFIGARGS) $${srcdiroption} \
21182 || exit 1
21183 @endif tix
21185 .PHONY: all-tix maybe-all-tix
21186 maybe-all-tix:
21187 @if tix
21188 maybe-all-tix: all-tix
21189 all-tix: configure-tix
21190 @r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 $(SET_LIB_PATH) \
21193 $(HOST_EXPORTS) \
21194 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21195 @endif tix
21197 .PHONY: check-tix maybe-check-tix
21198 maybe-check-tix:
21199 @if tix
21200 maybe-check-tix: check-tix
21202 check-tix:
21203 @r=`${PWD_COMMAND}`; export r; \
21204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21205 $(SET_LIB_PATH) \
21206 $(HOST_EXPORTS) \
21207 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21209 @endif tix
21211 .PHONY: install-tix maybe-install-tix
21212 maybe-install-tix:
21213 @if tix
21214 maybe-install-tix: install-tix
21216 install-tix: installdirs
21217 @r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21219 $(SET_LIB_PATH) \
21220 $(HOST_EXPORTS) \
21221 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21223 @endif tix
21225 # Other targets (info, dvi, etc.)
21227 .PHONY: maybe-info-tix info-tix
21228 maybe-info-tix:
21229 @if tix
21230 maybe-info-tix: info-tix
21232 info-tix: \
21233 configure-tix
21234 @[ -f ./tix/Makefile ] || exit 0; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(SET_LIB_PATH) \
21238 $(HOST_EXPORTS) \
21239 for flag in $(EXTRA_HOST_FLAGS); do \
21240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21241 done; \
21242 echo "Doing info in tix" ; \
21243 (cd tix && \
21244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21246 "RANLIB=$${RANLIB}" \
21247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21248 info) \
21249 || exit 1
21251 @endif tix
21253 .PHONY: maybe-dvi-tix dvi-tix
21254 maybe-dvi-tix:
21255 @if tix
21256 maybe-dvi-tix: dvi-tix
21258 dvi-tix: \
21259 configure-tix
21260 @[ -f ./tix/Makefile ] || exit 0; \
21261 r=`${PWD_COMMAND}`; export r; \
21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21263 $(SET_LIB_PATH) \
21264 $(HOST_EXPORTS) \
21265 for flag in $(EXTRA_HOST_FLAGS); do \
21266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21267 done; \
21268 echo "Doing dvi in tix" ; \
21269 (cd tix && \
21270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272 "RANLIB=$${RANLIB}" \
21273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21274 dvi) \
21275 || exit 1
21277 @endif tix
21279 .PHONY: maybe-TAGS-tix TAGS-tix
21280 maybe-TAGS-tix:
21281 @if tix
21282 maybe-TAGS-tix: TAGS-tix
21284 TAGS-tix: \
21285 configure-tix
21286 @[ -f ./tix/Makefile ] || exit 0; \
21287 r=`${PWD_COMMAND}`; export r; \
21288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21289 $(SET_LIB_PATH) \
21290 $(HOST_EXPORTS) \
21291 for flag in $(EXTRA_HOST_FLAGS); do \
21292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21293 done; \
21294 echo "Doing TAGS in tix" ; \
21295 (cd tix && \
21296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21298 "RANLIB=$${RANLIB}" \
21299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21300 TAGS) \
21301 || exit 1
21303 @endif tix
21305 .PHONY: maybe-install-info-tix install-info-tix
21306 maybe-install-info-tix:
21307 @if tix
21308 maybe-install-info-tix: install-info-tix
21310 install-info-tix: \
21311 configure-tix \
21312 info-tix
21313 @[ -f ./tix/Makefile ] || exit 0; \
21314 r=`${PWD_COMMAND}`; export r; \
21315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21316 $(SET_LIB_PATH) \
21317 $(HOST_EXPORTS) \
21318 for flag in $(EXTRA_HOST_FLAGS); do \
21319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21320 done; \
21321 echo "Doing install-info in tix" ; \
21322 (cd tix && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21325 "RANLIB=$${RANLIB}" \
21326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21327 install-info) \
21328 || exit 1
21330 @endif tix
21332 .PHONY: maybe-installcheck-tix installcheck-tix
21333 maybe-installcheck-tix:
21334 @if tix
21335 maybe-installcheck-tix: installcheck-tix
21337 installcheck-tix: \
21338 configure-tix
21339 @[ -f ./tix/Makefile ] || exit 0; \
21340 r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21342 $(SET_LIB_PATH) \
21343 $(HOST_EXPORTS) \
21344 for flag in $(EXTRA_HOST_FLAGS); do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21346 done; \
21347 echo "Doing installcheck in tix" ; \
21348 (cd tix && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21353 installcheck) \
21354 || exit 1
21356 @endif tix
21358 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21359 maybe-mostlyclean-tix:
21360 @if tix
21361 maybe-mostlyclean-tix: mostlyclean-tix
21363 mostlyclean-tix:
21364 @[ -f ./tix/Makefile ] || exit 0; \
21365 r=`${PWD_COMMAND}`; export r; \
21366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21367 $(SET_LIB_PATH) \
21368 $(HOST_EXPORTS) \
21369 for flag in $(EXTRA_HOST_FLAGS); do \
21370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21371 done; \
21372 echo "Doing mostlyclean in tix" ; \
21373 (cd tix && \
21374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21376 "RANLIB=$${RANLIB}" \
21377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21378 mostlyclean) \
21379 || exit 1
21381 @endif tix
21383 .PHONY: maybe-clean-tix clean-tix
21384 maybe-clean-tix:
21385 @if tix
21386 maybe-clean-tix: clean-tix
21388 clean-tix:
21389 @[ -f ./tix/Makefile ] || exit 0; \
21390 r=`${PWD_COMMAND}`; export r; \
21391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21392 $(SET_LIB_PATH) \
21393 $(HOST_EXPORTS) \
21394 for flag in $(EXTRA_HOST_FLAGS); do \
21395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21396 done; \
21397 echo "Doing clean in tix" ; \
21398 (cd tix && \
21399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21401 "RANLIB=$${RANLIB}" \
21402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21403 clean) \
21404 || exit 1
21406 @endif tix
21408 .PHONY: maybe-distclean-tix distclean-tix
21409 maybe-distclean-tix:
21410 @if tix
21411 maybe-distclean-tix: distclean-tix
21413 distclean-tix:
21414 @[ -f ./tix/Makefile ] || exit 0; \
21415 r=`${PWD_COMMAND}`; export r; \
21416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21417 $(SET_LIB_PATH) \
21418 $(HOST_EXPORTS) \
21419 for flag in $(EXTRA_HOST_FLAGS); do \
21420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21421 done; \
21422 echo "Doing distclean in tix" ; \
21423 (cd tix && \
21424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21426 "RANLIB=$${RANLIB}" \
21427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21428 distclean) \
21429 || exit 1
21431 @endif tix
21433 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21434 maybe-maintainer-clean-tix:
21435 @if tix
21436 maybe-maintainer-clean-tix: maintainer-clean-tix
21438 maintainer-clean-tix:
21439 @[ -f ./tix/Makefile ] || exit 0; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(SET_LIB_PATH) \
21443 $(HOST_EXPORTS) \
21444 for flag in $(EXTRA_HOST_FLAGS); do \
21445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21446 done; \
21447 echo "Doing maintainer-clean in tix" ; \
21448 (cd tix && \
21449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21451 "RANLIB=$${RANLIB}" \
21452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21453 maintainer-clean) \
21454 || exit 1
21456 @endif tix
21459 .PHONY: configure-libtermcap maybe-configure-libtermcap
21460 maybe-configure-libtermcap:
21461 @if libtermcap
21462 maybe-configure-libtermcap: configure-libtermcap
21463 configure-libtermcap:
21464 @test ! -f libtermcap/Makefile || exit 0; \
21465 [ -d libtermcap ] || mkdir libtermcap; \
21466 r=`${PWD_COMMAND}`; export r; \
21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21468 $(HOST_EXPORTS) \
21469 echo Configuring in libtermcap; \
21470 cd libtermcap || exit 1; \
21471 case $(srcdir) in \
21472 \.) \
21473 srcdiroption="--srcdir=."; \
21474 libsrcdir=".";; \
21475 /* | [A-Za-z]:[\\/]*) \
21476 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21477 libsrcdir="$$s/libtermcap";; \
21478 *) \
21479 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21480 libsrcdir="$$s/libtermcap";; \
21481 esac; \
21482 $(SHELL) $${libsrcdir}/configure \
21483 $(HOST_CONFIGARGS) $${srcdiroption} \
21484 || exit 1
21485 @endif libtermcap
21487 .PHONY: all-libtermcap maybe-all-libtermcap
21488 maybe-all-libtermcap:
21489 @if libtermcap
21490 maybe-all-libtermcap: all-libtermcap
21491 all-libtermcap: configure-libtermcap
21492 @r=`${PWD_COMMAND}`; export r; \
21493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21494 $(SET_LIB_PATH) \
21495 $(HOST_EXPORTS) \
21496 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21497 @endif libtermcap
21499 .PHONY: check-libtermcap maybe-check-libtermcap
21500 maybe-check-libtermcap:
21501 @if libtermcap
21502 maybe-check-libtermcap: check-libtermcap
21504 check-libtermcap:
21506 @endif libtermcap
21508 .PHONY: install-libtermcap maybe-install-libtermcap
21509 maybe-install-libtermcap:
21510 @if libtermcap
21511 maybe-install-libtermcap: install-libtermcap
21513 install-libtermcap: installdirs
21514 @r=`${PWD_COMMAND}`; export r; \
21515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21516 $(SET_LIB_PATH) \
21517 $(HOST_EXPORTS) \
21518 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21520 @endif libtermcap
21522 # Other targets (info, dvi, etc.)
21524 .PHONY: maybe-info-libtermcap info-libtermcap
21525 maybe-info-libtermcap:
21526 @if libtermcap
21527 maybe-info-libtermcap: info-libtermcap
21529 info-libtermcap: \
21530 configure-libtermcap
21531 @[ -f ./libtermcap/Makefile ] || exit 0; \
21532 r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 $(SET_LIB_PATH) \
21535 $(HOST_EXPORTS) \
21536 for flag in $(EXTRA_HOST_FLAGS); do \
21537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21538 done; \
21539 echo "Doing info in libtermcap" ; \
21540 (cd libtermcap && \
21541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21543 "RANLIB=$${RANLIB}" \
21544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21545 info) \
21546 || exit 1
21548 @endif libtermcap
21550 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21551 maybe-dvi-libtermcap:
21552 @if libtermcap
21553 maybe-dvi-libtermcap: dvi-libtermcap
21555 dvi-libtermcap: \
21556 configure-libtermcap
21557 @[ -f ./libtermcap/Makefile ] || exit 0; \
21558 r=`${PWD_COMMAND}`; export r; \
21559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21560 $(SET_LIB_PATH) \
21561 $(HOST_EXPORTS) \
21562 for flag in $(EXTRA_HOST_FLAGS); do \
21563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21564 done; \
21565 echo "Doing dvi in libtermcap" ; \
21566 (cd libtermcap && \
21567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21569 "RANLIB=$${RANLIB}" \
21570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21571 dvi) \
21572 || exit 1
21574 @endif libtermcap
21576 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21577 maybe-TAGS-libtermcap:
21578 @if libtermcap
21579 maybe-TAGS-libtermcap: TAGS-libtermcap
21581 TAGS-libtermcap: \
21582 configure-libtermcap
21583 @[ -f ./libtermcap/Makefile ] || exit 0; \
21584 r=`${PWD_COMMAND}`; export r; \
21585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21586 $(SET_LIB_PATH) \
21587 $(HOST_EXPORTS) \
21588 for flag in $(EXTRA_HOST_FLAGS); do \
21589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21590 done; \
21591 echo "Doing TAGS in libtermcap" ; \
21592 (cd libtermcap && \
21593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21595 "RANLIB=$${RANLIB}" \
21596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21597 TAGS) \
21598 || exit 1
21600 @endif libtermcap
21602 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21603 maybe-install-info-libtermcap:
21604 @if libtermcap
21605 maybe-install-info-libtermcap: install-info-libtermcap
21607 install-info-libtermcap: \
21608 configure-libtermcap \
21609 info-libtermcap
21610 @[ -f ./libtermcap/Makefile ] || exit 0; \
21611 r=`${PWD_COMMAND}`; export r; \
21612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21613 $(SET_LIB_PATH) \
21614 $(HOST_EXPORTS) \
21615 for flag in $(EXTRA_HOST_FLAGS); do \
21616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617 done; \
21618 echo "Doing install-info in libtermcap" ; \
21619 (cd libtermcap && \
21620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21622 "RANLIB=$${RANLIB}" \
21623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21624 install-info) \
21625 || exit 1
21627 @endif libtermcap
21629 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21630 maybe-installcheck-libtermcap:
21631 @if libtermcap
21632 maybe-installcheck-libtermcap: installcheck-libtermcap
21634 installcheck-libtermcap: \
21635 configure-libtermcap
21636 @[ -f ./libtermcap/Makefile ] || exit 0; \
21637 r=`${PWD_COMMAND}`; export r; \
21638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21639 $(SET_LIB_PATH) \
21640 $(HOST_EXPORTS) \
21641 for flag in $(EXTRA_HOST_FLAGS); do \
21642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21643 done; \
21644 echo "Doing installcheck in libtermcap" ; \
21645 (cd libtermcap && \
21646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21648 "RANLIB=$${RANLIB}" \
21649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21650 installcheck) \
21651 || exit 1
21653 @endif libtermcap
21655 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21656 maybe-mostlyclean-libtermcap:
21657 @if libtermcap
21658 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21660 # libtermcap doesn't support mostlyclean.
21661 mostlyclean-libtermcap:
21663 @endif libtermcap
21665 .PHONY: maybe-clean-libtermcap clean-libtermcap
21666 maybe-clean-libtermcap:
21667 @if libtermcap
21668 maybe-clean-libtermcap: clean-libtermcap
21670 # libtermcap doesn't support clean.
21671 clean-libtermcap:
21673 @endif libtermcap
21675 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21676 maybe-distclean-libtermcap:
21677 @if libtermcap
21678 maybe-distclean-libtermcap: distclean-libtermcap
21680 # libtermcap doesn't support distclean.
21681 distclean-libtermcap:
21683 @endif libtermcap
21685 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21686 maybe-maintainer-clean-libtermcap:
21687 @if libtermcap
21688 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21690 # libtermcap doesn't support maintainer-clean.
21691 maintainer-clean-libtermcap:
21693 @endif libtermcap
21696 .PHONY: configure-utils maybe-configure-utils
21697 maybe-configure-utils:
21698 @if utils
21699 maybe-configure-utils: configure-utils
21700 configure-utils:
21701 @test ! -f utils/Makefile || exit 0; \
21702 [ -d utils ] || mkdir utils; \
21703 r=`${PWD_COMMAND}`; export r; \
21704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21705 $(HOST_EXPORTS) \
21706 echo Configuring in utils; \
21707 cd utils || exit 1; \
21708 case $(srcdir) in \
21709 \.) \
21710 srcdiroption="--srcdir=."; \
21711 libsrcdir=".";; \
21712 /* | [A-Za-z]:[\\/]*) \
21713 srcdiroption="--srcdir=$(srcdir)/utils"; \
21714 libsrcdir="$$s/utils";; \
21715 *) \
21716 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21717 libsrcdir="$$s/utils";; \
21718 esac; \
21719 $(SHELL) $${libsrcdir}/configure \
21720 $(HOST_CONFIGARGS) $${srcdiroption} \
21721 || exit 1
21722 @endif utils
21724 .PHONY: all-utils maybe-all-utils
21725 maybe-all-utils:
21726 @if utils
21727 maybe-all-utils: all-utils
21728 all-utils: configure-utils
21729 @r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(SET_LIB_PATH) \
21732 $(HOST_EXPORTS) \
21733 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21734 @endif utils
21736 .PHONY: check-utils maybe-check-utils
21737 maybe-check-utils:
21738 @if utils
21739 maybe-check-utils: check-utils
21741 check-utils:
21743 @endif utils
21745 .PHONY: install-utils maybe-install-utils
21746 maybe-install-utils:
21747 @if utils
21748 maybe-install-utils: install-utils
21750 install-utils: installdirs
21751 @r=`${PWD_COMMAND}`; export r; \
21752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21753 $(SET_LIB_PATH) \
21754 $(HOST_EXPORTS) \
21755 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21757 @endif utils
21759 # Other targets (info, dvi, etc.)
21761 .PHONY: maybe-info-utils info-utils
21762 maybe-info-utils:
21763 @if utils
21764 maybe-info-utils: info-utils
21766 info-utils: \
21767 configure-utils
21768 @[ -f ./utils/Makefile ] || exit 0; \
21769 r=`${PWD_COMMAND}`; export r; \
21770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21771 $(SET_LIB_PATH) \
21772 $(HOST_EXPORTS) \
21773 for flag in $(EXTRA_HOST_FLAGS); do \
21774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21775 done; \
21776 echo "Doing info in utils" ; \
21777 (cd utils && \
21778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21780 "RANLIB=$${RANLIB}" \
21781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21782 info) \
21783 || exit 1
21785 @endif utils
21787 .PHONY: maybe-dvi-utils dvi-utils
21788 maybe-dvi-utils:
21789 @if utils
21790 maybe-dvi-utils: dvi-utils
21792 dvi-utils: \
21793 configure-utils
21794 @[ -f ./utils/Makefile ] || exit 0; \
21795 r=`${PWD_COMMAND}`; export r; \
21796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21797 $(SET_LIB_PATH) \
21798 $(HOST_EXPORTS) \
21799 for flag in $(EXTRA_HOST_FLAGS); do \
21800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21801 done; \
21802 echo "Doing dvi in utils" ; \
21803 (cd utils && \
21804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21806 "RANLIB=$${RANLIB}" \
21807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21808 dvi) \
21809 || exit 1
21811 @endif utils
21813 .PHONY: maybe-TAGS-utils TAGS-utils
21814 maybe-TAGS-utils:
21815 @if utils
21816 maybe-TAGS-utils: TAGS-utils
21818 TAGS-utils: \
21819 configure-utils
21820 @[ -f ./utils/Makefile ] || exit 0; \
21821 r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 $(SET_LIB_PATH) \
21824 $(HOST_EXPORTS) \
21825 for flag in $(EXTRA_HOST_FLAGS); do \
21826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21827 done; \
21828 echo "Doing TAGS in utils" ; \
21829 (cd utils && \
21830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21832 "RANLIB=$${RANLIB}" \
21833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21834 TAGS) \
21835 || exit 1
21837 @endif utils
21839 .PHONY: maybe-install-info-utils install-info-utils
21840 maybe-install-info-utils:
21841 @if utils
21842 maybe-install-info-utils: install-info-utils
21844 install-info-utils: \
21845 configure-utils \
21846 info-utils
21847 @[ -f ./utils/Makefile ] || exit 0; \
21848 r=`${PWD_COMMAND}`; export r; \
21849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21850 $(SET_LIB_PATH) \
21851 $(HOST_EXPORTS) \
21852 for flag in $(EXTRA_HOST_FLAGS); do \
21853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21854 done; \
21855 echo "Doing install-info in utils" ; \
21856 (cd utils && \
21857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21859 "RANLIB=$${RANLIB}" \
21860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21861 install-info) \
21862 || exit 1
21864 @endif utils
21866 .PHONY: maybe-installcheck-utils installcheck-utils
21867 maybe-installcheck-utils:
21868 @if utils
21869 maybe-installcheck-utils: installcheck-utils
21871 installcheck-utils: \
21872 configure-utils
21873 @[ -f ./utils/Makefile ] || exit 0; \
21874 r=`${PWD_COMMAND}`; export r; \
21875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21876 $(SET_LIB_PATH) \
21877 $(HOST_EXPORTS) \
21878 for flag in $(EXTRA_HOST_FLAGS); do \
21879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21880 done; \
21881 echo "Doing installcheck in utils" ; \
21882 (cd utils && \
21883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21885 "RANLIB=$${RANLIB}" \
21886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21887 installcheck) \
21888 || exit 1
21890 @endif utils
21892 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21893 maybe-mostlyclean-utils:
21894 @if utils
21895 maybe-mostlyclean-utils: mostlyclean-utils
21897 mostlyclean-utils:
21898 @[ -f ./utils/Makefile ] || exit 0; \
21899 r=`${PWD_COMMAND}`; export r; \
21900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21901 $(SET_LIB_PATH) \
21902 $(HOST_EXPORTS) \
21903 for flag in $(EXTRA_HOST_FLAGS); do \
21904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21905 done; \
21906 echo "Doing mostlyclean in utils" ; \
21907 (cd utils && \
21908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21910 "RANLIB=$${RANLIB}" \
21911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21912 mostlyclean) \
21913 || exit 1
21915 @endif utils
21917 .PHONY: maybe-clean-utils clean-utils
21918 maybe-clean-utils:
21919 @if utils
21920 maybe-clean-utils: clean-utils
21922 clean-utils:
21923 @[ -f ./utils/Makefile ] || exit 0; \
21924 r=`${PWD_COMMAND}`; export r; \
21925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21926 $(SET_LIB_PATH) \
21927 $(HOST_EXPORTS) \
21928 for flag in $(EXTRA_HOST_FLAGS); do \
21929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21930 done; \
21931 echo "Doing clean in utils" ; \
21932 (cd utils && \
21933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21935 "RANLIB=$${RANLIB}" \
21936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21937 clean) \
21938 || exit 1
21940 @endif utils
21942 .PHONY: maybe-distclean-utils distclean-utils
21943 maybe-distclean-utils:
21944 @if utils
21945 maybe-distclean-utils: distclean-utils
21947 distclean-utils:
21948 @[ -f ./utils/Makefile ] || exit 0; \
21949 r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21951 $(SET_LIB_PATH) \
21952 $(HOST_EXPORTS) \
21953 for flag in $(EXTRA_HOST_FLAGS); do \
21954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21955 done; \
21956 echo "Doing distclean in utils" ; \
21957 (cd utils && \
21958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21960 "RANLIB=$${RANLIB}" \
21961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21962 distclean) \
21963 || exit 1
21965 @endif utils
21967 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
21968 maybe-maintainer-clean-utils:
21969 @if utils
21970 maybe-maintainer-clean-utils: maintainer-clean-utils
21972 maintainer-clean-utils:
21973 @[ -f ./utils/Makefile ] || exit 0; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 $(SET_LIB_PATH) \
21977 $(HOST_EXPORTS) \
21978 for flag in $(EXTRA_HOST_FLAGS); do \
21979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21980 done; \
21981 echo "Doing maintainer-clean in utils" ; \
21982 (cd utils && \
21983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21985 "RANLIB=$${RANLIB}" \
21986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21987 maintainer-clean) \
21988 || exit 1
21990 @endif utils
21994 # ---------------------------------------
21995 # Modules which run on the target machine
21996 # ---------------------------------------
21998 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21999 maybe-configure-target-libstdc++-v3:
22000 @if target-libstdc++-v3
22001 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22003 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22004 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22005 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22006 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22007 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22009 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22010 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 $(SET_LIB_PATH) \
22015 $(RAW_CXX_TARGET_EXPORTS) \
22016 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22017 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22018 case $(srcdir) in \
22019 /* | [A-Za-z]:[\\/]*) \
22020 topdir=$(srcdir) ;; \
22021 *) \
22022 case "$(TARGET_SUBDIR)" in \
22023 .) topdir="../$(srcdir)" ;; \
22024 *) topdir="../../$(srcdir)" ;; \
22025 esac ;; \
22026 esac; \
22027 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22028 libsrcdir="$$s/libstdc++-v3"; \
22029 rm -f no-such-file || : ; \
22030 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22031 $(TARGET_CONFIGARGS) $${srcdiroption} \
22032 --with-target-subdir="$(TARGET_SUBDIR)" \
22033 || exit 1
22034 @endif target-libstdc++-v3
22036 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22037 maybe-all-target-libstdc++-v3:
22038 @if target-libstdc++-v3
22039 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22040 all-target-libstdc++-v3: configure-target-libstdc++-v3
22041 @r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 $(SET_LIB_PATH) \
22044 $(RAW_CXX_TARGET_EXPORTS) \
22045 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22046 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22047 @endif target-libstdc++-v3
22049 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22050 maybe-check-target-libstdc++-v3:
22051 @if target-libstdc++-v3
22052 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22054 check-target-libstdc++-v3:
22055 @r=`${PWD_COMMAND}`; export r; \
22056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22057 $(SET_LIB_PATH) \
22058 $(RAW_CXX_TARGET_EXPORTS) \
22059 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22060 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22062 @endif target-libstdc++-v3
22064 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22065 maybe-install-target-libstdc++-v3:
22066 @if target-libstdc++-v3
22067 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22069 install-target-libstdc++-v3: installdirs
22070 @r=`${PWD_COMMAND}`; export r; \
22071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22072 $(SET_LIB_PATH) \
22073 $(RAW_CXX_TARGET_EXPORTS) \
22074 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22077 @endif target-libstdc++-v3
22079 # Other targets (info, dvi, etc.)
22081 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22082 maybe-info-target-libstdc++-v3:
22083 @if target-libstdc++-v3
22084 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22086 info-target-libstdc++-v3: \
22087 configure-target-libstdc++-v3
22088 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22089 r=`${PWD_COMMAND}`; export r; \
22090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22091 $(SET_LIB_PATH) \
22092 $(RAW_CXX_TARGET_EXPORTS) \
22093 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22094 for flag in $(EXTRA_TARGET_FLAGS); do \
22095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22096 done; \
22097 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22100 "RANLIB=$${RANLIB}" \
22101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22102 info) \
22103 || exit 1
22105 @endif target-libstdc++-v3
22107 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22108 maybe-dvi-target-libstdc++-v3:
22109 @if target-libstdc++-v3
22110 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22112 dvi-target-libstdc++-v3: \
22113 configure-target-libstdc++-v3
22114 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22115 r=`${PWD_COMMAND}`; export r; \
22116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 $(SET_LIB_PATH) \
22118 $(RAW_CXX_TARGET_EXPORTS) \
22119 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22120 for flag in $(EXTRA_TARGET_FLAGS); do \
22121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22122 done; \
22123 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22126 "RANLIB=$${RANLIB}" \
22127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22128 dvi) \
22129 || exit 1
22131 @endif target-libstdc++-v3
22133 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22134 maybe-TAGS-target-libstdc++-v3:
22135 @if target-libstdc++-v3
22136 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22138 TAGS-target-libstdc++-v3: \
22139 configure-target-libstdc++-v3
22140 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22141 r=`${PWD_COMMAND}`; export r; \
22142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22143 $(SET_LIB_PATH) \
22144 $(RAW_CXX_TARGET_EXPORTS) \
22145 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22146 for flag in $(EXTRA_TARGET_FLAGS); do \
22147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22148 done; \
22149 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22152 "RANLIB=$${RANLIB}" \
22153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22154 TAGS) \
22155 || exit 1
22157 @endif target-libstdc++-v3
22159 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22160 maybe-install-info-target-libstdc++-v3:
22161 @if target-libstdc++-v3
22162 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22164 install-info-target-libstdc++-v3: \
22165 configure-target-libstdc++-v3 \
22166 info-target-libstdc++-v3
22167 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 $(SET_LIB_PATH) \
22171 $(RAW_CXX_TARGET_EXPORTS) \
22172 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22173 for flag in $(EXTRA_TARGET_FLAGS); do \
22174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22175 done; \
22176 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22179 "RANLIB=$${RANLIB}" \
22180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22181 install-info) \
22182 || exit 1
22184 @endif target-libstdc++-v3
22186 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22187 maybe-installcheck-target-libstdc++-v3:
22188 @if target-libstdc++-v3
22189 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22191 installcheck-target-libstdc++-v3: \
22192 configure-target-libstdc++-v3
22193 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(SET_LIB_PATH) \
22197 $(RAW_CXX_TARGET_EXPORTS) \
22198 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22199 for flag in $(EXTRA_TARGET_FLAGS); do \
22200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22201 done; \
22202 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22205 "RANLIB=$${RANLIB}" \
22206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22207 installcheck) \
22208 || exit 1
22210 @endif target-libstdc++-v3
22212 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22213 maybe-mostlyclean-target-libstdc++-v3:
22214 @if target-libstdc++-v3
22215 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22217 mostlyclean-target-libstdc++-v3:
22218 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22219 r=`${PWD_COMMAND}`; export r; \
22220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22221 $(SET_LIB_PATH) \
22222 $(RAW_CXX_TARGET_EXPORTS) \
22223 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22224 for flag in $(EXTRA_TARGET_FLAGS); do \
22225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22226 done; \
22227 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22230 "RANLIB=$${RANLIB}" \
22231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22232 mostlyclean) \
22233 || exit 1
22235 @endif target-libstdc++-v3
22237 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22238 maybe-clean-target-libstdc++-v3:
22239 @if target-libstdc++-v3
22240 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22242 clean-target-libstdc++-v3:
22243 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22244 r=`${PWD_COMMAND}`; export r; \
22245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22246 $(SET_LIB_PATH) \
22247 $(RAW_CXX_TARGET_EXPORTS) \
22248 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22249 for flag in $(EXTRA_TARGET_FLAGS); do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22251 done; \
22252 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255 "RANLIB=$${RANLIB}" \
22256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22257 clean) \
22258 || exit 1
22260 @endif target-libstdc++-v3
22262 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22263 maybe-distclean-target-libstdc++-v3:
22264 @if target-libstdc++-v3
22265 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22267 distclean-target-libstdc++-v3:
22268 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22269 r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(SET_LIB_PATH) \
22272 $(RAW_CXX_TARGET_EXPORTS) \
22273 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22274 for flag in $(EXTRA_TARGET_FLAGS); do \
22275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22276 done; \
22277 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22280 "RANLIB=$${RANLIB}" \
22281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22282 distclean) \
22283 || exit 1
22285 @endif target-libstdc++-v3
22287 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22288 maybe-maintainer-clean-target-libstdc++-v3:
22289 @if target-libstdc++-v3
22290 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22292 maintainer-clean-target-libstdc++-v3:
22293 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22294 r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 $(SET_LIB_PATH) \
22297 $(RAW_CXX_TARGET_EXPORTS) \
22298 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22299 for flag in $(EXTRA_TARGET_FLAGS); do \
22300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22301 done; \
22302 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22305 "RANLIB=$${RANLIB}" \
22306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22307 maintainer-clean) \
22308 || exit 1
22310 @endif target-libstdc++-v3
22313 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22314 maybe-configure-target-libmudflap:
22315 @if target-libmudflap
22316 maybe-configure-target-libmudflap: configure-target-libmudflap
22318 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22319 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22321 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22322 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22324 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22325 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22327 r=`${PWD_COMMAND}`; export r; \
22328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22329 $(SET_LIB_PATH) \
22330 $(NORMAL_TARGET_EXPORTS) \
22331 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22332 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22333 case $(srcdir) in \
22334 /* | [A-Za-z]:[\\/]*) \
22335 topdir=$(srcdir) ;; \
22336 *) \
22337 case "$(TARGET_SUBDIR)" in \
22338 .) topdir="../$(srcdir)" ;; \
22339 *) topdir="../../$(srcdir)" ;; \
22340 esac ;; \
22341 esac; \
22342 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22343 libsrcdir="$$s/libmudflap"; \
22344 rm -f no-such-file || : ; \
22345 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22346 $(TARGET_CONFIGARGS) $${srcdiroption} \
22347 --with-target-subdir="$(TARGET_SUBDIR)" \
22348 || exit 1
22349 @endif target-libmudflap
22351 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22352 maybe-all-target-libmudflap:
22353 @if target-libmudflap
22354 maybe-all-target-libmudflap: all-target-libmudflap
22355 all-target-libmudflap: configure-target-libmudflap
22356 @r=`${PWD_COMMAND}`; export r; \
22357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22358 $(SET_LIB_PATH) \
22359 $(NORMAL_TARGET_EXPORTS) \
22360 (cd $(TARGET_SUBDIR)/libmudflap && \
22361 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22362 @endif target-libmudflap
22364 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22365 maybe-check-target-libmudflap:
22366 @if target-libmudflap
22367 maybe-check-target-libmudflap: check-target-libmudflap
22369 check-target-libmudflap:
22370 @r=`${PWD_COMMAND}`; export r; \
22371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22372 $(SET_LIB_PATH) \
22373 $(NORMAL_TARGET_EXPORTS) \
22374 (cd $(TARGET_SUBDIR)/libmudflap && \
22375 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22377 @endif target-libmudflap
22379 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22380 maybe-install-target-libmudflap:
22381 @if target-libmudflap
22382 maybe-install-target-libmudflap: install-target-libmudflap
22384 install-target-libmudflap: installdirs
22385 @r=`${PWD_COMMAND}`; export r; \
22386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22387 $(SET_LIB_PATH) \
22388 $(NORMAL_TARGET_EXPORTS) \
22389 (cd $(TARGET_SUBDIR)/libmudflap && \
22390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22392 @endif target-libmudflap
22394 # Other targets (info, dvi, etc.)
22396 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22397 maybe-info-target-libmudflap:
22398 @if target-libmudflap
22399 maybe-info-target-libmudflap: info-target-libmudflap
22401 info-target-libmudflap: \
22402 configure-target-libmudflap
22403 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22404 r=`${PWD_COMMAND}`; export r; \
22405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22406 $(SET_LIB_PATH) \
22407 $(NORMAL_TARGET_EXPORTS) \
22408 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22409 for flag in $(EXTRA_TARGET_FLAGS); do \
22410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22411 done; \
22412 (cd $(TARGET_SUBDIR)/libmudflap && \
22413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415 "RANLIB=$${RANLIB}" \
22416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417 info) \
22418 || exit 1
22420 @endif target-libmudflap
22422 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22423 maybe-dvi-target-libmudflap:
22424 @if target-libmudflap
22425 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22427 dvi-target-libmudflap: \
22428 configure-target-libmudflap
22429 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22430 r=`${PWD_COMMAND}`; export r; \
22431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22432 $(SET_LIB_PATH) \
22433 $(NORMAL_TARGET_EXPORTS) \
22434 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22435 for flag in $(EXTRA_TARGET_FLAGS); do \
22436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22437 done; \
22438 (cd $(TARGET_SUBDIR)/libmudflap && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 dvi) \
22444 || exit 1
22446 @endif target-libmudflap
22448 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22449 maybe-TAGS-target-libmudflap:
22450 @if target-libmudflap
22451 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22453 TAGS-target-libmudflap: \
22454 configure-target-libmudflap
22455 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(SET_LIB_PATH) \
22459 $(NORMAL_TARGET_EXPORTS) \
22460 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22461 for flag in $(EXTRA_TARGET_FLAGS); do \
22462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22463 done; \
22464 (cd $(TARGET_SUBDIR)/libmudflap && \
22465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22467 "RANLIB=$${RANLIB}" \
22468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22469 TAGS) \
22470 || exit 1
22472 @endif target-libmudflap
22474 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22475 maybe-install-info-target-libmudflap:
22476 @if target-libmudflap
22477 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22479 install-info-target-libmudflap: \
22480 configure-target-libmudflap \
22481 info-target-libmudflap
22482 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22483 r=`${PWD_COMMAND}`; export r; \
22484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22485 $(SET_LIB_PATH) \
22486 $(NORMAL_TARGET_EXPORTS) \
22487 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22488 for flag in $(EXTRA_TARGET_FLAGS); do \
22489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490 done; \
22491 (cd $(TARGET_SUBDIR)/libmudflap && \
22492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22494 "RANLIB=$${RANLIB}" \
22495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22496 install-info) \
22497 || exit 1
22499 @endif target-libmudflap
22501 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22502 maybe-installcheck-target-libmudflap:
22503 @if target-libmudflap
22504 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22506 installcheck-target-libmudflap: \
22507 configure-target-libmudflap
22508 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22509 r=`${PWD_COMMAND}`; export r; \
22510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22511 $(SET_LIB_PATH) \
22512 $(NORMAL_TARGET_EXPORTS) \
22513 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22514 for flag in $(EXTRA_TARGET_FLAGS); do \
22515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22516 done; \
22517 (cd $(TARGET_SUBDIR)/libmudflap && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22522 installcheck) \
22523 || exit 1
22525 @endif target-libmudflap
22527 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22528 maybe-mostlyclean-target-libmudflap:
22529 @if target-libmudflap
22530 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22532 mostlyclean-target-libmudflap:
22533 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(SET_LIB_PATH) \
22537 $(NORMAL_TARGET_EXPORTS) \
22538 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22539 for flag in $(EXTRA_TARGET_FLAGS); do \
22540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22541 done; \
22542 (cd $(TARGET_SUBDIR)/libmudflap && \
22543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22545 "RANLIB=$${RANLIB}" \
22546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22547 mostlyclean) \
22548 || exit 1
22550 @endif target-libmudflap
22552 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22553 maybe-clean-target-libmudflap:
22554 @if target-libmudflap
22555 maybe-clean-target-libmudflap: clean-target-libmudflap
22557 clean-target-libmudflap:
22558 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22559 r=`${PWD_COMMAND}`; export r; \
22560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 $(SET_LIB_PATH) \
22562 $(NORMAL_TARGET_EXPORTS) \
22563 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22564 for flag in $(EXTRA_TARGET_FLAGS); do \
22565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22566 done; \
22567 (cd $(TARGET_SUBDIR)/libmudflap && \
22568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22570 "RANLIB=$${RANLIB}" \
22571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22572 clean) \
22573 || exit 1
22575 @endif target-libmudflap
22577 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22578 maybe-distclean-target-libmudflap:
22579 @if target-libmudflap
22580 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22582 distclean-target-libmudflap:
22583 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22584 r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 $(SET_LIB_PATH) \
22587 $(NORMAL_TARGET_EXPORTS) \
22588 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22589 for flag in $(EXTRA_TARGET_FLAGS); do \
22590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 done; \
22592 (cd $(TARGET_SUBDIR)/libmudflap && \
22593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22595 "RANLIB=$${RANLIB}" \
22596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22597 distclean) \
22598 || exit 1
22600 @endif target-libmudflap
22602 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22603 maybe-maintainer-clean-target-libmudflap:
22604 @if target-libmudflap
22605 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22607 maintainer-clean-target-libmudflap:
22608 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22609 r=`${PWD_COMMAND}`; export r; \
22610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(SET_LIB_PATH) \
22612 $(NORMAL_TARGET_EXPORTS) \
22613 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22614 for flag in $(EXTRA_TARGET_FLAGS); do \
22615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22616 done; \
22617 (cd $(TARGET_SUBDIR)/libmudflap && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22622 maintainer-clean) \
22623 || exit 1
22625 @endif target-libmudflap
22628 .PHONY: configure-target-newlib maybe-configure-target-newlib
22629 maybe-configure-target-newlib:
22630 @if target-newlib
22631 maybe-configure-target-newlib: configure-target-newlib
22633 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22634 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22636 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22637 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22639 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22640 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22642 r=`${PWD_COMMAND}`; export r; \
22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 $(SET_LIB_PATH) \
22645 $(NORMAL_TARGET_EXPORTS) \
22646 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22647 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22648 case $(srcdir) in \
22649 /* | [A-Za-z]:[\\/]*) \
22650 topdir=$(srcdir) ;; \
22651 *) \
22652 case "$(TARGET_SUBDIR)" in \
22653 .) topdir="../$(srcdir)" ;; \
22654 *) topdir="../../$(srcdir)" ;; \
22655 esac ;; \
22656 esac; \
22657 srcdiroption="--srcdir=$${topdir}/newlib"; \
22658 libsrcdir="$$s/newlib"; \
22659 rm -f no-such-file || : ; \
22660 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22661 $(TARGET_CONFIGARGS) $${srcdiroption} \
22662 --with-target-subdir="$(TARGET_SUBDIR)" \
22663 || exit 1
22664 @endif target-newlib
22666 .PHONY: all-target-newlib maybe-all-target-newlib
22667 maybe-all-target-newlib:
22668 @if target-newlib
22669 maybe-all-target-newlib: all-target-newlib
22670 all-target-newlib: configure-target-newlib
22671 @r=`${PWD_COMMAND}`; export r; \
22672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22673 $(SET_LIB_PATH) \
22674 $(NORMAL_TARGET_EXPORTS) \
22675 (cd $(TARGET_SUBDIR)/newlib && \
22676 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22677 @endif target-newlib
22679 .PHONY: check-target-newlib maybe-check-target-newlib
22680 maybe-check-target-newlib:
22681 @if target-newlib
22682 maybe-check-target-newlib: check-target-newlib
22684 check-target-newlib:
22685 @r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 $(SET_LIB_PATH) \
22688 $(NORMAL_TARGET_EXPORTS) \
22689 (cd $(TARGET_SUBDIR)/newlib && \
22690 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22692 @endif target-newlib
22694 .PHONY: install-target-newlib maybe-install-target-newlib
22695 maybe-install-target-newlib:
22696 @if target-newlib
22697 maybe-install-target-newlib: install-target-newlib
22699 install-target-newlib: installdirs
22700 @r=`${PWD_COMMAND}`; export r; \
22701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22702 $(SET_LIB_PATH) \
22703 $(NORMAL_TARGET_EXPORTS) \
22704 (cd $(TARGET_SUBDIR)/newlib && \
22705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22707 @endif target-newlib
22709 # Other targets (info, dvi, etc.)
22711 .PHONY: maybe-info-target-newlib info-target-newlib
22712 maybe-info-target-newlib:
22713 @if target-newlib
22714 maybe-info-target-newlib: info-target-newlib
22716 info-target-newlib: \
22717 configure-target-newlib
22718 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22719 r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(SET_LIB_PATH) \
22722 $(NORMAL_TARGET_EXPORTS) \
22723 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22724 for flag in $(EXTRA_TARGET_FLAGS); do \
22725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22726 done; \
22727 (cd $(TARGET_SUBDIR)/newlib && \
22728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22730 "RANLIB=$${RANLIB}" \
22731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22732 info) \
22733 || exit 1
22735 @endif target-newlib
22737 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22738 maybe-dvi-target-newlib:
22739 @if target-newlib
22740 maybe-dvi-target-newlib: dvi-target-newlib
22742 dvi-target-newlib: \
22743 configure-target-newlib
22744 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22745 r=`${PWD_COMMAND}`; export r; \
22746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 $(SET_LIB_PATH) \
22748 $(NORMAL_TARGET_EXPORTS) \
22749 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22750 for flag in $(EXTRA_TARGET_FLAGS); do \
22751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22752 done; \
22753 (cd $(TARGET_SUBDIR)/newlib && \
22754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22756 "RANLIB=$${RANLIB}" \
22757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22758 dvi) \
22759 || exit 1
22761 @endif target-newlib
22763 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22764 maybe-TAGS-target-newlib:
22765 @if target-newlib
22766 maybe-TAGS-target-newlib: TAGS-target-newlib
22768 TAGS-target-newlib: \
22769 configure-target-newlib
22770 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22771 r=`${PWD_COMMAND}`; export r; \
22772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22773 $(SET_LIB_PATH) \
22774 $(NORMAL_TARGET_EXPORTS) \
22775 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22776 for flag in $(EXTRA_TARGET_FLAGS); do \
22777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22778 done; \
22779 (cd $(TARGET_SUBDIR)/newlib && \
22780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22782 "RANLIB=$${RANLIB}" \
22783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22784 TAGS) \
22785 || exit 1
22787 @endif target-newlib
22789 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22790 maybe-install-info-target-newlib:
22791 @if target-newlib
22792 maybe-install-info-target-newlib: install-info-target-newlib
22794 install-info-target-newlib: \
22795 configure-target-newlib \
22796 info-target-newlib
22797 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22798 r=`${PWD_COMMAND}`; export r; \
22799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22800 $(SET_LIB_PATH) \
22801 $(NORMAL_TARGET_EXPORTS) \
22802 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22803 for flag in $(EXTRA_TARGET_FLAGS); do \
22804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22805 done; \
22806 (cd $(TARGET_SUBDIR)/newlib && \
22807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22809 "RANLIB=$${RANLIB}" \
22810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22811 install-info) \
22812 || exit 1
22814 @endif target-newlib
22816 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22817 maybe-installcheck-target-newlib:
22818 @if target-newlib
22819 maybe-installcheck-target-newlib: installcheck-target-newlib
22821 installcheck-target-newlib: \
22822 configure-target-newlib
22823 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22824 r=`${PWD_COMMAND}`; export r; \
22825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22826 $(SET_LIB_PATH) \
22827 $(NORMAL_TARGET_EXPORTS) \
22828 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22829 for flag in $(EXTRA_TARGET_FLAGS); do \
22830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22831 done; \
22832 (cd $(TARGET_SUBDIR)/newlib && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835 "RANLIB=$${RANLIB}" \
22836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837 installcheck) \
22838 || exit 1
22840 @endif target-newlib
22842 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22843 maybe-mostlyclean-target-newlib:
22844 @if target-newlib
22845 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22847 mostlyclean-target-newlib:
22848 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22849 r=`${PWD_COMMAND}`; export r; \
22850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22851 $(SET_LIB_PATH) \
22852 $(NORMAL_TARGET_EXPORTS) \
22853 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22854 for flag in $(EXTRA_TARGET_FLAGS); do \
22855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 done; \
22857 (cd $(TARGET_SUBDIR)/newlib && \
22858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22860 "RANLIB=$${RANLIB}" \
22861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22862 mostlyclean) \
22863 || exit 1
22865 @endif target-newlib
22867 .PHONY: maybe-clean-target-newlib clean-target-newlib
22868 maybe-clean-target-newlib:
22869 @if target-newlib
22870 maybe-clean-target-newlib: clean-target-newlib
22872 clean-target-newlib:
22873 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22874 r=`${PWD_COMMAND}`; export r; \
22875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 $(SET_LIB_PATH) \
22877 $(NORMAL_TARGET_EXPORTS) \
22878 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22879 for flag in $(EXTRA_TARGET_FLAGS); do \
22880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22881 done; \
22882 (cd $(TARGET_SUBDIR)/newlib && \
22883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22885 "RANLIB=$${RANLIB}" \
22886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22887 clean) \
22888 || exit 1
22890 @endif target-newlib
22892 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22893 maybe-distclean-target-newlib:
22894 @if target-newlib
22895 maybe-distclean-target-newlib: distclean-target-newlib
22897 distclean-target-newlib:
22898 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(SET_LIB_PATH) \
22902 $(NORMAL_TARGET_EXPORTS) \
22903 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22904 for flag in $(EXTRA_TARGET_FLAGS); do \
22905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22906 done; \
22907 (cd $(TARGET_SUBDIR)/newlib && \
22908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22910 "RANLIB=$${RANLIB}" \
22911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22912 distclean) \
22913 || exit 1
22915 @endif target-newlib
22917 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22918 maybe-maintainer-clean-target-newlib:
22919 @if target-newlib
22920 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22922 maintainer-clean-target-newlib:
22923 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22924 r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(SET_LIB_PATH) \
22927 $(NORMAL_TARGET_EXPORTS) \
22928 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22929 for flag in $(EXTRA_TARGET_FLAGS); do \
22930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22931 done; \
22932 (cd $(TARGET_SUBDIR)/newlib && \
22933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22935 "RANLIB=$${RANLIB}" \
22936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22937 maintainer-clean) \
22938 || exit 1
22940 @endif target-newlib
22943 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
22944 maybe-configure-target-libgfortran:
22945 @if target-libgfortran
22946 maybe-configure-target-libgfortran: configure-target-libgfortran
22948 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22949 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
22950 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22951 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
22952 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
22954 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
22955 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
22956 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22957 r=`${PWD_COMMAND}`; export r; \
22958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22959 $(SET_LIB_PATH) \
22960 $(NORMAL_TARGET_EXPORTS) \
22961 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
22962 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
22963 case $(srcdir) in \
22964 /* | [A-Za-z]:[\\/]*) \
22965 topdir=$(srcdir) ;; \
22966 *) \
22967 case "$(TARGET_SUBDIR)" in \
22968 .) topdir="../$(srcdir)" ;; \
22969 *) topdir="../../$(srcdir)" ;; \
22970 esac ;; \
22971 esac; \
22972 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
22973 libsrcdir="$$s/libgfortran"; \
22974 rm -f no-such-file || : ; \
22975 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22976 $(TARGET_CONFIGARGS) $${srcdiroption} \
22977 --with-target-subdir="$(TARGET_SUBDIR)" \
22978 || exit 1
22979 @endif target-libgfortran
22981 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
22982 maybe-all-target-libgfortran:
22983 @if target-libgfortran
22984 maybe-all-target-libgfortran: all-target-libgfortran
22985 all-target-libgfortran: configure-target-libgfortran
22986 @r=`${PWD_COMMAND}`; export r; \
22987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22988 $(SET_LIB_PATH) \
22989 $(NORMAL_TARGET_EXPORTS) \
22990 (cd $(TARGET_SUBDIR)/libgfortran && \
22991 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22992 @endif target-libgfortran
22994 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
22995 maybe-check-target-libgfortran:
22996 @if target-libgfortran
22997 maybe-check-target-libgfortran: check-target-libgfortran
22999 check-target-libgfortran:
23000 @r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 $(SET_LIB_PATH) \
23003 $(NORMAL_TARGET_EXPORTS) \
23004 (cd $(TARGET_SUBDIR)/libgfortran && \
23005 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23007 @endif target-libgfortran
23009 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23010 maybe-install-target-libgfortran:
23011 @if target-libgfortran
23012 maybe-install-target-libgfortran: install-target-libgfortran
23014 install-target-libgfortran: installdirs
23015 @r=`${PWD_COMMAND}`; export r; \
23016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23017 $(SET_LIB_PATH) \
23018 $(NORMAL_TARGET_EXPORTS) \
23019 (cd $(TARGET_SUBDIR)/libgfortran && \
23020 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23022 @endif target-libgfortran
23024 # Other targets (info, dvi, etc.)
23026 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23027 maybe-info-target-libgfortran:
23028 @if target-libgfortran
23029 maybe-info-target-libgfortran: info-target-libgfortran
23031 info-target-libgfortran: \
23032 configure-target-libgfortran
23033 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23034 r=`${PWD_COMMAND}`; export r; \
23035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23036 $(SET_LIB_PATH) \
23037 $(NORMAL_TARGET_EXPORTS) \
23038 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23039 for flag in $(EXTRA_TARGET_FLAGS); do \
23040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23041 done; \
23042 (cd $(TARGET_SUBDIR)/libgfortran && \
23043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23045 "RANLIB=$${RANLIB}" \
23046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23047 info) \
23048 || exit 1
23050 @endif target-libgfortran
23052 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23053 maybe-dvi-target-libgfortran:
23054 @if target-libgfortran
23055 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23057 dvi-target-libgfortran: \
23058 configure-target-libgfortran
23059 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23060 r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 $(SET_LIB_PATH) \
23063 $(NORMAL_TARGET_EXPORTS) \
23064 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23065 for flag in $(EXTRA_TARGET_FLAGS); do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067 done; \
23068 (cd $(TARGET_SUBDIR)/libgfortran && \
23069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23071 "RANLIB=$${RANLIB}" \
23072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23073 dvi) \
23074 || exit 1
23076 @endif target-libgfortran
23078 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23079 maybe-TAGS-target-libgfortran:
23080 @if target-libgfortran
23081 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23083 TAGS-target-libgfortran: \
23084 configure-target-libgfortran
23085 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23088 $(SET_LIB_PATH) \
23089 $(NORMAL_TARGET_EXPORTS) \
23090 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23091 for flag in $(EXTRA_TARGET_FLAGS); do \
23092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23093 done; \
23094 (cd $(TARGET_SUBDIR)/libgfortran && \
23095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23097 "RANLIB=$${RANLIB}" \
23098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23099 TAGS) \
23100 || exit 1
23102 @endif target-libgfortran
23104 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23105 maybe-install-info-target-libgfortran:
23106 @if target-libgfortran
23107 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23109 install-info-target-libgfortran: \
23110 configure-target-libgfortran \
23111 info-target-libgfortran
23112 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23113 r=`${PWD_COMMAND}`; export r; \
23114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23115 $(SET_LIB_PATH) \
23116 $(NORMAL_TARGET_EXPORTS) \
23117 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23118 for flag in $(EXTRA_TARGET_FLAGS); do \
23119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23120 done; \
23121 (cd $(TARGET_SUBDIR)/libgfortran && \
23122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23124 "RANLIB=$${RANLIB}" \
23125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23126 install-info) \
23127 || exit 1
23129 @endif target-libgfortran
23131 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23132 maybe-installcheck-target-libgfortran:
23133 @if target-libgfortran
23134 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23136 installcheck-target-libgfortran: \
23137 configure-target-libgfortran
23138 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23139 r=`${PWD_COMMAND}`; export r; \
23140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23141 $(SET_LIB_PATH) \
23142 $(NORMAL_TARGET_EXPORTS) \
23143 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23144 for flag in $(EXTRA_TARGET_FLAGS); do \
23145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23146 done; \
23147 (cd $(TARGET_SUBDIR)/libgfortran && \
23148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23150 "RANLIB=$${RANLIB}" \
23151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23152 installcheck) \
23153 || exit 1
23155 @endif target-libgfortran
23157 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23158 maybe-mostlyclean-target-libgfortran:
23159 @if target-libgfortran
23160 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23162 mostlyclean-target-libgfortran:
23163 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23164 r=`${PWD_COMMAND}`; export r; \
23165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(SET_LIB_PATH) \
23167 $(NORMAL_TARGET_EXPORTS) \
23168 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23169 for flag in $(EXTRA_TARGET_FLAGS); do \
23170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23171 done; \
23172 (cd $(TARGET_SUBDIR)/libgfortran && \
23173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23175 "RANLIB=$${RANLIB}" \
23176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23177 mostlyclean) \
23178 || exit 1
23180 @endif target-libgfortran
23182 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23183 maybe-clean-target-libgfortran:
23184 @if target-libgfortran
23185 maybe-clean-target-libgfortran: clean-target-libgfortran
23187 clean-target-libgfortran:
23188 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23189 r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191 $(SET_LIB_PATH) \
23192 $(NORMAL_TARGET_EXPORTS) \
23193 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23194 for flag in $(EXTRA_TARGET_FLAGS); do \
23195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23196 done; \
23197 (cd $(TARGET_SUBDIR)/libgfortran && \
23198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23200 "RANLIB=$${RANLIB}" \
23201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23202 clean) \
23203 || exit 1
23205 @endif target-libgfortran
23207 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23208 maybe-distclean-target-libgfortran:
23209 @if target-libgfortran
23210 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23212 distclean-target-libgfortran:
23213 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23214 r=`${PWD_COMMAND}`; export r; \
23215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 $(SET_LIB_PATH) \
23217 $(NORMAL_TARGET_EXPORTS) \
23218 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23219 for flag in $(EXTRA_TARGET_FLAGS); do \
23220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23221 done; \
23222 (cd $(TARGET_SUBDIR)/libgfortran && \
23223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23225 "RANLIB=$${RANLIB}" \
23226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23227 distclean) \
23228 || exit 1
23230 @endif target-libgfortran
23232 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23233 maybe-maintainer-clean-target-libgfortran:
23234 @if target-libgfortran
23235 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23237 maintainer-clean-target-libgfortran:
23238 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23239 r=`${PWD_COMMAND}`; export r; \
23240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23241 $(SET_LIB_PATH) \
23242 $(NORMAL_TARGET_EXPORTS) \
23243 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23244 for flag in $(EXTRA_TARGET_FLAGS); do \
23245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 done; \
23247 (cd $(TARGET_SUBDIR)/libgfortran && \
23248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23250 "RANLIB=$${RANLIB}" \
23251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23252 maintainer-clean) \
23253 || exit 1
23255 @endif target-libgfortran
23258 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23259 maybe-configure-target-libobjc:
23260 @if target-libobjc
23261 maybe-configure-target-libobjc: configure-target-libobjc
23263 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23264 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23266 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23267 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23269 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23270 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23272 r=`${PWD_COMMAND}`; export r; \
23273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23274 $(SET_LIB_PATH) \
23275 $(NORMAL_TARGET_EXPORTS) \
23276 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23277 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23278 case $(srcdir) in \
23279 /* | [A-Za-z]:[\\/]*) \
23280 topdir=$(srcdir) ;; \
23281 *) \
23282 case "$(TARGET_SUBDIR)" in \
23283 .) topdir="../$(srcdir)" ;; \
23284 *) topdir="../../$(srcdir)" ;; \
23285 esac ;; \
23286 esac; \
23287 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23288 libsrcdir="$$s/libobjc"; \
23289 rm -f no-such-file || : ; \
23290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23291 $(TARGET_CONFIGARGS) $${srcdiroption} \
23292 --with-target-subdir="$(TARGET_SUBDIR)" \
23293 || exit 1
23294 @endif target-libobjc
23296 .PHONY: all-target-libobjc maybe-all-target-libobjc
23297 maybe-all-target-libobjc:
23298 @if target-libobjc
23299 maybe-all-target-libobjc: all-target-libobjc
23300 all-target-libobjc: configure-target-libobjc
23301 @r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 $(SET_LIB_PATH) \
23304 $(NORMAL_TARGET_EXPORTS) \
23305 (cd $(TARGET_SUBDIR)/libobjc && \
23306 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23307 @endif target-libobjc
23309 .PHONY: check-target-libobjc maybe-check-target-libobjc
23310 maybe-check-target-libobjc:
23311 @if target-libobjc
23312 maybe-check-target-libobjc: check-target-libobjc
23314 check-target-libobjc:
23315 @r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(SET_LIB_PATH) \
23318 $(NORMAL_TARGET_EXPORTS) \
23319 (cd $(TARGET_SUBDIR)/libobjc && \
23320 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23322 @endif target-libobjc
23324 .PHONY: install-target-libobjc maybe-install-target-libobjc
23325 maybe-install-target-libobjc:
23326 @if target-libobjc
23327 maybe-install-target-libobjc: install-target-libobjc
23329 install-target-libobjc: installdirs
23330 @r=`${PWD_COMMAND}`; export r; \
23331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23332 $(SET_LIB_PATH) \
23333 $(NORMAL_TARGET_EXPORTS) \
23334 (cd $(TARGET_SUBDIR)/libobjc && \
23335 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23337 @endif target-libobjc
23339 # Other targets (info, dvi, etc.)
23341 .PHONY: maybe-info-target-libobjc info-target-libobjc
23342 maybe-info-target-libobjc:
23343 @if target-libobjc
23344 maybe-info-target-libobjc: info-target-libobjc
23346 info-target-libobjc: \
23347 configure-target-libobjc
23348 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23349 r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23351 $(SET_LIB_PATH) \
23352 $(NORMAL_TARGET_EXPORTS) \
23353 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23354 for flag in $(EXTRA_TARGET_FLAGS); do \
23355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23356 done; \
23357 (cd $(TARGET_SUBDIR)/libobjc && \
23358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23360 "RANLIB=$${RANLIB}" \
23361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23362 info) \
23363 || exit 1
23365 @endif target-libobjc
23367 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23368 maybe-dvi-target-libobjc:
23369 @if target-libobjc
23370 maybe-dvi-target-libobjc: dvi-target-libobjc
23372 dvi-target-libobjc: \
23373 configure-target-libobjc
23374 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23375 r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23377 $(SET_LIB_PATH) \
23378 $(NORMAL_TARGET_EXPORTS) \
23379 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23380 for flag in $(EXTRA_TARGET_FLAGS); do \
23381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23382 done; \
23383 (cd $(TARGET_SUBDIR)/libobjc && \
23384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23386 "RANLIB=$${RANLIB}" \
23387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23388 dvi) \
23389 || exit 1
23391 @endif target-libobjc
23393 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23394 maybe-TAGS-target-libobjc:
23395 @if target-libobjc
23396 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23398 TAGS-target-libobjc: \
23399 configure-target-libobjc
23400 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23401 r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 $(SET_LIB_PATH) \
23404 $(NORMAL_TARGET_EXPORTS) \
23405 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23406 for flag in $(EXTRA_TARGET_FLAGS); do \
23407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23408 done; \
23409 (cd $(TARGET_SUBDIR)/libobjc && \
23410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23412 "RANLIB=$${RANLIB}" \
23413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23414 TAGS) \
23415 || exit 1
23417 @endif target-libobjc
23419 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23420 maybe-install-info-target-libobjc:
23421 @if target-libobjc
23422 maybe-install-info-target-libobjc: install-info-target-libobjc
23424 install-info-target-libobjc: \
23425 configure-target-libobjc \
23426 info-target-libobjc
23427 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23428 r=`${PWD_COMMAND}`; export r; \
23429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23430 $(SET_LIB_PATH) \
23431 $(NORMAL_TARGET_EXPORTS) \
23432 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23433 for flag in $(EXTRA_TARGET_FLAGS); do \
23434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23435 done; \
23436 (cd $(TARGET_SUBDIR)/libobjc && \
23437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23439 "RANLIB=$${RANLIB}" \
23440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23441 install-info) \
23442 || exit 1
23444 @endif target-libobjc
23446 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23447 maybe-installcheck-target-libobjc:
23448 @if target-libobjc
23449 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23451 installcheck-target-libobjc: \
23452 configure-target-libobjc
23453 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23454 r=`${PWD_COMMAND}`; export r; \
23455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23456 $(SET_LIB_PATH) \
23457 $(NORMAL_TARGET_EXPORTS) \
23458 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23459 for flag in $(EXTRA_TARGET_FLAGS); do \
23460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23461 done; \
23462 (cd $(TARGET_SUBDIR)/libobjc && \
23463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23465 "RANLIB=$${RANLIB}" \
23466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23467 installcheck) \
23468 || exit 1
23470 @endif target-libobjc
23472 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23473 maybe-mostlyclean-target-libobjc:
23474 @if target-libobjc
23475 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23477 mostlyclean-target-libobjc:
23478 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23479 r=`${PWD_COMMAND}`; export r; \
23480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 $(SET_LIB_PATH) \
23482 $(NORMAL_TARGET_EXPORTS) \
23483 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23484 for flag in $(EXTRA_TARGET_FLAGS); do \
23485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23486 done; \
23487 (cd $(TARGET_SUBDIR)/libobjc && \
23488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23490 "RANLIB=$${RANLIB}" \
23491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23492 mostlyclean) \
23493 || exit 1
23495 @endif target-libobjc
23497 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23498 maybe-clean-target-libobjc:
23499 @if target-libobjc
23500 maybe-clean-target-libobjc: clean-target-libobjc
23502 clean-target-libobjc:
23503 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23504 r=`${PWD_COMMAND}`; export r; \
23505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23506 $(SET_LIB_PATH) \
23507 $(NORMAL_TARGET_EXPORTS) \
23508 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23509 for flag in $(EXTRA_TARGET_FLAGS); do \
23510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23511 done; \
23512 (cd $(TARGET_SUBDIR)/libobjc && \
23513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23515 "RANLIB=$${RANLIB}" \
23516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23517 clean) \
23518 || exit 1
23520 @endif target-libobjc
23522 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23523 maybe-distclean-target-libobjc:
23524 @if target-libobjc
23525 maybe-distclean-target-libobjc: distclean-target-libobjc
23527 distclean-target-libobjc:
23528 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23529 r=`${PWD_COMMAND}`; export r; \
23530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23531 $(SET_LIB_PATH) \
23532 $(NORMAL_TARGET_EXPORTS) \
23533 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23534 for flag in $(EXTRA_TARGET_FLAGS); do \
23535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23536 done; \
23537 (cd $(TARGET_SUBDIR)/libobjc && \
23538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23540 "RANLIB=$${RANLIB}" \
23541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23542 distclean) \
23543 || exit 1
23545 @endif target-libobjc
23547 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23548 maybe-maintainer-clean-target-libobjc:
23549 @if target-libobjc
23550 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23552 maintainer-clean-target-libobjc:
23553 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23554 r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(SET_LIB_PATH) \
23557 $(NORMAL_TARGET_EXPORTS) \
23558 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23559 for flag in $(EXTRA_TARGET_FLAGS); do \
23560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 done; \
23562 (cd $(TARGET_SUBDIR)/libobjc && \
23563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23565 "RANLIB=$${RANLIB}" \
23566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23567 maintainer-clean) \
23568 || exit 1
23570 @endif target-libobjc
23573 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23574 maybe-configure-target-libtermcap:
23575 @if target-libtermcap
23576 maybe-configure-target-libtermcap: configure-target-libtermcap
23578 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23579 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23580 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23581 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23582 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23584 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23585 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23586 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23587 r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589 $(SET_LIB_PATH) \
23590 $(NORMAL_TARGET_EXPORTS) \
23591 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23592 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23593 case $(srcdir) in \
23594 /* | [A-Za-z]:[\\/]*) \
23595 topdir=$(srcdir) ;; \
23596 *) \
23597 case "$(TARGET_SUBDIR)" in \
23598 .) topdir="../$(srcdir)" ;; \
23599 *) topdir="../../$(srcdir)" ;; \
23600 esac ;; \
23601 esac; \
23602 if [ "$(srcdir)" = "." ] ; then \
23603 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23604 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23605 if [ -f Makefile ]; then \
23606 if $(MAKE) distclean; then \
23607 true; \
23608 else \
23609 exit 1; \
23610 fi; \
23611 else \
23612 true; \
23613 fi; \
23614 else \
23615 exit 1; \
23616 fi; \
23617 else \
23618 true; \
23619 fi; \
23620 srcdiroption="--srcdir=."; \
23621 libsrcdir="."; \
23622 else \
23623 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23624 libsrcdir="$$s/libtermcap"; \
23625 fi; \
23626 rm -f no-such-file || : ; \
23627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23628 $(TARGET_CONFIGARGS) $${srcdiroption} \
23629 --with-target-subdir="$(TARGET_SUBDIR)" \
23630 || exit 1
23631 @endif target-libtermcap
23633 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23634 maybe-all-target-libtermcap:
23635 @if target-libtermcap
23636 maybe-all-target-libtermcap: all-target-libtermcap
23637 all-target-libtermcap: configure-target-libtermcap
23638 @r=`${PWD_COMMAND}`; export r; \
23639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23640 $(SET_LIB_PATH) \
23641 $(NORMAL_TARGET_EXPORTS) \
23642 (cd $(TARGET_SUBDIR)/libtermcap && \
23643 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23644 @endif target-libtermcap
23646 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23647 maybe-check-target-libtermcap:
23648 @if target-libtermcap
23649 maybe-check-target-libtermcap: check-target-libtermcap
23651 # Dummy target for uncheckable module.
23652 check-target-libtermcap:
23654 @endif target-libtermcap
23656 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23657 maybe-install-target-libtermcap:
23658 @if target-libtermcap
23659 maybe-install-target-libtermcap: install-target-libtermcap
23661 install-target-libtermcap: installdirs
23662 @r=`${PWD_COMMAND}`; export r; \
23663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 $(SET_LIB_PATH) \
23665 $(NORMAL_TARGET_EXPORTS) \
23666 (cd $(TARGET_SUBDIR)/libtermcap && \
23667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23669 @endif target-libtermcap
23671 # Other targets (info, dvi, etc.)
23673 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23674 maybe-info-target-libtermcap:
23675 @if target-libtermcap
23676 maybe-info-target-libtermcap: info-target-libtermcap
23678 info-target-libtermcap: \
23679 configure-target-libtermcap
23680 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 $(SET_LIB_PATH) \
23684 $(NORMAL_TARGET_EXPORTS) \
23685 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23686 for flag in $(EXTRA_TARGET_FLAGS); do \
23687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23688 done; \
23689 (cd $(TARGET_SUBDIR)/libtermcap && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23694 info) \
23695 || exit 1
23697 @endif target-libtermcap
23699 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23700 maybe-dvi-target-libtermcap:
23701 @if target-libtermcap
23702 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23704 dvi-target-libtermcap: \
23705 configure-target-libtermcap
23706 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23707 r=`${PWD_COMMAND}`; export r; \
23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 $(SET_LIB_PATH) \
23710 $(NORMAL_TARGET_EXPORTS) \
23711 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23712 for flag in $(EXTRA_TARGET_FLAGS); do \
23713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23714 done; \
23715 (cd $(TARGET_SUBDIR)/libtermcap && \
23716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23718 "RANLIB=$${RANLIB}" \
23719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23720 dvi) \
23721 || exit 1
23723 @endif target-libtermcap
23725 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23726 maybe-TAGS-target-libtermcap:
23727 @if target-libtermcap
23728 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23730 TAGS-target-libtermcap: \
23731 configure-target-libtermcap
23732 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23733 r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 $(SET_LIB_PATH) \
23736 $(NORMAL_TARGET_EXPORTS) \
23737 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23738 for flag in $(EXTRA_TARGET_FLAGS); do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23740 done; \
23741 (cd $(TARGET_SUBDIR)/libtermcap && \
23742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23744 "RANLIB=$${RANLIB}" \
23745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23746 TAGS) \
23747 || exit 1
23749 @endif target-libtermcap
23751 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23752 maybe-install-info-target-libtermcap:
23753 @if target-libtermcap
23754 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23756 install-info-target-libtermcap: \
23757 configure-target-libtermcap \
23758 info-target-libtermcap
23759 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23760 r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23762 $(SET_LIB_PATH) \
23763 $(NORMAL_TARGET_EXPORTS) \
23764 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23765 for flag in $(EXTRA_TARGET_FLAGS); do \
23766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23767 done; \
23768 (cd $(TARGET_SUBDIR)/libtermcap && \
23769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23771 "RANLIB=$${RANLIB}" \
23772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23773 install-info) \
23774 || exit 1
23776 @endif target-libtermcap
23778 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23779 maybe-installcheck-target-libtermcap:
23780 @if target-libtermcap
23781 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23783 installcheck-target-libtermcap: \
23784 configure-target-libtermcap
23785 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23786 r=`${PWD_COMMAND}`; export r; \
23787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 $(SET_LIB_PATH) \
23789 $(NORMAL_TARGET_EXPORTS) \
23790 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23791 for flag in $(EXTRA_TARGET_FLAGS); do \
23792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23793 done; \
23794 (cd $(TARGET_SUBDIR)/libtermcap && \
23795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23797 "RANLIB=$${RANLIB}" \
23798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23799 installcheck) \
23800 || exit 1
23802 @endif target-libtermcap
23804 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23805 maybe-mostlyclean-target-libtermcap:
23806 @if target-libtermcap
23807 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23809 # libtermcap doesn't support mostlyclean.
23810 mostlyclean-target-libtermcap:
23812 @endif target-libtermcap
23814 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23815 maybe-clean-target-libtermcap:
23816 @if target-libtermcap
23817 maybe-clean-target-libtermcap: clean-target-libtermcap
23819 # libtermcap doesn't support clean.
23820 clean-target-libtermcap:
23822 @endif target-libtermcap
23824 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23825 maybe-distclean-target-libtermcap:
23826 @if target-libtermcap
23827 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23829 # libtermcap doesn't support distclean.
23830 distclean-target-libtermcap:
23832 @endif target-libtermcap
23834 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23835 maybe-maintainer-clean-target-libtermcap:
23836 @if target-libtermcap
23837 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23839 # libtermcap doesn't support maintainer-clean.
23840 maintainer-clean-target-libtermcap:
23842 @endif target-libtermcap
23845 .PHONY: configure-target-winsup maybe-configure-target-winsup
23846 maybe-configure-target-winsup:
23847 @if target-winsup
23848 maybe-configure-target-winsup: configure-target-winsup
23850 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23851 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23853 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23854 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23856 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23857 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23858 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23859 r=`${PWD_COMMAND}`; export r; \
23860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23861 $(SET_LIB_PATH) \
23862 $(NORMAL_TARGET_EXPORTS) \
23863 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23864 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23865 case $(srcdir) in \
23866 /* | [A-Za-z]:[\\/]*) \
23867 topdir=$(srcdir) ;; \
23868 *) \
23869 case "$(TARGET_SUBDIR)" in \
23870 .) topdir="../$(srcdir)" ;; \
23871 *) topdir="../../$(srcdir)" ;; \
23872 esac ;; \
23873 esac; \
23874 srcdiroption="--srcdir=$${topdir}/winsup"; \
23875 libsrcdir="$$s/winsup"; \
23876 rm -f no-such-file || : ; \
23877 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23878 $(TARGET_CONFIGARGS) $${srcdiroption} \
23879 --with-target-subdir="$(TARGET_SUBDIR)" \
23880 || exit 1
23881 @endif target-winsup
23883 .PHONY: all-target-winsup maybe-all-target-winsup
23884 maybe-all-target-winsup:
23885 @if target-winsup
23886 maybe-all-target-winsup: all-target-winsup
23887 all-target-winsup: configure-target-winsup
23888 @r=`${PWD_COMMAND}`; export r; \
23889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23890 $(SET_LIB_PATH) \
23891 $(NORMAL_TARGET_EXPORTS) \
23892 (cd $(TARGET_SUBDIR)/winsup && \
23893 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23894 @endif target-winsup
23896 .PHONY: check-target-winsup maybe-check-target-winsup
23897 maybe-check-target-winsup:
23898 @if target-winsup
23899 maybe-check-target-winsup: check-target-winsup
23901 check-target-winsup:
23902 @r=`${PWD_COMMAND}`; export r; \
23903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23904 $(SET_LIB_PATH) \
23905 $(NORMAL_TARGET_EXPORTS) \
23906 (cd $(TARGET_SUBDIR)/winsup && \
23907 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23909 @endif target-winsup
23911 .PHONY: install-target-winsup maybe-install-target-winsup
23912 maybe-install-target-winsup:
23913 @if target-winsup
23914 maybe-install-target-winsup: install-target-winsup
23916 install-target-winsup: installdirs
23917 @r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(SET_LIB_PATH) \
23920 $(NORMAL_TARGET_EXPORTS) \
23921 (cd $(TARGET_SUBDIR)/winsup && \
23922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23924 @endif target-winsup
23926 # Other targets (info, dvi, etc.)
23928 .PHONY: maybe-info-target-winsup info-target-winsup
23929 maybe-info-target-winsup:
23930 @if target-winsup
23931 maybe-info-target-winsup: info-target-winsup
23933 info-target-winsup: \
23934 configure-target-winsup
23935 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(SET_LIB_PATH) \
23939 $(NORMAL_TARGET_EXPORTS) \
23940 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
23941 for flag in $(EXTRA_TARGET_FLAGS); do \
23942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23943 done; \
23944 (cd $(TARGET_SUBDIR)/winsup && \
23945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23947 "RANLIB=$${RANLIB}" \
23948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23949 info) \
23950 || exit 1
23952 @endif target-winsup
23954 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
23955 maybe-dvi-target-winsup:
23956 @if target-winsup
23957 maybe-dvi-target-winsup: dvi-target-winsup
23959 dvi-target-winsup: \
23960 configure-target-winsup
23961 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23962 r=`${PWD_COMMAND}`; export r; \
23963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23964 $(SET_LIB_PATH) \
23965 $(NORMAL_TARGET_EXPORTS) \
23966 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
23967 for flag in $(EXTRA_TARGET_FLAGS); do \
23968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23969 done; \
23970 (cd $(TARGET_SUBDIR)/winsup && \
23971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23973 "RANLIB=$${RANLIB}" \
23974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23975 dvi) \
23976 || exit 1
23978 @endif target-winsup
23980 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
23981 maybe-TAGS-target-winsup:
23982 @if target-winsup
23983 maybe-TAGS-target-winsup: TAGS-target-winsup
23985 TAGS-target-winsup: \
23986 configure-target-winsup
23987 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23988 r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 $(SET_LIB_PATH) \
23991 $(NORMAL_TARGET_EXPORTS) \
23992 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
23993 for flag in $(EXTRA_TARGET_FLAGS); do \
23994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23995 done; \
23996 (cd $(TARGET_SUBDIR)/winsup && \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24001 TAGS) \
24002 || exit 1
24004 @endif target-winsup
24006 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24007 maybe-install-info-target-winsup:
24008 @if target-winsup
24009 maybe-install-info-target-winsup: install-info-target-winsup
24011 install-info-target-winsup: \
24012 configure-target-winsup \
24013 info-target-winsup
24014 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(SET_LIB_PATH) \
24018 $(NORMAL_TARGET_EXPORTS) \
24019 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24020 for flag in $(EXTRA_TARGET_FLAGS); do \
24021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24022 done; \
24023 (cd $(TARGET_SUBDIR)/winsup && \
24024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24026 "RANLIB=$${RANLIB}" \
24027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24028 install-info) \
24029 || exit 1
24031 @endif target-winsup
24033 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24034 maybe-installcheck-target-winsup:
24035 @if target-winsup
24036 maybe-installcheck-target-winsup: installcheck-target-winsup
24038 installcheck-target-winsup: \
24039 configure-target-winsup
24040 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(SET_LIB_PATH) \
24044 $(NORMAL_TARGET_EXPORTS) \
24045 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24046 for flag in $(EXTRA_TARGET_FLAGS); do \
24047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24048 done; \
24049 (cd $(TARGET_SUBDIR)/winsup && \
24050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24052 "RANLIB=$${RANLIB}" \
24053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24054 installcheck) \
24055 || exit 1
24057 @endif target-winsup
24059 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24060 maybe-mostlyclean-target-winsup:
24061 @if target-winsup
24062 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24064 mostlyclean-target-winsup:
24065 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24066 r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24068 $(SET_LIB_PATH) \
24069 $(NORMAL_TARGET_EXPORTS) \
24070 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24071 for flag in $(EXTRA_TARGET_FLAGS); do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 done; \
24074 (cd $(TARGET_SUBDIR)/winsup && \
24075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24077 "RANLIB=$${RANLIB}" \
24078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24079 mostlyclean) \
24080 || exit 1
24082 @endif target-winsup
24084 .PHONY: maybe-clean-target-winsup clean-target-winsup
24085 maybe-clean-target-winsup:
24086 @if target-winsup
24087 maybe-clean-target-winsup: clean-target-winsup
24089 clean-target-winsup:
24090 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24091 r=`${PWD_COMMAND}`; export r; \
24092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24093 $(SET_LIB_PATH) \
24094 $(NORMAL_TARGET_EXPORTS) \
24095 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24096 for flag in $(EXTRA_TARGET_FLAGS); do \
24097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24098 done; \
24099 (cd $(TARGET_SUBDIR)/winsup && \
24100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24102 "RANLIB=$${RANLIB}" \
24103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24104 clean) \
24105 || exit 1
24107 @endif target-winsup
24109 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24110 maybe-distclean-target-winsup:
24111 @if target-winsup
24112 maybe-distclean-target-winsup: distclean-target-winsup
24114 distclean-target-winsup:
24115 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24116 r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 $(SET_LIB_PATH) \
24119 $(NORMAL_TARGET_EXPORTS) \
24120 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24121 for flag in $(EXTRA_TARGET_FLAGS); do \
24122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24123 done; \
24124 (cd $(TARGET_SUBDIR)/winsup && \
24125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24127 "RANLIB=$${RANLIB}" \
24128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24129 distclean) \
24130 || exit 1
24132 @endif target-winsup
24134 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24135 maybe-maintainer-clean-target-winsup:
24136 @if target-winsup
24137 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24139 maintainer-clean-target-winsup:
24140 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24141 r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(SET_LIB_PATH) \
24144 $(NORMAL_TARGET_EXPORTS) \
24145 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24146 for flag in $(EXTRA_TARGET_FLAGS); do \
24147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24148 done; \
24149 (cd $(TARGET_SUBDIR)/winsup && \
24150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24152 "RANLIB=$${RANLIB}" \
24153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24154 maintainer-clean) \
24155 || exit 1
24157 @endif target-winsup
24160 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24161 maybe-configure-target-libgloss:
24162 @if target-libgloss
24163 maybe-configure-target-libgloss: configure-target-libgloss
24165 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24166 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24167 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24168 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24169 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24171 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24172 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24173 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24174 r=`${PWD_COMMAND}`; export r; \
24175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24176 $(SET_LIB_PATH) \
24177 $(NORMAL_TARGET_EXPORTS) \
24178 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24179 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24180 case $(srcdir) in \
24181 /* | [A-Za-z]:[\\/]*) \
24182 topdir=$(srcdir) ;; \
24183 *) \
24184 case "$(TARGET_SUBDIR)" in \
24185 .) topdir="../$(srcdir)" ;; \
24186 *) topdir="../../$(srcdir)" ;; \
24187 esac ;; \
24188 esac; \
24189 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24190 libsrcdir="$$s/libgloss"; \
24191 rm -f no-such-file || : ; \
24192 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24193 $(TARGET_CONFIGARGS) $${srcdiroption} \
24194 --with-target-subdir="$(TARGET_SUBDIR)" \
24195 || exit 1
24196 @endif target-libgloss
24198 .PHONY: all-target-libgloss maybe-all-target-libgloss
24199 maybe-all-target-libgloss:
24200 @if target-libgloss
24201 maybe-all-target-libgloss: all-target-libgloss
24202 all-target-libgloss: configure-target-libgloss
24203 @r=`${PWD_COMMAND}`; export r; \
24204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24205 $(SET_LIB_PATH) \
24206 $(NORMAL_TARGET_EXPORTS) \
24207 (cd $(TARGET_SUBDIR)/libgloss && \
24208 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24209 @endif target-libgloss
24211 .PHONY: check-target-libgloss maybe-check-target-libgloss
24212 maybe-check-target-libgloss:
24213 @if target-libgloss
24214 maybe-check-target-libgloss: check-target-libgloss
24216 # Dummy target for uncheckable module.
24217 check-target-libgloss:
24219 @endif target-libgloss
24221 .PHONY: install-target-libgloss maybe-install-target-libgloss
24222 maybe-install-target-libgloss:
24223 @if target-libgloss
24224 maybe-install-target-libgloss: install-target-libgloss
24226 install-target-libgloss: installdirs
24227 @r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(SET_LIB_PATH) \
24230 $(NORMAL_TARGET_EXPORTS) \
24231 (cd $(TARGET_SUBDIR)/libgloss && \
24232 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24234 @endif target-libgloss
24236 # Other targets (info, dvi, etc.)
24238 .PHONY: maybe-info-target-libgloss info-target-libgloss
24239 maybe-info-target-libgloss:
24240 @if target-libgloss
24241 maybe-info-target-libgloss: info-target-libgloss
24243 info-target-libgloss: \
24244 configure-target-libgloss
24245 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24246 r=`${PWD_COMMAND}`; export r; \
24247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24248 $(SET_LIB_PATH) \
24249 $(NORMAL_TARGET_EXPORTS) \
24250 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24251 for flag in $(EXTRA_TARGET_FLAGS); do \
24252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 done; \
24254 (cd $(TARGET_SUBDIR)/libgloss && \
24255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24257 "RANLIB=$${RANLIB}" \
24258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24259 info) \
24260 || exit 1
24262 @endif target-libgloss
24264 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24265 maybe-dvi-target-libgloss:
24266 @if target-libgloss
24267 maybe-dvi-target-libgloss: dvi-target-libgloss
24269 dvi-target-libgloss: \
24270 configure-target-libgloss
24271 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24272 r=`${PWD_COMMAND}`; export r; \
24273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24274 $(SET_LIB_PATH) \
24275 $(NORMAL_TARGET_EXPORTS) \
24276 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24277 for flag in $(EXTRA_TARGET_FLAGS); do \
24278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24279 done; \
24280 (cd $(TARGET_SUBDIR)/libgloss && \
24281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24283 "RANLIB=$${RANLIB}" \
24284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24285 dvi) \
24286 || exit 1
24288 @endif target-libgloss
24290 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24291 maybe-TAGS-target-libgloss:
24292 @if target-libgloss
24293 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24295 TAGS-target-libgloss: \
24296 configure-target-libgloss
24297 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24298 r=`${PWD_COMMAND}`; export r; \
24299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24300 $(SET_LIB_PATH) \
24301 $(NORMAL_TARGET_EXPORTS) \
24302 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24303 for flag in $(EXTRA_TARGET_FLAGS); do \
24304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24305 done; \
24306 (cd $(TARGET_SUBDIR)/libgloss && \
24307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24309 "RANLIB=$${RANLIB}" \
24310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24311 TAGS) \
24312 || exit 1
24314 @endif target-libgloss
24316 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24317 maybe-install-info-target-libgloss:
24318 @if target-libgloss
24319 maybe-install-info-target-libgloss: install-info-target-libgloss
24321 install-info-target-libgloss: \
24322 configure-target-libgloss \
24323 info-target-libgloss
24324 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24325 r=`${PWD_COMMAND}`; export r; \
24326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24327 $(SET_LIB_PATH) \
24328 $(NORMAL_TARGET_EXPORTS) \
24329 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24330 for flag in $(EXTRA_TARGET_FLAGS); do \
24331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24332 done; \
24333 (cd $(TARGET_SUBDIR)/libgloss && \
24334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24336 "RANLIB=$${RANLIB}" \
24337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24338 install-info) \
24339 || exit 1
24341 @endif target-libgloss
24343 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24344 maybe-installcheck-target-libgloss:
24345 @if target-libgloss
24346 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24348 installcheck-target-libgloss: \
24349 configure-target-libgloss
24350 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24351 r=`${PWD_COMMAND}`; export r; \
24352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24353 $(SET_LIB_PATH) \
24354 $(NORMAL_TARGET_EXPORTS) \
24355 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24356 for flag in $(EXTRA_TARGET_FLAGS); do \
24357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24358 done; \
24359 (cd $(TARGET_SUBDIR)/libgloss && \
24360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24362 "RANLIB=$${RANLIB}" \
24363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24364 installcheck) \
24365 || exit 1
24367 @endif target-libgloss
24369 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24370 maybe-mostlyclean-target-libgloss:
24371 @if target-libgloss
24372 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24374 mostlyclean-target-libgloss:
24375 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24376 r=`${PWD_COMMAND}`; export r; \
24377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24378 $(SET_LIB_PATH) \
24379 $(NORMAL_TARGET_EXPORTS) \
24380 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24381 for flag in $(EXTRA_TARGET_FLAGS); do \
24382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24383 done; \
24384 (cd $(TARGET_SUBDIR)/libgloss && \
24385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24387 "RANLIB=$${RANLIB}" \
24388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24389 mostlyclean) \
24390 || exit 1
24392 @endif target-libgloss
24394 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24395 maybe-clean-target-libgloss:
24396 @if target-libgloss
24397 maybe-clean-target-libgloss: clean-target-libgloss
24399 clean-target-libgloss:
24400 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24401 r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(SET_LIB_PATH) \
24404 $(NORMAL_TARGET_EXPORTS) \
24405 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24406 for flag in $(EXTRA_TARGET_FLAGS); do \
24407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24408 done; \
24409 (cd $(TARGET_SUBDIR)/libgloss && \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24412 "RANLIB=$${RANLIB}" \
24413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24414 clean) \
24415 || exit 1
24417 @endif target-libgloss
24419 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24420 maybe-distclean-target-libgloss:
24421 @if target-libgloss
24422 maybe-distclean-target-libgloss: distclean-target-libgloss
24424 distclean-target-libgloss:
24425 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24426 r=`${PWD_COMMAND}`; export r; \
24427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24428 $(SET_LIB_PATH) \
24429 $(NORMAL_TARGET_EXPORTS) \
24430 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24431 for flag in $(EXTRA_TARGET_FLAGS); do \
24432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24433 done; \
24434 (cd $(TARGET_SUBDIR)/libgloss && \
24435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24437 "RANLIB=$${RANLIB}" \
24438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24439 distclean) \
24440 || exit 1
24442 @endif target-libgloss
24444 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24445 maybe-maintainer-clean-target-libgloss:
24446 @if target-libgloss
24447 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24449 maintainer-clean-target-libgloss:
24450 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24451 r=`${PWD_COMMAND}`; export r; \
24452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24453 $(SET_LIB_PATH) \
24454 $(NORMAL_TARGET_EXPORTS) \
24455 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24456 for flag in $(EXTRA_TARGET_FLAGS); do \
24457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24458 done; \
24459 (cd $(TARGET_SUBDIR)/libgloss && \
24460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24462 "RANLIB=$${RANLIB}" \
24463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24464 maintainer-clean) \
24465 || exit 1
24467 @endif target-libgloss
24470 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24471 maybe-configure-target-libiberty:
24472 @if target-libiberty
24473 maybe-configure-target-libiberty: configure-target-libiberty
24475 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24476 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24477 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24478 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24479 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24481 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24482 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24483 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 $(SET_LIB_PATH) \
24487 $(NORMAL_TARGET_EXPORTS) \
24488 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24489 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24490 case $(srcdir) in \
24491 /* | [A-Za-z]:[\\/]*) \
24492 topdir=$(srcdir) ;; \
24493 *) \
24494 case "$(TARGET_SUBDIR)" in \
24495 .) topdir="../$(srcdir)" ;; \
24496 *) topdir="../../$(srcdir)" ;; \
24497 esac ;; \
24498 esac; \
24499 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24500 libsrcdir="$$s/libiberty"; \
24501 rm -f no-such-file || : ; \
24502 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24503 $(TARGET_CONFIGARGS) $${srcdiroption} \
24504 --with-target-subdir="$(TARGET_SUBDIR)" \
24505 || exit 1
24506 @endif target-libiberty
24508 .PHONY: all-target-libiberty maybe-all-target-libiberty
24509 maybe-all-target-libiberty:
24510 @if target-libiberty
24511 maybe-all-target-libiberty: all-target-libiberty
24512 all-target-libiberty: configure-target-libiberty
24513 @r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24515 $(SET_LIB_PATH) \
24516 $(NORMAL_TARGET_EXPORTS) \
24517 (cd $(TARGET_SUBDIR)/libiberty && \
24518 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24519 @endif target-libiberty
24521 .PHONY: check-target-libiberty maybe-check-target-libiberty
24522 maybe-check-target-libiberty:
24523 @if target-libiberty
24524 maybe-check-target-libiberty: check-target-libiberty
24526 check-target-libiberty:
24527 @r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 $(SET_LIB_PATH) \
24530 $(NORMAL_TARGET_EXPORTS) \
24531 (cd $(TARGET_SUBDIR)/libiberty && \
24532 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24534 @endif target-libiberty
24536 .PHONY: install-target-libiberty maybe-install-target-libiberty
24537 maybe-install-target-libiberty:
24538 @if target-libiberty
24539 maybe-install-target-libiberty: install-target-libiberty
24541 install-target-libiberty: installdirs
24542 @r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 $(SET_LIB_PATH) \
24545 $(NORMAL_TARGET_EXPORTS) \
24546 (cd $(TARGET_SUBDIR)/libiberty && \
24547 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24549 @endif target-libiberty
24551 # Other targets (info, dvi, etc.)
24553 .PHONY: maybe-info-target-libiberty info-target-libiberty
24554 maybe-info-target-libiberty:
24555 @if target-libiberty
24556 maybe-info-target-libiberty: info-target-libiberty
24558 info-target-libiberty: \
24559 configure-target-libiberty
24560 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24563 $(SET_LIB_PATH) \
24564 $(NORMAL_TARGET_EXPORTS) \
24565 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24566 for flag in $(EXTRA_TARGET_FLAGS); do \
24567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24568 done; \
24569 (cd $(TARGET_SUBDIR)/libiberty && \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572 "RANLIB=$${RANLIB}" \
24573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24574 info) \
24575 || exit 1
24577 @endif target-libiberty
24579 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24580 maybe-dvi-target-libiberty:
24581 @if target-libiberty
24582 maybe-dvi-target-libiberty: dvi-target-libiberty
24584 dvi-target-libiberty: \
24585 configure-target-libiberty
24586 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24587 r=`${PWD_COMMAND}`; export r; \
24588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24589 $(SET_LIB_PATH) \
24590 $(NORMAL_TARGET_EXPORTS) \
24591 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24592 for flag in $(EXTRA_TARGET_FLAGS); do \
24593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24594 done; \
24595 (cd $(TARGET_SUBDIR)/libiberty && \
24596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24598 "RANLIB=$${RANLIB}" \
24599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24600 dvi) \
24601 || exit 1
24603 @endif target-libiberty
24605 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24606 maybe-TAGS-target-libiberty:
24607 @if target-libiberty
24608 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24610 TAGS-target-libiberty: \
24611 configure-target-libiberty
24612 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24613 r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24615 $(SET_LIB_PATH) \
24616 $(NORMAL_TARGET_EXPORTS) \
24617 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24618 for flag in $(EXTRA_TARGET_FLAGS); do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24620 done; \
24621 (cd $(TARGET_SUBDIR)/libiberty && \
24622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24624 "RANLIB=$${RANLIB}" \
24625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24626 TAGS) \
24627 || exit 1
24629 @endif target-libiberty
24631 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24632 maybe-install-info-target-libiberty:
24633 @if target-libiberty
24634 maybe-install-info-target-libiberty: install-info-target-libiberty
24636 install-info-target-libiberty: \
24637 configure-target-libiberty \
24638 info-target-libiberty
24639 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24640 r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24642 $(SET_LIB_PATH) \
24643 $(NORMAL_TARGET_EXPORTS) \
24644 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24645 for flag in $(EXTRA_TARGET_FLAGS); do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24647 done; \
24648 (cd $(TARGET_SUBDIR)/libiberty && \
24649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24651 "RANLIB=$${RANLIB}" \
24652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24653 install-info) \
24654 || exit 1
24656 @endif target-libiberty
24658 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24659 maybe-installcheck-target-libiberty:
24660 @if target-libiberty
24661 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24663 installcheck-target-libiberty: \
24664 configure-target-libiberty
24665 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24668 $(SET_LIB_PATH) \
24669 $(NORMAL_TARGET_EXPORTS) \
24670 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24671 for flag in $(EXTRA_TARGET_FLAGS); do \
24672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24673 done; \
24674 (cd $(TARGET_SUBDIR)/libiberty && \
24675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24677 "RANLIB=$${RANLIB}" \
24678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24679 installcheck) \
24680 || exit 1
24682 @endif target-libiberty
24684 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24685 maybe-mostlyclean-target-libiberty:
24686 @if target-libiberty
24687 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24689 mostlyclean-target-libiberty:
24690 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24691 r=`${PWD_COMMAND}`; export r; \
24692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(SET_LIB_PATH) \
24694 $(NORMAL_TARGET_EXPORTS) \
24695 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24696 for flag in $(EXTRA_TARGET_FLAGS); do \
24697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24698 done; \
24699 (cd $(TARGET_SUBDIR)/libiberty && \
24700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24702 "RANLIB=$${RANLIB}" \
24703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24704 mostlyclean) \
24705 || exit 1
24707 @endif target-libiberty
24709 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24710 maybe-clean-target-libiberty:
24711 @if target-libiberty
24712 maybe-clean-target-libiberty: clean-target-libiberty
24714 clean-target-libiberty:
24715 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24716 r=`${PWD_COMMAND}`; export r; \
24717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24718 $(SET_LIB_PATH) \
24719 $(NORMAL_TARGET_EXPORTS) \
24720 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24721 for flag in $(EXTRA_TARGET_FLAGS); do \
24722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 done; \
24724 (cd $(TARGET_SUBDIR)/libiberty && \
24725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24727 "RANLIB=$${RANLIB}" \
24728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24729 clean) \
24730 || exit 1
24732 @endif target-libiberty
24734 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24735 maybe-distclean-target-libiberty:
24736 @if target-libiberty
24737 maybe-distclean-target-libiberty: distclean-target-libiberty
24739 distclean-target-libiberty:
24740 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24741 r=`${PWD_COMMAND}`; export r; \
24742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(SET_LIB_PATH) \
24744 $(NORMAL_TARGET_EXPORTS) \
24745 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24746 for flag in $(EXTRA_TARGET_FLAGS); do \
24747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 done; \
24749 (cd $(TARGET_SUBDIR)/libiberty && \
24750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24752 "RANLIB=$${RANLIB}" \
24753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24754 distclean) \
24755 || exit 1
24757 @endif target-libiberty
24759 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24760 maybe-maintainer-clean-target-libiberty:
24761 @if target-libiberty
24762 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24764 maintainer-clean-target-libiberty:
24765 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24766 r=`${PWD_COMMAND}`; export r; \
24767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24768 $(SET_LIB_PATH) \
24769 $(NORMAL_TARGET_EXPORTS) \
24770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24771 for flag in $(EXTRA_TARGET_FLAGS); do \
24772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24773 done; \
24774 (cd $(TARGET_SUBDIR)/libiberty && \
24775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24777 "RANLIB=$${RANLIB}" \
24778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24779 maintainer-clean) \
24780 || exit 1
24782 @endif target-libiberty
24785 .PHONY: configure-target-gperf maybe-configure-target-gperf
24786 maybe-configure-target-gperf:
24787 @if target-gperf
24788 maybe-configure-target-gperf: configure-target-gperf
24790 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24791 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24792 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24793 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24794 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24796 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24797 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24799 r=`${PWD_COMMAND}`; export r; \
24800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24801 $(SET_LIB_PATH) \
24802 $(NORMAL_TARGET_EXPORTS) \
24803 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24804 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24805 case $(srcdir) in \
24806 /* | [A-Za-z]:[\\/]*) \
24807 topdir=$(srcdir) ;; \
24808 *) \
24809 case "$(TARGET_SUBDIR)" in \
24810 .) topdir="../$(srcdir)" ;; \
24811 *) topdir="../../$(srcdir)" ;; \
24812 esac ;; \
24813 esac; \
24814 srcdiroption="--srcdir=$${topdir}/gperf"; \
24815 libsrcdir="$$s/gperf"; \
24816 rm -f no-such-file || : ; \
24817 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24818 $(TARGET_CONFIGARGS) $${srcdiroption} \
24819 --with-target-subdir="$(TARGET_SUBDIR)" \
24820 || exit 1
24821 @endif target-gperf
24823 .PHONY: all-target-gperf maybe-all-target-gperf
24824 maybe-all-target-gperf:
24825 @if target-gperf
24826 maybe-all-target-gperf: all-target-gperf
24827 all-target-gperf: configure-target-gperf
24828 @r=`${PWD_COMMAND}`; export r; \
24829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24830 $(SET_LIB_PATH) \
24831 $(NORMAL_TARGET_EXPORTS) \
24832 (cd $(TARGET_SUBDIR)/gperf && \
24833 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24834 @endif target-gperf
24836 .PHONY: check-target-gperf maybe-check-target-gperf
24837 maybe-check-target-gperf:
24838 @if target-gperf
24839 maybe-check-target-gperf: check-target-gperf
24841 check-target-gperf:
24842 @r=`${PWD_COMMAND}`; export r; \
24843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24844 $(SET_LIB_PATH) \
24845 $(NORMAL_TARGET_EXPORTS) \
24846 (cd $(TARGET_SUBDIR)/gperf && \
24847 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24849 @endif target-gperf
24851 .PHONY: install-target-gperf maybe-install-target-gperf
24852 maybe-install-target-gperf:
24853 @if target-gperf
24854 maybe-install-target-gperf: install-target-gperf
24856 install-target-gperf: installdirs
24857 @r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(SET_LIB_PATH) \
24860 $(NORMAL_TARGET_EXPORTS) \
24861 (cd $(TARGET_SUBDIR)/gperf && \
24862 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24864 @endif target-gperf
24866 # Other targets (info, dvi, etc.)
24868 .PHONY: maybe-info-target-gperf info-target-gperf
24869 maybe-info-target-gperf:
24870 @if target-gperf
24871 maybe-info-target-gperf: info-target-gperf
24873 info-target-gperf: \
24874 configure-target-gperf
24875 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24876 r=`${PWD_COMMAND}`; export r; \
24877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24878 $(SET_LIB_PATH) \
24879 $(NORMAL_TARGET_EXPORTS) \
24880 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24881 for flag in $(EXTRA_TARGET_FLAGS); do \
24882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24883 done; \
24884 (cd $(TARGET_SUBDIR)/gperf && \
24885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24887 "RANLIB=$${RANLIB}" \
24888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24889 info) \
24890 || exit 1
24892 @endif target-gperf
24894 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24895 maybe-dvi-target-gperf:
24896 @if target-gperf
24897 maybe-dvi-target-gperf: dvi-target-gperf
24899 dvi-target-gperf: \
24900 configure-target-gperf
24901 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24902 r=`${PWD_COMMAND}`; export r; \
24903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24904 $(SET_LIB_PATH) \
24905 $(NORMAL_TARGET_EXPORTS) \
24906 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24907 for flag in $(EXTRA_TARGET_FLAGS); do \
24908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24909 done; \
24910 (cd $(TARGET_SUBDIR)/gperf && \
24911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24913 "RANLIB=$${RANLIB}" \
24914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24915 dvi) \
24916 || exit 1
24918 @endif target-gperf
24920 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24921 maybe-TAGS-target-gperf:
24922 @if target-gperf
24923 maybe-TAGS-target-gperf: TAGS-target-gperf
24925 TAGS-target-gperf: \
24926 configure-target-gperf
24927 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24928 r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24930 $(SET_LIB_PATH) \
24931 $(NORMAL_TARGET_EXPORTS) \
24932 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
24933 for flag in $(EXTRA_TARGET_FLAGS); do \
24934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24935 done; \
24936 (cd $(TARGET_SUBDIR)/gperf && \
24937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24939 "RANLIB=$${RANLIB}" \
24940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24941 TAGS) \
24942 || exit 1
24944 @endif target-gperf
24946 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
24947 maybe-install-info-target-gperf:
24948 @if target-gperf
24949 maybe-install-info-target-gperf: install-info-target-gperf
24951 install-info-target-gperf: \
24952 configure-target-gperf \
24953 info-target-gperf
24954 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24955 r=`${PWD_COMMAND}`; export r; \
24956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24957 $(SET_LIB_PATH) \
24958 $(NORMAL_TARGET_EXPORTS) \
24959 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
24960 for flag in $(EXTRA_TARGET_FLAGS); do \
24961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24962 done; \
24963 (cd $(TARGET_SUBDIR)/gperf && \
24964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24966 "RANLIB=$${RANLIB}" \
24967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24968 install-info) \
24969 || exit 1
24971 @endif target-gperf
24973 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
24974 maybe-installcheck-target-gperf:
24975 @if target-gperf
24976 maybe-installcheck-target-gperf: installcheck-target-gperf
24978 installcheck-target-gperf: \
24979 configure-target-gperf
24980 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24981 r=`${PWD_COMMAND}`; export r; \
24982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24983 $(SET_LIB_PATH) \
24984 $(NORMAL_TARGET_EXPORTS) \
24985 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
24986 for flag in $(EXTRA_TARGET_FLAGS); do \
24987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24988 done; \
24989 (cd $(TARGET_SUBDIR)/gperf && \
24990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24992 "RANLIB=$${RANLIB}" \
24993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24994 installcheck) \
24995 || exit 1
24997 @endif target-gperf
24999 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25000 maybe-mostlyclean-target-gperf:
25001 @if target-gperf
25002 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25004 mostlyclean-target-gperf:
25005 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25006 r=`${PWD_COMMAND}`; export r; \
25007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(SET_LIB_PATH) \
25009 $(NORMAL_TARGET_EXPORTS) \
25010 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25011 for flag in $(EXTRA_TARGET_FLAGS); do \
25012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25013 done; \
25014 (cd $(TARGET_SUBDIR)/gperf && \
25015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25017 "RANLIB=$${RANLIB}" \
25018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25019 mostlyclean) \
25020 || exit 1
25022 @endif target-gperf
25024 .PHONY: maybe-clean-target-gperf clean-target-gperf
25025 maybe-clean-target-gperf:
25026 @if target-gperf
25027 maybe-clean-target-gperf: clean-target-gperf
25029 clean-target-gperf:
25030 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25031 r=`${PWD_COMMAND}`; export r; \
25032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(SET_LIB_PATH) \
25034 $(NORMAL_TARGET_EXPORTS) \
25035 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25036 for flag in $(EXTRA_TARGET_FLAGS); do \
25037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25038 done; \
25039 (cd $(TARGET_SUBDIR)/gperf && \
25040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25042 "RANLIB=$${RANLIB}" \
25043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25044 clean) \
25045 || exit 1
25047 @endif target-gperf
25049 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25050 maybe-distclean-target-gperf:
25051 @if target-gperf
25052 maybe-distclean-target-gperf: distclean-target-gperf
25054 distclean-target-gperf:
25055 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25056 r=`${PWD_COMMAND}`; export r; \
25057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(SET_LIB_PATH) \
25059 $(NORMAL_TARGET_EXPORTS) \
25060 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25061 for flag in $(EXTRA_TARGET_FLAGS); do \
25062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25063 done; \
25064 (cd $(TARGET_SUBDIR)/gperf && \
25065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25067 "RANLIB=$${RANLIB}" \
25068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25069 distclean) \
25070 || exit 1
25072 @endif target-gperf
25074 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25075 maybe-maintainer-clean-target-gperf:
25076 @if target-gperf
25077 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25079 maintainer-clean-target-gperf:
25080 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25081 r=`${PWD_COMMAND}`; export r; \
25082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(SET_LIB_PATH) \
25084 $(NORMAL_TARGET_EXPORTS) \
25085 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25086 for flag in $(EXTRA_TARGET_FLAGS); do \
25087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25088 done; \
25089 (cd $(TARGET_SUBDIR)/gperf && \
25090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25092 "RANLIB=$${RANLIB}" \
25093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25094 maintainer-clean) \
25095 || exit 1
25097 @endif target-gperf
25100 .PHONY: configure-target-examples maybe-configure-target-examples
25101 maybe-configure-target-examples:
25102 @if target-examples
25103 maybe-configure-target-examples: configure-target-examples
25105 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25106 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25107 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25108 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25109 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25111 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25112 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25113 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25114 r=`${PWD_COMMAND}`; export r; \
25115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25116 $(SET_LIB_PATH) \
25117 $(NORMAL_TARGET_EXPORTS) \
25118 echo Configuring in $(TARGET_SUBDIR)/examples; \
25119 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25120 case $(srcdir) in \
25121 /* | [A-Za-z]:[\\/]*) \
25122 topdir=$(srcdir) ;; \
25123 *) \
25124 case "$(TARGET_SUBDIR)" in \
25125 .) topdir="../$(srcdir)" ;; \
25126 *) topdir="../../$(srcdir)" ;; \
25127 esac ;; \
25128 esac; \
25129 srcdiroption="--srcdir=$${topdir}/examples"; \
25130 libsrcdir="$$s/examples"; \
25131 rm -f no-such-file || : ; \
25132 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25133 $(TARGET_CONFIGARGS) $${srcdiroption} \
25134 --with-target-subdir="$(TARGET_SUBDIR)" \
25135 || exit 1
25136 @endif target-examples
25138 .PHONY: all-target-examples maybe-all-target-examples
25139 maybe-all-target-examples:
25140 @if target-examples
25141 maybe-all-target-examples: all-target-examples
25142 all-target-examples: configure-target-examples
25143 @r=`${PWD_COMMAND}`; export r; \
25144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25145 $(SET_LIB_PATH) \
25146 $(NORMAL_TARGET_EXPORTS) \
25147 (cd $(TARGET_SUBDIR)/examples && \
25148 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25149 @endif target-examples
25151 .PHONY: check-target-examples maybe-check-target-examples
25152 maybe-check-target-examples:
25153 @if target-examples
25154 maybe-check-target-examples: check-target-examples
25156 # Dummy target for uncheckable module.
25157 check-target-examples:
25159 @endif target-examples
25161 .PHONY: install-target-examples maybe-install-target-examples
25162 maybe-install-target-examples:
25163 @if target-examples
25164 maybe-install-target-examples: install-target-examples
25166 # Dummy target for uninstallable.
25167 install-target-examples:
25169 @endif target-examples
25171 # Other targets (info, dvi, etc.)
25173 .PHONY: maybe-info-target-examples info-target-examples
25174 maybe-info-target-examples:
25175 @if target-examples
25176 maybe-info-target-examples: info-target-examples
25178 info-target-examples: \
25179 configure-target-examples
25180 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25181 r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 $(SET_LIB_PATH) \
25184 $(NORMAL_TARGET_EXPORTS) \
25185 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25186 for flag in $(EXTRA_TARGET_FLAGS); do \
25187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25188 done; \
25189 (cd $(TARGET_SUBDIR)/examples && \
25190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25192 "RANLIB=$${RANLIB}" \
25193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25194 info) \
25195 || exit 1
25197 @endif target-examples
25199 .PHONY: maybe-dvi-target-examples dvi-target-examples
25200 maybe-dvi-target-examples:
25201 @if target-examples
25202 maybe-dvi-target-examples: dvi-target-examples
25204 dvi-target-examples: \
25205 configure-target-examples
25206 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25207 r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25209 $(SET_LIB_PATH) \
25210 $(NORMAL_TARGET_EXPORTS) \
25211 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25212 for flag in $(EXTRA_TARGET_FLAGS); do \
25213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25214 done; \
25215 (cd $(TARGET_SUBDIR)/examples && \
25216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25218 "RANLIB=$${RANLIB}" \
25219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25220 dvi) \
25221 || exit 1
25223 @endif target-examples
25225 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25226 maybe-TAGS-target-examples:
25227 @if target-examples
25228 maybe-TAGS-target-examples: TAGS-target-examples
25230 TAGS-target-examples: \
25231 configure-target-examples
25232 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25233 r=`${PWD_COMMAND}`; export r; \
25234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 $(SET_LIB_PATH) \
25236 $(NORMAL_TARGET_EXPORTS) \
25237 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25238 for flag in $(EXTRA_TARGET_FLAGS); do \
25239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25240 done; \
25241 (cd $(TARGET_SUBDIR)/examples && \
25242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25244 "RANLIB=$${RANLIB}" \
25245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25246 TAGS) \
25247 || exit 1
25249 @endif target-examples
25251 .PHONY: maybe-install-info-target-examples install-info-target-examples
25252 maybe-install-info-target-examples:
25253 @if target-examples
25254 maybe-install-info-target-examples: install-info-target-examples
25256 install-info-target-examples: \
25257 configure-target-examples \
25258 info-target-examples
25259 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25260 r=`${PWD_COMMAND}`; export r; \
25261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25262 $(SET_LIB_PATH) \
25263 $(NORMAL_TARGET_EXPORTS) \
25264 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25265 for flag in $(EXTRA_TARGET_FLAGS); do \
25266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25267 done; \
25268 (cd $(TARGET_SUBDIR)/examples && \
25269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25271 "RANLIB=$${RANLIB}" \
25272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25273 install-info) \
25274 || exit 1
25276 @endif target-examples
25278 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25279 maybe-installcheck-target-examples:
25280 @if target-examples
25281 maybe-installcheck-target-examples: installcheck-target-examples
25283 installcheck-target-examples: \
25284 configure-target-examples
25285 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25286 r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(SET_LIB_PATH) \
25289 $(NORMAL_TARGET_EXPORTS) \
25290 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25291 for flag in $(EXTRA_TARGET_FLAGS); do \
25292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25293 done; \
25294 (cd $(TARGET_SUBDIR)/examples && \
25295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25297 "RANLIB=$${RANLIB}" \
25298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25299 installcheck) \
25300 || exit 1
25302 @endif target-examples
25304 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25305 maybe-mostlyclean-target-examples:
25306 @if target-examples
25307 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25309 mostlyclean-target-examples:
25310 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25311 r=`${PWD_COMMAND}`; export r; \
25312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25313 $(SET_LIB_PATH) \
25314 $(NORMAL_TARGET_EXPORTS) \
25315 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25316 for flag in $(EXTRA_TARGET_FLAGS); do \
25317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25318 done; \
25319 (cd $(TARGET_SUBDIR)/examples && \
25320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25322 "RANLIB=$${RANLIB}" \
25323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25324 mostlyclean) \
25325 || exit 1
25327 @endif target-examples
25329 .PHONY: maybe-clean-target-examples clean-target-examples
25330 maybe-clean-target-examples:
25331 @if target-examples
25332 maybe-clean-target-examples: clean-target-examples
25334 clean-target-examples:
25335 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25336 r=`${PWD_COMMAND}`; export r; \
25337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25338 $(SET_LIB_PATH) \
25339 $(NORMAL_TARGET_EXPORTS) \
25340 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25341 for flag in $(EXTRA_TARGET_FLAGS); do \
25342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25343 done; \
25344 (cd $(TARGET_SUBDIR)/examples && \
25345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25347 "RANLIB=$${RANLIB}" \
25348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25349 clean) \
25350 || exit 1
25352 @endif target-examples
25354 .PHONY: maybe-distclean-target-examples distclean-target-examples
25355 maybe-distclean-target-examples:
25356 @if target-examples
25357 maybe-distclean-target-examples: distclean-target-examples
25359 distclean-target-examples:
25360 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25361 r=`${PWD_COMMAND}`; export r; \
25362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25363 $(SET_LIB_PATH) \
25364 $(NORMAL_TARGET_EXPORTS) \
25365 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25366 for flag in $(EXTRA_TARGET_FLAGS); do \
25367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25368 done; \
25369 (cd $(TARGET_SUBDIR)/examples && \
25370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25372 "RANLIB=$${RANLIB}" \
25373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25374 distclean) \
25375 || exit 1
25377 @endif target-examples
25379 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25380 maybe-maintainer-clean-target-examples:
25381 @if target-examples
25382 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25384 maintainer-clean-target-examples:
25385 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25386 r=`${PWD_COMMAND}`; export r; \
25387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25388 $(SET_LIB_PATH) \
25389 $(NORMAL_TARGET_EXPORTS) \
25390 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25391 for flag in $(EXTRA_TARGET_FLAGS); do \
25392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25393 done; \
25394 (cd $(TARGET_SUBDIR)/examples && \
25395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25397 "RANLIB=$${RANLIB}" \
25398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25399 maintainer-clean) \
25400 || exit 1
25402 @endif target-examples
25405 .PHONY: configure-target-libffi maybe-configure-target-libffi
25406 maybe-configure-target-libffi:
25407 @if target-libffi
25408 maybe-configure-target-libffi: configure-target-libffi
25410 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25411 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25413 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25414 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25416 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25417 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25418 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25419 r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(SET_LIB_PATH) \
25422 $(NORMAL_TARGET_EXPORTS) \
25423 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25424 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25425 case $(srcdir) in \
25426 /* | [A-Za-z]:[\\/]*) \
25427 topdir=$(srcdir) ;; \
25428 *) \
25429 case "$(TARGET_SUBDIR)" in \
25430 .) topdir="../$(srcdir)" ;; \
25431 *) topdir="../../$(srcdir)" ;; \
25432 esac ;; \
25433 esac; \
25434 srcdiroption="--srcdir=$${topdir}/libffi"; \
25435 libsrcdir="$$s/libffi"; \
25436 rm -f no-such-file || : ; \
25437 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25438 $(TARGET_CONFIGARGS) $${srcdiroption} \
25439 --with-target-subdir="$(TARGET_SUBDIR)" \
25440 || exit 1
25441 @endif target-libffi
25443 .PHONY: all-target-libffi maybe-all-target-libffi
25444 maybe-all-target-libffi:
25445 @if target-libffi
25446 maybe-all-target-libffi: all-target-libffi
25447 all-target-libffi: configure-target-libffi
25448 @r=`${PWD_COMMAND}`; export r; \
25449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25450 $(SET_LIB_PATH) \
25451 $(NORMAL_TARGET_EXPORTS) \
25452 (cd $(TARGET_SUBDIR)/libffi && \
25453 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25454 @endif target-libffi
25456 .PHONY: check-target-libffi maybe-check-target-libffi
25457 maybe-check-target-libffi:
25458 @if target-libffi
25459 maybe-check-target-libffi: check-target-libffi
25461 check-target-libffi:
25462 @r=`${PWD_COMMAND}`; export r; \
25463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25464 $(SET_LIB_PATH) \
25465 $(NORMAL_TARGET_EXPORTS) \
25466 (cd $(TARGET_SUBDIR)/libffi && \
25467 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25469 @endif target-libffi
25471 .PHONY: install-target-libffi maybe-install-target-libffi
25472 maybe-install-target-libffi:
25473 @if target-libffi
25474 maybe-install-target-libffi: install-target-libffi
25476 install-target-libffi: installdirs
25477 @r=`${PWD_COMMAND}`; export r; \
25478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25479 $(SET_LIB_PATH) \
25480 $(NORMAL_TARGET_EXPORTS) \
25481 (cd $(TARGET_SUBDIR)/libffi && \
25482 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25484 @endif target-libffi
25486 # Other targets (info, dvi, etc.)
25488 .PHONY: maybe-info-target-libffi info-target-libffi
25489 maybe-info-target-libffi:
25490 @if target-libffi
25491 maybe-info-target-libffi: info-target-libffi
25493 info-target-libffi: \
25494 configure-target-libffi
25495 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25496 r=`${PWD_COMMAND}`; export r; \
25497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25498 $(SET_LIB_PATH) \
25499 $(NORMAL_TARGET_EXPORTS) \
25500 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25501 for flag in $(EXTRA_TARGET_FLAGS); do \
25502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 done; \
25504 (cd $(TARGET_SUBDIR)/libffi && \
25505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25507 "RANLIB=$${RANLIB}" \
25508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25509 info) \
25510 || exit 1
25512 @endif target-libffi
25514 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25515 maybe-dvi-target-libffi:
25516 @if target-libffi
25517 maybe-dvi-target-libffi: dvi-target-libffi
25519 dvi-target-libffi: \
25520 configure-target-libffi
25521 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25522 r=`${PWD_COMMAND}`; export r; \
25523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25524 $(SET_LIB_PATH) \
25525 $(NORMAL_TARGET_EXPORTS) \
25526 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25527 for flag in $(EXTRA_TARGET_FLAGS); do \
25528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25529 done; \
25530 (cd $(TARGET_SUBDIR)/libffi && \
25531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25533 "RANLIB=$${RANLIB}" \
25534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25535 dvi) \
25536 || exit 1
25538 @endif target-libffi
25540 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25541 maybe-TAGS-target-libffi:
25542 @if target-libffi
25543 maybe-TAGS-target-libffi: TAGS-target-libffi
25545 TAGS-target-libffi: \
25546 configure-target-libffi
25547 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25548 r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(SET_LIB_PATH) \
25551 $(NORMAL_TARGET_EXPORTS) \
25552 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25553 for flag in $(EXTRA_TARGET_FLAGS); do \
25554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25555 done; \
25556 (cd $(TARGET_SUBDIR)/libffi && \
25557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25559 "RANLIB=$${RANLIB}" \
25560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25561 TAGS) \
25562 || exit 1
25564 @endif target-libffi
25566 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25567 maybe-install-info-target-libffi:
25568 @if target-libffi
25569 maybe-install-info-target-libffi: install-info-target-libffi
25571 install-info-target-libffi: \
25572 configure-target-libffi \
25573 info-target-libffi
25574 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25575 r=`${PWD_COMMAND}`; export r; \
25576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25577 $(SET_LIB_PATH) \
25578 $(NORMAL_TARGET_EXPORTS) \
25579 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25580 for flag in $(EXTRA_TARGET_FLAGS); do \
25581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25582 done; \
25583 (cd $(TARGET_SUBDIR)/libffi && \
25584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25586 "RANLIB=$${RANLIB}" \
25587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25588 install-info) \
25589 || exit 1
25591 @endif target-libffi
25593 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25594 maybe-installcheck-target-libffi:
25595 @if target-libffi
25596 maybe-installcheck-target-libffi: installcheck-target-libffi
25598 installcheck-target-libffi: \
25599 configure-target-libffi
25600 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25601 r=`${PWD_COMMAND}`; export r; \
25602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25603 $(SET_LIB_PATH) \
25604 $(NORMAL_TARGET_EXPORTS) \
25605 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25606 for flag in $(EXTRA_TARGET_FLAGS); do \
25607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25608 done; \
25609 (cd $(TARGET_SUBDIR)/libffi && \
25610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25612 "RANLIB=$${RANLIB}" \
25613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25614 installcheck) \
25615 || exit 1
25617 @endif target-libffi
25619 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25620 maybe-mostlyclean-target-libffi:
25621 @if target-libffi
25622 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25624 mostlyclean-target-libffi:
25625 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(SET_LIB_PATH) \
25629 $(NORMAL_TARGET_EXPORTS) \
25630 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25631 for flag in $(EXTRA_TARGET_FLAGS); do \
25632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25633 done; \
25634 (cd $(TARGET_SUBDIR)/libffi && \
25635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25637 "RANLIB=$${RANLIB}" \
25638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25639 mostlyclean) \
25640 || exit 1
25642 @endif target-libffi
25644 .PHONY: maybe-clean-target-libffi clean-target-libffi
25645 maybe-clean-target-libffi:
25646 @if target-libffi
25647 maybe-clean-target-libffi: clean-target-libffi
25649 clean-target-libffi:
25650 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25651 r=`${PWD_COMMAND}`; export r; \
25652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(SET_LIB_PATH) \
25654 $(NORMAL_TARGET_EXPORTS) \
25655 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25656 for flag in $(EXTRA_TARGET_FLAGS); do \
25657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25658 done; \
25659 (cd $(TARGET_SUBDIR)/libffi && \
25660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25662 "RANLIB=$${RANLIB}" \
25663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25664 clean) \
25665 || exit 1
25667 @endif target-libffi
25669 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25670 maybe-distclean-target-libffi:
25671 @if target-libffi
25672 maybe-distclean-target-libffi: distclean-target-libffi
25674 distclean-target-libffi:
25675 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25676 r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 $(SET_LIB_PATH) \
25679 $(NORMAL_TARGET_EXPORTS) \
25680 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25681 for flag in $(EXTRA_TARGET_FLAGS); do \
25682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25683 done; \
25684 (cd $(TARGET_SUBDIR)/libffi && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25689 distclean) \
25690 || exit 1
25692 @endif target-libffi
25694 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25695 maybe-maintainer-clean-target-libffi:
25696 @if target-libffi
25697 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25699 maintainer-clean-target-libffi:
25700 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25701 r=`${PWD_COMMAND}`; export r; \
25702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25703 $(SET_LIB_PATH) \
25704 $(NORMAL_TARGET_EXPORTS) \
25705 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25706 for flag in $(EXTRA_TARGET_FLAGS); do \
25707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25708 done; \
25709 (cd $(TARGET_SUBDIR)/libffi && \
25710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712 "RANLIB=$${RANLIB}" \
25713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25714 maintainer-clean) \
25715 || exit 1
25717 @endif target-libffi
25720 .PHONY: configure-target-libjava maybe-configure-target-libjava
25721 maybe-configure-target-libjava:
25722 @if target-libjava
25723 maybe-configure-target-libjava: configure-target-libjava
25725 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25726 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25728 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25729 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25731 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25732 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25733 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25734 r=`${PWD_COMMAND}`; export r; \
25735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25736 $(SET_LIB_PATH) \
25737 $(RAW_CXX_TARGET_EXPORTS) \
25738 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25739 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25740 case $(srcdir) in \
25741 /* | [A-Za-z]:[\\/]*) \
25742 topdir=$(srcdir) ;; \
25743 *) \
25744 case "$(TARGET_SUBDIR)" in \
25745 .) topdir="../$(srcdir)" ;; \
25746 *) topdir="../../$(srcdir)" ;; \
25747 esac ;; \
25748 esac; \
25749 srcdiroption="--srcdir=$${topdir}/libjava"; \
25750 libsrcdir="$$s/libjava"; \
25751 rm -f no-such-file || : ; \
25752 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25753 $(TARGET_CONFIGARGS) $${srcdiroption} \
25754 --with-target-subdir="$(TARGET_SUBDIR)" \
25755 || exit 1
25756 @endif target-libjava
25758 .PHONY: all-target-libjava maybe-all-target-libjava
25759 maybe-all-target-libjava:
25760 @if target-libjava
25761 maybe-all-target-libjava: all-target-libjava
25762 all-target-libjava: configure-target-libjava
25763 @r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(SET_LIB_PATH) \
25766 $(RAW_CXX_TARGET_EXPORTS) \
25767 (cd $(TARGET_SUBDIR)/libjava && \
25768 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
25769 @endif target-libjava
25771 .PHONY: check-target-libjava maybe-check-target-libjava
25772 maybe-check-target-libjava:
25773 @if target-libjava
25774 maybe-check-target-libjava: check-target-libjava
25776 check-target-libjava:
25777 @r=`${PWD_COMMAND}`; export r; \
25778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(SET_LIB_PATH) \
25780 $(RAW_CXX_TARGET_EXPORTS) \
25781 (cd $(TARGET_SUBDIR)/libjava && \
25782 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25784 @endif target-libjava
25786 .PHONY: install-target-libjava maybe-install-target-libjava
25787 maybe-install-target-libjava:
25788 @if target-libjava
25789 maybe-install-target-libjava: install-target-libjava
25791 install-target-libjava: installdirs
25792 @r=`${PWD_COMMAND}`; export r; \
25793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25794 $(SET_LIB_PATH) \
25795 $(RAW_CXX_TARGET_EXPORTS) \
25796 (cd $(TARGET_SUBDIR)/libjava && \
25797 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25799 @endif target-libjava
25801 # Other targets (info, dvi, etc.)
25803 .PHONY: maybe-info-target-libjava info-target-libjava
25804 maybe-info-target-libjava:
25805 @if target-libjava
25806 maybe-info-target-libjava: info-target-libjava
25808 info-target-libjava: \
25809 configure-target-libjava
25810 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25811 r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(SET_LIB_PATH) \
25814 $(RAW_CXX_TARGET_EXPORTS) \
25815 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25816 for flag in $(EXTRA_TARGET_FLAGS); do \
25817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25818 done; \
25819 (cd $(TARGET_SUBDIR)/libjava && \
25820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25822 "RANLIB=$${RANLIB}" \
25823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25824 info) \
25825 || exit 1
25827 @endif target-libjava
25829 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25830 maybe-dvi-target-libjava:
25831 @if target-libjava
25832 maybe-dvi-target-libjava: dvi-target-libjava
25834 dvi-target-libjava: \
25835 configure-target-libjava
25836 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25839 $(SET_LIB_PATH) \
25840 $(RAW_CXX_TARGET_EXPORTS) \
25841 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25842 for flag in $(EXTRA_TARGET_FLAGS); do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844 done; \
25845 (cd $(TARGET_SUBDIR)/libjava && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848 "RANLIB=$${RANLIB}" \
25849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25850 dvi) \
25851 || exit 1
25853 @endif target-libjava
25855 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25856 maybe-TAGS-target-libjava:
25857 @if target-libjava
25858 maybe-TAGS-target-libjava: TAGS-target-libjava
25860 TAGS-target-libjava: \
25861 configure-target-libjava
25862 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25863 r=`${PWD_COMMAND}`; export r; \
25864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25865 $(SET_LIB_PATH) \
25866 $(RAW_CXX_TARGET_EXPORTS) \
25867 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25868 for flag in $(EXTRA_TARGET_FLAGS); do \
25869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25870 done; \
25871 (cd $(TARGET_SUBDIR)/libjava && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 TAGS) \
25877 || exit 1
25879 @endif target-libjava
25881 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25882 maybe-install-info-target-libjava:
25883 @if target-libjava
25884 maybe-install-info-target-libjava: install-info-target-libjava
25886 install-info-target-libjava: \
25887 configure-target-libjava \
25888 info-target-libjava
25889 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25890 r=`${PWD_COMMAND}`; export r; \
25891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25892 $(SET_LIB_PATH) \
25893 $(RAW_CXX_TARGET_EXPORTS) \
25894 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25895 for flag in $(EXTRA_TARGET_FLAGS); do \
25896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25897 done; \
25898 (cd $(TARGET_SUBDIR)/libjava && \
25899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25901 "RANLIB=$${RANLIB}" \
25902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25903 install-info) \
25904 || exit 1
25906 @endif target-libjava
25908 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25909 maybe-installcheck-target-libjava:
25910 @if target-libjava
25911 maybe-installcheck-target-libjava: installcheck-target-libjava
25913 installcheck-target-libjava: \
25914 configure-target-libjava
25915 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25916 r=`${PWD_COMMAND}`; export r; \
25917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25918 $(SET_LIB_PATH) \
25919 $(RAW_CXX_TARGET_EXPORTS) \
25920 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25921 for flag in $(EXTRA_TARGET_FLAGS); do \
25922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25923 done; \
25924 (cd $(TARGET_SUBDIR)/libjava && \
25925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25927 "RANLIB=$${RANLIB}" \
25928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25929 installcheck) \
25930 || exit 1
25932 @endif target-libjava
25934 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
25935 maybe-mostlyclean-target-libjava:
25936 @if target-libjava
25937 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
25939 mostlyclean-target-libjava:
25940 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25941 r=`${PWD_COMMAND}`; export r; \
25942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25943 $(SET_LIB_PATH) \
25944 $(RAW_CXX_TARGET_EXPORTS) \
25945 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
25946 for flag in $(EXTRA_TARGET_FLAGS); do \
25947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 done; \
25949 (cd $(TARGET_SUBDIR)/libjava && \
25950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25952 "RANLIB=$${RANLIB}" \
25953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25954 mostlyclean) \
25955 || exit 1
25957 @endif target-libjava
25959 .PHONY: maybe-clean-target-libjava clean-target-libjava
25960 maybe-clean-target-libjava:
25961 @if target-libjava
25962 maybe-clean-target-libjava: clean-target-libjava
25964 clean-target-libjava:
25965 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(SET_LIB_PATH) \
25969 $(RAW_CXX_TARGET_EXPORTS) \
25970 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
25971 for flag in $(EXTRA_TARGET_FLAGS); do \
25972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25973 done; \
25974 (cd $(TARGET_SUBDIR)/libjava && \
25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977 "RANLIB=$${RANLIB}" \
25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25979 clean) \
25980 || exit 1
25982 @endif target-libjava
25984 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
25985 maybe-distclean-target-libjava:
25986 @if target-libjava
25987 maybe-distclean-target-libjava: distclean-target-libjava
25989 distclean-target-libjava:
25990 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25991 r=`${PWD_COMMAND}`; export r; \
25992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993 $(SET_LIB_PATH) \
25994 $(RAW_CXX_TARGET_EXPORTS) \
25995 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
25996 for flag in $(EXTRA_TARGET_FLAGS); do \
25997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25998 done; \
25999 (cd $(TARGET_SUBDIR)/libjava && \
26000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26002 "RANLIB=$${RANLIB}" \
26003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26004 distclean) \
26005 || exit 1
26007 @endif target-libjava
26009 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26010 maybe-maintainer-clean-target-libjava:
26011 @if target-libjava
26012 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26014 maintainer-clean-target-libjava:
26015 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26016 r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 $(SET_LIB_PATH) \
26019 $(RAW_CXX_TARGET_EXPORTS) \
26020 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26021 for flag in $(EXTRA_TARGET_FLAGS); do \
26022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26023 done; \
26024 (cd $(TARGET_SUBDIR)/libjava && \
26025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26027 "RANLIB=$${RANLIB}" \
26028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26029 maintainer-clean) \
26030 || exit 1
26032 @endif target-libjava
26035 .PHONY: configure-target-zlib maybe-configure-target-zlib
26036 maybe-configure-target-zlib:
26037 @if target-zlib
26038 maybe-configure-target-zlib: configure-target-zlib
26040 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26041 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26043 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26044 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26046 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26047 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(SET_LIB_PATH) \
26052 $(NORMAL_TARGET_EXPORTS) \
26053 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26054 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26055 case $(srcdir) in \
26056 /* | [A-Za-z]:[\\/]*) \
26057 topdir=$(srcdir) ;; \
26058 *) \
26059 case "$(TARGET_SUBDIR)" in \
26060 .) topdir="../$(srcdir)" ;; \
26061 *) topdir="../../$(srcdir)" ;; \
26062 esac ;; \
26063 esac; \
26064 if [ "$(srcdir)" = "." ] ; then \
26065 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26066 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26067 if [ -f Makefile ]; then \
26068 if $(MAKE) distclean; then \
26069 true; \
26070 else \
26071 exit 1; \
26072 fi; \
26073 else \
26074 true; \
26075 fi; \
26076 else \
26077 exit 1; \
26078 fi; \
26079 else \
26080 true; \
26081 fi; \
26082 srcdiroption="--srcdir=."; \
26083 libsrcdir="."; \
26084 else \
26085 srcdiroption="--srcdir=$${topdir}/zlib"; \
26086 libsrcdir="$$s/zlib"; \
26087 fi; \
26088 rm -f no-such-file || : ; \
26089 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26090 $(TARGET_CONFIGARGS) $${srcdiroption} \
26091 --with-target-subdir="$(TARGET_SUBDIR)" \
26092 || exit 1
26093 @endif target-zlib
26095 .PHONY: all-target-zlib maybe-all-target-zlib
26096 maybe-all-target-zlib:
26097 @if target-zlib
26098 maybe-all-target-zlib: all-target-zlib
26099 all-target-zlib: configure-target-zlib
26100 @r=`${PWD_COMMAND}`; export r; \
26101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26102 $(SET_LIB_PATH) \
26103 $(NORMAL_TARGET_EXPORTS) \
26104 (cd $(TARGET_SUBDIR)/zlib && \
26105 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26106 @endif target-zlib
26108 .PHONY: check-target-zlib maybe-check-target-zlib
26109 maybe-check-target-zlib:
26110 @if target-zlib
26111 maybe-check-target-zlib: check-target-zlib
26113 check-target-zlib:
26114 @r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 $(SET_LIB_PATH) \
26117 $(NORMAL_TARGET_EXPORTS) \
26118 (cd $(TARGET_SUBDIR)/zlib && \
26119 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26121 @endif target-zlib
26123 .PHONY: install-target-zlib maybe-install-target-zlib
26124 maybe-install-target-zlib:
26125 @if target-zlib
26126 maybe-install-target-zlib: install-target-zlib
26128 install-target-zlib: installdirs
26129 @r=`${PWD_COMMAND}`; export r; \
26130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26131 $(SET_LIB_PATH) \
26132 $(NORMAL_TARGET_EXPORTS) \
26133 (cd $(TARGET_SUBDIR)/zlib && \
26134 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26136 @endif target-zlib
26138 # Other targets (info, dvi, etc.)
26140 .PHONY: maybe-info-target-zlib info-target-zlib
26141 maybe-info-target-zlib:
26142 @if target-zlib
26143 maybe-info-target-zlib: info-target-zlib
26145 info-target-zlib: \
26146 configure-target-zlib
26147 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26148 r=`${PWD_COMMAND}`; export r; \
26149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26150 $(SET_LIB_PATH) \
26151 $(NORMAL_TARGET_EXPORTS) \
26152 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26153 for flag in $(EXTRA_TARGET_FLAGS); do \
26154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26155 done; \
26156 (cd $(TARGET_SUBDIR)/zlib && \
26157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26159 "RANLIB=$${RANLIB}" \
26160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26161 info) \
26162 || exit 1
26164 @endif target-zlib
26166 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26167 maybe-dvi-target-zlib:
26168 @if target-zlib
26169 maybe-dvi-target-zlib: dvi-target-zlib
26171 dvi-target-zlib: \
26172 configure-target-zlib
26173 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26174 r=`${PWD_COMMAND}`; export r; \
26175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26176 $(SET_LIB_PATH) \
26177 $(NORMAL_TARGET_EXPORTS) \
26178 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26179 for flag in $(EXTRA_TARGET_FLAGS); do \
26180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26181 done; \
26182 (cd $(TARGET_SUBDIR)/zlib && \
26183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26185 "RANLIB=$${RANLIB}" \
26186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26187 dvi) \
26188 || exit 1
26190 @endif target-zlib
26192 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26193 maybe-TAGS-target-zlib:
26194 @if target-zlib
26195 maybe-TAGS-target-zlib: TAGS-target-zlib
26197 TAGS-target-zlib: \
26198 configure-target-zlib
26199 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26200 r=`${PWD_COMMAND}`; export r; \
26201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26202 $(SET_LIB_PATH) \
26203 $(NORMAL_TARGET_EXPORTS) \
26204 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26205 for flag in $(EXTRA_TARGET_FLAGS); do \
26206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26207 done; \
26208 (cd $(TARGET_SUBDIR)/zlib && \
26209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26211 "RANLIB=$${RANLIB}" \
26212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26213 TAGS) \
26214 || exit 1
26216 @endif target-zlib
26218 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26219 maybe-install-info-target-zlib:
26220 @if target-zlib
26221 maybe-install-info-target-zlib: install-info-target-zlib
26223 install-info-target-zlib: \
26224 configure-target-zlib \
26225 info-target-zlib
26226 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26227 r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(SET_LIB_PATH) \
26230 $(NORMAL_TARGET_EXPORTS) \
26231 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26232 for flag in $(EXTRA_TARGET_FLAGS); do \
26233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26234 done; \
26235 (cd $(TARGET_SUBDIR)/zlib && \
26236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26238 "RANLIB=$${RANLIB}" \
26239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26240 install-info) \
26241 || exit 1
26243 @endif target-zlib
26245 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26246 maybe-installcheck-target-zlib:
26247 @if target-zlib
26248 maybe-installcheck-target-zlib: installcheck-target-zlib
26250 installcheck-target-zlib: \
26251 configure-target-zlib
26252 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26253 r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(SET_LIB_PATH) \
26256 $(NORMAL_TARGET_EXPORTS) \
26257 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26258 for flag in $(EXTRA_TARGET_FLAGS); do \
26259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26260 done; \
26261 (cd $(TARGET_SUBDIR)/zlib && \
26262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26264 "RANLIB=$${RANLIB}" \
26265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26266 installcheck) \
26267 || exit 1
26269 @endif target-zlib
26271 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26272 maybe-mostlyclean-target-zlib:
26273 @if target-zlib
26274 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26276 mostlyclean-target-zlib:
26277 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26278 r=`${PWD_COMMAND}`; export r; \
26279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26280 $(SET_LIB_PATH) \
26281 $(NORMAL_TARGET_EXPORTS) \
26282 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26283 for flag in $(EXTRA_TARGET_FLAGS); do \
26284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26285 done; \
26286 (cd $(TARGET_SUBDIR)/zlib && \
26287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26289 "RANLIB=$${RANLIB}" \
26290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26291 mostlyclean) \
26292 || exit 1
26294 @endif target-zlib
26296 .PHONY: maybe-clean-target-zlib clean-target-zlib
26297 maybe-clean-target-zlib:
26298 @if target-zlib
26299 maybe-clean-target-zlib: clean-target-zlib
26301 clean-target-zlib:
26302 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26303 r=`${PWD_COMMAND}`; export r; \
26304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26305 $(SET_LIB_PATH) \
26306 $(NORMAL_TARGET_EXPORTS) \
26307 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26308 for flag in $(EXTRA_TARGET_FLAGS); do \
26309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26310 done; \
26311 (cd $(TARGET_SUBDIR)/zlib && \
26312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26314 "RANLIB=$${RANLIB}" \
26315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26316 clean) \
26317 || exit 1
26319 @endif target-zlib
26321 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26322 maybe-distclean-target-zlib:
26323 @if target-zlib
26324 maybe-distclean-target-zlib: distclean-target-zlib
26326 distclean-target-zlib:
26327 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26328 r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(SET_LIB_PATH) \
26331 $(NORMAL_TARGET_EXPORTS) \
26332 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26333 for flag in $(EXTRA_TARGET_FLAGS); do \
26334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26335 done; \
26336 (cd $(TARGET_SUBDIR)/zlib && \
26337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26339 "RANLIB=$${RANLIB}" \
26340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26341 distclean) \
26342 || exit 1
26344 @endif target-zlib
26346 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26347 maybe-maintainer-clean-target-zlib:
26348 @if target-zlib
26349 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26351 maintainer-clean-target-zlib:
26352 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(SET_LIB_PATH) \
26356 $(NORMAL_TARGET_EXPORTS) \
26357 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26358 for flag in $(EXTRA_TARGET_FLAGS); do \
26359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26360 done; \
26361 (cd $(TARGET_SUBDIR)/zlib && \
26362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26364 "RANLIB=$${RANLIB}" \
26365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26366 maintainer-clean) \
26367 || exit 1
26369 @endif target-zlib
26372 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26373 maybe-configure-target-boehm-gc:
26374 @if target-boehm-gc
26375 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26377 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26378 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26380 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26381 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26383 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26384 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26385 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26386 r=`${PWD_COMMAND}`; export r; \
26387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 $(SET_LIB_PATH) \
26389 $(NORMAL_TARGET_EXPORTS) \
26390 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26391 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26392 case $(srcdir) in \
26393 /* | [A-Za-z]:[\\/]*) \
26394 topdir=$(srcdir) ;; \
26395 *) \
26396 case "$(TARGET_SUBDIR)" in \
26397 .) topdir="../$(srcdir)" ;; \
26398 *) topdir="../../$(srcdir)" ;; \
26399 esac ;; \
26400 esac; \
26401 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26402 libsrcdir="$$s/boehm-gc"; \
26403 rm -f no-such-file || : ; \
26404 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26405 $(TARGET_CONFIGARGS) $${srcdiroption} \
26406 --with-target-subdir="$(TARGET_SUBDIR)" \
26407 || exit 1
26408 @endif target-boehm-gc
26410 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26411 maybe-all-target-boehm-gc:
26412 @if target-boehm-gc
26413 maybe-all-target-boehm-gc: all-target-boehm-gc
26414 all-target-boehm-gc: configure-target-boehm-gc
26415 @r=`${PWD_COMMAND}`; export r; \
26416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26417 $(SET_LIB_PATH) \
26418 $(NORMAL_TARGET_EXPORTS) \
26419 (cd $(TARGET_SUBDIR)/boehm-gc && \
26420 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26421 @endif target-boehm-gc
26423 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26424 maybe-check-target-boehm-gc:
26425 @if target-boehm-gc
26426 maybe-check-target-boehm-gc: check-target-boehm-gc
26428 check-target-boehm-gc:
26429 @r=`${PWD_COMMAND}`; export r; \
26430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26431 $(SET_LIB_PATH) \
26432 $(NORMAL_TARGET_EXPORTS) \
26433 (cd $(TARGET_SUBDIR)/boehm-gc && \
26434 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26436 @endif target-boehm-gc
26438 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26439 maybe-install-target-boehm-gc:
26440 @if target-boehm-gc
26441 maybe-install-target-boehm-gc: install-target-boehm-gc
26443 install-target-boehm-gc: installdirs
26444 @r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26446 $(SET_LIB_PATH) \
26447 $(NORMAL_TARGET_EXPORTS) \
26448 (cd $(TARGET_SUBDIR)/boehm-gc && \
26449 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26451 @endif target-boehm-gc
26453 # Other targets (info, dvi, etc.)
26455 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26456 maybe-info-target-boehm-gc:
26457 @if target-boehm-gc
26458 maybe-info-target-boehm-gc: info-target-boehm-gc
26460 info-target-boehm-gc: \
26461 configure-target-boehm-gc
26462 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26465 $(SET_LIB_PATH) \
26466 $(NORMAL_TARGET_EXPORTS) \
26467 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26468 for flag in $(EXTRA_TARGET_FLAGS); do \
26469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26470 done; \
26471 (cd $(TARGET_SUBDIR)/boehm-gc && \
26472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26474 "RANLIB=$${RANLIB}" \
26475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 info) \
26477 || exit 1
26479 @endif target-boehm-gc
26481 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26482 maybe-dvi-target-boehm-gc:
26483 @if target-boehm-gc
26484 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26486 dvi-target-boehm-gc: \
26487 configure-target-boehm-gc
26488 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26489 r=`${PWD_COMMAND}`; export r; \
26490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26491 $(SET_LIB_PATH) \
26492 $(NORMAL_TARGET_EXPORTS) \
26493 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26494 for flag in $(EXTRA_TARGET_FLAGS); do \
26495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26496 done; \
26497 (cd $(TARGET_SUBDIR)/boehm-gc && \
26498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26500 "RANLIB=$${RANLIB}" \
26501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26502 dvi) \
26503 || exit 1
26505 @endif target-boehm-gc
26507 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26508 maybe-TAGS-target-boehm-gc:
26509 @if target-boehm-gc
26510 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26512 TAGS-target-boehm-gc: \
26513 configure-target-boehm-gc
26514 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26515 r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 $(SET_LIB_PATH) \
26518 $(NORMAL_TARGET_EXPORTS) \
26519 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26520 for flag in $(EXTRA_TARGET_FLAGS); do \
26521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26522 done; \
26523 (cd $(TARGET_SUBDIR)/boehm-gc && \
26524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26526 "RANLIB=$${RANLIB}" \
26527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26528 TAGS) \
26529 || exit 1
26531 @endif target-boehm-gc
26533 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26534 maybe-install-info-target-boehm-gc:
26535 @if target-boehm-gc
26536 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26538 install-info-target-boehm-gc: \
26539 configure-target-boehm-gc \
26540 info-target-boehm-gc
26541 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26542 r=`${PWD_COMMAND}`; export r; \
26543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26544 $(SET_LIB_PATH) \
26545 $(NORMAL_TARGET_EXPORTS) \
26546 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26547 for flag in $(EXTRA_TARGET_FLAGS); do \
26548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26549 done; \
26550 (cd $(TARGET_SUBDIR)/boehm-gc && \
26551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26553 "RANLIB=$${RANLIB}" \
26554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26555 install-info) \
26556 || exit 1
26558 @endif target-boehm-gc
26560 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26561 maybe-installcheck-target-boehm-gc:
26562 @if target-boehm-gc
26563 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26565 installcheck-target-boehm-gc: \
26566 configure-target-boehm-gc
26567 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26568 r=`${PWD_COMMAND}`; export r; \
26569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 $(SET_LIB_PATH) \
26571 $(NORMAL_TARGET_EXPORTS) \
26572 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26573 for flag in $(EXTRA_TARGET_FLAGS); do \
26574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26575 done; \
26576 (cd $(TARGET_SUBDIR)/boehm-gc && \
26577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26579 "RANLIB=$${RANLIB}" \
26580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26581 installcheck) \
26582 || exit 1
26584 @endif target-boehm-gc
26586 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26587 maybe-mostlyclean-target-boehm-gc:
26588 @if target-boehm-gc
26589 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26591 mostlyclean-target-boehm-gc:
26592 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26593 r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(SET_LIB_PATH) \
26596 $(NORMAL_TARGET_EXPORTS) \
26597 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26598 for flag in $(EXTRA_TARGET_FLAGS); do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 done; \
26601 (cd $(TARGET_SUBDIR)/boehm-gc && \
26602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604 "RANLIB=$${RANLIB}" \
26605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26606 mostlyclean) \
26607 || exit 1
26609 @endif target-boehm-gc
26611 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26612 maybe-clean-target-boehm-gc:
26613 @if target-boehm-gc
26614 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26616 clean-target-boehm-gc:
26617 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26618 r=`${PWD_COMMAND}`; export r; \
26619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26620 $(SET_LIB_PATH) \
26621 $(NORMAL_TARGET_EXPORTS) \
26622 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26623 for flag in $(EXTRA_TARGET_FLAGS); do \
26624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26625 done; \
26626 (cd $(TARGET_SUBDIR)/boehm-gc && \
26627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26629 "RANLIB=$${RANLIB}" \
26630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26631 clean) \
26632 || exit 1
26634 @endif target-boehm-gc
26636 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26637 maybe-distclean-target-boehm-gc:
26638 @if target-boehm-gc
26639 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26641 distclean-target-boehm-gc:
26642 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26643 r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(SET_LIB_PATH) \
26646 $(NORMAL_TARGET_EXPORTS) \
26647 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26648 for flag in $(EXTRA_TARGET_FLAGS); do \
26649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26650 done; \
26651 (cd $(TARGET_SUBDIR)/boehm-gc && \
26652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26654 "RANLIB=$${RANLIB}" \
26655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26656 distclean) \
26657 || exit 1
26659 @endif target-boehm-gc
26661 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26662 maybe-maintainer-clean-target-boehm-gc:
26663 @if target-boehm-gc
26664 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26666 maintainer-clean-target-boehm-gc:
26667 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26668 r=`${PWD_COMMAND}`; export r; \
26669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 $(SET_LIB_PATH) \
26671 $(NORMAL_TARGET_EXPORTS) \
26672 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26673 for flag in $(EXTRA_TARGET_FLAGS); do \
26674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 done; \
26676 (cd $(TARGET_SUBDIR)/boehm-gc && \
26677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26679 "RANLIB=$${RANLIB}" \
26680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26681 maintainer-clean) \
26682 || exit 1
26684 @endif target-boehm-gc
26687 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26688 maybe-configure-target-qthreads:
26689 @if target-qthreads
26690 maybe-configure-target-qthreads: configure-target-qthreads
26692 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26693 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26694 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26695 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26696 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26698 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26699 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26700 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26701 r=`${PWD_COMMAND}`; export r; \
26702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26703 $(SET_LIB_PATH) \
26704 $(NORMAL_TARGET_EXPORTS) \
26705 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26706 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26707 case $(srcdir) in \
26708 /* | [A-Za-z]:[\\/]*) \
26709 topdir=$(srcdir) ;; \
26710 *) \
26711 case "$(TARGET_SUBDIR)" in \
26712 .) topdir="../$(srcdir)" ;; \
26713 *) topdir="../../$(srcdir)" ;; \
26714 esac ;; \
26715 esac; \
26716 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26717 libsrcdir="$$s/qthreads"; \
26718 rm -f no-such-file || : ; \
26719 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26720 $(TARGET_CONFIGARGS) $${srcdiroption} \
26721 --with-target-subdir="$(TARGET_SUBDIR)" \
26722 || exit 1
26723 @endif target-qthreads
26725 .PHONY: all-target-qthreads maybe-all-target-qthreads
26726 maybe-all-target-qthreads:
26727 @if target-qthreads
26728 maybe-all-target-qthreads: all-target-qthreads
26729 all-target-qthreads: configure-target-qthreads
26730 @r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(SET_LIB_PATH) \
26733 $(NORMAL_TARGET_EXPORTS) \
26734 (cd $(TARGET_SUBDIR)/qthreads && \
26735 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26736 @endif target-qthreads
26738 .PHONY: check-target-qthreads maybe-check-target-qthreads
26739 maybe-check-target-qthreads:
26740 @if target-qthreads
26741 maybe-check-target-qthreads: check-target-qthreads
26743 check-target-qthreads:
26744 @r=`${PWD_COMMAND}`; export r; \
26745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26746 $(SET_LIB_PATH) \
26747 $(NORMAL_TARGET_EXPORTS) \
26748 (cd $(TARGET_SUBDIR)/qthreads && \
26749 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26751 @endif target-qthreads
26753 .PHONY: install-target-qthreads maybe-install-target-qthreads
26754 maybe-install-target-qthreads:
26755 @if target-qthreads
26756 maybe-install-target-qthreads: install-target-qthreads
26758 install-target-qthreads: installdirs
26759 @r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26761 $(SET_LIB_PATH) \
26762 $(NORMAL_TARGET_EXPORTS) \
26763 (cd $(TARGET_SUBDIR)/qthreads && \
26764 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26766 @endif target-qthreads
26768 # Other targets (info, dvi, etc.)
26770 .PHONY: maybe-info-target-qthreads info-target-qthreads
26771 maybe-info-target-qthreads:
26772 @if target-qthreads
26773 maybe-info-target-qthreads: info-target-qthreads
26775 info-target-qthreads: \
26776 configure-target-qthreads
26777 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26778 r=`${PWD_COMMAND}`; export r; \
26779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(SET_LIB_PATH) \
26781 $(NORMAL_TARGET_EXPORTS) \
26782 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26783 for flag in $(EXTRA_TARGET_FLAGS); do \
26784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26785 done; \
26786 (cd $(TARGET_SUBDIR)/qthreads && \
26787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26789 "RANLIB=$${RANLIB}" \
26790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26791 info) \
26792 || exit 1
26794 @endif target-qthreads
26796 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26797 maybe-dvi-target-qthreads:
26798 @if target-qthreads
26799 maybe-dvi-target-qthreads: dvi-target-qthreads
26801 dvi-target-qthreads: \
26802 configure-target-qthreads
26803 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26804 r=`${PWD_COMMAND}`; export r; \
26805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 $(SET_LIB_PATH) \
26807 $(NORMAL_TARGET_EXPORTS) \
26808 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26809 for flag in $(EXTRA_TARGET_FLAGS); do \
26810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26811 done; \
26812 (cd $(TARGET_SUBDIR)/qthreads && \
26813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26815 "RANLIB=$${RANLIB}" \
26816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26817 dvi) \
26818 || exit 1
26820 @endif target-qthreads
26822 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26823 maybe-TAGS-target-qthreads:
26824 @if target-qthreads
26825 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26827 TAGS-target-qthreads: \
26828 configure-target-qthreads
26829 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26830 r=`${PWD_COMMAND}`; export r; \
26831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26832 $(SET_LIB_PATH) \
26833 $(NORMAL_TARGET_EXPORTS) \
26834 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26835 for flag in $(EXTRA_TARGET_FLAGS); do \
26836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26837 done; \
26838 (cd $(TARGET_SUBDIR)/qthreads && \
26839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26841 "RANLIB=$${RANLIB}" \
26842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26843 TAGS) \
26844 || exit 1
26846 @endif target-qthreads
26848 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26849 maybe-install-info-target-qthreads:
26850 @if target-qthreads
26851 maybe-install-info-target-qthreads: install-info-target-qthreads
26853 install-info-target-qthreads: \
26854 configure-target-qthreads \
26855 info-target-qthreads
26856 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26857 r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26859 $(SET_LIB_PATH) \
26860 $(NORMAL_TARGET_EXPORTS) \
26861 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26862 for flag in $(EXTRA_TARGET_FLAGS); do \
26863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26864 done; \
26865 (cd $(TARGET_SUBDIR)/qthreads && \
26866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26868 "RANLIB=$${RANLIB}" \
26869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26870 install-info) \
26871 || exit 1
26873 @endif target-qthreads
26875 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26876 maybe-installcheck-target-qthreads:
26877 @if target-qthreads
26878 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26880 installcheck-target-qthreads: \
26881 configure-target-qthreads
26882 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26883 r=`${PWD_COMMAND}`; export r; \
26884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885 $(SET_LIB_PATH) \
26886 $(NORMAL_TARGET_EXPORTS) \
26887 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26888 for flag in $(EXTRA_TARGET_FLAGS); do \
26889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26890 done; \
26891 (cd $(TARGET_SUBDIR)/qthreads && \
26892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26894 "RANLIB=$${RANLIB}" \
26895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26896 installcheck) \
26897 || exit 1
26899 @endif target-qthreads
26901 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26902 maybe-mostlyclean-target-qthreads:
26903 @if target-qthreads
26904 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26906 mostlyclean-target-qthreads:
26907 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26908 r=`${PWD_COMMAND}`; export r; \
26909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26910 $(SET_LIB_PATH) \
26911 $(NORMAL_TARGET_EXPORTS) \
26912 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26913 for flag in $(EXTRA_TARGET_FLAGS); do \
26914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26915 done; \
26916 (cd $(TARGET_SUBDIR)/qthreads && \
26917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26919 "RANLIB=$${RANLIB}" \
26920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26921 mostlyclean) \
26922 || exit 1
26924 @endif target-qthreads
26926 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
26927 maybe-clean-target-qthreads:
26928 @if target-qthreads
26929 maybe-clean-target-qthreads: clean-target-qthreads
26931 clean-target-qthreads:
26932 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26933 r=`${PWD_COMMAND}`; export r; \
26934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(SET_LIB_PATH) \
26936 $(NORMAL_TARGET_EXPORTS) \
26937 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
26938 for flag in $(EXTRA_TARGET_FLAGS); do \
26939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26940 done; \
26941 (cd $(TARGET_SUBDIR)/qthreads && \
26942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26944 "RANLIB=$${RANLIB}" \
26945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26946 clean) \
26947 || exit 1
26949 @endif target-qthreads
26951 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
26952 maybe-distclean-target-qthreads:
26953 @if target-qthreads
26954 maybe-distclean-target-qthreads: distclean-target-qthreads
26956 distclean-target-qthreads:
26957 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26958 r=`${PWD_COMMAND}`; export r; \
26959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26960 $(SET_LIB_PATH) \
26961 $(NORMAL_TARGET_EXPORTS) \
26962 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
26963 for flag in $(EXTRA_TARGET_FLAGS); do \
26964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26965 done; \
26966 (cd $(TARGET_SUBDIR)/qthreads && \
26967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26969 "RANLIB=$${RANLIB}" \
26970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26971 distclean) \
26972 || exit 1
26974 @endif target-qthreads
26976 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
26977 maybe-maintainer-clean-target-qthreads:
26978 @if target-qthreads
26979 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
26981 maintainer-clean-target-qthreads:
26982 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26983 r=`${PWD_COMMAND}`; export r; \
26984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 $(SET_LIB_PATH) \
26986 $(NORMAL_TARGET_EXPORTS) \
26987 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
26988 for flag in $(EXTRA_TARGET_FLAGS); do \
26989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26990 done; \
26991 (cd $(TARGET_SUBDIR)/qthreads && \
26992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26994 "RANLIB=$${RANLIB}" \
26995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26996 maintainer-clean) \
26997 || exit 1
26999 @endif target-qthreads
27002 .PHONY: configure-target-rda maybe-configure-target-rda
27003 maybe-configure-target-rda:
27004 @if target-rda
27005 maybe-configure-target-rda: configure-target-rda
27007 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27008 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27010 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27011 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27013 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27014 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27015 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27016 r=`${PWD_COMMAND}`; export r; \
27017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27018 $(SET_LIB_PATH) \
27019 $(NORMAL_TARGET_EXPORTS) \
27020 echo Configuring in $(TARGET_SUBDIR)/rda; \
27021 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27022 case $(srcdir) in \
27023 /* | [A-Za-z]:[\\/]*) \
27024 topdir=$(srcdir) ;; \
27025 *) \
27026 case "$(TARGET_SUBDIR)" in \
27027 .) topdir="../$(srcdir)" ;; \
27028 *) topdir="../../$(srcdir)" ;; \
27029 esac ;; \
27030 esac; \
27031 srcdiroption="--srcdir=$${topdir}/rda"; \
27032 libsrcdir="$$s/rda"; \
27033 rm -f no-such-file || : ; \
27034 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27035 $(TARGET_CONFIGARGS) $${srcdiroption} \
27036 --with-target-subdir="$(TARGET_SUBDIR)" \
27037 || exit 1
27038 @endif target-rda
27040 .PHONY: all-target-rda maybe-all-target-rda
27041 maybe-all-target-rda:
27042 @if target-rda
27043 maybe-all-target-rda: all-target-rda
27044 all-target-rda: configure-target-rda
27045 @r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27047 $(SET_LIB_PATH) \
27048 $(NORMAL_TARGET_EXPORTS) \
27049 (cd $(TARGET_SUBDIR)/rda && \
27050 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27051 @endif target-rda
27053 .PHONY: check-target-rda maybe-check-target-rda
27054 maybe-check-target-rda:
27055 @if target-rda
27056 maybe-check-target-rda: check-target-rda
27058 check-target-rda:
27059 @r=`${PWD_COMMAND}`; export r; \
27060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27061 $(SET_LIB_PATH) \
27062 $(NORMAL_TARGET_EXPORTS) \
27063 (cd $(TARGET_SUBDIR)/rda && \
27064 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27066 @endif target-rda
27068 .PHONY: install-target-rda maybe-install-target-rda
27069 maybe-install-target-rda:
27070 @if target-rda
27071 maybe-install-target-rda: install-target-rda
27073 install-target-rda: installdirs
27074 @r=`${PWD_COMMAND}`; export r; \
27075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27076 $(SET_LIB_PATH) \
27077 $(NORMAL_TARGET_EXPORTS) \
27078 (cd $(TARGET_SUBDIR)/rda && \
27079 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27081 @endif target-rda
27083 # Other targets (info, dvi, etc.)
27085 .PHONY: maybe-info-target-rda info-target-rda
27086 maybe-info-target-rda:
27087 @if target-rda
27088 maybe-info-target-rda: info-target-rda
27090 info-target-rda: \
27091 configure-target-rda
27092 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27093 r=`${PWD_COMMAND}`; export r; \
27094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 $(SET_LIB_PATH) \
27096 $(NORMAL_TARGET_EXPORTS) \
27097 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27098 for flag in $(EXTRA_TARGET_FLAGS); do \
27099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27100 done; \
27101 (cd $(TARGET_SUBDIR)/rda && \
27102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27104 "RANLIB=$${RANLIB}" \
27105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27106 info) \
27107 || exit 1
27109 @endif target-rda
27111 .PHONY: maybe-dvi-target-rda dvi-target-rda
27112 maybe-dvi-target-rda:
27113 @if target-rda
27114 maybe-dvi-target-rda: dvi-target-rda
27116 dvi-target-rda: \
27117 configure-target-rda
27118 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27119 r=`${PWD_COMMAND}`; export r; \
27120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27121 $(SET_LIB_PATH) \
27122 $(NORMAL_TARGET_EXPORTS) \
27123 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27124 for flag in $(EXTRA_TARGET_FLAGS); do \
27125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27126 done; \
27127 (cd $(TARGET_SUBDIR)/rda && \
27128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27130 "RANLIB=$${RANLIB}" \
27131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27132 dvi) \
27133 || exit 1
27135 @endif target-rda
27137 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27138 maybe-TAGS-target-rda:
27139 @if target-rda
27140 maybe-TAGS-target-rda: TAGS-target-rda
27142 TAGS-target-rda: \
27143 configure-target-rda
27144 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27145 r=`${PWD_COMMAND}`; export r; \
27146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27147 $(SET_LIB_PATH) \
27148 $(NORMAL_TARGET_EXPORTS) \
27149 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27150 for flag in $(EXTRA_TARGET_FLAGS); do \
27151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27152 done; \
27153 (cd $(TARGET_SUBDIR)/rda && \
27154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27156 "RANLIB=$${RANLIB}" \
27157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27158 TAGS) \
27159 || exit 1
27161 @endif target-rda
27163 .PHONY: maybe-install-info-target-rda install-info-target-rda
27164 maybe-install-info-target-rda:
27165 @if target-rda
27166 maybe-install-info-target-rda: install-info-target-rda
27168 install-info-target-rda: \
27169 configure-target-rda \
27170 info-target-rda
27171 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27172 r=`${PWD_COMMAND}`; export r; \
27173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27174 $(SET_LIB_PATH) \
27175 $(NORMAL_TARGET_EXPORTS) \
27176 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27177 for flag in $(EXTRA_TARGET_FLAGS); do \
27178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27179 done; \
27180 (cd $(TARGET_SUBDIR)/rda && \
27181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27183 "RANLIB=$${RANLIB}" \
27184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27185 install-info) \
27186 || exit 1
27188 @endif target-rda
27190 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27191 maybe-installcheck-target-rda:
27192 @if target-rda
27193 maybe-installcheck-target-rda: installcheck-target-rda
27195 installcheck-target-rda: \
27196 configure-target-rda
27197 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27198 r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27200 $(SET_LIB_PATH) \
27201 $(NORMAL_TARGET_EXPORTS) \
27202 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27203 for flag in $(EXTRA_TARGET_FLAGS); do \
27204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27205 done; \
27206 (cd $(TARGET_SUBDIR)/rda && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27211 installcheck) \
27212 || exit 1
27214 @endif target-rda
27216 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27217 maybe-mostlyclean-target-rda:
27218 @if target-rda
27219 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27221 mostlyclean-target-rda:
27222 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27223 r=`${PWD_COMMAND}`; export r; \
27224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27225 $(SET_LIB_PATH) \
27226 $(NORMAL_TARGET_EXPORTS) \
27227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27228 for flag in $(EXTRA_TARGET_FLAGS); do \
27229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27230 done; \
27231 (cd $(TARGET_SUBDIR)/rda && \
27232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27234 "RANLIB=$${RANLIB}" \
27235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27236 mostlyclean) \
27237 || exit 1
27239 @endif target-rda
27241 .PHONY: maybe-clean-target-rda clean-target-rda
27242 maybe-clean-target-rda:
27243 @if target-rda
27244 maybe-clean-target-rda: clean-target-rda
27246 clean-target-rda:
27247 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27248 r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(SET_LIB_PATH) \
27251 $(NORMAL_TARGET_EXPORTS) \
27252 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27253 for flag in $(EXTRA_TARGET_FLAGS); do \
27254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27255 done; \
27256 (cd $(TARGET_SUBDIR)/rda && \
27257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27259 "RANLIB=$${RANLIB}" \
27260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27261 clean) \
27262 || exit 1
27264 @endif target-rda
27266 .PHONY: maybe-distclean-target-rda distclean-target-rda
27267 maybe-distclean-target-rda:
27268 @if target-rda
27269 maybe-distclean-target-rda: distclean-target-rda
27271 distclean-target-rda:
27272 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27273 r=`${PWD_COMMAND}`; export r; \
27274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27275 $(SET_LIB_PATH) \
27276 $(NORMAL_TARGET_EXPORTS) \
27277 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27278 for flag in $(EXTRA_TARGET_FLAGS); do \
27279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27280 done; \
27281 (cd $(TARGET_SUBDIR)/rda && \
27282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27284 "RANLIB=$${RANLIB}" \
27285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27286 distclean) \
27287 || exit 1
27289 @endif target-rda
27291 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27292 maybe-maintainer-clean-target-rda:
27293 @if target-rda
27294 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27296 maintainer-clean-target-rda:
27297 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27298 r=`${PWD_COMMAND}`; export r; \
27299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27300 $(SET_LIB_PATH) \
27301 $(NORMAL_TARGET_EXPORTS) \
27302 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27303 for flag in $(EXTRA_TARGET_FLAGS); do \
27304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27305 done; \
27306 (cd $(TARGET_SUBDIR)/rda && \
27307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27309 "RANLIB=$${RANLIB}" \
27310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27311 maintainer-clean) \
27312 || exit 1
27314 @endif target-rda
27317 .PHONY: configure-target-libada maybe-configure-target-libada
27318 maybe-configure-target-libada:
27319 @if target-libada
27320 maybe-configure-target-libada: configure-target-libada
27322 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27323 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27324 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27325 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27326 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27328 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27329 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27330 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27331 r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(SET_LIB_PATH) \
27334 $(NORMAL_TARGET_EXPORTS) \
27335 echo Configuring in $(TARGET_SUBDIR)/libada; \
27336 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27337 case $(srcdir) in \
27338 /* | [A-Za-z]:[\\/]*) \
27339 topdir=$(srcdir) ;; \
27340 *) \
27341 case "$(TARGET_SUBDIR)" in \
27342 .) topdir="../$(srcdir)" ;; \
27343 *) topdir="../../$(srcdir)" ;; \
27344 esac ;; \
27345 esac; \
27346 srcdiroption="--srcdir=$${topdir}/libada"; \
27347 libsrcdir="$$s/libada"; \
27348 rm -f no-such-file || : ; \
27349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27350 $(TARGET_CONFIGARGS) $${srcdiroption} \
27351 --with-target-subdir="$(TARGET_SUBDIR)" \
27352 || exit 1
27353 @endif target-libada
27355 .PHONY: all-target-libada maybe-all-target-libada
27356 maybe-all-target-libada:
27357 @if target-libada
27358 maybe-all-target-libada: all-target-libada
27359 all-target-libada: configure-target-libada
27360 @r=`${PWD_COMMAND}`; export r; \
27361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27362 $(SET_LIB_PATH) \
27363 $(NORMAL_TARGET_EXPORTS) \
27364 (cd $(TARGET_SUBDIR)/libada && \
27365 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27366 @endif target-libada
27368 .PHONY: check-target-libada maybe-check-target-libada
27369 maybe-check-target-libada:
27370 @if target-libada
27371 maybe-check-target-libada: check-target-libada
27373 check-target-libada:
27374 @r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27376 $(SET_LIB_PATH) \
27377 $(NORMAL_TARGET_EXPORTS) \
27378 (cd $(TARGET_SUBDIR)/libada && \
27379 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27381 @endif target-libada
27383 .PHONY: install-target-libada maybe-install-target-libada
27384 maybe-install-target-libada:
27385 @if target-libada
27386 maybe-install-target-libada: install-target-libada
27388 install-target-libada: installdirs
27389 @r=`${PWD_COMMAND}`; export r; \
27390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 $(SET_LIB_PATH) \
27392 $(NORMAL_TARGET_EXPORTS) \
27393 (cd $(TARGET_SUBDIR)/libada && \
27394 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27396 @endif target-libada
27398 # Other targets (info, dvi, etc.)
27400 .PHONY: maybe-info-target-libada info-target-libada
27401 maybe-info-target-libada:
27402 @if target-libada
27403 maybe-info-target-libada: info-target-libada
27405 info-target-libada: \
27406 configure-target-libada
27407 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(SET_LIB_PATH) \
27411 $(NORMAL_TARGET_EXPORTS) \
27412 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27413 for flag in $(EXTRA_TARGET_FLAGS); do \
27414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27415 done; \
27416 (cd $(TARGET_SUBDIR)/libada && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27421 info) \
27422 || exit 1
27424 @endif target-libada
27426 .PHONY: maybe-dvi-target-libada dvi-target-libada
27427 maybe-dvi-target-libada:
27428 @if target-libada
27429 maybe-dvi-target-libada: dvi-target-libada
27431 dvi-target-libada: \
27432 configure-target-libada
27433 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27434 r=`${PWD_COMMAND}`; export r; \
27435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27436 $(SET_LIB_PATH) \
27437 $(NORMAL_TARGET_EXPORTS) \
27438 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27439 for flag in $(EXTRA_TARGET_FLAGS); do \
27440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27441 done; \
27442 (cd $(TARGET_SUBDIR)/libada && \
27443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27445 "RANLIB=$${RANLIB}" \
27446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27447 dvi) \
27448 || exit 1
27450 @endif target-libada
27452 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27453 maybe-TAGS-target-libada:
27454 @if target-libada
27455 maybe-TAGS-target-libada: TAGS-target-libada
27457 TAGS-target-libada: \
27458 configure-target-libada
27459 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27460 r=`${PWD_COMMAND}`; export r; \
27461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27462 $(SET_LIB_PATH) \
27463 $(NORMAL_TARGET_EXPORTS) \
27464 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27465 for flag in $(EXTRA_TARGET_FLAGS); do \
27466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27467 done; \
27468 (cd $(TARGET_SUBDIR)/libada && \
27469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27471 "RANLIB=$${RANLIB}" \
27472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27473 TAGS) \
27474 || exit 1
27476 @endif target-libada
27478 .PHONY: maybe-install-info-target-libada install-info-target-libada
27479 maybe-install-info-target-libada:
27480 @if target-libada
27481 maybe-install-info-target-libada: install-info-target-libada
27483 install-info-target-libada: \
27484 configure-target-libada \
27485 info-target-libada
27486 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27489 $(SET_LIB_PATH) \
27490 $(NORMAL_TARGET_EXPORTS) \
27491 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27492 for flag in $(EXTRA_TARGET_FLAGS); do \
27493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27494 done; \
27495 (cd $(TARGET_SUBDIR)/libada && \
27496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27498 "RANLIB=$${RANLIB}" \
27499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27500 install-info) \
27501 || exit 1
27503 @endif target-libada
27505 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27506 maybe-installcheck-target-libada:
27507 @if target-libada
27508 maybe-installcheck-target-libada: installcheck-target-libada
27510 installcheck-target-libada: \
27511 configure-target-libada
27512 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27513 r=`${PWD_COMMAND}`; export r; \
27514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27515 $(SET_LIB_PATH) \
27516 $(NORMAL_TARGET_EXPORTS) \
27517 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27518 for flag in $(EXTRA_TARGET_FLAGS); do \
27519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27520 done; \
27521 (cd $(TARGET_SUBDIR)/libada && \
27522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27524 "RANLIB=$${RANLIB}" \
27525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27526 installcheck) \
27527 || exit 1
27529 @endif target-libada
27531 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27532 maybe-mostlyclean-target-libada:
27533 @if target-libada
27534 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27536 mostlyclean-target-libada:
27537 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27538 r=`${PWD_COMMAND}`; export r; \
27539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 $(SET_LIB_PATH) \
27541 $(NORMAL_TARGET_EXPORTS) \
27542 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27543 for flag in $(EXTRA_TARGET_FLAGS); do \
27544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27545 done; \
27546 (cd $(TARGET_SUBDIR)/libada && \
27547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27549 "RANLIB=$${RANLIB}" \
27550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27551 mostlyclean) \
27552 || exit 1
27554 @endif target-libada
27556 .PHONY: maybe-clean-target-libada clean-target-libada
27557 maybe-clean-target-libada:
27558 @if target-libada
27559 maybe-clean-target-libada: clean-target-libada
27561 clean-target-libada:
27562 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27563 r=`${PWD_COMMAND}`; export r; \
27564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 $(SET_LIB_PATH) \
27566 $(NORMAL_TARGET_EXPORTS) \
27567 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27568 for flag in $(EXTRA_TARGET_FLAGS); do \
27569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27570 done; \
27571 (cd $(TARGET_SUBDIR)/libada && \
27572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27574 "RANLIB=$${RANLIB}" \
27575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27576 clean) \
27577 || exit 1
27579 @endif target-libada
27581 .PHONY: maybe-distclean-target-libada distclean-target-libada
27582 maybe-distclean-target-libada:
27583 @if target-libada
27584 maybe-distclean-target-libada: distclean-target-libada
27586 distclean-target-libada:
27587 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27588 r=`${PWD_COMMAND}`; export r; \
27589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(SET_LIB_PATH) \
27591 $(NORMAL_TARGET_EXPORTS) \
27592 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27593 for flag in $(EXTRA_TARGET_FLAGS); do \
27594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27595 done; \
27596 (cd $(TARGET_SUBDIR)/libada && \
27597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27599 "RANLIB=$${RANLIB}" \
27600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27601 distclean) \
27602 || exit 1
27604 @endif target-libada
27606 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27607 maybe-maintainer-clean-target-libada:
27608 @if target-libada
27609 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27611 maintainer-clean-target-libada:
27612 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27613 r=`${PWD_COMMAND}`; export r; \
27614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27615 $(SET_LIB_PATH) \
27616 $(NORMAL_TARGET_EXPORTS) \
27617 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27618 for flag in $(EXTRA_TARGET_FLAGS); do \
27619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27620 done; \
27621 (cd $(TARGET_SUBDIR)/libada && \
27622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27624 "RANLIB=$${RANLIB}" \
27625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27626 maintainer-clean) \
27627 || exit 1
27629 @endif target-libada
27633 # ----------
27634 # GCC module
27635 # ----------
27637 # Unfortunately, while gcc _should_ be a host module,
27638 # libgcc is a target module, and gen* programs are
27639 # build modules. So GCC is a sort of hybrid.
27641 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27642 # Don't use shared host config.cache, as it will confuse later
27643 # directories; GCC wants slightly different values for some
27644 # precious variables. *sigh*
27646 # We must skip configuring if toplevel bootstrap is going.
27647 .PHONY: configure-gcc maybe-configure-gcc
27648 maybe-configure-gcc:
27649 @if gcc
27650 maybe-configure-gcc: configure-gcc
27651 configure-gcc:
27652 @endif gcc
27653 @if gcc-no-bootstrap
27654 @test ! -f gcc/Makefile || exit 0; \
27655 [ -d gcc ] || mkdir gcc; \
27656 r=`${PWD_COMMAND}`; export r; \
27657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27658 $(GCC_HOST_EXPORTS) \
27659 echo Configuring in gcc; \
27660 cd gcc || exit 1; \
27661 case $(srcdir) in \
27662 \.) \
27663 srcdiroption="--srcdir=."; \
27664 libsrcdir=".";; \
27665 /* | [A-Za-z]:[\\/]*) \
27666 srcdiroption="--srcdir=$(srcdir)/gcc"; \
27667 libsrcdir="$$s/gcc";; \
27668 *) \
27669 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
27670 libsrcdir="$$s/gcc";; \
27671 esac; \
27672 $(SHELL) $${libsrcdir}/configure \
27673 $(HOST_CONFIGARGS) $${srcdiroption} \
27674 || exit 1
27675 @endif gcc-no-bootstrap
27677 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
27678 # causes trouble. This wart will be fixed eventually by moving
27679 # the bootstrap behavior to this file.
27680 .PHONY: all-gcc maybe-all-gcc
27681 maybe-all-gcc:
27682 @if gcc
27683 maybe-all-gcc: all-gcc
27684 all-gcc: configure-gcc
27685 @endif gcc
27686 @if gcc-no-bootstrap
27687 r=`${PWD_COMMAND}`; export r; \
27688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27689 $(SET_LIB_PATH) \
27690 $(GCC_HOST_EXPORTS) \
27691 if [ -f gcc/stage_last ] ; then \
27692 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
27693 else \
27694 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
27697 # Building GCC uses some tools for rebuilding "source" files
27698 # like texinfo, bison/byacc, etc. So we must depend on those.
27700 # While building GCC, it may be necessary to run various target
27701 # programs like the assembler, linker, etc. So we depend on
27702 # those too.
27704 # In theory, on an SMP all those dependencies can be resolved
27705 # in parallel.
27707 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27708 .PHONY: $(GCC_STRAP_TARGETS)
27709 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
27710 @r=`${PWD_COMMAND}`; export r; \
27711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27712 $(SET_LIB_PATH) \
27713 $(GCC_HOST_EXPORTS) \
27714 echo "Bootstrapping the compiler"; \
27715 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27716 @r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 case "$@" in \
27719 *bootstrap4-lean ) \
27720 msg="Comparing stage3 and stage4 of the compiler"; \
27721 compare=compare3-lean ;; \
27722 *bootstrap4 ) \
27723 msg="Comparing stage3 and stage4 of the compiler"; \
27724 compare=compare3 ;; \
27725 *-lean ) \
27726 msg="Comparing stage2 and stage3 of the compiler"; \
27727 compare=compare-lean ;; \
27728 * ) \
27729 msg="Comparing stage2 and stage3 of the compiler"; \
27730 compare=compare ;; \
27731 esac; \
27732 $(SET_LIB_PATH) \
27733 $(GCC_HOST_EXPORTS) \
27734 echo "$$msg"; \
27735 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27736 @r=`${PWD_COMMAND}`; export r; \
27737 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27738 $(SET_LIB_PATH) \
27739 echo "Building runtime libraries"; \
27740 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27742 profiledbootstrap: all-bootstrap configure-gcc
27743 @r=`${PWD_COMMAND}`; export r; \
27744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27745 $(SET_LIB_PATH) \
27746 $(GCC_HOST_EXPORTS) \
27747 echo "Bootstrapping the compiler"; \
27748 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27749 @r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27751 $(SET_LIB_PATH) \
27752 echo "Building runtime libraries and training compiler"; \
27753 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27754 @r=`${PWD_COMMAND}`; export r; \
27755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 $(SET_LIB_PATH) \
27757 $(GCC_HOST_EXPORTS) \
27758 echo "Building feedback based compiler"; \
27759 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27761 .PHONY: cross
27762 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
27763 @r=`${PWD_COMMAND}`; export r; \
27764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27765 $(SET_LIB_PATH) \
27766 $(GCC_HOST_EXPORTS) \
27767 echo "Building the C and C++ compiler"; \
27768 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27769 @r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27771 $(SET_LIB_PATH) \
27772 echo "Building runtime libraries"; \
27773 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27774 @endif gcc-no-bootstrap
27776 .PHONY: check-gcc maybe-check-gcc
27777 maybe-check-gcc:
27778 @if gcc
27779 maybe-check-gcc: check-gcc
27780 check-gcc:
27781 @if [ -f ./gcc/Makefile ] ; then \
27782 r=`${PWD_COMMAND}`; export r; \
27783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 $(SET_LIB_PATH) \
27785 $(GCC_HOST_EXPORTS) \
27786 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
27787 else \
27788 true; \
27791 .PHONY: check-gcc-c++
27792 check-gcc-c++:
27793 @if [ -f ./gcc/Makefile ] ; then \
27794 r=`${PWD_COMMAND}`; export r; \
27795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27796 $(SET_LIB_PATH) \
27797 $(GCC_HOST_EXPORTS) \
27798 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27799 else \
27800 true; \
27803 .PHONY: check-c++
27804 check-c++: check-target-libstdc++-v3 check-gcc-c++
27805 @endif gcc
27807 .PHONY: install-gcc maybe-install-gcc
27808 maybe-install-gcc:
27809 @if gcc
27810 maybe-install-gcc: install-gcc
27811 install-gcc:
27812 @if [ -f ./gcc/Makefile ] ; then \
27813 r=`${PWD_COMMAND}`; export r; \
27814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27815 $(SET_LIB_PATH) \
27816 $(GCC_HOST_EXPORTS) \
27817 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27818 else \
27819 true; \
27821 @endif gcc
27823 # Install the gcc headers files, but not the fixed include files,
27824 # which Cygnus is not allowed to distribute. This rule is very
27825 # dependent on the workings of the gcc Makefile.in.
27826 .PHONY: gcc-no-fixedincludes
27827 gcc-no-fixedincludes:
27828 @if [ -f ./gcc/Makefile ]; then \
27829 rm -rf gcc/tmp-include; \
27830 mv gcc/include gcc/tmp-include 2>/dev/null; \
27831 mkdir gcc/include; \
27832 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27833 touch gcc/stmp-fixinc gcc/include/fixed; \
27834 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27835 r=`${PWD_COMMAND}`; export r; \
27836 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27837 $(SET_LIB_PATH) \
27838 $(GCC_HOST_EXPORTS) \
27839 (cd ./gcc && \
27840 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27841 rm -rf gcc/include; \
27842 mv gcc/tmp-include gcc/include 2>/dev/null; \
27843 else true; fi
27845 # Other targets (dvi, info, etc.)
27847 .PHONY: maybe-info-gcc info-gcc
27848 maybe-info-gcc:
27849 @if gcc
27850 maybe-info-gcc: info-gcc
27851 info-gcc: \
27852 configure-gcc
27853 @[ -f ./gcc/Makefile ] || exit 0; \
27854 r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(SET_LIB_PATH) \
27857 for flag in $(EXTRA_GCC_FLAGS); do \
27858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27859 done; \
27860 $(GCC_HOST_EXPORTS) \
27861 echo "Doing info in gcc" ; \
27862 (cd gcc && \
27863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27865 "RANLIB=$${RANLIB}" \
27866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27867 info) \
27868 || exit 1
27869 @endif gcc
27872 .PHONY: maybe-dvi-gcc dvi-gcc
27873 maybe-dvi-gcc:
27874 @if gcc
27875 maybe-dvi-gcc: dvi-gcc
27876 dvi-gcc: \
27877 configure-gcc
27878 @[ -f ./gcc/Makefile ] || exit 0; \
27879 r=`${PWD_COMMAND}`; export r; \
27880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27881 $(SET_LIB_PATH) \
27882 for flag in $(EXTRA_GCC_FLAGS); do \
27883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27884 done; \
27885 $(GCC_HOST_EXPORTS) \
27886 echo "Doing dvi in gcc" ; \
27887 (cd gcc && \
27888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890 "RANLIB=$${RANLIB}" \
27891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27892 dvi) \
27893 || exit 1
27894 @endif gcc
27897 .PHONY: maybe-TAGS-gcc TAGS-gcc
27898 maybe-TAGS-gcc:
27899 @if gcc
27900 maybe-TAGS-gcc: TAGS-gcc
27901 TAGS-gcc: \
27902 configure-gcc
27903 @[ -f ./gcc/Makefile ] || exit 0; \
27904 r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 $(SET_LIB_PATH) \
27907 for flag in $(EXTRA_GCC_FLAGS); do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 done; \
27910 $(GCC_HOST_EXPORTS) \
27911 echo "Doing TAGS in gcc" ; \
27912 (cd gcc && \
27913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27915 "RANLIB=$${RANLIB}" \
27916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27917 TAGS) \
27918 || exit 1
27919 @endif gcc
27922 .PHONY: maybe-install-info-gcc install-info-gcc
27923 maybe-install-info-gcc:
27924 @if gcc
27925 maybe-install-info-gcc: install-info-gcc
27926 install-info-gcc: \
27927 configure-gcc \
27928 info-gcc
27929 @[ -f ./gcc/Makefile ] || exit 0; \
27930 r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(SET_LIB_PATH) \
27933 for flag in $(EXTRA_GCC_FLAGS); do \
27934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27935 done; \
27936 $(GCC_HOST_EXPORTS) \
27937 echo "Doing install-info in gcc" ; \
27938 (cd gcc && \
27939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27941 "RANLIB=$${RANLIB}" \
27942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 install-info) \
27944 || exit 1
27945 @endif gcc
27948 .PHONY: maybe-installcheck-gcc installcheck-gcc
27949 maybe-installcheck-gcc:
27950 @if gcc
27951 maybe-installcheck-gcc: installcheck-gcc
27952 installcheck-gcc: \
27953 configure-gcc
27954 @[ -f ./gcc/Makefile ] || exit 0; \
27955 r=`${PWD_COMMAND}`; export r; \
27956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(SET_LIB_PATH) \
27958 for flag in $(EXTRA_GCC_FLAGS); do \
27959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27960 done; \
27961 $(GCC_HOST_EXPORTS) \
27962 echo "Doing installcheck in gcc" ; \
27963 (cd gcc && \
27964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27966 "RANLIB=$${RANLIB}" \
27967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27968 installcheck) \
27969 || exit 1
27970 @endif gcc
27973 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
27974 maybe-mostlyclean-gcc:
27975 @if gcc
27976 maybe-mostlyclean-gcc: mostlyclean-gcc
27977 mostlyclean-gcc:
27978 @[ -f ./gcc/Makefile ] || exit 0; \
27979 r=`${PWD_COMMAND}`; export r; \
27980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27981 $(SET_LIB_PATH) \
27982 for flag in $(EXTRA_GCC_FLAGS); do \
27983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27984 done; \
27985 $(GCC_HOST_EXPORTS) \
27986 echo "Doing mostlyclean in gcc" ; \
27987 (cd gcc && \
27988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27990 "RANLIB=$${RANLIB}" \
27991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27992 mostlyclean) \
27993 || exit 1
27994 @endif gcc
27997 .PHONY: maybe-clean-gcc clean-gcc
27998 maybe-clean-gcc:
27999 @if gcc
28000 maybe-clean-gcc: clean-gcc
28001 clean-gcc:
28002 @[ -f ./gcc/Makefile ] || exit 0; \
28003 r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28005 $(SET_LIB_PATH) \
28006 for flag in $(EXTRA_GCC_FLAGS); do \
28007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28008 done; \
28009 $(GCC_HOST_EXPORTS) \
28010 echo "Doing clean in gcc" ; \
28011 (cd gcc && \
28012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28014 "RANLIB=$${RANLIB}" \
28015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28016 clean) \
28017 || exit 1
28018 @endif gcc
28021 .PHONY: maybe-distclean-gcc distclean-gcc
28022 maybe-distclean-gcc:
28023 @if gcc
28024 maybe-distclean-gcc: distclean-gcc
28025 distclean-gcc:
28026 @[ -f ./gcc/Makefile ] || exit 0; \
28027 r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(SET_LIB_PATH) \
28030 for flag in $(EXTRA_GCC_FLAGS); do \
28031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28032 done; \
28033 $(GCC_HOST_EXPORTS) \
28034 echo "Doing distclean in gcc" ; \
28035 (cd gcc && \
28036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28038 "RANLIB=$${RANLIB}" \
28039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28040 distclean) \
28041 || exit 1
28042 @endif gcc
28045 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
28046 maybe-maintainer-clean-gcc:
28047 @if gcc
28048 maybe-maintainer-clean-gcc: maintainer-clean-gcc
28049 maintainer-clean-gcc:
28050 @[ -f ./gcc/Makefile ] || exit 0; \
28051 r=`${PWD_COMMAND}`; export r; \
28052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28053 $(SET_LIB_PATH) \
28054 for flag in $(EXTRA_GCC_FLAGS); do \
28055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28056 done; \
28057 $(GCC_HOST_EXPORTS) \
28058 echo "Doing maintainer-clean in gcc" ; \
28059 (cd gcc && \
28060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28062 "RANLIB=$${RANLIB}" \
28063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28064 maintainer-clean) \
28065 || exit 1
28066 @endif gcc
28070 @if gcc-bootstrap
28071 # ---------------------
28072 # GCC bootstrap support
28073 # ---------------------
28075 # We track the current stage (the one in 'gcc') in the stage_last file.
28076 # We name the build directories for the various stages "stage1-gcc",
28077 # "stage2-gcc","stage3-gcc", etc.
28079 # Since the 'compare' process will fail (on debugging information) if any
28080 # directory names are different, we need to link the gcc directory for
28081 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28082 # the build directories constant as well. For the latter, we use naked names
28083 # like 'gcc', because the scripts in that directory assume it. We use
28084 # mv on platforms where symlinks to directories do not work or are not
28085 # reliable.
28087 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28088 # be kept, so that libraries can find it. Ick!
28090 # It would be best to preinstall gcc into a staging area (and in the
28091 # future, gather there all prebootstrap packages). This would allow
28092 # assemblers and linkers can be bootstrapped as well as the compiler
28093 # (both in a combined tree, or separately). This however requires some
28094 # change to the gcc driver, again in order to avoid comparison failures.
28096 # Bugs: This is almost certainly not parallel-make safe.
28098 # 'touch' doesn't work right on some platforms.
28099 STAMP = echo timestamp >
28101 # Only build the C compiler for stage1, because that is the only one that
28102 # we can guarantee will build with the native compiler, and also it is the
28103 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28104 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28105 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28107 STAGE1_CFLAGS=@stage1_cflags@
28108 STAGE1_LANGUAGES=@stage1_languages@
28110 # We only want to compare .o files, so set this!
28111 objext = .o
28113 # Real targets act phony if they depend on phony targets; this hack
28114 # prevents gratuitous rebuilding of stage 1.
28115 prebootstrap:
28116 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-bootstrap
28117 $(STAMP) prebootstrap
28119 # Flags to pass to stage2 and later makes.
28120 BOOT_CFLAGS= -g -O2
28121 POSTSTAGE1_FLAGS_TO_PASS = \
28122 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28123 STAGE_PREFIX=$$r/stage-gcc/ \
28124 CFLAGS="$(BOOT_CFLAGS)" \
28125 ADAC="\$$(CC)"
28127 # For stage 1:
28128 # * We force-disable intermodule optimizations, even if
28129 # --enable-intermodule was passed, since the installed compiler probably
28130 # can't handle them. Luckily, autoconf always respects
28131 # the last argument when conflicting --enable arguments are passed.
28132 # * Likewise, we force-disable coverage flags, since the installed compiler
28133 # probably has never heard of them.
28134 # * We build only C (and possibly Ada).
28137 .PHONY: stage1-start stage1-end
28139 stage1-start::
28140 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28141 echo stage1 > stage_last ; \
28142 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28143 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28145 stage1-end::
28146 rm -f stage_last ; \
28147 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28149 # Bubble a bugfix through all the stages up to stage 1. They
28150 # are remade, but not reconfigured. The next stage (if any) will not
28151 # be reconfigured as well.
28152 .PHONY: stage1-bubble
28153 stage1-bubble::
28154 @if [ -f all-stage1-gcc ] ; then \
28155 echo Remaking stage 1 ; \
28156 rm -f all-stage1-gcc ; \
28157 fi ; \
28158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28162 configure-stage1-gcc: prebootstrap
28163 $(MAKE) stage1-start
28164 @if [ -f stage1-gcc/Makefile ] ; then \
28165 $(STAMP) configure-stage1-gcc ; \
28166 exit 0; \
28167 else \
28168 true ; \
28169 fi ; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(GCC_HOST_EXPORTS) \
28173 echo Configuring stage 1 in gcc ; \
28174 cd gcc || exit 1; \
28175 case $(srcdir) in \
28176 \.) \
28177 srcdiroption="--srcdir=."; \
28178 libsrcdir=".";; \
28179 /* | [A-Za-z]:[\\/]*) \
28180 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28181 libsrcdir="$$s/gcc";; \
28182 *) \
28183 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28184 libsrcdir="$$s/gcc";; \
28185 esac; \
28186 $(SHELL) $${libsrcdir}/configure \
28187 $(HOST_CONFIGARGS) $${srcdiroption} \
28188 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28189 $(STAMP) ../configure-stage1-gcc
28191 all-stage1-gcc: configure-stage1-gcc
28192 $(MAKE) stage1-start
28193 @r=`${PWD_COMMAND}`; export r; \
28194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28195 $(GCC_HOST_EXPORTS) \
28196 cd gcc && \
28197 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28198 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28204 .PHONY: restage1 touch-stage1 distclean-stage1
28206 # Rules to wipe a stage and all the following ones, used for cleanstrap
28208 distclean-stage1::
28209 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28210 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28212 # Rules to renew the timestamp on a stage and all the following ones
28214 touch-stage1::
28215 @[ -f configure-stage1-gcc ] && \
28216 echo '$(STAMP) configure-stage1-gcc' && \
28217 $(STAMP) configure-stage1-gcc; \
28218 [ -f all-stage1-gcc ] && \
28219 echo '$(STAMP) all-stage1-gcc' && \
28220 $(STAMP) all-stage1-gcc; \
28223 # After building a stage, touch the following ones
28225 restage1::
28226 rm -rf all-stage1-gcc
28227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28232 .PHONY: stage2-start stage2-end
28234 stage2-start::
28235 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28236 echo stage2 > stage_last ; \
28237 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28238 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28239 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28241 stage2-end::
28242 rm -f stage_last ; \
28243 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28244 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28246 # Bubble a bugfix through all the stages up to stage 2. They
28247 # are remade, but not reconfigured. The next stage (if any) will not
28248 # be reconfigured as well.
28249 .PHONY: stage2-bubble
28250 stage2-bubble:: stage1-bubble
28251 @if [ -f all-stage2-gcc ] ; then \
28252 echo Remaking stage 2 ; \
28253 rm -f all-stage2-gcc ; \
28254 fi ; \
28255 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28258 stage1-bubble::
28259 @if [ -f configure-stage2-gcc ] ; then \
28260 $(STAMP) configure-stage2-gcc ; \
28264 configure-stage2-gcc: all-stage1-gcc
28265 $(MAKE) stage2-start
28266 @if [ -f stage2-gcc/Makefile ] ; then \
28267 $(STAMP) configure-stage2-gcc ; \
28268 exit 0; \
28269 else \
28270 true ; \
28271 fi ; \
28272 r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(STAGE_HOST_EXPORTS) \
28275 echo Configuring stage 2 in gcc ; \
28276 cd gcc || exit 1; \
28277 case $(srcdir) in \
28278 \.) \
28279 srcdiroption="--srcdir=."; \
28280 libsrcdir=".";; \
28281 /* | [A-Za-z]:[\\/]*) \
28282 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28283 libsrcdir="$$s/gcc";; \
28284 *) \
28285 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28286 libsrcdir="$$s/gcc";; \
28287 esac; \
28288 $(SHELL) $${libsrcdir}/configure \
28289 $(HOST_CONFIGARGS) $${srcdiroption} \
28290 @stage2_werror_flag@ && \
28291 $(STAMP) ../configure-stage2-gcc
28293 all-stage2-gcc: configure-stage2-gcc
28294 $(MAKE) stage2-start
28295 @r=`${PWD_COMMAND}`; export r; \
28296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28297 $(STAGE_HOST_EXPORTS) \
28298 cd gcc && \
28299 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28300 $(POSTSTAGE1_FLAGS_TO_PASS) \
28301 && $(STAMP) ../all-stage2-gcc
28306 .PHONY: bootstrap2
28307 bootstrap2:
28308 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble \
28309 stage2-start all stage2-end
28312 .PHONY: restage2 touch-stage2 distclean-stage2
28314 # Rules to wipe a stage and all the following ones, used for cleanstrap
28315 distclean-stage1:: distclean-stage2
28316 distclean-stage2::
28317 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28318 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28320 # Rules to renew the timestamp on a stage and all the following ones
28321 touch-stage1:: touch-stage2
28322 touch-stage2::
28323 @[ -f configure-stage2-gcc ] && \
28324 echo '$(STAMP) configure-stage2-gcc' && \
28325 $(STAMP) configure-stage2-gcc; \
28326 [ -f all-stage2-gcc ] && \
28327 echo '$(STAMP) all-stage2-gcc' && \
28328 $(STAMP) all-stage2-gcc; \
28331 # After building a stage, touch the following ones
28332 restage1:: touch-stage2
28333 restage2::
28334 rm -rf all-stage2-gcc
28335 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28340 .PHONY: stage3-start stage3-end
28342 stage3-start::
28343 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28344 echo stage3 > stage_last ; \
28345 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28346 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28347 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28349 stage3-end::
28350 rm -f stage_last ; \
28351 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28352 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28354 # Bubble a bugfix through all the stages up to stage 3. They
28355 # are remade, but not reconfigured. The next stage (if any) will not
28356 # be reconfigured as well.
28357 .PHONY: stage3-bubble
28358 stage3-bubble:: stage2-bubble
28359 @if [ -f all-stage3-gcc ] ; then \
28360 echo Remaking stage 3 ; \
28361 rm -f all-stage3-gcc ; \
28362 fi ; \
28363 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28366 stage2-bubble::
28367 @if [ -f configure-stage3-gcc ] ; then \
28368 $(STAMP) configure-stage3-gcc ; \
28372 configure-stage3-gcc: all-stage2-gcc
28373 $(MAKE) stage3-start
28374 @if [ -f stage3-gcc/Makefile ] ; then \
28375 $(STAMP) configure-stage3-gcc ; \
28376 exit 0; \
28377 else \
28378 true ; \
28379 fi ; \
28380 r=`${PWD_COMMAND}`; export r; \
28381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28382 $(STAGE_HOST_EXPORTS) \
28383 echo Configuring stage 3 in gcc ; \
28384 cd gcc || exit 1; \
28385 case $(srcdir) in \
28386 \.) \
28387 srcdiroption="--srcdir=."; \
28388 libsrcdir=".";; \
28389 /* | [A-Za-z]:[\\/]*) \
28390 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28391 libsrcdir="$$s/gcc";; \
28392 *) \
28393 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28394 libsrcdir="$$s/gcc";; \
28395 esac; \
28396 $(SHELL) $${libsrcdir}/configure \
28397 $(HOST_CONFIGARGS) $${srcdiroption} \
28398 @stage2_werror_flag@ && \
28399 $(STAMP) ../configure-stage3-gcc
28401 all-stage3-gcc: configure-stage3-gcc
28402 $(MAKE) stage3-start
28403 @r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28405 $(STAGE_HOST_EXPORTS) \
28406 cd gcc && \
28407 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28408 $(POSTSTAGE1_FLAGS_TO_PASS) \
28409 && $(STAMP) ../all-stage3-gcc
28412 compare: all-stage3-gcc
28413 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28414 @r=`${PWD_COMMAND}`; export r; \
28415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28416 rm -f .bad_compare ; \
28417 cd stage3-gcc; \
28418 files=`find . -name "*$(objext)" -print` ; \
28419 cd .. ; \
28420 for file in $${files} ; do \
28421 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28422 @do_compare@ > /dev/null 2>&1; \
28423 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28424 done ; \
28425 if [ -f .bad_compare ]; then \
28426 echo "Bootstrap comparison failure!"; \
28427 cat .bad_compare; \
28428 exit 1; \
28429 else \
28430 true; \
28431 fi ; \
28432 $(STAMP) compare
28436 .PHONY: bootstrap
28437 bootstrap:
28438 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare \
28439 stage3-start all stage3-end
28442 .PHONY: restage3 touch-stage3 distclean-stage3
28444 # Rules to wipe a stage and all the following ones, used for cleanstrap
28445 distclean-stage2:: distclean-stage3
28446 distclean-stage3::
28447 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28448 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28450 # Rules to renew the timestamp on a stage and all the following ones
28451 touch-stage2:: touch-stage3
28452 touch-stage3::
28453 @[ -f configure-stage3-gcc ] && \
28454 echo '$(STAMP) configure-stage3-gcc' && \
28455 $(STAMP) configure-stage3-gcc; \
28456 [ -f all-stage3-gcc ] && \
28457 echo '$(STAMP) all-stage3-gcc' && \
28458 $(STAMP) all-stage3-gcc; \
28461 # After building a stage, touch the following ones
28462 restage2:: touch-stage3
28463 restage3::
28464 rm -rf all-stage3-gcc compare
28465 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28468 .PHONY: cleanstrap
28469 cleanstrap: distclean-stage1 bootstrap
28473 .PHONY: stage4-start stage4-end
28475 stage4-start::
28476 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28477 echo stage4 > stage_last ; \
28478 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28479 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28480 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28482 stage4-end::
28483 rm -f stage_last ; \
28484 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28485 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28487 # Bubble a bugfix through all the stages up to stage 4. They
28488 # are remade, but not reconfigured. The next stage (if any) will not
28489 # be reconfigured as well.
28490 .PHONY: stage4-bubble
28491 stage4-bubble:: stage3-bubble
28492 @if [ -f all-stage4-gcc ] ; then \
28493 echo Remaking stage 4 ; \
28494 rm -f all-stage4-gcc ; \
28495 fi ; \
28496 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28499 stage3-bubble::
28500 @if [ -f configure-stage4-gcc ] ; then \
28501 $(STAMP) configure-stage4-gcc ; \
28505 configure-stage4-gcc: all-stage3-gcc
28506 $(MAKE) stage4-start
28507 @if [ -f stage4-gcc/Makefile ] ; then \
28508 $(STAMP) configure-stage4-gcc ; \
28509 exit 0; \
28510 else \
28511 true ; \
28512 fi ; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(STAGE_HOST_EXPORTS) \
28516 echo Configuring stage 4 in gcc ; \
28517 cd gcc || exit 1; \
28518 case $(srcdir) in \
28519 \.) \
28520 srcdiroption="--srcdir=."; \
28521 libsrcdir=".";; \
28522 /* | [A-Za-z]:[\\/]*) \
28523 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28524 libsrcdir="$$s/gcc";; \
28525 *) \
28526 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28527 libsrcdir="$$s/gcc";; \
28528 esac; \
28529 $(SHELL) $${libsrcdir}/configure \
28530 $(HOST_CONFIGARGS) $${srcdiroption} \
28531 @stage2_werror_flag@ && \
28532 $(STAMP) ../configure-stage4-gcc
28534 all-stage4-gcc: configure-stage4-gcc
28535 $(MAKE) stage4-start
28536 @r=`${PWD_COMMAND}`; export r; \
28537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28538 $(STAGE_HOST_EXPORTS) \
28539 cd gcc && \
28540 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28541 $(POSTSTAGE1_FLAGS_TO_PASS) \
28542 && $(STAMP) ../all-stage4-gcc
28545 compare3: all-stage4-gcc
28546 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28547 @r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28549 rm -f .bad_compare ; \
28550 cd stage4-gcc; \
28551 files=`find . -name "*$(objext)" -print` ; \
28552 cd .. ; \
28553 for file in $${files} ; do \
28554 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28555 @do_compare@ > /dev/null 2>&1; \
28556 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28557 done ; \
28558 if [ -f .bad_compare ]; then \
28559 echo "Bootstrap comparison failure!"; \
28560 cat .bad_compare; \
28561 exit 1; \
28562 else \
28563 true; \
28564 fi ; \
28565 $(STAMP) compare3
28569 .PHONY: bootstrap4
28570 bootstrap4:
28571 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 \
28572 stage4-start all stage4-end
28575 .PHONY: restage4 touch-stage4 distclean-stage4
28577 # Rules to wipe a stage and all the following ones, used for cleanstrap
28578 distclean-stage3:: distclean-stage4
28579 distclean-stage4::
28580 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28581 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28583 # Rules to renew the timestamp on a stage and all the following ones
28584 touch-stage3:: touch-stage4
28585 touch-stage4::
28586 @[ -f configure-stage4-gcc ] && \
28587 echo '$(STAMP) configure-stage4-gcc' && \
28588 $(STAMP) configure-stage4-gcc; \
28589 [ -f all-stage4-gcc ] && \
28590 echo '$(STAMP) all-stage4-gcc' && \
28591 $(STAMP) all-stage4-gcc; \
28594 # After building a stage, touch the following ones
28595 restage3:: touch-stage4
28596 restage4::
28597 rm -rf all-stage4-gcc compare3
28598 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28603 .PHONY: stageprofile-start stageprofile-end
28605 stageprofile-start::
28606 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28607 echo stageprofile > stage_last ; \
28608 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28609 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28610 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28612 stageprofile-end::
28613 rm -f stage_last ; \
28614 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28615 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28617 # Bubble a bugfix through all the stages up to stage profile. They
28618 # are remade, but not reconfigured. The next stage (if any) will not
28619 # be reconfigured as well.
28620 .PHONY: stageprofile-bubble
28621 stageprofile-bubble:: stage1-bubble
28622 @if [ -f all-stageprofile-gcc ] ; then \
28623 echo Remaking stage profile ; \
28624 rm -f all-stageprofile-gcc ; \
28625 fi ; \
28626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28629 stage1-bubble::
28630 @if [ -f configure-stageprofile-gcc ] ; then \
28631 $(STAMP) configure-stageprofile-gcc ; \
28635 configure-stageprofile-gcc: all-stage1-gcc
28636 $(MAKE) stageprofile-start
28637 @if [ -f stageprofile-gcc/Makefile ] ; then \
28638 $(STAMP) configure-stageprofile-gcc ; \
28639 exit 0; \
28640 else \
28641 true ; \
28642 fi ; \
28643 r=`${PWD_COMMAND}`; export r; \
28644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28645 $(STAGE_HOST_EXPORTS) \
28646 echo Configuring stage profile in gcc ; \
28647 cd gcc || exit 1; \
28648 case $(srcdir) in \
28649 \.) \
28650 srcdiroption="--srcdir=."; \
28651 libsrcdir=".";; \
28652 /* | [A-Za-z]:[\\/]*) \
28653 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28654 libsrcdir="$$s/gcc";; \
28655 *) \
28656 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28657 libsrcdir="$$s/gcc";; \
28658 esac; \
28659 $(SHELL) $${libsrcdir}/configure \
28660 $(HOST_CONFIGARGS) $${srcdiroption} \
28661 @stage2_werror_flag@ && \
28662 $(STAMP) ../configure-stageprofile-gcc
28664 all-stageprofile-gcc: configure-stageprofile-gcc
28665 $(MAKE) stageprofile-start
28666 @r=`${PWD_COMMAND}`; export r; \
28667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28668 $(STAGE_HOST_EXPORTS) \
28669 cd gcc && \
28670 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28671 $(POSTSTAGE1_FLAGS_TO_PASS) \
28672 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
28678 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
28680 # Rules to wipe a stage and all the following ones, used for cleanstrap
28681 distclean-stage1:: distclean-stageprofile
28682 distclean-stageprofile::
28683 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28684 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
28686 # Rules to renew the timestamp on a stage and all the following ones
28687 touch-stage1:: touch-stageprofile
28688 touch-stageprofile::
28689 @[ -f configure-stageprofile-gcc ] && \
28690 echo '$(STAMP) configure-stageprofile-gcc' && \
28691 $(STAMP) configure-stageprofile-gcc; \
28692 [ -f all-stageprofile-gcc ] && \
28693 echo '$(STAMP) all-stageprofile-gcc' && \
28694 $(STAMP) all-stageprofile-gcc; \
28697 # After building a stage, touch the following ones
28698 restage1:: touch-stageprofile
28699 restageprofile::
28700 rm -rf all-stageprofile-gcc
28701 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28706 .PHONY: stagefeedback-start stagefeedback-end
28708 stagefeedback-start::
28709 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28710 echo stagefeedback > stage_last ; \
28711 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
28712 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28713 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28715 stagefeedback-end::
28716 rm -f stage_last ; \
28717 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
28718 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28720 # Bubble a bugfix through all the stages up to stage feedback. They
28721 # are remade, but not reconfigured. The next stage (if any) will not
28722 # be reconfigured as well.
28723 .PHONY: stagefeedback-bubble
28724 stagefeedback-bubble:: stage1-bubble
28725 @if [ -f all-stagefeedback-gcc ] ; then \
28726 echo Remaking stage feedback ; \
28727 rm -f all-stagefeedback-gcc ; \
28728 fi ; \
28729 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28732 stage1-bubble::
28733 @if [ -f configure-stagefeedback-gcc ] ; then \
28734 $(STAMP) configure-stagefeedback-gcc ; \
28738 configure-stagefeedback-gcc: all-stage1-gcc
28739 $(MAKE) stagefeedback-start
28740 @if [ -f stagefeedback-gcc/Makefile ] ; then \
28741 $(STAMP) configure-stagefeedback-gcc ; \
28742 exit 0; \
28743 else \
28744 true ; \
28745 fi ; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(STAGE_HOST_EXPORTS) \
28749 echo Configuring stage feedback in gcc ; \
28750 cd gcc || exit 1; \
28751 case $(srcdir) in \
28752 \.) \
28753 srcdiroption="--srcdir=."; \
28754 libsrcdir=".";; \
28755 /* | [A-Za-z]:[\\/]*) \
28756 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28757 libsrcdir="$$s/gcc";; \
28758 *) \
28759 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28760 libsrcdir="$$s/gcc";; \
28761 esac; \
28762 $(SHELL) $${libsrcdir}/configure \
28763 $(HOST_CONFIGARGS) $${srcdiroption} \
28764 @stage2_werror_flag@ && \
28765 $(STAMP) ../configure-stagefeedback-gcc
28767 all-stagefeedback-gcc: configure-stagefeedback-gcc
28768 $(MAKE) stagefeedback-start
28769 @r=`${PWD_COMMAND}`; export r; \
28770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28771 $(STAGE_HOST_EXPORTS) \
28772 cd gcc && \
28773 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28774 $(POSTSTAGE1_FLAGS_TO_PASS) \
28775 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
28781 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
28783 # Rules to wipe a stage and all the following ones, used for cleanstrap
28784 distclean-stage1:: distclean-stagefeedback
28785 distclean-stagefeedback::
28786 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28787 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
28789 # Rules to renew the timestamp on a stage and all the following ones
28790 touch-stage1:: touch-stagefeedback
28791 touch-stagefeedback::
28792 @[ -f configure-stagefeedback-gcc ] && \
28793 echo '$(STAMP) configure-stagefeedback-gcc' && \
28794 $(STAMP) configure-stagefeedback-gcc; \
28795 [ -f all-stagefeedback-gcc ] && \
28796 echo '$(STAMP) all-stagefeedback-gcc' && \
28797 $(STAMP) all-stagefeedback-gcc; \
28800 # After building a stage, touch the following ones
28801 restage1:: touch-stagefeedback
28802 restagefeedback::
28803 rm -rf all-stagefeedback-gcc
28804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28810 stagefeedback-start::
28811 @r=`${PWD_COMMAND}`; export r; \
28812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28813 cd stageprofile-gcc && \
28814 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
28815 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
28817 profiledbootstrap: all-bootstrap configure-gcc
28818 @r=`${PWD_COMMAND}`; export r; \
28819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28820 $(SET_LIB_PATH) \
28821 $(GCC_HOST_EXPORTS) \
28822 echo "Bootstrapping the compiler"; \
28823 $(MAKE) stageprofile-bubble distclean-stagefeedback stageprofile-start
28824 @r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28826 $(SET_LIB_PATH) \
28827 echo "Building runtime libraries and training compiler"; \
28828 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
28829 @r=`${PWD_COMMAND}`; export r; \
28830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28831 $(SET_LIB_PATH) \
28832 $(GCC_HOST_EXPORTS) \
28833 echo "Building feedback based compiler"; \
28834 $(MAKE) stagefeedback-bubble stagefeedback-end
28836 @endif gcc-bootstrap
28838 # --------------------------------------
28839 # Dependencies between different modules
28840 # --------------------------------------
28842 # There are two types of dependencies here: 'hard' dependencies, where one
28843 # module simply won't build without the other; and 'soft' dependencies, where
28844 # if the depended-on module is missing, the depending module will do without
28845 # or find a substitute somewhere (perhaps installed). Soft dependencies
28846 # are specified by depending on a 'maybe-' target. If you're not sure,
28847 # it's safer to use a soft dependency.
28849 # Host modules specific to gcc.
28850 # GCC needs to identify certain tools.
28851 # GCC also needs the information exported by the intl configure script.
28852 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
28853 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
28854 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
28855 all-libcpp: maybe-all-libiberty maybe-all-intl
28856 # This is a slightly kludgy method of getting dependencies on
28857 # all-build-libiberty correct; it would be better to build it every time.
28858 all-gcc: maybe-all-build-libiberty
28859 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
28861 # Host modules specific to gdb.
28862 # GDB needs to know that the simulator is being built.
28863 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
28864 GDB_TK = @GDB_TK@
28865 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)
28866 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
28867 configure-libgui: maybe-configure-tcl maybe-configure-tk
28868 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
28870 # Host modules specific to binutils.
28871 configure-bfd: configure-libiberty
28872 all-bfd: maybe-all-libiberty maybe-all-intl
28873 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
28874 # We put install-opcodes before install-binutils because the installed
28875 # binutils might be on PATH, and they might need the shared opcodes
28876 # library.
28877 install-binutils: maybe-install-opcodes
28878 # libopcodes depends on libbfd
28879 install-opcodes: maybe-install-bfd
28880 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
28881 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
28882 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
28883 all-opcodes: maybe-all-bfd maybe-all-libiberty
28885 # Other host modules in the 'src' repository.
28886 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
28887 configure-expect: maybe-configure-tcl maybe-configure-tk
28888 all-expect: maybe-all-tcl maybe-all-tk
28889 configure-itcl: maybe-configure-tcl maybe-configure-tk
28890 all-itcl: maybe-all-tcl maybe-all-tk
28891 # We put install-tcl before install-itcl because itcl wants to run a
28892 # program on installation which uses the Tcl libraries.
28893 install-itcl: maybe-install-tcl
28894 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
28895 install-sid: maybe-install-tcl maybe-install-tk
28896 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
28897 configure-tk: maybe-configure-tcl
28898 all-tk: maybe-all-tcl
28899 configure-tix: maybe-configure-tcl maybe-configure-tk
28900 all-tix: maybe-all-tcl maybe-all-tk
28901 all-texinfo: maybe-all-libiberty
28903 # Other host modules. Warning, these are not well tested.
28904 all-autoconf: maybe-all-m4 maybe-all-texinfo
28905 all-automake: maybe-all-m4 maybe-all-texinfo
28906 all-bison: maybe-all-texinfo
28907 all-diff: maybe-all-libiberty
28908 all-fastjar: maybe-all-zlib maybe-all-libiberty
28909 all-fileutils: maybe-all-libiberty
28910 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
28911 all-gzip: maybe-all-libiberty
28912 all-hello: maybe-all-libiberty
28913 all-m4: maybe-all-libiberty maybe-all-texinfo
28914 all-make: maybe-all-libiberty maybe-all-intl
28915 all-patch: maybe-all-libiberty
28916 all-prms: maybe-all-libiberty
28917 all-recode: maybe-all-libiberty
28918 all-sed: maybe-all-libiberty
28919 all-send-pr: maybe-all-prms
28920 all-tar: maybe-all-libiberty
28921 all-uudecode: maybe-all-libiberty
28923 ALL_GCC = maybe-all-gcc
28924 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
28925 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
28927 # Target modules specific to gcc.
28928 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
28929 configure-target-fastjar: maybe-configure-target-zlib
28930 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
28931 configure-target-libada: $(ALL_GCC_C)
28932 configure-target-libgfortran: $(ALL_GCC_C)
28933 configure-target-libffi: $(ALL_GCC_C)
28934 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
28935 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
28936 configure-target-libobjc: $(ALL_GCC_C)
28937 all-target-libobjc: maybe-all-target-libiberty
28938 configure-target-libstdc++-v3: $(ALL_GCC_C)
28939 all-target-libstdc++-v3: maybe-all-target-libiberty
28940 configure-target-zlib: $(ALL_GCC_C)
28942 # Target modules in the 'src' repository.
28943 configure-target-examples: $(ALL_GCC_C)
28944 configure-target-libgloss: $(ALL_GCC)
28945 all-target-libgloss: maybe-configure-target-newlib
28946 configure-target-libiberty: $(ALL_GCC)
28947 configure-target-libtermcap: $(ALL_GCC_C)
28948 configure-target-newlib: $(ALL_GCC)
28949 configure-target-rda: $(ALL_GCC_C)
28950 configure-target-winsup: $(ALL_GCC_C)
28951 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
28953 # Other target modules. Warning, these are not well tested.
28954 configure-target-gperf: $(ALL_GCC_CXX)
28955 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
28956 configure-target-qthreads: $(ALL_GCC_C)
28958 # Serialization dependencies. Host configures don't work well in parallel to
28959 # each other, due to contention over config.cache. Target configures and
28960 # build configures are similar.
28961 @serialization_dependencies@
28963 # --------------------------------
28964 # Regenerating top level configury
28965 # --------------------------------
28967 # Multilib.out tells target dirs what multilibs they should build.
28968 # There is really only one copy. We use the 'timestamp' method to
28969 # work around various timestamp bugs on some systems.
28970 # We use move-if-change so that it's only considered updated when it
28971 # actually changes, because it has to depend on a phony target.
28972 multilib.out: maybe-all-gcc
28973 @r=`${PWD_COMMAND}`; export r; \
28974 echo "Checking multilib configuration..."; \
28975 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
28976 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
28978 # Rebuilding Makefile.in, using autogen.
28979 AUTOGEN = autogen
28980 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
28981 cd $(srcdir) && $(AUTOGEN) Makefile.def
28983 # Rebuilding Makefile.
28984 Makefile: $(srcdir)/Makefile.in config.status
28985 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
28987 config.status: configure $(gcc_version_trigger)
28988 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
28990 # Rebuilding configure.
28991 AUTOCONF = autoconf
28992 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
28993 cd $(srcdir) && $(AUTOCONF)
28995 # ------------------------------
28996 # Special directives to GNU Make
28997 # ------------------------------
28999 # Don't pass command-line variables to submakes.
29000 .NOEXPORT:
29001 MAKEOVERRIDES=
29003 # end of Makefile.in