Remove prototype for localetime altogether. It should not be needed on modern
[binutils.git] / Makefile.in
blobdff7568e3e36a5f0d231442013380c16effc38bc
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 @SET_GCC_LIB_PATH@ \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
118 # re-runs configure.
119 BASE_EXPORTS = \
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
129 BUILD_EXPORTS = \
130 $(BASE_EXPORTS) \
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
154 HOST_EXPORTS = \
155 $(BASE_EXPORTS) \
156 CC="$(CC)"; export CC; \
157 CFLAGS="$(CFLAGS)"; export CFLAGS; \
158 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159 CXX="$(CXX)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161 AR="$(AR)"; export AR; \
162 AS="$(AS)"; export AS; \
163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165 LD="$(LD)"; export LD; \
166 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167 NM="$(NM)"; export NM; \
168 RANLIB="$(RANLIB)"; export RANLIB; \
169 WINDRES="$(WINDRES)"; export WINDRES; \
170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
176 @SET_GCC_LIB_PATH@
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
180 $(HOST_EXPORTS) \
181 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
195 $(BASE_EXPORTS) \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 NM="$(NM_FOR_TARGET)"; export NM; \
209 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
212 @SET_GCC_LIB_PATH@
214 RAW_CXX_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
219 NORMAL_TARGET_EXPORTS = \
220 $(BASE_TARGET_EXPORTS) \
221 CXX="$(CXX_FOR_TARGET)"; export CXX;
223 # Where to find GMP
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
231 SHELL = @config_shell@
233 # pwd command to use. Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters. The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
241 # compilers to use to create programs which must be run in the build
242 # environment.
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
246 CXX_FOR_BUILD = $(CXX)
248 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
253 # Flags to pass to stage2 and later makes. They are defined
254 # here so that they can be overridden by Makefile fragments.
255 BOOT_CFLAGS= -g -O2
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
260 else \
261 echo ${CONFIGURED_BISON} ; \
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
269 else \
270 echo ${CONFIGURED_YACC} ; \
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_FLEX} ; fi`
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281 else echo ${CONFIGURED_LEX} ; fi`
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286 else echo ${CONFIGURED_M4} ; fi`
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy. We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295 else if (${CONFIGURED_MAKEINFO} --version \
296 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes. It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306 then echo $$r/expect/expect ; \
307 else echo expect ; fi`
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310 then echo $$s/dejagnu/runtest ; \
311 else echo runtest ; fi`
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
321 AS = @AS@
323 AR = @AR@
324 AR_FLAGS = rc
326 CC = @CC@
327 CFLAGS = @CFLAGS@
328 LIBCFLAGS = $(CFLAGS)
330 CXX = @CXX@
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
334 DLLTOOL = @DLLTOOL@
336 NM = @NM@
338 LD = @LD@
339 LDFLAGS =
341 RANLIB = @RANLIB@
343 WINDRES = @WINDRES@
345 PICFLAG =
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360 if [ -f $$r/binutils/ar ] ; then \
361 echo $$r/binutils/ar ; \
362 else \
363 if [ '$(host)' = '$(target)' ] ; then \
364 echo $(AR); \
365 else \
366 echo $(CONFIGURED_AR_FOR_TARGET) ; \
367 fi; \
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373 if [ -f $$r/gas/as-new ] ; then \
374 echo $$r/gas/as-new ; \
375 elif [ -f $$r/gcc/xgcc ]; then \
376 $(CC_FOR_TARGET) -print-prog-name=as ; \
377 else \
378 if [ '$(host)' = '$(target)' ] ; then \
379 echo $(AS); \
380 else \
381 echo $(CONFIGURED_AS_FOR_TARGET) ; \
382 fi; \
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g. We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a. We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/binutils/dlltool ] ; then \
410 echo $$r/binutils/dlltool ; \
411 else \
412 if [ '$(host)' = '$(target)' ] ; then \
413 echo $(DLLTOOL); \
414 else \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
416 fi; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/ld/ld-new ] ; then \
426 echo $$r/ld/ld-new ; \
427 elif [ -f $$r/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
429 else \
430 if [ '$(host)' = '$(target)' ] ; then \
431 echo $(LD); \
432 else \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 fi; \
437 LDFLAGS_FOR_TARGET =
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/binutils/nm-new ] ; then \
443 echo $$r/binutils/nm-new ; \
444 elif [ -f $$r/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
446 else \
447 if [ '$(host)' = '$(target)' ] ; then \
448 echo $(NM); \
449 else \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
451 fi; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/binutils/ranlib ] ; then \
458 echo $$r/binutils/ranlib ; \
459 else \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
462 echo $(RANLIB); \
463 else \
464 echo ranlib; \
465 fi; \
466 else \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
468 fi; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/binutils/windres ] ; then \
475 echo $$r/binutils/windres ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(WINDRES); \
479 else \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 fi; \
484 PICFLAG_FOR_TARGET =
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
492 @default_target@:
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
496 @alphaieee_frag@
497 @ospace_frag@
498 @host_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
506 "bindir=$(bindir)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
511 "libdir=$(libdir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "libstdcxx_incdir=$(libstdcxx_incdir)" \
515 "libsubdir=$(libsubdir)" \
516 "localstatedir=$(localstatedir)" \
517 "mandir=$(mandir)" \
518 "oldincludedir=$(oldincludedir)" \
519 "prefix=$(prefix)" \
520 "sbindir=$(sbindir)" \
521 "sharedstatedir=$(sharedstatedir)" \
522 "sysconfdir=$(sysconfdir)" \
523 "tooldir=$(tooldir)" \
524 "build_tooldir=$(build_tooldir)" \
525 "gxx_include_dir=$(gxx_include_dir)" \
526 "gcc_version=$(gcc_version)" \
527 "gcc_version_trigger=$(gcc_version_trigger)" \
528 "target_alias=$(target_alias)" \
529 "BISON=$(BISON)" \
530 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
532 "EXPECT=$(EXPECT)" \
533 "FLEX=$(FLEX)" \
534 "INSTALL=$(INSTALL)" \
535 "INSTALL_DATA=$(INSTALL_DATA)" \
536 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
538 "LEX=$(LEX)" \
539 "M4=$(M4)" \
540 "MAKE=$(MAKE)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
543 "SHELL=$(SHELL)" \
544 "YACC=$(YACC)" \
545 "AR_FLAGS=$(AR_FLAGS)" \
546 "CFLAGS=$(CFLAGS)" \
547 "CXXFLAGS=$(CXXFLAGS)" \
548 "LDFLAGS=$(LDFLAGS)" \
549 "LIBCFLAGS=$(LIBCFLAGS)" \
550 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
556 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
557 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
558 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
559 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
560 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
561 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
562 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
563 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
564 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
565 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
566 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
567 "CONFIG_SHELL=$(SHELL)" \
568 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
570 # For any flags above that may contain shell code that varies from one
571 # target library to another. When doing recursive invocations of the
572 # top-level Makefile, we don't want the outer make to evaluate them,
573 # so we pass these variables down unchanged. They must not contain
574 # single nor double quotes.
575 RECURSE_FLAGS = \
576 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
579 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
581 # Flags to pass down to most sub-makes, in which we're building with
582 # the host environment.
583 EXTRA_HOST_FLAGS = \
584 'AR=$(AR)' \
585 'AS=$(AS)' \
586 'CC=$(CC)' \
587 'CXX=$(CXX)' \
588 'DLLTOOL=$(DLLTOOL)' \
589 'LD=$(LD)' \
590 'NM=$(NM)' \
591 'RANLIB=$(RANLIB)' \
592 'WINDRES=$(WINDRES)'
594 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
596 # Flags that are concerned with the location of the X11 include files
597 # and library files
599 # NOTE: until the top-level is getting the values via autoconf, it only
600 # causes problems to have this top-level Makefile overriding the autoconf-set
601 # values in child directories. Only variables that don't conflict with
602 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
604 X11_FLAGS_TO_PASS = \
605 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
606 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
608 # Flags to pass down to makes which are built with the target environment.
609 # The double $ decreases the length of the command line; the variables
610 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
611 EXTRA_TARGET_FLAGS = \
612 'AR=$$(AR_FOR_TARGET)' \
613 'AS=$$(AS_FOR_TARGET)' \
614 'CC=$$(CC_FOR_TARGET)' \
615 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
616 'CXX=$$(CXX_FOR_TARGET)' \
617 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
618 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
619 'LD=$$(LD_FOR_TARGET)' \
620 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
621 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
622 'NM=$$(NM_FOR_TARGET)' \
623 'RANLIB=$$(RANLIB_FOR_TARGET)' \
624 'WINDRES=$$(WINDRES_FOR_TARGET)'
626 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
628 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
629 # unfortunately needs the native compiler and the target ar and
630 # ranlib.
631 # If any variables are added here, they must be added to do-*, below.
632 # The BUILD_* variables are a special case, which are used for the gcc
633 # cross-building scheme.
634 EXTRA_GCC_FLAGS = \
635 'BUILD_PREFIX=$(BUILD_PREFIX)' \
636 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
637 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
638 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
639 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
649 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
651 .PHONY: configure-host
652 configure-host: \
653 maybe-configure-ash \
654 maybe-configure-autoconf \
655 maybe-configure-automake \
656 maybe-configure-bash \
657 maybe-configure-bfd \
658 maybe-configure-opcodes \
659 maybe-configure-binutils \
660 maybe-configure-bison \
661 maybe-configure-byacc \
662 maybe-configure-bzip2 \
663 maybe-configure-dejagnu \
664 maybe-configure-diff \
665 maybe-configure-dosutils \
666 maybe-configure-etc \
667 maybe-configure-fastjar \
668 maybe-configure-fileutils \
669 maybe-configure-findutils \
670 maybe-configure-find \
671 maybe-configure-fixincludes \
672 maybe-configure-flex \
673 maybe-configure-gas \
674 maybe-configure-gcc \
675 maybe-configure-gawk \
676 maybe-configure-gettext \
677 maybe-configure-gnuserv \
678 maybe-configure-gprof \
679 maybe-configure-gzip \
680 maybe-configure-hello \
681 maybe-configure-indent \
682 maybe-configure-intl \
683 maybe-configure-tcl \
684 maybe-configure-itcl \
685 maybe-configure-ld \
686 maybe-configure-libcpp \
687 maybe-configure-libgui \
688 maybe-configure-libiberty \
689 maybe-configure-libtool \
690 maybe-configure-m4 \
691 maybe-configure-make \
692 maybe-configure-mmalloc \
693 maybe-configure-patch \
694 maybe-configure-perl \
695 maybe-configure-prms \
696 maybe-configure-rcs \
697 maybe-configure-readline \
698 maybe-configure-release \
699 maybe-configure-recode \
700 maybe-configure-sed \
701 maybe-configure-send-pr \
702 maybe-configure-shellutils \
703 maybe-configure-sid \
704 maybe-configure-sim \
705 maybe-configure-tar \
706 maybe-configure-texinfo \
707 maybe-configure-textutils \
708 maybe-configure-time \
709 maybe-configure-uudecode \
710 maybe-configure-wdiff \
711 maybe-configure-zip \
712 maybe-configure-zlib \
713 maybe-configure-gdb \
714 maybe-configure-expect \
715 maybe-configure-guile \
716 maybe-configure-tk \
717 maybe-configure-libtermcap \
718 maybe-configure-utils
719 .PHONY: configure-target
720 configure-target: \
721 maybe-configure-target-libstdc++-v3 \
722 maybe-configure-target-libmudflap \
723 maybe-configure-target-newlib \
724 maybe-configure-target-libgfortran \
725 maybe-configure-target-libobjc \
726 maybe-configure-target-libtermcap \
727 maybe-configure-target-winsup \
728 maybe-configure-target-libgloss \
729 maybe-configure-target-libiberty \
730 maybe-configure-target-gperf \
731 maybe-configure-target-examples \
732 maybe-configure-target-libffi \
733 maybe-configure-target-libjava \
734 maybe-configure-target-zlib \
735 maybe-configure-target-boehm-gc \
736 maybe-configure-target-qthreads \
737 maybe-configure-target-rda \
738 maybe-configure-target-libada
740 # The target built for a native non-bootstrap build.
741 .PHONY: all
742 all: unstage all-host all-target stage
744 .PHONY: all-build
745 all-build: \
746 maybe-all-build-libiberty \
747 maybe-all-build-bison \
748 maybe-all-build-byacc \
749 maybe-all-build-flex \
750 maybe-all-build-m4 \
751 maybe-all-build-texinfo \
752 maybe-all-build-fixincludes
753 .PHONY: all-host
754 all-host: \
755 maybe-all-ash \
756 maybe-all-autoconf \
757 maybe-all-automake \
758 maybe-all-bash \
759 maybe-all-bfd \
760 maybe-all-opcodes \
761 maybe-all-binutils \
762 maybe-all-bison \
763 maybe-all-byacc \
764 maybe-all-bzip2 \
765 maybe-all-dejagnu \
766 maybe-all-diff \
767 maybe-all-dosutils \
768 maybe-all-etc \
769 maybe-all-fastjar \
770 maybe-all-fileutils \
771 maybe-all-findutils \
772 maybe-all-find \
773 maybe-all-fixincludes \
774 maybe-all-flex \
775 maybe-all-gas \
776 maybe-all-gcc \
777 maybe-all-gawk \
778 maybe-all-gettext \
779 maybe-all-gnuserv \
780 maybe-all-gprof \
781 maybe-all-gzip \
782 maybe-all-hello \
783 maybe-all-indent \
784 maybe-all-intl \
785 maybe-all-tcl \
786 maybe-all-itcl \
787 maybe-all-ld \
788 maybe-all-libcpp \
789 maybe-all-libgui \
790 maybe-all-libiberty \
791 maybe-all-libtool \
792 maybe-all-m4 \
793 maybe-all-make \
794 maybe-all-mmalloc \
795 maybe-all-patch \
796 maybe-all-perl \
797 maybe-all-prms \
798 maybe-all-rcs \
799 maybe-all-readline \
800 maybe-all-release \
801 maybe-all-recode \
802 maybe-all-sed \
803 maybe-all-send-pr \
804 maybe-all-shellutils \
805 maybe-all-sid \
806 maybe-all-sim \
807 maybe-all-tar \
808 maybe-all-texinfo \
809 maybe-all-textutils \
810 maybe-all-time \
811 maybe-all-uudecode \
812 maybe-all-wdiff \
813 maybe-all-zip \
814 maybe-all-zlib \
815 maybe-all-gdb \
816 maybe-all-expect \
817 maybe-all-guile \
818 maybe-all-tk \
819 maybe-all-libtermcap \
820 maybe-all-utils
821 .PHONY: all-target
822 all-target: \
823 maybe-all-target-libstdc++-v3 \
824 maybe-all-target-libmudflap \
825 maybe-all-target-newlib \
826 maybe-all-target-libgfortran \
827 maybe-all-target-libobjc \
828 maybe-all-target-libtermcap \
829 maybe-all-target-winsup \
830 maybe-all-target-libgloss \
831 maybe-all-target-libiberty \
832 maybe-all-target-gperf \
833 maybe-all-target-examples \
834 maybe-all-target-libffi \
835 maybe-all-target-libjava \
836 maybe-all-target-zlib \
837 maybe-all-target-boehm-gc \
838 maybe-all-target-qthreads \
839 maybe-all-target-rda \
840 maybe-all-target-libada
842 # Do a target for all the subdirectories. A ``make do-X'' will do a
843 # ``make X'' in all subdirectories (because, in general, there is a
844 # dependency (below) of X upon do-X, a ``make X'' will also do this,
845 # but it may do additional work as well).
847 .PHONY: do-info
848 do-info: unstage info-host info-target stage
850 .PHONY: info-host
851 info-host: \
852 maybe-info-ash \
853 maybe-info-autoconf \
854 maybe-info-automake \
855 maybe-info-bash \
856 maybe-info-bfd \
857 maybe-info-opcodes \
858 maybe-info-binutils \
859 maybe-info-bison \
860 maybe-info-byacc \
861 maybe-info-bzip2 \
862 maybe-info-dejagnu \
863 maybe-info-diff \
864 maybe-info-dosutils \
865 maybe-info-etc \
866 maybe-info-fastjar \
867 maybe-info-fileutils \
868 maybe-info-findutils \
869 maybe-info-find \
870 maybe-info-fixincludes \
871 maybe-info-flex \
872 maybe-info-gas \
873 maybe-info-gcc \
874 maybe-info-gawk \
875 maybe-info-gettext \
876 maybe-info-gnuserv \
877 maybe-info-gprof \
878 maybe-info-gzip \
879 maybe-info-hello \
880 maybe-info-indent \
881 maybe-info-intl \
882 maybe-info-tcl \
883 maybe-info-itcl \
884 maybe-info-ld \
885 maybe-info-libcpp \
886 maybe-info-libgui \
887 maybe-info-libiberty \
888 maybe-info-libtool \
889 maybe-info-m4 \
890 maybe-info-make \
891 maybe-info-mmalloc \
892 maybe-info-patch \
893 maybe-info-perl \
894 maybe-info-prms \
895 maybe-info-rcs \
896 maybe-info-readline \
897 maybe-info-release \
898 maybe-info-recode \
899 maybe-info-sed \
900 maybe-info-send-pr \
901 maybe-info-shellutils \
902 maybe-info-sid \
903 maybe-info-sim \
904 maybe-info-tar \
905 maybe-info-texinfo \
906 maybe-info-textutils \
907 maybe-info-time \
908 maybe-info-uudecode \
909 maybe-info-wdiff \
910 maybe-info-zip \
911 maybe-info-zlib \
912 maybe-info-gdb \
913 maybe-info-expect \
914 maybe-info-guile \
915 maybe-info-tk \
916 maybe-info-libtermcap \
917 maybe-info-utils
919 .PHONY: info-target
920 info-target: \
921 maybe-info-target-libstdc++-v3 \
922 maybe-info-target-libmudflap \
923 maybe-info-target-newlib \
924 maybe-info-target-libgfortran \
925 maybe-info-target-libobjc \
926 maybe-info-target-libtermcap \
927 maybe-info-target-winsup \
928 maybe-info-target-libgloss \
929 maybe-info-target-libiberty \
930 maybe-info-target-gperf \
931 maybe-info-target-examples \
932 maybe-info-target-libffi \
933 maybe-info-target-libjava \
934 maybe-info-target-zlib \
935 maybe-info-target-boehm-gc \
936 maybe-info-target-qthreads \
937 maybe-info-target-rda \
938 maybe-info-target-libada
940 .PHONY: do-dvi
941 do-dvi: unstage dvi-host dvi-target stage
943 .PHONY: dvi-host
944 dvi-host: \
945 maybe-dvi-ash \
946 maybe-dvi-autoconf \
947 maybe-dvi-automake \
948 maybe-dvi-bash \
949 maybe-dvi-bfd \
950 maybe-dvi-opcodes \
951 maybe-dvi-binutils \
952 maybe-dvi-bison \
953 maybe-dvi-byacc \
954 maybe-dvi-bzip2 \
955 maybe-dvi-dejagnu \
956 maybe-dvi-diff \
957 maybe-dvi-dosutils \
958 maybe-dvi-etc \
959 maybe-dvi-fastjar \
960 maybe-dvi-fileutils \
961 maybe-dvi-findutils \
962 maybe-dvi-find \
963 maybe-dvi-fixincludes \
964 maybe-dvi-flex \
965 maybe-dvi-gas \
966 maybe-dvi-gcc \
967 maybe-dvi-gawk \
968 maybe-dvi-gettext \
969 maybe-dvi-gnuserv \
970 maybe-dvi-gprof \
971 maybe-dvi-gzip \
972 maybe-dvi-hello \
973 maybe-dvi-indent \
974 maybe-dvi-intl \
975 maybe-dvi-tcl \
976 maybe-dvi-itcl \
977 maybe-dvi-ld \
978 maybe-dvi-libcpp \
979 maybe-dvi-libgui \
980 maybe-dvi-libiberty \
981 maybe-dvi-libtool \
982 maybe-dvi-m4 \
983 maybe-dvi-make \
984 maybe-dvi-mmalloc \
985 maybe-dvi-patch \
986 maybe-dvi-perl \
987 maybe-dvi-prms \
988 maybe-dvi-rcs \
989 maybe-dvi-readline \
990 maybe-dvi-release \
991 maybe-dvi-recode \
992 maybe-dvi-sed \
993 maybe-dvi-send-pr \
994 maybe-dvi-shellutils \
995 maybe-dvi-sid \
996 maybe-dvi-sim \
997 maybe-dvi-tar \
998 maybe-dvi-texinfo \
999 maybe-dvi-textutils \
1000 maybe-dvi-time \
1001 maybe-dvi-uudecode \
1002 maybe-dvi-wdiff \
1003 maybe-dvi-zip \
1004 maybe-dvi-zlib \
1005 maybe-dvi-gdb \
1006 maybe-dvi-expect \
1007 maybe-dvi-guile \
1008 maybe-dvi-tk \
1009 maybe-dvi-libtermcap \
1010 maybe-dvi-utils
1012 .PHONY: dvi-target
1013 dvi-target: \
1014 maybe-dvi-target-libstdc++-v3 \
1015 maybe-dvi-target-libmudflap \
1016 maybe-dvi-target-newlib \
1017 maybe-dvi-target-libgfortran \
1018 maybe-dvi-target-libobjc \
1019 maybe-dvi-target-libtermcap \
1020 maybe-dvi-target-winsup \
1021 maybe-dvi-target-libgloss \
1022 maybe-dvi-target-libiberty \
1023 maybe-dvi-target-gperf \
1024 maybe-dvi-target-examples \
1025 maybe-dvi-target-libffi \
1026 maybe-dvi-target-libjava \
1027 maybe-dvi-target-zlib \
1028 maybe-dvi-target-boehm-gc \
1029 maybe-dvi-target-qthreads \
1030 maybe-dvi-target-rda \
1031 maybe-dvi-target-libada
1033 .PHONY: do-html
1034 do-html: unstage html-host html-target stage
1036 .PHONY: html-host
1037 html-host: \
1038 maybe-html-ash \
1039 maybe-html-autoconf \
1040 maybe-html-automake \
1041 maybe-html-bash \
1042 maybe-html-bfd \
1043 maybe-html-opcodes \
1044 maybe-html-binutils \
1045 maybe-html-bison \
1046 maybe-html-byacc \
1047 maybe-html-bzip2 \
1048 maybe-html-dejagnu \
1049 maybe-html-diff \
1050 maybe-html-dosutils \
1051 maybe-html-etc \
1052 maybe-html-fastjar \
1053 maybe-html-fileutils \
1054 maybe-html-findutils \
1055 maybe-html-find \
1056 maybe-html-fixincludes \
1057 maybe-html-flex \
1058 maybe-html-gas \
1059 maybe-html-gcc \
1060 maybe-html-gawk \
1061 maybe-html-gettext \
1062 maybe-html-gnuserv \
1063 maybe-html-gprof \
1064 maybe-html-gzip \
1065 maybe-html-hello \
1066 maybe-html-indent \
1067 maybe-html-intl \
1068 maybe-html-tcl \
1069 maybe-html-itcl \
1070 maybe-html-ld \
1071 maybe-html-libcpp \
1072 maybe-html-libgui \
1073 maybe-html-libiberty \
1074 maybe-html-libtool \
1075 maybe-html-m4 \
1076 maybe-html-make \
1077 maybe-html-mmalloc \
1078 maybe-html-patch \
1079 maybe-html-perl \
1080 maybe-html-prms \
1081 maybe-html-rcs \
1082 maybe-html-readline \
1083 maybe-html-release \
1084 maybe-html-recode \
1085 maybe-html-sed \
1086 maybe-html-send-pr \
1087 maybe-html-shellutils \
1088 maybe-html-sid \
1089 maybe-html-sim \
1090 maybe-html-tar \
1091 maybe-html-texinfo \
1092 maybe-html-textutils \
1093 maybe-html-time \
1094 maybe-html-uudecode \
1095 maybe-html-wdiff \
1096 maybe-html-zip \
1097 maybe-html-zlib \
1098 maybe-html-gdb \
1099 maybe-html-expect \
1100 maybe-html-guile \
1101 maybe-html-tk \
1102 maybe-html-libtermcap \
1103 maybe-html-utils
1105 .PHONY: html-target
1106 html-target: \
1107 maybe-html-target-libstdc++-v3 \
1108 maybe-html-target-libmudflap \
1109 maybe-html-target-newlib \
1110 maybe-html-target-libgfortran \
1111 maybe-html-target-libobjc \
1112 maybe-html-target-libtermcap \
1113 maybe-html-target-winsup \
1114 maybe-html-target-libgloss \
1115 maybe-html-target-libiberty \
1116 maybe-html-target-gperf \
1117 maybe-html-target-examples \
1118 maybe-html-target-libffi \
1119 maybe-html-target-libjava \
1120 maybe-html-target-zlib \
1121 maybe-html-target-boehm-gc \
1122 maybe-html-target-qthreads \
1123 maybe-html-target-rda \
1124 maybe-html-target-libada
1126 .PHONY: do-TAGS
1127 do-TAGS: unstage TAGS-host TAGS-target stage
1129 .PHONY: TAGS-host
1130 TAGS-host: \
1131 maybe-TAGS-ash \
1132 maybe-TAGS-autoconf \
1133 maybe-TAGS-automake \
1134 maybe-TAGS-bash \
1135 maybe-TAGS-bfd \
1136 maybe-TAGS-opcodes \
1137 maybe-TAGS-binutils \
1138 maybe-TAGS-bison \
1139 maybe-TAGS-byacc \
1140 maybe-TAGS-bzip2 \
1141 maybe-TAGS-dejagnu \
1142 maybe-TAGS-diff \
1143 maybe-TAGS-dosutils \
1144 maybe-TAGS-etc \
1145 maybe-TAGS-fastjar \
1146 maybe-TAGS-fileutils \
1147 maybe-TAGS-findutils \
1148 maybe-TAGS-find \
1149 maybe-TAGS-fixincludes \
1150 maybe-TAGS-flex \
1151 maybe-TAGS-gas \
1152 maybe-TAGS-gcc \
1153 maybe-TAGS-gawk \
1154 maybe-TAGS-gettext \
1155 maybe-TAGS-gnuserv \
1156 maybe-TAGS-gprof \
1157 maybe-TAGS-gzip \
1158 maybe-TAGS-hello \
1159 maybe-TAGS-indent \
1160 maybe-TAGS-intl \
1161 maybe-TAGS-tcl \
1162 maybe-TAGS-itcl \
1163 maybe-TAGS-ld \
1164 maybe-TAGS-libcpp \
1165 maybe-TAGS-libgui \
1166 maybe-TAGS-libiberty \
1167 maybe-TAGS-libtool \
1168 maybe-TAGS-m4 \
1169 maybe-TAGS-make \
1170 maybe-TAGS-mmalloc \
1171 maybe-TAGS-patch \
1172 maybe-TAGS-perl \
1173 maybe-TAGS-prms \
1174 maybe-TAGS-rcs \
1175 maybe-TAGS-readline \
1176 maybe-TAGS-release \
1177 maybe-TAGS-recode \
1178 maybe-TAGS-sed \
1179 maybe-TAGS-send-pr \
1180 maybe-TAGS-shellutils \
1181 maybe-TAGS-sid \
1182 maybe-TAGS-sim \
1183 maybe-TAGS-tar \
1184 maybe-TAGS-texinfo \
1185 maybe-TAGS-textutils \
1186 maybe-TAGS-time \
1187 maybe-TAGS-uudecode \
1188 maybe-TAGS-wdiff \
1189 maybe-TAGS-zip \
1190 maybe-TAGS-zlib \
1191 maybe-TAGS-gdb \
1192 maybe-TAGS-expect \
1193 maybe-TAGS-guile \
1194 maybe-TAGS-tk \
1195 maybe-TAGS-libtermcap \
1196 maybe-TAGS-utils
1198 .PHONY: TAGS-target
1199 TAGS-target: \
1200 maybe-TAGS-target-libstdc++-v3 \
1201 maybe-TAGS-target-libmudflap \
1202 maybe-TAGS-target-newlib \
1203 maybe-TAGS-target-libgfortran \
1204 maybe-TAGS-target-libobjc \
1205 maybe-TAGS-target-libtermcap \
1206 maybe-TAGS-target-winsup \
1207 maybe-TAGS-target-libgloss \
1208 maybe-TAGS-target-libiberty \
1209 maybe-TAGS-target-gperf \
1210 maybe-TAGS-target-examples \
1211 maybe-TAGS-target-libffi \
1212 maybe-TAGS-target-libjava \
1213 maybe-TAGS-target-zlib \
1214 maybe-TAGS-target-boehm-gc \
1215 maybe-TAGS-target-qthreads \
1216 maybe-TAGS-target-rda \
1217 maybe-TAGS-target-libada
1219 .PHONY: do-install-info
1220 do-install-info: unstage install-info-host install-info-target stage
1222 .PHONY: install-info-host
1223 install-info-host: \
1224 maybe-install-info-ash \
1225 maybe-install-info-autoconf \
1226 maybe-install-info-automake \
1227 maybe-install-info-bash \
1228 maybe-install-info-bfd \
1229 maybe-install-info-opcodes \
1230 maybe-install-info-binutils \
1231 maybe-install-info-bison \
1232 maybe-install-info-byacc \
1233 maybe-install-info-bzip2 \
1234 maybe-install-info-dejagnu \
1235 maybe-install-info-diff \
1236 maybe-install-info-dosutils \
1237 maybe-install-info-etc \
1238 maybe-install-info-fastjar \
1239 maybe-install-info-fileutils \
1240 maybe-install-info-findutils \
1241 maybe-install-info-find \
1242 maybe-install-info-fixincludes \
1243 maybe-install-info-flex \
1244 maybe-install-info-gas \
1245 maybe-install-info-gcc \
1246 maybe-install-info-gawk \
1247 maybe-install-info-gettext \
1248 maybe-install-info-gnuserv \
1249 maybe-install-info-gprof \
1250 maybe-install-info-gzip \
1251 maybe-install-info-hello \
1252 maybe-install-info-indent \
1253 maybe-install-info-intl \
1254 maybe-install-info-tcl \
1255 maybe-install-info-itcl \
1256 maybe-install-info-ld \
1257 maybe-install-info-libcpp \
1258 maybe-install-info-libgui \
1259 maybe-install-info-libiberty \
1260 maybe-install-info-libtool \
1261 maybe-install-info-m4 \
1262 maybe-install-info-make \
1263 maybe-install-info-mmalloc \
1264 maybe-install-info-patch \
1265 maybe-install-info-perl \
1266 maybe-install-info-prms \
1267 maybe-install-info-rcs \
1268 maybe-install-info-readline \
1269 maybe-install-info-release \
1270 maybe-install-info-recode \
1271 maybe-install-info-sed \
1272 maybe-install-info-send-pr \
1273 maybe-install-info-shellutils \
1274 maybe-install-info-sid \
1275 maybe-install-info-sim \
1276 maybe-install-info-tar \
1277 maybe-install-info-texinfo \
1278 maybe-install-info-textutils \
1279 maybe-install-info-time \
1280 maybe-install-info-uudecode \
1281 maybe-install-info-wdiff \
1282 maybe-install-info-zip \
1283 maybe-install-info-zlib \
1284 maybe-install-info-gdb \
1285 maybe-install-info-expect \
1286 maybe-install-info-guile \
1287 maybe-install-info-tk \
1288 maybe-install-info-libtermcap \
1289 maybe-install-info-utils
1291 .PHONY: install-info-target
1292 install-info-target: \
1293 maybe-install-info-target-libstdc++-v3 \
1294 maybe-install-info-target-libmudflap \
1295 maybe-install-info-target-newlib \
1296 maybe-install-info-target-libgfortran \
1297 maybe-install-info-target-libobjc \
1298 maybe-install-info-target-libtermcap \
1299 maybe-install-info-target-winsup \
1300 maybe-install-info-target-libgloss \
1301 maybe-install-info-target-libiberty \
1302 maybe-install-info-target-gperf \
1303 maybe-install-info-target-examples \
1304 maybe-install-info-target-libffi \
1305 maybe-install-info-target-libjava \
1306 maybe-install-info-target-zlib \
1307 maybe-install-info-target-boehm-gc \
1308 maybe-install-info-target-qthreads \
1309 maybe-install-info-target-rda \
1310 maybe-install-info-target-libada
1312 .PHONY: do-installcheck
1313 do-installcheck: unstage installcheck-host installcheck-target stage
1315 .PHONY: installcheck-host
1316 installcheck-host: \
1317 maybe-installcheck-ash \
1318 maybe-installcheck-autoconf \
1319 maybe-installcheck-automake \
1320 maybe-installcheck-bash \
1321 maybe-installcheck-bfd \
1322 maybe-installcheck-opcodes \
1323 maybe-installcheck-binutils \
1324 maybe-installcheck-bison \
1325 maybe-installcheck-byacc \
1326 maybe-installcheck-bzip2 \
1327 maybe-installcheck-dejagnu \
1328 maybe-installcheck-diff \
1329 maybe-installcheck-dosutils \
1330 maybe-installcheck-etc \
1331 maybe-installcheck-fastjar \
1332 maybe-installcheck-fileutils \
1333 maybe-installcheck-findutils \
1334 maybe-installcheck-find \
1335 maybe-installcheck-fixincludes \
1336 maybe-installcheck-flex \
1337 maybe-installcheck-gas \
1338 maybe-installcheck-gcc \
1339 maybe-installcheck-gawk \
1340 maybe-installcheck-gettext \
1341 maybe-installcheck-gnuserv \
1342 maybe-installcheck-gprof \
1343 maybe-installcheck-gzip \
1344 maybe-installcheck-hello \
1345 maybe-installcheck-indent \
1346 maybe-installcheck-intl \
1347 maybe-installcheck-tcl \
1348 maybe-installcheck-itcl \
1349 maybe-installcheck-ld \
1350 maybe-installcheck-libcpp \
1351 maybe-installcheck-libgui \
1352 maybe-installcheck-libiberty \
1353 maybe-installcheck-libtool \
1354 maybe-installcheck-m4 \
1355 maybe-installcheck-make \
1356 maybe-installcheck-mmalloc \
1357 maybe-installcheck-patch \
1358 maybe-installcheck-perl \
1359 maybe-installcheck-prms \
1360 maybe-installcheck-rcs \
1361 maybe-installcheck-readline \
1362 maybe-installcheck-release \
1363 maybe-installcheck-recode \
1364 maybe-installcheck-sed \
1365 maybe-installcheck-send-pr \
1366 maybe-installcheck-shellutils \
1367 maybe-installcheck-sid \
1368 maybe-installcheck-sim \
1369 maybe-installcheck-tar \
1370 maybe-installcheck-texinfo \
1371 maybe-installcheck-textutils \
1372 maybe-installcheck-time \
1373 maybe-installcheck-uudecode \
1374 maybe-installcheck-wdiff \
1375 maybe-installcheck-zip \
1376 maybe-installcheck-zlib \
1377 maybe-installcheck-gdb \
1378 maybe-installcheck-expect \
1379 maybe-installcheck-guile \
1380 maybe-installcheck-tk \
1381 maybe-installcheck-libtermcap \
1382 maybe-installcheck-utils
1384 .PHONY: installcheck-target
1385 installcheck-target: \
1386 maybe-installcheck-target-libstdc++-v3 \
1387 maybe-installcheck-target-libmudflap \
1388 maybe-installcheck-target-newlib \
1389 maybe-installcheck-target-libgfortran \
1390 maybe-installcheck-target-libobjc \
1391 maybe-installcheck-target-libtermcap \
1392 maybe-installcheck-target-winsup \
1393 maybe-installcheck-target-libgloss \
1394 maybe-installcheck-target-libiberty \
1395 maybe-installcheck-target-gperf \
1396 maybe-installcheck-target-examples \
1397 maybe-installcheck-target-libffi \
1398 maybe-installcheck-target-libjava \
1399 maybe-installcheck-target-zlib \
1400 maybe-installcheck-target-boehm-gc \
1401 maybe-installcheck-target-qthreads \
1402 maybe-installcheck-target-rda \
1403 maybe-installcheck-target-libada
1405 .PHONY: do-mostlyclean
1406 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1408 .PHONY: mostlyclean-host
1409 mostlyclean-host: \
1410 maybe-mostlyclean-ash \
1411 maybe-mostlyclean-autoconf \
1412 maybe-mostlyclean-automake \
1413 maybe-mostlyclean-bash \
1414 maybe-mostlyclean-bfd \
1415 maybe-mostlyclean-opcodes \
1416 maybe-mostlyclean-binutils \
1417 maybe-mostlyclean-bison \
1418 maybe-mostlyclean-byacc \
1419 maybe-mostlyclean-bzip2 \
1420 maybe-mostlyclean-dejagnu \
1421 maybe-mostlyclean-diff \
1422 maybe-mostlyclean-dosutils \
1423 maybe-mostlyclean-etc \
1424 maybe-mostlyclean-fastjar \
1425 maybe-mostlyclean-fileutils \
1426 maybe-mostlyclean-findutils \
1427 maybe-mostlyclean-find \
1428 maybe-mostlyclean-fixincludes \
1429 maybe-mostlyclean-flex \
1430 maybe-mostlyclean-gas \
1431 maybe-mostlyclean-gcc \
1432 maybe-mostlyclean-gawk \
1433 maybe-mostlyclean-gettext \
1434 maybe-mostlyclean-gnuserv \
1435 maybe-mostlyclean-gprof \
1436 maybe-mostlyclean-gzip \
1437 maybe-mostlyclean-hello \
1438 maybe-mostlyclean-indent \
1439 maybe-mostlyclean-intl \
1440 maybe-mostlyclean-tcl \
1441 maybe-mostlyclean-itcl \
1442 maybe-mostlyclean-ld \
1443 maybe-mostlyclean-libcpp \
1444 maybe-mostlyclean-libgui \
1445 maybe-mostlyclean-libiberty \
1446 maybe-mostlyclean-libtool \
1447 maybe-mostlyclean-m4 \
1448 maybe-mostlyclean-make \
1449 maybe-mostlyclean-mmalloc \
1450 maybe-mostlyclean-patch \
1451 maybe-mostlyclean-perl \
1452 maybe-mostlyclean-prms \
1453 maybe-mostlyclean-rcs \
1454 maybe-mostlyclean-readline \
1455 maybe-mostlyclean-release \
1456 maybe-mostlyclean-recode \
1457 maybe-mostlyclean-sed \
1458 maybe-mostlyclean-send-pr \
1459 maybe-mostlyclean-shellutils \
1460 maybe-mostlyclean-sid \
1461 maybe-mostlyclean-sim \
1462 maybe-mostlyclean-tar \
1463 maybe-mostlyclean-texinfo \
1464 maybe-mostlyclean-textutils \
1465 maybe-mostlyclean-time \
1466 maybe-mostlyclean-uudecode \
1467 maybe-mostlyclean-wdiff \
1468 maybe-mostlyclean-zip \
1469 maybe-mostlyclean-zlib \
1470 maybe-mostlyclean-gdb \
1471 maybe-mostlyclean-expect \
1472 maybe-mostlyclean-guile \
1473 maybe-mostlyclean-tk \
1474 maybe-mostlyclean-libtermcap \
1475 maybe-mostlyclean-utils
1477 .PHONY: mostlyclean-target
1478 mostlyclean-target: \
1479 maybe-mostlyclean-target-libstdc++-v3 \
1480 maybe-mostlyclean-target-libmudflap \
1481 maybe-mostlyclean-target-newlib \
1482 maybe-mostlyclean-target-libgfortran \
1483 maybe-mostlyclean-target-libobjc \
1484 maybe-mostlyclean-target-libtermcap \
1485 maybe-mostlyclean-target-winsup \
1486 maybe-mostlyclean-target-libgloss \
1487 maybe-mostlyclean-target-libiberty \
1488 maybe-mostlyclean-target-gperf \
1489 maybe-mostlyclean-target-examples \
1490 maybe-mostlyclean-target-libffi \
1491 maybe-mostlyclean-target-libjava \
1492 maybe-mostlyclean-target-zlib \
1493 maybe-mostlyclean-target-boehm-gc \
1494 maybe-mostlyclean-target-qthreads \
1495 maybe-mostlyclean-target-rda \
1496 maybe-mostlyclean-target-libada
1498 .PHONY: do-clean
1499 do-clean: unstage clean-host clean-target stage
1501 .PHONY: clean-host
1502 clean-host: \
1503 maybe-clean-ash \
1504 maybe-clean-autoconf \
1505 maybe-clean-automake \
1506 maybe-clean-bash \
1507 maybe-clean-bfd \
1508 maybe-clean-opcodes \
1509 maybe-clean-binutils \
1510 maybe-clean-bison \
1511 maybe-clean-byacc \
1512 maybe-clean-bzip2 \
1513 maybe-clean-dejagnu \
1514 maybe-clean-diff \
1515 maybe-clean-dosutils \
1516 maybe-clean-etc \
1517 maybe-clean-fastjar \
1518 maybe-clean-fileutils \
1519 maybe-clean-findutils \
1520 maybe-clean-find \
1521 maybe-clean-fixincludes \
1522 maybe-clean-flex \
1523 maybe-clean-gas \
1524 maybe-clean-gcc \
1525 maybe-clean-gawk \
1526 maybe-clean-gettext \
1527 maybe-clean-gnuserv \
1528 maybe-clean-gprof \
1529 maybe-clean-gzip \
1530 maybe-clean-hello \
1531 maybe-clean-indent \
1532 maybe-clean-intl \
1533 maybe-clean-tcl \
1534 maybe-clean-itcl \
1535 maybe-clean-ld \
1536 maybe-clean-libcpp \
1537 maybe-clean-libgui \
1538 maybe-clean-libiberty \
1539 maybe-clean-libtool \
1540 maybe-clean-m4 \
1541 maybe-clean-make \
1542 maybe-clean-mmalloc \
1543 maybe-clean-patch \
1544 maybe-clean-perl \
1545 maybe-clean-prms \
1546 maybe-clean-rcs \
1547 maybe-clean-readline \
1548 maybe-clean-release \
1549 maybe-clean-recode \
1550 maybe-clean-sed \
1551 maybe-clean-send-pr \
1552 maybe-clean-shellutils \
1553 maybe-clean-sid \
1554 maybe-clean-sim \
1555 maybe-clean-tar \
1556 maybe-clean-texinfo \
1557 maybe-clean-textutils \
1558 maybe-clean-time \
1559 maybe-clean-uudecode \
1560 maybe-clean-wdiff \
1561 maybe-clean-zip \
1562 maybe-clean-zlib \
1563 maybe-clean-gdb \
1564 maybe-clean-expect \
1565 maybe-clean-guile \
1566 maybe-clean-tk \
1567 maybe-clean-libtermcap \
1568 maybe-clean-utils
1570 .PHONY: clean-target
1571 clean-target: \
1572 maybe-clean-target-libstdc++-v3 \
1573 maybe-clean-target-libmudflap \
1574 maybe-clean-target-newlib \
1575 maybe-clean-target-libgfortran \
1576 maybe-clean-target-libobjc \
1577 maybe-clean-target-libtermcap \
1578 maybe-clean-target-winsup \
1579 maybe-clean-target-libgloss \
1580 maybe-clean-target-libiberty \
1581 maybe-clean-target-gperf \
1582 maybe-clean-target-examples \
1583 maybe-clean-target-libffi \
1584 maybe-clean-target-libjava \
1585 maybe-clean-target-zlib \
1586 maybe-clean-target-boehm-gc \
1587 maybe-clean-target-qthreads \
1588 maybe-clean-target-rda \
1589 maybe-clean-target-libada
1591 .PHONY: do-distclean
1592 do-distclean: unstage distclean-host distclean-target stage
1594 .PHONY: distclean-host
1595 distclean-host: \
1596 maybe-distclean-ash \
1597 maybe-distclean-autoconf \
1598 maybe-distclean-automake \
1599 maybe-distclean-bash \
1600 maybe-distclean-bfd \
1601 maybe-distclean-opcodes \
1602 maybe-distclean-binutils \
1603 maybe-distclean-bison \
1604 maybe-distclean-byacc \
1605 maybe-distclean-bzip2 \
1606 maybe-distclean-dejagnu \
1607 maybe-distclean-diff \
1608 maybe-distclean-dosutils \
1609 maybe-distclean-etc \
1610 maybe-distclean-fastjar \
1611 maybe-distclean-fileutils \
1612 maybe-distclean-findutils \
1613 maybe-distclean-find \
1614 maybe-distclean-fixincludes \
1615 maybe-distclean-flex \
1616 maybe-distclean-gas \
1617 maybe-distclean-gcc \
1618 maybe-distclean-gawk \
1619 maybe-distclean-gettext \
1620 maybe-distclean-gnuserv \
1621 maybe-distclean-gprof \
1622 maybe-distclean-gzip \
1623 maybe-distclean-hello \
1624 maybe-distclean-indent \
1625 maybe-distclean-intl \
1626 maybe-distclean-tcl \
1627 maybe-distclean-itcl \
1628 maybe-distclean-ld \
1629 maybe-distclean-libcpp \
1630 maybe-distclean-libgui \
1631 maybe-distclean-libiberty \
1632 maybe-distclean-libtool \
1633 maybe-distclean-m4 \
1634 maybe-distclean-make \
1635 maybe-distclean-mmalloc \
1636 maybe-distclean-patch \
1637 maybe-distclean-perl \
1638 maybe-distclean-prms \
1639 maybe-distclean-rcs \
1640 maybe-distclean-readline \
1641 maybe-distclean-release \
1642 maybe-distclean-recode \
1643 maybe-distclean-sed \
1644 maybe-distclean-send-pr \
1645 maybe-distclean-shellutils \
1646 maybe-distclean-sid \
1647 maybe-distclean-sim \
1648 maybe-distclean-tar \
1649 maybe-distclean-texinfo \
1650 maybe-distclean-textutils \
1651 maybe-distclean-time \
1652 maybe-distclean-uudecode \
1653 maybe-distclean-wdiff \
1654 maybe-distclean-zip \
1655 maybe-distclean-zlib \
1656 maybe-distclean-gdb \
1657 maybe-distclean-expect \
1658 maybe-distclean-guile \
1659 maybe-distclean-tk \
1660 maybe-distclean-libtermcap \
1661 maybe-distclean-utils
1663 .PHONY: distclean-target
1664 distclean-target: \
1665 maybe-distclean-target-libstdc++-v3 \
1666 maybe-distclean-target-libmudflap \
1667 maybe-distclean-target-newlib \
1668 maybe-distclean-target-libgfortran \
1669 maybe-distclean-target-libobjc \
1670 maybe-distclean-target-libtermcap \
1671 maybe-distclean-target-winsup \
1672 maybe-distclean-target-libgloss \
1673 maybe-distclean-target-libiberty \
1674 maybe-distclean-target-gperf \
1675 maybe-distclean-target-examples \
1676 maybe-distclean-target-libffi \
1677 maybe-distclean-target-libjava \
1678 maybe-distclean-target-zlib \
1679 maybe-distclean-target-boehm-gc \
1680 maybe-distclean-target-qthreads \
1681 maybe-distclean-target-rda \
1682 maybe-distclean-target-libada
1684 .PHONY: do-maintainer-clean
1685 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1687 .PHONY: maintainer-clean-host
1688 maintainer-clean-host: \
1689 maybe-maintainer-clean-ash \
1690 maybe-maintainer-clean-autoconf \
1691 maybe-maintainer-clean-automake \
1692 maybe-maintainer-clean-bash \
1693 maybe-maintainer-clean-bfd \
1694 maybe-maintainer-clean-opcodes \
1695 maybe-maintainer-clean-binutils \
1696 maybe-maintainer-clean-bison \
1697 maybe-maintainer-clean-byacc \
1698 maybe-maintainer-clean-bzip2 \
1699 maybe-maintainer-clean-dejagnu \
1700 maybe-maintainer-clean-diff \
1701 maybe-maintainer-clean-dosutils \
1702 maybe-maintainer-clean-etc \
1703 maybe-maintainer-clean-fastjar \
1704 maybe-maintainer-clean-fileutils \
1705 maybe-maintainer-clean-findutils \
1706 maybe-maintainer-clean-find \
1707 maybe-maintainer-clean-fixincludes \
1708 maybe-maintainer-clean-flex \
1709 maybe-maintainer-clean-gas \
1710 maybe-maintainer-clean-gcc \
1711 maybe-maintainer-clean-gawk \
1712 maybe-maintainer-clean-gettext \
1713 maybe-maintainer-clean-gnuserv \
1714 maybe-maintainer-clean-gprof \
1715 maybe-maintainer-clean-gzip \
1716 maybe-maintainer-clean-hello \
1717 maybe-maintainer-clean-indent \
1718 maybe-maintainer-clean-intl \
1719 maybe-maintainer-clean-tcl \
1720 maybe-maintainer-clean-itcl \
1721 maybe-maintainer-clean-ld \
1722 maybe-maintainer-clean-libcpp \
1723 maybe-maintainer-clean-libgui \
1724 maybe-maintainer-clean-libiberty \
1725 maybe-maintainer-clean-libtool \
1726 maybe-maintainer-clean-m4 \
1727 maybe-maintainer-clean-make \
1728 maybe-maintainer-clean-mmalloc \
1729 maybe-maintainer-clean-patch \
1730 maybe-maintainer-clean-perl \
1731 maybe-maintainer-clean-prms \
1732 maybe-maintainer-clean-rcs \
1733 maybe-maintainer-clean-readline \
1734 maybe-maintainer-clean-release \
1735 maybe-maintainer-clean-recode \
1736 maybe-maintainer-clean-sed \
1737 maybe-maintainer-clean-send-pr \
1738 maybe-maintainer-clean-shellutils \
1739 maybe-maintainer-clean-sid \
1740 maybe-maintainer-clean-sim \
1741 maybe-maintainer-clean-tar \
1742 maybe-maintainer-clean-texinfo \
1743 maybe-maintainer-clean-textutils \
1744 maybe-maintainer-clean-time \
1745 maybe-maintainer-clean-uudecode \
1746 maybe-maintainer-clean-wdiff \
1747 maybe-maintainer-clean-zip \
1748 maybe-maintainer-clean-zlib \
1749 maybe-maintainer-clean-gdb \
1750 maybe-maintainer-clean-expect \
1751 maybe-maintainer-clean-guile \
1752 maybe-maintainer-clean-tk \
1753 maybe-maintainer-clean-libtermcap \
1754 maybe-maintainer-clean-utils
1756 .PHONY: maintainer-clean-target
1757 maintainer-clean-target: \
1758 maybe-maintainer-clean-target-libstdc++-v3 \
1759 maybe-maintainer-clean-target-libmudflap \
1760 maybe-maintainer-clean-target-newlib \
1761 maybe-maintainer-clean-target-libgfortran \
1762 maybe-maintainer-clean-target-libobjc \
1763 maybe-maintainer-clean-target-libtermcap \
1764 maybe-maintainer-clean-target-winsup \
1765 maybe-maintainer-clean-target-libgloss \
1766 maybe-maintainer-clean-target-libiberty \
1767 maybe-maintainer-clean-target-gperf \
1768 maybe-maintainer-clean-target-examples \
1769 maybe-maintainer-clean-target-libffi \
1770 maybe-maintainer-clean-target-libjava \
1771 maybe-maintainer-clean-target-zlib \
1772 maybe-maintainer-clean-target-boehm-gc \
1773 maybe-maintainer-clean-target-qthreads \
1774 maybe-maintainer-clean-target-rda \
1775 maybe-maintainer-clean-target-libada
1778 # Here are the targets which correspond to the do-X targets.
1780 .PHONY: info installcheck dvi html install-info
1781 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1782 .PHONY: local-clean local-distclean local-maintainer-clean
1783 info: do-info
1784 installcheck: do-installcheck
1785 dvi: do-dvi
1786 html: do-html
1788 # Make sure makeinfo is built before we do a `make info', if we're
1789 # in fact building texinfo.
1790 do-info: maybe-all-texinfo
1792 install-info: do-install-info dir.info
1793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1794 if [ -f dir.info ] ; then \
1795 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1796 else true ; fi
1798 local-clean:
1799 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1801 local-distclean:
1802 -rm -f Makefile config.status config.cache mh-frag mt-frag
1803 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1804 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1805 rm -rf $(TARGET_SUBDIR); \
1806 else true; fi
1807 -rm -rf $(BUILD_SUBDIR)
1808 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1809 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1810 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1811 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1812 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1814 local-maintainer-clean:
1815 @echo "This command is intended for maintainers to use;"
1816 @echo "it deletes files that may require special tools to rebuild."
1818 clean: do-clean local-clean
1819 mostlyclean: do-mostlyclean local-clean
1820 distclean: do-distclean local-clean local-distclean
1821 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1822 maintainer-clean: local-distclean
1823 realclean: maintainer-clean
1825 # Extra dependency for clean-target, owing to the mixed nature of gcc
1826 clean-target: clean-target-libgcc
1827 clean-target-libgcc:
1828 test ! -d gcc/libgcc || \
1829 (cd gcc/libgcc && find . -type d -print) | \
1830 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1831 -rm -rf gcc/libgcc
1832 -rm -f gcc/stmp-dirs
1834 # Check target.
1836 .PHONY: check do-check
1837 check: do-check
1839 # Only include modules actually being configured and built.
1840 do-check: unstage \
1841 maybe-check-ash \
1842 maybe-check-autoconf \
1843 maybe-check-automake \
1844 maybe-check-bash \
1845 maybe-check-bfd \
1846 maybe-check-opcodes \
1847 maybe-check-binutils \
1848 maybe-check-bison \
1849 maybe-check-byacc \
1850 maybe-check-bzip2 \
1851 maybe-check-dejagnu \
1852 maybe-check-diff \
1853 maybe-check-dosutils \
1854 maybe-check-etc \
1855 maybe-check-fastjar \
1856 maybe-check-fileutils \
1857 maybe-check-findutils \
1858 maybe-check-find \
1859 maybe-check-fixincludes \
1860 maybe-check-flex \
1861 maybe-check-gas \
1862 maybe-check-gcc \
1863 maybe-check-gawk \
1864 maybe-check-gettext \
1865 maybe-check-gnuserv \
1866 maybe-check-gprof \
1867 maybe-check-gzip \
1868 maybe-check-hello \
1869 maybe-check-indent \
1870 maybe-check-intl \
1871 maybe-check-tcl \
1872 maybe-check-itcl \
1873 maybe-check-ld \
1874 maybe-check-libcpp \
1875 maybe-check-libgui \
1876 maybe-check-libiberty \
1877 maybe-check-libtool \
1878 maybe-check-m4 \
1879 maybe-check-make \
1880 maybe-check-mmalloc \
1881 maybe-check-patch \
1882 maybe-check-perl \
1883 maybe-check-prms \
1884 maybe-check-rcs \
1885 maybe-check-readline \
1886 maybe-check-release \
1887 maybe-check-recode \
1888 maybe-check-sed \
1889 maybe-check-send-pr \
1890 maybe-check-shellutils \
1891 maybe-check-sid \
1892 maybe-check-sim \
1893 maybe-check-tar \
1894 maybe-check-texinfo \
1895 maybe-check-textutils \
1896 maybe-check-time \
1897 maybe-check-uudecode \
1898 maybe-check-wdiff \
1899 maybe-check-zip \
1900 maybe-check-zlib \
1901 maybe-check-gdb \
1902 maybe-check-expect \
1903 maybe-check-guile \
1904 maybe-check-tk \
1905 maybe-check-libtermcap \
1906 maybe-check-utils \
1907 maybe-check-target-libstdc++-v3 \
1908 maybe-check-target-libmudflap \
1909 maybe-check-target-newlib \
1910 maybe-check-target-libgfortran \
1911 maybe-check-target-libobjc \
1912 maybe-check-target-libtermcap \
1913 maybe-check-target-winsup \
1914 maybe-check-target-libgloss \
1915 maybe-check-target-libiberty \
1916 maybe-check-target-gperf \
1917 maybe-check-target-examples \
1918 maybe-check-target-libffi \
1919 maybe-check-target-libjava \
1920 maybe-check-target-zlib \
1921 maybe-check-target-boehm-gc \
1922 maybe-check-target-qthreads \
1923 maybe-check-target-rda \
1924 maybe-check-target-libada stage
1926 # Automated reporting of test results.
1928 warning.log: build.log
1929 $(srcdir)/contrib/warn_summary build.log > $@
1931 mail-report.log:
1932 if test x'$(BOOT_CFLAGS)' != x''; then \
1933 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1934 fi; \
1935 $(srcdir)/contrib/test_summary -t >$@
1936 chmod +x $@
1937 echo If you really want to send e-mail, run ./$@ now
1939 mail-report-with-warnings.log: warning.log
1940 if test x'$(BOOT_CFLAGS)' != x''; then \
1941 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1942 fi; \
1943 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1944 chmod +x $@
1945 echo If you really want to send e-mail, run ./$@ now
1947 # Installation targets.
1949 .PHONY: install uninstall
1950 install: installdirs install-host install-target
1952 .PHONY: install-host-nogcc
1953 install-host-nogcc: \
1954 maybe-install-ash \
1955 maybe-install-autoconf \
1956 maybe-install-automake \
1957 maybe-install-bash \
1958 maybe-install-bfd \
1959 maybe-install-opcodes \
1960 maybe-install-binutils \
1961 maybe-install-bison \
1962 maybe-install-byacc \
1963 maybe-install-bzip2 \
1964 maybe-install-dejagnu \
1965 maybe-install-diff \
1966 maybe-install-dosutils \
1967 maybe-install-etc \
1968 maybe-install-fastjar \
1969 maybe-install-fileutils \
1970 maybe-install-findutils \
1971 maybe-install-find \
1972 maybe-install-fixincludes \
1973 maybe-install-flex \
1974 maybe-install-gas \
1975 maybe-install-gawk \
1976 maybe-install-gettext \
1977 maybe-install-gnuserv \
1978 maybe-install-gprof \
1979 maybe-install-gzip \
1980 maybe-install-hello \
1981 maybe-install-indent \
1982 maybe-install-intl \
1983 maybe-install-tcl \
1984 maybe-install-itcl \
1985 maybe-install-ld \
1986 maybe-install-libcpp \
1987 maybe-install-libgui \
1988 maybe-install-libiberty \
1989 maybe-install-libtool \
1990 maybe-install-m4 \
1991 maybe-install-make \
1992 maybe-install-mmalloc \
1993 maybe-install-patch \
1994 maybe-install-perl \
1995 maybe-install-prms \
1996 maybe-install-rcs \
1997 maybe-install-readline \
1998 maybe-install-release \
1999 maybe-install-recode \
2000 maybe-install-sed \
2001 maybe-install-send-pr \
2002 maybe-install-shellutils \
2003 maybe-install-sid \
2004 maybe-install-sim \
2005 maybe-install-tar \
2006 maybe-install-texinfo \
2007 maybe-install-textutils \
2008 maybe-install-time \
2009 maybe-install-uudecode \
2010 maybe-install-wdiff \
2011 maybe-install-zip \
2012 maybe-install-zlib \
2013 maybe-install-gdb \
2014 maybe-install-expect \
2015 maybe-install-guile \
2016 maybe-install-tk \
2017 maybe-install-libtermcap \
2018 maybe-install-utils
2020 .PHONY: install-host
2021 install-host: \
2022 maybe-install-ash \
2023 maybe-install-autoconf \
2024 maybe-install-automake \
2025 maybe-install-bash \
2026 maybe-install-bfd \
2027 maybe-install-opcodes \
2028 maybe-install-binutils \
2029 maybe-install-bison \
2030 maybe-install-byacc \
2031 maybe-install-bzip2 \
2032 maybe-install-dejagnu \
2033 maybe-install-diff \
2034 maybe-install-dosutils \
2035 maybe-install-etc \
2036 maybe-install-fastjar \
2037 maybe-install-fileutils \
2038 maybe-install-findutils \
2039 maybe-install-find \
2040 maybe-install-fixincludes \
2041 maybe-install-flex \
2042 maybe-install-gas \
2043 maybe-install-gcc \
2044 maybe-install-gawk \
2045 maybe-install-gettext \
2046 maybe-install-gnuserv \
2047 maybe-install-gprof \
2048 maybe-install-gzip \
2049 maybe-install-hello \
2050 maybe-install-indent \
2051 maybe-install-intl \
2052 maybe-install-tcl \
2053 maybe-install-itcl \
2054 maybe-install-ld \
2055 maybe-install-libcpp \
2056 maybe-install-libgui \
2057 maybe-install-libiberty \
2058 maybe-install-libtool \
2059 maybe-install-m4 \
2060 maybe-install-make \
2061 maybe-install-mmalloc \
2062 maybe-install-patch \
2063 maybe-install-perl \
2064 maybe-install-prms \
2065 maybe-install-rcs \
2066 maybe-install-readline \
2067 maybe-install-release \
2068 maybe-install-recode \
2069 maybe-install-sed \
2070 maybe-install-send-pr \
2071 maybe-install-shellutils \
2072 maybe-install-sid \
2073 maybe-install-sim \
2074 maybe-install-tar \
2075 maybe-install-texinfo \
2076 maybe-install-textutils \
2077 maybe-install-time \
2078 maybe-install-uudecode \
2079 maybe-install-wdiff \
2080 maybe-install-zip \
2081 maybe-install-zlib \
2082 maybe-install-gdb \
2083 maybe-install-expect \
2084 maybe-install-guile \
2085 maybe-install-tk \
2086 maybe-install-libtermcap \
2087 maybe-install-utils
2089 .PHONY: install-target
2090 install-target: \
2091 maybe-install-target-libstdc++-v3 \
2092 maybe-install-target-libmudflap \
2093 maybe-install-target-newlib \
2094 maybe-install-target-libgfortran \
2095 maybe-install-target-libobjc \
2096 maybe-install-target-libtermcap \
2097 maybe-install-target-winsup \
2098 maybe-install-target-libgloss \
2099 maybe-install-target-libiberty \
2100 maybe-install-target-gperf \
2101 maybe-install-target-examples \
2102 maybe-install-target-libffi \
2103 maybe-install-target-libjava \
2104 maybe-install-target-zlib \
2105 maybe-install-target-boehm-gc \
2106 maybe-install-target-qthreads \
2107 maybe-install-target-rda \
2108 maybe-install-target-libada
2110 uninstall:
2111 @echo "the uninstall target is not supported in this tree"
2113 .PHONY: install.all
2114 install.all: install-no-fixedincludes
2115 @if [ -f ./gcc/Makefile ] ; then \
2116 r=`${PWD_COMMAND}` ; export r ; \
2117 $(SET_LIB_PATH) \
2118 $(HOST_EXPORTS) \
2119 (cd ./gcc && \
2120 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2121 else \
2122 true ; \
2125 # install-no-fixedincludes is used because Cygnus can not distribute
2126 # the fixed header files.
2127 .PHONY: install-no-fixedincludes
2128 install-no-fixedincludes: installdirs install-host-nogcc \
2129 install-target gcc-no-fixedincludes
2131 ### other supporting targets
2133 MAKEDIRS= \
2134 $(DESTDIR)$(prefix) \
2135 $(DESTDIR)$(exec_prefix)
2136 .PHONY: installdirs
2137 installdirs: mkinstalldirs
2138 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2140 dir.info: do-install-info
2141 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2142 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2143 mv -f dir.info.new dir.info ; \
2144 else true ; \
2147 dist:
2148 @echo "Building a full distribution of this tree isn't done"
2149 @echo "via 'make dist'. Check out the etc/ subdirectory"
2151 etags tags: TAGS
2153 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2154 # ability to use several tags files at once, so there is probably no need
2155 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2156 # (if we felt like it) have this Makefile write a piece of elisp which
2157 # the user could load to tell emacs19 where all the TAGS files we just
2158 # built are.
2159 TAGS: do-TAGS
2161 # --------------------------------------
2162 # Modules which run on the build machine
2163 # --------------------------------------
2165 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2166 maybe-configure-build-libiberty:
2167 @if build-libiberty
2168 maybe-configure-build-libiberty: configure-build-libiberty
2169 configure-build-libiberty:
2170 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2171 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2172 r=`${PWD_COMMAND}`; export r; \
2173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2174 $(BUILD_EXPORTS) \
2175 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2176 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2177 case $(srcdir) in \
2178 /* | [A-Za-z]:[\\/]*) \
2179 topdir=$(srcdir) ;; \
2180 *) \
2181 case "$(BUILD_SUBDIR)" in \
2182 .) topdir="../$(srcdir)" ;; \
2183 *) topdir="../../$(srcdir)" ;; \
2184 esac ;; \
2185 esac; \
2186 if [ "$(srcdir)" = "." ] ; then \
2187 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2188 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2189 if [ -f Makefile ]; then \
2190 if $(MAKE) distclean; then \
2191 true; \
2192 else \
2193 exit 1; \
2194 fi; \
2195 else \
2196 true; \
2197 fi; \
2198 else \
2199 exit 1; \
2200 fi; \
2201 else \
2202 true; \
2203 fi; \
2204 srcdiroption="--srcdir=."; \
2205 libsrcdir="."; \
2206 else \
2207 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2208 libsrcdir="$$s/libiberty"; \
2209 fi; \
2210 rm -f no-such-file || : ; \
2211 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2212 $(BUILD_CONFIGARGS) $${srcdiroption} \
2213 --with-build-subdir="$(BUILD_SUBDIR)" \
2214 || exit 1
2215 @endif build-libiberty
2217 .PHONY: all-build-libiberty maybe-all-build-libiberty
2218 maybe-all-build-libiberty:
2219 @if build-libiberty
2220 TARGET-build-libiberty=all
2221 maybe-all-build-libiberty: all-build-libiberty
2222 all-build-libiberty: configure-build-libiberty
2223 @r=`${PWD_COMMAND}`; export r; \
2224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2225 $(BUILD_EXPORTS) \
2226 (cd $(BUILD_SUBDIR)/libiberty && \
2227 $(MAKE) $(TARGET-build-libiberty))
2228 @endif build-libiberty
2230 .PHONY: configure-build-bison maybe-configure-build-bison
2231 maybe-configure-build-bison:
2232 @if build-bison
2233 maybe-configure-build-bison: configure-build-bison
2234 configure-build-bison:
2235 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2236 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2237 r=`${PWD_COMMAND}`; export r; \
2238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2239 $(BUILD_EXPORTS) \
2240 echo Configuring in $(BUILD_SUBDIR)/bison; \
2241 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2242 case $(srcdir) in \
2243 /* | [A-Za-z]:[\\/]*) \
2244 topdir=$(srcdir) ;; \
2245 *) \
2246 case "$(BUILD_SUBDIR)" in \
2247 .) topdir="../$(srcdir)" ;; \
2248 *) topdir="../../$(srcdir)" ;; \
2249 esac ;; \
2250 esac; \
2251 if [ "$(srcdir)" = "." ] ; then \
2252 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2253 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2254 if [ -f Makefile ]; then \
2255 if $(MAKE) distclean; then \
2256 true; \
2257 else \
2258 exit 1; \
2259 fi; \
2260 else \
2261 true; \
2262 fi; \
2263 else \
2264 exit 1; \
2265 fi; \
2266 else \
2267 true; \
2268 fi; \
2269 srcdiroption="--srcdir=."; \
2270 libsrcdir="."; \
2271 else \
2272 srcdiroption="--srcdir=$${topdir}/bison"; \
2273 libsrcdir="$$s/bison"; \
2274 fi; \
2275 rm -f no-such-file || : ; \
2276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2277 $(BUILD_CONFIGARGS) $${srcdiroption} \
2278 --with-build-subdir="$(BUILD_SUBDIR)" \
2279 || exit 1
2280 @endif build-bison
2282 .PHONY: all-build-bison maybe-all-build-bison
2283 maybe-all-build-bison:
2284 @if build-bison
2285 TARGET-build-bison=all
2286 maybe-all-build-bison: all-build-bison
2287 all-build-bison: configure-build-bison
2288 @r=`${PWD_COMMAND}`; export r; \
2289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2290 $(BUILD_EXPORTS) \
2291 (cd $(BUILD_SUBDIR)/bison && \
2292 $(MAKE) $(TARGET-build-bison))
2293 @endif build-bison
2295 .PHONY: configure-build-byacc maybe-configure-build-byacc
2296 maybe-configure-build-byacc:
2297 @if build-byacc
2298 maybe-configure-build-byacc: configure-build-byacc
2299 configure-build-byacc:
2300 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2301 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2302 r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 $(BUILD_EXPORTS) \
2305 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2306 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2307 case $(srcdir) in \
2308 /* | [A-Za-z]:[\\/]*) \
2309 topdir=$(srcdir) ;; \
2310 *) \
2311 case "$(BUILD_SUBDIR)" in \
2312 .) topdir="../$(srcdir)" ;; \
2313 *) topdir="../../$(srcdir)" ;; \
2314 esac ;; \
2315 esac; \
2316 if [ "$(srcdir)" = "." ] ; then \
2317 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2318 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2319 if [ -f Makefile ]; then \
2320 if $(MAKE) distclean; then \
2321 true; \
2322 else \
2323 exit 1; \
2324 fi; \
2325 else \
2326 true; \
2327 fi; \
2328 else \
2329 exit 1; \
2330 fi; \
2331 else \
2332 true; \
2333 fi; \
2334 srcdiroption="--srcdir=."; \
2335 libsrcdir="."; \
2336 else \
2337 srcdiroption="--srcdir=$${topdir}/byacc"; \
2338 libsrcdir="$$s/byacc"; \
2339 fi; \
2340 rm -f no-such-file || : ; \
2341 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2342 $(BUILD_CONFIGARGS) $${srcdiroption} \
2343 --with-build-subdir="$(BUILD_SUBDIR)" \
2344 || exit 1
2345 @endif build-byacc
2347 .PHONY: all-build-byacc maybe-all-build-byacc
2348 maybe-all-build-byacc:
2349 @if build-byacc
2350 TARGET-build-byacc=all
2351 maybe-all-build-byacc: all-build-byacc
2352 all-build-byacc: configure-build-byacc
2353 @r=`${PWD_COMMAND}`; export r; \
2354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2355 $(BUILD_EXPORTS) \
2356 (cd $(BUILD_SUBDIR)/byacc && \
2357 $(MAKE) $(TARGET-build-byacc))
2358 @endif build-byacc
2360 .PHONY: configure-build-flex maybe-configure-build-flex
2361 maybe-configure-build-flex:
2362 @if build-flex
2363 maybe-configure-build-flex: configure-build-flex
2364 configure-build-flex:
2365 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2366 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2367 r=`${PWD_COMMAND}`; export r; \
2368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 $(BUILD_EXPORTS) \
2370 echo Configuring in $(BUILD_SUBDIR)/flex; \
2371 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2372 case $(srcdir) in \
2373 /* | [A-Za-z]:[\\/]*) \
2374 topdir=$(srcdir) ;; \
2375 *) \
2376 case "$(BUILD_SUBDIR)" in \
2377 .) topdir="../$(srcdir)" ;; \
2378 *) topdir="../../$(srcdir)" ;; \
2379 esac ;; \
2380 esac; \
2381 if [ "$(srcdir)" = "." ] ; then \
2382 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2383 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2384 if [ -f Makefile ]; then \
2385 if $(MAKE) distclean; then \
2386 true; \
2387 else \
2388 exit 1; \
2389 fi; \
2390 else \
2391 true; \
2392 fi; \
2393 else \
2394 exit 1; \
2395 fi; \
2396 else \
2397 true; \
2398 fi; \
2399 srcdiroption="--srcdir=."; \
2400 libsrcdir="."; \
2401 else \
2402 srcdiroption="--srcdir=$${topdir}/flex"; \
2403 libsrcdir="$$s/flex"; \
2404 fi; \
2405 rm -f no-such-file || : ; \
2406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2407 $(BUILD_CONFIGARGS) $${srcdiroption} \
2408 --with-build-subdir="$(BUILD_SUBDIR)" \
2409 || exit 1
2410 @endif build-flex
2412 .PHONY: all-build-flex maybe-all-build-flex
2413 maybe-all-build-flex:
2414 @if build-flex
2415 TARGET-build-flex=all
2416 maybe-all-build-flex: all-build-flex
2417 all-build-flex: configure-build-flex
2418 @r=`${PWD_COMMAND}`; export r; \
2419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2420 $(BUILD_EXPORTS) \
2421 (cd $(BUILD_SUBDIR)/flex && \
2422 $(MAKE) $(TARGET-build-flex))
2423 @endif build-flex
2425 .PHONY: configure-build-m4 maybe-configure-build-m4
2426 maybe-configure-build-m4:
2427 @if build-m4
2428 maybe-configure-build-m4: configure-build-m4
2429 configure-build-m4:
2430 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2431 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2432 r=`${PWD_COMMAND}`; export r; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434 $(BUILD_EXPORTS) \
2435 echo Configuring in $(BUILD_SUBDIR)/m4; \
2436 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2437 case $(srcdir) in \
2438 /* | [A-Za-z]:[\\/]*) \
2439 topdir=$(srcdir) ;; \
2440 *) \
2441 case "$(BUILD_SUBDIR)" in \
2442 .) topdir="../$(srcdir)" ;; \
2443 *) topdir="../../$(srcdir)" ;; \
2444 esac ;; \
2445 esac; \
2446 if [ "$(srcdir)" = "." ] ; then \
2447 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2448 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2449 if [ -f Makefile ]; then \
2450 if $(MAKE) distclean; then \
2451 true; \
2452 else \
2453 exit 1; \
2454 fi; \
2455 else \
2456 true; \
2457 fi; \
2458 else \
2459 exit 1; \
2460 fi; \
2461 else \
2462 true; \
2463 fi; \
2464 srcdiroption="--srcdir=."; \
2465 libsrcdir="."; \
2466 else \
2467 srcdiroption="--srcdir=$${topdir}/m4"; \
2468 libsrcdir="$$s/m4"; \
2469 fi; \
2470 rm -f no-such-file || : ; \
2471 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2472 $(BUILD_CONFIGARGS) $${srcdiroption} \
2473 --with-build-subdir="$(BUILD_SUBDIR)" \
2474 || exit 1
2475 @endif build-m4
2477 .PHONY: all-build-m4 maybe-all-build-m4
2478 maybe-all-build-m4:
2479 @if build-m4
2480 TARGET-build-m4=all
2481 maybe-all-build-m4: all-build-m4
2482 all-build-m4: configure-build-m4
2483 @r=`${PWD_COMMAND}`; export r; \
2484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2485 $(BUILD_EXPORTS) \
2486 (cd $(BUILD_SUBDIR)/m4 && \
2487 $(MAKE) $(TARGET-build-m4))
2488 @endif build-m4
2490 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2491 maybe-configure-build-texinfo:
2492 @if build-texinfo
2493 maybe-configure-build-texinfo: configure-build-texinfo
2494 configure-build-texinfo:
2495 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2496 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2497 r=`${PWD_COMMAND}`; export r; \
2498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499 $(BUILD_EXPORTS) \
2500 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2501 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2502 case $(srcdir) in \
2503 /* | [A-Za-z]:[\\/]*) \
2504 topdir=$(srcdir) ;; \
2505 *) \
2506 case "$(BUILD_SUBDIR)" in \
2507 .) topdir="../$(srcdir)" ;; \
2508 *) topdir="../../$(srcdir)" ;; \
2509 esac ;; \
2510 esac; \
2511 if [ "$(srcdir)" = "." ] ; then \
2512 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2513 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2514 if [ -f Makefile ]; then \
2515 if $(MAKE) distclean; then \
2516 true; \
2517 else \
2518 exit 1; \
2519 fi; \
2520 else \
2521 true; \
2522 fi; \
2523 else \
2524 exit 1; \
2525 fi; \
2526 else \
2527 true; \
2528 fi; \
2529 srcdiroption="--srcdir=."; \
2530 libsrcdir="."; \
2531 else \
2532 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2533 libsrcdir="$$s/texinfo"; \
2534 fi; \
2535 rm -f no-such-file || : ; \
2536 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2537 $(BUILD_CONFIGARGS) $${srcdiroption} \
2538 --with-build-subdir="$(BUILD_SUBDIR)" \
2539 || exit 1
2540 @endif build-texinfo
2542 .PHONY: all-build-texinfo maybe-all-build-texinfo
2543 maybe-all-build-texinfo:
2544 @if build-texinfo
2545 TARGET-build-texinfo=all
2546 maybe-all-build-texinfo: all-build-texinfo
2547 all-build-texinfo: configure-build-texinfo
2548 @r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 $(BUILD_EXPORTS) \
2551 (cd $(BUILD_SUBDIR)/texinfo && \
2552 $(MAKE) $(TARGET-build-texinfo))
2553 @endif build-texinfo
2555 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2556 maybe-configure-build-fixincludes:
2557 @if build-fixincludes
2558 maybe-configure-build-fixincludes: configure-build-fixincludes
2559 configure-build-fixincludes:
2560 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2561 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2562 r=`${PWD_COMMAND}`; export r; \
2563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2564 $(BUILD_EXPORTS) \
2565 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2566 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2567 case $(srcdir) in \
2568 /* | [A-Za-z]:[\\/]*) \
2569 topdir=$(srcdir) ;; \
2570 *) \
2571 case "$(BUILD_SUBDIR)" in \
2572 .) topdir="../$(srcdir)" ;; \
2573 *) topdir="../../$(srcdir)" ;; \
2574 esac ;; \
2575 esac; \
2576 if [ "$(srcdir)" = "." ] ; then \
2577 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2578 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2579 if [ -f Makefile ]; then \
2580 if $(MAKE) distclean; then \
2581 true; \
2582 else \
2583 exit 1; \
2584 fi; \
2585 else \
2586 true; \
2587 fi; \
2588 else \
2589 exit 1; \
2590 fi; \
2591 else \
2592 true; \
2593 fi; \
2594 srcdiroption="--srcdir=."; \
2595 libsrcdir="."; \
2596 else \
2597 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2598 libsrcdir="$$s/fixincludes"; \
2599 fi; \
2600 rm -f no-such-file || : ; \
2601 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2602 $(BUILD_CONFIGARGS) $${srcdiroption} \
2603 --with-build-subdir="$(BUILD_SUBDIR)" \
2604 || exit 1
2605 @endif build-fixincludes
2607 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2608 maybe-all-build-fixincludes:
2609 @if build-fixincludes
2610 TARGET-build-fixincludes=all
2611 maybe-all-build-fixincludes: all-build-fixincludes
2612 all-build-fixincludes: configure-build-fixincludes
2613 @r=`${PWD_COMMAND}`; export r; \
2614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 $(BUILD_EXPORTS) \
2616 (cd $(BUILD_SUBDIR)/fixincludes && \
2617 $(MAKE) $(TARGET-build-fixincludes))
2618 @endif build-fixincludes
2621 # --------------------------------------
2622 # Modules which run on the host machine
2623 # --------------------------------------
2625 .PHONY: configure-ash maybe-configure-ash
2626 maybe-configure-ash:
2627 @if ash
2628 maybe-configure-ash: configure-ash
2629 configure-ash:
2630 @test ! -f ash/Makefile || exit 0; \
2631 [ -d ash ] || mkdir ash; \
2632 r=`${PWD_COMMAND}`; export r; \
2633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2634 $(HOST_EXPORTS) \
2635 echo Configuring in ash; \
2636 cd ash || exit 1; \
2637 case $(srcdir) in \
2638 \.) \
2639 srcdiroption="--srcdir=."; \
2640 libsrcdir=".";; \
2641 /* | [A-Za-z]:[\\/]*) \
2642 srcdiroption="--srcdir=$(srcdir)/ash"; \
2643 libsrcdir="$$s/ash";; \
2644 *) \
2645 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2646 libsrcdir="$$s/ash";; \
2647 esac; \
2648 $(SHELL) $${libsrcdir}/configure \
2649 $(HOST_CONFIGARGS) $${srcdiroption} \
2650 || exit 1
2651 @endif ash
2653 .PHONY: all-ash maybe-all-ash
2654 maybe-all-ash:
2655 @if ash
2656 TARGET-ash=all
2657 maybe-all-ash: all-ash
2658 all-ash: configure-ash
2659 @r=`${PWD_COMMAND}`; export r; \
2660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2661 $(SET_LIB_PATH) \
2662 $(HOST_EXPORTS) \
2663 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2664 $(TARGET-ash))
2665 @endif ash
2667 .PHONY: check-ash maybe-check-ash
2668 maybe-check-ash:
2669 @if ash
2670 maybe-check-ash: check-ash
2672 check-ash:
2673 @r=`${PWD_COMMAND}`; export r; \
2674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2675 $(SET_LIB_PATH) \
2676 $(HOST_EXPORTS) \
2677 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2679 @endif ash
2681 .PHONY: install-ash maybe-install-ash
2682 maybe-install-ash:
2683 @if ash
2684 maybe-install-ash: install-ash
2686 install-ash: installdirs
2687 @r=`${PWD_COMMAND}`; export r; \
2688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2689 $(SET_LIB_PATH) \
2690 $(HOST_EXPORTS) \
2691 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2693 @endif ash
2695 # Other targets (info, dvi, etc.)
2697 .PHONY: maybe-info-ash info-ash
2698 maybe-info-ash:
2699 @if ash
2700 maybe-info-ash: info-ash
2702 info-ash: \
2703 configure-ash
2704 @[ -f ./ash/Makefile ] || exit 0; \
2705 r=`${PWD_COMMAND}`; export r; \
2706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2707 $(SET_LIB_PATH) \
2708 $(HOST_EXPORTS) \
2709 for flag in $(EXTRA_HOST_FLAGS) ; do \
2710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2711 done; \
2712 echo "Doing info in ash" ; \
2713 (cd ash && \
2714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2716 "RANLIB=$${RANLIB}" \
2717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2718 info) \
2719 || exit 1
2721 @endif ash
2723 .PHONY: maybe-dvi-ash dvi-ash
2724 maybe-dvi-ash:
2725 @if ash
2726 maybe-dvi-ash: dvi-ash
2728 dvi-ash: \
2729 configure-ash
2730 @[ -f ./ash/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 dvi in ash" ; \
2739 (cd ash && \
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 dvi) \
2745 || exit 1
2747 @endif ash
2749 .PHONY: maybe-html-ash html-ash
2750 maybe-html-ash:
2751 @if ash
2752 maybe-html-ash: html-ash
2754 html-ash: \
2755 configure-ash
2756 @[ -f ./ash/Makefile ] || exit 0; \
2757 r=`${PWD_COMMAND}`; export r; \
2758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2759 $(SET_LIB_PATH) \
2760 $(HOST_EXPORTS) \
2761 for flag in $(EXTRA_HOST_FLAGS) ; do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2763 done; \
2764 echo "Doing html in ash" ; \
2765 (cd ash && \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2770 html) \
2771 || exit 1
2773 @endif ash
2775 .PHONY: maybe-TAGS-ash TAGS-ash
2776 maybe-TAGS-ash:
2777 @if ash
2778 maybe-TAGS-ash: TAGS-ash
2780 TAGS-ash: \
2781 configure-ash
2782 @[ -f ./ash/Makefile ] || exit 0; \
2783 r=`${PWD_COMMAND}`; export r; \
2784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2785 $(SET_LIB_PATH) \
2786 $(HOST_EXPORTS) \
2787 for flag in $(EXTRA_HOST_FLAGS) ; do \
2788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2789 done; \
2790 echo "Doing TAGS in ash" ; \
2791 (cd ash && \
2792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2794 "RANLIB=$${RANLIB}" \
2795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2796 TAGS) \
2797 || exit 1
2799 @endif ash
2801 .PHONY: maybe-install-info-ash install-info-ash
2802 maybe-install-info-ash:
2803 @if ash
2804 maybe-install-info-ash: install-info-ash
2806 install-info-ash: \
2807 configure-ash \
2808 info-ash
2809 @[ -f ./ash/Makefile ] || exit 0; \
2810 r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2812 $(SET_LIB_PATH) \
2813 $(HOST_EXPORTS) \
2814 for flag in $(EXTRA_HOST_FLAGS) ; do \
2815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2816 done; \
2817 echo "Doing install-info in ash" ; \
2818 (cd ash && \
2819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2821 "RANLIB=$${RANLIB}" \
2822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2823 install-info) \
2824 || exit 1
2826 @endif ash
2828 .PHONY: maybe-installcheck-ash installcheck-ash
2829 maybe-installcheck-ash:
2830 @if ash
2831 maybe-installcheck-ash: installcheck-ash
2833 installcheck-ash: \
2834 configure-ash
2835 @[ -f ./ash/Makefile ] || exit 0; \
2836 r=`${PWD_COMMAND}`; export r; \
2837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2838 $(SET_LIB_PATH) \
2839 $(HOST_EXPORTS) \
2840 for flag in $(EXTRA_HOST_FLAGS) ; do \
2841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2842 done; \
2843 echo "Doing installcheck in ash" ; \
2844 (cd ash && \
2845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2847 "RANLIB=$${RANLIB}" \
2848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2849 installcheck) \
2850 || exit 1
2852 @endif ash
2854 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2855 maybe-mostlyclean-ash:
2856 @if ash
2857 maybe-mostlyclean-ash: mostlyclean-ash
2859 mostlyclean-ash:
2860 @[ -f ./ash/Makefile ] || exit 0; \
2861 r=`${PWD_COMMAND}`; export r; \
2862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 $(SET_LIB_PATH) \
2864 $(HOST_EXPORTS) \
2865 for flag in $(EXTRA_HOST_FLAGS) ; do \
2866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2867 done; \
2868 echo "Doing mostlyclean in ash" ; \
2869 (cd ash && \
2870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2872 "RANLIB=$${RANLIB}" \
2873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2874 mostlyclean) \
2875 || exit 1
2877 @endif ash
2879 .PHONY: maybe-clean-ash clean-ash
2880 maybe-clean-ash:
2881 @if ash
2882 maybe-clean-ash: clean-ash
2884 clean-ash:
2885 @[ -f ./ash/Makefile ] || exit 0; \
2886 r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2888 $(SET_LIB_PATH) \
2889 $(HOST_EXPORTS) \
2890 for flag in $(EXTRA_HOST_FLAGS) ; do \
2891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2892 done; \
2893 echo "Doing clean in ash" ; \
2894 (cd ash && \
2895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2897 "RANLIB=$${RANLIB}" \
2898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2899 clean) \
2900 || exit 1
2902 @endif ash
2904 .PHONY: maybe-distclean-ash distclean-ash
2905 maybe-distclean-ash:
2906 @if ash
2907 maybe-distclean-ash: distclean-ash
2909 distclean-ash:
2910 @[ -f ./ash/Makefile ] || exit 0; \
2911 r=`${PWD_COMMAND}`; export r; \
2912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2913 $(SET_LIB_PATH) \
2914 $(HOST_EXPORTS) \
2915 for flag in $(EXTRA_HOST_FLAGS) ; do \
2916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2917 done; \
2918 echo "Doing distclean in ash" ; \
2919 (cd ash && \
2920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2922 "RANLIB=$${RANLIB}" \
2923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2924 distclean) \
2925 || exit 1
2927 @endif ash
2929 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2930 maybe-maintainer-clean-ash:
2931 @if ash
2932 maybe-maintainer-clean-ash: maintainer-clean-ash
2934 maintainer-clean-ash:
2935 @[ -f ./ash/Makefile ] || exit 0; \
2936 r=`${PWD_COMMAND}`; export r; \
2937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 $(SET_LIB_PATH) \
2939 $(HOST_EXPORTS) \
2940 for flag in $(EXTRA_HOST_FLAGS) ; do \
2941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2942 done; \
2943 echo "Doing maintainer-clean in ash" ; \
2944 (cd ash && \
2945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2947 "RANLIB=$${RANLIB}" \
2948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2949 maintainer-clean) \
2950 || exit 1
2952 @endif ash
2955 .PHONY: configure-autoconf maybe-configure-autoconf
2956 maybe-configure-autoconf:
2957 @if autoconf
2958 maybe-configure-autoconf: configure-autoconf
2959 configure-autoconf:
2960 @test ! -f autoconf/Makefile || exit 0; \
2961 [ -d autoconf ] || mkdir autoconf; \
2962 r=`${PWD_COMMAND}`; export r; \
2963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 $(HOST_EXPORTS) \
2965 echo Configuring in autoconf; \
2966 cd autoconf || exit 1; \
2967 case $(srcdir) in \
2968 \.) \
2969 srcdiroption="--srcdir=."; \
2970 libsrcdir=".";; \
2971 /* | [A-Za-z]:[\\/]*) \
2972 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2973 libsrcdir="$$s/autoconf";; \
2974 *) \
2975 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2976 libsrcdir="$$s/autoconf";; \
2977 esac; \
2978 $(SHELL) $${libsrcdir}/configure \
2979 $(HOST_CONFIGARGS) $${srcdiroption} \
2980 || exit 1
2981 @endif autoconf
2983 .PHONY: all-autoconf maybe-all-autoconf
2984 maybe-all-autoconf:
2985 @if autoconf
2986 TARGET-autoconf=all
2987 maybe-all-autoconf: all-autoconf
2988 all-autoconf: configure-autoconf
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2991 $(SET_LIB_PATH) \
2992 $(HOST_EXPORTS) \
2993 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2994 $(TARGET-autoconf))
2995 @endif autoconf
2997 .PHONY: check-autoconf maybe-check-autoconf
2998 maybe-check-autoconf:
2999 @if autoconf
3000 maybe-check-autoconf: check-autoconf
3002 check-autoconf:
3003 @r=`${PWD_COMMAND}`; export r; \
3004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 $(SET_LIB_PATH) \
3006 $(HOST_EXPORTS) \
3007 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3009 @endif autoconf
3011 .PHONY: install-autoconf maybe-install-autoconf
3012 maybe-install-autoconf:
3013 @if autoconf
3014 maybe-install-autoconf: install-autoconf
3016 install-autoconf: installdirs
3017 @r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 $(SET_LIB_PATH) \
3020 $(HOST_EXPORTS) \
3021 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3023 @endif autoconf
3025 # Other targets (info, dvi, etc.)
3027 .PHONY: maybe-info-autoconf info-autoconf
3028 maybe-info-autoconf:
3029 @if autoconf
3030 maybe-info-autoconf: info-autoconf
3032 info-autoconf: \
3033 configure-autoconf
3034 @[ -f ./autoconf/Makefile ] || exit 0; \
3035 r=`${PWD_COMMAND}`; export r; \
3036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3037 $(SET_LIB_PATH) \
3038 $(HOST_EXPORTS) \
3039 for flag in $(EXTRA_HOST_FLAGS) ; do \
3040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3041 done; \
3042 echo "Doing info in autoconf" ; \
3043 (cd autoconf && \
3044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3046 "RANLIB=$${RANLIB}" \
3047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3048 info) \
3049 || exit 1
3051 @endif autoconf
3053 .PHONY: maybe-dvi-autoconf dvi-autoconf
3054 maybe-dvi-autoconf:
3055 @if autoconf
3056 maybe-dvi-autoconf: dvi-autoconf
3058 dvi-autoconf: \
3059 configure-autoconf
3060 @[ -f ./autoconf/Makefile ] || exit 0; \
3061 r=`${PWD_COMMAND}`; export r; \
3062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3063 $(SET_LIB_PATH) \
3064 $(HOST_EXPORTS) \
3065 for flag in $(EXTRA_HOST_FLAGS) ; do \
3066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3067 done; \
3068 echo "Doing dvi in autoconf" ; \
3069 (cd autoconf && \
3070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3072 "RANLIB=$${RANLIB}" \
3073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3074 dvi) \
3075 || exit 1
3077 @endif autoconf
3079 .PHONY: maybe-html-autoconf html-autoconf
3080 maybe-html-autoconf:
3081 @if autoconf
3082 maybe-html-autoconf: html-autoconf
3084 html-autoconf: \
3085 configure-autoconf
3086 @[ -f ./autoconf/Makefile ] || exit 0; \
3087 r=`${PWD_COMMAND}`; export r; \
3088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3089 $(SET_LIB_PATH) \
3090 $(HOST_EXPORTS) \
3091 for flag in $(EXTRA_HOST_FLAGS) ; do \
3092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3093 done; \
3094 echo "Doing html in autoconf" ; \
3095 (cd autoconf && \
3096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3098 "RANLIB=$${RANLIB}" \
3099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3100 html) \
3101 || exit 1
3103 @endif autoconf
3105 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3106 maybe-TAGS-autoconf:
3107 @if autoconf
3108 maybe-TAGS-autoconf: TAGS-autoconf
3110 TAGS-autoconf: \
3111 configure-autoconf
3112 @[ -f ./autoconf/Makefile ] || exit 0; \
3113 r=`${PWD_COMMAND}`; export r; \
3114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3115 $(SET_LIB_PATH) \
3116 $(HOST_EXPORTS) \
3117 for flag in $(EXTRA_HOST_FLAGS) ; do \
3118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3119 done; \
3120 echo "Doing TAGS in autoconf" ; \
3121 (cd autoconf && \
3122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3124 "RANLIB=$${RANLIB}" \
3125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3126 TAGS) \
3127 || exit 1
3129 @endif autoconf
3131 .PHONY: maybe-install-info-autoconf install-info-autoconf
3132 maybe-install-info-autoconf:
3133 @if autoconf
3134 maybe-install-info-autoconf: install-info-autoconf
3136 install-info-autoconf: \
3137 configure-autoconf \
3138 info-autoconf
3139 @[ -f ./autoconf/Makefile ] || exit 0; \
3140 r=`${PWD_COMMAND}`; export r; \
3141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3142 $(SET_LIB_PATH) \
3143 $(HOST_EXPORTS) \
3144 for flag in $(EXTRA_HOST_FLAGS) ; do \
3145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3146 done; \
3147 echo "Doing install-info in autoconf" ; \
3148 (cd autoconf && \
3149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3151 "RANLIB=$${RANLIB}" \
3152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3153 install-info) \
3154 || exit 1
3156 @endif autoconf
3158 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3159 maybe-installcheck-autoconf:
3160 @if autoconf
3161 maybe-installcheck-autoconf: installcheck-autoconf
3163 installcheck-autoconf: \
3164 configure-autoconf
3165 @[ -f ./autoconf/Makefile ] || exit 0; \
3166 r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 $(SET_LIB_PATH) \
3169 $(HOST_EXPORTS) \
3170 for flag in $(EXTRA_HOST_FLAGS) ; do \
3171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3172 done; \
3173 echo "Doing installcheck in autoconf" ; \
3174 (cd autoconf && \
3175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3177 "RANLIB=$${RANLIB}" \
3178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3179 installcheck) \
3180 || exit 1
3182 @endif autoconf
3184 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3185 maybe-mostlyclean-autoconf:
3186 @if autoconf
3187 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3189 mostlyclean-autoconf:
3190 @[ -f ./autoconf/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3193 $(SET_LIB_PATH) \
3194 $(HOST_EXPORTS) \
3195 for flag in $(EXTRA_HOST_FLAGS) ; do \
3196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3197 done; \
3198 echo "Doing mostlyclean in autoconf" ; \
3199 (cd autoconf && \
3200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3202 "RANLIB=$${RANLIB}" \
3203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3204 mostlyclean) \
3205 || exit 1
3207 @endif autoconf
3209 .PHONY: maybe-clean-autoconf clean-autoconf
3210 maybe-clean-autoconf:
3211 @if autoconf
3212 maybe-clean-autoconf: clean-autoconf
3214 clean-autoconf:
3215 @[ -f ./autoconf/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 $(SET_LIB_PATH) \
3219 $(HOST_EXPORTS) \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing clean in autoconf" ; \
3224 (cd autoconf && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 clean) \
3230 || exit 1
3232 @endif autoconf
3234 .PHONY: maybe-distclean-autoconf distclean-autoconf
3235 maybe-distclean-autoconf:
3236 @if autoconf
3237 maybe-distclean-autoconf: distclean-autoconf
3239 distclean-autoconf:
3240 @[ -f ./autoconf/Makefile ] || exit 0; \
3241 r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3243 $(SET_LIB_PATH) \
3244 $(HOST_EXPORTS) \
3245 for flag in $(EXTRA_HOST_FLAGS) ; do \
3246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3247 done; \
3248 echo "Doing distclean in autoconf" ; \
3249 (cd autoconf && \
3250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3252 "RANLIB=$${RANLIB}" \
3253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3254 distclean) \
3255 || exit 1
3257 @endif autoconf
3259 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3260 maybe-maintainer-clean-autoconf:
3261 @if autoconf
3262 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3264 maintainer-clean-autoconf:
3265 @[ -f ./autoconf/Makefile ] || exit 0; \
3266 r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3268 $(SET_LIB_PATH) \
3269 $(HOST_EXPORTS) \
3270 for flag in $(EXTRA_HOST_FLAGS) ; do \
3271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3272 done; \
3273 echo "Doing maintainer-clean in autoconf" ; \
3274 (cd autoconf && \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3277 "RANLIB=$${RANLIB}" \
3278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3279 maintainer-clean) \
3280 || exit 1
3282 @endif autoconf
3285 .PHONY: configure-automake maybe-configure-automake
3286 maybe-configure-automake:
3287 @if automake
3288 maybe-configure-automake: configure-automake
3289 configure-automake:
3290 @test ! -f automake/Makefile || exit 0; \
3291 [ -d automake ] || mkdir automake; \
3292 r=`${PWD_COMMAND}`; export r; \
3293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3294 $(HOST_EXPORTS) \
3295 echo Configuring in automake; \
3296 cd automake || exit 1; \
3297 case $(srcdir) in \
3298 \.) \
3299 srcdiroption="--srcdir=."; \
3300 libsrcdir=".";; \
3301 /* | [A-Za-z]:[\\/]*) \
3302 srcdiroption="--srcdir=$(srcdir)/automake"; \
3303 libsrcdir="$$s/automake";; \
3304 *) \
3305 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3306 libsrcdir="$$s/automake";; \
3307 esac; \
3308 $(SHELL) $${libsrcdir}/configure \
3309 $(HOST_CONFIGARGS) $${srcdiroption} \
3310 || exit 1
3311 @endif automake
3313 .PHONY: all-automake maybe-all-automake
3314 maybe-all-automake:
3315 @if automake
3316 TARGET-automake=all
3317 maybe-all-automake: all-automake
3318 all-automake: configure-automake
3319 @r=`${PWD_COMMAND}`; export r; \
3320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3321 $(SET_LIB_PATH) \
3322 $(HOST_EXPORTS) \
3323 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3324 $(TARGET-automake))
3325 @endif automake
3327 .PHONY: check-automake maybe-check-automake
3328 maybe-check-automake:
3329 @if automake
3330 maybe-check-automake: check-automake
3332 check-automake:
3333 @r=`${PWD_COMMAND}`; export r; \
3334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3335 $(SET_LIB_PATH) \
3336 $(HOST_EXPORTS) \
3337 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3339 @endif automake
3341 .PHONY: install-automake maybe-install-automake
3342 maybe-install-automake:
3343 @if automake
3344 maybe-install-automake: install-automake
3346 install-automake: installdirs
3347 @r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(SET_LIB_PATH) \
3350 $(HOST_EXPORTS) \
3351 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3353 @endif automake
3355 # Other targets (info, dvi, etc.)
3357 .PHONY: maybe-info-automake info-automake
3358 maybe-info-automake:
3359 @if automake
3360 maybe-info-automake: info-automake
3362 info-automake: \
3363 configure-automake
3364 @[ -f ./automake/Makefile ] || exit 0; \
3365 r=`${PWD_COMMAND}`; export r; \
3366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3367 $(SET_LIB_PATH) \
3368 $(HOST_EXPORTS) \
3369 for flag in $(EXTRA_HOST_FLAGS) ; do \
3370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3371 done; \
3372 echo "Doing info in automake" ; \
3373 (cd automake && \
3374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3376 "RANLIB=$${RANLIB}" \
3377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3378 info) \
3379 || exit 1
3381 @endif automake
3383 .PHONY: maybe-dvi-automake dvi-automake
3384 maybe-dvi-automake:
3385 @if automake
3386 maybe-dvi-automake: dvi-automake
3388 dvi-automake: \
3389 configure-automake
3390 @[ -f ./automake/Makefile ] || exit 0; \
3391 r=`${PWD_COMMAND}`; export r; \
3392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3393 $(SET_LIB_PATH) \
3394 $(HOST_EXPORTS) \
3395 for flag in $(EXTRA_HOST_FLAGS) ; do \
3396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3397 done; \
3398 echo "Doing dvi in automake" ; \
3399 (cd automake && \
3400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3402 "RANLIB=$${RANLIB}" \
3403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3404 dvi) \
3405 || exit 1
3407 @endif automake
3409 .PHONY: maybe-html-automake html-automake
3410 maybe-html-automake:
3411 @if automake
3412 maybe-html-automake: html-automake
3414 html-automake: \
3415 configure-automake
3416 @[ -f ./automake/Makefile ] || exit 0; \
3417 r=`${PWD_COMMAND}`; export r; \
3418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3419 $(SET_LIB_PATH) \
3420 $(HOST_EXPORTS) \
3421 for flag in $(EXTRA_HOST_FLAGS) ; do \
3422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3423 done; \
3424 echo "Doing html in automake" ; \
3425 (cd automake && \
3426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3428 "RANLIB=$${RANLIB}" \
3429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3430 html) \
3431 || exit 1
3433 @endif automake
3435 .PHONY: maybe-TAGS-automake TAGS-automake
3436 maybe-TAGS-automake:
3437 @if automake
3438 maybe-TAGS-automake: TAGS-automake
3440 TAGS-automake: \
3441 configure-automake
3442 @[ -f ./automake/Makefile ] || exit 0; \
3443 r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3445 $(SET_LIB_PATH) \
3446 $(HOST_EXPORTS) \
3447 for flag in $(EXTRA_HOST_FLAGS) ; do \
3448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3449 done; \
3450 echo "Doing TAGS in automake" ; \
3451 (cd automake && \
3452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3454 "RANLIB=$${RANLIB}" \
3455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3456 TAGS) \
3457 || exit 1
3459 @endif automake
3461 .PHONY: maybe-install-info-automake install-info-automake
3462 maybe-install-info-automake:
3463 @if automake
3464 maybe-install-info-automake: install-info-automake
3466 install-info-automake: \
3467 configure-automake \
3468 info-automake
3469 @[ -f ./automake/Makefile ] || exit 0; \
3470 r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472 $(SET_LIB_PATH) \
3473 $(HOST_EXPORTS) \
3474 for flag in $(EXTRA_HOST_FLAGS) ; do \
3475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3476 done; \
3477 echo "Doing install-info in automake" ; \
3478 (cd automake && \
3479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3481 "RANLIB=$${RANLIB}" \
3482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3483 install-info) \
3484 || exit 1
3486 @endif automake
3488 .PHONY: maybe-installcheck-automake installcheck-automake
3489 maybe-installcheck-automake:
3490 @if automake
3491 maybe-installcheck-automake: installcheck-automake
3493 installcheck-automake: \
3494 configure-automake
3495 @[ -f ./automake/Makefile ] || exit 0; \
3496 r=`${PWD_COMMAND}`; export r; \
3497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3498 $(SET_LIB_PATH) \
3499 $(HOST_EXPORTS) \
3500 for flag in $(EXTRA_HOST_FLAGS) ; do \
3501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3502 done; \
3503 echo "Doing installcheck in automake" ; \
3504 (cd automake && \
3505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3507 "RANLIB=$${RANLIB}" \
3508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3509 installcheck) \
3510 || exit 1
3512 @endif automake
3514 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3515 maybe-mostlyclean-automake:
3516 @if automake
3517 maybe-mostlyclean-automake: mostlyclean-automake
3519 mostlyclean-automake:
3520 @[ -f ./automake/Makefile ] || exit 0; \
3521 r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3523 $(SET_LIB_PATH) \
3524 $(HOST_EXPORTS) \
3525 for flag in $(EXTRA_HOST_FLAGS) ; do \
3526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 done; \
3528 echo "Doing mostlyclean in automake" ; \
3529 (cd automake && \
3530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3532 "RANLIB=$${RANLIB}" \
3533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3534 mostlyclean) \
3535 || exit 1
3537 @endif automake
3539 .PHONY: maybe-clean-automake clean-automake
3540 maybe-clean-automake:
3541 @if automake
3542 maybe-clean-automake: clean-automake
3544 clean-automake:
3545 @[ -f ./automake/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(SET_LIB_PATH) \
3549 $(HOST_EXPORTS) \
3550 for flag in $(EXTRA_HOST_FLAGS) ; do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3552 done; \
3553 echo "Doing clean in automake" ; \
3554 (cd automake && \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3559 clean) \
3560 || exit 1
3562 @endif automake
3564 .PHONY: maybe-distclean-automake distclean-automake
3565 maybe-distclean-automake:
3566 @if automake
3567 maybe-distclean-automake: distclean-automake
3569 distclean-automake:
3570 @[ -f ./automake/Makefile ] || exit 0; \
3571 r=`${PWD_COMMAND}`; export r; \
3572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3573 $(SET_LIB_PATH) \
3574 $(HOST_EXPORTS) \
3575 for flag in $(EXTRA_HOST_FLAGS) ; do \
3576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3577 done; \
3578 echo "Doing distclean in automake" ; \
3579 (cd automake && \
3580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3582 "RANLIB=$${RANLIB}" \
3583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3584 distclean) \
3585 || exit 1
3587 @endif automake
3589 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3590 maybe-maintainer-clean-automake:
3591 @if automake
3592 maybe-maintainer-clean-automake: maintainer-clean-automake
3594 maintainer-clean-automake:
3595 @[ -f ./automake/Makefile ] || exit 0; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3598 $(SET_LIB_PATH) \
3599 $(HOST_EXPORTS) \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3602 done; \
3603 echo "Doing maintainer-clean in automake" ; \
3604 (cd automake && \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3609 maintainer-clean) \
3610 || exit 1
3612 @endif automake
3615 .PHONY: configure-bash maybe-configure-bash
3616 maybe-configure-bash:
3617 @if bash
3618 maybe-configure-bash: configure-bash
3619 configure-bash:
3620 @test ! -f bash/Makefile || exit 0; \
3621 [ -d bash ] || mkdir bash; \
3622 r=`${PWD_COMMAND}`; export r; \
3623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 $(HOST_EXPORTS) \
3625 echo Configuring in bash; \
3626 cd bash || exit 1; \
3627 case $(srcdir) in \
3628 \.) \
3629 srcdiroption="--srcdir=."; \
3630 libsrcdir=".";; \
3631 /* | [A-Za-z]:[\\/]*) \
3632 srcdiroption="--srcdir=$(srcdir)/bash"; \
3633 libsrcdir="$$s/bash";; \
3634 *) \
3635 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3636 libsrcdir="$$s/bash";; \
3637 esac; \
3638 $(SHELL) $${libsrcdir}/configure \
3639 $(HOST_CONFIGARGS) $${srcdiroption} \
3640 || exit 1
3641 @endif bash
3643 .PHONY: all-bash maybe-all-bash
3644 maybe-all-bash:
3645 @if bash
3646 TARGET-bash=all
3647 maybe-all-bash: all-bash
3648 all-bash: configure-bash
3649 @r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651 $(SET_LIB_PATH) \
3652 $(HOST_EXPORTS) \
3653 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3654 $(TARGET-bash))
3655 @endif bash
3657 .PHONY: check-bash maybe-check-bash
3658 maybe-check-bash:
3659 @if bash
3660 maybe-check-bash: check-bash
3662 check-bash:
3663 @r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3665 $(SET_LIB_PATH) \
3666 $(HOST_EXPORTS) \
3667 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3669 @endif bash
3671 .PHONY: install-bash maybe-install-bash
3672 maybe-install-bash:
3673 @if bash
3674 maybe-install-bash: install-bash
3676 install-bash: installdirs
3677 @r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3679 $(SET_LIB_PATH) \
3680 $(HOST_EXPORTS) \
3681 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3683 @endif bash
3685 # Other targets (info, dvi, etc.)
3687 .PHONY: maybe-info-bash info-bash
3688 maybe-info-bash:
3689 @if bash
3690 maybe-info-bash: info-bash
3692 info-bash: \
3693 configure-bash
3694 @[ -f ./bash/Makefile ] || exit 0; \
3695 r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 $(SET_LIB_PATH) \
3698 $(HOST_EXPORTS) \
3699 for flag in $(EXTRA_HOST_FLAGS) ; do \
3700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3701 done; \
3702 echo "Doing info in bash" ; \
3703 (cd bash && \
3704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706 "RANLIB=$${RANLIB}" \
3707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3708 info) \
3709 || exit 1
3711 @endif bash
3713 .PHONY: maybe-dvi-bash dvi-bash
3714 maybe-dvi-bash:
3715 @if bash
3716 maybe-dvi-bash: dvi-bash
3718 dvi-bash: \
3719 configure-bash
3720 @[ -f ./bash/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(SET_LIB_PATH) \
3724 $(HOST_EXPORTS) \
3725 for flag in $(EXTRA_HOST_FLAGS) ; do \
3726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3727 done; \
3728 echo "Doing dvi in bash" ; \
3729 (cd bash && \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3732 "RANLIB=$${RANLIB}" \
3733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3734 dvi) \
3735 || exit 1
3737 @endif bash
3739 .PHONY: maybe-html-bash html-bash
3740 maybe-html-bash:
3741 @if bash
3742 maybe-html-bash: html-bash
3744 html-bash: \
3745 configure-bash
3746 @[ -f ./bash/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(SET_LIB_PATH) \
3750 $(HOST_EXPORTS) \
3751 for flag in $(EXTRA_HOST_FLAGS) ; do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 done; \
3754 echo "Doing html in bash" ; \
3755 (cd bash && \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3760 html) \
3761 || exit 1
3763 @endif bash
3765 .PHONY: maybe-TAGS-bash TAGS-bash
3766 maybe-TAGS-bash:
3767 @if bash
3768 maybe-TAGS-bash: TAGS-bash
3770 TAGS-bash: \
3771 configure-bash
3772 @[ -f ./bash/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(SET_LIB_PATH) \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing TAGS in bash" ; \
3781 (cd bash && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3786 TAGS) \
3787 || exit 1
3789 @endif bash
3791 .PHONY: maybe-install-info-bash install-info-bash
3792 maybe-install-info-bash:
3793 @if bash
3794 maybe-install-info-bash: install-info-bash
3796 install-info-bash: \
3797 configure-bash \
3798 info-bash
3799 @[ -f ./bash/Makefile ] || exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 $(SET_LIB_PATH) \
3803 $(HOST_EXPORTS) \
3804 for flag in $(EXTRA_HOST_FLAGS) ; do \
3805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3806 done; \
3807 echo "Doing install-info in bash" ; \
3808 (cd bash && \
3809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3811 "RANLIB=$${RANLIB}" \
3812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3813 install-info) \
3814 || exit 1
3816 @endif bash
3818 .PHONY: maybe-installcheck-bash installcheck-bash
3819 maybe-installcheck-bash:
3820 @if bash
3821 maybe-installcheck-bash: installcheck-bash
3823 installcheck-bash: \
3824 configure-bash
3825 @[ -f ./bash/Makefile ] || exit 0; \
3826 r=`${PWD_COMMAND}`; export r; \
3827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828 $(SET_LIB_PATH) \
3829 $(HOST_EXPORTS) \
3830 for flag in $(EXTRA_HOST_FLAGS) ; do \
3831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 done; \
3833 echo "Doing installcheck in bash" ; \
3834 (cd bash && \
3835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3837 "RANLIB=$${RANLIB}" \
3838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 installcheck) \
3840 || exit 1
3842 @endif bash
3844 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3845 maybe-mostlyclean-bash:
3846 @if bash
3847 maybe-mostlyclean-bash: mostlyclean-bash
3849 mostlyclean-bash:
3850 @[ -f ./bash/Makefile ] || exit 0; \
3851 r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3853 $(SET_LIB_PATH) \
3854 $(HOST_EXPORTS) \
3855 for flag in $(EXTRA_HOST_FLAGS) ; do \
3856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 done; \
3858 echo "Doing mostlyclean in bash" ; \
3859 (cd bash && \
3860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862 "RANLIB=$${RANLIB}" \
3863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3864 mostlyclean) \
3865 || exit 1
3867 @endif bash
3869 .PHONY: maybe-clean-bash clean-bash
3870 maybe-clean-bash:
3871 @if bash
3872 maybe-clean-bash: clean-bash
3874 clean-bash:
3875 @[ -f ./bash/Makefile ] || exit 0; \
3876 r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 $(SET_LIB_PATH) \
3879 $(HOST_EXPORTS) \
3880 for flag in $(EXTRA_HOST_FLAGS) ; do \
3881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 done; \
3883 echo "Doing clean in bash" ; \
3884 (cd bash && \
3885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3887 "RANLIB=$${RANLIB}" \
3888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3889 clean) \
3890 || exit 1
3892 @endif bash
3894 .PHONY: maybe-distclean-bash distclean-bash
3895 maybe-distclean-bash:
3896 @if bash
3897 maybe-distclean-bash: distclean-bash
3899 distclean-bash:
3900 @[ -f ./bash/Makefile ] || exit 0; \
3901 r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 $(SET_LIB_PATH) \
3904 $(HOST_EXPORTS) \
3905 for flag in $(EXTRA_HOST_FLAGS) ; do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 done; \
3908 echo "Doing distclean in bash" ; \
3909 (cd bash && \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3914 distclean) \
3915 || exit 1
3917 @endif bash
3919 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3920 maybe-maintainer-clean-bash:
3921 @if bash
3922 maybe-maintainer-clean-bash: maintainer-clean-bash
3924 maintainer-clean-bash:
3925 @[ -f ./bash/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3928 $(SET_LIB_PATH) \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing maintainer-clean in bash" ; \
3934 (cd bash && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3939 maintainer-clean) \
3940 || exit 1
3942 @endif bash
3945 .PHONY: configure-bfd maybe-configure-bfd
3946 maybe-configure-bfd:
3947 @if bfd
3948 maybe-configure-bfd: configure-bfd
3949 configure-bfd:
3950 @test -f stage_last && exit 0; \
3951 test ! -f bfd/Makefile || exit 0; \
3952 [ -d bfd ] || mkdir bfd; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 $(HOST_EXPORTS) \
3956 echo Configuring in bfd; \
3957 cd bfd || exit 1; \
3958 case $(srcdir) in \
3959 \.) \
3960 srcdiroption="--srcdir=."; \
3961 libsrcdir=".";; \
3962 /* | [A-Za-z]:[\\/]*) \
3963 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3964 libsrcdir="$$s/bfd";; \
3965 *) \
3966 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3967 libsrcdir="$$s/bfd";; \
3968 esac; \
3969 $(SHELL) $${libsrcdir}/configure \
3970 $(HOST_CONFIGARGS) $${srcdiroption} \
3971 || exit 1
3972 @endif bfd
3974 .PHONY: all-bfd maybe-all-bfd
3975 maybe-all-bfd:
3976 @if bfd
3977 TARGET-bfd=all
3978 maybe-all-bfd: all-bfd
3979 all-bfd: configure-bfd
3980 @test -f stage_last && exit 0; \
3981 r=`${PWD_COMMAND}`; export r; \
3982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983 $(SET_LIB_PATH) \
3984 $(HOST_EXPORTS) \
3985 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3986 $(TARGET-bfd))
3987 @endif bfd
3989 .PHONY: check-bfd maybe-check-bfd
3990 maybe-check-bfd:
3991 @if bfd
3992 maybe-check-bfd: check-bfd
3994 check-bfd:
3995 @r=`${PWD_COMMAND}`; export r; \
3996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3997 $(SET_LIB_PATH) \
3998 $(HOST_EXPORTS) \
3999 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4001 @endif bfd
4003 .PHONY: install-bfd maybe-install-bfd
4004 maybe-install-bfd:
4005 @if bfd
4006 maybe-install-bfd: install-bfd
4008 install-bfd: installdirs
4009 @r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 $(SET_LIB_PATH) \
4012 $(HOST_EXPORTS) \
4013 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4015 @endif bfd
4017 # Other targets (info, dvi, etc.)
4019 .PHONY: maybe-info-bfd info-bfd
4020 maybe-info-bfd:
4021 @if bfd
4022 maybe-info-bfd: info-bfd
4024 info-bfd: \
4025 configure-bfd
4026 @[ -f ./bfd/Makefile ] || exit 0; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 $(SET_LIB_PATH) \
4030 $(HOST_EXPORTS) \
4031 for flag in $(EXTRA_HOST_FLAGS) ; do \
4032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4033 done; \
4034 echo "Doing info in bfd" ; \
4035 (cd bfd && \
4036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4038 "RANLIB=$${RANLIB}" \
4039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4040 info) \
4041 || exit 1
4043 @endif bfd
4045 .PHONY: maybe-dvi-bfd dvi-bfd
4046 maybe-dvi-bfd:
4047 @if bfd
4048 maybe-dvi-bfd: dvi-bfd
4050 dvi-bfd: \
4051 configure-bfd
4052 @[ -f ./bfd/Makefile ] || exit 0; \
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4055 $(SET_LIB_PATH) \
4056 $(HOST_EXPORTS) \
4057 for flag in $(EXTRA_HOST_FLAGS) ; do \
4058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4059 done; \
4060 echo "Doing dvi in bfd" ; \
4061 (cd bfd && \
4062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4064 "RANLIB=$${RANLIB}" \
4065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4066 dvi) \
4067 || exit 1
4069 @endif bfd
4071 .PHONY: maybe-html-bfd html-bfd
4072 maybe-html-bfd:
4073 @if bfd
4074 maybe-html-bfd: html-bfd
4076 html-bfd: \
4077 configure-bfd
4078 @[ -f ./bfd/Makefile ] || exit 0; \
4079 r=`${PWD_COMMAND}`; export r; \
4080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4081 $(SET_LIB_PATH) \
4082 $(HOST_EXPORTS) \
4083 for flag in $(EXTRA_HOST_FLAGS) ; do \
4084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4085 done; \
4086 echo "Doing html in bfd" ; \
4087 (cd bfd && \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4090 "RANLIB=$${RANLIB}" \
4091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4092 html) \
4093 || exit 1
4095 @endif bfd
4097 .PHONY: maybe-TAGS-bfd TAGS-bfd
4098 maybe-TAGS-bfd:
4099 @if bfd
4100 maybe-TAGS-bfd: TAGS-bfd
4102 TAGS-bfd: \
4103 configure-bfd
4104 @[ -f ./bfd/Makefile ] || exit 0; \
4105 r=`${PWD_COMMAND}`; export r; \
4106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4107 $(SET_LIB_PATH) \
4108 $(HOST_EXPORTS) \
4109 for flag in $(EXTRA_HOST_FLAGS) ; do \
4110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4111 done; \
4112 echo "Doing TAGS in bfd" ; \
4113 (cd bfd && \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4116 "RANLIB=$${RANLIB}" \
4117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4118 TAGS) \
4119 || exit 1
4121 @endif bfd
4123 .PHONY: maybe-install-info-bfd install-info-bfd
4124 maybe-install-info-bfd:
4125 @if bfd
4126 maybe-install-info-bfd: install-info-bfd
4128 install-info-bfd: \
4129 configure-bfd \
4130 info-bfd
4131 @[ -f ./bfd/Makefile ] || exit 0; \
4132 r=`${PWD_COMMAND}`; export r; \
4133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4134 $(SET_LIB_PATH) \
4135 $(HOST_EXPORTS) \
4136 for flag in $(EXTRA_HOST_FLAGS) ; do \
4137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4138 done; \
4139 echo "Doing install-info in bfd" ; \
4140 (cd bfd && \
4141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4143 "RANLIB=$${RANLIB}" \
4144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4145 install-info) \
4146 || exit 1
4148 @endif bfd
4150 .PHONY: maybe-installcheck-bfd installcheck-bfd
4151 maybe-installcheck-bfd:
4152 @if bfd
4153 maybe-installcheck-bfd: installcheck-bfd
4155 installcheck-bfd: \
4156 configure-bfd
4157 @[ -f ./bfd/Makefile ] || exit 0; \
4158 r=`${PWD_COMMAND}`; export r; \
4159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4160 $(SET_LIB_PATH) \
4161 $(HOST_EXPORTS) \
4162 for flag in $(EXTRA_HOST_FLAGS) ; do \
4163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4164 done; \
4165 echo "Doing installcheck in bfd" ; \
4166 (cd bfd && \
4167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4169 "RANLIB=$${RANLIB}" \
4170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4171 installcheck) \
4172 || exit 1
4174 @endif bfd
4176 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4177 maybe-mostlyclean-bfd:
4178 @if bfd
4179 maybe-mostlyclean-bfd: mostlyclean-bfd
4181 mostlyclean-bfd:
4182 @[ -f ./bfd/Makefile ] || exit 0; \
4183 r=`${PWD_COMMAND}`; export r; \
4184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4185 $(SET_LIB_PATH) \
4186 $(HOST_EXPORTS) \
4187 for flag in $(EXTRA_HOST_FLAGS) ; do \
4188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4189 done; \
4190 echo "Doing mostlyclean in bfd" ; \
4191 (cd bfd && \
4192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4194 "RANLIB=$${RANLIB}" \
4195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4196 mostlyclean) \
4197 || exit 1
4199 @endif bfd
4201 .PHONY: maybe-clean-bfd clean-bfd
4202 maybe-clean-bfd:
4203 @if bfd
4204 maybe-clean-bfd: clean-bfd
4206 clean-bfd:
4207 @[ -f ./bfd/Makefile ] || exit 0; \
4208 r=`${PWD_COMMAND}`; export r; \
4209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4210 $(SET_LIB_PATH) \
4211 $(HOST_EXPORTS) \
4212 for flag in $(EXTRA_HOST_FLAGS) ; do \
4213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4214 done; \
4215 echo "Doing clean in bfd" ; \
4216 (cd bfd && \
4217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4219 "RANLIB=$${RANLIB}" \
4220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4221 clean) \
4222 || exit 1
4224 @endif bfd
4226 .PHONY: maybe-distclean-bfd distclean-bfd
4227 maybe-distclean-bfd:
4228 @if bfd
4229 maybe-distclean-bfd: distclean-bfd
4231 distclean-bfd:
4232 @[ -f ./bfd/Makefile ] || exit 0; \
4233 r=`${PWD_COMMAND}`; export r; \
4234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4235 $(SET_LIB_PATH) \
4236 $(HOST_EXPORTS) \
4237 for flag in $(EXTRA_HOST_FLAGS) ; do \
4238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4239 done; \
4240 echo "Doing distclean in bfd" ; \
4241 (cd bfd && \
4242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4244 "RANLIB=$${RANLIB}" \
4245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4246 distclean) \
4247 || exit 1
4249 @endif bfd
4251 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4252 maybe-maintainer-clean-bfd:
4253 @if bfd
4254 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4256 maintainer-clean-bfd:
4257 @[ -f ./bfd/Makefile ] || exit 0; \
4258 r=`${PWD_COMMAND}`; export r; \
4259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260 $(SET_LIB_PATH) \
4261 $(HOST_EXPORTS) \
4262 for flag in $(EXTRA_HOST_FLAGS) ; do \
4263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4264 done; \
4265 echo "Doing maintainer-clean in bfd" ; \
4266 (cd bfd && \
4267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4269 "RANLIB=$${RANLIB}" \
4270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4271 maintainer-clean) \
4272 || exit 1
4274 @endif bfd
4277 .PHONY: configure-opcodes maybe-configure-opcodes
4278 maybe-configure-opcodes:
4279 @if opcodes
4280 maybe-configure-opcodes: configure-opcodes
4281 configure-opcodes:
4282 @test -f stage_last && exit 0; \
4283 test ! -f opcodes/Makefile || exit 0; \
4284 [ -d opcodes ] || mkdir opcodes; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(HOST_EXPORTS) \
4288 echo Configuring in opcodes; \
4289 cd opcodes || exit 1; \
4290 case $(srcdir) in \
4291 \.) \
4292 srcdiroption="--srcdir=."; \
4293 libsrcdir=".";; \
4294 /* | [A-Za-z]:[\\/]*) \
4295 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4296 libsrcdir="$$s/opcodes";; \
4297 *) \
4298 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4299 libsrcdir="$$s/opcodes";; \
4300 esac; \
4301 $(SHELL) $${libsrcdir}/configure \
4302 $(HOST_CONFIGARGS) $${srcdiroption} \
4303 || exit 1
4304 @endif opcodes
4306 .PHONY: all-opcodes maybe-all-opcodes
4307 maybe-all-opcodes:
4308 @if opcodes
4309 TARGET-opcodes=all
4310 maybe-all-opcodes: all-opcodes
4311 all-opcodes: configure-opcodes
4312 @test -f stage_last && exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 $(SET_LIB_PATH) \
4316 $(HOST_EXPORTS) \
4317 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4318 $(TARGET-opcodes))
4319 @endif opcodes
4321 .PHONY: check-opcodes maybe-check-opcodes
4322 maybe-check-opcodes:
4323 @if opcodes
4324 maybe-check-opcodes: check-opcodes
4326 check-opcodes:
4327 @r=`${PWD_COMMAND}`; export r; \
4328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4329 $(SET_LIB_PATH) \
4330 $(HOST_EXPORTS) \
4331 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4333 @endif opcodes
4335 .PHONY: install-opcodes maybe-install-opcodes
4336 maybe-install-opcodes:
4337 @if opcodes
4338 maybe-install-opcodes: install-opcodes
4340 install-opcodes: installdirs
4341 @r=`${PWD_COMMAND}`; export r; \
4342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4343 $(SET_LIB_PATH) \
4344 $(HOST_EXPORTS) \
4345 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4347 @endif opcodes
4349 # Other targets (info, dvi, etc.)
4351 .PHONY: maybe-info-opcodes info-opcodes
4352 maybe-info-opcodes:
4353 @if opcodes
4354 maybe-info-opcodes: info-opcodes
4356 info-opcodes: \
4357 configure-opcodes
4358 @[ -f ./opcodes/Makefile ] || exit 0; \
4359 r=`${PWD_COMMAND}`; export r; \
4360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4361 $(SET_LIB_PATH) \
4362 $(HOST_EXPORTS) \
4363 for flag in $(EXTRA_HOST_FLAGS) ; do \
4364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4365 done; \
4366 echo "Doing info in opcodes" ; \
4367 (cd opcodes && \
4368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4370 "RANLIB=$${RANLIB}" \
4371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4372 info) \
4373 || exit 1
4375 @endif opcodes
4377 .PHONY: maybe-dvi-opcodes dvi-opcodes
4378 maybe-dvi-opcodes:
4379 @if opcodes
4380 maybe-dvi-opcodes: dvi-opcodes
4382 dvi-opcodes: \
4383 configure-opcodes
4384 @[ -f ./opcodes/Makefile ] || exit 0; \
4385 r=`${PWD_COMMAND}`; export r; \
4386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4387 $(SET_LIB_PATH) \
4388 $(HOST_EXPORTS) \
4389 for flag in $(EXTRA_HOST_FLAGS) ; do \
4390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 done; \
4392 echo "Doing dvi in opcodes" ; \
4393 (cd opcodes && \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4398 dvi) \
4399 || exit 1
4401 @endif opcodes
4403 .PHONY: maybe-html-opcodes html-opcodes
4404 maybe-html-opcodes:
4405 @if opcodes
4406 maybe-html-opcodes: html-opcodes
4408 html-opcodes: \
4409 configure-opcodes
4410 @[ -f ./opcodes/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 $(SET_LIB_PATH) \
4414 $(HOST_EXPORTS) \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 done; \
4418 echo "Doing html in opcodes" ; \
4419 (cd opcodes && \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4424 html) \
4425 || exit 1
4427 @endif opcodes
4429 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4430 maybe-TAGS-opcodes:
4431 @if opcodes
4432 maybe-TAGS-opcodes: TAGS-opcodes
4434 TAGS-opcodes: \
4435 configure-opcodes
4436 @[ -f ./opcodes/Makefile ] || exit 0; \
4437 r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 $(SET_LIB_PATH) \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing TAGS in opcodes" ; \
4445 (cd opcodes && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 TAGS) \
4451 || exit 1
4453 @endif opcodes
4455 .PHONY: maybe-install-info-opcodes install-info-opcodes
4456 maybe-install-info-opcodes:
4457 @if opcodes
4458 maybe-install-info-opcodes: install-info-opcodes
4460 install-info-opcodes: \
4461 configure-opcodes \
4462 info-opcodes
4463 @[ -f ./opcodes/Makefile ] || exit 0; \
4464 r=`${PWD_COMMAND}`; export r; \
4465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4466 $(SET_LIB_PATH) \
4467 $(HOST_EXPORTS) \
4468 for flag in $(EXTRA_HOST_FLAGS) ; do \
4469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4470 done; \
4471 echo "Doing install-info in opcodes" ; \
4472 (cd opcodes && \
4473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4475 "RANLIB=$${RANLIB}" \
4476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4477 install-info) \
4478 || exit 1
4480 @endif opcodes
4482 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4483 maybe-installcheck-opcodes:
4484 @if opcodes
4485 maybe-installcheck-opcodes: installcheck-opcodes
4487 installcheck-opcodes: \
4488 configure-opcodes
4489 @[ -f ./opcodes/Makefile ] || exit 0; \
4490 r=`${PWD_COMMAND}`; export r; \
4491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4492 $(SET_LIB_PATH) \
4493 $(HOST_EXPORTS) \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 done; \
4497 echo "Doing installcheck in opcodes" ; \
4498 (cd opcodes && \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4503 installcheck) \
4504 || exit 1
4506 @endif opcodes
4508 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4509 maybe-mostlyclean-opcodes:
4510 @if opcodes
4511 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4513 mostlyclean-opcodes:
4514 @[ -f ./opcodes/Makefile ] || exit 0; \
4515 r=`${PWD_COMMAND}`; export r; \
4516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4517 $(SET_LIB_PATH) \
4518 $(HOST_EXPORTS) \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521 done; \
4522 echo "Doing mostlyclean in opcodes" ; \
4523 (cd opcodes && \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4528 mostlyclean) \
4529 || exit 1
4531 @endif opcodes
4533 .PHONY: maybe-clean-opcodes clean-opcodes
4534 maybe-clean-opcodes:
4535 @if opcodes
4536 maybe-clean-opcodes: clean-opcodes
4538 clean-opcodes:
4539 @[ -f ./opcodes/Makefile ] || exit 0; \
4540 r=`${PWD_COMMAND}`; export r; \
4541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4542 $(SET_LIB_PATH) \
4543 $(HOST_EXPORTS) \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 done; \
4547 echo "Doing clean in opcodes" ; \
4548 (cd opcodes && \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4553 clean) \
4554 || exit 1
4556 @endif opcodes
4558 .PHONY: maybe-distclean-opcodes distclean-opcodes
4559 maybe-distclean-opcodes:
4560 @if opcodes
4561 maybe-distclean-opcodes: distclean-opcodes
4563 distclean-opcodes:
4564 @[ -f ./opcodes/Makefile ] || exit 0; \
4565 r=`${PWD_COMMAND}`; export r; \
4566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4567 $(SET_LIB_PATH) \
4568 $(HOST_EXPORTS) \
4569 for flag in $(EXTRA_HOST_FLAGS) ; do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571 done; \
4572 echo "Doing distclean in opcodes" ; \
4573 (cd opcodes && \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4578 distclean) \
4579 || exit 1
4581 @endif opcodes
4583 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4584 maybe-maintainer-clean-opcodes:
4585 @if opcodes
4586 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4588 maintainer-clean-opcodes:
4589 @[ -f ./opcodes/Makefile ] || exit 0; \
4590 r=`${PWD_COMMAND}`; export r; \
4591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4592 $(SET_LIB_PATH) \
4593 $(HOST_EXPORTS) \
4594 for flag in $(EXTRA_HOST_FLAGS) ; do \
4595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4596 done; \
4597 echo "Doing maintainer-clean in opcodes" ; \
4598 (cd opcodes && \
4599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601 "RANLIB=$${RANLIB}" \
4602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4603 maintainer-clean) \
4604 || exit 1
4606 @endif opcodes
4609 .PHONY: configure-binutils maybe-configure-binutils
4610 maybe-configure-binutils:
4611 @if binutils
4612 maybe-configure-binutils: configure-binutils
4613 configure-binutils:
4614 @test -f stage_last && exit 0; \
4615 test ! -f binutils/Makefile || exit 0; \
4616 [ -d binutils ] || mkdir binutils; \
4617 r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 $(HOST_EXPORTS) \
4620 echo Configuring in binutils; \
4621 cd binutils || exit 1; \
4622 case $(srcdir) in \
4623 \.) \
4624 srcdiroption="--srcdir=."; \
4625 libsrcdir=".";; \
4626 /* | [A-Za-z]:[\\/]*) \
4627 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4628 libsrcdir="$$s/binutils";; \
4629 *) \
4630 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4631 libsrcdir="$$s/binutils";; \
4632 esac; \
4633 $(SHELL) $${libsrcdir}/configure \
4634 $(HOST_CONFIGARGS) $${srcdiroption} \
4635 || exit 1
4636 @endif binutils
4638 .PHONY: all-binutils maybe-all-binutils
4639 maybe-all-binutils:
4640 @if binutils
4641 TARGET-binutils=all
4642 maybe-all-binutils: all-binutils
4643 all-binutils: configure-binutils
4644 @test -f stage_last && exit 0; \
4645 r=`${PWD_COMMAND}`; export r; \
4646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4647 $(SET_LIB_PATH) \
4648 $(HOST_EXPORTS) \
4649 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4650 $(TARGET-binutils))
4651 @endif binutils
4653 .PHONY: check-binutils maybe-check-binutils
4654 maybe-check-binutils:
4655 @if binutils
4656 maybe-check-binutils: check-binutils
4658 check-binutils:
4659 @r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 $(SET_LIB_PATH) \
4662 $(HOST_EXPORTS) \
4663 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4665 @endif binutils
4667 .PHONY: install-binutils maybe-install-binutils
4668 maybe-install-binutils:
4669 @if binutils
4670 maybe-install-binutils: install-binutils
4672 install-binutils: installdirs
4673 @r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4675 $(SET_LIB_PATH) \
4676 $(HOST_EXPORTS) \
4677 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4679 @endif binutils
4681 # Other targets (info, dvi, etc.)
4683 .PHONY: maybe-info-binutils info-binutils
4684 maybe-info-binutils:
4685 @if binutils
4686 maybe-info-binutils: info-binutils
4688 info-binutils: \
4689 configure-binutils
4690 @[ -f ./binutils/Makefile ] || exit 0; \
4691 r=`${PWD_COMMAND}`; export r; \
4692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4693 $(SET_LIB_PATH) \
4694 $(HOST_EXPORTS) \
4695 for flag in $(EXTRA_HOST_FLAGS) ; do \
4696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4697 done; \
4698 echo "Doing info in binutils" ; \
4699 (cd binutils && \
4700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4702 "RANLIB=$${RANLIB}" \
4703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4704 info) \
4705 || exit 1
4707 @endif binutils
4709 .PHONY: maybe-dvi-binutils dvi-binutils
4710 maybe-dvi-binutils:
4711 @if binutils
4712 maybe-dvi-binutils: dvi-binutils
4714 dvi-binutils: \
4715 configure-binutils
4716 @[ -f ./binutils/Makefile ] || exit 0; \
4717 r=`${PWD_COMMAND}`; export r; \
4718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4719 $(SET_LIB_PATH) \
4720 $(HOST_EXPORTS) \
4721 for flag in $(EXTRA_HOST_FLAGS) ; do \
4722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4723 done; \
4724 echo "Doing dvi in binutils" ; \
4725 (cd binutils && \
4726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4728 "RANLIB=$${RANLIB}" \
4729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4730 dvi) \
4731 || exit 1
4733 @endif binutils
4735 .PHONY: maybe-html-binutils html-binutils
4736 maybe-html-binutils:
4737 @if binutils
4738 maybe-html-binutils: html-binutils
4740 html-binutils: \
4741 configure-binutils
4742 @[ -f ./binutils/Makefile ] || exit 0; \
4743 r=`${PWD_COMMAND}`; export r; \
4744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4745 $(SET_LIB_PATH) \
4746 $(HOST_EXPORTS) \
4747 for flag in $(EXTRA_HOST_FLAGS) ; do \
4748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4749 done; \
4750 echo "Doing html in binutils" ; \
4751 (cd binutils && \
4752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4754 "RANLIB=$${RANLIB}" \
4755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4756 html) \
4757 || exit 1
4759 @endif binutils
4761 .PHONY: maybe-TAGS-binutils TAGS-binutils
4762 maybe-TAGS-binutils:
4763 @if binutils
4764 maybe-TAGS-binutils: TAGS-binutils
4766 TAGS-binutils: \
4767 configure-binutils
4768 @[ -f ./binutils/Makefile ] || exit 0; \
4769 r=`${PWD_COMMAND}`; export r; \
4770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4771 $(SET_LIB_PATH) \
4772 $(HOST_EXPORTS) \
4773 for flag in $(EXTRA_HOST_FLAGS) ; do \
4774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4775 done; \
4776 echo "Doing TAGS in binutils" ; \
4777 (cd binutils && \
4778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4780 "RANLIB=$${RANLIB}" \
4781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4782 TAGS) \
4783 || exit 1
4785 @endif binutils
4787 .PHONY: maybe-install-info-binutils install-info-binutils
4788 maybe-install-info-binutils:
4789 @if binutils
4790 maybe-install-info-binutils: install-info-binutils
4792 install-info-binutils: \
4793 configure-binutils \
4794 info-binutils
4795 @[ -f ./binutils/Makefile ] || exit 0; \
4796 r=`${PWD_COMMAND}`; export r; \
4797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4798 $(SET_LIB_PATH) \
4799 $(HOST_EXPORTS) \
4800 for flag in $(EXTRA_HOST_FLAGS) ; do \
4801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4802 done; \
4803 echo "Doing install-info in binutils" ; \
4804 (cd binutils && \
4805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4807 "RANLIB=$${RANLIB}" \
4808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4809 install-info) \
4810 || exit 1
4812 @endif binutils
4814 .PHONY: maybe-installcheck-binutils installcheck-binutils
4815 maybe-installcheck-binutils:
4816 @if binutils
4817 maybe-installcheck-binutils: installcheck-binutils
4819 installcheck-binutils: \
4820 configure-binutils
4821 @[ -f ./binutils/Makefile ] || exit 0; \
4822 r=`${PWD_COMMAND}`; export r; \
4823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 $(SET_LIB_PATH) \
4825 $(HOST_EXPORTS) \
4826 for flag in $(EXTRA_HOST_FLAGS) ; do \
4827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4828 done; \
4829 echo "Doing installcheck in binutils" ; \
4830 (cd binutils && \
4831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4833 "RANLIB=$${RANLIB}" \
4834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4835 installcheck) \
4836 || exit 1
4838 @endif binutils
4840 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4841 maybe-mostlyclean-binutils:
4842 @if binutils
4843 maybe-mostlyclean-binutils: mostlyclean-binutils
4845 mostlyclean-binutils:
4846 @[ -f ./binutils/Makefile ] || exit 0; \
4847 r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4849 $(SET_LIB_PATH) \
4850 $(HOST_EXPORTS) \
4851 for flag in $(EXTRA_HOST_FLAGS) ; do \
4852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4853 done; \
4854 echo "Doing mostlyclean in binutils" ; \
4855 (cd binutils && \
4856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4858 "RANLIB=$${RANLIB}" \
4859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4860 mostlyclean) \
4861 || exit 1
4863 @endif binutils
4865 .PHONY: maybe-clean-binutils clean-binutils
4866 maybe-clean-binutils:
4867 @if binutils
4868 maybe-clean-binutils: clean-binutils
4870 clean-binutils:
4871 @[ -f ./binutils/Makefile ] || exit 0; \
4872 r=`${PWD_COMMAND}`; export r; \
4873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4874 $(SET_LIB_PATH) \
4875 $(HOST_EXPORTS) \
4876 for flag in $(EXTRA_HOST_FLAGS) ; do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 done; \
4879 echo "Doing clean in binutils" ; \
4880 (cd binutils && \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4885 clean) \
4886 || exit 1
4888 @endif binutils
4890 .PHONY: maybe-distclean-binutils distclean-binutils
4891 maybe-distclean-binutils:
4892 @if binutils
4893 maybe-distclean-binutils: distclean-binutils
4895 distclean-binutils:
4896 @[ -f ./binutils/Makefile ] || exit 0; \
4897 r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(SET_LIB_PATH) \
4900 $(HOST_EXPORTS) \
4901 for flag in $(EXTRA_HOST_FLAGS) ; do \
4902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4903 done; \
4904 echo "Doing distclean in binutils" ; \
4905 (cd binutils && \
4906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4908 "RANLIB=$${RANLIB}" \
4909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4910 distclean) \
4911 || exit 1
4913 @endif binutils
4915 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4916 maybe-maintainer-clean-binutils:
4917 @if binutils
4918 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4920 maintainer-clean-binutils:
4921 @[ -f ./binutils/Makefile ] || exit 0; \
4922 r=`${PWD_COMMAND}`; export r; \
4923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4924 $(SET_LIB_PATH) \
4925 $(HOST_EXPORTS) \
4926 for flag in $(EXTRA_HOST_FLAGS) ; do \
4927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4928 done; \
4929 echo "Doing maintainer-clean in binutils" ; \
4930 (cd binutils && \
4931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4933 "RANLIB=$${RANLIB}" \
4934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4935 maintainer-clean) \
4936 || exit 1
4938 @endif binutils
4941 .PHONY: configure-bison maybe-configure-bison
4942 maybe-configure-bison:
4943 @if bison
4944 maybe-configure-bison: configure-bison
4945 configure-bison:
4946 @test ! -f bison/Makefile || exit 0; \
4947 [ -d bison ] || mkdir bison; \
4948 r=`${PWD_COMMAND}`; export r; \
4949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4950 $(HOST_EXPORTS) \
4951 echo Configuring in bison; \
4952 cd bison || exit 1; \
4953 case $(srcdir) in \
4954 \.) \
4955 srcdiroption="--srcdir=."; \
4956 libsrcdir=".";; \
4957 /* | [A-Za-z]:[\\/]*) \
4958 srcdiroption="--srcdir=$(srcdir)/bison"; \
4959 libsrcdir="$$s/bison";; \
4960 *) \
4961 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4962 libsrcdir="$$s/bison";; \
4963 esac; \
4964 $(SHELL) $${libsrcdir}/configure \
4965 $(HOST_CONFIGARGS) $${srcdiroption} \
4966 || exit 1
4967 @endif bison
4969 .PHONY: all-bison maybe-all-bison
4970 maybe-all-bison:
4971 @if bison
4972 TARGET-bison=all
4973 maybe-all-bison: all-bison
4974 all-bison: configure-bison
4975 @r=`${PWD_COMMAND}`; export r; \
4976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977 $(SET_LIB_PATH) \
4978 $(HOST_EXPORTS) \
4979 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4980 $(TARGET-bison))
4981 @endif bison
4983 .PHONY: check-bison maybe-check-bison
4984 maybe-check-bison:
4985 @if bison
4986 maybe-check-bison: check-bison
4988 # This module is only tested in a native toolchain.
4989 check-bison:
4990 @if [ '$(host)' = '$(target)' ] ; then \
4991 r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4993 $(SET_LIB_PATH) \
4994 $(HOST_EXPORTS) \
4995 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4998 @endif bison
5000 .PHONY: install-bison maybe-install-bison
5001 maybe-install-bison:
5002 @if bison
5003 maybe-install-bison: install-bison
5005 install-bison: installdirs
5006 @r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008 $(SET_LIB_PATH) \
5009 $(HOST_EXPORTS) \
5010 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5012 @endif bison
5014 # Other targets (info, dvi, etc.)
5016 .PHONY: maybe-info-bison info-bison
5017 maybe-info-bison:
5018 @if bison
5019 maybe-info-bison: info-bison
5021 info-bison: \
5022 configure-bison
5023 @[ -f ./bison/Makefile ] || exit 0; \
5024 r=`${PWD_COMMAND}`; export r; \
5025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5026 $(SET_LIB_PATH) \
5027 $(HOST_EXPORTS) \
5028 for flag in $(EXTRA_HOST_FLAGS) ; do \
5029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5030 done; \
5031 echo "Doing info in bison" ; \
5032 (cd bison && \
5033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5035 "RANLIB=$${RANLIB}" \
5036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5037 info) \
5038 || exit 1
5040 @endif bison
5042 .PHONY: maybe-dvi-bison dvi-bison
5043 maybe-dvi-bison:
5044 @if bison
5045 maybe-dvi-bison: dvi-bison
5047 dvi-bison: \
5048 configure-bison
5049 @[ -f ./bison/Makefile ] || exit 0; \
5050 r=`${PWD_COMMAND}`; export r; \
5051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5052 $(SET_LIB_PATH) \
5053 $(HOST_EXPORTS) \
5054 for flag in $(EXTRA_HOST_FLAGS) ; do \
5055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5056 done; \
5057 echo "Doing dvi in bison" ; \
5058 (cd bison && \
5059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5061 "RANLIB=$${RANLIB}" \
5062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5063 dvi) \
5064 || exit 1
5066 @endif bison
5068 .PHONY: maybe-html-bison html-bison
5069 maybe-html-bison:
5070 @if bison
5071 maybe-html-bison: html-bison
5073 html-bison: \
5074 configure-bison
5075 @[ -f ./bison/Makefile ] || exit 0; \
5076 r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5078 $(SET_LIB_PATH) \
5079 $(HOST_EXPORTS) \
5080 for flag in $(EXTRA_HOST_FLAGS) ; do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082 done; \
5083 echo "Doing html in bison" ; \
5084 (cd bison && \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089 html) \
5090 || exit 1
5092 @endif bison
5094 .PHONY: maybe-TAGS-bison TAGS-bison
5095 maybe-TAGS-bison:
5096 @if bison
5097 maybe-TAGS-bison: TAGS-bison
5099 TAGS-bison: \
5100 configure-bison
5101 @[ -f ./bison/Makefile ] || exit 0; \
5102 r=`${PWD_COMMAND}`; export r; \
5103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5104 $(SET_LIB_PATH) \
5105 $(HOST_EXPORTS) \
5106 for flag in $(EXTRA_HOST_FLAGS) ; do \
5107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5108 done; \
5109 echo "Doing TAGS in bison" ; \
5110 (cd bison && \
5111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5113 "RANLIB=$${RANLIB}" \
5114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5115 TAGS) \
5116 || exit 1
5118 @endif bison
5120 .PHONY: maybe-install-info-bison install-info-bison
5121 maybe-install-info-bison:
5122 @if bison
5123 maybe-install-info-bison: install-info-bison
5125 install-info-bison: \
5126 configure-bison \
5127 info-bison
5128 @[ -f ./bison/Makefile ] || exit 0; \
5129 r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 $(SET_LIB_PATH) \
5132 $(HOST_EXPORTS) \
5133 for flag in $(EXTRA_HOST_FLAGS) ; do \
5134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5135 done; \
5136 echo "Doing install-info in bison" ; \
5137 (cd bison && \
5138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5140 "RANLIB=$${RANLIB}" \
5141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5142 install-info) \
5143 || exit 1
5145 @endif bison
5147 .PHONY: maybe-installcheck-bison installcheck-bison
5148 maybe-installcheck-bison:
5149 @if bison
5150 maybe-installcheck-bison: installcheck-bison
5152 installcheck-bison: \
5153 configure-bison
5154 @[ -f ./bison/Makefile ] || exit 0; \
5155 r=`${PWD_COMMAND}`; export r; \
5156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5157 $(SET_LIB_PATH) \
5158 $(HOST_EXPORTS) \
5159 for flag in $(EXTRA_HOST_FLAGS) ; do \
5160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5161 done; \
5162 echo "Doing installcheck in bison" ; \
5163 (cd bison && \
5164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5166 "RANLIB=$${RANLIB}" \
5167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5168 installcheck) \
5169 || exit 1
5171 @endif bison
5173 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5174 maybe-mostlyclean-bison:
5175 @if bison
5176 maybe-mostlyclean-bison: mostlyclean-bison
5178 mostlyclean-bison:
5179 @[ -f ./bison/Makefile ] || exit 0; \
5180 r=`${PWD_COMMAND}`; export r; \
5181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5182 $(SET_LIB_PATH) \
5183 $(HOST_EXPORTS) \
5184 for flag in $(EXTRA_HOST_FLAGS) ; do \
5185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5186 done; \
5187 echo "Doing mostlyclean in bison" ; \
5188 (cd bison && \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191 "RANLIB=$${RANLIB}" \
5192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5193 mostlyclean) \
5194 || exit 1
5196 @endif bison
5198 .PHONY: maybe-clean-bison clean-bison
5199 maybe-clean-bison:
5200 @if bison
5201 maybe-clean-bison: clean-bison
5203 clean-bison:
5204 @[ -f ./bison/Makefile ] || exit 0; \
5205 r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5207 $(SET_LIB_PATH) \
5208 $(HOST_EXPORTS) \
5209 for flag in $(EXTRA_HOST_FLAGS) ; do \
5210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5211 done; \
5212 echo "Doing clean in bison" ; \
5213 (cd bison && \
5214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5216 "RANLIB=$${RANLIB}" \
5217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5218 clean) \
5219 || exit 1
5221 @endif bison
5223 .PHONY: maybe-distclean-bison distclean-bison
5224 maybe-distclean-bison:
5225 @if bison
5226 maybe-distclean-bison: distclean-bison
5228 distclean-bison:
5229 @[ -f ./bison/Makefile ] || exit 0; \
5230 r=`${PWD_COMMAND}`; export r; \
5231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5232 $(SET_LIB_PATH) \
5233 $(HOST_EXPORTS) \
5234 for flag in $(EXTRA_HOST_FLAGS) ; do \
5235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5236 done; \
5237 echo "Doing distclean in bison" ; \
5238 (cd bison && \
5239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5241 "RANLIB=$${RANLIB}" \
5242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5243 distclean) \
5244 || exit 1
5246 @endif bison
5248 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5249 maybe-maintainer-clean-bison:
5250 @if bison
5251 maybe-maintainer-clean-bison: maintainer-clean-bison
5253 maintainer-clean-bison:
5254 @[ -f ./bison/Makefile ] || exit 0; \
5255 r=`${PWD_COMMAND}`; export r; \
5256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5257 $(SET_LIB_PATH) \
5258 $(HOST_EXPORTS) \
5259 for flag in $(EXTRA_HOST_FLAGS) ; do \
5260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5261 done; \
5262 echo "Doing maintainer-clean in bison" ; \
5263 (cd bison && \
5264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5266 "RANLIB=$${RANLIB}" \
5267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5268 maintainer-clean) \
5269 || exit 1
5271 @endif bison
5274 .PHONY: configure-byacc maybe-configure-byacc
5275 maybe-configure-byacc:
5276 @if byacc
5277 maybe-configure-byacc: configure-byacc
5278 configure-byacc:
5279 @test ! -f byacc/Makefile || exit 0; \
5280 [ -d byacc ] || mkdir byacc; \
5281 r=`${PWD_COMMAND}`; export r; \
5282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5283 $(HOST_EXPORTS) \
5284 echo Configuring in byacc; \
5285 cd byacc || exit 1; \
5286 case $(srcdir) in \
5287 \.) \
5288 srcdiroption="--srcdir=."; \
5289 libsrcdir=".";; \
5290 /* | [A-Za-z]:[\\/]*) \
5291 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5292 libsrcdir="$$s/byacc";; \
5293 *) \
5294 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5295 libsrcdir="$$s/byacc";; \
5296 esac; \
5297 $(SHELL) $${libsrcdir}/configure \
5298 $(HOST_CONFIGARGS) $${srcdiroption} \
5299 || exit 1
5300 @endif byacc
5302 .PHONY: all-byacc maybe-all-byacc
5303 maybe-all-byacc:
5304 @if byacc
5305 TARGET-byacc=all
5306 maybe-all-byacc: all-byacc
5307 all-byacc: configure-byacc
5308 @r=`${PWD_COMMAND}`; export r; \
5309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5310 $(SET_LIB_PATH) \
5311 $(HOST_EXPORTS) \
5312 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5313 $(TARGET-byacc))
5314 @endif byacc
5316 .PHONY: check-byacc maybe-check-byacc
5317 maybe-check-byacc:
5318 @if byacc
5319 maybe-check-byacc: check-byacc
5321 # This module is only tested in a native toolchain.
5322 check-byacc:
5323 @if [ '$(host)' = '$(target)' ] ; then \
5324 r=`${PWD_COMMAND}`; export r; \
5325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5326 $(SET_LIB_PATH) \
5327 $(HOST_EXPORTS) \
5328 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5331 @endif byacc
5333 .PHONY: install-byacc maybe-install-byacc
5334 maybe-install-byacc:
5335 @if byacc
5336 maybe-install-byacc: install-byacc
5338 install-byacc: installdirs
5339 @r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5341 $(SET_LIB_PATH) \
5342 $(HOST_EXPORTS) \
5343 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5345 @endif byacc
5347 # Other targets (info, dvi, etc.)
5349 .PHONY: maybe-info-byacc info-byacc
5350 maybe-info-byacc:
5351 @if byacc
5352 maybe-info-byacc: info-byacc
5354 info-byacc: \
5355 configure-byacc
5356 @[ -f ./byacc/Makefile ] || exit 0; \
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5359 $(SET_LIB_PATH) \
5360 $(HOST_EXPORTS) \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5363 done; \
5364 echo "Doing info in byacc" ; \
5365 (cd byacc && \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5370 info) \
5371 || exit 1
5373 @endif byacc
5375 .PHONY: maybe-dvi-byacc dvi-byacc
5376 maybe-dvi-byacc:
5377 @if byacc
5378 maybe-dvi-byacc: dvi-byacc
5380 dvi-byacc: \
5381 configure-byacc
5382 @[ -f ./byacc/Makefile ] || exit 0; \
5383 r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5385 $(SET_LIB_PATH) \
5386 $(HOST_EXPORTS) \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 done; \
5390 echo "Doing dvi in byacc" ; \
5391 (cd byacc && \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5396 dvi) \
5397 || exit 1
5399 @endif byacc
5401 .PHONY: maybe-html-byacc html-byacc
5402 maybe-html-byacc:
5403 @if byacc
5404 maybe-html-byacc: html-byacc
5406 html-byacc: \
5407 configure-byacc
5408 @[ -f ./byacc/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 $(SET_LIB_PATH) \
5412 $(HOST_EXPORTS) \
5413 for flag in $(EXTRA_HOST_FLAGS) ; do \
5414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5415 done; \
5416 echo "Doing html in byacc" ; \
5417 (cd byacc && \
5418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5420 "RANLIB=$${RANLIB}" \
5421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5422 html) \
5423 || exit 1
5425 @endif byacc
5427 .PHONY: maybe-TAGS-byacc TAGS-byacc
5428 maybe-TAGS-byacc:
5429 @if byacc
5430 maybe-TAGS-byacc: TAGS-byacc
5432 TAGS-byacc: \
5433 configure-byacc
5434 @[ -f ./byacc/Makefile ] || exit 0; \
5435 r=`${PWD_COMMAND}`; export r; \
5436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5437 $(SET_LIB_PATH) \
5438 $(HOST_EXPORTS) \
5439 for flag in $(EXTRA_HOST_FLAGS) ; do \
5440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5441 done; \
5442 echo "Doing TAGS in byacc" ; \
5443 (cd byacc && \
5444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5446 "RANLIB=$${RANLIB}" \
5447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5448 TAGS) \
5449 || exit 1
5451 @endif byacc
5453 .PHONY: maybe-install-info-byacc install-info-byacc
5454 maybe-install-info-byacc:
5455 @if byacc
5456 maybe-install-info-byacc: install-info-byacc
5458 install-info-byacc: \
5459 configure-byacc \
5460 info-byacc
5461 @[ -f ./byacc/Makefile ] || exit 0; \
5462 r=`${PWD_COMMAND}`; export r; \
5463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5464 $(SET_LIB_PATH) \
5465 $(HOST_EXPORTS) \
5466 for flag in $(EXTRA_HOST_FLAGS) ; do \
5467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5468 done; \
5469 echo "Doing install-info in byacc" ; \
5470 (cd byacc && \
5471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5473 "RANLIB=$${RANLIB}" \
5474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5475 install-info) \
5476 || exit 1
5478 @endif byacc
5480 .PHONY: maybe-installcheck-byacc installcheck-byacc
5481 maybe-installcheck-byacc:
5482 @if byacc
5483 maybe-installcheck-byacc: installcheck-byacc
5485 installcheck-byacc: \
5486 configure-byacc
5487 @[ -f ./byacc/Makefile ] || exit 0; \
5488 r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5490 $(SET_LIB_PATH) \
5491 $(HOST_EXPORTS) \
5492 for flag in $(EXTRA_HOST_FLAGS) ; do \
5493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5494 done; \
5495 echo "Doing installcheck in byacc" ; \
5496 (cd byacc && \
5497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5499 "RANLIB=$${RANLIB}" \
5500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5501 installcheck) \
5502 || exit 1
5504 @endif byacc
5506 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5507 maybe-mostlyclean-byacc:
5508 @if byacc
5509 maybe-mostlyclean-byacc: mostlyclean-byacc
5511 mostlyclean-byacc:
5512 @[ -f ./byacc/Makefile ] || exit 0; \
5513 r=`${PWD_COMMAND}`; export r; \
5514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5515 $(SET_LIB_PATH) \
5516 $(HOST_EXPORTS) \
5517 for flag in $(EXTRA_HOST_FLAGS) ; do \
5518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5519 done; \
5520 echo "Doing mostlyclean in byacc" ; \
5521 (cd byacc && \
5522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5524 "RANLIB=$${RANLIB}" \
5525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5526 mostlyclean) \
5527 || exit 1
5529 @endif byacc
5531 .PHONY: maybe-clean-byacc clean-byacc
5532 maybe-clean-byacc:
5533 @if byacc
5534 maybe-clean-byacc: clean-byacc
5536 clean-byacc:
5537 @[ -f ./byacc/Makefile ] || exit 0; \
5538 r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540 $(SET_LIB_PATH) \
5541 $(HOST_EXPORTS) \
5542 for flag in $(EXTRA_HOST_FLAGS) ; do \
5543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5544 done; \
5545 echo "Doing clean in byacc" ; \
5546 (cd byacc && \
5547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5549 "RANLIB=$${RANLIB}" \
5550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5551 clean) \
5552 || exit 1
5554 @endif byacc
5556 .PHONY: maybe-distclean-byacc distclean-byacc
5557 maybe-distclean-byacc:
5558 @if byacc
5559 maybe-distclean-byacc: distclean-byacc
5561 distclean-byacc:
5562 @[ -f ./byacc/Makefile ] || exit 0; \
5563 r=`${PWD_COMMAND}`; export r; \
5564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5565 $(SET_LIB_PATH) \
5566 $(HOST_EXPORTS) \
5567 for flag in $(EXTRA_HOST_FLAGS) ; do \
5568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5569 done; \
5570 echo "Doing distclean in byacc" ; \
5571 (cd byacc && \
5572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5574 "RANLIB=$${RANLIB}" \
5575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5576 distclean) \
5577 || exit 1
5579 @endif byacc
5581 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5582 maybe-maintainer-clean-byacc:
5583 @if byacc
5584 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5586 maintainer-clean-byacc:
5587 @[ -f ./byacc/Makefile ] || exit 0; \
5588 r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590 $(SET_LIB_PATH) \
5591 $(HOST_EXPORTS) \
5592 for flag in $(EXTRA_HOST_FLAGS) ; do \
5593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5594 done; \
5595 echo "Doing maintainer-clean in byacc" ; \
5596 (cd byacc && \
5597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5599 "RANLIB=$${RANLIB}" \
5600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5601 maintainer-clean) \
5602 || exit 1
5604 @endif byacc
5607 .PHONY: configure-bzip2 maybe-configure-bzip2
5608 maybe-configure-bzip2:
5609 @if bzip2
5610 maybe-configure-bzip2: configure-bzip2
5611 configure-bzip2:
5612 @test ! -f bzip2/Makefile || exit 0; \
5613 [ -d bzip2 ] || mkdir bzip2; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 $(HOST_EXPORTS) \
5617 echo Configuring in bzip2; \
5618 cd bzip2 || exit 1; \
5619 case $(srcdir) in \
5620 \.) \
5621 srcdiroption="--srcdir=."; \
5622 libsrcdir=".";; \
5623 /* | [A-Za-z]:[\\/]*) \
5624 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5625 libsrcdir="$$s/bzip2";; \
5626 *) \
5627 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5628 libsrcdir="$$s/bzip2";; \
5629 esac; \
5630 $(SHELL) $${libsrcdir}/configure \
5631 $(HOST_CONFIGARGS) $${srcdiroption} \
5632 || exit 1
5633 @endif bzip2
5635 .PHONY: all-bzip2 maybe-all-bzip2
5636 maybe-all-bzip2:
5637 @if bzip2
5638 TARGET-bzip2=all
5639 maybe-all-bzip2: all-bzip2
5640 all-bzip2: configure-bzip2
5641 @r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5643 $(SET_LIB_PATH) \
5644 $(HOST_EXPORTS) \
5645 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5646 $(TARGET-bzip2))
5647 @endif bzip2
5649 .PHONY: check-bzip2 maybe-check-bzip2
5650 maybe-check-bzip2:
5651 @if bzip2
5652 maybe-check-bzip2: check-bzip2
5654 check-bzip2:
5655 @r=`${PWD_COMMAND}`; export r; \
5656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5657 $(SET_LIB_PATH) \
5658 $(HOST_EXPORTS) \
5659 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5661 @endif bzip2
5663 .PHONY: install-bzip2 maybe-install-bzip2
5664 maybe-install-bzip2:
5665 @if bzip2
5666 maybe-install-bzip2: install-bzip2
5668 install-bzip2: installdirs
5669 @r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 $(SET_LIB_PATH) \
5672 $(HOST_EXPORTS) \
5673 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5675 @endif bzip2
5677 # Other targets (info, dvi, etc.)
5679 .PHONY: maybe-info-bzip2 info-bzip2
5680 maybe-info-bzip2:
5681 @if bzip2
5682 maybe-info-bzip2: info-bzip2
5684 info-bzip2: \
5685 configure-bzip2
5686 @[ -f ./bzip2/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5689 $(SET_LIB_PATH) \
5690 $(HOST_EXPORTS) \
5691 for flag in $(EXTRA_HOST_FLAGS) ; do \
5692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693 done; \
5694 echo "Doing info in bzip2" ; \
5695 (cd bzip2 && \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698 "RANLIB=$${RANLIB}" \
5699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5700 info) \
5701 || exit 1
5703 @endif bzip2
5705 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5706 maybe-dvi-bzip2:
5707 @if bzip2
5708 maybe-dvi-bzip2: dvi-bzip2
5710 dvi-bzip2: \
5711 configure-bzip2
5712 @[ -f ./bzip2/Makefile ] || exit 0; \
5713 r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5715 $(SET_LIB_PATH) \
5716 $(HOST_EXPORTS) \
5717 for flag in $(EXTRA_HOST_FLAGS) ; do \
5718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5719 done; \
5720 echo "Doing dvi in bzip2" ; \
5721 (cd bzip2 && \
5722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5724 "RANLIB=$${RANLIB}" \
5725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5726 dvi) \
5727 || exit 1
5729 @endif bzip2
5731 .PHONY: maybe-html-bzip2 html-bzip2
5732 maybe-html-bzip2:
5733 @if bzip2
5734 maybe-html-bzip2: html-bzip2
5736 html-bzip2: \
5737 configure-bzip2
5738 @[ -f ./bzip2/Makefile ] || exit 0; \
5739 r=`${PWD_COMMAND}`; export r; \
5740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5741 $(SET_LIB_PATH) \
5742 $(HOST_EXPORTS) \
5743 for flag in $(EXTRA_HOST_FLAGS) ; do \
5744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5745 done; \
5746 echo "Doing html in bzip2" ; \
5747 (cd bzip2 && \
5748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5750 "RANLIB=$${RANLIB}" \
5751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5752 html) \
5753 || exit 1
5755 @endif bzip2
5757 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5758 maybe-TAGS-bzip2:
5759 @if bzip2
5760 maybe-TAGS-bzip2: TAGS-bzip2
5762 TAGS-bzip2: \
5763 configure-bzip2
5764 @[ -f ./bzip2/Makefile ] || exit 0; \
5765 r=`${PWD_COMMAND}`; export r; \
5766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5767 $(SET_LIB_PATH) \
5768 $(HOST_EXPORTS) \
5769 for flag in $(EXTRA_HOST_FLAGS) ; do \
5770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5771 done; \
5772 echo "Doing TAGS in bzip2" ; \
5773 (cd bzip2 && \
5774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5776 "RANLIB=$${RANLIB}" \
5777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5778 TAGS) \
5779 || exit 1
5781 @endif bzip2
5783 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5784 maybe-install-info-bzip2:
5785 @if bzip2
5786 maybe-install-info-bzip2: install-info-bzip2
5788 install-info-bzip2: \
5789 configure-bzip2 \
5790 info-bzip2
5791 @[ -f ./bzip2/Makefile ] || exit 0; \
5792 r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 $(SET_LIB_PATH) \
5795 $(HOST_EXPORTS) \
5796 for flag in $(EXTRA_HOST_FLAGS) ; do \
5797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5798 done; \
5799 echo "Doing install-info in bzip2" ; \
5800 (cd bzip2 && \
5801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5803 "RANLIB=$${RANLIB}" \
5804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5805 install-info) \
5806 || exit 1
5808 @endif bzip2
5810 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5811 maybe-installcheck-bzip2:
5812 @if bzip2
5813 maybe-installcheck-bzip2: installcheck-bzip2
5815 installcheck-bzip2: \
5816 configure-bzip2
5817 @[ -f ./bzip2/Makefile ] || exit 0; \
5818 r=`${PWD_COMMAND}`; export r; \
5819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5820 $(SET_LIB_PATH) \
5821 $(HOST_EXPORTS) \
5822 for flag in $(EXTRA_HOST_FLAGS) ; do \
5823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5824 done; \
5825 echo "Doing installcheck in bzip2" ; \
5826 (cd bzip2 && \
5827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5829 "RANLIB=$${RANLIB}" \
5830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5831 installcheck) \
5832 || exit 1
5834 @endif bzip2
5836 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5837 maybe-mostlyclean-bzip2:
5838 @if bzip2
5839 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5841 mostlyclean-bzip2:
5842 @[ -f ./bzip2/Makefile ] || exit 0; \
5843 r=`${PWD_COMMAND}`; export r; \
5844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5845 $(SET_LIB_PATH) \
5846 $(HOST_EXPORTS) \
5847 for flag in $(EXTRA_HOST_FLAGS) ; do \
5848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5849 done; \
5850 echo "Doing mostlyclean in bzip2" ; \
5851 (cd bzip2 && \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5854 "RANLIB=$${RANLIB}" \
5855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5856 mostlyclean) \
5857 || exit 1
5859 @endif bzip2
5861 .PHONY: maybe-clean-bzip2 clean-bzip2
5862 maybe-clean-bzip2:
5863 @if bzip2
5864 maybe-clean-bzip2: clean-bzip2
5866 clean-bzip2:
5867 @[ -f ./bzip2/Makefile ] || exit 0; \
5868 r=`${PWD_COMMAND}`; export r; \
5869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5870 $(SET_LIB_PATH) \
5871 $(HOST_EXPORTS) \
5872 for flag in $(EXTRA_HOST_FLAGS) ; do \
5873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5874 done; \
5875 echo "Doing clean in bzip2" ; \
5876 (cd bzip2 && \
5877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5879 "RANLIB=$${RANLIB}" \
5880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5881 clean) \
5882 || exit 1
5884 @endif bzip2
5886 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5887 maybe-distclean-bzip2:
5888 @if bzip2
5889 maybe-distclean-bzip2: distclean-bzip2
5891 distclean-bzip2:
5892 @[ -f ./bzip2/Makefile ] || exit 0; \
5893 r=`${PWD_COMMAND}`; export r; \
5894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5895 $(SET_LIB_PATH) \
5896 $(HOST_EXPORTS) \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5899 done; \
5900 echo "Doing distclean in bzip2" ; \
5901 (cd bzip2 && \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5906 distclean) \
5907 || exit 1
5909 @endif bzip2
5911 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5912 maybe-maintainer-clean-bzip2:
5913 @if bzip2
5914 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5916 maintainer-clean-bzip2:
5917 @[ -f ./bzip2/Makefile ] || exit 0; \
5918 r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 $(SET_LIB_PATH) \
5921 $(HOST_EXPORTS) \
5922 for flag in $(EXTRA_HOST_FLAGS) ; do \
5923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5924 done; \
5925 echo "Doing maintainer-clean in bzip2" ; \
5926 (cd bzip2 && \
5927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5929 "RANLIB=$${RANLIB}" \
5930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5931 maintainer-clean) \
5932 || exit 1
5934 @endif bzip2
5937 .PHONY: configure-dejagnu maybe-configure-dejagnu
5938 maybe-configure-dejagnu:
5939 @if dejagnu
5940 maybe-configure-dejagnu: configure-dejagnu
5941 configure-dejagnu:
5942 @test ! -f dejagnu/Makefile || exit 0; \
5943 [ -d dejagnu ] || mkdir dejagnu; \
5944 r=`${PWD_COMMAND}`; export r; \
5945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 $(HOST_EXPORTS) \
5947 echo Configuring in dejagnu; \
5948 cd dejagnu || exit 1; \
5949 case $(srcdir) in \
5950 \.) \
5951 srcdiroption="--srcdir=."; \
5952 libsrcdir=".";; \
5953 /* | [A-Za-z]:[\\/]*) \
5954 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5955 libsrcdir="$$s/dejagnu";; \
5956 *) \
5957 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5958 libsrcdir="$$s/dejagnu";; \
5959 esac; \
5960 $(SHELL) $${libsrcdir}/configure \
5961 $(HOST_CONFIGARGS) $${srcdiroption} \
5962 || exit 1
5963 @endif dejagnu
5965 .PHONY: all-dejagnu maybe-all-dejagnu
5966 maybe-all-dejagnu:
5967 @if dejagnu
5968 TARGET-dejagnu=all
5969 maybe-all-dejagnu: all-dejagnu
5970 all-dejagnu: configure-dejagnu
5971 @r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 $(SET_LIB_PATH) \
5974 $(HOST_EXPORTS) \
5975 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5976 $(TARGET-dejagnu))
5977 @endif dejagnu
5979 .PHONY: check-dejagnu maybe-check-dejagnu
5980 maybe-check-dejagnu:
5981 @if dejagnu
5982 maybe-check-dejagnu: check-dejagnu
5984 check-dejagnu:
5985 @r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5987 $(SET_LIB_PATH) \
5988 $(HOST_EXPORTS) \
5989 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5991 @endif dejagnu
5993 .PHONY: install-dejagnu maybe-install-dejagnu
5994 maybe-install-dejagnu:
5995 @if dejagnu
5996 maybe-install-dejagnu: install-dejagnu
5998 install-dejagnu: installdirs
5999 @r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001 $(SET_LIB_PATH) \
6002 $(HOST_EXPORTS) \
6003 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6005 @endif dejagnu
6007 # Other targets (info, dvi, etc.)
6009 .PHONY: maybe-info-dejagnu info-dejagnu
6010 maybe-info-dejagnu:
6011 @if dejagnu
6012 maybe-info-dejagnu: info-dejagnu
6014 info-dejagnu: \
6015 configure-dejagnu
6016 @[ -f ./dejagnu/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 $(SET_LIB_PATH) \
6020 $(HOST_EXPORTS) \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 done; \
6024 echo "Doing info in dejagnu" ; \
6025 (cd dejagnu && \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6030 info) \
6031 || exit 1
6033 @endif dejagnu
6035 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6036 maybe-dvi-dejagnu:
6037 @if dejagnu
6038 maybe-dvi-dejagnu: dvi-dejagnu
6040 dvi-dejagnu: \
6041 configure-dejagnu
6042 @[ -f ./dejagnu/Makefile ] || exit 0; \
6043 r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 $(SET_LIB_PATH) \
6046 $(HOST_EXPORTS) \
6047 for flag in $(EXTRA_HOST_FLAGS) ; do \
6048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6049 done; \
6050 echo "Doing dvi in dejagnu" ; \
6051 (cd dejagnu && \
6052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6054 "RANLIB=$${RANLIB}" \
6055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6056 dvi) \
6057 || exit 1
6059 @endif dejagnu
6061 .PHONY: maybe-html-dejagnu html-dejagnu
6062 maybe-html-dejagnu:
6063 @if dejagnu
6064 maybe-html-dejagnu: html-dejagnu
6066 html-dejagnu: \
6067 configure-dejagnu
6068 @[ -f ./dejagnu/Makefile ] || exit 0; \
6069 r=`${PWD_COMMAND}`; export r; \
6070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6071 $(SET_LIB_PATH) \
6072 $(HOST_EXPORTS) \
6073 for flag in $(EXTRA_HOST_FLAGS) ; do \
6074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6075 done; \
6076 echo "Doing html in dejagnu" ; \
6077 (cd dejagnu && \
6078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6080 "RANLIB=$${RANLIB}" \
6081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6082 html) \
6083 || exit 1
6085 @endif dejagnu
6087 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6088 maybe-TAGS-dejagnu:
6089 @if dejagnu
6090 maybe-TAGS-dejagnu: TAGS-dejagnu
6092 TAGS-dejagnu: \
6093 configure-dejagnu
6094 @[ -f ./dejagnu/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6097 $(SET_LIB_PATH) \
6098 $(HOST_EXPORTS) \
6099 for flag in $(EXTRA_HOST_FLAGS) ; do \
6100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6101 done; \
6102 echo "Doing TAGS in dejagnu" ; \
6103 (cd dejagnu && \
6104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6106 "RANLIB=$${RANLIB}" \
6107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6108 TAGS) \
6109 || exit 1
6111 @endif dejagnu
6113 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6114 maybe-install-info-dejagnu:
6115 @if dejagnu
6116 maybe-install-info-dejagnu: install-info-dejagnu
6118 install-info-dejagnu: \
6119 configure-dejagnu \
6120 info-dejagnu
6121 @[ -f ./dejagnu/Makefile ] || exit 0; \
6122 r=`${PWD_COMMAND}`; export r; \
6123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124 $(SET_LIB_PATH) \
6125 $(HOST_EXPORTS) \
6126 for flag in $(EXTRA_HOST_FLAGS) ; do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128 done; \
6129 echo "Doing install-info in dejagnu" ; \
6130 (cd dejagnu && \
6131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133 "RANLIB=$${RANLIB}" \
6134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6135 install-info) \
6136 || exit 1
6138 @endif dejagnu
6140 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6141 maybe-installcheck-dejagnu:
6142 @if dejagnu
6143 maybe-installcheck-dejagnu: installcheck-dejagnu
6145 installcheck-dejagnu: \
6146 configure-dejagnu
6147 @[ -f ./dejagnu/Makefile ] || exit 0; \
6148 r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 $(SET_LIB_PATH) \
6151 $(HOST_EXPORTS) \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 done; \
6155 echo "Doing installcheck in dejagnu" ; \
6156 (cd dejagnu && \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6161 installcheck) \
6162 || exit 1
6164 @endif dejagnu
6166 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6167 maybe-mostlyclean-dejagnu:
6168 @if dejagnu
6169 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6171 mostlyclean-dejagnu:
6172 @[ -f ./dejagnu/Makefile ] || exit 0; \
6173 r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(SET_LIB_PATH) \
6176 $(HOST_EXPORTS) \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 done; \
6180 echo "Doing mostlyclean in dejagnu" ; \
6181 (cd dejagnu && \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6186 mostlyclean) \
6187 || exit 1
6189 @endif dejagnu
6191 .PHONY: maybe-clean-dejagnu clean-dejagnu
6192 maybe-clean-dejagnu:
6193 @if dejagnu
6194 maybe-clean-dejagnu: clean-dejagnu
6196 clean-dejagnu:
6197 @[ -f ./dejagnu/Makefile ] || exit 0; \
6198 r=`${PWD_COMMAND}`; export r; \
6199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6200 $(SET_LIB_PATH) \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing clean in dejagnu" ; \
6206 (cd dejagnu && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211 clean) \
6212 || exit 1
6214 @endif dejagnu
6216 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6217 maybe-distclean-dejagnu:
6218 @if dejagnu
6219 maybe-distclean-dejagnu: distclean-dejagnu
6221 distclean-dejagnu:
6222 @[ -f ./dejagnu/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(SET_LIB_PATH) \
6226 $(HOST_EXPORTS) \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 echo "Doing distclean in dejagnu" ; \
6231 (cd dejagnu && \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6236 distclean) \
6237 || exit 1
6239 @endif dejagnu
6241 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6242 maybe-maintainer-clean-dejagnu:
6243 @if dejagnu
6244 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6246 maintainer-clean-dejagnu:
6247 @[ -f ./dejagnu/Makefile ] || exit 0; \
6248 r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 $(SET_LIB_PATH) \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing maintainer-clean in dejagnu" ; \
6256 (cd dejagnu && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6261 maintainer-clean) \
6262 || exit 1
6264 @endif dejagnu
6267 .PHONY: configure-diff maybe-configure-diff
6268 maybe-configure-diff:
6269 @if diff
6270 maybe-configure-diff: configure-diff
6271 configure-diff:
6272 @test ! -f diff/Makefile || exit 0; \
6273 [ -d diff ] || mkdir diff; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 $(HOST_EXPORTS) \
6277 echo Configuring in diff; \
6278 cd diff || exit 1; \
6279 case $(srcdir) in \
6280 \.) \
6281 srcdiroption="--srcdir=."; \
6282 libsrcdir=".";; \
6283 /* | [A-Za-z]:[\\/]*) \
6284 srcdiroption="--srcdir=$(srcdir)/diff"; \
6285 libsrcdir="$$s/diff";; \
6286 *) \
6287 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6288 libsrcdir="$$s/diff";; \
6289 esac; \
6290 $(SHELL) $${libsrcdir}/configure \
6291 $(HOST_CONFIGARGS) $${srcdiroption} \
6292 || exit 1
6293 @endif diff
6295 .PHONY: all-diff maybe-all-diff
6296 maybe-all-diff:
6297 @if diff
6298 TARGET-diff=all
6299 maybe-all-diff: all-diff
6300 all-diff: configure-diff
6301 @r=`${PWD_COMMAND}`; export r; \
6302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6303 $(SET_LIB_PATH) \
6304 $(HOST_EXPORTS) \
6305 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6306 $(TARGET-diff))
6307 @endif diff
6309 .PHONY: check-diff maybe-check-diff
6310 maybe-check-diff:
6311 @if diff
6312 maybe-check-diff: check-diff
6314 check-diff:
6315 @r=`${PWD_COMMAND}`; export r; \
6316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6317 $(SET_LIB_PATH) \
6318 $(HOST_EXPORTS) \
6319 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6321 @endif diff
6323 .PHONY: install-diff maybe-install-diff
6324 maybe-install-diff:
6325 @if diff
6326 maybe-install-diff: install-diff
6328 install-diff: installdirs
6329 @r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 $(SET_LIB_PATH) \
6332 $(HOST_EXPORTS) \
6333 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6335 @endif diff
6337 # Other targets (info, dvi, etc.)
6339 .PHONY: maybe-info-diff info-diff
6340 maybe-info-diff:
6341 @if diff
6342 maybe-info-diff: info-diff
6344 info-diff: \
6345 configure-diff
6346 @[ -f ./diff/Makefile ] || exit 0; \
6347 r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6349 $(SET_LIB_PATH) \
6350 $(HOST_EXPORTS) \
6351 for flag in $(EXTRA_HOST_FLAGS) ; do \
6352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6353 done; \
6354 echo "Doing info in diff" ; \
6355 (cd diff && \
6356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6358 "RANLIB=$${RANLIB}" \
6359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6360 info) \
6361 || exit 1
6363 @endif diff
6365 .PHONY: maybe-dvi-diff dvi-diff
6366 maybe-dvi-diff:
6367 @if diff
6368 maybe-dvi-diff: dvi-diff
6370 dvi-diff: \
6371 configure-diff
6372 @[ -f ./diff/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6375 $(SET_LIB_PATH) \
6376 $(HOST_EXPORTS) \
6377 for flag in $(EXTRA_HOST_FLAGS) ; do \
6378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6379 done; \
6380 echo "Doing dvi in diff" ; \
6381 (cd diff && \
6382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6384 "RANLIB=$${RANLIB}" \
6385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6386 dvi) \
6387 || exit 1
6389 @endif diff
6391 .PHONY: maybe-html-diff html-diff
6392 maybe-html-diff:
6393 @if diff
6394 maybe-html-diff: html-diff
6396 html-diff: \
6397 configure-diff
6398 @[ -f ./diff/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(SET_LIB_PATH) \
6402 $(HOST_EXPORTS) \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 done; \
6406 echo "Doing html in diff" ; \
6407 (cd diff && \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6412 html) \
6413 || exit 1
6415 @endif diff
6417 .PHONY: maybe-TAGS-diff TAGS-diff
6418 maybe-TAGS-diff:
6419 @if diff
6420 maybe-TAGS-diff: TAGS-diff
6422 TAGS-diff: \
6423 configure-diff
6424 @[ -f ./diff/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(SET_LIB_PATH) \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing TAGS in diff" ; \
6433 (cd diff && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6438 TAGS) \
6439 || exit 1
6441 @endif diff
6443 .PHONY: maybe-install-info-diff install-info-diff
6444 maybe-install-info-diff:
6445 @if diff
6446 maybe-install-info-diff: install-info-diff
6448 install-info-diff: \
6449 configure-diff \
6450 info-diff
6451 @[ -f ./diff/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6454 $(SET_LIB_PATH) \
6455 $(HOST_EXPORTS) \
6456 for flag in $(EXTRA_HOST_FLAGS) ; do \
6457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6458 done; \
6459 echo "Doing install-info in diff" ; \
6460 (cd diff && \
6461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6463 "RANLIB=$${RANLIB}" \
6464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6465 install-info) \
6466 || exit 1
6468 @endif diff
6470 .PHONY: maybe-installcheck-diff installcheck-diff
6471 maybe-installcheck-diff:
6472 @if diff
6473 maybe-installcheck-diff: installcheck-diff
6475 installcheck-diff: \
6476 configure-diff
6477 @[ -f ./diff/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 $(SET_LIB_PATH) \
6481 $(HOST_EXPORTS) \
6482 for flag in $(EXTRA_HOST_FLAGS) ; do \
6483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6484 done; \
6485 echo "Doing installcheck in diff" ; \
6486 (cd diff && \
6487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6489 "RANLIB=$${RANLIB}" \
6490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6491 installcheck) \
6492 || exit 1
6494 @endif diff
6496 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6497 maybe-mostlyclean-diff:
6498 @if diff
6499 maybe-mostlyclean-diff: mostlyclean-diff
6501 mostlyclean-diff:
6502 @[ -f ./diff/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6505 $(SET_LIB_PATH) \
6506 $(HOST_EXPORTS) \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 done; \
6510 echo "Doing mostlyclean in diff" ; \
6511 (cd diff && \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6516 mostlyclean) \
6517 || exit 1
6519 @endif diff
6521 .PHONY: maybe-clean-diff clean-diff
6522 maybe-clean-diff:
6523 @if diff
6524 maybe-clean-diff: clean-diff
6526 clean-diff:
6527 @[ -f ./diff/Makefile ] || exit 0; \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6530 $(SET_LIB_PATH) \
6531 $(HOST_EXPORTS) \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6534 done; \
6535 echo "Doing clean in diff" ; \
6536 (cd diff && \
6537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6539 "RANLIB=$${RANLIB}" \
6540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6541 clean) \
6542 || exit 1
6544 @endif diff
6546 .PHONY: maybe-distclean-diff distclean-diff
6547 maybe-distclean-diff:
6548 @if diff
6549 maybe-distclean-diff: distclean-diff
6551 distclean-diff:
6552 @[ -f ./diff/Makefile ] || exit 0; \
6553 r=`${PWD_COMMAND}`; export r; \
6554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6555 $(SET_LIB_PATH) \
6556 $(HOST_EXPORTS) \
6557 for flag in $(EXTRA_HOST_FLAGS) ; do \
6558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6559 done; \
6560 echo "Doing distclean in diff" ; \
6561 (cd diff && \
6562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564 "RANLIB=$${RANLIB}" \
6565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6566 distclean) \
6567 || exit 1
6569 @endif diff
6571 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6572 maybe-maintainer-clean-diff:
6573 @if diff
6574 maybe-maintainer-clean-diff: maintainer-clean-diff
6576 maintainer-clean-diff:
6577 @[ -f ./diff/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(SET_LIB_PATH) \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing maintainer-clean in diff" ; \
6586 (cd diff && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6591 maintainer-clean) \
6592 || exit 1
6594 @endif diff
6597 .PHONY: configure-dosutils maybe-configure-dosutils
6598 maybe-configure-dosutils:
6599 @if dosutils
6600 maybe-configure-dosutils: configure-dosutils
6601 configure-dosutils:
6602 @test ! -f dosutils/Makefile || exit 0; \
6603 [ -d dosutils ] || mkdir dosutils; \
6604 r=`${PWD_COMMAND}`; export r; \
6605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6606 $(HOST_EXPORTS) \
6607 echo Configuring in dosutils; \
6608 cd dosutils || exit 1; \
6609 case $(srcdir) in \
6610 \.) \
6611 srcdiroption="--srcdir=."; \
6612 libsrcdir=".";; \
6613 /* | [A-Za-z]:[\\/]*) \
6614 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6615 libsrcdir="$$s/dosutils";; \
6616 *) \
6617 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6618 libsrcdir="$$s/dosutils";; \
6619 esac; \
6620 $(SHELL) $${libsrcdir}/configure \
6621 $(HOST_CONFIGARGS) $${srcdiroption} \
6622 || exit 1
6623 @endif dosutils
6625 .PHONY: all-dosutils maybe-all-dosutils
6626 maybe-all-dosutils:
6627 @if dosutils
6628 TARGET-dosutils=all
6629 maybe-all-dosutils: all-dosutils
6630 all-dosutils: configure-dosutils
6631 @r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(SET_LIB_PATH) \
6634 $(HOST_EXPORTS) \
6635 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6636 $(TARGET-dosutils))
6637 @endif dosutils
6639 .PHONY: check-dosutils maybe-check-dosutils
6640 maybe-check-dosutils:
6641 @if dosutils
6642 maybe-check-dosutils: check-dosutils
6644 check-dosutils:
6646 @endif dosutils
6648 .PHONY: install-dosutils maybe-install-dosutils
6649 maybe-install-dosutils:
6650 @if dosutils
6651 maybe-install-dosutils: install-dosutils
6653 install-dosutils: installdirs
6654 @r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6656 $(SET_LIB_PATH) \
6657 $(HOST_EXPORTS) \
6658 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6660 @endif dosutils
6662 # Other targets (info, dvi, etc.)
6664 .PHONY: maybe-info-dosutils info-dosutils
6665 maybe-info-dosutils:
6666 @if dosutils
6667 maybe-info-dosutils: info-dosutils
6669 info-dosutils: \
6670 configure-dosutils
6671 @[ -f ./dosutils/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674 $(SET_LIB_PATH) \
6675 $(HOST_EXPORTS) \
6676 for flag in $(EXTRA_HOST_FLAGS) ; do \
6677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 done; \
6679 echo "Doing info in dosutils" ; \
6680 (cd dosutils && \
6681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6683 "RANLIB=$${RANLIB}" \
6684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6685 info) \
6686 || exit 1
6688 @endif dosutils
6690 .PHONY: maybe-dvi-dosutils dvi-dosutils
6691 maybe-dvi-dosutils:
6692 @if dosutils
6693 maybe-dvi-dosutils: dvi-dosutils
6695 dvi-dosutils: \
6696 configure-dosutils
6697 @[ -f ./dosutils/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 $(SET_LIB_PATH) \
6701 $(HOST_EXPORTS) \
6702 for flag in $(EXTRA_HOST_FLAGS) ; do \
6703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6704 done; \
6705 echo "Doing dvi in dosutils" ; \
6706 (cd dosutils && \
6707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6709 "RANLIB=$${RANLIB}" \
6710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6711 dvi) \
6712 || exit 1
6714 @endif dosutils
6716 .PHONY: maybe-html-dosutils html-dosutils
6717 maybe-html-dosutils:
6718 @if dosutils
6719 maybe-html-dosutils: html-dosutils
6721 html-dosutils: \
6722 configure-dosutils
6723 @[ -f ./dosutils/Makefile ] || exit 0; \
6724 r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6726 $(SET_LIB_PATH) \
6727 $(HOST_EXPORTS) \
6728 for flag in $(EXTRA_HOST_FLAGS) ; do \
6729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6730 done; \
6731 echo "Doing html in dosutils" ; \
6732 (cd dosutils && \
6733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6735 "RANLIB=$${RANLIB}" \
6736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6737 html) \
6738 || exit 1
6740 @endif dosutils
6742 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6743 maybe-TAGS-dosutils:
6744 @if dosutils
6745 maybe-TAGS-dosutils: TAGS-dosutils
6747 TAGS-dosutils: \
6748 configure-dosutils
6749 @[ -f ./dosutils/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 $(SET_LIB_PATH) \
6753 $(HOST_EXPORTS) \
6754 for flag in $(EXTRA_HOST_FLAGS) ; do \
6755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6756 done; \
6757 echo "Doing TAGS in dosutils" ; \
6758 (cd dosutils && \
6759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6761 "RANLIB=$${RANLIB}" \
6762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6763 TAGS) \
6764 || exit 1
6766 @endif dosutils
6768 .PHONY: maybe-install-info-dosutils install-info-dosutils
6769 maybe-install-info-dosutils:
6770 @if dosutils
6771 maybe-install-info-dosutils: install-info-dosutils
6773 install-info-dosutils: \
6774 configure-dosutils \
6775 info-dosutils
6776 @[ -f ./dosutils/Makefile ] || exit 0; \
6777 r=`${PWD_COMMAND}`; export r; \
6778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6779 $(SET_LIB_PATH) \
6780 $(HOST_EXPORTS) \
6781 for flag in $(EXTRA_HOST_FLAGS) ; do \
6782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6783 done; \
6784 echo "Doing install-info in dosutils" ; \
6785 (cd dosutils && \
6786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6788 "RANLIB=$${RANLIB}" \
6789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6790 install-info) \
6791 || exit 1
6793 @endif dosutils
6795 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6796 maybe-installcheck-dosutils:
6797 @if dosutils
6798 maybe-installcheck-dosutils: installcheck-dosutils
6800 installcheck-dosutils: \
6801 configure-dosutils
6802 @[ -f ./dosutils/Makefile ] || exit 0; \
6803 r=`${PWD_COMMAND}`; export r; \
6804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6805 $(SET_LIB_PATH) \
6806 $(HOST_EXPORTS) \
6807 for flag in $(EXTRA_HOST_FLAGS) ; do \
6808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6809 done; \
6810 echo "Doing installcheck in dosutils" ; \
6811 (cd dosutils && \
6812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6814 "RANLIB=$${RANLIB}" \
6815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6816 installcheck) \
6817 || exit 1
6819 @endif dosutils
6821 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6822 maybe-mostlyclean-dosutils:
6823 @if dosutils
6824 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6826 mostlyclean-dosutils:
6827 @[ -f ./dosutils/Makefile ] || exit 0; \
6828 r=`${PWD_COMMAND}`; export r; \
6829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 $(SET_LIB_PATH) \
6831 $(HOST_EXPORTS) \
6832 for flag in $(EXTRA_HOST_FLAGS) ; do \
6833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6834 done; \
6835 echo "Doing mostlyclean in dosutils" ; \
6836 (cd dosutils && \
6837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6839 "RANLIB=$${RANLIB}" \
6840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6841 mostlyclean) \
6842 || exit 1
6844 @endif dosutils
6846 .PHONY: maybe-clean-dosutils clean-dosutils
6847 maybe-clean-dosutils:
6848 @if dosutils
6849 maybe-clean-dosutils: clean-dosutils
6851 clean-dosutils:
6852 @[ -f ./dosutils/Makefile ] || exit 0; \
6853 r=`${PWD_COMMAND}`; export r; \
6854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6855 $(SET_LIB_PATH) \
6856 $(HOST_EXPORTS) \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 done; \
6860 echo "Doing clean in dosutils" ; \
6861 (cd dosutils && \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6866 clean) \
6867 || exit 1
6869 @endif dosutils
6871 .PHONY: maybe-distclean-dosutils distclean-dosutils
6872 maybe-distclean-dosutils:
6873 @if dosutils
6874 maybe-distclean-dosutils: distclean-dosutils
6876 distclean-dosutils:
6877 @[ -f ./dosutils/Makefile ] || exit 0; \
6878 r=`${PWD_COMMAND}`; export r; \
6879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6880 $(SET_LIB_PATH) \
6881 $(HOST_EXPORTS) \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 done; \
6885 echo "Doing distclean in dosutils" ; \
6886 (cd dosutils && \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6891 distclean) \
6892 || exit 1
6894 @endif dosutils
6896 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6897 maybe-maintainer-clean-dosutils:
6898 @if dosutils
6899 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6901 maintainer-clean-dosutils:
6902 @[ -f ./dosutils/Makefile ] || exit 0; \
6903 r=`${PWD_COMMAND}`; export r; \
6904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6905 $(SET_LIB_PATH) \
6906 $(HOST_EXPORTS) \
6907 for flag in $(EXTRA_HOST_FLAGS) ; do \
6908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6909 done; \
6910 echo "Doing maintainer-clean in dosutils" ; \
6911 (cd dosutils && \
6912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6914 "RANLIB=$${RANLIB}" \
6915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6916 maintainer-clean) \
6917 || exit 1
6919 @endif dosutils
6922 .PHONY: configure-etc maybe-configure-etc
6923 maybe-configure-etc:
6924 @if etc
6925 maybe-configure-etc: configure-etc
6926 configure-etc:
6927 @test ! -f etc/Makefile || exit 0; \
6928 [ -d etc ] || mkdir etc; \
6929 r=`${PWD_COMMAND}`; export r; \
6930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6931 $(HOST_EXPORTS) \
6932 echo Configuring in etc; \
6933 cd etc || exit 1; \
6934 case $(srcdir) in \
6935 \.) \
6936 srcdiroption="--srcdir=."; \
6937 libsrcdir=".";; \
6938 /* | [A-Za-z]:[\\/]*) \
6939 srcdiroption="--srcdir=$(srcdir)/etc"; \
6940 libsrcdir="$$s/etc";; \
6941 *) \
6942 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6943 libsrcdir="$$s/etc";; \
6944 esac; \
6945 $(SHELL) $${libsrcdir}/configure \
6946 $(HOST_CONFIGARGS) $${srcdiroption} \
6947 || exit 1
6948 @endif etc
6950 .PHONY: all-etc maybe-all-etc
6951 maybe-all-etc:
6952 @if etc
6953 TARGET-etc=all
6954 maybe-all-etc: all-etc
6955 all-etc: configure-etc
6956 @r=`${PWD_COMMAND}`; export r; \
6957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6958 $(SET_LIB_PATH) \
6959 $(HOST_EXPORTS) \
6960 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6961 $(TARGET-etc))
6962 @endif etc
6964 .PHONY: check-etc maybe-check-etc
6965 maybe-check-etc:
6966 @if etc
6967 maybe-check-etc: check-etc
6969 check-etc:
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(SET_LIB_PATH) \
6973 $(HOST_EXPORTS) \
6974 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6976 @endif etc
6978 .PHONY: install-etc maybe-install-etc
6979 maybe-install-etc:
6980 @if etc
6981 maybe-install-etc: install-etc
6983 install-etc: installdirs
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(SET_LIB_PATH) \
6987 $(HOST_EXPORTS) \
6988 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6990 @endif etc
6992 # Other targets (info, dvi, etc.)
6994 .PHONY: maybe-info-etc info-etc
6995 maybe-info-etc:
6996 @if etc
6997 maybe-info-etc: info-etc
6999 info-etc: \
7000 configure-etc
7001 @[ -f ./etc/Makefile ] || exit 0; \
7002 r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 $(SET_LIB_PATH) \
7005 $(HOST_EXPORTS) \
7006 for flag in $(EXTRA_HOST_FLAGS) ; do \
7007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7008 done; \
7009 echo "Doing info in etc" ; \
7010 (cd etc && \
7011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7013 "RANLIB=$${RANLIB}" \
7014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7015 info) \
7016 || exit 1
7018 @endif etc
7020 .PHONY: maybe-dvi-etc dvi-etc
7021 maybe-dvi-etc:
7022 @if etc
7023 maybe-dvi-etc: dvi-etc
7025 dvi-etc: \
7026 configure-etc
7027 @[ -f ./etc/Makefile ] || exit 0; \
7028 r=`${PWD_COMMAND}`; export r; \
7029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7030 $(SET_LIB_PATH) \
7031 $(HOST_EXPORTS) \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7034 done; \
7035 echo "Doing dvi in etc" ; \
7036 (cd etc && \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7041 dvi) \
7042 || exit 1
7044 @endif etc
7046 .PHONY: maybe-html-etc html-etc
7047 maybe-html-etc:
7048 @if etc
7049 maybe-html-etc: html-etc
7051 html-etc: \
7052 configure-etc
7053 @[ -f ./etc/Makefile ] || exit 0; \
7054 r=`${PWD_COMMAND}`; export r; \
7055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7056 $(SET_LIB_PATH) \
7057 $(HOST_EXPORTS) \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 done; \
7061 echo "Doing html in etc" ; \
7062 (cd etc && \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7067 html) \
7068 || exit 1
7070 @endif etc
7072 .PHONY: maybe-TAGS-etc TAGS-etc
7073 maybe-TAGS-etc:
7074 @if etc
7075 maybe-TAGS-etc: TAGS-etc
7077 TAGS-etc: \
7078 configure-etc
7079 @[ -f ./etc/Makefile ] || exit 0; \
7080 r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 $(SET_LIB_PATH) \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing TAGS in etc" ; \
7088 (cd etc && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7093 TAGS) \
7094 || exit 1
7096 @endif etc
7098 .PHONY: maybe-install-info-etc install-info-etc
7099 maybe-install-info-etc:
7100 @if etc
7101 maybe-install-info-etc: install-info-etc
7103 install-info-etc: \
7104 configure-etc \
7105 info-etc
7106 @[ -f ./etc/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 $(SET_LIB_PATH) \
7110 $(HOST_EXPORTS) \
7111 for flag in $(EXTRA_HOST_FLAGS) ; do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 done; \
7114 echo "Doing install-info in etc" ; \
7115 (cd etc && \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7120 install-info) \
7121 || exit 1
7123 @endif etc
7125 .PHONY: maybe-installcheck-etc installcheck-etc
7126 maybe-installcheck-etc:
7127 @if etc
7128 maybe-installcheck-etc: installcheck-etc
7130 installcheck-etc: \
7131 configure-etc
7132 @[ -f ./etc/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7135 $(SET_LIB_PATH) \
7136 $(HOST_EXPORTS) \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 done; \
7140 echo "Doing installcheck in etc" ; \
7141 (cd etc && \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 installcheck) \
7147 || exit 1
7149 @endif etc
7151 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7152 maybe-mostlyclean-etc:
7153 @if etc
7154 maybe-mostlyclean-etc: mostlyclean-etc
7156 mostlyclean-etc:
7157 @[ -f ./etc/Makefile ] || exit 0; \
7158 r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7160 $(SET_LIB_PATH) \
7161 $(HOST_EXPORTS) \
7162 for flag in $(EXTRA_HOST_FLAGS) ; do \
7163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7164 done; \
7165 echo "Doing mostlyclean in etc" ; \
7166 (cd etc && \
7167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7169 "RANLIB=$${RANLIB}" \
7170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7171 mostlyclean) \
7172 || exit 1
7174 @endif etc
7176 .PHONY: maybe-clean-etc clean-etc
7177 maybe-clean-etc:
7178 @if etc
7179 maybe-clean-etc: clean-etc
7181 clean-etc:
7182 @[ -f ./etc/Makefile ] || exit 0; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(SET_LIB_PATH) \
7186 $(HOST_EXPORTS) \
7187 for flag in $(EXTRA_HOST_FLAGS) ; do \
7188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7189 done; \
7190 echo "Doing clean in etc" ; \
7191 (cd etc && \
7192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7194 "RANLIB=$${RANLIB}" \
7195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7196 clean) \
7197 || exit 1
7199 @endif etc
7201 .PHONY: maybe-distclean-etc distclean-etc
7202 maybe-distclean-etc:
7203 @if etc
7204 maybe-distclean-etc: distclean-etc
7206 distclean-etc:
7207 @[ -f ./etc/Makefile ] || exit 0; \
7208 r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210 $(SET_LIB_PATH) \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing distclean in etc" ; \
7216 (cd etc && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7221 distclean) \
7222 || exit 1
7224 @endif etc
7226 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7227 maybe-maintainer-clean-etc:
7228 @if etc
7229 maybe-maintainer-clean-etc: maintainer-clean-etc
7231 maintainer-clean-etc:
7232 @[ -f ./etc/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 $(SET_LIB_PATH) \
7236 $(HOST_EXPORTS) \
7237 for flag in $(EXTRA_HOST_FLAGS) ; do \
7238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7239 done; \
7240 echo "Doing maintainer-clean in etc" ; \
7241 (cd etc && \
7242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244 "RANLIB=$${RANLIB}" \
7245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7246 maintainer-clean) \
7247 || exit 1
7249 @endif etc
7252 .PHONY: configure-fastjar maybe-configure-fastjar
7253 maybe-configure-fastjar:
7254 @if fastjar
7255 maybe-configure-fastjar: configure-fastjar
7256 configure-fastjar:
7257 @test ! -f fastjar/Makefile || exit 0; \
7258 [ -d fastjar ] || mkdir fastjar; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 $(HOST_EXPORTS) \
7262 echo Configuring in fastjar; \
7263 cd fastjar || exit 1; \
7264 case $(srcdir) in \
7265 \.) \
7266 srcdiroption="--srcdir=."; \
7267 libsrcdir=".";; \
7268 /* | [A-Za-z]:[\\/]*) \
7269 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7270 libsrcdir="$$s/fastjar";; \
7271 *) \
7272 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7273 libsrcdir="$$s/fastjar";; \
7274 esac; \
7275 $(SHELL) $${libsrcdir}/configure \
7276 $(HOST_CONFIGARGS) $${srcdiroption} \
7277 || exit 1
7278 @endif fastjar
7280 .PHONY: all-fastjar maybe-all-fastjar
7281 maybe-all-fastjar:
7282 @if fastjar
7283 TARGET-fastjar=all
7284 maybe-all-fastjar: all-fastjar
7285 all-fastjar: configure-fastjar
7286 @r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 $(SET_LIB_PATH) \
7289 $(HOST_EXPORTS) \
7290 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7291 $(TARGET-fastjar))
7292 @endif fastjar
7294 .PHONY: check-fastjar maybe-check-fastjar
7295 maybe-check-fastjar:
7296 @if fastjar
7297 maybe-check-fastjar: check-fastjar
7299 # This module is only tested in a native toolchain.
7300 check-fastjar:
7301 @if [ '$(host)' = '$(target)' ] ; then \
7302 r=`${PWD_COMMAND}`; export r; \
7303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7304 $(SET_LIB_PATH) \
7305 $(HOST_EXPORTS) \
7306 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7309 @endif fastjar
7311 .PHONY: install-fastjar maybe-install-fastjar
7312 maybe-install-fastjar:
7313 @if fastjar
7314 maybe-install-fastjar: install-fastjar
7316 install-fastjar: installdirs
7317 @r=`${PWD_COMMAND}`; export r; \
7318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7319 $(SET_LIB_PATH) \
7320 $(HOST_EXPORTS) \
7321 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7323 @endif fastjar
7325 # Other targets (info, dvi, etc.)
7327 .PHONY: maybe-info-fastjar info-fastjar
7328 maybe-info-fastjar:
7329 @if fastjar
7330 maybe-info-fastjar: info-fastjar
7332 info-fastjar: \
7333 configure-fastjar
7334 @[ -f ./fastjar/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 $(SET_LIB_PATH) \
7338 $(HOST_EXPORTS) \
7339 for flag in $(EXTRA_HOST_FLAGS) ; do \
7340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7341 done; \
7342 echo "Doing info in fastjar" ; \
7343 (cd fastjar && \
7344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7346 "RANLIB=$${RANLIB}" \
7347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7348 info) \
7349 || exit 1
7351 @endif fastjar
7353 .PHONY: maybe-dvi-fastjar dvi-fastjar
7354 maybe-dvi-fastjar:
7355 @if fastjar
7356 maybe-dvi-fastjar: dvi-fastjar
7358 dvi-fastjar: \
7359 configure-fastjar
7360 @[ -f ./fastjar/Makefile ] || exit 0; \
7361 r=`${PWD_COMMAND}`; export r; \
7362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7363 $(SET_LIB_PATH) \
7364 $(HOST_EXPORTS) \
7365 for flag in $(EXTRA_HOST_FLAGS) ; do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 done; \
7368 echo "Doing dvi in fastjar" ; \
7369 (cd fastjar && \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7374 dvi) \
7375 || exit 1
7377 @endif fastjar
7379 .PHONY: maybe-html-fastjar html-fastjar
7380 maybe-html-fastjar:
7381 @if fastjar
7382 maybe-html-fastjar: html-fastjar
7384 html-fastjar: \
7385 configure-fastjar
7386 @[ -f ./fastjar/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 html in fastjar" ; \
7395 (cd fastjar && \
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 html) \
7401 || exit 1
7403 @endif fastjar
7405 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7406 maybe-TAGS-fastjar:
7407 @if fastjar
7408 maybe-TAGS-fastjar: TAGS-fastjar
7410 TAGS-fastjar: \
7411 configure-fastjar
7412 @[ -f ./fastjar/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 TAGS in fastjar" ; \
7421 (cd fastjar && \
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 TAGS) \
7427 || exit 1
7429 @endif fastjar
7431 .PHONY: maybe-install-info-fastjar install-info-fastjar
7432 maybe-install-info-fastjar:
7433 @if fastjar
7434 maybe-install-info-fastjar: install-info-fastjar
7436 install-info-fastjar: \
7437 configure-fastjar \
7438 info-fastjar
7439 @[ -f ./fastjar/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(SET_LIB_PATH) \
7443 $(HOST_EXPORTS) \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 done; \
7447 echo "Doing install-info in fastjar" ; \
7448 (cd fastjar && \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7453 install-info) \
7454 || exit 1
7456 @endif fastjar
7458 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7459 maybe-installcheck-fastjar:
7460 @if fastjar
7461 maybe-installcheck-fastjar: installcheck-fastjar
7463 installcheck-fastjar: \
7464 configure-fastjar
7465 @[ -f ./fastjar/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 installcheck in fastjar" ; \
7474 (cd fastjar && \
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 installcheck) \
7480 || exit 1
7482 @endif fastjar
7484 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7485 maybe-mostlyclean-fastjar:
7486 @if fastjar
7487 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7489 mostlyclean-fastjar:
7490 @[ -f ./fastjar/Makefile ] || exit 0; \
7491 r=`${PWD_COMMAND}`; export r; \
7492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7493 $(SET_LIB_PATH) \
7494 $(HOST_EXPORTS) \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 done; \
7498 echo "Doing mostlyclean in fastjar" ; \
7499 (cd fastjar && \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7504 mostlyclean) \
7505 || exit 1
7507 @endif fastjar
7509 .PHONY: maybe-clean-fastjar clean-fastjar
7510 maybe-clean-fastjar:
7511 @if fastjar
7512 maybe-clean-fastjar: clean-fastjar
7514 clean-fastjar:
7515 @[ -f ./fastjar/Makefile ] || exit 0; \
7516 r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 $(SET_LIB_PATH) \
7519 $(HOST_EXPORTS) \
7520 for flag in $(EXTRA_HOST_FLAGS) ; do \
7521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7522 done; \
7523 echo "Doing clean in fastjar" ; \
7524 (cd fastjar && \
7525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7527 "RANLIB=$${RANLIB}" \
7528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7529 clean) \
7530 || exit 1
7532 @endif fastjar
7534 .PHONY: maybe-distclean-fastjar distclean-fastjar
7535 maybe-distclean-fastjar:
7536 @if fastjar
7537 maybe-distclean-fastjar: distclean-fastjar
7539 distclean-fastjar:
7540 @[ -f ./fastjar/Makefile ] || exit 0; \
7541 r=`${PWD_COMMAND}`; export r; \
7542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7543 $(SET_LIB_PATH) \
7544 $(HOST_EXPORTS) \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 done; \
7548 echo "Doing distclean in fastjar" ; \
7549 (cd fastjar && \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7554 distclean) \
7555 || exit 1
7557 @endif fastjar
7559 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7560 maybe-maintainer-clean-fastjar:
7561 @if fastjar
7562 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7564 maintainer-clean-fastjar:
7565 @[ -f ./fastjar/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7568 $(SET_LIB_PATH) \
7569 $(HOST_EXPORTS) \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 done; \
7573 echo "Doing maintainer-clean in fastjar" ; \
7574 (cd fastjar && \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7579 maintainer-clean) \
7580 || exit 1
7582 @endif fastjar
7585 .PHONY: configure-fileutils maybe-configure-fileutils
7586 maybe-configure-fileutils:
7587 @if fileutils
7588 maybe-configure-fileutils: configure-fileutils
7589 configure-fileutils:
7590 @test ! -f fileutils/Makefile || exit 0; \
7591 [ -d fileutils ] || mkdir fileutils; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 $(HOST_EXPORTS) \
7595 echo Configuring in fileutils; \
7596 cd fileutils || exit 1; \
7597 case $(srcdir) in \
7598 \.) \
7599 srcdiroption="--srcdir=."; \
7600 libsrcdir=".";; \
7601 /* | [A-Za-z]:[\\/]*) \
7602 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7603 libsrcdir="$$s/fileutils";; \
7604 *) \
7605 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7606 libsrcdir="$$s/fileutils";; \
7607 esac; \
7608 $(SHELL) $${libsrcdir}/configure \
7609 $(HOST_CONFIGARGS) $${srcdiroption} \
7610 || exit 1
7611 @endif fileutils
7613 .PHONY: all-fileutils maybe-all-fileutils
7614 maybe-all-fileutils:
7615 @if fileutils
7616 TARGET-fileutils=all
7617 maybe-all-fileutils: all-fileutils
7618 all-fileutils: configure-fileutils
7619 @r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7621 $(SET_LIB_PATH) \
7622 $(HOST_EXPORTS) \
7623 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7624 $(TARGET-fileutils))
7625 @endif fileutils
7627 .PHONY: check-fileutils maybe-check-fileutils
7628 maybe-check-fileutils:
7629 @if fileutils
7630 maybe-check-fileutils: check-fileutils
7632 check-fileutils:
7633 @r=`${PWD_COMMAND}`; export r; \
7634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7635 $(SET_LIB_PATH) \
7636 $(HOST_EXPORTS) \
7637 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7639 @endif fileutils
7641 .PHONY: install-fileutils maybe-install-fileutils
7642 maybe-install-fileutils:
7643 @if fileutils
7644 maybe-install-fileutils: install-fileutils
7646 install-fileutils: installdirs
7647 @r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(SET_LIB_PATH) \
7650 $(HOST_EXPORTS) \
7651 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7653 @endif fileutils
7655 # Other targets (info, dvi, etc.)
7657 .PHONY: maybe-info-fileutils info-fileutils
7658 maybe-info-fileutils:
7659 @if fileutils
7660 maybe-info-fileutils: info-fileutils
7662 info-fileutils: \
7663 configure-fileutils
7664 @[ -f ./fileutils/Makefile ] || exit 0; \
7665 r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 $(SET_LIB_PATH) \
7668 $(HOST_EXPORTS) \
7669 for flag in $(EXTRA_HOST_FLAGS) ; do \
7670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7671 done; \
7672 echo "Doing info in fileutils" ; \
7673 (cd fileutils && \
7674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7676 "RANLIB=$${RANLIB}" \
7677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7678 info) \
7679 || exit 1
7681 @endif fileutils
7683 .PHONY: maybe-dvi-fileutils dvi-fileutils
7684 maybe-dvi-fileutils:
7685 @if fileutils
7686 maybe-dvi-fileutils: dvi-fileutils
7688 dvi-fileutils: \
7689 configure-fileutils
7690 @[ -f ./fileutils/Makefile ] || exit 0; \
7691 r=`${PWD_COMMAND}`; export r; \
7692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7693 $(SET_LIB_PATH) \
7694 $(HOST_EXPORTS) \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 done; \
7698 echo "Doing dvi in fileutils" ; \
7699 (cd fileutils && \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7704 dvi) \
7705 || exit 1
7707 @endif fileutils
7709 .PHONY: maybe-html-fileutils html-fileutils
7710 maybe-html-fileutils:
7711 @if fileutils
7712 maybe-html-fileutils: html-fileutils
7714 html-fileutils: \
7715 configure-fileutils
7716 @[ -f ./fileutils/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7719 $(SET_LIB_PATH) \
7720 $(HOST_EXPORTS) \
7721 for flag in $(EXTRA_HOST_FLAGS) ; do \
7722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7723 done; \
7724 echo "Doing html in fileutils" ; \
7725 (cd fileutils && \
7726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7728 "RANLIB=$${RANLIB}" \
7729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7730 html) \
7731 || exit 1
7733 @endif fileutils
7735 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7736 maybe-TAGS-fileutils:
7737 @if fileutils
7738 maybe-TAGS-fileutils: TAGS-fileutils
7740 TAGS-fileutils: \
7741 configure-fileutils
7742 @[ -f ./fileutils/Makefile ] || exit 0; \
7743 r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 $(SET_LIB_PATH) \
7746 $(HOST_EXPORTS) \
7747 for flag in $(EXTRA_HOST_FLAGS) ; do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 done; \
7750 echo "Doing TAGS in fileutils" ; \
7751 (cd fileutils && \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7756 TAGS) \
7757 || exit 1
7759 @endif fileutils
7761 .PHONY: maybe-install-info-fileutils install-info-fileutils
7762 maybe-install-info-fileutils:
7763 @if fileutils
7764 maybe-install-info-fileutils: install-info-fileutils
7766 install-info-fileutils: \
7767 configure-fileutils \
7768 info-fileutils
7769 @[ -f ./fileutils/Makefile ] || exit 0; \
7770 r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 $(SET_LIB_PATH) \
7773 $(HOST_EXPORTS) \
7774 for flag in $(EXTRA_HOST_FLAGS) ; do \
7775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7776 done; \
7777 echo "Doing install-info in fileutils" ; \
7778 (cd fileutils && \
7779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7781 "RANLIB=$${RANLIB}" \
7782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7783 install-info) \
7784 || exit 1
7786 @endif fileutils
7788 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7789 maybe-installcheck-fileutils:
7790 @if fileutils
7791 maybe-installcheck-fileutils: installcheck-fileutils
7793 installcheck-fileutils: \
7794 configure-fileutils
7795 @[ -f ./fileutils/Makefile ] || exit 0; \
7796 r=`${PWD_COMMAND}`; export r; \
7797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7798 $(SET_LIB_PATH) \
7799 $(HOST_EXPORTS) \
7800 for flag in $(EXTRA_HOST_FLAGS) ; do \
7801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7802 done; \
7803 echo "Doing installcheck in fileutils" ; \
7804 (cd fileutils && \
7805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7807 "RANLIB=$${RANLIB}" \
7808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7809 installcheck) \
7810 || exit 1
7812 @endif fileutils
7814 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7815 maybe-mostlyclean-fileutils:
7816 @if fileutils
7817 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7819 mostlyclean-fileutils:
7820 @[ -f ./fileutils/Makefile ] || exit 0; \
7821 r=`${PWD_COMMAND}`; export r; \
7822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7823 $(SET_LIB_PATH) \
7824 $(HOST_EXPORTS) \
7825 for flag in $(EXTRA_HOST_FLAGS) ; do \
7826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7827 done; \
7828 echo "Doing mostlyclean in fileutils" ; \
7829 (cd fileutils && \
7830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7832 "RANLIB=$${RANLIB}" \
7833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7834 mostlyclean) \
7835 || exit 1
7837 @endif fileutils
7839 .PHONY: maybe-clean-fileutils clean-fileutils
7840 maybe-clean-fileutils:
7841 @if fileutils
7842 maybe-clean-fileutils: clean-fileutils
7844 clean-fileutils:
7845 @[ -f ./fileutils/Makefile ] || exit 0; \
7846 r=`${PWD_COMMAND}`; export r; \
7847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7848 $(SET_LIB_PATH) \
7849 $(HOST_EXPORTS) \
7850 for flag in $(EXTRA_HOST_FLAGS) ; do \
7851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7852 done; \
7853 echo "Doing clean in fileutils" ; \
7854 (cd fileutils && \
7855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7857 "RANLIB=$${RANLIB}" \
7858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7859 clean) \
7860 || exit 1
7862 @endif fileutils
7864 .PHONY: maybe-distclean-fileutils distclean-fileutils
7865 maybe-distclean-fileutils:
7866 @if fileutils
7867 maybe-distclean-fileutils: distclean-fileutils
7869 distclean-fileutils:
7870 @[ -f ./fileutils/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7873 $(SET_LIB_PATH) \
7874 $(HOST_EXPORTS) \
7875 for flag in $(EXTRA_HOST_FLAGS) ; do \
7876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7877 done; \
7878 echo "Doing distclean in fileutils" ; \
7879 (cd fileutils && \
7880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7882 "RANLIB=$${RANLIB}" \
7883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7884 distclean) \
7885 || exit 1
7887 @endif fileutils
7889 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7890 maybe-maintainer-clean-fileutils:
7891 @if fileutils
7892 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7894 maintainer-clean-fileutils:
7895 @[ -f ./fileutils/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7898 $(SET_LIB_PATH) \
7899 $(HOST_EXPORTS) \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 done; \
7903 echo "Doing maintainer-clean in fileutils" ; \
7904 (cd fileutils && \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7909 maintainer-clean) \
7910 || exit 1
7912 @endif fileutils
7915 .PHONY: configure-findutils maybe-configure-findutils
7916 maybe-configure-findutils:
7917 @if findutils
7918 maybe-configure-findutils: configure-findutils
7919 configure-findutils:
7920 @test ! -f findutils/Makefile || exit 0; \
7921 [ -d findutils ] || mkdir findutils; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 $(HOST_EXPORTS) \
7925 echo Configuring in findutils; \
7926 cd findutils || exit 1; \
7927 case $(srcdir) in \
7928 \.) \
7929 srcdiroption="--srcdir=."; \
7930 libsrcdir=".";; \
7931 /* | [A-Za-z]:[\\/]*) \
7932 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7933 libsrcdir="$$s/findutils";; \
7934 *) \
7935 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7936 libsrcdir="$$s/findutils";; \
7937 esac; \
7938 $(SHELL) $${libsrcdir}/configure \
7939 $(HOST_CONFIGARGS) $${srcdiroption} \
7940 || exit 1
7941 @endif findutils
7943 .PHONY: all-findutils maybe-all-findutils
7944 maybe-all-findutils:
7945 @if findutils
7946 TARGET-findutils=all
7947 maybe-all-findutils: all-findutils
7948 all-findutils: configure-findutils
7949 @r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 $(SET_LIB_PATH) \
7952 $(HOST_EXPORTS) \
7953 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7954 $(TARGET-findutils))
7955 @endif findutils
7957 .PHONY: check-findutils maybe-check-findutils
7958 maybe-check-findutils:
7959 @if findutils
7960 maybe-check-findutils: check-findutils
7962 check-findutils:
7963 @r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7965 $(SET_LIB_PATH) \
7966 $(HOST_EXPORTS) \
7967 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7969 @endif findutils
7971 .PHONY: install-findutils maybe-install-findutils
7972 maybe-install-findutils:
7973 @if findutils
7974 maybe-install-findutils: install-findutils
7976 install-findutils: installdirs
7977 @r=`${PWD_COMMAND}`; export r; \
7978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7979 $(SET_LIB_PATH) \
7980 $(HOST_EXPORTS) \
7981 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7983 @endif findutils
7985 # Other targets (info, dvi, etc.)
7987 .PHONY: maybe-info-findutils info-findutils
7988 maybe-info-findutils:
7989 @if findutils
7990 maybe-info-findutils: info-findutils
7992 info-findutils: \
7993 configure-findutils
7994 @[ -f ./findutils/Makefile ] || exit 0; \
7995 r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7997 $(SET_LIB_PATH) \
7998 $(HOST_EXPORTS) \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 done; \
8002 echo "Doing info in findutils" ; \
8003 (cd findutils && \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8008 info) \
8009 || exit 1
8011 @endif findutils
8013 .PHONY: maybe-dvi-findutils dvi-findutils
8014 maybe-dvi-findutils:
8015 @if findutils
8016 maybe-dvi-findutils: dvi-findutils
8018 dvi-findutils: \
8019 configure-findutils
8020 @[ -f ./findutils/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 $(SET_LIB_PATH) \
8024 $(HOST_EXPORTS) \
8025 for flag in $(EXTRA_HOST_FLAGS) ; do \
8026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8027 done; \
8028 echo "Doing dvi in findutils" ; \
8029 (cd findutils && \
8030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8032 "RANLIB=$${RANLIB}" \
8033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8034 dvi) \
8035 || exit 1
8037 @endif findutils
8039 .PHONY: maybe-html-findutils html-findutils
8040 maybe-html-findutils:
8041 @if findutils
8042 maybe-html-findutils: html-findutils
8044 html-findutils: \
8045 configure-findutils
8046 @[ -f ./findutils/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049 $(SET_LIB_PATH) \
8050 $(HOST_EXPORTS) \
8051 for flag in $(EXTRA_HOST_FLAGS) ; do \
8052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 done; \
8054 echo "Doing html in findutils" ; \
8055 (cd findutils && \
8056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8058 "RANLIB=$${RANLIB}" \
8059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8060 html) \
8061 || exit 1
8063 @endif findutils
8065 .PHONY: maybe-TAGS-findutils TAGS-findutils
8066 maybe-TAGS-findutils:
8067 @if findutils
8068 maybe-TAGS-findutils: TAGS-findutils
8070 TAGS-findutils: \
8071 configure-findutils
8072 @[ -f ./findutils/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 TAGS in findutils" ; \
8081 (cd findutils && \
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 TAGS) \
8087 || exit 1
8089 @endif findutils
8091 .PHONY: maybe-install-info-findutils install-info-findutils
8092 maybe-install-info-findutils:
8093 @if findutils
8094 maybe-install-info-findutils: install-info-findutils
8096 install-info-findutils: \
8097 configure-findutils \
8098 info-findutils
8099 @[ -f ./findutils/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(SET_LIB_PATH) \
8103 $(HOST_EXPORTS) \
8104 for flag in $(EXTRA_HOST_FLAGS) ; do \
8105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8106 done; \
8107 echo "Doing install-info in findutils" ; \
8108 (cd findutils && \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8113 install-info) \
8114 || exit 1
8116 @endif findutils
8118 .PHONY: maybe-installcheck-findutils installcheck-findutils
8119 maybe-installcheck-findutils:
8120 @if findutils
8121 maybe-installcheck-findutils: installcheck-findutils
8123 installcheck-findutils: \
8124 configure-findutils
8125 @[ -f ./findutils/Makefile ] || exit 0; \
8126 r=`${PWD_COMMAND}`; export r; \
8127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8128 $(SET_LIB_PATH) \
8129 $(HOST_EXPORTS) \
8130 for flag in $(EXTRA_HOST_FLAGS) ; do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 done; \
8133 echo "Doing installcheck in findutils" ; \
8134 (cd findutils && \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8139 installcheck) \
8140 || exit 1
8142 @endif findutils
8144 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8145 maybe-mostlyclean-findutils:
8146 @if findutils
8147 maybe-mostlyclean-findutils: mostlyclean-findutils
8149 mostlyclean-findutils:
8150 @[ -f ./findutils/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8153 $(SET_LIB_PATH) \
8154 $(HOST_EXPORTS) \
8155 for flag in $(EXTRA_HOST_FLAGS) ; do \
8156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8157 done; \
8158 echo "Doing mostlyclean in findutils" ; \
8159 (cd findutils && \
8160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8162 "RANLIB=$${RANLIB}" \
8163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8164 mostlyclean) \
8165 || exit 1
8167 @endif findutils
8169 .PHONY: maybe-clean-findutils clean-findutils
8170 maybe-clean-findutils:
8171 @if findutils
8172 maybe-clean-findutils: clean-findutils
8174 clean-findutils:
8175 @[ -f ./findutils/Makefile ] || exit 0; \
8176 r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8178 $(SET_LIB_PATH) \
8179 $(HOST_EXPORTS) \
8180 for flag in $(EXTRA_HOST_FLAGS) ; do \
8181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8182 done; \
8183 echo "Doing clean in findutils" ; \
8184 (cd findutils && \
8185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8187 "RANLIB=$${RANLIB}" \
8188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8189 clean) \
8190 || exit 1
8192 @endif findutils
8194 .PHONY: maybe-distclean-findutils distclean-findutils
8195 maybe-distclean-findutils:
8196 @if findutils
8197 maybe-distclean-findutils: distclean-findutils
8199 distclean-findutils:
8200 @[ -f ./findutils/Makefile ] || exit 0; \
8201 r=`${PWD_COMMAND}`; export r; \
8202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8203 $(SET_LIB_PATH) \
8204 $(HOST_EXPORTS) \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 done; \
8208 echo "Doing distclean in findutils" ; \
8209 (cd findutils && \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8214 distclean) \
8215 || exit 1
8217 @endif findutils
8219 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8220 maybe-maintainer-clean-findutils:
8221 @if findutils
8222 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8224 maintainer-clean-findutils:
8225 @[ -f ./findutils/Makefile ] || exit 0; \
8226 r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 $(SET_LIB_PATH) \
8229 $(HOST_EXPORTS) \
8230 for flag in $(EXTRA_HOST_FLAGS) ; do \
8231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8232 done; \
8233 echo "Doing maintainer-clean in findutils" ; \
8234 (cd findutils && \
8235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8237 "RANLIB=$${RANLIB}" \
8238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8239 maintainer-clean) \
8240 || exit 1
8242 @endif findutils
8245 .PHONY: configure-find maybe-configure-find
8246 maybe-configure-find:
8247 @if find
8248 maybe-configure-find: configure-find
8249 configure-find:
8250 @test ! -f find/Makefile || exit 0; \
8251 [ -d find ] || mkdir find; \
8252 r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 $(HOST_EXPORTS) \
8255 echo Configuring in find; \
8256 cd find || exit 1; \
8257 case $(srcdir) in \
8258 \.) \
8259 srcdiroption="--srcdir=."; \
8260 libsrcdir=".";; \
8261 /* | [A-Za-z]:[\\/]*) \
8262 srcdiroption="--srcdir=$(srcdir)/find"; \
8263 libsrcdir="$$s/find";; \
8264 *) \
8265 srcdiroption="--srcdir=../$(srcdir)/find"; \
8266 libsrcdir="$$s/find";; \
8267 esac; \
8268 $(SHELL) $${libsrcdir}/configure \
8269 $(HOST_CONFIGARGS) $${srcdiroption} \
8270 || exit 1
8271 @endif find
8273 .PHONY: all-find maybe-all-find
8274 maybe-all-find:
8275 @if find
8276 TARGET-find=all
8277 maybe-all-find: all-find
8278 all-find: configure-find
8279 @r=`${PWD_COMMAND}`; export r; \
8280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8281 $(SET_LIB_PATH) \
8282 $(HOST_EXPORTS) \
8283 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8284 $(TARGET-find))
8285 @endif find
8287 .PHONY: check-find maybe-check-find
8288 maybe-check-find:
8289 @if find
8290 maybe-check-find: check-find
8292 check-find:
8293 @r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 $(SET_LIB_PATH) \
8296 $(HOST_EXPORTS) \
8297 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8299 @endif find
8301 .PHONY: install-find maybe-install-find
8302 maybe-install-find:
8303 @if find
8304 maybe-install-find: install-find
8306 install-find: installdirs
8307 @r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8309 $(SET_LIB_PATH) \
8310 $(HOST_EXPORTS) \
8311 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8313 @endif find
8315 # Other targets (info, dvi, etc.)
8317 .PHONY: maybe-info-find info-find
8318 maybe-info-find:
8319 @if find
8320 maybe-info-find: info-find
8322 info-find: \
8323 configure-find
8324 @[ -f ./find/Makefile ] || exit 0; \
8325 r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 $(SET_LIB_PATH) \
8328 $(HOST_EXPORTS) \
8329 for flag in $(EXTRA_HOST_FLAGS) ; do \
8330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8331 done; \
8332 echo "Doing info in find" ; \
8333 (cd find && \
8334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8336 "RANLIB=$${RANLIB}" \
8337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8338 info) \
8339 || exit 1
8341 @endif find
8343 .PHONY: maybe-dvi-find dvi-find
8344 maybe-dvi-find:
8345 @if find
8346 maybe-dvi-find: dvi-find
8348 dvi-find: \
8349 configure-find
8350 @[ -f ./find/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 $(SET_LIB_PATH) \
8354 $(HOST_EXPORTS) \
8355 for flag in $(EXTRA_HOST_FLAGS) ; do \
8356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8357 done; \
8358 echo "Doing dvi in find" ; \
8359 (cd find && \
8360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8362 "RANLIB=$${RANLIB}" \
8363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8364 dvi) \
8365 || exit 1
8367 @endif find
8369 .PHONY: maybe-html-find html-find
8370 maybe-html-find:
8371 @if find
8372 maybe-html-find: html-find
8374 html-find: \
8375 configure-find
8376 @[ -f ./find/Makefile ] || exit 0; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 $(SET_LIB_PATH) \
8380 $(HOST_EXPORTS) \
8381 for flag in $(EXTRA_HOST_FLAGS) ; do \
8382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8383 done; \
8384 echo "Doing html in find" ; \
8385 (cd find && \
8386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8388 "RANLIB=$${RANLIB}" \
8389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8390 html) \
8391 || exit 1
8393 @endif find
8395 .PHONY: maybe-TAGS-find TAGS-find
8396 maybe-TAGS-find:
8397 @if find
8398 maybe-TAGS-find: TAGS-find
8400 TAGS-find: \
8401 configure-find
8402 @[ -f ./find/Makefile ] || exit 0; \
8403 r=`${PWD_COMMAND}`; export r; \
8404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8405 $(SET_LIB_PATH) \
8406 $(HOST_EXPORTS) \
8407 for flag in $(EXTRA_HOST_FLAGS) ; do \
8408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8409 done; \
8410 echo "Doing TAGS in find" ; \
8411 (cd find && \
8412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8414 "RANLIB=$${RANLIB}" \
8415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8416 TAGS) \
8417 || exit 1
8419 @endif find
8421 .PHONY: maybe-install-info-find install-info-find
8422 maybe-install-info-find:
8423 @if find
8424 maybe-install-info-find: install-info-find
8426 install-info-find: \
8427 configure-find \
8428 info-find
8429 @[ -f ./find/Makefile ] || exit 0; \
8430 r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 $(SET_LIB_PATH) \
8433 $(HOST_EXPORTS) \
8434 for flag in $(EXTRA_HOST_FLAGS) ; do \
8435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8436 done; \
8437 echo "Doing install-info in find" ; \
8438 (cd find && \
8439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8441 "RANLIB=$${RANLIB}" \
8442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8443 install-info) \
8444 || exit 1
8446 @endif find
8448 .PHONY: maybe-installcheck-find installcheck-find
8449 maybe-installcheck-find:
8450 @if find
8451 maybe-installcheck-find: installcheck-find
8453 installcheck-find: \
8454 configure-find
8455 @[ -f ./find/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8458 $(SET_LIB_PATH) \
8459 $(HOST_EXPORTS) \
8460 for flag in $(EXTRA_HOST_FLAGS) ; do \
8461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8462 done; \
8463 echo "Doing installcheck in find" ; \
8464 (cd find && \
8465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8467 "RANLIB=$${RANLIB}" \
8468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8469 installcheck) \
8470 || exit 1
8472 @endif find
8474 .PHONY: maybe-mostlyclean-find mostlyclean-find
8475 maybe-mostlyclean-find:
8476 @if find
8477 maybe-mostlyclean-find: mostlyclean-find
8479 mostlyclean-find:
8480 @[ -f ./find/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 $(SET_LIB_PATH) \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing mostlyclean in find" ; \
8489 (cd find && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8494 mostlyclean) \
8495 || exit 1
8497 @endif find
8499 .PHONY: maybe-clean-find clean-find
8500 maybe-clean-find:
8501 @if find
8502 maybe-clean-find: clean-find
8504 clean-find:
8505 @[ -f ./find/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8508 $(SET_LIB_PATH) \
8509 $(HOST_EXPORTS) \
8510 for flag in $(EXTRA_HOST_FLAGS) ; do \
8511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8512 done; \
8513 echo "Doing clean in find" ; \
8514 (cd find && \
8515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8517 "RANLIB=$${RANLIB}" \
8518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8519 clean) \
8520 || exit 1
8522 @endif find
8524 .PHONY: maybe-distclean-find distclean-find
8525 maybe-distclean-find:
8526 @if find
8527 maybe-distclean-find: distclean-find
8529 distclean-find:
8530 @[ -f ./find/Makefile ] || exit 0; \
8531 r=`${PWD_COMMAND}`; export r; \
8532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8533 $(SET_LIB_PATH) \
8534 $(HOST_EXPORTS) \
8535 for flag in $(EXTRA_HOST_FLAGS) ; do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 done; \
8538 echo "Doing distclean in find" ; \
8539 (cd find && \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8544 distclean) \
8545 || exit 1
8547 @endif find
8549 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8550 maybe-maintainer-clean-find:
8551 @if find
8552 maybe-maintainer-clean-find: maintainer-clean-find
8554 maintainer-clean-find:
8555 @[ -f ./find/Makefile ] || exit 0; \
8556 r=`${PWD_COMMAND}`; export r; \
8557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8558 $(SET_LIB_PATH) \
8559 $(HOST_EXPORTS) \
8560 for flag in $(EXTRA_HOST_FLAGS) ; do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 done; \
8563 echo "Doing maintainer-clean in find" ; \
8564 (cd find && \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8569 maintainer-clean) \
8570 || exit 1
8572 @endif find
8575 .PHONY: configure-fixincludes maybe-configure-fixincludes
8576 maybe-configure-fixincludes:
8577 @if fixincludes
8578 maybe-configure-fixincludes: configure-fixincludes
8579 configure-fixincludes:
8580 @test ! -f fixincludes/Makefile || exit 0; \
8581 [ -d fixincludes ] || mkdir fixincludes; \
8582 r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584 $(HOST_EXPORTS) \
8585 echo Configuring in fixincludes; \
8586 cd fixincludes || exit 1; \
8587 case $(srcdir) in \
8588 \.) \
8589 srcdiroption="--srcdir=."; \
8590 libsrcdir=".";; \
8591 /* | [A-Za-z]:[\\/]*) \
8592 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8593 libsrcdir="$$s/fixincludes";; \
8594 *) \
8595 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8596 libsrcdir="$$s/fixincludes";; \
8597 esac; \
8598 $(SHELL) $${libsrcdir}/configure \
8599 $(HOST_CONFIGARGS) $${srcdiroption} \
8600 || exit 1
8601 @endif fixincludes
8603 .PHONY: all-fixincludes maybe-all-fixincludes
8604 maybe-all-fixincludes:
8605 @if fixincludes
8606 TARGET-fixincludes=all
8607 maybe-all-fixincludes: all-fixincludes
8608 all-fixincludes: configure-fixincludes
8609 @r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(SET_LIB_PATH) \
8612 $(HOST_EXPORTS) \
8613 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8614 $(TARGET-fixincludes))
8615 @endif fixincludes
8617 .PHONY: check-fixincludes maybe-check-fixincludes
8618 maybe-check-fixincludes:
8619 @if fixincludes
8620 maybe-check-fixincludes: check-fixincludes
8622 check-fixincludes:
8623 @r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(SET_LIB_PATH) \
8626 $(HOST_EXPORTS) \
8627 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8629 @endif fixincludes
8631 .PHONY: install-fixincludes maybe-install-fixincludes
8632 maybe-install-fixincludes:
8633 @if fixincludes
8634 maybe-install-fixincludes: install-fixincludes
8636 install-fixincludes: installdirs
8637 @r=`${PWD_COMMAND}`; export r; \
8638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8639 $(SET_LIB_PATH) \
8640 $(HOST_EXPORTS) \
8641 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8643 @endif fixincludes
8645 # Other targets (info, dvi, etc.)
8647 .PHONY: maybe-info-fixincludes info-fixincludes
8648 maybe-info-fixincludes:
8649 @if fixincludes
8650 maybe-info-fixincludes: info-fixincludes
8652 # fixincludes doesn't support info.
8653 info-fixincludes:
8655 @endif fixincludes
8657 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8658 maybe-dvi-fixincludes:
8659 @if fixincludes
8660 maybe-dvi-fixincludes: dvi-fixincludes
8662 # fixincludes doesn't support dvi.
8663 dvi-fixincludes:
8665 @endif fixincludes
8667 .PHONY: maybe-html-fixincludes html-fixincludes
8668 maybe-html-fixincludes:
8669 @if fixincludes
8670 maybe-html-fixincludes: html-fixincludes
8672 html-fixincludes: \
8673 configure-fixincludes
8674 @[ -f ./fixincludes/Makefile ] || exit 0; \
8675 r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 $(SET_LIB_PATH) \
8678 $(HOST_EXPORTS) \
8679 for flag in $(EXTRA_HOST_FLAGS) ; do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 done; \
8682 echo "Doing html in fixincludes" ; \
8683 (cd fixincludes && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8688 html) \
8689 || exit 1
8691 @endif fixincludes
8693 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8694 maybe-TAGS-fixincludes:
8695 @if fixincludes
8696 maybe-TAGS-fixincludes: TAGS-fixincludes
8698 # fixincludes doesn't support TAGS.
8699 TAGS-fixincludes:
8701 @endif fixincludes
8703 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8704 maybe-install-info-fixincludes:
8705 @if fixincludes
8706 maybe-install-info-fixincludes: install-info-fixincludes
8708 # fixincludes doesn't support install-info.
8709 install-info-fixincludes:
8711 @endif fixincludes
8713 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8714 maybe-installcheck-fixincludes:
8715 @if fixincludes
8716 maybe-installcheck-fixincludes: installcheck-fixincludes
8718 # fixincludes doesn't support installcheck.
8719 installcheck-fixincludes:
8721 @endif fixincludes
8723 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8724 maybe-mostlyclean-fixincludes:
8725 @if fixincludes
8726 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8728 mostlyclean-fixincludes:
8729 @[ -f ./fixincludes/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8732 $(SET_LIB_PATH) \
8733 $(HOST_EXPORTS) \
8734 for flag in $(EXTRA_HOST_FLAGS) ; do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8736 done; \
8737 echo "Doing mostlyclean in fixincludes" ; \
8738 (cd fixincludes && \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8743 mostlyclean) \
8744 || exit 1
8746 @endif fixincludes
8748 .PHONY: maybe-clean-fixincludes clean-fixincludes
8749 maybe-clean-fixincludes:
8750 @if fixincludes
8751 maybe-clean-fixincludes: clean-fixincludes
8753 clean-fixincludes:
8754 @[ -f ./fixincludes/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(SET_LIB_PATH) \
8758 $(HOST_EXPORTS) \
8759 for flag in $(EXTRA_HOST_FLAGS) ; do \
8760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8761 done; \
8762 echo "Doing clean in fixincludes" ; \
8763 (cd fixincludes && \
8764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8766 "RANLIB=$${RANLIB}" \
8767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8768 clean) \
8769 || exit 1
8771 @endif fixincludes
8773 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8774 maybe-distclean-fixincludes:
8775 @if fixincludes
8776 maybe-distclean-fixincludes: distclean-fixincludes
8778 distclean-fixincludes:
8779 @[ -f ./fixincludes/Makefile ] || exit 0; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8782 $(SET_LIB_PATH) \
8783 $(HOST_EXPORTS) \
8784 for flag in $(EXTRA_HOST_FLAGS) ; do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786 done; \
8787 echo "Doing distclean in fixincludes" ; \
8788 (cd fixincludes && \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 distclean) \
8794 || exit 1
8796 @endif fixincludes
8798 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8799 maybe-maintainer-clean-fixincludes:
8800 @if fixincludes
8801 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8803 maintainer-clean-fixincludes:
8804 @[ -f ./fixincludes/Makefile ] || exit 0; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(SET_LIB_PATH) \
8808 $(HOST_EXPORTS) \
8809 for flag in $(EXTRA_HOST_FLAGS) ; do \
8810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8811 done; \
8812 echo "Doing maintainer-clean in fixincludes" ; \
8813 (cd fixincludes && \
8814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8816 "RANLIB=$${RANLIB}" \
8817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8818 maintainer-clean) \
8819 || exit 1
8821 @endif fixincludes
8824 .PHONY: configure-flex maybe-configure-flex
8825 maybe-configure-flex:
8826 @if flex
8827 maybe-configure-flex: configure-flex
8828 configure-flex:
8829 @test ! -f flex/Makefile || exit 0; \
8830 [ -d flex ] || mkdir flex; \
8831 r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 $(HOST_EXPORTS) \
8834 echo Configuring in flex; \
8835 cd flex || exit 1; \
8836 case $(srcdir) in \
8837 \.) \
8838 srcdiroption="--srcdir=."; \
8839 libsrcdir=".";; \
8840 /* | [A-Za-z]:[\\/]*) \
8841 srcdiroption="--srcdir=$(srcdir)/flex"; \
8842 libsrcdir="$$s/flex";; \
8843 *) \
8844 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8845 libsrcdir="$$s/flex";; \
8846 esac; \
8847 $(SHELL) $${libsrcdir}/configure \
8848 $(HOST_CONFIGARGS) $${srcdiroption} \
8849 || exit 1
8850 @endif flex
8852 .PHONY: all-flex maybe-all-flex
8853 maybe-all-flex:
8854 @if flex
8855 TARGET-flex=all
8856 maybe-all-flex: all-flex
8857 all-flex: configure-flex
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8860 $(SET_LIB_PATH) \
8861 $(HOST_EXPORTS) \
8862 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8863 $(TARGET-flex))
8864 @endif flex
8866 .PHONY: check-flex maybe-check-flex
8867 maybe-check-flex:
8868 @if flex
8869 maybe-check-flex: check-flex
8871 # This module is only tested in a native toolchain.
8872 check-flex:
8873 @if [ '$(host)' = '$(target)' ] ; then \
8874 r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(SET_LIB_PATH) \
8877 $(HOST_EXPORTS) \
8878 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8881 @endif flex
8883 .PHONY: install-flex maybe-install-flex
8884 maybe-install-flex:
8885 @if flex
8886 maybe-install-flex: install-flex
8888 install-flex: installdirs
8889 @r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8891 $(SET_LIB_PATH) \
8892 $(HOST_EXPORTS) \
8893 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8895 @endif flex
8897 # Other targets (info, dvi, etc.)
8899 .PHONY: maybe-info-flex info-flex
8900 maybe-info-flex:
8901 @if flex
8902 maybe-info-flex: info-flex
8904 info-flex: \
8905 configure-flex
8906 @[ -f ./flex/Makefile ] || exit 0; \
8907 r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 $(SET_LIB_PATH) \
8910 $(HOST_EXPORTS) \
8911 for flag in $(EXTRA_HOST_FLAGS) ; do \
8912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8913 done; \
8914 echo "Doing info in flex" ; \
8915 (cd flex && \
8916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8918 "RANLIB=$${RANLIB}" \
8919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8920 info) \
8921 || exit 1
8923 @endif flex
8925 .PHONY: maybe-dvi-flex dvi-flex
8926 maybe-dvi-flex:
8927 @if flex
8928 maybe-dvi-flex: dvi-flex
8930 dvi-flex: \
8931 configure-flex
8932 @[ -f ./flex/Makefile ] || exit 0; \
8933 r=`${PWD_COMMAND}`; export r; \
8934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8935 $(SET_LIB_PATH) \
8936 $(HOST_EXPORTS) \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 done; \
8940 echo "Doing dvi in flex" ; \
8941 (cd flex && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946 dvi) \
8947 || exit 1
8949 @endif flex
8951 .PHONY: maybe-html-flex html-flex
8952 maybe-html-flex:
8953 @if flex
8954 maybe-html-flex: html-flex
8956 html-flex: \
8957 configure-flex
8958 @[ -f ./flex/Makefile ] || exit 0; \
8959 r=`${PWD_COMMAND}`; export r; \
8960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8961 $(SET_LIB_PATH) \
8962 $(HOST_EXPORTS) \
8963 for flag in $(EXTRA_HOST_FLAGS) ; do \
8964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965 done; \
8966 echo "Doing html in flex" ; \
8967 (cd flex && \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970 "RANLIB=$${RANLIB}" \
8971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8972 html) \
8973 || exit 1
8975 @endif flex
8977 .PHONY: maybe-TAGS-flex TAGS-flex
8978 maybe-TAGS-flex:
8979 @if flex
8980 maybe-TAGS-flex: TAGS-flex
8982 TAGS-flex: \
8983 configure-flex
8984 @[ -f ./flex/Makefile ] || exit 0; \
8985 r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8987 $(SET_LIB_PATH) \
8988 $(HOST_EXPORTS) \
8989 for flag in $(EXTRA_HOST_FLAGS) ; do \
8990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8991 done; \
8992 echo "Doing TAGS in flex" ; \
8993 (cd flex && \
8994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8996 "RANLIB=$${RANLIB}" \
8997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8998 TAGS) \
8999 || exit 1
9001 @endif flex
9003 .PHONY: maybe-install-info-flex install-info-flex
9004 maybe-install-info-flex:
9005 @if flex
9006 maybe-install-info-flex: install-info-flex
9008 install-info-flex: \
9009 configure-flex \
9010 info-flex
9011 @[ -f ./flex/Makefile ] || exit 0; \
9012 r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 $(SET_LIB_PATH) \
9015 $(HOST_EXPORTS) \
9016 for flag in $(EXTRA_HOST_FLAGS) ; do \
9017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9018 done; \
9019 echo "Doing install-info in flex" ; \
9020 (cd flex && \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9023 "RANLIB=$${RANLIB}" \
9024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9025 install-info) \
9026 || exit 1
9028 @endif flex
9030 .PHONY: maybe-installcheck-flex installcheck-flex
9031 maybe-installcheck-flex:
9032 @if flex
9033 maybe-installcheck-flex: installcheck-flex
9035 installcheck-flex: \
9036 configure-flex
9037 @[ -f ./flex/Makefile ] || exit 0; \
9038 r=`${PWD_COMMAND}`; export r; \
9039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040 $(SET_LIB_PATH) \
9041 $(HOST_EXPORTS) \
9042 for flag in $(EXTRA_HOST_FLAGS) ; do \
9043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044 done; \
9045 echo "Doing installcheck in flex" ; \
9046 (cd flex && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049 "RANLIB=$${RANLIB}" \
9050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9051 installcheck) \
9052 || exit 1
9054 @endif flex
9056 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9057 maybe-mostlyclean-flex:
9058 @if flex
9059 maybe-mostlyclean-flex: mostlyclean-flex
9061 mostlyclean-flex:
9062 @[ -f ./flex/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9065 $(SET_LIB_PATH) \
9066 $(HOST_EXPORTS) \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 done; \
9070 echo "Doing mostlyclean in flex" ; \
9071 (cd flex && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9076 mostlyclean) \
9077 || exit 1
9079 @endif flex
9081 .PHONY: maybe-clean-flex clean-flex
9082 maybe-clean-flex:
9083 @if flex
9084 maybe-clean-flex: clean-flex
9086 clean-flex:
9087 @[ -f ./flex/Makefile ] || exit 0; \
9088 r=`${PWD_COMMAND}`; export r; \
9089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9090 $(SET_LIB_PATH) \
9091 $(HOST_EXPORTS) \
9092 for flag in $(EXTRA_HOST_FLAGS) ; do \
9093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9094 done; \
9095 echo "Doing clean in flex" ; \
9096 (cd flex && \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9099 "RANLIB=$${RANLIB}" \
9100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9101 clean) \
9102 || exit 1
9104 @endif flex
9106 .PHONY: maybe-distclean-flex distclean-flex
9107 maybe-distclean-flex:
9108 @if flex
9109 maybe-distclean-flex: distclean-flex
9111 distclean-flex:
9112 @[ -f ./flex/Makefile ] || exit 0; \
9113 r=`${PWD_COMMAND}`; export r; \
9114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9115 $(SET_LIB_PATH) \
9116 $(HOST_EXPORTS) \
9117 for flag in $(EXTRA_HOST_FLAGS) ; do \
9118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9119 done; \
9120 echo "Doing distclean in flex" ; \
9121 (cd flex && \
9122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9124 "RANLIB=$${RANLIB}" \
9125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9126 distclean) \
9127 || exit 1
9129 @endif flex
9131 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9132 maybe-maintainer-clean-flex:
9133 @if flex
9134 maybe-maintainer-clean-flex: maintainer-clean-flex
9136 maintainer-clean-flex:
9137 @[ -f ./flex/Makefile ] || exit 0; \
9138 r=`${PWD_COMMAND}`; export r; \
9139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9140 $(SET_LIB_PATH) \
9141 $(HOST_EXPORTS) \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 done; \
9145 echo "Doing maintainer-clean in flex" ; \
9146 (cd flex && \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9151 maintainer-clean) \
9152 || exit 1
9154 @endif flex
9157 .PHONY: configure-gas maybe-configure-gas
9158 maybe-configure-gas:
9159 @if gas
9160 maybe-configure-gas: configure-gas
9161 configure-gas:
9162 @test -f stage_last && exit 0; \
9163 test ! -f gas/Makefile || exit 0; \
9164 [ -d gas ] || mkdir gas; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(HOST_EXPORTS) \
9168 echo Configuring in gas; \
9169 cd gas || exit 1; \
9170 case $(srcdir) in \
9171 \.) \
9172 srcdiroption="--srcdir=."; \
9173 libsrcdir=".";; \
9174 /* | [A-Za-z]:[\\/]*) \
9175 srcdiroption="--srcdir=$(srcdir)/gas"; \
9176 libsrcdir="$$s/gas";; \
9177 *) \
9178 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9179 libsrcdir="$$s/gas";; \
9180 esac; \
9181 $(SHELL) $${libsrcdir}/configure \
9182 $(HOST_CONFIGARGS) $${srcdiroption} \
9183 || exit 1
9184 @endif gas
9186 .PHONY: all-gas maybe-all-gas
9187 maybe-all-gas:
9188 @if gas
9189 TARGET-gas=all
9190 maybe-all-gas: all-gas
9191 all-gas: configure-gas
9192 @test -f stage_last && exit 0; \
9193 r=`${PWD_COMMAND}`; export r; \
9194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9195 $(SET_LIB_PATH) \
9196 $(HOST_EXPORTS) \
9197 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9198 $(TARGET-gas))
9199 @endif gas
9201 .PHONY: check-gas maybe-check-gas
9202 maybe-check-gas:
9203 @if gas
9204 maybe-check-gas: check-gas
9206 check-gas:
9207 @r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9209 $(SET_LIB_PATH) \
9210 $(HOST_EXPORTS) \
9211 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9213 @endif gas
9215 .PHONY: install-gas maybe-install-gas
9216 maybe-install-gas:
9217 @if gas
9218 maybe-install-gas: install-gas
9220 install-gas: installdirs
9221 @r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(SET_LIB_PATH) \
9224 $(HOST_EXPORTS) \
9225 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9227 @endif gas
9229 # Other targets (info, dvi, etc.)
9231 .PHONY: maybe-info-gas info-gas
9232 maybe-info-gas:
9233 @if gas
9234 maybe-info-gas: info-gas
9236 info-gas: \
9237 configure-gas
9238 @[ -f ./gas/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9241 $(SET_LIB_PATH) \
9242 $(HOST_EXPORTS) \
9243 for flag in $(EXTRA_HOST_FLAGS) ; do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9245 done; \
9246 echo "Doing info in gas" ; \
9247 (cd gas && \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9252 info) \
9253 || exit 1
9255 @endif gas
9257 .PHONY: maybe-dvi-gas dvi-gas
9258 maybe-dvi-gas:
9259 @if gas
9260 maybe-dvi-gas: dvi-gas
9262 dvi-gas: \
9263 configure-gas
9264 @[ -f ./gas/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9267 $(SET_LIB_PATH) \
9268 $(HOST_EXPORTS) \
9269 for flag in $(EXTRA_HOST_FLAGS) ; do \
9270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9271 done; \
9272 echo "Doing dvi in gas" ; \
9273 (cd gas && \
9274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9276 "RANLIB=$${RANLIB}" \
9277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9278 dvi) \
9279 || exit 1
9281 @endif gas
9283 .PHONY: maybe-html-gas html-gas
9284 maybe-html-gas:
9285 @if gas
9286 maybe-html-gas: html-gas
9288 html-gas: \
9289 configure-gas
9290 @[ -f ./gas/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9293 $(SET_LIB_PATH) \
9294 $(HOST_EXPORTS) \
9295 for flag in $(EXTRA_HOST_FLAGS) ; do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9297 done; \
9298 echo "Doing html in gas" ; \
9299 (cd gas && \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9304 html) \
9305 || exit 1
9307 @endif gas
9309 .PHONY: maybe-TAGS-gas TAGS-gas
9310 maybe-TAGS-gas:
9311 @if gas
9312 maybe-TAGS-gas: TAGS-gas
9314 TAGS-gas: \
9315 configure-gas
9316 @[ -f ./gas/Makefile ] || exit 0; \
9317 r=`${PWD_COMMAND}`; export r; \
9318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9319 $(SET_LIB_PATH) \
9320 $(HOST_EXPORTS) \
9321 for flag in $(EXTRA_HOST_FLAGS) ; do \
9322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9323 done; \
9324 echo "Doing TAGS in gas" ; \
9325 (cd gas && \
9326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9328 "RANLIB=$${RANLIB}" \
9329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9330 TAGS) \
9331 || exit 1
9333 @endif gas
9335 .PHONY: maybe-install-info-gas install-info-gas
9336 maybe-install-info-gas:
9337 @if gas
9338 maybe-install-info-gas: install-info-gas
9340 install-info-gas: \
9341 configure-gas \
9342 info-gas
9343 @[ -f ./gas/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 $(SET_LIB_PATH) \
9347 $(HOST_EXPORTS) \
9348 for flag in $(EXTRA_HOST_FLAGS) ; do \
9349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9350 done; \
9351 echo "Doing install-info in gas" ; \
9352 (cd gas && \
9353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9355 "RANLIB=$${RANLIB}" \
9356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9357 install-info) \
9358 || exit 1
9360 @endif gas
9362 .PHONY: maybe-installcheck-gas installcheck-gas
9363 maybe-installcheck-gas:
9364 @if gas
9365 maybe-installcheck-gas: installcheck-gas
9367 installcheck-gas: \
9368 configure-gas
9369 @[ -f ./gas/Makefile ] || exit 0; \
9370 r=`${PWD_COMMAND}`; export r; \
9371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9372 $(SET_LIB_PATH) \
9373 $(HOST_EXPORTS) \
9374 for flag in $(EXTRA_HOST_FLAGS) ; do \
9375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9376 done; \
9377 echo "Doing installcheck in gas" ; \
9378 (cd gas && \
9379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9381 "RANLIB=$${RANLIB}" \
9382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9383 installcheck) \
9384 || exit 1
9386 @endif gas
9388 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9389 maybe-mostlyclean-gas:
9390 @if gas
9391 maybe-mostlyclean-gas: mostlyclean-gas
9393 mostlyclean-gas:
9394 @[ -f ./gas/Makefile ] || exit 0; \
9395 r=`${PWD_COMMAND}`; export r; \
9396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9397 $(SET_LIB_PATH) \
9398 $(HOST_EXPORTS) \
9399 for flag in $(EXTRA_HOST_FLAGS) ; do \
9400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9401 done; \
9402 echo "Doing mostlyclean in gas" ; \
9403 (cd gas && \
9404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9406 "RANLIB=$${RANLIB}" \
9407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9408 mostlyclean) \
9409 || exit 1
9411 @endif gas
9413 .PHONY: maybe-clean-gas clean-gas
9414 maybe-clean-gas:
9415 @if gas
9416 maybe-clean-gas: clean-gas
9418 clean-gas:
9419 @[ -f ./gas/Makefile ] || exit 0; \
9420 r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 $(SET_LIB_PATH) \
9423 $(HOST_EXPORTS) \
9424 for flag in $(EXTRA_HOST_FLAGS) ; do \
9425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9426 done; \
9427 echo "Doing clean in gas" ; \
9428 (cd gas && \
9429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9431 "RANLIB=$${RANLIB}" \
9432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9433 clean) \
9434 || exit 1
9436 @endif gas
9438 .PHONY: maybe-distclean-gas distclean-gas
9439 maybe-distclean-gas:
9440 @if gas
9441 maybe-distclean-gas: distclean-gas
9443 distclean-gas:
9444 @[ -f ./gas/Makefile ] || exit 0; \
9445 r=`${PWD_COMMAND}`; export r; \
9446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9447 $(SET_LIB_PATH) \
9448 $(HOST_EXPORTS) \
9449 for flag in $(EXTRA_HOST_FLAGS) ; do \
9450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 done; \
9452 echo "Doing distclean in gas" ; \
9453 (cd gas && \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9456 "RANLIB=$${RANLIB}" \
9457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9458 distclean) \
9459 || exit 1
9461 @endif gas
9463 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9464 maybe-maintainer-clean-gas:
9465 @if gas
9466 maybe-maintainer-clean-gas: maintainer-clean-gas
9468 maintainer-clean-gas:
9469 @[ -f ./gas/Makefile ] || exit 0; \
9470 r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 $(SET_LIB_PATH) \
9473 $(HOST_EXPORTS) \
9474 for flag in $(EXTRA_HOST_FLAGS) ; do \
9475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9476 done; \
9477 echo "Doing maintainer-clean in gas" ; \
9478 (cd gas && \
9479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9481 "RANLIB=$${RANLIB}" \
9482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9483 maintainer-clean) \
9484 || exit 1
9486 @endif gas
9489 .PHONY: configure-gcc maybe-configure-gcc
9490 maybe-configure-gcc:
9491 @if gcc
9492 maybe-configure-gcc: configure-gcc
9493 configure-gcc:
9494 @test -f stage_last && exit 0; \
9495 test ! -f gcc/Makefile || exit 0; \
9496 [ -d gcc ] || mkdir gcc; \
9497 r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 $(HOST_EXPORTS) \
9500 echo Configuring in gcc; \
9501 cd gcc || exit 1; \
9502 case $(srcdir) in \
9503 \.) \
9504 srcdiroption="--srcdir=."; \
9505 libsrcdir=".";; \
9506 /* | [A-Za-z]:[\\/]*) \
9507 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9508 libsrcdir="$$s/gcc";; \
9509 *) \
9510 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9511 libsrcdir="$$s/gcc";; \
9512 esac; \
9513 $(SHELL) $${libsrcdir}/configure \
9514 $(HOST_CONFIGARGS) $${srcdiroption} \
9515 || exit 1
9516 @endif gcc
9518 .PHONY: all-gcc maybe-all-gcc
9519 maybe-all-gcc:
9520 @if gcc
9521 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9522 maybe-all-gcc: all-gcc
9523 all-gcc: configure-gcc
9524 @test -f stage_last && exit 0; \
9525 r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 $(SET_LIB_PATH) \
9528 $(HOST_EXPORTS) \
9529 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9530 $(TARGET-gcc))
9531 @endif gcc
9533 .PHONY: check-gcc maybe-check-gcc
9534 maybe-check-gcc:
9535 @if gcc
9536 maybe-check-gcc: check-gcc
9538 check-gcc:
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 $(SET_LIB_PATH) \
9542 $(HOST_EXPORTS) \
9543 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9545 @endif gcc
9547 .PHONY: install-gcc maybe-install-gcc
9548 maybe-install-gcc:
9549 @if gcc
9550 maybe-install-gcc: install-gcc
9552 install-gcc: installdirs
9553 @r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9555 $(SET_LIB_PATH) \
9556 $(HOST_EXPORTS) \
9557 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9559 @endif gcc
9561 # Other targets (info, dvi, etc.)
9563 .PHONY: maybe-info-gcc info-gcc
9564 maybe-info-gcc:
9565 @if gcc
9566 maybe-info-gcc: info-gcc
9568 info-gcc: \
9569 configure-gcc
9570 @[ -f ./gcc/Makefile ] || exit 0; \
9571 r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9573 $(SET_LIB_PATH) \
9574 $(HOST_EXPORTS) \
9575 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9577 done; \
9578 echo "Doing info in gcc" ; \
9579 (cd gcc && \
9580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9582 "RANLIB=$${RANLIB}" \
9583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9584 info) \
9585 || exit 1
9587 @endif gcc
9589 .PHONY: maybe-dvi-gcc dvi-gcc
9590 maybe-dvi-gcc:
9591 @if gcc
9592 maybe-dvi-gcc: dvi-gcc
9594 dvi-gcc: \
9595 configure-gcc
9596 @[ -f ./gcc/Makefile ] || exit 0; \
9597 r=`${PWD_COMMAND}`; export r; \
9598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9599 $(SET_LIB_PATH) \
9600 $(HOST_EXPORTS) \
9601 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9603 done; \
9604 echo "Doing dvi in gcc" ; \
9605 (cd gcc && \
9606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9608 "RANLIB=$${RANLIB}" \
9609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9610 dvi) \
9611 || exit 1
9613 @endif gcc
9615 .PHONY: maybe-html-gcc html-gcc
9616 maybe-html-gcc:
9617 @if gcc
9618 maybe-html-gcc: html-gcc
9620 html-gcc: \
9621 configure-gcc
9622 @[ -f ./gcc/Makefile ] || exit 0; \
9623 r=`${PWD_COMMAND}`; export r; \
9624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9625 $(SET_LIB_PATH) \
9626 $(HOST_EXPORTS) \
9627 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9629 done; \
9630 echo "Doing html in gcc" ; \
9631 (cd gcc && \
9632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9634 "RANLIB=$${RANLIB}" \
9635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9636 html) \
9637 || exit 1
9639 @endif gcc
9641 .PHONY: maybe-TAGS-gcc TAGS-gcc
9642 maybe-TAGS-gcc:
9643 @if gcc
9644 maybe-TAGS-gcc: TAGS-gcc
9646 TAGS-gcc: \
9647 configure-gcc
9648 @[ -f ./gcc/Makefile ] || exit 0; \
9649 r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9651 $(SET_LIB_PATH) \
9652 $(HOST_EXPORTS) \
9653 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9655 done; \
9656 echo "Doing TAGS in gcc" ; \
9657 (cd gcc && \
9658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9660 "RANLIB=$${RANLIB}" \
9661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9662 TAGS) \
9663 || exit 1
9665 @endif gcc
9667 .PHONY: maybe-install-info-gcc install-info-gcc
9668 maybe-install-info-gcc:
9669 @if gcc
9670 maybe-install-info-gcc: install-info-gcc
9672 install-info-gcc: \
9673 configure-gcc \
9674 info-gcc
9675 @[ -f ./gcc/Makefile ] || exit 0; \
9676 r=`${PWD_COMMAND}`; export r; \
9677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9678 $(SET_LIB_PATH) \
9679 $(HOST_EXPORTS) \
9680 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9682 done; \
9683 echo "Doing install-info in gcc" ; \
9684 (cd gcc && \
9685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9687 "RANLIB=$${RANLIB}" \
9688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9689 install-info) \
9690 || exit 1
9692 @endif gcc
9694 .PHONY: maybe-installcheck-gcc installcheck-gcc
9695 maybe-installcheck-gcc:
9696 @if gcc
9697 maybe-installcheck-gcc: installcheck-gcc
9699 installcheck-gcc: \
9700 configure-gcc
9701 @[ -f ./gcc/Makefile ] || exit 0; \
9702 r=`${PWD_COMMAND}`; export r; \
9703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9704 $(SET_LIB_PATH) \
9705 $(HOST_EXPORTS) \
9706 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 done; \
9709 echo "Doing installcheck in gcc" ; \
9710 (cd gcc && \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9715 installcheck) \
9716 || exit 1
9718 @endif gcc
9720 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9721 maybe-mostlyclean-gcc:
9722 @if gcc
9723 maybe-mostlyclean-gcc: mostlyclean-gcc
9725 mostlyclean-gcc:
9726 @[ -f ./gcc/Makefile ] || exit 0; \
9727 r=`${PWD_COMMAND}`; export r; \
9728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9729 $(SET_LIB_PATH) \
9730 $(HOST_EXPORTS) \
9731 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9733 done; \
9734 echo "Doing mostlyclean in gcc" ; \
9735 (cd gcc && \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9738 "RANLIB=$${RANLIB}" \
9739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9740 mostlyclean) \
9741 || exit 1
9743 @endif gcc
9745 .PHONY: maybe-clean-gcc clean-gcc
9746 maybe-clean-gcc:
9747 @if gcc
9748 maybe-clean-gcc: clean-gcc
9750 clean-gcc:
9751 @[ -f ./gcc/Makefile ] || exit 0; \
9752 r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9754 $(SET_LIB_PATH) \
9755 $(HOST_EXPORTS) \
9756 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9758 done; \
9759 echo "Doing clean in gcc" ; \
9760 (cd gcc && \
9761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9763 "RANLIB=$${RANLIB}" \
9764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9765 clean) \
9766 || exit 1
9768 @endif gcc
9770 .PHONY: maybe-distclean-gcc distclean-gcc
9771 maybe-distclean-gcc:
9772 @if gcc
9773 maybe-distclean-gcc: distclean-gcc
9775 distclean-gcc:
9776 @[ -f ./gcc/Makefile ] || exit 0; \
9777 r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9779 $(SET_LIB_PATH) \
9780 $(HOST_EXPORTS) \
9781 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 done; \
9784 echo "Doing distclean in gcc" ; \
9785 (cd gcc && \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9790 distclean) \
9791 || exit 1
9793 @endif gcc
9795 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9796 maybe-maintainer-clean-gcc:
9797 @if gcc
9798 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9800 maintainer-clean-gcc:
9801 @[ -f ./gcc/Makefile ] || exit 0; \
9802 r=`${PWD_COMMAND}`; export r; \
9803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9804 $(SET_LIB_PATH) \
9805 $(HOST_EXPORTS) \
9806 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 done; \
9809 echo "Doing maintainer-clean in gcc" ; \
9810 (cd gcc && \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9815 maintainer-clean) \
9816 || exit 1
9818 @endif gcc
9821 .PHONY: configure-gawk maybe-configure-gawk
9822 maybe-configure-gawk:
9823 @if gawk
9824 maybe-configure-gawk: configure-gawk
9825 configure-gawk:
9826 @test ! -f gawk/Makefile || exit 0; \
9827 [ -d gawk ] || mkdir gawk; \
9828 r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 $(HOST_EXPORTS) \
9831 echo Configuring in gawk; \
9832 cd gawk || exit 1; \
9833 case $(srcdir) in \
9834 \.) \
9835 srcdiroption="--srcdir=."; \
9836 libsrcdir=".";; \
9837 /* | [A-Za-z]:[\\/]*) \
9838 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9839 libsrcdir="$$s/gawk";; \
9840 *) \
9841 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9842 libsrcdir="$$s/gawk";; \
9843 esac; \
9844 $(SHELL) $${libsrcdir}/configure \
9845 $(HOST_CONFIGARGS) $${srcdiroption} \
9846 || exit 1
9847 @endif gawk
9849 .PHONY: all-gawk maybe-all-gawk
9850 maybe-all-gawk:
9851 @if gawk
9852 TARGET-gawk=all
9853 maybe-all-gawk: all-gawk
9854 all-gawk: configure-gawk
9855 @r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(SET_LIB_PATH) \
9858 $(HOST_EXPORTS) \
9859 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9860 $(TARGET-gawk))
9861 @endif gawk
9863 .PHONY: check-gawk maybe-check-gawk
9864 maybe-check-gawk:
9865 @if gawk
9866 maybe-check-gawk: check-gawk
9868 check-gawk:
9869 @r=`${PWD_COMMAND}`; export r; \
9870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9871 $(SET_LIB_PATH) \
9872 $(HOST_EXPORTS) \
9873 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9875 @endif gawk
9877 .PHONY: install-gawk maybe-install-gawk
9878 maybe-install-gawk:
9879 @if gawk
9880 maybe-install-gawk: install-gawk
9882 install-gawk: installdirs
9883 @r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9885 $(SET_LIB_PATH) \
9886 $(HOST_EXPORTS) \
9887 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9889 @endif gawk
9891 # Other targets (info, dvi, etc.)
9893 .PHONY: maybe-info-gawk info-gawk
9894 maybe-info-gawk:
9895 @if gawk
9896 maybe-info-gawk: info-gawk
9898 info-gawk: \
9899 configure-gawk
9900 @[ -f ./gawk/Makefile ] || exit 0; \
9901 r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9903 $(SET_LIB_PATH) \
9904 $(HOST_EXPORTS) \
9905 for flag in $(EXTRA_HOST_FLAGS) ; do \
9906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9907 done; \
9908 echo "Doing info in gawk" ; \
9909 (cd gawk && \
9910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9912 "RANLIB=$${RANLIB}" \
9913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9914 info) \
9915 || exit 1
9917 @endif gawk
9919 .PHONY: maybe-dvi-gawk dvi-gawk
9920 maybe-dvi-gawk:
9921 @if gawk
9922 maybe-dvi-gawk: dvi-gawk
9924 dvi-gawk: \
9925 configure-gawk
9926 @[ -f ./gawk/Makefile ] || exit 0; \
9927 r=`${PWD_COMMAND}`; export r; \
9928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9929 $(SET_LIB_PATH) \
9930 $(HOST_EXPORTS) \
9931 for flag in $(EXTRA_HOST_FLAGS) ; do \
9932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9933 done; \
9934 echo "Doing dvi in gawk" ; \
9935 (cd gawk && \
9936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9938 "RANLIB=$${RANLIB}" \
9939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9940 dvi) \
9941 || exit 1
9943 @endif gawk
9945 .PHONY: maybe-html-gawk html-gawk
9946 maybe-html-gawk:
9947 @if gawk
9948 maybe-html-gawk: html-gawk
9950 html-gawk: \
9951 configure-gawk
9952 @[ -f ./gawk/Makefile ] || exit 0; \
9953 r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9955 $(SET_LIB_PATH) \
9956 $(HOST_EXPORTS) \
9957 for flag in $(EXTRA_HOST_FLAGS) ; do \
9958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9959 done; \
9960 echo "Doing html in gawk" ; \
9961 (cd gawk && \
9962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9964 "RANLIB=$${RANLIB}" \
9965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9966 html) \
9967 || exit 1
9969 @endif gawk
9971 .PHONY: maybe-TAGS-gawk TAGS-gawk
9972 maybe-TAGS-gawk:
9973 @if gawk
9974 maybe-TAGS-gawk: TAGS-gawk
9976 TAGS-gawk: \
9977 configure-gawk
9978 @[ -f ./gawk/Makefile ] || exit 0; \
9979 r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 $(SET_LIB_PATH) \
9982 $(HOST_EXPORTS) \
9983 for flag in $(EXTRA_HOST_FLAGS) ; do \
9984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9985 done; \
9986 echo "Doing TAGS in gawk" ; \
9987 (cd gawk && \
9988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9990 "RANLIB=$${RANLIB}" \
9991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9992 TAGS) \
9993 || exit 1
9995 @endif gawk
9997 .PHONY: maybe-install-info-gawk install-info-gawk
9998 maybe-install-info-gawk:
9999 @if gawk
10000 maybe-install-info-gawk: install-info-gawk
10002 install-info-gawk: \
10003 configure-gawk \
10004 info-gawk
10005 @[ -f ./gawk/Makefile ] || exit 0; \
10006 r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10008 $(SET_LIB_PATH) \
10009 $(HOST_EXPORTS) \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 done; \
10013 echo "Doing install-info in gawk" ; \
10014 (cd gawk && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 install-info) \
10020 || exit 1
10022 @endif gawk
10024 .PHONY: maybe-installcheck-gawk installcheck-gawk
10025 maybe-installcheck-gawk:
10026 @if gawk
10027 maybe-installcheck-gawk: installcheck-gawk
10029 installcheck-gawk: \
10030 configure-gawk
10031 @[ -f ./gawk/Makefile ] || exit 0; \
10032 r=`${PWD_COMMAND}`; export r; \
10033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10034 $(SET_LIB_PATH) \
10035 $(HOST_EXPORTS) \
10036 for flag in $(EXTRA_HOST_FLAGS) ; do \
10037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10038 done; \
10039 echo "Doing installcheck in gawk" ; \
10040 (cd gawk && \
10041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10043 "RANLIB=$${RANLIB}" \
10044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10045 installcheck) \
10046 || exit 1
10048 @endif gawk
10050 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10051 maybe-mostlyclean-gawk:
10052 @if gawk
10053 maybe-mostlyclean-gawk: mostlyclean-gawk
10055 mostlyclean-gawk:
10056 @[ -f ./gawk/Makefile ] || exit 0; \
10057 r=`${PWD_COMMAND}`; export r; \
10058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10059 $(SET_LIB_PATH) \
10060 $(HOST_EXPORTS) \
10061 for flag in $(EXTRA_HOST_FLAGS) ; do \
10062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10063 done; \
10064 echo "Doing mostlyclean in gawk" ; \
10065 (cd gawk && \
10066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10068 "RANLIB=$${RANLIB}" \
10069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10070 mostlyclean) \
10071 || exit 1
10073 @endif gawk
10075 .PHONY: maybe-clean-gawk clean-gawk
10076 maybe-clean-gawk:
10077 @if gawk
10078 maybe-clean-gawk: clean-gawk
10080 clean-gawk:
10081 @[ -f ./gawk/Makefile ] || exit 0; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(SET_LIB_PATH) \
10085 $(HOST_EXPORTS) \
10086 for flag in $(EXTRA_HOST_FLAGS) ; do \
10087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10088 done; \
10089 echo "Doing clean in gawk" ; \
10090 (cd gawk && \
10091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10093 "RANLIB=$${RANLIB}" \
10094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10095 clean) \
10096 || exit 1
10098 @endif gawk
10100 .PHONY: maybe-distclean-gawk distclean-gawk
10101 maybe-distclean-gawk:
10102 @if gawk
10103 maybe-distclean-gawk: distclean-gawk
10105 distclean-gawk:
10106 @[ -f ./gawk/Makefile ] || exit 0; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(SET_LIB_PATH) \
10110 $(HOST_EXPORTS) \
10111 for flag in $(EXTRA_HOST_FLAGS) ; do \
10112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10113 done; \
10114 echo "Doing distclean in gawk" ; \
10115 (cd gawk && \
10116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10118 "RANLIB=$${RANLIB}" \
10119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10120 distclean) \
10121 || exit 1
10123 @endif gawk
10125 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10126 maybe-maintainer-clean-gawk:
10127 @if gawk
10128 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10130 maintainer-clean-gawk:
10131 @[ -f ./gawk/Makefile ] || exit 0; \
10132 r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10134 $(SET_LIB_PATH) \
10135 $(HOST_EXPORTS) \
10136 for flag in $(EXTRA_HOST_FLAGS) ; do \
10137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10138 done; \
10139 echo "Doing maintainer-clean in gawk" ; \
10140 (cd gawk && \
10141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10143 "RANLIB=$${RANLIB}" \
10144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10145 maintainer-clean) \
10146 || exit 1
10148 @endif gawk
10151 .PHONY: configure-gettext maybe-configure-gettext
10152 maybe-configure-gettext:
10153 @if gettext
10154 maybe-configure-gettext: configure-gettext
10155 configure-gettext:
10156 @test ! -f gettext/Makefile || exit 0; \
10157 [ -d gettext ] || mkdir gettext; \
10158 r=`${PWD_COMMAND}`; export r; \
10159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 $(HOST_EXPORTS) \
10161 echo Configuring in gettext; \
10162 cd gettext || exit 1; \
10163 case $(srcdir) in \
10164 \.) \
10165 srcdiroption="--srcdir=."; \
10166 libsrcdir=".";; \
10167 /* | [A-Za-z]:[\\/]*) \
10168 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10169 libsrcdir="$$s/gettext";; \
10170 *) \
10171 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10172 libsrcdir="$$s/gettext";; \
10173 esac; \
10174 $(SHELL) $${libsrcdir}/configure \
10175 $(HOST_CONFIGARGS) $${srcdiroption} \
10176 || exit 1
10177 @endif gettext
10179 .PHONY: all-gettext maybe-all-gettext
10180 maybe-all-gettext:
10181 @if gettext
10182 TARGET-gettext=all
10183 maybe-all-gettext: all-gettext
10184 all-gettext: configure-gettext
10185 @r=`${PWD_COMMAND}`; export r; \
10186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10187 $(SET_LIB_PATH) \
10188 $(HOST_EXPORTS) \
10189 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10190 $(TARGET-gettext))
10191 @endif gettext
10193 .PHONY: check-gettext maybe-check-gettext
10194 maybe-check-gettext:
10195 @if gettext
10196 maybe-check-gettext: check-gettext
10198 check-gettext:
10199 @r=`${PWD_COMMAND}`; export r; \
10200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10201 $(SET_LIB_PATH) \
10202 $(HOST_EXPORTS) \
10203 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10205 @endif gettext
10207 .PHONY: install-gettext maybe-install-gettext
10208 maybe-install-gettext:
10209 @if gettext
10210 maybe-install-gettext: install-gettext
10212 install-gettext: installdirs
10213 @r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(SET_LIB_PATH) \
10216 $(HOST_EXPORTS) \
10217 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10219 @endif gettext
10221 # Other targets (info, dvi, etc.)
10223 .PHONY: maybe-info-gettext info-gettext
10224 maybe-info-gettext:
10225 @if gettext
10226 maybe-info-gettext: info-gettext
10228 info-gettext: \
10229 configure-gettext
10230 @[ -f ./gettext/Makefile ] || exit 0; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10233 $(SET_LIB_PATH) \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing info in gettext" ; \
10239 (cd gettext && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10244 info) \
10245 || exit 1
10247 @endif gettext
10249 .PHONY: maybe-dvi-gettext dvi-gettext
10250 maybe-dvi-gettext:
10251 @if gettext
10252 maybe-dvi-gettext: dvi-gettext
10254 dvi-gettext: \
10255 configure-gettext
10256 @[ -f ./gettext/Makefile ] || exit 0; \
10257 r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10259 $(SET_LIB_PATH) \
10260 $(HOST_EXPORTS) \
10261 for flag in $(EXTRA_HOST_FLAGS) ; do \
10262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10263 done; \
10264 echo "Doing dvi in gettext" ; \
10265 (cd gettext && \
10266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10268 "RANLIB=$${RANLIB}" \
10269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10270 dvi) \
10271 || exit 1
10273 @endif gettext
10275 .PHONY: maybe-html-gettext html-gettext
10276 maybe-html-gettext:
10277 @if gettext
10278 maybe-html-gettext: html-gettext
10280 html-gettext: \
10281 configure-gettext
10282 @[ -f ./gettext/Makefile ] || exit 0; \
10283 r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 $(SET_LIB_PATH) \
10286 $(HOST_EXPORTS) \
10287 for flag in $(EXTRA_HOST_FLAGS) ; do \
10288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10289 done; \
10290 echo "Doing html in gettext" ; \
10291 (cd gettext && \
10292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10294 "RANLIB=$${RANLIB}" \
10295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10296 html) \
10297 || exit 1
10299 @endif gettext
10301 .PHONY: maybe-TAGS-gettext TAGS-gettext
10302 maybe-TAGS-gettext:
10303 @if gettext
10304 maybe-TAGS-gettext: TAGS-gettext
10306 TAGS-gettext: \
10307 configure-gettext
10308 @[ -f ./gettext/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(SET_LIB_PATH) \
10312 $(HOST_EXPORTS) \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 done; \
10316 echo "Doing TAGS in gettext" ; \
10317 (cd gettext && \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10322 TAGS) \
10323 || exit 1
10325 @endif gettext
10327 .PHONY: maybe-install-info-gettext install-info-gettext
10328 maybe-install-info-gettext:
10329 @if gettext
10330 maybe-install-info-gettext: install-info-gettext
10332 install-info-gettext: \
10333 configure-gettext \
10334 info-gettext
10335 @[ -f ./gettext/Makefile ] || exit 0; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(SET_LIB_PATH) \
10339 $(HOST_EXPORTS) \
10340 for flag in $(EXTRA_HOST_FLAGS) ; do \
10341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10342 done; \
10343 echo "Doing install-info in gettext" ; \
10344 (cd gettext && \
10345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10347 "RANLIB=$${RANLIB}" \
10348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10349 install-info) \
10350 || exit 1
10352 @endif gettext
10354 .PHONY: maybe-installcheck-gettext installcheck-gettext
10355 maybe-installcheck-gettext:
10356 @if gettext
10357 maybe-installcheck-gettext: installcheck-gettext
10359 installcheck-gettext: \
10360 configure-gettext
10361 @[ -f ./gettext/Makefile ] || exit 0; \
10362 r=`${PWD_COMMAND}`; export r; \
10363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10364 $(SET_LIB_PATH) \
10365 $(HOST_EXPORTS) \
10366 for flag in $(EXTRA_HOST_FLAGS) ; do \
10367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10368 done; \
10369 echo "Doing installcheck in gettext" ; \
10370 (cd gettext && \
10371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10373 "RANLIB=$${RANLIB}" \
10374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10375 installcheck) \
10376 || exit 1
10378 @endif gettext
10380 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10381 maybe-mostlyclean-gettext:
10382 @if gettext
10383 maybe-mostlyclean-gettext: mostlyclean-gettext
10385 mostlyclean-gettext:
10386 @[ -f ./gettext/Makefile ] || exit 0; \
10387 r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389 $(SET_LIB_PATH) \
10390 $(HOST_EXPORTS) \
10391 for flag in $(EXTRA_HOST_FLAGS) ; do \
10392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10393 done; \
10394 echo "Doing mostlyclean in gettext" ; \
10395 (cd gettext && \
10396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10398 "RANLIB=$${RANLIB}" \
10399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10400 mostlyclean) \
10401 || exit 1
10403 @endif gettext
10405 .PHONY: maybe-clean-gettext clean-gettext
10406 maybe-clean-gettext:
10407 @if gettext
10408 maybe-clean-gettext: clean-gettext
10410 clean-gettext:
10411 @[ -f ./gettext/Makefile ] || exit 0; \
10412 r=`${PWD_COMMAND}`; export r; \
10413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10414 $(SET_LIB_PATH) \
10415 $(HOST_EXPORTS) \
10416 for flag in $(EXTRA_HOST_FLAGS) ; do \
10417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10418 done; \
10419 echo "Doing clean in gettext" ; \
10420 (cd gettext && \
10421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10423 "RANLIB=$${RANLIB}" \
10424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10425 clean) \
10426 || exit 1
10428 @endif gettext
10430 .PHONY: maybe-distclean-gettext distclean-gettext
10431 maybe-distclean-gettext:
10432 @if gettext
10433 maybe-distclean-gettext: distclean-gettext
10435 distclean-gettext:
10436 @[ -f ./gettext/Makefile ] || exit 0; \
10437 r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 $(SET_LIB_PATH) \
10440 $(HOST_EXPORTS) \
10441 for flag in $(EXTRA_HOST_FLAGS) ; do \
10442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10443 done; \
10444 echo "Doing distclean in gettext" ; \
10445 (cd gettext && \
10446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10448 "RANLIB=$${RANLIB}" \
10449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10450 distclean) \
10451 || exit 1
10453 @endif gettext
10455 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10456 maybe-maintainer-clean-gettext:
10457 @if gettext
10458 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10460 maintainer-clean-gettext:
10461 @[ -f ./gettext/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 maintainer-clean in gettext" ; \
10470 (cd gettext && \
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 maintainer-clean) \
10476 || exit 1
10478 @endif gettext
10481 .PHONY: configure-gnuserv maybe-configure-gnuserv
10482 maybe-configure-gnuserv:
10483 @if gnuserv
10484 maybe-configure-gnuserv: configure-gnuserv
10485 configure-gnuserv:
10486 @test ! -f gnuserv/Makefile || exit 0; \
10487 [ -d gnuserv ] || mkdir gnuserv; \
10488 r=`${PWD_COMMAND}`; export r; \
10489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 $(HOST_EXPORTS) \
10491 echo Configuring in gnuserv; \
10492 cd gnuserv || exit 1; \
10493 case $(srcdir) in \
10494 \.) \
10495 srcdiroption="--srcdir=."; \
10496 libsrcdir=".";; \
10497 /* | [A-Za-z]:[\\/]*) \
10498 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10499 libsrcdir="$$s/gnuserv";; \
10500 *) \
10501 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10502 libsrcdir="$$s/gnuserv";; \
10503 esac; \
10504 $(SHELL) $${libsrcdir}/configure \
10505 $(HOST_CONFIGARGS) $${srcdiroption} \
10506 || exit 1
10507 @endif gnuserv
10509 .PHONY: all-gnuserv maybe-all-gnuserv
10510 maybe-all-gnuserv:
10511 @if gnuserv
10512 TARGET-gnuserv=all
10513 maybe-all-gnuserv: all-gnuserv
10514 all-gnuserv: configure-gnuserv
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 $(SET_LIB_PATH) \
10518 $(HOST_EXPORTS) \
10519 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10520 $(TARGET-gnuserv))
10521 @endif gnuserv
10523 .PHONY: check-gnuserv maybe-check-gnuserv
10524 maybe-check-gnuserv:
10525 @if gnuserv
10526 maybe-check-gnuserv: check-gnuserv
10528 check-gnuserv:
10529 @r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10531 $(SET_LIB_PATH) \
10532 $(HOST_EXPORTS) \
10533 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10535 @endif gnuserv
10537 .PHONY: install-gnuserv maybe-install-gnuserv
10538 maybe-install-gnuserv:
10539 @if gnuserv
10540 maybe-install-gnuserv: install-gnuserv
10542 install-gnuserv: installdirs
10543 @r=`${PWD_COMMAND}`; export r; \
10544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10545 $(SET_LIB_PATH) \
10546 $(HOST_EXPORTS) \
10547 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10549 @endif gnuserv
10551 # Other targets (info, dvi, etc.)
10553 .PHONY: maybe-info-gnuserv info-gnuserv
10554 maybe-info-gnuserv:
10555 @if gnuserv
10556 maybe-info-gnuserv: info-gnuserv
10558 info-gnuserv: \
10559 configure-gnuserv
10560 @[ -f ./gnuserv/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(SET_LIB_PATH) \
10564 $(HOST_EXPORTS) \
10565 for flag in $(EXTRA_HOST_FLAGS) ; do \
10566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10567 done; \
10568 echo "Doing info in gnuserv" ; \
10569 (cd gnuserv && \
10570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572 "RANLIB=$${RANLIB}" \
10573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10574 info) \
10575 || exit 1
10577 @endif gnuserv
10579 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10580 maybe-dvi-gnuserv:
10581 @if gnuserv
10582 maybe-dvi-gnuserv: dvi-gnuserv
10584 dvi-gnuserv: \
10585 configure-gnuserv
10586 @[ -f ./gnuserv/Makefile ] || exit 0; \
10587 r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10589 $(SET_LIB_PATH) \
10590 $(HOST_EXPORTS) \
10591 for flag in $(EXTRA_HOST_FLAGS) ; do \
10592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10593 done; \
10594 echo "Doing dvi in gnuserv" ; \
10595 (cd gnuserv && \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10598 "RANLIB=$${RANLIB}" \
10599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10600 dvi) \
10601 || exit 1
10603 @endif gnuserv
10605 .PHONY: maybe-html-gnuserv html-gnuserv
10606 maybe-html-gnuserv:
10607 @if gnuserv
10608 maybe-html-gnuserv: html-gnuserv
10610 html-gnuserv: \
10611 configure-gnuserv
10612 @[ -f ./gnuserv/Makefile ] || exit 0; \
10613 r=`${PWD_COMMAND}`; export r; \
10614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10615 $(SET_LIB_PATH) \
10616 $(HOST_EXPORTS) \
10617 for flag in $(EXTRA_HOST_FLAGS) ; do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619 done; \
10620 echo "Doing html in gnuserv" ; \
10621 (cd gnuserv && \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10626 html) \
10627 || exit 1
10629 @endif gnuserv
10631 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10632 maybe-TAGS-gnuserv:
10633 @if gnuserv
10634 maybe-TAGS-gnuserv: TAGS-gnuserv
10636 TAGS-gnuserv: \
10637 configure-gnuserv
10638 @[ -f ./gnuserv/Makefile ] || exit 0; \
10639 r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(SET_LIB_PATH) \
10642 $(HOST_EXPORTS) \
10643 for flag in $(EXTRA_HOST_FLAGS) ; do \
10644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10645 done; \
10646 echo "Doing TAGS in gnuserv" ; \
10647 (cd gnuserv && \
10648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10650 "RANLIB=$${RANLIB}" \
10651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10652 TAGS) \
10653 || exit 1
10655 @endif gnuserv
10657 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10658 maybe-install-info-gnuserv:
10659 @if gnuserv
10660 maybe-install-info-gnuserv: install-info-gnuserv
10662 install-info-gnuserv: \
10663 configure-gnuserv \
10664 info-gnuserv
10665 @[ -f ./gnuserv/Makefile ] || exit 0; \
10666 r=`${PWD_COMMAND}`; export r; \
10667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10668 $(SET_LIB_PATH) \
10669 $(HOST_EXPORTS) \
10670 for flag in $(EXTRA_HOST_FLAGS) ; do \
10671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10672 done; \
10673 echo "Doing install-info in gnuserv" ; \
10674 (cd gnuserv && \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10677 "RANLIB=$${RANLIB}" \
10678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10679 install-info) \
10680 || exit 1
10682 @endif gnuserv
10684 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10685 maybe-installcheck-gnuserv:
10686 @if gnuserv
10687 maybe-installcheck-gnuserv: installcheck-gnuserv
10689 installcheck-gnuserv: \
10690 configure-gnuserv
10691 @[ -f ./gnuserv/Makefile ] || exit 0; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10694 $(SET_LIB_PATH) \
10695 $(HOST_EXPORTS) \
10696 for flag in $(EXTRA_HOST_FLAGS) ; do \
10697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10698 done; \
10699 echo "Doing installcheck in gnuserv" ; \
10700 (cd gnuserv && \
10701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10703 "RANLIB=$${RANLIB}" \
10704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10705 installcheck) \
10706 || exit 1
10708 @endif gnuserv
10710 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10711 maybe-mostlyclean-gnuserv:
10712 @if gnuserv
10713 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10715 mostlyclean-gnuserv:
10716 @[ -f ./gnuserv/Makefile ] || exit 0; \
10717 r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10719 $(SET_LIB_PATH) \
10720 $(HOST_EXPORTS) \
10721 for flag in $(EXTRA_HOST_FLAGS) ; do \
10722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10723 done; \
10724 echo "Doing mostlyclean in gnuserv" ; \
10725 (cd gnuserv && \
10726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10728 "RANLIB=$${RANLIB}" \
10729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10730 mostlyclean) \
10731 || exit 1
10733 @endif gnuserv
10735 .PHONY: maybe-clean-gnuserv clean-gnuserv
10736 maybe-clean-gnuserv:
10737 @if gnuserv
10738 maybe-clean-gnuserv: clean-gnuserv
10740 clean-gnuserv:
10741 @[ -f ./gnuserv/Makefile ] || exit 0; \
10742 r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10744 $(SET_LIB_PATH) \
10745 $(HOST_EXPORTS) \
10746 for flag in $(EXTRA_HOST_FLAGS) ; do \
10747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10748 done; \
10749 echo "Doing clean in gnuserv" ; \
10750 (cd gnuserv && \
10751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10753 "RANLIB=$${RANLIB}" \
10754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10755 clean) \
10756 || exit 1
10758 @endif gnuserv
10760 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10761 maybe-distclean-gnuserv:
10762 @if gnuserv
10763 maybe-distclean-gnuserv: distclean-gnuserv
10765 distclean-gnuserv:
10766 @[ -f ./gnuserv/Makefile ] || exit 0; \
10767 r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(SET_LIB_PATH) \
10770 $(HOST_EXPORTS) \
10771 for flag in $(EXTRA_HOST_FLAGS) ; do \
10772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10773 done; \
10774 echo "Doing distclean in gnuserv" ; \
10775 (cd gnuserv && \
10776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10778 "RANLIB=$${RANLIB}" \
10779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10780 distclean) \
10781 || exit 1
10783 @endif gnuserv
10785 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10786 maybe-maintainer-clean-gnuserv:
10787 @if gnuserv
10788 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10790 maintainer-clean-gnuserv:
10791 @[ -f ./gnuserv/Makefile ] || exit 0; \
10792 r=`${PWD_COMMAND}`; export r; \
10793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10794 $(SET_LIB_PATH) \
10795 $(HOST_EXPORTS) \
10796 for flag in $(EXTRA_HOST_FLAGS) ; do \
10797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10798 done; \
10799 echo "Doing maintainer-clean in gnuserv" ; \
10800 (cd gnuserv && \
10801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10803 "RANLIB=$${RANLIB}" \
10804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10805 maintainer-clean) \
10806 || exit 1
10808 @endif gnuserv
10811 .PHONY: configure-gprof maybe-configure-gprof
10812 maybe-configure-gprof:
10813 @if gprof
10814 maybe-configure-gprof: configure-gprof
10815 configure-gprof:
10816 @test ! -f gprof/Makefile || exit 0; \
10817 [ -d gprof ] || mkdir gprof; \
10818 r=`${PWD_COMMAND}`; export r; \
10819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10820 $(HOST_EXPORTS) \
10821 echo Configuring in gprof; \
10822 cd gprof || exit 1; \
10823 case $(srcdir) in \
10824 \.) \
10825 srcdiroption="--srcdir=."; \
10826 libsrcdir=".";; \
10827 /* | [A-Za-z]:[\\/]*) \
10828 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10829 libsrcdir="$$s/gprof";; \
10830 *) \
10831 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10832 libsrcdir="$$s/gprof";; \
10833 esac; \
10834 $(SHELL) $${libsrcdir}/configure \
10835 $(HOST_CONFIGARGS) $${srcdiroption} \
10836 || exit 1
10837 @endif gprof
10839 .PHONY: all-gprof maybe-all-gprof
10840 maybe-all-gprof:
10841 @if gprof
10842 TARGET-gprof=all
10843 maybe-all-gprof: all-gprof
10844 all-gprof: configure-gprof
10845 @r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10847 $(SET_LIB_PATH) \
10848 $(HOST_EXPORTS) \
10849 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10850 $(TARGET-gprof))
10851 @endif gprof
10853 .PHONY: check-gprof maybe-check-gprof
10854 maybe-check-gprof:
10855 @if gprof
10856 maybe-check-gprof: check-gprof
10858 check-gprof:
10859 @r=`${PWD_COMMAND}`; export r; \
10860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10861 $(SET_LIB_PATH) \
10862 $(HOST_EXPORTS) \
10863 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10865 @endif gprof
10867 .PHONY: install-gprof maybe-install-gprof
10868 maybe-install-gprof:
10869 @if gprof
10870 maybe-install-gprof: install-gprof
10872 install-gprof: installdirs
10873 @r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 $(SET_LIB_PATH) \
10876 $(HOST_EXPORTS) \
10877 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10879 @endif gprof
10881 # Other targets (info, dvi, etc.)
10883 .PHONY: maybe-info-gprof info-gprof
10884 maybe-info-gprof:
10885 @if gprof
10886 maybe-info-gprof: info-gprof
10888 info-gprof: \
10889 configure-gprof
10890 @[ -f ./gprof/Makefile ] || exit 0; \
10891 r=`${PWD_COMMAND}`; export r; \
10892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10893 $(SET_LIB_PATH) \
10894 $(HOST_EXPORTS) \
10895 for flag in $(EXTRA_HOST_FLAGS) ; do \
10896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10897 done; \
10898 echo "Doing info in gprof" ; \
10899 (cd gprof && \
10900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10902 "RANLIB=$${RANLIB}" \
10903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10904 info) \
10905 || exit 1
10907 @endif gprof
10909 .PHONY: maybe-dvi-gprof dvi-gprof
10910 maybe-dvi-gprof:
10911 @if gprof
10912 maybe-dvi-gprof: dvi-gprof
10914 dvi-gprof: \
10915 configure-gprof
10916 @[ -f ./gprof/Makefile ] || exit 0; \
10917 r=`${PWD_COMMAND}`; export r; \
10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919 $(SET_LIB_PATH) \
10920 $(HOST_EXPORTS) \
10921 for flag in $(EXTRA_HOST_FLAGS) ; do \
10922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 done; \
10924 echo "Doing dvi in gprof" ; \
10925 (cd gprof && \
10926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10928 "RANLIB=$${RANLIB}" \
10929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10930 dvi) \
10931 || exit 1
10933 @endif gprof
10935 .PHONY: maybe-html-gprof html-gprof
10936 maybe-html-gprof:
10937 @if gprof
10938 maybe-html-gprof: html-gprof
10940 html-gprof: \
10941 configure-gprof
10942 @[ -f ./gprof/Makefile ] || exit 0; \
10943 r=`${PWD_COMMAND}`; export r; \
10944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10945 $(SET_LIB_PATH) \
10946 $(HOST_EXPORTS) \
10947 for flag in $(EXTRA_HOST_FLAGS) ; do \
10948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10949 done; \
10950 echo "Doing html in gprof" ; \
10951 (cd gprof && \
10952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10954 "RANLIB=$${RANLIB}" \
10955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10956 html) \
10957 || exit 1
10959 @endif gprof
10961 .PHONY: maybe-TAGS-gprof TAGS-gprof
10962 maybe-TAGS-gprof:
10963 @if gprof
10964 maybe-TAGS-gprof: TAGS-gprof
10966 TAGS-gprof: \
10967 configure-gprof
10968 @[ -f ./gprof/Makefile ] || exit 0; \
10969 r=`${PWD_COMMAND}`; export r; \
10970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10971 $(SET_LIB_PATH) \
10972 $(HOST_EXPORTS) \
10973 for flag in $(EXTRA_HOST_FLAGS) ; do \
10974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10975 done; \
10976 echo "Doing TAGS in gprof" ; \
10977 (cd gprof && \
10978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10980 "RANLIB=$${RANLIB}" \
10981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10982 TAGS) \
10983 || exit 1
10985 @endif gprof
10987 .PHONY: maybe-install-info-gprof install-info-gprof
10988 maybe-install-info-gprof:
10989 @if gprof
10990 maybe-install-info-gprof: install-info-gprof
10992 install-info-gprof: \
10993 configure-gprof \
10994 info-gprof
10995 @[ -f ./gprof/Makefile ] || exit 0; \
10996 r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 $(SET_LIB_PATH) \
10999 $(HOST_EXPORTS) \
11000 for flag in $(EXTRA_HOST_FLAGS) ; do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 done; \
11003 echo "Doing install-info in gprof" ; \
11004 (cd gprof && \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11009 install-info) \
11010 || exit 1
11012 @endif gprof
11014 .PHONY: maybe-installcheck-gprof installcheck-gprof
11015 maybe-installcheck-gprof:
11016 @if gprof
11017 maybe-installcheck-gprof: installcheck-gprof
11019 installcheck-gprof: \
11020 configure-gprof
11021 @[ -f ./gprof/Makefile ] || exit 0; \
11022 r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11024 $(SET_LIB_PATH) \
11025 $(HOST_EXPORTS) \
11026 for flag in $(EXTRA_HOST_FLAGS) ; do \
11027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11028 done; \
11029 echo "Doing installcheck in gprof" ; \
11030 (cd gprof && \
11031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11033 "RANLIB=$${RANLIB}" \
11034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11035 installcheck) \
11036 || exit 1
11038 @endif gprof
11040 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11041 maybe-mostlyclean-gprof:
11042 @if gprof
11043 maybe-mostlyclean-gprof: mostlyclean-gprof
11045 mostlyclean-gprof:
11046 @[ -f ./gprof/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11049 $(SET_LIB_PATH) \
11050 $(HOST_EXPORTS) \
11051 for flag in $(EXTRA_HOST_FLAGS) ; do \
11052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11053 done; \
11054 echo "Doing mostlyclean in gprof" ; \
11055 (cd gprof && \
11056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11058 "RANLIB=$${RANLIB}" \
11059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11060 mostlyclean) \
11061 || exit 1
11063 @endif gprof
11065 .PHONY: maybe-clean-gprof clean-gprof
11066 maybe-clean-gprof:
11067 @if gprof
11068 maybe-clean-gprof: clean-gprof
11070 clean-gprof:
11071 @[ -f ./gprof/Makefile ] || exit 0; \
11072 r=`${PWD_COMMAND}`; export r; \
11073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11074 $(SET_LIB_PATH) \
11075 $(HOST_EXPORTS) \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 done; \
11079 echo "Doing clean in gprof" ; \
11080 (cd gprof && \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11085 clean) \
11086 || exit 1
11088 @endif gprof
11090 .PHONY: maybe-distclean-gprof distclean-gprof
11091 maybe-distclean-gprof:
11092 @if gprof
11093 maybe-distclean-gprof: distclean-gprof
11095 distclean-gprof:
11096 @[ -f ./gprof/Makefile ] || exit 0; \
11097 r=`${PWD_COMMAND}`; export r; \
11098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11099 $(SET_LIB_PATH) \
11100 $(HOST_EXPORTS) \
11101 for flag in $(EXTRA_HOST_FLAGS) ; do \
11102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11103 done; \
11104 echo "Doing distclean in gprof" ; \
11105 (cd gprof && \
11106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11108 "RANLIB=$${RANLIB}" \
11109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11110 distclean) \
11111 || exit 1
11113 @endif gprof
11115 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11116 maybe-maintainer-clean-gprof:
11117 @if gprof
11118 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11120 maintainer-clean-gprof:
11121 @[ -f ./gprof/Makefile ] || exit 0; \
11122 r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 $(SET_LIB_PATH) \
11125 $(HOST_EXPORTS) \
11126 for flag in $(EXTRA_HOST_FLAGS) ; do \
11127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11128 done; \
11129 echo "Doing maintainer-clean in gprof" ; \
11130 (cd gprof && \
11131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11133 "RANLIB=$${RANLIB}" \
11134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11135 maintainer-clean) \
11136 || exit 1
11138 @endif gprof
11141 .PHONY: configure-gzip maybe-configure-gzip
11142 maybe-configure-gzip:
11143 @if gzip
11144 maybe-configure-gzip: configure-gzip
11145 configure-gzip:
11146 @test ! -f gzip/Makefile || exit 0; \
11147 [ -d gzip ] || mkdir gzip; \
11148 r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11150 $(HOST_EXPORTS) \
11151 echo Configuring in gzip; \
11152 cd gzip || exit 1; \
11153 case $(srcdir) in \
11154 \.) \
11155 srcdiroption="--srcdir=."; \
11156 libsrcdir=".";; \
11157 /* | [A-Za-z]:[\\/]*) \
11158 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11159 libsrcdir="$$s/gzip";; \
11160 *) \
11161 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11162 libsrcdir="$$s/gzip";; \
11163 esac; \
11164 $(SHELL) $${libsrcdir}/configure \
11165 $(HOST_CONFIGARGS) $${srcdiroption} \
11166 || exit 1
11167 @endif gzip
11169 .PHONY: all-gzip maybe-all-gzip
11170 maybe-all-gzip:
11171 @if gzip
11172 TARGET-gzip=all
11173 maybe-all-gzip: all-gzip
11174 all-gzip: configure-gzip
11175 @r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(SET_LIB_PATH) \
11178 $(HOST_EXPORTS) \
11179 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11180 $(TARGET-gzip))
11181 @endif gzip
11183 .PHONY: check-gzip maybe-check-gzip
11184 maybe-check-gzip:
11185 @if gzip
11186 maybe-check-gzip: check-gzip
11188 check-gzip:
11189 @r=`${PWD_COMMAND}`; export r; \
11190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11191 $(SET_LIB_PATH) \
11192 $(HOST_EXPORTS) \
11193 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11195 @endif gzip
11197 .PHONY: install-gzip maybe-install-gzip
11198 maybe-install-gzip:
11199 @if gzip
11200 maybe-install-gzip: install-gzip
11202 install-gzip: installdirs
11203 @r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11205 $(SET_LIB_PATH) \
11206 $(HOST_EXPORTS) \
11207 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11209 @endif gzip
11211 # Other targets (info, dvi, etc.)
11213 .PHONY: maybe-info-gzip info-gzip
11214 maybe-info-gzip:
11215 @if gzip
11216 maybe-info-gzip: info-gzip
11218 info-gzip: \
11219 configure-gzip
11220 @[ -f ./gzip/Makefile ] || exit 0; \
11221 r=`${PWD_COMMAND}`; export r; \
11222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11223 $(SET_LIB_PATH) \
11224 $(HOST_EXPORTS) \
11225 for flag in $(EXTRA_HOST_FLAGS) ; do \
11226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11227 done; \
11228 echo "Doing info in gzip" ; \
11229 (cd gzip && \
11230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232 "RANLIB=$${RANLIB}" \
11233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11234 info) \
11235 || exit 1
11237 @endif gzip
11239 .PHONY: maybe-dvi-gzip dvi-gzip
11240 maybe-dvi-gzip:
11241 @if gzip
11242 maybe-dvi-gzip: dvi-gzip
11244 dvi-gzip: \
11245 configure-gzip
11246 @[ -f ./gzip/Makefile ] || exit 0; \
11247 r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 $(SET_LIB_PATH) \
11250 $(HOST_EXPORTS) \
11251 for flag in $(EXTRA_HOST_FLAGS) ; do \
11252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11253 done; \
11254 echo "Doing dvi in gzip" ; \
11255 (cd gzip && \
11256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11258 "RANLIB=$${RANLIB}" \
11259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11260 dvi) \
11261 || exit 1
11263 @endif gzip
11265 .PHONY: maybe-html-gzip html-gzip
11266 maybe-html-gzip:
11267 @if gzip
11268 maybe-html-gzip: html-gzip
11270 html-gzip: \
11271 configure-gzip
11272 @[ -f ./gzip/Makefile ] || exit 0; \
11273 r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11275 $(SET_LIB_PATH) \
11276 $(HOST_EXPORTS) \
11277 for flag in $(EXTRA_HOST_FLAGS) ; do \
11278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11279 done; \
11280 echo "Doing html in gzip" ; \
11281 (cd gzip && \
11282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11284 "RANLIB=$${RANLIB}" \
11285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11286 html) \
11287 || exit 1
11289 @endif gzip
11291 .PHONY: maybe-TAGS-gzip TAGS-gzip
11292 maybe-TAGS-gzip:
11293 @if gzip
11294 maybe-TAGS-gzip: TAGS-gzip
11296 TAGS-gzip: \
11297 configure-gzip
11298 @[ -f ./gzip/Makefile ] || exit 0; \
11299 r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11301 $(SET_LIB_PATH) \
11302 $(HOST_EXPORTS) \
11303 for flag in $(EXTRA_HOST_FLAGS) ; do \
11304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11305 done; \
11306 echo "Doing TAGS in gzip" ; \
11307 (cd gzip && \
11308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11310 "RANLIB=$${RANLIB}" \
11311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11312 TAGS) \
11313 || exit 1
11315 @endif gzip
11317 .PHONY: maybe-install-info-gzip install-info-gzip
11318 maybe-install-info-gzip:
11319 @if gzip
11320 maybe-install-info-gzip: install-info-gzip
11322 install-info-gzip: \
11323 configure-gzip \
11324 info-gzip
11325 @[ -f ./gzip/Makefile ] || exit 0; \
11326 r=`${PWD_COMMAND}`; export r; \
11327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11328 $(SET_LIB_PATH) \
11329 $(HOST_EXPORTS) \
11330 for flag in $(EXTRA_HOST_FLAGS) ; do \
11331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11332 done; \
11333 echo "Doing install-info in gzip" ; \
11334 (cd gzip && \
11335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11337 "RANLIB=$${RANLIB}" \
11338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11339 install-info) \
11340 || exit 1
11342 @endif gzip
11344 .PHONY: maybe-installcheck-gzip installcheck-gzip
11345 maybe-installcheck-gzip:
11346 @if gzip
11347 maybe-installcheck-gzip: installcheck-gzip
11349 installcheck-gzip: \
11350 configure-gzip
11351 @[ -f ./gzip/Makefile ] || exit 0; \
11352 r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11354 $(SET_LIB_PATH) \
11355 $(HOST_EXPORTS) \
11356 for flag in $(EXTRA_HOST_FLAGS) ; do \
11357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 done; \
11359 echo "Doing installcheck in gzip" ; \
11360 (cd gzip && \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11363 "RANLIB=$${RANLIB}" \
11364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11365 installcheck) \
11366 || exit 1
11368 @endif gzip
11370 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11371 maybe-mostlyclean-gzip:
11372 @if gzip
11373 maybe-mostlyclean-gzip: mostlyclean-gzip
11375 mostlyclean-gzip:
11376 @[ -f ./gzip/Makefile ] || exit 0; \
11377 r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11379 $(SET_LIB_PATH) \
11380 $(HOST_EXPORTS) \
11381 for flag in $(EXTRA_HOST_FLAGS) ; do \
11382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11383 done; \
11384 echo "Doing mostlyclean in gzip" ; \
11385 (cd gzip && \
11386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11388 "RANLIB=$${RANLIB}" \
11389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11390 mostlyclean) \
11391 || exit 1
11393 @endif gzip
11395 .PHONY: maybe-clean-gzip clean-gzip
11396 maybe-clean-gzip:
11397 @if gzip
11398 maybe-clean-gzip: clean-gzip
11400 clean-gzip:
11401 @[ -f ./gzip/Makefile ] || exit 0; \
11402 r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 $(SET_LIB_PATH) \
11405 $(HOST_EXPORTS) \
11406 for flag in $(EXTRA_HOST_FLAGS) ; do \
11407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11408 done; \
11409 echo "Doing clean in gzip" ; \
11410 (cd gzip && \
11411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11413 "RANLIB=$${RANLIB}" \
11414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11415 clean) \
11416 || exit 1
11418 @endif gzip
11420 .PHONY: maybe-distclean-gzip distclean-gzip
11421 maybe-distclean-gzip:
11422 @if gzip
11423 maybe-distclean-gzip: distclean-gzip
11425 distclean-gzip:
11426 @[ -f ./gzip/Makefile ] || exit 0; \
11427 r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429 $(SET_LIB_PATH) \
11430 $(HOST_EXPORTS) \
11431 for flag in $(EXTRA_HOST_FLAGS) ; do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 done; \
11434 echo "Doing distclean in gzip" ; \
11435 (cd gzip && \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11440 distclean) \
11441 || exit 1
11443 @endif gzip
11445 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11446 maybe-maintainer-clean-gzip:
11447 @if gzip
11448 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11450 maintainer-clean-gzip:
11451 @[ -f ./gzip/Makefile ] || exit 0; \
11452 r=`${PWD_COMMAND}`; export r; \
11453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11454 $(SET_LIB_PATH) \
11455 $(HOST_EXPORTS) \
11456 for flag in $(EXTRA_HOST_FLAGS) ; do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 done; \
11459 echo "Doing maintainer-clean in gzip" ; \
11460 (cd gzip && \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 maintainer-clean) \
11466 || exit 1
11468 @endif gzip
11471 .PHONY: configure-hello maybe-configure-hello
11472 maybe-configure-hello:
11473 @if hello
11474 maybe-configure-hello: configure-hello
11475 configure-hello:
11476 @test ! -f hello/Makefile || exit 0; \
11477 [ -d hello ] || mkdir hello; \
11478 r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 $(HOST_EXPORTS) \
11481 echo Configuring in hello; \
11482 cd hello || exit 1; \
11483 case $(srcdir) in \
11484 \.) \
11485 srcdiroption="--srcdir=."; \
11486 libsrcdir=".";; \
11487 /* | [A-Za-z]:[\\/]*) \
11488 srcdiroption="--srcdir=$(srcdir)/hello"; \
11489 libsrcdir="$$s/hello";; \
11490 *) \
11491 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11492 libsrcdir="$$s/hello";; \
11493 esac; \
11494 $(SHELL) $${libsrcdir}/configure \
11495 $(HOST_CONFIGARGS) $${srcdiroption} \
11496 || exit 1
11497 @endif hello
11499 .PHONY: all-hello maybe-all-hello
11500 maybe-all-hello:
11501 @if hello
11502 TARGET-hello=all
11503 maybe-all-hello: all-hello
11504 all-hello: configure-hello
11505 @r=`${PWD_COMMAND}`; export r; \
11506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11507 $(SET_LIB_PATH) \
11508 $(HOST_EXPORTS) \
11509 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11510 $(TARGET-hello))
11511 @endif hello
11513 .PHONY: check-hello maybe-check-hello
11514 maybe-check-hello:
11515 @if hello
11516 maybe-check-hello: check-hello
11518 check-hello:
11519 @r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11521 $(SET_LIB_PATH) \
11522 $(HOST_EXPORTS) \
11523 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11525 @endif hello
11527 .PHONY: install-hello maybe-install-hello
11528 maybe-install-hello:
11529 @if hello
11530 maybe-install-hello: install-hello
11532 install-hello: installdirs
11533 @r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 $(SET_LIB_PATH) \
11536 $(HOST_EXPORTS) \
11537 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11539 @endif hello
11541 # Other targets (info, dvi, etc.)
11543 .PHONY: maybe-info-hello info-hello
11544 maybe-info-hello:
11545 @if hello
11546 maybe-info-hello: info-hello
11548 info-hello: \
11549 configure-hello
11550 @[ -f ./hello/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(SET_LIB_PATH) \
11554 $(HOST_EXPORTS) \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 done; \
11558 echo "Doing info in hello" ; \
11559 (cd hello && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11564 info) \
11565 || exit 1
11567 @endif hello
11569 .PHONY: maybe-dvi-hello dvi-hello
11570 maybe-dvi-hello:
11571 @if hello
11572 maybe-dvi-hello: dvi-hello
11574 dvi-hello: \
11575 configure-hello
11576 @[ -f ./hello/Makefile ] || exit 0; \
11577 r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11579 $(SET_LIB_PATH) \
11580 $(HOST_EXPORTS) \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 done; \
11584 echo "Doing dvi in hello" ; \
11585 (cd hello && \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11590 dvi) \
11591 || exit 1
11593 @endif hello
11595 .PHONY: maybe-html-hello html-hello
11596 maybe-html-hello:
11597 @if hello
11598 maybe-html-hello: html-hello
11600 html-hello: \
11601 configure-hello
11602 @[ -f ./hello/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 html in hello" ; \
11611 (cd hello && \
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 html) \
11617 || exit 1
11619 @endif hello
11621 .PHONY: maybe-TAGS-hello TAGS-hello
11622 maybe-TAGS-hello:
11623 @if hello
11624 maybe-TAGS-hello: TAGS-hello
11626 TAGS-hello: \
11627 configure-hello
11628 @[ -f ./hello/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 TAGS in hello" ; \
11637 (cd hello && \
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 TAGS) \
11643 || exit 1
11645 @endif hello
11647 .PHONY: maybe-install-info-hello install-info-hello
11648 maybe-install-info-hello:
11649 @if hello
11650 maybe-install-info-hello: install-info-hello
11652 install-info-hello: \
11653 configure-hello \
11654 info-hello
11655 @[ -f ./hello/Makefile ] || exit 0; \
11656 r=`${PWD_COMMAND}`; export r; \
11657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11658 $(SET_LIB_PATH) \
11659 $(HOST_EXPORTS) \
11660 for flag in $(EXTRA_HOST_FLAGS) ; do \
11661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11662 done; \
11663 echo "Doing install-info in hello" ; \
11664 (cd hello && \
11665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11667 "RANLIB=$${RANLIB}" \
11668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11669 install-info) \
11670 || exit 1
11672 @endif hello
11674 .PHONY: maybe-installcheck-hello installcheck-hello
11675 maybe-installcheck-hello:
11676 @if hello
11677 maybe-installcheck-hello: installcheck-hello
11679 installcheck-hello: \
11680 configure-hello
11681 @[ -f ./hello/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 installcheck in hello" ; \
11690 (cd hello && \
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 installcheck) \
11696 || exit 1
11698 @endif hello
11700 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11701 maybe-mostlyclean-hello:
11702 @if hello
11703 maybe-mostlyclean-hello: mostlyclean-hello
11705 mostlyclean-hello:
11706 @[ -f ./hello/Makefile ] || exit 0; \
11707 r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 $(SET_LIB_PATH) \
11710 $(HOST_EXPORTS) \
11711 for flag in $(EXTRA_HOST_FLAGS) ; do \
11712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11713 done; \
11714 echo "Doing mostlyclean in hello" ; \
11715 (cd hello && \
11716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11718 "RANLIB=$${RANLIB}" \
11719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11720 mostlyclean) \
11721 || exit 1
11723 @endif hello
11725 .PHONY: maybe-clean-hello clean-hello
11726 maybe-clean-hello:
11727 @if hello
11728 maybe-clean-hello: clean-hello
11730 clean-hello:
11731 @[ -f ./hello/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734 $(SET_LIB_PATH) \
11735 $(HOST_EXPORTS) \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 done; \
11739 echo "Doing clean in hello" ; \
11740 (cd hello && \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11745 clean) \
11746 || exit 1
11748 @endif hello
11750 .PHONY: maybe-distclean-hello distclean-hello
11751 maybe-distclean-hello:
11752 @if hello
11753 maybe-distclean-hello: distclean-hello
11755 distclean-hello:
11756 @[ -f ./hello/Makefile ] || exit 0; \
11757 r=`${PWD_COMMAND}`; export r; \
11758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11759 $(SET_LIB_PATH) \
11760 $(HOST_EXPORTS) \
11761 for flag in $(EXTRA_HOST_FLAGS) ; do \
11762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11763 done; \
11764 echo "Doing distclean in hello" ; \
11765 (cd hello && \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11768 "RANLIB=$${RANLIB}" \
11769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11770 distclean) \
11771 || exit 1
11773 @endif hello
11775 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11776 maybe-maintainer-clean-hello:
11777 @if hello
11778 maybe-maintainer-clean-hello: maintainer-clean-hello
11780 maintainer-clean-hello:
11781 @[ -f ./hello/Makefile ] || exit 0; \
11782 r=`${PWD_COMMAND}`; export r; \
11783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11784 $(SET_LIB_PATH) \
11785 $(HOST_EXPORTS) \
11786 for flag in $(EXTRA_HOST_FLAGS) ; do \
11787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11788 done; \
11789 echo "Doing maintainer-clean in hello" ; \
11790 (cd hello && \
11791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11793 "RANLIB=$${RANLIB}" \
11794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11795 maintainer-clean) \
11796 || exit 1
11798 @endif hello
11801 .PHONY: configure-indent maybe-configure-indent
11802 maybe-configure-indent:
11803 @if indent
11804 maybe-configure-indent: configure-indent
11805 configure-indent:
11806 @test ! -f indent/Makefile || exit 0; \
11807 [ -d indent ] || mkdir indent; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 $(HOST_EXPORTS) \
11811 echo Configuring in indent; \
11812 cd indent || exit 1; \
11813 case $(srcdir) in \
11814 \.) \
11815 srcdiroption="--srcdir=."; \
11816 libsrcdir=".";; \
11817 /* | [A-Za-z]:[\\/]*) \
11818 srcdiroption="--srcdir=$(srcdir)/indent"; \
11819 libsrcdir="$$s/indent";; \
11820 *) \
11821 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11822 libsrcdir="$$s/indent";; \
11823 esac; \
11824 $(SHELL) $${libsrcdir}/configure \
11825 $(HOST_CONFIGARGS) $${srcdiroption} \
11826 || exit 1
11827 @endif indent
11829 .PHONY: all-indent maybe-all-indent
11830 maybe-all-indent:
11831 @if indent
11832 TARGET-indent=all
11833 maybe-all-indent: all-indent
11834 all-indent: configure-indent
11835 @r=`${PWD_COMMAND}`; export r; \
11836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11837 $(SET_LIB_PATH) \
11838 $(HOST_EXPORTS) \
11839 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11840 $(TARGET-indent))
11841 @endif indent
11843 .PHONY: check-indent maybe-check-indent
11844 maybe-check-indent:
11845 @if indent
11846 maybe-check-indent: check-indent
11848 check-indent:
11849 @r=`${PWD_COMMAND}`; export r; \
11850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11851 $(SET_LIB_PATH) \
11852 $(HOST_EXPORTS) \
11853 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11855 @endif indent
11857 .PHONY: install-indent maybe-install-indent
11858 maybe-install-indent:
11859 @if indent
11860 maybe-install-indent: install-indent
11862 install-indent: installdirs
11863 @r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11865 $(SET_LIB_PATH) \
11866 $(HOST_EXPORTS) \
11867 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11869 @endif indent
11871 # Other targets (info, dvi, etc.)
11873 .PHONY: maybe-info-indent info-indent
11874 maybe-info-indent:
11875 @if indent
11876 maybe-info-indent: info-indent
11878 info-indent: \
11879 configure-indent
11880 @[ -f ./indent/Makefile ] || exit 0; \
11881 r=`${PWD_COMMAND}`; export r; \
11882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11883 $(SET_LIB_PATH) \
11884 $(HOST_EXPORTS) \
11885 for flag in $(EXTRA_HOST_FLAGS) ; do \
11886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11887 done; \
11888 echo "Doing info in indent" ; \
11889 (cd indent && \
11890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11892 "RANLIB=$${RANLIB}" \
11893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11894 info) \
11895 || exit 1
11897 @endif indent
11899 .PHONY: maybe-dvi-indent dvi-indent
11900 maybe-dvi-indent:
11901 @if indent
11902 maybe-dvi-indent: dvi-indent
11904 dvi-indent: \
11905 configure-indent
11906 @[ -f ./indent/Makefile ] || exit 0; \
11907 r=`${PWD_COMMAND}`; export r; \
11908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11909 $(SET_LIB_PATH) \
11910 $(HOST_EXPORTS) \
11911 for flag in $(EXTRA_HOST_FLAGS) ; do \
11912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11913 done; \
11914 echo "Doing dvi in indent" ; \
11915 (cd indent && \
11916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11918 "RANLIB=$${RANLIB}" \
11919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11920 dvi) \
11921 || exit 1
11923 @endif indent
11925 .PHONY: maybe-html-indent html-indent
11926 maybe-html-indent:
11927 @if indent
11928 maybe-html-indent: html-indent
11930 html-indent: \
11931 configure-indent
11932 @[ -f ./indent/Makefile ] || exit 0; \
11933 r=`${PWD_COMMAND}`; export r; \
11934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11935 $(SET_LIB_PATH) \
11936 $(HOST_EXPORTS) \
11937 for flag in $(EXTRA_HOST_FLAGS) ; do \
11938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11939 done; \
11940 echo "Doing html in indent" ; \
11941 (cd indent && \
11942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11944 "RANLIB=$${RANLIB}" \
11945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11946 html) \
11947 || exit 1
11949 @endif indent
11951 .PHONY: maybe-TAGS-indent TAGS-indent
11952 maybe-TAGS-indent:
11953 @if indent
11954 maybe-TAGS-indent: TAGS-indent
11956 TAGS-indent: \
11957 configure-indent
11958 @[ -f ./indent/Makefile ] || exit 0; \
11959 r=`${PWD_COMMAND}`; export r; \
11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11961 $(SET_LIB_PATH) \
11962 $(HOST_EXPORTS) \
11963 for flag in $(EXTRA_HOST_FLAGS) ; do \
11964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11965 done; \
11966 echo "Doing TAGS in indent" ; \
11967 (cd indent && \
11968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11970 "RANLIB=$${RANLIB}" \
11971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11972 TAGS) \
11973 || exit 1
11975 @endif indent
11977 .PHONY: maybe-install-info-indent install-info-indent
11978 maybe-install-info-indent:
11979 @if indent
11980 maybe-install-info-indent: install-info-indent
11982 install-info-indent: \
11983 configure-indent \
11984 info-indent
11985 @[ -f ./indent/Makefile ] || exit 0; \
11986 r=`${PWD_COMMAND}`; export r; \
11987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11988 $(SET_LIB_PATH) \
11989 $(HOST_EXPORTS) \
11990 for flag in $(EXTRA_HOST_FLAGS) ; do \
11991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11992 done; \
11993 echo "Doing install-info in indent" ; \
11994 (cd indent && \
11995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11997 "RANLIB=$${RANLIB}" \
11998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11999 install-info) \
12000 || exit 1
12002 @endif indent
12004 .PHONY: maybe-installcheck-indent installcheck-indent
12005 maybe-installcheck-indent:
12006 @if indent
12007 maybe-installcheck-indent: installcheck-indent
12009 installcheck-indent: \
12010 configure-indent
12011 @[ -f ./indent/Makefile ] || exit 0; \
12012 r=`${PWD_COMMAND}`; export r; \
12013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12014 $(SET_LIB_PATH) \
12015 $(HOST_EXPORTS) \
12016 for flag in $(EXTRA_HOST_FLAGS) ; do \
12017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12018 done; \
12019 echo "Doing installcheck in indent" ; \
12020 (cd indent && \
12021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12023 "RANLIB=$${RANLIB}" \
12024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12025 installcheck) \
12026 || exit 1
12028 @endif indent
12030 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12031 maybe-mostlyclean-indent:
12032 @if indent
12033 maybe-mostlyclean-indent: mostlyclean-indent
12035 mostlyclean-indent:
12036 @[ -f ./indent/Makefile ] || exit 0; \
12037 r=`${PWD_COMMAND}`; export r; \
12038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12039 $(SET_LIB_PATH) \
12040 $(HOST_EXPORTS) \
12041 for flag in $(EXTRA_HOST_FLAGS) ; do \
12042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12043 done; \
12044 echo "Doing mostlyclean in indent" ; \
12045 (cd indent && \
12046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12048 "RANLIB=$${RANLIB}" \
12049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12050 mostlyclean) \
12051 || exit 1
12053 @endif indent
12055 .PHONY: maybe-clean-indent clean-indent
12056 maybe-clean-indent:
12057 @if indent
12058 maybe-clean-indent: clean-indent
12060 clean-indent:
12061 @[ -f ./indent/Makefile ] || exit 0; \
12062 r=`${PWD_COMMAND}`; export r; \
12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12064 $(SET_LIB_PATH) \
12065 $(HOST_EXPORTS) \
12066 for flag in $(EXTRA_HOST_FLAGS) ; do \
12067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12068 done; \
12069 echo "Doing clean in indent" ; \
12070 (cd indent && \
12071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12073 "RANLIB=$${RANLIB}" \
12074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12075 clean) \
12076 || exit 1
12078 @endif indent
12080 .PHONY: maybe-distclean-indent distclean-indent
12081 maybe-distclean-indent:
12082 @if indent
12083 maybe-distclean-indent: distclean-indent
12085 distclean-indent:
12086 @[ -f ./indent/Makefile ] || exit 0; \
12087 r=`${PWD_COMMAND}`; export r; \
12088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12089 $(SET_LIB_PATH) \
12090 $(HOST_EXPORTS) \
12091 for flag in $(EXTRA_HOST_FLAGS) ; do \
12092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12093 done; \
12094 echo "Doing distclean in indent" ; \
12095 (cd indent && \
12096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12098 "RANLIB=$${RANLIB}" \
12099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12100 distclean) \
12101 || exit 1
12103 @endif indent
12105 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12106 maybe-maintainer-clean-indent:
12107 @if indent
12108 maybe-maintainer-clean-indent: maintainer-clean-indent
12110 maintainer-clean-indent:
12111 @[ -f ./indent/Makefile ] || exit 0; \
12112 r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114 $(SET_LIB_PATH) \
12115 $(HOST_EXPORTS) \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 done; \
12119 echo "Doing maintainer-clean in indent" ; \
12120 (cd indent && \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125 maintainer-clean) \
12126 || exit 1
12128 @endif indent
12131 .PHONY: configure-intl maybe-configure-intl
12132 maybe-configure-intl:
12133 @if intl
12134 maybe-configure-intl: configure-intl
12135 configure-intl:
12136 @test -f stage_last && exit 0; \
12137 test ! -f intl/Makefile || exit 0; \
12138 [ -d intl ] || mkdir intl; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 $(HOST_EXPORTS) \
12142 echo Configuring in intl; \
12143 cd intl || exit 1; \
12144 case $(srcdir) in \
12145 \.) \
12146 srcdiroption="--srcdir=."; \
12147 libsrcdir=".";; \
12148 /* | [A-Za-z]:[\\/]*) \
12149 srcdiroption="--srcdir=$(srcdir)/intl"; \
12150 libsrcdir="$$s/intl";; \
12151 *) \
12152 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12153 libsrcdir="$$s/intl";; \
12154 esac; \
12155 $(SHELL) $${libsrcdir}/configure \
12156 $(HOST_CONFIGARGS) $${srcdiroption} \
12157 || exit 1
12158 @endif intl
12160 .PHONY: all-intl maybe-all-intl
12161 maybe-all-intl:
12162 @if intl
12163 TARGET-intl=all
12164 maybe-all-intl: all-intl
12165 all-intl: configure-intl
12166 @test -f stage_last && exit 0; \
12167 r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12169 $(SET_LIB_PATH) \
12170 $(HOST_EXPORTS) \
12171 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12172 $(TARGET-intl))
12173 @endif intl
12175 .PHONY: check-intl maybe-check-intl
12176 maybe-check-intl:
12177 @if intl
12178 maybe-check-intl: check-intl
12180 check-intl:
12181 @r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 $(SET_LIB_PATH) \
12184 $(HOST_EXPORTS) \
12185 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12187 @endif intl
12189 .PHONY: install-intl maybe-install-intl
12190 maybe-install-intl:
12191 @if intl
12192 maybe-install-intl: install-intl
12194 install-intl: installdirs
12195 @r=`${PWD_COMMAND}`; export r; \
12196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197 $(SET_LIB_PATH) \
12198 $(HOST_EXPORTS) \
12199 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12201 @endif intl
12203 # Other targets (info, dvi, etc.)
12205 .PHONY: maybe-info-intl info-intl
12206 maybe-info-intl:
12207 @if intl
12208 maybe-info-intl: info-intl
12210 info-intl: \
12211 configure-intl
12212 @[ -f ./intl/Makefile ] || exit 0; \
12213 r=`${PWD_COMMAND}`; export r; \
12214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12215 $(SET_LIB_PATH) \
12216 $(HOST_EXPORTS) \
12217 for flag in $(EXTRA_HOST_FLAGS) ; do \
12218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12219 done; \
12220 echo "Doing info in intl" ; \
12221 (cd intl && \
12222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12224 "RANLIB=$${RANLIB}" \
12225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12226 info) \
12227 || exit 1
12229 @endif intl
12231 .PHONY: maybe-dvi-intl dvi-intl
12232 maybe-dvi-intl:
12233 @if intl
12234 maybe-dvi-intl: dvi-intl
12236 dvi-intl: \
12237 configure-intl
12238 @[ -f ./intl/Makefile ] || exit 0; \
12239 r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241 $(SET_LIB_PATH) \
12242 $(HOST_EXPORTS) \
12243 for flag in $(EXTRA_HOST_FLAGS) ; do \
12244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12245 done; \
12246 echo "Doing dvi in intl" ; \
12247 (cd intl && \
12248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12250 "RANLIB=$${RANLIB}" \
12251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12252 dvi) \
12253 || exit 1
12255 @endif intl
12257 .PHONY: maybe-html-intl html-intl
12258 maybe-html-intl:
12259 @if intl
12260 maybe-html-intl: html-intl
12262 html-intl: \
12263 configure-intl
12264 @[ -f ./intl/Makefile ] || exit 0; \
12265 r=`${PWD_COMMAND}`; export r; \
12266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 $(SET_LIB_PATH) \
12268 $(HOST_EXPORTS) \
12269 for flag in $(EXTRA_HOST_FLAGS) ; do \
12270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12271 done; \
12272 echo "Doing html in intl" ; \
12273 (cd intl && \
12274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12276 "RANLIB=$${RANLIB}" \
12277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12278 html) \
12279 || exit 1
12281 @endif intl
12283 .PHONY: maybe-TAGS-intl TAGS-intl
12284 maybe-TAGS-intl:
12285 @if intl
12286 maybe-TAGS-intl: TAGS-intl
12288 TAGS-intl: \
12289 configure-intl
12290 @[ -f ./intl/Makefile ] || exit 0; \
12291 r=`${PWD_COMMAND}`; export r; \
12292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12293 $(SET_LIB_PATH) \
12294 $(HOST_EXPORTS) \
12295 for flag in $(EXTRA_HOST_FLAGS) ; do \
12296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12297 done; \
12298 echo "Doing TAGS in intl" ; \
12299 (cd intl && \
12300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12302 "RANLIB=$${RANLIB}" \
12303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12304 TAGS) \
12305 || exit 1
12307 @endif intl
12309 .PHONY: maybe-install-info-intl install-info-intl
12310 maybe-install-info-intl:
12311 @if intl
12312 maybe-install-info-intl: install-info-intl
12314 install-info-intl: \
12315 configure-intl \
12316 info-intl
12317 @[ -f ./intl/Makefile ] || exit 0; \
12318 r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 $(SET_LIB_PATH) \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing install-info in intl" ; \
12326 (cd intl && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 install-info) \
12332 || exit 1
12334 @endif intl
12336 .PHONY: maybe-installcheck-intl installcheck-intl
12337 maybe-installcheck-intl:
12338 @if intl
12339 maybe-installcheck-intl: installcheck-intl
12341 installcheck-intl: \
12342 configure-intl
12343 @[ -f ./intl/Makefile ] || exit 0; \
12344 r=`${PWD_COMMAND}`; export r; \
12345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12346 $(SET_LIB_PATH) \
12347 $(HOST_EXPORTS) \
12348 for flag in $(EXTRA_HOST_FLAGS) ; do \
12349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12350 done; \
12351 echo "Doing installcheck in intl" ; \
12352 (cd intl && \
12353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12355 "RANLIB=$${RANLIB}" \
12356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12357 installcheck) \
12358 || exit 1
12360 @endif intl
12362 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12363 maybe-mostlyclean-intl:
12364 @if intl
12365 maybe-mostlyclean-intl: mostlyclean-intl
12367 mostlyclean-intl:
12368 @[ -f ./intl/Makefile ] || exit 0; \
12369 r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12371 $(SET_LIB_PATH) \
12372 $(HOST_EXPORTS) \
12373 for flag in $(EXTRA_HOST_FLAGS) ; do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12375 done; \
12376 echo "Doing mostlyclean in intl" ; \
12377 (cd intl && \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12382 mostlyclean) \
12383 || exit 1
12385 @endif intl
12387 .PHONY: maybe-clean-intl clean-intl
12388 maybe-clean-intl:
12389 @if intl
12390 maybe-clean-intl: clean-intl
12392 clean-intl:
12393 @[ -f ./intl/Makefile ] || exit 0; \
12394 r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12396 $(SET_LIB_PATH) \
12397 $(HOST_EXPORTS) \
12398 for flag in $(EXTRA_HOST_FLAGS) ; do \
12399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12400 done; \
12401 echo "Doing clean in intl" ; \
12402 (cd intl && \
12403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12405 "RANLIB=$${RANLIB}" \
12406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12407 clean) \
12408 || exit 1
12410 @endif intl
12412 .PHONY: maybe-distclean-intl distclean-intl
12413 maybe-distclean-intl:
12414 @if intl
12415 maybe-distclean-intl: distclean-intl
12417 distclean-intl:
12418 @[ -f ./intl/Makefile ] || exit 0; \
12419 r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 $(SET_LIB_PATH) \
12422 $(HOST_EXPORTS) \
12423 for flag in $(EXTRA_HOST_FLAGS) ; do \
12424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12425 done; \
12426 echo "Doing distclean in intl" ; \
12427 (cd intl && \
12428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12430 "RANLIB=$${RANLIB}" \
12431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12432 distclean) \
12433 || exit 1
12435 @endif intl
12437 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12438 maybe-maintainer-clean-intl:
12439 @if intl
12440 maybe-maintainer-clean-intl: maintainer-clean-intl
12442 maintainer-clean-intl:
12443 @[ -f ./intl/Makefile ] || exit 0; \
12444 r=`${PWD_COMMAND}`; export r; \
12445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12446 $(SET_LIB_PATH) \
12447 $(HOST_EXPORTS) \
12448 for flag in $(EXTRA_HOST_FLAGS) ; do \
12449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12450 done; \
12451 echo "Doing maintainer-clean in intl" ; \
12452 (cd intl && \
12453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12455 "RANLIB=$${RANLIB}" \
12456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12457 maintainer-clean) \
12458 || exit 1
12460 @endif intl
12463 .PHONY: configure-tcl maybe-configure-tcl
12464 maybe-configure-tcl:
12465 @if tcl
12466 maybe-configure-tcl: configure-tcl
12467 configure-tcl:
12468 @test ! -f tcl/Makefile || exit 0; \
12469 [ -d tcl ] || mkdir tcl; \
12470 r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 $(HOST_EXPORTS) \
12473 echo Configuring in tcl; \
12474 cd tcl || exit 1; \
12475 case $(srcdir) in \
12476 \.) \
12477 srcdiroption="--srcdir=."; \
12478 libsrcdir=".";; \
12479 /* | [A-Za-z]:[\\/]*) \
12480 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12481 libsrcdir="$$s/tcl";; \
12482 *) \
12483 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12484 libsrcdir="$$s/tcl";; \
12485 esac; \
12486 $(SHELL) $${libsrcdir}/configure \
12487 $(HOST_CONFIGARGS) $${srcdiroption} \
12488 || exit 1
12489 @endif tcl
12491 .PHONY: all-tcl maybe-all-tcl
12492 maybe-all-tcl:
12493 @if tcl
12494 TARGET-tcl=all
12495 maybe-all-tcl: all-tcl
12496 all-tcl: configure-tcl
12497 @r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 $(SET_LIB_PATH) \
12500 $(HOST_EXPORTS) \
12501 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12502 $(TARGET-tcl))
12503 @endif tcl
12505 .PHONY: check-tcl maybe-check-tcl
12506 maybe-check-tcl:
12507 @if tcl
12508 maybe-check-tcl: check-tcl
12510 check-tcl:
12511 @r=`${PWD_COMMAND}`; export r; \
12512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12513 $(SET_LIB_PATH) \
12514 $(HOST_EXPORTS) \
12515 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12517 @endif tcl
12519 .PHONY: install-tcl maybe-install-tcl
12520 maybe-install-tcl:
12521 @if tcl
12522 maybe-install-tcl: install-tcl
12524 install-tcl: installdirs
12525 @r=`${PWD_COMMAND}`; export r; \
12526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 $(SET_LIB_PATH) \
12528 $(HOST_EXPORTS) \
12529 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12531 @endif tcl
12533 # Other targets (info, dvi, etc.)
12535 .PHONY: maybe-info-tcl info-tcl
12536 maybe-info-tcl:
12537 @if tcl
12538 maybe-info-tcl: info-tcl
12540 info-tcl: \
12541 configure-tcl
12542 @[ -f ./tcl/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(SET_LIB_PATH) \
12546 $(HOST_EXPORTS) \
12547 for flag in $(EXTRA_HOST_FLAGS) ; do \
12548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12549 done; \
12550 echo "Doing info in tcl" ; \
12551 (cd tcl && \
12552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12554 "RANLIB=$${RANLIB}" \
12555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12556 info) \
12557 || exit 1
12559 @endif tcl
12561 .PHONY: maybe-dvi-tcl dvi-tcl
12562 maybe-dvi-tcl:
12563 @if tcl
12564 maybe-dvi-tcl: dvi-tcl
12566 dvi-tcl: \
12567 configure-tcl
12568 @[ -f ./tcl/Makefile ] || exit 0; \
12569 r=`${PWD_COMMAND}`; export r; \
12570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12571 $(SET_LIB_PATH) \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing dvi in tcl" ; \
12577 (cd tcl && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12582 dvi) \
12583 || exit 1
12585 @endif tcl
12587 .PHONY: maybe-html-tcl html-tcl
12588 maybe-html-tcl:
12589 @if tcl
12590 maybe-html-tcl: html-tcl
12592 html-tcl: \
12593 configure-tcl
12594 @[ -f ./tcl/Makefile ] || exit 0; \
12595 r=`${PWD_COMMAND}`; export r; \
12596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12597 $(SET_LIB_PATH) \
12598 $(HOST_EXPORTS) \
12599 for flag in $(EXTRA_HOST_FLAGS) ; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing html in tcl" ; \
12603 (cd tcl && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608 html) \
12609 || exit 1
12611 @endif tcl
12613 .PHONY: maybe-TAGS-tcl TAGS-tcl
12614 maybe-TAGS-tcl:
12615 @if tcl
12616 maybe-TAGS-tcl: TAGS-tcl
12618 TAGS-tcl: \
12619 configure-tcl
12620 @[ -f ./tcl/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12623 $(SET_LIB_PATH) \
12624 $(HOST_EXPORTS) \
12625 for flag in $(EXTRA_HOST_FLAGS) ; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 done; \
12628 echo "Doing TAGS in tcl" ; \
12629 (cd tcl && \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12634 TAGS) \
12635 || exit 1
12637 @endif tcl
12639 .PHONY: maybe-install-info-tcl install-info-tcl
12640 maybe-install-info-tcl:
12641 @if tcl
12642 maybe-install-info-tcl: install-info-tcl
12644 install-info-tcl: \
12645 configure-tcl \
12646 info-tcl
12647 @[ -f ./tcl/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(SET_LIB_PATH) \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing install-info in tcl" ; \
12656 (cd tcl && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 install-info) \
12662 || exit 1
12664 @endif tcl
12666 .PHONY: maybe-installcheck-tcl installcheck-tcl
12667 maybe-installcheck-tcl:
12668 @if tcl
12669 maybe-installcheck-tcl: installcheck-tcl
12671 installcheck-tcl: \
12672 configure-tcl
12673 @[ -f ./tcl/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12676 $(SET_LIB_PATH) \
12677 $(HOST_EXPORTS) \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 done; \
12681 echo "Doing installcheck in tcl" ; \
12682 (cd tcl && \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12687 installcheck) \
12688 || exit 1
12690 @endif tcl
12692 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12693 maybe-mostlyclean-tcl:
12694 @if tcl
12695 maybe-mostlyclean-tcl: mostlyclean-tcl
12697 # tcl doesn't support mostlyclean.
12698 mostlyclean-tcl:
12700 @endif tcl
12702 .PHONY: maybe-clean-tcl clean-tcl
12703 maybe-clean-tcl:
12704 @if tcl
12705 maybe-clean-tcl: clean-tcl
12707 clean-tcl:
12708 @[ -f ./tcl/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 clean in tcl" ; \
12717 (cd tcl && \
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 clean) \
12723 || exit 1
12725 @endif tcl
12727 .PHONY: maybe-distclean-tcl distclean-tcl
12728 maybe-distclean-tcl:
12729 @if tcl
12730 maybe-distclean-tcl: distclean-tcl
12732 distclean-tcl:
12733 @[ -f ./tcl/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 $(SET_LIB_PATH) \
12737 $(HOST_EXPORTS) \
12738 for flag in $(EXTRA_HOST_FLAGS) ; do \
12739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12740 done; \
12741 echo "Doing distclean in tcl" ; \
12742 (cd tcl && \
12743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12745 "RANLIB=$${RANLIB}" \
12746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12747 distclean) \
12748 || exit 1
12750 @endif tcl
12752 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12753 maybe-maintainer-clean-tcl:
12754 @if tcl
12755 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12757 maintainer-clean-tcl:
12758 @[ -f ./tcl/Makefile ] || exit 0; \
12759 r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12761 $(SET_LIB_PATH) \
12762 $(HOST_EXPORTS) \
12763 for flag in $(EXTRA_HOST_FLAGS) ; do \
12764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12765 done; \
12766 echo "Doing maintainer-clean in tcl" ; \
12767 (cd tcl && \
12768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12770 "RANLIB=$${RANLIB}" \
12771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12772 maintainer-clean) \
12773 || exit 1
12775 @endif tcl
12778 .PHONY: configure-itcl maybe-configure-itcl
12779 maybe-configure-itcl:
12780 @if itcl
12781 maybe-configure-itcl: configure-itcl
12782 configure-itcl:
12783 @test ! -f itcl/Makefile || exit 0; \
12784 [ -d itcl ] || mkdir itcl; \
12785 r=`${PWD_COMMAND}`; export r; \
12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12787 $(HOST_EXPORTS) \
12788 echo Configuring in itcl; \
12789 cd itcl || exit 1; \
12790 case $(srcdir) in \
12791 \.) \
12792 srcdiroption="--srcdir=."; \
12793 libsrcdir=".";; \
12794 /* | [A-Za-z]:[\\/]*) \
12795 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12796 libsrcdir="$$s/itcl";; \
12797 *) \
12798 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12799 libsrcdir="$$s/itcl";; \
12800 esac; \
12801 $(SHELL) $${libsrcdir}/configure \
12802 $(HOST_CONFIGARGS) $${srcdiroption} \
12803 || exit 1
12804 @endif itcl
12806 .PHONY: all-itcl maybe-all-itcl
12807 maybe-all-itcl:
12808 @if itcl
12809 TARGET-itcl=all
12810 maybe-all-itcl: all-itcl
12811 all-itcl: configure-itcl
12812 @r=`${PWD_COMMAND}`; export r; \
12813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12814 $(SET_LIB_PATH) \
12815 $(HOST_EXPORTS) \
12816 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12817 $(TARGET-itcl))
12818 @endif itcl
12820 .PHONY: check-itcl maybe-check-itcl
12821 maybe-check-itcl:
12822 @if itcl
12823 maybe-check-itcl: check-itcl
12825 check-itcl:
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 $(SET_LIB_PATH) \
12829 $(HOST_EXPORTS) \
12830 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12832 @endif itcl
12834 .PHONY: install-itcl maybe-install-itcl
12835 maybe-install-itcl:
12836 @if itcl
12837 maybe-install-itcl: install-itcl
12839 install-itcl: installdirs
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(SET_LIB_PATH) \
12843 $(HOST_EXPORTS) \
12844 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12846 @endif itcl
12848 # Other targets (info, dvi, etc.)
12850 .PHONY: maybe-info-itcl info-itcl
12851 maybe-info-itcl:
12852 @if itcl
12853 maybe-info-itcl: info-itcl
12855 info-itcl: \
12856 configure-itcl
12857 @[ -f ./itcl/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 info in itcl" ; \
12866 (cd itcl && \
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 info) \
12872 || exit 1
12874 @endif itcl
12876 .PHONY: maybe-dvi-itcl dvi-itcl
12877 maybe-dvi-itcl:
12878 @if itcl
12879 maybe-dvi-itcl: dvi-itcl
12881 dvi-itcl: \
12882 configure-itcl
12883 @[ -f ./itcl/Makefile ] || exit 0; \
12884 r=`${PWD_COMMAND}`; export r; \
12885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12886 $(SET_LIB_PATH) \
12887 $(HOST_EXPORTS) \
12888 for flag in $(EXTRA_HOST_FLAGS) ; do \
12889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12890 done; \
12891 echo "Doing dvi in itcl" ; \
12892 (cd itcl && \
12893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12895 "RANLIB=$${RANLIB}" \
12896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12897 dvi) \
12898 || exit 1
12900 @endif itcl
12902 .PHONY: maybe-html-itcl html-itcl
12903 maybe-html-itcl:
12904 @if itcl
12905 maybe-html-itcl: html-itcl
12907 html-itcl: \
12908 configure-itcl
12909 @[ -f ./itcl/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12912 $(SET_LIB_PATH) \
12913 $(HOST_EXPORTS) \
12914 for flag in $(EXTRA_HOST_FLAGS) ; do \
12915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12916 done; \
12917 echo "Doing html in itcl" ; \
12918 (cd itcl && \
12919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12921 "RANLIB=$${RANLIB}" \
12922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12923 html) \
12924 || exit 1
12926 @endif itcl
12928 .PHONY: maybe-TAGS-itcl TAGS-itcl
12929 maybe-TAGS-itcl:
12930 @if itcl
12931 maybe-TAGS-itcl: TAGS-itcl
12933 TAGS-itcl: \
12934 configure-itcl
12935 @[ -f ./itcl/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 TAGS in itcl" ; \
12944 (cd itcl && \
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 TAGS) \
12950 || exit 1
12952 @endif itcl
12954 .PHONY: maybe-install-info-itcl install-info-itcl
12955 maybe-install-info-itcl:
12956 @if itcl
12957 maybe-install-info-itcl: install-info-itcl
12959 install-info-itcl: \
12960 configure-itcl \
12961 info-itcl
12962 @[ -f ./itcl/Makefile ] || exit 0; \
12963 r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12965 $(SET_LIB_PATH) \
12966 $(HOST_EXPORTS) \
12967 for flag in $(EXTRA_HOST_FLAGS) ; do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 done; \
12970 echo "Doing install-info in itcl" ; \
12971 (cd itcl && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12976 install-info) \
12977 || exit 1
12979 @endif itcl
12981 .PHONY: maybe-installcheck-itcl installcheck-itcl
12982 maybe-installcheck-itcl:
12983 @if itcl
12984 maybe-installcheck-itcl: installcheck-itcl
12986 installcheck-itcl: \
12987 configure-itcl
12988 @[ -f ./itcl/Makefile ] || exit 0; \
12989 r=`${PWD_COMMAND}`; export r; \
12990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12991 $(SET_LIB_PATH) \
12992 $(HOST_EXPORTS) \
12993 for flag in $(EXTRA_HOST_FLAGS) ; do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 done; \
12996 echo "Doing installcheck in itcl" ; \
12997 (cd itcl && \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13002 installcheck) \
13003 || exit 1
13005 @endif itcl
13007 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13008 maybe-mostlyclean-itcl:
13009 @if itcl
13010 maybe-mostlyclean-itcl: mostlyclean-itcl
13012 mostlyclean-itcl:
13013 @[ -f ./itcl/Makefile ] || exit 0; \
13014 r=`${PWD_COMMAND}`; export r; \
13015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13016 $(SET_LIB_PATH) \
13017 $(HOST_EXPORTS) \
13018 for flag in $(EXTRA_HOST_FLAGS) ; do \
13019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13020 done; \
13021 echo "Doing mostlyclean in itcl" ; \
13022 (cd itcl && \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13025 "RANLIB=$${RANLIB}" \
13026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13027 mostlyclean) \
13028 || exit 1
13030 @endif itcl
13032 .PHONY: maybe-clean-itcl clean-itcl
13033 maybe-clean-itcl:
13034 @if itcl
13035 maybe-clean-itcl: clean-itcl
13037 clean-itcl:
13038 @[ -f ./itcl/Makefile ] || exit 0; \
13039 r=`${PWD_COMMAND}`; export r; \
13040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13041 $(SET_LIB_PATH) \
13042 $(HOST_EXPORTS) \
13043 for flag in $(EXTRA_HOST_FLAGS) ; do \
13044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13045 done; \
13046 echo "Doing clean in itcl" ; \
13047 (cd itcl && \
13048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13050 "RANLIB=$${RANLIB}" \
13051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13052 clean) \
13053 || exit 1
13055 @endif itcl
13057 .PHONY: maybe-distclean-itcl distclean-itcl
13058 maybe-distclean-itcl:
13059 @if itcl
13060 maybe-distclean-itcl: distclean-itcl
13062 distclean-itcl:
13063 @[ -f ./itcl/Makefile ] || exit 0; \
13064 r=`${PWD_COMMAND}`; export r; \
13065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13066 $(SET_LIB_PATH) \
13067 $(HOST_EXPORTS) \
13068 for flag in $(EXTRA_HOST_FLAGS) ; do \
13069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13070 done; \
13071 echo "Doing distclean in itcl" ; \
13072 (cd itcl && \
13073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13075 "RANLIB=$${RANLIB}" \
13076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13077 distclean) \
13078 || exit 1
13080 @endif itcl
13082 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13083 maybe-maintainer-clean-itcl:
13084 @if itcl
13085 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13087 maintainer-clean-itcl:
13088 @[ -f ./itcl/Makefile ] || exit 0; \
13089 r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 $(SET_LIB_PATH) \
13092 $(HOST_EXPORTS) \
13093 for flag in $(EXTRA_HOST_FLAGS) ; do \
13094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13095 done; \
13096 echo "Doing maintainer-clean in itcl" ; \
13097 (cd itcl && \
13098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13100 "RANLIB=$${RANLIB}" \
13101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13102 maintainer-clean) \
13103 || exit 1
13105 @endif itcl
13108 .PHONY: configure-ld maybe-configure-ld
13109 maybe-configure-ld:
13110 @if ld
13111 maybe-configure-ld: configure-ld
13112 configure-ld:
13113 @test -f stage_last && exit 0; \
13114 test ! -f ld/Makefile || exit 0; \
13115 [ -d ld ] || mkdir ld; \
13116 r=`${PWD_COMMAND}`; export r; \
13117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13118 $(HOST_EXPORTS) \
13119 echo Configuring in ld; \
13120 cd ld || exit 1; \
13121 case $(srcdir) in \
13122 \.) \
13123 srcdiroption="--srcdir=."; \
13124 libsrcdir=".";; \
13125 /* | [A-Za-z]:[\\/]*) \
13126 srcdiroption="--srcdir=$(srcdir)/ld"; \
13127 libsrcdir="$$s/ld";; \
13128 *) \
13129 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13130 libsrcdir="$$s/ld";; \
13131 esac; \
13132 $(SHELL) $${libsrcdir}/configure \
13133 $(HOST_CONFIGARGS) $${srcdiroption} \
13134 || exit 1
13135 @endif ld
13137 .PHONY: all-ld maybe-all-ld
13138 maybe-all-ld:
13139 @if ld
13140 TARGET-ld=all
13141 maybe-all-ld: all-ld
13142 all-ld: configure-ld
13143 @test -f stage_last && exit 0; \
13144 r=`${PWD_COMMAND}`; export r; \
13145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13146 $(SET_LIB_PATH) \
13147 $(HOST_EXPORTS) \
13148 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13149 $(TARGET-ld))
13150 @endif ld
13152 .PHONY: check-ld maybe-check-ld
13153 maybe-check-ld:
13154 @if ld
13155 maybe-check-ld: check-ld
13157 check-ld:
13158 @r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13160 $(SET_LIB_PATH) \
13161 $(HOST_EXPORTS) \
13162 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13164 @endif ld
13166 .PHONY: install-ld maybe-install-ld
13167 maybe-install-ld:
13168 @if ld
13169 maybe-install-ld: install-ld
13171 install-ld: installdirs
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174 $(SET_LIB_PATH) \
13175 $(HOST_EXPORTS) \
13176 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13178 @endif ld
13180 # Other targets (info, dvi, etc.)
13182 .PHONY: maybe-info-ld info-ld
13183 maybe-info-ld:
13184 @if ld
13185 maybe-info-ld: info-ld
13187 info-ld: \
13188 configure-ld
13189 @[ -f ./ld/Makefile ] || exit 0; \
13190 r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 $(SET_LIB_PATH) \
13193 $(HOST_EXPORTS) \
13194 for flag in $(EXTRA_HOST_FLAGS) ; do \
13195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13196 done; \
13197 echo "Doing info in ld" ; \
13198 (cd ld && \
13199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13201 "RANLIB=$${RANLIB}" \
13202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13203 info) \
13204 || exit 1
13206 @endif ld
13208 .PHONY: maybe-dvi-ld dvi-ld
13209 maybe-dvi-ld:
13210 @if ld
13211 maybe-dvi-ld: dvi-ld
13213 dvi-ld: \
13214 configure-ld
13215 @[ -f ./ld/Makefile ] || exit 0; \
13216 r=`${PWD_COMMAND}`; export r; \
13217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13218 $(SET_LIB_PATH) \
13219 $(HOST_EXPORTS) \
13220 for flag in $(EXTRA_HOST_FLAGS) ; do \
13221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13222 done; \
13223 echo "Doing dvi in ld" ; \
13224 (cd ld && \
13225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13227 "RANLIB=$${RANLIB}" \
13228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13229 dvi) \
13230 || exit 1
13232 @endif ld
13234 .PHONY: maybe-html-ld html-ld
13235 maybe-html-ld:
13236 @if ld
13237 maybe-html-ld: html-ld
13239 html-ld: \
13240 configure-ld
13241 @[ -f ./ld/Makefile ] || exit 0; \
13242 r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13244 $(SET_LIB_PATH) \
13245 $(HOST_EXPORTS) \
13246 for flag in $(EXTRA_HOST_FLAGS) ; do \
13247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13248 done; \
13249 echo "Doing html in ld" ; \
13250 (cd ld && \
13251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13253 "RANLIB=$${RANLIB}" \
13254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13255 html) \
13256 || exit 1
13258 @endif ld
13260 .PHONY: maybe-TAGS-ld TAGS-ld
13261 maybe-TAGS-ld:
13262 @if ld
13263 maybe-TAGS-ld: TAGS-ld
13265 TAGS-ld: \
13266 configure-ld
13267 @[ -f ./ld/Makefile ] || exit 0; \
13268 r=`${PWD_COMMAND}`; export r; \
13269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13270 $(SET_LIB_PATH) \
13271 $(HOST_EXPORTS) \
13272 for flag in $(EXTRA_HOST_FLAGS) ; do \
13273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13274 done; \
13275 echo "Doing TAGS in ld" ; \
13276 (cd ld && \
13277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13279 "RANLIB=$${RANLIB}" \
13280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13281 TAGS) \
13282 || exit 1
13284 @endif ld
13286 .PHONY: maybe-install-info-ld install-info-ld
13287 maybe-install-info-ld:
13288 @if ld
13289 maybe-install-info-ld: install-info-ld
13291 install-info-ld: \
13292 configure-ld \
13293 info-ld
13294 @[ -f ./ld/Makefile ] || exit 0; \
13295 r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 $(SET_LIB_PATH) \
13298 $(HOST_EXPORTS) \
13299 for flag in $(EXTRA_HOST_FLAGS) ; do \
13300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13301 done; \
13302 echo "Doing install-info in ld" ; \
13303 (cd ld && \
13304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13306 "RANLIB=$${RANLIB}" \
13307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13308 install-info) \
13309 || exit 1
13311 @endif ld
13313 .PHONY: maybe-installcheck-ld installcheck-ld
13314 maybe-installcheck-ld:
13315 @if ld
13316 maybe-installcheck-ld: installcheck-ld
13318 installcheck-ld: \
13319 configure-ld
13320 @[ -f ./ld/Makefile ] || exit 0; \
13321 r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 $(SET_LIB_PATH) \
13324 $(HOST_EXPORTS) \
13325 for flag in $(EXTRA_HOST_FLAGS) ; do \
13326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13327 done; \
13328 echo "Doing installcheck in ld" ; \
13329 (cd ld && \
13330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13332 "RANLIB=$${RANLIB}" \
13333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13334 installcheck) \
13335 || exit 1
13337 @endif ld
13339 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13340 maybe-mostlyclean-ld:
13341 @if ld
13342 maybe-mostlyclean-ld: mostlyclean-ld
13344 mostlyclean-ld:
13345 @[ -f ./ld/Makefile ] || exit 0; \
13346 r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13348 $(SET_LIB_PATH) \
13349 $(HOST_EXPORTS) \
13350 for flag in $(EXTRA_HOST_FLAGS) ; do \
13351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13352 done; \
13353 echo "Doing mostlyclean in ld" ; \
13354 (cd ld && \
13355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13357 "RANLIB=$${RANLIB}" \
13358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13359 mostlyclean) \
13360 || exit 1
13362 @endif ld
13364 .PHONY: maybe-clean-ld clean-ld
13365 maybe-clean-ld:
13366 @if ld
13367 maybe-clean-ld: clean-ld
13369 clean-ld:
13370 @[ -f ./ld/Makefile ] || exit 0; \
13371 r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13373 $(SET_LIB_PATH) \
13374 $(HOST_EXPORTS) \
13375 for flag in $(EXTRA_HOST_FLAGS) ; do \
13376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13377 done; \
13378 echo "Doing clean in ld" ; \
13379 (cd ld && \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13382 "RANLIB=$${RANLIB}" \
13383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13384 clean) \
13385 || exit 1
13387 @endif ld
13389 .PHONY: maybe-distclean-ld distclean-ld
13390 maybe-distclean-ld:
13391 @if ld
13392 maybe-distclean-ld: distclean-ld
13394 distclean-ld:
13395 @[ -f ./ld/Makefile ] || exit 0; \
13396 r=`${PWD_COMMAND}`; export r; \
13397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13398 $(SET_LIB_PATH) \
13399 $(HOST_EXPORTS) \
13400 for flag in $(EXTRA_HOST_FLAGS) ; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 done; \
13403 echo "Doing distclean in ld" ; \
13404 (cd ld && \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13409 distclean) \
13410 || exit 1
13412 @endif ld
13414 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13415 maybe-maintainer-clean-ld:
13416 @if ld
13417 maybe-maintainer-clean-ld: maintainer-clean-ld
13419 maintainer-clean-ld:
13420 @[ -f ./ld/Makefile ] || exit 0; \
13421 r=`${PWD_COMMAND}`; export r; \
13422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13423 $(SET_LIB_PATH) \
13424 $(HOST_EXPORTS) \
13425 for flag in $(EXTRA_HOST_FLAGS) ; do \
13426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13427 done; \
13428 echo "Doing maintainer-clean in ld" ; \
13429 (cd ld && \
13430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13432 "RANLIB=$${RANLIB}" \
13433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13434 maintainer-clean) \
13435 || exit 1
13437 @endif ld
13440 .PHONY: configure-libcpp maybe-configure-libcpp
13441 maybe-configure-libcpp:
13442 @if libcpp
13443 maybe-configure-libcpp: configure-libcpp
13444 configure-libcpp:
13445 @test -f stage_last && exit 0; \
13446 test ! -f libcpp/Makefile || exit 0; \
13447 [ -d libcpp ] || mkdir libcpp; \
13448 r=`${PWD_COMMAND}`; export r; \
13449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13450 $(HOST_EXPORTS) \
13451 echo Configuring in libcpp; \
13452 cd libcpp || exit 1; \
13453 case $(srcdir) in \
13454 \.) \
13455 srcdiroption="--srcdir=."; \
13456 libsrcdir=".";; \
13457 /* | [A-Za-z]:[\\/]*) \
13458 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13459 libsrcdir="$$s/libcpp";; \
13460 *) \
13461 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13462 libsrcdir="$$s/libcpp";; \
13463 esac; \
13464 $(SHELL) $${libsrcdir}/configure \
13465 $(HOST_CONFIGARGS) $${srcdiroption} \
13466 || exit 1
13467 @endif libcpp
13469 .PHONY: all-libcpp maybe-all-libcpp
13470 maybe-all-libcpp:
13471 @if libcpp
13472 TARGET-libcpp=all
13473 maybe-all-libcpp: all-libcpp
13474 all-libcpp: configure-libcpp
13475 @test -f stage_last && exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13478 $(SET_LIB_PATH) \
13479 $(HOST_EXPORTS) \
13480 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13481 $(TARGET-libcpp))
13482 @endif libcpp
13484 .PHONY: check-libcpp maybe-check-libcpp
13485 maybe-check-libcpp:
13486 @if libcpp
13487 maybe-check-libcpp: check-libcpp
13489 check-libcpp:
13490 @r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13492 $(SET_LIB_PATH) \
13493 $(HOST_EXPORTS) \
13494 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13496 @endif libcpp
13498 .PHONY: install-libcpp maybe-install-libcpp
13499 maybe-install-libcpp:
13500 @if libcpp
13501 maybe-install-libcpp: install-libcpp
13503 install-libcpp: installdirs
13504 @r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13506 $(SET_LIB_PATH) \
13507 $(HOST_EXPORTS) \
13508 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13510 @endif libcpp
13512 # Other targets (info, dvi, etc.)
13514 .PHONY: maybe-info-libcpp info-libcpp
13515 maybe-info-libcpp:
13516 @if libcpp
13517 maybe-info-libcpp: info-libcpp
13519 info-libcpp: \
13520 configure-libcpp
13521 @[ -f ./libcpp/Makefile ] || exit 0; \
13522 r=`${PWD_COMMAND}`; export r; \
13523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13524 $(SET_LIB_PATH) \
13525 $(HOST_EXPORTS) \
13526 for flag in $(EXTRA_HOST_FLAGS) ; do \
13527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13528 done; \
13529 echo "Doing info in libcpp" ; \
13530 (cd libcpp && \
13531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13533 "RANLIB=$${RANLIB}" \
13534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13535 info) \
13536 || exit 1
13538 @endif libcpp
13540 .PHONY: maybe-dvi-libcpp dvi-libcpp
13541 maybe-dvi-libcpp:
13542 @if libcpp
13543 maybe-dvi-libcpp: dvi-libcpp
13545 dvi-libcpp: \
13546 configure-libcpp
13547 @[ -f ./libcpp/Makefile ] || exit 0; \
13548 r=`${PWD_COMMAND}`; export r; \
13549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13550 $(SET_LIB_PATH) \
13551 $(HOST_EXPORTS) \
13552 for flag in $(EXTRA_HOST_FLAGS) ; do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 done; \
13555 echo "Doing dvi in libcpp" ; \
13556 (cd libcpp && \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559 "RANLIB=$${RANLIB}" \
13560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13561 dvi) \
13562 || exit 1
13564 @endif libcpp
13566 .PHONY: maybe-html-libcpp html-libcpp
13567 maybe-html-libcpp:
13568 @if libcpp
13569 maybe-html-libcpp: html-libcpp
13571 html-libcpp: \
13572 configure-libcpp
13573 @[ -f ./libcpp/Makefile ] || exit 0; \
13574 r=`${PWD_COMMAND}`; export r; \
13575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13576 $(SET_LIB_PATH) \
13577 $(HOST_EXPORTS) \
13578 for flag in $(EXTRA_HOST_FLAGS) ; do \
13579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580 done; \
13581 echo "Doing html in libcpp" ; \
13582 (cd libcpp && \
13583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585 "RANLIB=$${RANLIB}" \
13586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13587 html) \
13588 || exit 1
13590 @endif libcpp
13592 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13593 maybe-TAGS-libcpp:
13594 @if libcpp
13595 maybe-TAGS-libcpp: TAGS-libcpp
13597 TAGS-libcpp: \
13598 configure-libcpp
13599 @[ -f ./libcpp/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(SET_LIB_PATH) \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing TAGS in libcpp" ; \
13608 (cd libcpp && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13613 TAGS) \
13614 || exit 1
13616 @endif libcpp
13618 .PHONY: maybe-install-info-libcpp install-info-libcpp
13619 maybe-install-info-libcpp:
13620 @if libcpp
13621 maybe-install-info-libcpp: install-info-libcpp
13623 install-info-libcpp: \
13624 configure-libcpp \
13625 info-libcpp
13626 @[ -f ./libcpp/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(SET_LIB_PATH) \
13630 $(HOST_EXPORTS) \
13631 for flag in $(EXTRA_HOST_FLAGS) ; do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 done; \
13634 echo "Doing install-info in libcpp" ; \
13635 (cd libcpp && \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13640 install-info) \
13641 || exit 1
13643 @endif libcpp
13645 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13646 maybe-installcheck-libcpp:
13647 @if libcpp
13648 maybe-installcheck-libcpp: installcheck-libcpp
13650 installcheck-libcpp: \
13651 configure-libcpp
13652 @[ -f ./libcpp/Makefile ] || exit 0; \
13653 r=`${PWD_COMMAND}`; export r; \
13654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13655 $(SET_LIB_PATH) \
13656 $(HOST_EXPORTS) \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 done; \
13660 echo "Doing installcheck in libcpp" ; \
13661 (cd libcpp && \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13666 installcheck) \
13667 || exit 1
13669 @endif libcpp
13671 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13672 maybe-mostlyclean-libcpp:
13673 @if libcpp
13674 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13676 mostlyclean-libcpp:
13677 @[ -f ./libcpp/Makefile ] || exit 0; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(SET_LIB_PATH) \
13681 $(HOST_EXPORTS) \
13682 for flag in $(EXTRA_HOST_FLAGS) ; do \
13683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13684 done; \
13685 echo "Doing mostlyclean in libcpp" ; \
13686 (cd libcpp && \
13687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689 "RANLIB=$${RANLIB}" \
13690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13691 mostlyclean) \
13692 || exit 1
13694 @endif libcpp
13696 .PHONY: maybe-clean-libcpp clean-libcpp
13697 maybe-clean-libcpp:
13698 @if libcpp
13699 maybe-clean-libcpp: clean-libcpp
13701 clean-libcpp:
13702 @[ -f ./libcpp/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 $(SET_LIB_PATH) \
13706 $(HOST_EXPORTS) \
13707 for flag in $(EXTRA_HOST_FLAGS) ; do \
13708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13709 done; \
13710 echo "Doing clean in libcpp" ; \
13711 (cd libcpp && \
13712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13714 "RANLIB=$${RANLIB}" \
13715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13716 clean) \
13717 || exit 1
13719 @endif libcpp
13721 .PHONY: maybe-distclean-libcpp distclean-libcpp
13722 maybe-distclean-libcpp:
13723 @if libcpp
13724 maybe-distclean-libcpp: distclean-libcpp
13726 distclean-libcpp:
13727 @[ -f ./libcpp/Makefile ] || exit 0; \
13728 r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13730 $(SET_LIB_PATH) \
13731 $(HOST_EXPORTS) \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 done; \
13735 echo "Doing distclean in libcpp" ; \
13736 (cd libcpp && \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13741 distclean) \
13742 || exit 1
13744 @endif libcpp
13746 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13747 maybe-maintainer-clean-libcpp:
13748 @if libcpp
13749 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13751 maintainer-clean-libcpp:
13752 @[ -f ./libcpp/Makefile ] || exit 0; \
13753 r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13755 $(SET_LIB_PATH) \
13756 $(HOST_EXPORTS) \
13757 for flag in $(EXTRA_HOST_FLAGS) ; do \
13758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13759 done; \
13760 echo "Doing maintainer-clean in libcpp" ; \
13761 (cd libcpp && \
13762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13764 "RANLIB=$${RANLIB}" \
13765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13766 maintainer-clean) \
13767 || exit 1
13769 @endif libcpp
13772 .PHONY: configure-libgui maybe-configure-libgui
13773 maybe-configure-libgui:
13774 @if libgui
13775 maybe-configure-libgui: configure-libgui
13776 configure-libgui:
13777 @test ! -f libgui/Makefile || exit 0; \
13778 [ -d libgui ] || mkdir libgui; \
13779 r=`${PWD_COMMAND}`; export r; \
13780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13781 $(HOST_EXPORTS) \
13782 echo Configuring in libgui; \
13783 cd libgui || exit 1; \
13784 case $(srcdir) in \
13785 \.) \
13786 srcdiroption="--srcdir=."; \
13787 libsrcdir=".";; \
13788 /* | [A-Za-z]:[\\/]*) \
13789 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13790 libsrcdir="$$s/libgui";; \
13791 *) \
13792 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13793 libsrcdir="$$s/libgui";; \
13794 esac; \
13795 $(SHELL) $${libsrcdir}/configure \
13796 $(HOST_CONFIGARGS) $${srcdiroption} \
13797 || exit 1
13798 @endif libgui
13800 .PHONY: all-libgui maybe-all-libgui
13801 maybe-all-libgui:
13802 @if libgui
13803 TARGET-libgui=all
13804 maybe-all-libgui: all-libgui
13805 all-libgui: configure-libgui
13806 @r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13808 $(SET_LIB_PATH) \
13809 $(HOST_EXPORTS) \
13810 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13811 $(TARGET-libgui))
13812 @endif libgui
13814 .PHONY: check-libgui maybe-check-libgui
13815 maybe-check-libgui:
13816 @if libgui
13817 maybe-check-libgui: check-libgui
13819 check-libgui:
13820 @r=`${PWD_COMMAND}`; export r; \
13821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13822 $(SET_LIB_PATH) \
13823 $(HOST_EXPORTS) \
13824 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13826 @endif libgui
13828 .PHONY: install-libgui maybe-install-libgui
13829 maybe-install-libgui:
13830 @if libgui
13831 maybe-install-libgui: install-libgui
13833 install-libgui: installdirs
13834 @r=`${PWD_COMMAND}`; export r; \
13835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13836 $(SET_LIB_PATH) \
13837 $(HOST_EXPORTS) \
13838 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13840 @endif libgui
13842 # Other targets (info, dvi, etc.)
13844 .PHONY: maybe-info-libgui info-libgui
13845 maybe-info-libgui:
13846 @if libgui
13847 maybe-info-libgui: info-libgui
13849 info-libgui: \
13850 configure-libgui
13851 @[ -f ./libgui/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(SET_LIB_PATH) \
13855 $(HOST_EXPORTS) \
13856 for flag in $(EXTRA_HOST_FLAGS) ; do \
13857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13858 done; \
13859 echo "Doing info in libgui" ; \
13860 (cd libgui && \
13861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13863 "RANLIB=$${RANLIB}" \
13864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13865 info) \
13866 || exit 1
13868 @endif libgui
13870 .PHONY: maybe-dvi-libgui dvi-libgui
13871 maybe-dvi-libgui:
13872 @if libgui
13873 maybe-dvi-libgui: dvi-libgui
13875 dvi-libgui: \
13876 configure-libgui
13877 @[ -f ./libgui/Makefile ] || exit 0; \
13878 r=`${PWD_COMMAND}`; export r; \
13879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13880 $(SET_LIB_PATH) \
13881 $(HOST_EXPORTS) \
13882 for flag in $(EXTRA_HOST_FLAGS) ; do \
13883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13884 done; \
13885 echo "Doing dvi in libgui" ; \
13886 (cd libgui && \
13887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13889 "RANLIB=$${RANLIB}" \
13890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13891 dvi) \
13892 || exit 1
13894 @endif libgui
13896 .PHONY: maybe-html-libgui html-libgui
13897 maybe-html-libgui:
13898 @if libgui
13899 maybe-html-libgui: html-libgui
13901 html-libgui: \
13902 configure-libgui
13903 @[ -f ./libgui/Makefile ] || exit 0; \
13904 r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13906 $(SET_LIB_PATH) \
13907 $(HOST_EXPORTS) \
13908 for flag in $(EXTRA_HOST_FLAGS) ; do \
13909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13910 done; \
13911 echo "Doing html in libgui" ; \
13912 (cd libgui && \
13913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13915 "RANLIB=$${RANLIB}" \
13916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13917 html) \
13918 || exit 1
13920 @endif libgui
13922 .PHONY: maybe-TAGS-libgui TAGS-libgui
13923 maybe-TAGS-libgui:
13924 @if libgui
13925 maybe-TAGS-libgui: TAGS-libgui
13927 TAGS-libgui: \
13928 configure-libgui
13929 @[ -f ./libgui/Makefile ] || exit 0; \
13930 r=`${PWD_COMMAND}`; export r; \
13931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 $(SET_LIB_PATH) \
13933 $(HOST_EXPORTS) \
13934 for flag in $(EXTRA_HOST_FLAGS) ; do \
13935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13936 done; \
13937 echo "Doing TAGS in libgui" ; \
13938 (cd libgui && \
13939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13941 "RANLIB=$${RANLIB}" \
13942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13943 TAGS) \
13944 || exit 1
13946 @endif libgui
13948 .PHONY: maybe-install-info-libgui install-info-libgui
13949 maybe-install-info-libgui:
13950 @if libgui
13951 maybe-install-info-libgui: install-info-libgui
13953 install-info-libgui: \
13954 configure-libgui \
13955 info-libgui
13956 @[ -f ./libgui/Makefile ] || exit 0; \
13957 r=`${PWD_COMMAND}`; export r; \
13958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13959 $(SET_LIB_PATH) \
13960 $(HOST_EXPORTS) \
13961 for flag in $(EXTRA_HOST_FLAGS) ; do \
13962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13963 done; \
13964 echo "Doing install-info in libgui" ; \
13965 (cd libgui && \
13966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13968 "RANLIB=$${RANLIB}" \
13969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13970 install-info) \
13971 || exit 1
13973 @endif libgui
13975 .PHONY: maybe-installcheck-libgui installcheck-libgui
13976 maybe-installcheck-libgui:
13977 @if libgui
13978 maybe-installcheck-libgui: installcheck-libgui
13980 installcheck-libgui: \
13981 configure-libgui
13982 @[ -f ./libgui/Makefile ] || exit 0; \
13983 r=`${PWD_COMMAND}`; export r; \
13984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13985 $(SET_LIB_PATH) \
13986 $(HOST_EXPORTS) \
13987 for flag in $(EXTRA_HOST_FLAGS) ; do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989 done; \
13990 echo "Doing installcheck in libgui" ; \
13991 (cd libgui && \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13996 installcheck) \
13997 || exit 1
13999 @endif libgui
14001 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14002 maybe-mostlyclean-libgui:
14003 @if libgui
14004 maybe-mostlyclean-libgui: mostlyclean-libgui
14006 mostlyclean-libgui:
14007 @[ -f ./libgui/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010 $(SET_LIB_PATH) \
14011 $(HOST_EXPORTS) \
14012 for flag in $(EXTRA_HOST_FLAGS) ; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 done; \
14015 echo "Doing mostlyclean in libgui" ; \
14016 (cd libgui && \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14021 mostlyclean) \
14022 || exit 1
14024 @endif libgui
14026 .PHONY: maybe-clean-libgui clean-libgui
14027 maybe-clean-libgui:
14028 @if libgui
14029 maybe-clean-libgui: clean-libgui
14031 clean-libgui:
14032 @[ -f ./libgui/Makefile ] || exit 0; \
14033 r=`${PWD_COMMAND}`; export r; \
14034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14035 $(SET_LIB_PATH) \
14036 $(HOST_EXPORTS) \
14037 for flag in $(EXTRA_HOST_FLAGS) ; do \
14038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14039 done; \
14040 echo "Doing clean in libgui" ; \
14041 (cd libgui && \
14042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044 "RANLIB=$${RANLIB}" \
14045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14046 clean) \
14047 || exit 1
14049 @endif libgui
14051 .PHONY: maybe-distclean-libgui distclean-libgui
14052 maybe-distclean-libgui:
14053 @if libgui
14054 maybe-distclean-libgui: distclean-libgui
14056 distclean-libgui:
14057 @[ -f ./libgui/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14060 $(SET_LIB_PATH) \
14061 $(HOST_EXPORTS) \
14062 for flag in $(EXTRA_HOST_FLAGS) ; do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064 done; \
14065 echo "Doing distclean in libgui" ; \
14066 (cd libgui && \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14071 distclean) \
14072 || exit 1
14074 @endif libgui
14076 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14077 maybe-maintainer-clean-libgui:
14078 @if libgui
14079 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14081 maintainer-clean-libgui:
14082 @[ -f ./libgui/Makefile ] || exit 0; \
14083 r=`${PWD_COMMAND}`; export r; \
14084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14085 $(SET_LIB_PATH) \
14086 $(HOST_EXPORTS) \
14087 for flag in $(EXTRA_HOST_FLAGS) ; do \
14088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14089 done; \
14090 echo "Doing maintainer-clean in libgui" ; \
14091 (cd libgui && \
14092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14094 "RANLIB=$${RANLIB}" \
14095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14096 maintainer-clean) \
14097 || exit 1
14099 @endif libgui
14102 .PHONY: configure-libiberty maybe-configure-libiberty
14103 maybe-configure-libiberty:
14104 @if libiberty
14105 maybe-configure-libiberty: configure-libiberty
14106 configure-libiberty:
14107 @test -f stage_last && exit 0; \
14108 test ! -f libiberty/Makefile || exit 0; \
14109 [ -d libiberty ] || mkdir libiberty; \
14110 r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 $(HOST_EXPORTS) \
14113 echo Configuring in libiberty; \
14114 cd libiberty || exit 1; \
14115 case $(srcdir) in \
14116 \.) \
14117 srcdiroption="--srcdir=."; \
14118 libsrcdir=".";; \
14119 /* | [A-Za-z]:[\\/]*) \
14120 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14121 libsrcdir="$$s/libiberty";; \
14122 *) \
14123 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14124 libsrcdir="$$s/libiberty";; \
14125 esac; \
14126 $(SHELL) $${libsrcdir}/configure \
14127 $(HOST_CONFIGARGS) $${srcdiroption} \
14128 || exit 1
14129 @endif libiberty
14131 .PHONY: all-libiberty maybe-all-libiberty
14132 maybe-all-libiberty:
14133 @if libiberty
14134 TARGET-libiberty=all
14135 maybe-all-libiberty: all-libiberty
14136 all-libiberty: configure-libiberty
14137 @test -f stage_last && exit 0; \
14138 r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14140 $(SET_LIB_PATH) \
14141 $(HOST_EXPORTS) \
14142 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14143 $(TARGET-libiberty))
14144 @endif libiberty
14146 .PHONY: check-libiberty maybe-check-libiberty
14147 maybe-check-libiberty:
14148 @if libiberty
14149 maybe-check-libiberty: check-libiberty
14151 check-libiberty:
14152 @r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14154 $(SET_LIB_PATH) \
14155 $(HOST_EXPORTS) \
14156 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14158 @endif libiberty
14160 .PHONY: install-libiberty maybe-install-libiberty
14161 maybe-install-libiberty:
14162 @if libiberty
14163 maybe-install-libiberty: install-libiberty
14165 install-libiberty: installdirs
14166 @r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14168 $(SET_LIB_PATH) \
14169 $(HOST_EXPORTS) \
14170 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14172 @endif libiberty
14174 # Other targets (info, dvi, etc.)
14176 .PHONY: maybe-info-libiberty info-libiberty
14177 maybe-info-libiberty:
14178 @if libiberty
14179 maybe-info-libiberty: info-libiberty
14181 info-libiberty: \
14182 configure-libiberty
14183 @[ -f ./libiberty/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(SET_LIB_PATH) \
14187 $(HOST_EXPORTS) \
14188 for flag in $(EXTRA_HOST_FLAGS) ; do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190 done; \
14191 echo "Doing info in libiberty" ; \
14192 (cd libiberty && \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14197 info) \
14198 || exit 1
14200 @endif libiberty
14202 .PHONY: maybe-dvi-libiberty dvi-libiberty
14203 maybe-dvi-libiberty:
14204 @if libiberty
14205 maybe-dvi-libiberty: dvi-libiberty
14207 dvi-libiberty: \
14208 configure-libiberty
14209 @[ -f ./libiberty/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14212 $(SET_LIB_PATH) \
14213 $(HOST_EXPORTS) \
14214 for flag in $(EXTRA_HOST_FLAGS) ; do \
14215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 done; \
14217 echo "Doing dvi in libiberty" ; \
14218 (cd libiberty && \
14219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14221 "RANLIB=$${RANLIB}" \
14222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14223 dvi) \
14224 || exit 1
14226 @endif libiberty
14228 .PHONY: maybe-html-libiberty html-libiberty
14229 maybe-html-libiberty:
14230 @if libiberty
14231 maybe-html-libiberty: html-libiberty
14233 html-libiberty: \
14234 configure-libiberty
14235 @[ -f ./libiberty/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(SET_LIB_PATH) \
14239 $(HOST_EXPORTS) \
14240 for flag in $(EXTRA_HOST_FLAGS) ; do \
14241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14242 done; \
14243 echo "Doing html in libiberty" ; \
14244 (cd libiberty && \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14247 "RANLIB=$${RANLIB}" \
14248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14249 html) \
14250 || exit 1
14252 @endif libiberty
14254 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14255 maybe-TAGS-libiberty:
14256 @if libiberty
14257 maybe-TAGS-libiberty: TAGS-libiberty
14259 TAGS-libiberty: \
14260 configure-libiberty
14261 @[ -f ./libiberty/Makefile ] || exit 0; \
14262 r=`${PWD_COMMAND}`; export r; \
14263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14264 $(SET_LIB_PATH) \
14265 $(HOST_EXPORTS) \
14266 for flag in $(EXTRA_HOST_FLAGS) ; do \
14267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14268 done; \
14269 echo "Doing TAGS in libiberty" ; \
14270 (cd libiberty && \
14271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14273 "RANLIB=$${RANLIB}" \
14274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14275 TAGS) \
14276 || exit 1
14278 @endif libiberty
14280 .PHONY: maybe-install-info-libiberty install-info-libiberty
14281 maybe-install-info-libiberty:
14282 @if libiberty
14283 maybe-install-info-libiberty: install-info-libiberty
14285 install-info-libiberty: \
14286 configure-libiberty \
14287 info-libiberty
14288 @[ -f ./libiberty/Makefile ] || exit 0; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 $(SET_LIB_PATH) \
14292 $(HOST_EXPORTS) \
14293 for flag in $(EXTRA_HOST_FLAGS) ; do \
14294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14295 done; \
14296 echo "Doing install-info in libiberty" ; \
14297 (cd libiberty && \
14298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14300 "RANLIB=$${RANLIB}" \
14301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14302 install-info) \
14303 || exit 1
14305 @endif libiberty
14307 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14308 maybe-installcheck-libiberty:
14309 @if libiberty
14310 maybe-installcheck-libiberty: installcheck-libiberty
14312 installcheck-libiberty: \
14313 configure-libiberty
14314 @[ -f ./libiberty/Makefile ] || exit 0; \
14315 r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14317 $(SET_LIB_PATH) \
14318 $(HOST_EXPORTS) \
14319 for flag in $(EXTRA_HOST_FLAGS) ; do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14321 done; \
14322 echo "Doing installcheck in libiberty" ; \
14323 (cd libiberty && \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14328 installcheck) \
14329 || exit 1
14331 @endif libiberty
14333 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14334 maybe-mostlyclean-libiberty:
14335 @if libiberty
14336 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14338 mostlyclean-libiberty:
14339 @[ -f ./libiberty/Makefile ] || exit 0; \
14340 r=`${PWD_COMMAND}`; export r; \
14341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14342 $(SET_LIB_PATH) \
14343 $(HOST_EXPORTS) \
14344 for flag in $(EXTRA_HOST_FLAGS) ; do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346 done; \
14347 echo "Doing mostlyclean in libiberty" ; \
14348 (cd libiberty && \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353 mostlyclean) \
14354 || exit 1
14356 @endif libiberty
14358 .PHONY: maybe-clean-libiberty clean-libiberty
14359 maybe-clean-libiberty:
14360 @if libiberty
14361 maybe-clean-libiberty: clean-libiberty
14363 clean-libiberty:
14364 @[ -f ./libiberty/Makefile ] || exit 0; \
14365 r=`${PWD_COMMAND}`; export r; \
14366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14367 $(SET_LIB_PATH) \
14368 $(HOST_EXPORTS) \
14369 for flag in $(EXTRA_HOST_FLAGS) ; do \
14370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14371 done; \
14372 echo "Doing clean in libiberty" ; \
14373 (cd libiberty && \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14376 "RANLIB=$${RANLIB}" \
14377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14378 clean) \
14379 || exit 1
14381 @endif libiberty
14383 .PHONY: maybe-distclean-libiberty distclean-libiberty
14384 maybe-distclean-libiberty:
14385 @if libiberty
14386 maybe-distclean-libiberty: distclean-libiberty
14388 distclean-libiberty:
14389 @[ -f ./libiberty/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 distclean in libiberty" ; \
14398 (cd libiberty && \
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 distclean) \
14404 || exit 1
14406 @endif libiberty
14408 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14409 maybe-maintainer-clean-libiberty:
14410 @if libiberty
14411 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14413 maintainer-clean-libiberty:
14414 @[ -f ./libiberty/Makefile ] || exit 0; \
14415 r=`${PWD_COMMAND}`; export r; \
14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14417 $(SET_LIB_PATH) \
14418 $(HOST_EXPORTS) \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing maintainer-clean in libiberty" ; \
14423 (cd libiberty && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 maintainer-clean) \
14429 || exit 1
14431 @endif libiberty
14434 .PHONY: configure-libtool maybe-configure-libtool
14435 maybe-configure-libtool:
14436 @if libtool
14437 maybe-configure-libtool: configure-libtool
14438 configure-libtool:
14439 @test ! -f libtool/Makefile || exit 0; \
14440 [ -d libtool ] || mkdir libtool; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 $(HOST_EXPORTS) \
14444 echo Configuring in libtool; \
14445 cd libtool || exit 1; \
14446 case $(srcdir) in \
14447 \.) \
14448 srcdiroption="--srcdir=."; \
14449 libsrcdir=".";; \
14450 /* | [A-Za-z]:[\\/]*) \
14451 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14452 libsrcdir="$$s/libtool";; \
14453 *) \
14454 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14455 libsrcdir="$$s/libtool";; \
14456 esac; \
14457 $(SHELL) $${libsrcdir}/configure \
14458 $(HOST_CONFIGARGS) $${srcdiroption} \
14459 || exit 1
14460 @endif libtool
14462 .PHONY: all-libtool maybe-all-libtool
14463 maybe-all-libtool:
14464 @if libtool
14465 TARGET-libtool=all
14466 maybe-all-libtool: all-libtool
14467 all-libtool: configure-libtool
14468 @r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14470 $(SET_LIB_PATH) \
14471 $(HOST_EXPORTS) \
14472 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14473 $(TARGET-libtool))
14474 @endif libtool
14476 .PHONY: check-libtool maybe-check-libtool
14477 maybe-check-libtool:
14478 @if libtool
14479 maybe-check-libtool: check-libtool
14481 check-libtool:
14482 @r=`${PWD_COMMAND}`; export r; \
14483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14484 $(SET_LIB_PATH) \
14485 $(HOST_EXPORTS) \
14486 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14488 @endif libtool
14490 .PHONY: install-libtool maybe-install-libtool
14491 maybe-install-libtool:
14492 @if libtool
14493 maybe-install-libtool: install-libtool
14495 install-libtool: installdirs
14496 @r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14498 $(SET_LIB_PATH) \
14499 $(HOST_EXPORTS) \
14500 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14502 @endif libtool
14504 # Other targets (info, dvi, etc.)
14506 .PHONY: maybe-info-libtool info-libtool
14507 maybe-info-libtool:
14508 @if libtool
14509 maybe-info-libtool: info-libtool
14511 info-libtool: \
14512 configure-libtool
14513 @[ -f ./libtool/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(SET_LIB_PATH) \
14517 $(HOST_EXPORTS) \
14518 for flag in $(EXTRA_HOST_FLAGS) ; do \
14519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14520 done; \
14521 echo "Doing info in libtool" ; \
14522 (cd libtool && \
14523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14525 "RANLIB=$${RANLIB}" \
14526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14527 info) \
14528 || exit 1
14530 @endif libtool
14532 .PHONY: maybe-dvi-libtool dvi-libtool
14533 maybe-dvi-libtool:
14534 @if libtool
14535 maybe-dvi-libtool: dvi-libtool
14537 dvi-libtool: \
14538 configure-libtool
14539 @[ -f ./libtool/Makefile ] || exit 0; \
14540 r=`${PWD_COMMAND}`; export r; \
14541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14542 $(SET_LIB_PATH) \
14543 $(HOST_EXPORTS) \
14544 for flag in $(EXTRA_HOST_FLAGS) ; do \
14545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14546 done; \
14547 echo "Doing dvi in libtool" ; \
14548 (cd libtool && \
14549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14551 "RANLIB=$${RANLIB}" \
14552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14553 dvi) \
14554 || exit 1
14556 @endif libtool
14558 .PHONY: maybe-html-libtool html-libtool
14559 maybe-html-libtool:
14560 @if libtool
14561 maybe-html-libtool: html-libtool
14563 html-libtool: \
14564 configure-libtool
14565 @[ -f ./libtool/Makefile ] || exit 0; \
14566 r=`${PWD_COMMAND}`; export r; \
14567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14568 $(SET_LIB_PATH) \
14569 $(HOST_EXPORTS) \
14570 for flag in $(EXTRA_HOST_FLAGS) ; do \
14571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14572 done; \
14573 echo "Doing html in libtool" ; \
14574 (cd libtool && \
14575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14577 "RANLIB=$${RANLIB}" \
14578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14579 html) \
14580 || exit 1
14582 @endif libtool
14584 .PHONY: maybe-TAGS-libtool TAGS-libtool
14585 maybe-TAGS-libtool:
14586 @if libtool
14587 maybe-TAGS-libtool: TAGS-libtool
14589 TAGS-libtool: \
14590 configure-libtool
14591 @[ -f ./libtool/Makefile ] || exit 0; \
14592 r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 $(SET_LIB_PATH) \
14595 $(HOST_EXPORTS) \
14596 for flag in $(EXTRA_HOST_FLAGS) ; do \
14597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14598 done; \
14599 echo "Doing TAGS in libtool" ; \
14600 (cd libtool && \
14601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14603 "RANLIB=$${RANLIB}" \
14604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14605 TAGS) \
14606 || exit 1
14608 @endif libtool
14610 .PHONY: maybe-install-info-libtool install-info-libtool
14611 maybe-install-info-libtool:
14612 @if libtool
14613 maybe-install-info-libtool: install-info-libtool
14615 install-info-libtool: \
14616 configure-libtool \
14617 info-libtool
14618 @[ -f ./libtool/Makefile ] || exit 0; \
14619 r=`${PWD_COMMAND}`; export r; \
14620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14621 $(SET_LIB_PATH) \
14622 $(HOST_EXPORTS) \
14623 for flag in $(EXTRA_HOST_FLAGS) ; do \
14624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14625 done; \
14626 echo "Doing install-info in libtool" ; \
14627 (cd libtool && \
14628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14630 "RANLIB=$${RANLIB}" \
14631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14632 install-info) \
14633 || exit 1
14635 @endif libtool
14637 .PHONY: maybe-installcheck-libtool installcheck-libtool
14638 maybe-installcheck-libtool:
14639 @if libtool
14640 maybe-installcheck-libtool: installcheck-libtool
14642 installcheck-libtool: \
14643 configure-libtool
14644 @[ -f ./libtool/Makefile ] || exit 0; \
14645 r=`${PWD_COMMAND}`; export r; \
14646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14647 $(SET_LIB_PATH) \
14648 $(HOST_EXPORTS) \
14649 for flag in $(EXTRA_HOST_FLAGS) ; do \
14650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14651 done; \
14652 echo "Doing installcheck in libtool" ; \
14653 (cd libtool && \
14654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14656 "RANLIB=$${RANLIB}" \
14657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14658 installcheck) \
14659 || exit 1
14661 @endif libtool
14663 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14664 maybe-mostlyclean-libtool:
14665 @if libtool
14666 maybe-mostlyclean-libtool: mostlyclean-libtool
14668 mostlyclean-libtool:
14669 @[ -f ./libtool/Makefile ] || exit 0; \
14670 r=`${PWD_COMMAND}`; export r; \
14671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14672 $(SET_LIB_PATH) \
14673 $(HOST_EXPORTS) \
14674 for flag in $(EXTRA_HOST_FLAGS) ; do \
14675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14676 done; \
14677 echo "Doing mostlyclean in libtool" ; \
14678 (cd libtool && \
14679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14681 "RANLIB=$${RANLIB}" \
14682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14683 mostlyclean) \
14684 || exit 1
14686 @endif libtool
14688 .PHONY: maybe-clean-libtool clean-libtool
14689 maybe-clean-libtool:
14690 @if libtool
14691 maybe-clean-libtool: clean-libtool
14693 clean-libtool:
14694 @[ -f ./libtool/Makefile ] || exit 0; \
14695 r=`${PWD_COMMAND}`; export r; \
14696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14697 $(SET_LIB_PATH) \
14698 $(HOST_EXPORTS) \
14699 for flag in $(EXTRA_HOST_FLAGS) ; do \
14700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14701 done; \
14702 echo "Doing clean in libtool" ; \
14703 (cd libtool && \
14704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14706 "RANLIB=$${RANLIB}" \
14707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14708 clean) \
14709 || exit 1
14711 @endif libtool
14713 .PHONY: maybe-distclean-libtool distclean-libtool
14714 maybe-distclean-libtool:
14715 @if libtool
14716 maybe-distclean-libtool: distclean-libtool
14718 distclean-libtool:
14719 @[ -f ./libtool/Makefile ] || exit 0; \
14720 r=`${PWD_COMMAND}`; export r; \
14721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14722 $(SET_LIB_PATH) \
14723 $(HOST_EXPORTS) \
14724 for flag in $(EXTRA_HOST_FLAGS) ; do \
14725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14726 done; \
14727 echo "Doing distclean in libtool" ; \
14728 (cd libtool && \
14729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14731 "RANLIB=$${RANLIB}" \
14732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14733 distclean) \
14734 || exit 1
14736 @endif libtool
14738 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14739 maybe-maintainer-clean-libtool:
14740 @if libtool
14741 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14743 maintainer-clean-libtool:
14744 @[ -f ./libtool/Makefile ] || exit 0; \
14745 r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14747 $(SET_LIB_PATH) \
14748 $(HOST_EXPORTS) \
14749 for flag in $(EXTRA_HOST_FLAGS) ; do \
14750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14751 done; \
14752 echo "Doing maintainer-clean in libtool" ; \
14753 (cd libtool && \
14754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14756 "RANLIB=$${RANLIB}" \
14757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14758 maintainer-clean) \
14759 || exit 1
14761 @endif libtool
14764 .PHONY: configure-m4 maybe-configure-m4
14765 maybe-configure-m4:
14766 @if m4
14767 maybe-configure-m4: configure-m4
14768 configure-m4:
14769 @test ! -f m4/Makefile || exit 0; \
14770 [ -d m4 ] || mkdir m4; \
14771 r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 $(HOST_EXPORTS) \
14774 echo Configuring in m4; \
14775 cd m4 || exit 1; \
14776 case $(srcdir) in \
14777 \.) \
14778 srcdiroption="--srcdir=."; \
14779 libsrcdir=".";; \
14780 /* | [A-Za-z]:[\\/]*) \
14781 srcdiroption="--srcdir=$(srcdir)/m4"; \
14782 libsrcdir="$$s/m4";; \
14783 *) \
14784 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14785 libsrcdir="$$s/m4";; \
14786 esac; \
14787 $(SHELL) $${libsrcdir}/configure \
14788 $(HOST_CONFIGARGS) $${srcdiroption} \
14789 || exit 1
14790 @endif m4
14792 .PHONY: all-m4 maybe-all-m4
14793 maybe-all-m4:
14794 @if m4
14795 TARGET-m4=all
14796 maybe-all-m4: all-m4
14797 all-m4: configure-m4
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(SET_LIB_PATH) \
14801 $(HOST_EXPORTS) \
14802 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14803 $(TARGET-m4))
14804 @endif m4
14806 .PHONY: check-m4 maybe-check-m4
14807 maybe-check-m4:
14808 @if m4
14809 maybe-check-m4: check-m4
14811 check-m4:
14812 @r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14814 $(SET_LIB_PATH) \
14815 $(HOST_EXPORTS) \
14816 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14818 @endif m4
14820 .PHONY: install-m4 maybe-install-m4
14821 maybe-install-m4:
14822 @if m4
14823 maybe-install-m4: install-m4
14825 install-m4: installdirs
14826 @r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 $(SET_LIB_PATH) \
14829 $(HOST_EXPORTS) \
14830 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14832 @endif m4
14834 # Other targets (info, dvi, etc.)
14836 .PHONY: maybe-info-m4 info-m4
14837 maybe-info-m4:
14838 @if m4
14839 maybe-info-m4: info-m4
14841 info-m4: \
14842 configure-m4
14843 @[ -f ./m4/Makefile ] || exit 0; \
14844 r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 $(SET_LIB_PATH) \
14847 $(HOST_EXPORTS) \
14848 for flag in $(EXTRA_HOST_FLAGS) ; do \
14849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14850 done; \
14851 echo "Doing info in m4" ; \
14852 (cd m4 && \
14853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14855 "RANLIB=$${RANLIB}" \
14856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14857 info) \
14858 || exit 1
14860 @endif m4
14862 .PHONY: maybe-dvi-m4 dvi-m4
14863 maybe-dvi-m4:
14864 @if m4
14865 maybe-dvi-m4: dvi-m4
14867 dvi-m4: \
14868 configure-m4
14869 @[ -f ./m4/Makefile ] || exit 0; \
14870 r=`${PWD_COMMAND}`; export r; \
14871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14872 $(SET_LIB_PATH) \
14873 $(HOST_EXPORTS) \
14874 for flag in $(EXTRA_HOST_FLAGS) ; do \
14875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14876 done; \
14877 echo "Doing dvi in m4" ; \
14878 (cd m4 && \
14879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14881 "RANLIB=$${RANLIB}" \
14882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14883 dvi) \
14884 || exit 1
14886 @endif m4
14888 .PHONY: maybe-html-m4 html-m4
14889 maybe-html-m4:
14890 @if m4
14891 maybe-html-m4: html-m4
14893 html-m4: \
14894 configure-m4
14895 @[ -f ./m4/Makefile ] || exit 0; \
14896 r=`${PWD_COMMAND}`; export r; \
14897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14898 $(SET_LIB_PATH) \
14899 $(HOST_EXPORTS) \
14900 for flag in $(EXTRA_HOST_FLAGS) ; do \
14901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14902 done; \
14903 echo "Doing html in m4" ; \
14904 (cd m4 && \
14905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14907 "RANLIB=$${RANLIB}" \
14908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14909 html) \
14910 || exit 1
14912 @endif m4
14914 .PHONY: maybe-TAGS-m4 TAGS-m4
14915 maybe-TAGS-m4:
14916 @if m4
14917 maybe-TAGS-m4: TAGS-m4
14919 TAGS-m4: \
14920 configure-m4
14921 @[ -f ./m4/Makefile ] || exit 0; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 $(SET_LIB_PATH) \
14925 $(HOST_EXPORTS) \
14926 for flag in $(EXTRA_HOST_FLAGS) ; do \
14927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14928 done; \
14929 echo "Doing TAGS in m4" ; \
14930 (cd m4 && \
14931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14933 "RANLIB=$${RANLIB}" \
14934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14935 TAGS) \
14936 || exit 1
14938 @endif m4
14940 .PHONY: maybe-install-info-m4 install-info-m4
14941 maybe-install-info-m4:
14942 @if m4
14943 maybe-install-info-m4: install-info-m4
14945 install-info-m4: \
14946 configure-m4 \
14947 info-m4
14948 @[ -f ./m4/Makefile ] || exit 0; \
14949 r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 $(SET_LIB_PATH) \
14952 $(HOST_EXPORTS) \
14953 for flag in $(EXTRA_HOST_FLAGS) ; do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955 done; \
14956 echo "Doing install-info in m4" ; \
14957 (cd m4 && \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14962 install-info) \
14963 || exit 1
14965 @endif m4
14967 .PHONY: maybe-installcheck-m4 installcheck-m4
14968 maybe-installcheck-m4:
14969 @if m4
14970 maybe-installcheck-m4: installcheck-m4
14972 installcheck-m4: \
14973 configure-m4
14974 @[ -f ./m4/Makefile ] || exit 0; \
14975 r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 $(SET_LIB_PATH) \
14978 $(HOST_EXPORTS) \
14979 for flag in $(EXTRA_HOST_FLAGS) ; do \
14980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14981 done; \
14982 echo "Doing installcheck in m4" ; \
14983 (cd m4 && \
14984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14986 "RANLIB=$${RANLIB}" \
14987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14988 installcheck) \
14989 || exit 1
14991 @endif m4
14993 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14994 maybe-mostlyclean-m4:
14995 @if m4
14996 maybe-mostlyclean-m4: mostlyclean-m4
14998 mostlyclean-m4:
14999 @[ -f ./m4/Makefile ] || exit 0; \
15000 r=`${PWD_COMMAND}`; export r; \
15001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15002 $(SET_LIB_PATH) \
15003 $(HOST_EXPORTS) \
15004 for flag in $(EXTRA_HOST_FLAGS) ; do \
15005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15006 done; \
15007 echo "Doing mostlyclean in m4" ; \
15008 (cd m4 && \
15009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15011 "RANLIB=$${RANLIB}" \
15012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15013 mostlyclean) \
15014 || exit 1
15016 @endif m4
15018 .PHONY: maybe-clean-m4 clean-m4
15019 maybe-clean-m4:
15020 @if m4
15021 maybe-clean-m4: clean-m4
15023 clean-m4:
15024 @[ -f ./m4/Makefile ] || exit 0; \
15025 r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15027 $(SET_LIB_PATH) \
15028 $(HOST_EXPORTS) \
15029 for flag in $(EXTRA_HOST_FLAGS) ; do \
15030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15031 done; \
15032 echo "Doing clean in m4" ; \
15033 (cd m4 && \
15034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15036 "RANLIB=$${RANLIB}" \
15037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15038 clean) \
15039 || exit 1
15041 @endif m4
15043 .PHONY: maybe-distclean-m4 distclean-m4
15044 maybe-distclean-m4:
15045 @if m4
15046 maybe-distclean-m4: distclean-m4
15048 distclean-m4:
15049 @[ -f ./m4/Makefile ] || exit 0; \
15050 r=`${PWD_COMMAND}`; export r; \
15051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15052 $(SET_LIB_PATH) \
15053 $(HOST_EXPORTS) \
15054 for flag in $(EXTRA_HOST_FLAGS) ; do \
15055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15056 done; \
15057 echo "Doing distclean in m4" ; \
15058 (cd m4 && \
15059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15061 "RANLIB=$${RANLIB}" \
15062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15063 distclean) \
15064 || exit 1
15066 @endif m4
15068 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15069 maybe-maintainer-clean-m4:
15070 @if m4
15071 maybe-maintainer-clean-m4: maintainer-clean-m4
15073 maintainer-clean-m4:
15074 @[ -f ./m4/Makefile ] || exit 0; \
15075 r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15077 $(SET_LIB_PATH) \
15078 $(HOST_EXPORTS) \
15079 for flag in $(EXTRA_HOST_FLAGS) ; do \
15080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15081 done; \
15082 echo "Doing maintainer-clean in m4" ; \
15083 (cd m4 && \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15086 "RANLIB=$${RANLIB}" \
15087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15088 maintainer-clean) \
15089 || exit 1
15091 @endif m4
15094 .PHONY: configure-make maybe-configure-make
15095 maybe-configure-make:
15096 @if make
15097 maybe-configure-make: configure-make
15098 configure-make:
15099 @test ! -f make/Makefile || exit 0; \
15100 [ -d make ] || mkdir make; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 $(HOST_EXPORTS) \
15104 echo Configuring in make; \
15105 cd make || exit 1; \
15106 case $(srcdir) in \
15107 \.) \
15108 srcdiroption="--srcdir=."; \
15109 libsrcdir=".";; \
15110 /* | [A-Za-z]:[\\/]*) \
15111 srcdiroption="--srcdir=$(srcdir)/make"; \
15112 libsrcdir="$$s/make";; \
15113 *) \
15114 srcdiroption="--srcdir=../$(srcdir)/make"; \
15115 libsrcdir="$$s/make";; \
15116 esac; \
15117 $(SHELL) $${libsrcdir}/configure \
15118 $(HOST_CONFIGARGS) $${srcdiroption} \
15119 || exit 1
15120 @endif make
15122 .PHONY: all-make maybe-all-make
15123 maybe-all-make:
15124 @if make
15125 TARGET-make=all
15126 maybe-all-make: all-make
15127 all-make: configure-make
15128 @r=`${PWD_COMMAND}`; export r; \
15129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15130 $(SET_LIB_PATH) \
15131 $(HOST_EXPORTS) \
15132 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15133 $(TARGET-make))
15134 @endif make
15136 .PHONY: check-make maybe-check-make
15137 maybe-check-make:
15138 @if make
15139 maybe-check-make: check-make
15141 check-make:
15142 @r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15144 $(SET_LIB_PATH) \
15145 $(HOST_EXPORTS) \
15146 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15148 @endif make
15150 .PHONY: install-make maybe-install-make
15151 maybe-install-make:
15152 @if make
15153 maybe-install-make: install-make
15155 install-make: installdirs
15156 @r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158 $(SET_LIB_PATH) \
15159 $(HOST_EXPORTS) \
15160 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15162 @endif make
15164 # Other targets (info, dvi, etc.)
15166 .PHONY: maybe-info-make info-make
15167 maybe-info-make:
15168 @if make
15169 maybe-info-make: info-make
15171 info-make: \
15172 configure-make
15173 @[ -f ./make/Makefile ] || exit 0; \
15174 r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15176 $(SET_LIB_PATH) \
15177 $(HOST_EXPORTS) \
15178 for flag in $(EXTRA_HOST_FLAGS) ; do \
15179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15180 done; \
15181 echo "Doing info in make" ; \
15182 (cd make && \
15183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15185 "RANLIB=$${RANLIB}" \
15186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15187 info) \
15188 || exit 1
15190 @endif make
15192 .PHONY: maybe-dvi-make dvi-make
15193 maybe-dvi-make:
15194 @if make
15195 maybe-dvi-make: dvi-make
15197 dvi-make: \
15198 configure-make
15199 @[ -f ./make/Makefile ] || exit 0; \
15200 r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15202 $(SET_LIB_PATH) \
15203 $(HOST_EXPORTS) \
15204 for flag in $(EXTRA_HOST_FLAGS) ; do \
15205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15206 done; \
15207 echo "Doing dvi in make" ; \
15208 (cd make && \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211 "RANLIB=$${RANLIB}" \
15212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15213 dvi) \
15214 || exit 1
15216 @endif make
15218 .PHONY: maybe-html-make html-make
15219 maybe-html-make:
15220 @if make
15221 maybe-html-make: html-make
15223 html-make: \
15224 configure-make
15225 @[ -f ./make/Makefile ] || exit 0; \
15226 r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15228 $(SET_LIB_PATH) \
15229 $(HOST_EXPORTS) \
15230 for flag in $(EXTRA_HOST_FLAGS) ; do \
15231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15232 done; \
15233 echo "Doing html in make" ; \
15234 (cd make && \
15235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15237 "RANLIB=$${RANLIB}" \
15238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15239 html) \
15240 || exit 1
15242 @endif make
15244 .PHONY: maybe-TAGS-make TAGS-make
15245 maybe-TAGS-make:
15246 @if make
15247 maybe-TAGS-make: TAGS-make
15249 TAGS-make: \
15250 configure-make
15251 @[ -f ./make/Makefile ] || exit 0; \
15252 r=`${PWD_COMMAND}`; export r; \
15253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15254 $(SET_LIB_PATH) \
15255 $(HOST_EXPORTS) \
15256 for flag in $(EXTRA_HOST_FLAGS) ; do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 done; \
15259 echo "Doing TAGS in make" ; \
15260 (cd make && \
15261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15263 "RANLIB=$${RANLIB}" \
15264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15265 TAGS) \
15266 || exit 1
15268 @endif make
15270 .PHONY: maybe-install-info-make install-info-make
15271 maybe-install-info-make:
15272 @if make
15273 maybe-install-info-make: install-info-make
15275 install-info-make: \
15276 configure-make \
15277 info-make
15278 @[ -f ./make/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15281 $(SET_LIB_PATH) \
15282 $(HOST_EXPORTS) \
15283 for flag in $(EXTRA_HOST_FLAGS) ; do \
15284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 done; \
15286 echo "Doing install-info in make" ; \
15287 (cd make && \
15288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15290 "RANLIB=$${RANLIB}" \
15291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15292 install-info) \
15293 || exit 1
15295 @endif make
15297 .PHONY: maybe-installcheck-make installcheck-make
15298 maybe-installcheck-make:
15299 @if make
15300 maybe-installcheck-make: installcheck-make
15302 installcheck-make: \
15303 configure-make
15304 @[ -f ./make/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307 $(SET_LIB_PATH) \
15308 $(HOST_EXPORTS) \
15309 for flag in $(EXTRA_HOST_FLAGS) ; do \
15310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15311 done; \
15312 echo "Doing installcheck in make" ; \
15313 (cd make && \
15314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15316 "RANLIB=$${RANLIB}" \
15317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15318 installcheck) \
15319 || exit 1
15321 @endif make
15323 .PHONY: maybe-mostlyclean-make mostlyclean-make
15324 maybe-mostlyclean-make:
15325 @if make
15326 maybe-mostlyclean-make: mostlyclean-make
15328 mostlyclean-make:
15329 @[ -f ./make/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(SET_LIB_PATH) \
15333 $(HOST_EXPORTS) \
15334 for flag in $(EXTRA_HOST_FLAGS) ; do \
15335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15336 done; \
15337 echo "Doing mostlyclean in make" ; \
15338 (cd make && \
15339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341 "RANLIB=$${RANLIB}" \
15342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15343 mostlyclean) \
15344 || exit 1
15346 @endif make
15348 .PHONY: maybe-clean-make clean-make
15349 maybe-clean-make:
15350 @if make
15351 maybe-clean-make: clean-make
15353 clean-make:
15354 @[ -f ./make/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 $(SET_LIB_PATH) \
15358 $(HOST_EXPORTS) \
15359 for flag in $(EXTRA_HOST_FLAGS) ; do \
15360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361 done; \
15362 echo "Doing clean in make" ; \
15363 (cd make && \
15364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366 "RANLIB=$${RANLIB}" \
15367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15368 clean) \
15369 || exit 1
15371 @endif make
15373 .PHONY: maybe-distclean-make distclean-make
15374 maybe-distclean-make:
15375 @if make
15376 maybe-distclean-make: distclean-make
15378 distclean-make:
15379 @[ -f ./make/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(SET_LIB_PATH) \
15383 $(HOST_EXPORTS) \
15384 for flag in $(EXTRA_HOST_FLAGS) ; do \
15385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 done; \
15387 echo "Doing distclean in make" ; \
15388 (cd make && \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15391 "RANLIB=$${RANLIB}" \
15392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15393 distclean) \
15394 || exit 1
15396 @endif make
15398 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15399 maybe-maintainer-clean-make:
15400 @if make
15401 maybe-maintainer-clean-make: maintainer-clean-make
15403 maintainer-clean-make:
15404 @[ -f ./make/Makefile ] || exit 0; \
15405 r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407 $(SET_LIB_PATH) \
15408 $(HOST_EXPORTS) \
15409 for flag in $(EXTRA_HOST_FLAGS) ; do \
15410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 done; \
15412 echo "Doing maintainer-clean in make" ; \
15413 (cd make && \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15418 maintainer-clean) \
15419 || exit 1
15421 @endif make
15424 .PHONY: configure-mmalloc maybe-configure-mmalloc
15425 maybe-configure-mmalloc:
15426 @if mmalloc
15427 maybe-configure-mmalloc: configure-mmalloc
15428 configure-mmalloc:
15429 @test ! -f mmalloc/Makefile || exit 0; \
15430 [ -d mmalloc ] || mkdir mmalloc; \
15431 r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 $(HOST_EXPORTS) \
15434 echo Configuring in mmalloc; \
15435 cd mmalloc || exit 1; \
15436 case $(srcdir) in \
15437 \.) \
15438 srcdiroption="--srcdir=."; \
15439 libsrcdir=".";; \
15440 /* | [A-Za-z]:[\\/]*) \
15441 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15442 libsrcdir="$$s/mmalloc";; \
15443 *) \
15444 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15445 libsrcdir="$$s/mmalloc";; \
15446 esac; \
15447 $(SHELL) $${libsrcdir}/configure \
15448 $(HOST_CONFIGARGS) $${srcdiroption} \
15449 || exit 1
15450 @endif mmalloc
15452 .PHONY: all-mmalloc maybe-all-mmalloc
15453 maybe-all-mmalloc:
15454 @if mmalloc
15455 TARGET-mmalloc=all
15456 maybe-all-mmalloc: all-mmalloc
15457 all-mmalloc: configure-mmalloc
15458 @r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 $(SET_LIB_PATH) \
15461 $(HOST_EXPORTS) \
15462 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15463 $(TARGET-mmalloc))
15464 @endif mmalloc
15466 .PHONY: check-mmalloc maybe-check-mmalloc
15467 maybe-check-mmalloc:
15468 @if mmalloc
15469 maybe-check-mmalloc: check-mmalloc
15471 check-mmalloc:
15473 @endif mmalloc
15475 .PHONY: install-mmalloc maybe-install-mmalloc
15476 maybe-install-mmalloc:
15477 @if mmalloc
15478 maybe-install-mmalloc: install-mmalloc
15480 install-mmalloc: installdirs
15481 @r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 $(SET_LIB_PATH) \
15484 $(HOST_EXPORTS) \
15485 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15487 @endif mmalloc
15489 # Other targets (info, dvi, etc.)
15491 .PHONY: maybe-info-mmalloc info-mmalloc
15492 maybe-info-mmalloc:
15493 @if mmalloc
15494 maybe-info-mmalloc: info-mmalloc
15496 info-mmalloc: \
15497 configure-mmalloc
15498 @[ -f ./mmalloc/Makefile ] || exit 0; \
15499 r=`${PWD_COMMAND}`; export r; \
15500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15501 $(SET_LIB_PATH) \
15502 $(HOST_EXPORTS) \
15503 for flag in $(EXTRA_HOST_FLAGS) ; do \
15504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15505 done; \
15506 echo "Doing info in mmalloc" ; \
15507 (cd mmalloc && \
15508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15510 "RANLIB=$${RANLIB}" \
15511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15512 info) \
15513 || exit 1
15515 @endif mmalloc
15517 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15518 maybe-dvi-mmalloc:
15519 @if mmalloc
15520 maybe-dvi-mmalloc: dvi-mmalloc
15522 dvi-mmalloc: \
15523 configure-mmalloc
15524 @[ -f ./mmalloc/Makefile ] || exit 0; \
15525 r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 $(SET_LIB_PATH) \
15528 $(HOST_EXPORTS) \
15529 for flag in $(EXTRA_HOST_FLAGS) ; do \
15530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15531 done; \
15532 echo "Doing dvi in mmalloc" ; \
15533 (cd mmalloc && \
15534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15536 "RANLIB=$${RANLIB}" \
15537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15538 dvi) \
15539 || exit 1
15541 @endif mmalloc
15543 .PHONY: maybe-html-mmalloc html-mmalloc
15544 maybe-html-mmalloc:
15545 @if mmalloc
15546 maybe-html-mmalloc: html-mmalloc
15548 html-mmalloc: \
15549 configure-mmalloc
15550 @[ -f ./mmalloc/Makefile ] || exit 0; \
15551 r=`${PWD_COMMAND}`; export r; \
15552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15553 $(SET_LIB_PATH) \
15554 $(HOST_EXPORTS) \
15555 for flag in $(EXTRA_HOST_FLAGS) ; do \
15556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15557 done; \
15558 echo "Doing html in mmalloc" ; \
15559 (cd mmalloc && \
15560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15562 "RANLIB=$${RANLIB}" \
15563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15564 html) \
15565 || exit 1
15567 @endif mmalloc
15569 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15570 maybe-TAGS-mmalloc:
15571 @if mmalloc
15572 maybe-TAGS-mmalloc: TAGS-mmalloc
15574 TAGS-mmalloc: \
15575 configure-mmalloc
15576 @[ -f ./mmalloc/Makefile ] || exit 0; \
15577 r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 $(SET_LIB_PATH) \
15580 $(HOST_EXPORTS) \
15581 for flag in $(EXTRA_HOST_FLAGS) ; do \
15582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15583 done; \
15584 echo "Doing TAGS in mmalloc" ; \
15585 (cd mmalloc && \
15586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15588 "RANLIB=$${RANLIB}" \
15589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15590 TAGS) \
15591 || exit 1
15593 @endif mmalloc
15595 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15596 maybe-install-info-mmalloc:
15597 @if mmalloc
15598 maybe-install-info-mmalloc: install-info-mmalloc
15600 install-info-mmalloc: \
15601 configure-mmalloc \
15602 info-mmalloc
15603 @[ -f ./mmalloc/Makefile ] || exit 0; \
15604 r=`${PWD_COMMAND}`; export r; \
15605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15606 $(SET_LIB_PATH) \
15607 $(HOST_EXPORTS) \
15608 for flag in $(EXTRA_HOST_FLAGS) ; do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 done; \
15611 echo "Doing install-info in mmalloc" ; \
15612 (cd mmalloc && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15617 install-info) \
15618 || exit 1
15620 @endif mmalloc
15622 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15623 maybe-installcheck-mmalloc:
15624 @if mmalloc
15625 maybe-installcheck-mmalloc: installcheck-mmalloc
15627 installcheck-mmalloc: \
15628 configure-mmalloc
15629 @[ -f ./mmalloc/Makefile ] || exit 0; \
15630 r=`${PWD_COMMAND}`; export r; \
15631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15632 $(SET_LIB_PATH) \
15633 $(HOST_EXPORTS) \
15634 for flag in $(EXTRA_HOST_FLAGS) ; do \
15635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636 done; \
15637 echo "Doing installcheck in mmalloc" ; \
15638 (cd mmalloc && \
15639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641 "RANLIB=$${RANLIB}" \
15642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15643 installcheck) \
15644 || exit 1
15646 @endif mmalloc
15648 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15649 maybe-mostlyclean-mmalloc:
15650 @if mmalloc
15651 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15653 mostlyclean-mmalloc:
15654 @[ -f ./mmalloc/Makefile ] || exit 0; \
15655 r=`${PWD_COMMAND}`; export r; \
15656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15657 $(SET_LIB_PATH) \
15658 $(HOST_EXPORTS) \
15659 for flag in $(EXTRA_HOST_FLAGS) ; do \
15660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 done; \
15662 echo "Doing mostlyclean in mmalloc" ; \
15663 (cd mmalloc && \
15664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15666 "RANLIB=$${RANLIB}" \
15667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15668 mostlyclean) \
15669 || exit 1
15671 @endif mmalloc
15673 .PHONY: maybe-clean-mmalloc clean-mmalloc
15674 maybe-clean-mmalloc:
15675 @if mmalloc
15676 maybe-clean-mmalloc: clean-mmalloc
15678 clean-mmalloc:
15679 @[ -f ./mmalloc/Makefile ] || exit 0; \
15680 r=`${PWD_COMMAND}`; export r; \
15681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15682 $(SET_LIB_PATH) \
15683 $(HOST_EXPORTS) \
15684 for flag in $(EXTRA_HOST_FLAGS) ; do \
15685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15686 done; \
15687 echo "Doing clean in mmalloc" ; \
15688 (cd mmalloc && \
15689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15691 "RANLIB=$${RANLIB}" \
15692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15693 clean) \
15694 || exit 1
15696 @endif mmalloc
15698 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15699 maybe-distclean-mmalloc:
15700 @if mmalloc
15701 maybe-distclean-mmalloc: distclean-mmalloc
15703 distclean-mmalloc:
15704 @[ -f ./mmalloc/Makefile ] || exit 0; \
15705 r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15707 $(SET_LIB_PATH) \
15708 $(HOST_EXPORTS) \
15709 for flag in $(EXTRA_HOST_FLAGS) ; do \
15710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15711 done; \
15712 echo "Doing distclean in mmalloc" ; \
15713 (cd mmalloc && \
15714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15716 "RANLIB=$${RANLIB}" \
15717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15718 distclean) \
15719 || exit 1
15721 @endif mmalloc
15723 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15724 maybe-maintainer-clean-mmalloc:
15725 @if mmalloc
15726 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15728 maintainer-clean-mmalloc:
15729 @[ -f ./mmalloc/Makefile ] || exit 0; \
15730 r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15732 $(SET_LIB_PATH) \
15733 $(HOST_EXPORTS) \
15734 for flag in $(EXTRA_HOST_FLAGS) ; do \
15735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15736 done; \
15737 echo "Doing maintainer-clean in mmalloc" ; \
15738 (cd mmalloc && \
15739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15741 "RANLIB=$${RANLIB}" \
15742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15743 maintainer-clean) \
15744 || exit 1
15746 @endif mmalloc
15749 .PHONY: configure-patch maybe-configure-patch
15750 maybe-configure-patch:
15751 @if patch
15752 maybe-configure-patch: configure-patch
15753 configure-patch:
15754 @test ! -f patch/Makefile || exit 0; \
15755 [ -d patch ] || mkdir patch; \
15756 r=`${PWD_COMMAND}`; export r; \
15757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15758 $(HOST_EXPORTS) \
15759 echo Configuring in patch; \
15760 cd patch || exit 1; \
15761 case $(srcdir) in \
15762 \.) \
15763 srcdiroption="--srcdir=."; \
15764 libsrcdir=".";; \
15765 /* | [A-Za-z]:[\\/]*) \
15766 srcdiroption="--srcdir=$(srcdir)/patch"; \
15767 libsrcdir="$$s/patch";; \
15768 *) \
15769 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15770 libsrcdir="$$s/patch";; \
15771 esac; \
15772 $(SHELL) $${libsrcdir}/configure \
15773 $(HOST_CONFIGARGS) $${srcdiroption} \
15774 || exit 1
15775 @endif patch
15777 .PHONY: all-patch maybe-all-patch
15778 maybe-all-patch:
15779 @if patch
15780 TARGET-patch=all
15781 maybe-all-patch: all-patch
15782 all-patch: configure-patch
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15785 $(SET_LIB_PATH) \
15786 $(HOST_EXPORTS) \
15787 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15788 $(TARGET-patch))
15789 @endif patch
15791 .PHONY: check-patch maybe-check-patch
15792 maybe-check-patch:
15793 @if patch
15794 maybe-check-patch: check-patch
15796 check-patch:
15797 @r=`${PWD_COMMAND}`; export r; \
15798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15799 $(SET_LIB_PATH) \
15800 $(HOST_EXPORTS) \
15801 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15803 @endif patch
15805 .PHONY: install-patch maybe-install-patch
15806 maybe-install-patch:
15807 @if patch
15808 maybe-install-patch: install-patch
15810 install-patch: installdirs
15811 @r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 $(SET_LIB_PATH) \
15814 $(HOST_EXPORTS) \
15815 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15817 @endif patch
15819 # Other targets (info, dvi, etc.)
15821 .PHONY: maybe-info-patch info-patch
15822 maybe-info-patch:
15823 @if patch
15824 maybe-info-patch: info-patch
15826 info-patch: \
15827 configure-patch
15828 @[ -f ./patch/Makefile ] || exit 0; \
15829 r=`${PWD_COMMAND}`; export r; \
15830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15831 $(SET_LIB_PATH) \
15832 $(HOST_EXPORTS) \
15833 for flag in $(EXTRA_HOST_FLAGS) ; do \
15834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15835 done; \
15836 echo "Doing info in patch" ; \
15837 (cd patch && \
15838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15840 "RANLIB=$${RANLIB}" \
15841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15842 info) \
15843 || exit 1
15845 @endif patch
15847 .PHONY: maybe-dvi-patch dvi-patch
15848 maybe-dvi-patch:
15849 @if patch
15850 maybe-dvi-patch: dvi-patch
15852 dvi-patch: \
15853 configure-patch
15854 @[ -f ./patch/Makefile ] || exit 0; \
15855 r=`${PWD_COMMAND}`; export r; \
15856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15857 $(SET_LIB_PATH) \
15858 $(HOST_EXPORTS) \
15859 for flag in $(EXTRA_HOST_FLAGS) ; do \
15860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15861 done; \
15862 echo "Doing dvi in patch" ; \
15863 (cd patch && \
15864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15866 "RANLIB=$${RANLIB}" \
15867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15868 dvi) \
15869 || exit 1
15871 @endif patch
15873 .PHONY: maybe-html-patch html-patch
15874 maybe-html-patch:
15875 @if patch
15876 maybe-html-patch: html-patch
15878 html-patch: \
15879 configure-patch
15880 @[ -f ./patch/Makefile ] || exit 0; \
15881 r=`${PWD_COMMAND}`; export r; \
15882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15883 $(SET_LIB_PATH) \
15884 $(HOST_EXPORTS) \
15885 for flag in $(EXTRA_HOST_FLAGS) ; do \
15886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15887 done; \
15888 echo "Doing html in patch" ; \
15889 (cd patch && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15892 "RANLIB=$${RANLIB}" \
15893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15894 html) \
15895 || exit 1
15897 @endif patch
15899 .PHONY: maybe-TAGS-patch TAGS-patch
15900 maybe-TAGS-patch:
15901 @if patch
15902 maybe-TAGS-patch: TAGS-patch
15904 TAGS-patch: \
15905 configure-patch
15906 @[ -f ./patch/Makefile ] || exit 0; \
15907 r=`${PWD_COMMAND}`; export r; \
15908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15909 $(SET_LIB_PATH) \
15910 $(HOST_EXPORTS) \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 done; \
15914 echo "Doing TAGS in patch" ; \
15915 (cd patch && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15920 TAGS) \
15921 || exit 1
15923 @endif patch
15925 .PHONY: maybe-install-info-patch install-info-patch
15926 maybe-install-info-patch:
15927 @if patch
15928 maybe-install-info-patch: install-info-patch
15930 install-info-patch: \
15931 configure-patch \
15932 info-patch
15933 @[ -f ./patch/Makefile ] || exit 0; \
15934 r=`${PWD_COMMAND}`; export r; \
15935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15936 $(SET_LIB_PATH) \
15937 $(HOST_EXPORTS) \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 done; \
15941 echo "Doing install-info in patch" ; \
15942 (cd patch && \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15947 install-info) \
15948 || exit 1
15950 @endif patch
15952 .PHONY: maybe-installcheck-patch installcheck-patch
15953 maybe-installcheck-patch:
15954 @if patch
15955 maybe-installcheck-patch: installcheck-patch
15957 installcheck-patch: \
15958 configure-patch
15959 @[ -f ./patch/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 $(SET_LIB_PATH) \
15963 $(HOST_EXPORTS) \
15964 for flag in $(EXTRA_HOST_FLAGS) ; do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 done; \
15967 echo "Doing installcheck in patch" ; \
15968 (cd patch && \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15973 installcheck) \
15974 || exit 1
15976 @endif patch
15978 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15979 maybe-mostlyclean-patch:
15980 @if patch
15981 maybe-mostlyclean-patch: mostlyclean-patch
15983 mostlyclean-patch:
15984 @[ -f ./patch/Makefile ] || exit 0; \
15985 r=`${PWD_COMMAND}`; export r; \
15986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15987 $(SET_LIB_PATH) \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing mostlyclean in patch" ; \
15993 (cd patch && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15998 mostlyclean) \
15999 || exit 1
16001 @endif patch
16003 .PHONY: maybe-clean-patch clean-patch
16004 maybe-clean-patch:
16005 @if patch
16006 maybe-clean-patch: clean-patch
16008 clean-patch:
16009 @[ -f ./patch/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16012 $(SET_LIB_PATH) \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing clean in patch" ; \
16018 (cd patch && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023 clean) \
16024 || exit 1
16026 @endif patch
16028 .PHONY: maybe-distclean-patch distclean-patch
16029 maybe-distclean-patch:
16030 @if patch
16031 maybe-distclean-patch: distclean-patch
16033 distclean-patch:
16034 @[ -f ./patch/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 $(SET_LIB_PATH) \
16038 $(HOST_EXPORTS) \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 done; \
16042 echo "Doing distclean in patch" ; \
16043 (cd patch && \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16048 distclean) \
16049 || exit 1
16051 @endif patch
16053 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16054 maybe-maintainer-clean-patch:
16055 @if patch
16056 maybe-maintainer-clean-patch: maintainer-clean-patch
16058 maintainer-clean-patch:
16059 @[ -f ./patch/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16062 $(SET_LIB_PATH) \
16063 $(HOST_EXPORTS) \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 done; \
16067 echo "Doing maintainer-clean in patch" ; \
16068 (cd patch && \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16073 maintainer-clean) \
16074 || exit 1
16076 @endif patch
16079 .PHONY: configure-perl maybe-configure-perl
16080 maybe-configure-perl:
16081 @if perl
16082 maybe-configure-perl: configure-perl
16083 configure-perl:
16084 @test ! -f perl/Makefile || exit 0; \
16085 [ -d perl ] || mkdir perl; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 echo Configuring in perl; \
16090 cd perl || exit 1; \
16091 case $(srcdir) in \
16092 \.) \
16093 srcdiroption="--srcdir=."; \
16094 libsrcdir=".";; \
16095 /* | [A-Za-z]:[\\/]*) \
16096 srcdiroption="--srcdir=$(srcdir)/perl"; \
16097 libsrcdir="$$s/perl";; \
16098 *) \
16099 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16100 libsrcdir="$$s/perl";; \
16101 esac; \
16102 $(SHELL) $${libsrcdir}/configure \
16103 $(HOST_CONFIGARGS) $${srcdiroption} \
16104 || exit 1
16105 @endif perl
16107 .PHONY: all-perl maybe-all-perl
16108 maybe-all-perl:
16109 @if perl
16110 TARGET-perl=all
16111 maybe-all-perl: all-perl
16112 all-perl: configure-perl
16113 @r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16115 $(SET_LIB_PATH) \
16116 $(HOST_EXPORTS) \
16117 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16118 $(TARGET-perl))
16119 @endif perl
16121 .PHONY: check-perl maybe-check-perl
16122 maybe-check-perl:
16123 @if perl
16124 maybe-check-perl: check-perl
16126 check-perl:
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(SET_LIB_PATH) \
16130 $(HOST_EXPORTS) \
16131 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16133 @endif perl
16135 .PHONY: install-perl maybe-install-perl
16136 maybe-install-perl:
16137 @if perl
16138 maybe-install-perl: install-perl
16140 install-perl: installdirs
16141 @r=`${PWD_COMMAND}`; export r; \
16142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16143 $(SET_LIB_PATH) \
16144 $(HOST_EXPORTS) \
16145 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16147 @endif perl
16149 # Other targets (info, dvi, etc.)
16151 .PHONY: maybe-info-perl info-perl
16152 maybe-info-perl:
16153 @if perl
16154 maybe-info-perl: info-perl
16156 info-perl: \
16157 configure-perl
16158 @[ -f ./perl/Makefile ] || exit 0; \
16159 r=`${PWD_COMMAND}`; export r; \
16160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16161 $(SET_LIB_PATH) \
16162 $(HOST_EXPORTS) \
16163 for flag in $(EXTRA_HOST_FLAGS) ; do \
16164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16165 done; \
16166 echo "Doing info in perl" ; \
16167 (cd perl && \
16168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16170 "RANLIB=$${RANLIB}" \
16171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16172 info) \
16173 || exit 1
16175 @endif perl
16177 .PHONY: maybe-dvi-perl dvi-perl
16178 maybe-dvi-perl:
16179 @if perl
16180 maybe-dvi-perl: dvi-perl
16182 dvi-perl: \
16183 configure-perl
16184 @[ -f ./perl/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(SET_LIB_PATH) \
16188 $(HOST_EXPORTS) \
16189 for flag in $(EXTRA_HOST_FLAGS) ; do \
16190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16191 done; \
16192 echo "Doing dvi in perl" ; \
16193 (cd perl && \
16194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16196 "RANLIB=$${RANLIB}" \
16197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16198 dvi) \
16199 || exit 1
16201 @endif perl
16203 .PHONY: maybe-html-perl html-perl
16204 maybe-html-perl:
16205 @if perl
16206 maybe-html-perl: html-perl
16208 html-perl: \
16209 configure-perl
16210 @[ -f ./perl/Makefile ] || exit 0; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(SET_LIB_PATH) \
16214 $(HOST_EXPORTS) \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16217 done; \
16218 echo "Doing html in perl" ; \
16219 (cd perl && \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16224 html) \
16225 || exit 1
16227 @endif perl
16229 .PHONY: maybe-TAGS-perl TAGS-perl
16230 maybe-TAGS-perl:
16231 @if perl
16232 maybe-TAGS-perl: TAGS-perl
16234 TAGS-perl: \
16235 configure-perl
16236 @[ -f ./perl/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 $(SET_LIB_PATH) \
16240 $(HOST_EXPORTS) \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 done; \
16244 echo "Doing TAGS in perl" ; \
16245 (cd perl && \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16250 TAGS) \
16251 || exit 1
16253 @endif perl
16255 .PHONY: maybe-install-info-perl install-info-perl
16256 maybe-install-info-perl:
16257 @if perl
16258 maybe-install-info-perl: install-info-perl
16260 install-info-perl: \
16261 configure-perl \
16262 info-perl
16263 @[ -f ./perl/Makefile ] || exit 0; \
16264 r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 $(SET_LIB_PATH) \
16267 $(HOST_EXPORTS) \
16268 for flag in $(EXTRA_HOST_FLAGS) ; do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16270 done; \
16271 echo "Doing install-info in perl" ; \
16272 (cd perl && \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16277 install-info) \
16278 || exit 1
16280 @endif perl
16282 .PHONY: maybe-installcheck-perl installcheck-perl
16283 maybe-installcheck-perl:
16284 @if perl
16285 maybe-installcheck-perl: installcheck-perl
16287 installcheck-perl: \
16288 configure-perl
16289 @[ -f ./perl/Makefile ] || exit 0; \
16290 r=`${PWD_COMMAND}`; export r; \
16291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16292 $(SET_LIB_PATH) \
16293 $(HOST_EXPORTS) \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 done; \
16297 echo "Doing installcheck in perl" ; \
16298 (cd perl && \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16303 installcheck) \
16304 || exit 1
16306 @endif perl
16308 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16309 maybe-mostlyclean-perl:
16310 @if perl
16311 maybe-mostlyclean-perl: mostlyclean-perl
16313 mostlyclean-perl:
16314 @[ -f ./perl/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(SET_LIB_PATH) \
16318 $(HOST_EXPORTS) \
16319 for flag in $(EXTRA_HOST_FLAGS) ; do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 done; \
16322 echo "Doing mostlyclean in perl" ; \
16323 (cd perl && \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 mostlyclean) \
16329 || exit 1
16331 @endif perl
16333 .PHONY: maybe-clean-perl clean-perl
16334 maybe-clean-perl:
16335 @if perl
16336 maybe-clean-perl: clean-perl
16338 clean-perl:
16339 @[ -f ./perl/Makefile ] || exit 0; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16342 $(SET_LIB_PATH) \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing clean in perl" ; \
16348 (cd perl && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16353 clean) \
16354 || exit 1
16356 @endif perl
16358 .PHONY: maybe-distclean-perl distclean-perl
16359 maybe-distclean-perl:
16360 @if perl
16361 maybe-distclean-perl: distclean-perl
16363 distclean-perl:
16364 @[ -f ./perl/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 $(SET_LIB_PATH) \
16368 $(HOST_EXPORTS) \
16369 for flag in $(EXTRA_HOST_FLAGS) ; do \
16370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 done; \
16372 echo "Doing distclean in perl" ; \
16373 (cd perl && \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16376 "RANLIB=$${RANLIB}" \
16377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16378 distclean) \
16379 || exit 1
16381 @endif perl
16383 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16384 maybe-maintainer-clean-perl:
16385 @if perl
16386 maybe-maintainer-clean-perl: maintainer-clean-perl
16388 maintainer-clean-perl:
16389 @[ -f ./perl/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 $(SET_LIB_PATH) \
16393 $(HOST_EXPORTS) \
16394 for flag in $(EXTRA_HOST_FLAGS) ; do \
16395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16396 done; \
16397 echo "Doing maintainer-clean in perl" ; \
16398 (cd perl && \
16399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16401 "RANLIB=$${RANLIB}" \
16402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403 maintainer-clean) \
16404 || exit 1
16406 @endif perl
16409 .PHONY: configure-prms maybe-configure-prms
16410 maybe-configure-prms:
16411 @if prms
16412 maybe-configure-prms: configure-prms
16413 configure-prms:
16414 @test ! -f prms/Makefile || exit 0; \
16415 [ -d prms ] || mkdir prms; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 $(HOST_EXPORTS) \
16419 echo Configuring in prms; \
16420 cd prms || exit 1; \
16421 case $(srcdir) in \
16422 \.) \
16423 srcdiroption="--srcdir=."; \
16424 libsrcdir=".";; \
16425 /* | [A-Za-z]:[\\/]*) \
16426 srcdiroption="--srcdir=$(srcdir)/prms"; \
16427 libsrcdir="$$s/prms";; \
16428 *) \
16429 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16430 libsrcdir="$$s/prms";; \
16431 esac; \
16432 $(SHELL) $${libsrcdir}/configure \
16433 $(HOST_CONFIGARGS) $${srcdiroption} \
16434 || exit 1
16435 @endif prms
16437 .PHONY: all-prms maybe-all-prms
16438 maybe-all-prms:
16439 @if prms
16440 TARGET-prms=all
16441 maybe-all-prms: all-prms
16442 all-prms: configure-prms
16443 @r=`${PWD_COMMAND}`; export r; \
16444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16445 $(SET_LIB_PATH) \
16446 $(HOST_EXPORTS) \
16447 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16448 $(TARGET-prms))
16449 @endif prms
16451 .PHONY: check-prms maybe-check-prms
16452 maybe-check-prms:
16453 @if prms
16454 maybe-check-prms: check-prms
16456 check-prms:
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 $(SET_LIB_PATH) \
16460 $(HOST_EXPORTS) \
16461 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16463 @endif prms
16465 .PHONY: install-prms maybe-install-prms
16466 maybe-install-prms:
16467 @if prms
16468 maybe-install-prms: install-prms
16470 install-prms: installdirs
16471 @r=`${PWD_COMMAND}`; export r; \
16472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16473 $(SET_LIB_PATH) \
16474 $(HOST_EXPORTS) \
16475 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16477 @endif prms
16479 # Other targets (info, dvi, etc.)
16481 .PHONY: maybe-info-prms info-prms
16482 maybe-info-prms:
16483 @if prms
16484 maybe-info-prms: info-prms
16486 info-prms: \
16487 configure-prms
16488 @[ -f ./prms/Makefile ] || exit 0; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16491 $(SET_LIB_PATH) \
16492 $(HOST_EXPORTS) \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16495 done; \
16496 echo "Doing info in prms" ; \
16497 (cd prms && \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16502 info) \
16503 || exit 1
16505 @endif prms
16507 .PHONY: maybe-dvi-prms dvi-prms
16508 maybe-dvi-prms:
16509 @if prms
16510 maybe-dvi-prms: dvi-prms
16512 dvi-prms: \
16513 configure-prms
16514 @[ -f ./prms/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16517 $(SET_LIB_PATH) \
16518 $(HOST_EXPORTS) \
16519 for flag in $(EXTRA_HOST_FLAGS) ; do \
16520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16521 done; \
16522 echo "Doing dvi in prms" ; \
16523 (cd prms && \
16524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16526 "RANLIB=$${RANLIB}" \
16527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16528 dvi) \
16529 || exit 1
16531 @endif prms
16533 .PHONY: maybe-html-prms html-prms
16534 maybe-html-prms:
16535 @if prms
16536 maybe-html-prms: html-prms
16538 html-prms: \
16539 configure-prms
16540 @[ -f ./prms/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16543 $(SET_LIB_PATH) \
16544 $(HOST_EXPORTS) \
16545 for flag in $(EXTRA_HOST_FLAGS) ; do \
16546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547 done; \
16548 echo "Doing html in prms" ; \
16549 (cd prms && \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552 "RANLIB=$${RANLIB}" \
16553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16554 html) \
16555 || exit 1
16557 @endif prms
16559 .PHONY: maybe-TAGS-prms TAGS-prms
16560 maybe-TAGS-prms:
16561 @if prms
16562 maybe-TAGS-prms: TAGS-prms
16564 TAGS-prms: \
16565 configure-prms
16566 @[ -f ./prms/Makefile ] || exit 0; \
16567 r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16569 $(SET_LIB_PATH) \
16570 $(HOST_EXPORTS) \
16571 for flag in $(EXTRA_HOST_FLAGS) ; do \
16572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 done; \
16574 echo "Doing TAGS in prms" ; \
16575 (cd prms && \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16578 "RANLIB=$${RANLIB}" \
16579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16580 TAGS) \
16581 || exit 1
16583 @endif prms
16585 .PHONY: maybe-install-info-prms install-info-prms
16586 maybe-install-info-prms:
16587 @if prms
16588 maybe-install-info-prms: install-info-prms
16590 install-info-prms: \
16591 configure-prms \
16592 info-prms
16593 @[ -f ./prms/Makefile ] || exit 0; \
16594 r=`${PWD_COMMAND}`; export r; \
16595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16596 $(SET_LIB_PATH) \
16597 $(HOST_EXPORTS) \
16598 for flag in $(EXTRA_HOST_FLAGS) ; do \
16599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16600 done; \
16601 echo "Doing install-info in prms" ; \
16602 (cd prms && \
16603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16605 "RANLIB=$${RANLIB}" \
16606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16607 install-info) \
16608 || exit 1
16610 @endif prms
16612 .PHONY: maybe-installcheck-prms installcheck-prms
16613 maybe-installcheck-prms:
16614 @if prms
16615 maybe-installcheck-prms: installcheck-prms
16617 installcheck-prms: \
16618 configure-prms
16619 @[ -f ./prms/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 installcheck in prms" ; \
16628 (cd prms && \
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 installcheck) \
16634 || exit 1
16636 @endif prms
16638 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16639 maybe-mostlyclean-prms:
16640 @if prms
16641 maybe-mostlyclean-prms: mostlyclean-prms
16643 mostlyclean-prms:
16644 @[ -f ./prms/Makefile ] || exit 0; \
16645 r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 $(SET_LIB_PATH) \
16648 $(HOST_EXPORTS) \
16649 for flag in $(EXTRA_HOST_FLAGS) ; do \
16650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16651 done; \
16652 echo "Doing mostlyclean in prms" ; \
16653 (cd prms && \
16654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16656 "RANLIB=$${RANLIB}" \
16657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16658 mostlyclean) \
16659 || exit 1
16661 @endif prms
16663 .PHONY: maybe-clean-prms clean-prms
16664 maybe-clean-prms:
16665 @if prms
16666 maybe-clean-prms: clean-prms
16668 clean-prms:
16669 @[ -f ./prms/Makefile ] || exit 0; \
16670 r=`${PWD_COMMAND}`; export r; \
16671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16672 $(SET_LIB_PATH) \
16673 $(HOST_EXPORTS) \
16674 for flag in $(EXTRA_HOST_FLAGS) ; do \
16675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16676 done; \
16677 echo "Doing clean in prms" ; \
16678 (cd prms && \
16679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16681 "RANLIB=$${RANLIB}" \
16682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16683 clean) \
16684 || exit 1
16686 @endif prms
16688 .PHONY: maybe-distclean-prms distclean-prms
16689 maybe-distclean-prms:
16690 @if prms
16691 maybe-distclean-prms: distclean-prms
16693 distclean-prms:
16694 @[ -f ./prms/Makefile ] || exit 0; \
16695 r=`${PWD_COMMAND}`; export r; \
16696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16697 $(SET_LIB_PATH) \
16698 $(HOST_EXPORTS) \
16699 for flag in $(EXTRA_HOST_FLAGS) ; do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701 done; \
16702 echo "Doing distclean in prms" ; \
16703 (cd prms && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16708 distclean) \
16709 || exit 1
16711 @endif prms
16713 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16714 maybe-maintainer-clean-prms:
16715 @if prms
16716 maybe-maintainer-clean-prms: maintainer-clean-prms
16718 maintainer-clean-prms:
16719 @[ -f ./prms/Makefile ] || exit 0; \
16720 r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 $(SET_LIB_PATH) \
16723 $(HOST_EXPORTS) \
16724 for flag in $(EXTRA_HOST_FLAGS) ; do \
16725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16726 done; \
16727 echo "Doing maintainer-clean in prms" ; \
16728 (cd prms && \
16729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16731 "RANLIB=$${RANLIB}" \
16732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16733 maintainer-clean) \
16734 || exit 1
16736 @endif prms
16739 .PHONY: configure-rcs maybe-configure-rcs
16740 maybe-configure-rcs:
16741 @if rcs
16742 maybe-configure-rcs: configure-rcs
16743 configure-rcs:
16744 @test ! -f rcs/Makefile || exit 0; \
16745 [ -d rcs ] || mkdir rcs; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 $(HOST_EXPORTS) \
16749 echo Configuring in rcs; \
16750 cd rcs || exit 1; \
16751 case $(srcdir) in \
16752 \.) \
16753 srcdiroption="--srcdir=."; \
16754 libsrcdir=".";; \
16755 /* | [A-Za-z]:[\\/]*) \
16756 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16757 libsrcdir="$$s/rcs";; \
16758 *) \
16759 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16760 libsrcdir="$$s/rcs";; \
16761 esac; \
16762 $(SHELL) $${libsrcdir}/configure \
16763 $(HOST_CONFIGARGS) $${srcdiroption} \
16764 || exit 1
16765 @endif rcs
16767 .PHONY: all-rcs maybe-all-rcs
16768 maybe-all-rcs:
16769 @if rcs
16770 TARGET-rcs=all
16771 maybe-all-rcs: all-rcs
16772 all-rcs: configure-rcs
16773 @r=`${PWD_COMMAND}`; export r; \
16774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16775 $(SET_LIB_PATH) \
16776 $(HOST_EXPORTS) \
16777 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16778 $(TARGET-rcs))
16779 @endif rcs
16781 .PHONY: check-rcs maybe-check-rcs
16782 maybe-check-rcs:
16783 @if rcs
16784 maybe-check-rcs: check-rcs
16786 check-rcs:
16787 @r=`${PWD_COMMAND}`; export r; \
16788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16789 $(SET_LIB_PATH) \
16790 $(HOST_EXPORTS) \
16791 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16793 @endif rcs
16795 .PHONY: install-rcs maybe-install-rcs
16796 maybe-install-rcs:
16797 @if rcs
16798 maybe-install-rcs: install-rcs
16800 install-rcs: installdirs
16801 @r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16803 $(SET_LIB_PATH) \
16804 $(HOST_EXPORTS) \
16805 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16807 @endif rcs
16809 # Other targets (info, dvi, etc.)
16811 .PHONY: maybe-info-rcs info-rcs
16812 maybe-info-rcs:
16813 @if rcs
16814 maybe-info-rcs: info-rcs
16816 info-rcs: \
16817 configure-rcs
16818 @[ -f ./rcs/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(SET_LIB_PATH) \
16822 $(HOST_EXPORTS) \
16823 for flag in $(EXTRA_HOST_FLAGS) ; do \
16824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16825 done; \
16826 echo "Doing info in rcs" ; \
16827 (cd rcs && \
16828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16830 "RANLIB=$${RANLIB}" \
16831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16832 info) \
16833 || exit 1
16835 @endif rcs
16837 .PHONY: maybe-dvi-rcs dvi-rcs
16838 maybe-dvi-rcs:
16839 @if rcs
16840 maybe-dvi-rcs: dvi-rcs
16842 dvi-rcs: \
16843 configure-rcs
16844 @[ -f ./rcs/Makefile ] || exit 0; \
16845 r=`${PWD_COMMAND}`; export r; \
16846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16847 $(SET_LIB_PATH) \
16848 $(HOST_EXPORTS) \
16849 for flag in $(EXTRA_HOST_FLAGS) ; do \
16850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16851 done; \
16852 echo "Doing dvi in rcs" ; \
16853 (cd rcs && \
16854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16856 "RANLIB=$${RANLIB}" \
16857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16858 dvi) \
16859 || exit 1
16861 @endif rcs
16863 .PHONY: maybe-html-rcs html-rcs
16864 maybe-html-rcs:
16865 @if rcs
16866 maybe-html-rcs: html-rcs
16868 html-rcs: \
16869 configure-rcs
16870 @[ -f ./rcs/Makefile ] || exit 0; \
16871 r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 $(SET_LIB_PATH) \
16874 $(HOST_EXPORTS) \
16875 for flag in $(EXTRA_HOST_FLAGS) ; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 done; \
16878 echo "Doing html in rcs" ; \
16879 (cd rcs && \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16884 html) \
16885 || exit 1
16887 @endif rcs
16889 .PHONY: maybe-TAGS-rcs TAGS-rcs
16890 maybe-TAGS-rcs:
16891 @if rcs
16892 maybe-TAGS-rcs: TAGS-rcs
16894 TAGS-rcs: \
16895 configure-rcs
16896 @[ -f ./rcs/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 TAGS in rcs" ; \
16905 (cd rcs && \
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 TAGS) \
16911 || exit 1
16913 @endif rcs
16915 .PHONY: maybe-install-info-rcs install-info-rcs
16916 maybe-install-info-rcs:
16917 @if rcs
16918 maybe-install-info-rcs: install-info-rcs
16920 install-info-rcs: \
16921 configure-rcs \
16922 info-rcs
16923 @[ -f ./rcs/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16926 $(SET_LIB_PATH) \
16927 $(HOST_EXPORTS) \
16928 for flag in $(EXTRA_HOST_FLAGS) ; do \
16929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16930 done; \
16931 echo "Doing install-info in rcs" ; \
16932 (cd rcs && \
16933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935 "RANLIB=$${RANLIB}" \
16936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16937 install-info) \
16938 || exit 1
16940 @endif rcs
16942 .PHONY: maybe-installcheck-rcs installcheck-rcs
16943 maybe-installcheck-rcs:
16944 @if rcs
16945 maybe-installcheck-rcs: installcheck-rcs
16947 installcheck-rcs: \
16948 configure-rcs
16949 @[ -f ./rcs/Makefile ] || exit 0; \
16950 r=`${PWD_COMMAND}`; export r; \
16951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16952 $(SET_LIB_PATH) \
16953 $(HOST_EXPORTS) \
16954 for flag in $(EXTRA_HOST_FLAGS) ; do \
16955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16956 done; \
16957 echo "Doing installcheck in rcs" ; \
16958 (cd rcs && \
16959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16961 "RANLIB=$${RANLIB}" \
16962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16963 installcheck) \
16964 || exit 1
16966 @endif rcs
16968 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16969 maybe-mostlyclean-rcs:
16970 @if rcs
16971 maybe-mostlyclean-rcs: mostlyclean-rcs
16973 mostlyclean-rcs:
16974 @[ -f ./rcs/Makefile ] || exit 0; \
16975 r=`${PWD_COMMAND}`; export r; \
16976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16977 $(SET_LIB_PATH) \
16978 $(HOST_EXPORTS) \
16979 for flag in $(EXTRA_HOST_FLAGS) ; do \
16980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16981 done; \
16982 echo "Doing mostlyclean in rcs" ; \
16983 (cd rcs && \
16984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16986 "RANLIB=$${RANLIB}" \
16987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16988 mostlyclean) \
16989 || exit 1
16991 @endif rcs
16993 .PHONY: maybe-clean-rcs clean-rcs
16994 maybe-clean-rcs:
16995 @if rcs
16996 maybe-clean-rcs: clean-rcs
16998 clean-rcs:
16999 @[ -f ./rcs/Makefile ] || exit 0; \
17000 r=`${PWD_COMMAND}`; export r; \
17001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17002 $(SET_LIB_PATH) \
17003 $(HOST_EXPORTS) \
17004 for flag in $(EXTRA_HOST_FLAGS) ; do \
17005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17006 done; \
17007 echo "Doing clean in rcs" ; \
17008 (cd rcs && \
17009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17011 "RANLIB=$${RANLIB}" \
17012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17013 clean) \
17014 || exit 1
17016 @endif rcs
17018 .PHONY: maybe-distclean-rcs distclean-rcs
17019 maybe-distclean-rcs:
17020 @if rcs
17021 maybe-distclean-rcs: distclean-rcs
17023 distclean-rcs:
17024 @[ -f ./rcs/Makefile ] || exit 0; \
17025 r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17027 $(SET_LIB_PATH) \
17028 $(HOST_EXPORTS) \
17029 for flag in $(EXTRA_HOST_FLAGS) ; do \
17030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17031 done; \
17032 echo "Doing distclean in rcs" ; \
17033 (cd rcs && \
17034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17036 "RANLIB=$${RANLIB}" \
17037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17038 distclean) \
17039 || exit 1
17041 @endif rcs
17043 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17044 maybe-maintainer-clean-rcs:
17045 @if rcs
17046 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17048 maintainer-clean-rcs:
17049 @[ -f ./rcs/Makefile ] || exit 0; \
17050 r=`${PWD_COMMAND}`; export r; \
17051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17052 $(SET_LIB_PATH) \
17053 $(HOST_EXPORTS) \
17054 for flag in $(EXTRA_HOST_FLAGS) ; do \
17055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17056 done; \
17057 echo "Doing maintainer-clean in rcs" ; \
17058 (cd rcs && \
17059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17061 "RANLIB=$${RANLIB}" \
17062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17063 maintainer-clean) \
17064 || exit 1
17066 @endif rcs
17069 .PHONY: configure-readline maybe-configure-readline
17070 maybe-configure-readline:
17071 @if readline
17072 maybe-configure-readline: configure-readline
17073 configure-readline:
17074 @test ! -f readline/Makefile || exit 0; \
17075 [ -d readline ] || mkdir readline; \
17076 r=`${PWD_COMMAND}`; export r; \
17077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17078 $(HOST_EXPORTS) \
17079 echo Configuring in readline; \
17080 cd readline || exit 1; \
17081 case $(srcdir) in \
17082 \.) \
17083 srcdiroption="--srcdir=."; \
17084 libsrcdir=".";; \
17085 /* | [A-Za-z]:[\\/]*) \
17086 srcdiroption="--srcdir=$(srcdir)/readline"; \
17087 libsrcdir="$$s/readline";; \
17088 *) \
17089 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17090 libsrcdir="$$s/readline";; \
17091 esac; \
17092 $(SHELL) $${libsrcdir}/configure \
17093 $(HOST_CONFIGARGS) $${srcdiroption} \
17094 || exit 1
17095 @endif readline
17097 .PHONY: all-readline maybe-all-readline
17098 maybe-all-readline:
17099 @if readline
17100 TARGET-readline=all
17101 maybe-all-readline: all-readline
17102 all-readline: configure-readline
17103 @r=`${PWD_COMMAND}`; export r; \
17104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17105 $(SET_LIB_PATH) \
17106 $(HOST_EXPORTS) \
17107 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17108 $(TARGET-readline))
17109 @endif readline
17111 .PHONY: check-readline maybe-check-readline
17112 maybe-check-readline:
17113 @if readline
17114 maybe-check-readline: check-readline
17116 check-readline:
17117 @r=`${PWD_COMMAND}`; export r; \
17118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17119 $(SET_LIB_PATH) \
17120 $(HOST_EXPORTS) \
17121 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17123 @endif readline
17125 .PHONY: install-readline maybe-install-readline
17126 maybe-install-readline:
17127 @if readline
17128 maybe-install-readline: install-readline
17130 install-readline: installdirs
17131 @r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17133 $(SET_LIB_PATH) \
17134 $(HOST_EXPORTS) \
17135 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17137 @endif readline
17139 # Other targets (info, dvi, etc.)
17141 .PHONY: maybe-info-readline info-readline
17142 maybe-info-readline:
17143 @if readline
17144 maybe-info-readline: info-readline
17146 info-readline: \
17147 configure-readline
17148 @[ -f ./readline/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 info in readline" ; \
17157 (cd readline && \
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 info) \
17163 || exit 1
17165 @endif readline
17167 .PHONY: maybe-dvi-readline dvi-readline
17168 maybe-dvi-readline:
17169 @if readline
17170 maybe-dvi-readline: dvi-readline
17172 dvi-readline: \
17173 configure-readline
17174 @[ -f ./readline/Makefile ] || exit 0; \
17175 r=`${PWD_COMMAND}`; export r; \
17176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17177 $(SET_LIB_PATH) \
17178 $(HOST_EXPORTS) \
17179 for flag in $(EXTRA_HOST_FLAGS) ; do \
17180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17181 done; \
17182 echo "Doing dvi in readline" ; \
17183 (cd readline && \
17184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17186 "RANLIB=$${RANLIB}" \
17187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17188 dvi) \
17189 || exit 1
17191 @endif readline
17193 .PHONY: maybe-html-readline html-readline
17194 maybe-html-readline:
17195 @if readline
17196 maybe-html-readline: html-readline
17198 html-readline: \
17199 configure-readline
17200 @[ -f ./readline/Makefile ] || exit 0; \
17201 r=`${PWD_COMMAND}`; export r; \
17202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17203 $(SET_LIB_PATH) \
17204 $(HOST_EXPORTS) \
17205 for flag in $(EXTRA_HOST_FLAGS) ; do \
17206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17207 done; \
17208 echo "Doing html in readline" ; \
17209 (cd readline && \
17210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17212 "RANLIB=$${RANLIB}" \
17213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17214 html) \
17215 || exit 1
17217 @endif readline
17219 .PHONY: maybe-TAGS-readline TAGS-readline
17220 maybe-TAGS-readline:
17221 @if readline
17222 maybe-TAGS-readline: TAGS-readline
17224 TAGS-readline: \
17225 configure-readline
17226 @[ -f ./readline/Makefile ] || exit 0; \
17227 r=`${PWD_COMMAND}`; export r; \
17228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17229 $(SET_LIB_PATH) \
17230 $(HOST_EXPORTS) \
17231 for flag in $(EXTRA_HOST_FLAGS) ; do \
17232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17233 done; \
17234 echo "Doing TAGS in readline" ; \
17235 (cd readline && \
17236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17238 "RANLIB=$${RANLIB}" \
17239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17240 TAGS) \
17241 || exit 1
17243 @endif readline
17245 .PHONY: maybe-install-info-readline install-info-readline
17246 maybe-install-info-readline:
17247 @if readline
17248 maybe-install-info-readline: install-info-readline
17250 install-info-readline: \
17251 configure-readline \
17252 info-readline
17253 @[ -f ./readline/Makefile ] || exit 0; \
17254 r=`${PWD_COMMAND}`; export r; \
17255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17256 $(SET_LIB_PATH) \
17257 $(HOST_EXPORTS) \
17258 for flag in $(EXTRA_HOST_FLAGS) ; do \
17259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17260 done; \
17261 echo "Doing install-info in readline" ; \
17262 (cd readline && \
17263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17265 "RANLIB=$${RANLIB}" \
17266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17267 install-info) \
17268 || exit 1
17270 @endif readline
17272 .PHONY: maybe-installcheck-readline installcheck-readline
17273 maybe-installcheck-readline:
17274 @if readline
17275 maybe-installcheck-readline: installcheck-readline
17277 installcheck-readline: \
17278 configure-readline
17279 @[ -f ./readline/Makefile ] || exit 0; \
17280 r=`${PWD_COMMAND}`; export r; \
17281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17282 $(SET_LIB_PATH) \
17283 $(HOST_EXPORTS) \
17284 for flag in $(EXTRA_HOST_FLAGS) ; do \
17285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 done; \
17287 echo "Doing installcheck in readline" ; \
17288 (cd readline && \
17289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17291 "RANLIB=$${RANLIB}" \
17292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17293 installcheck) \
17294 || exit 1
17296 @endif readline
17298 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17299 maybe-mostlyclean-readline:
17300 @if readline
17301 maybe-mostlyclean-readline: mostlyclean-readline
17303 mostlyclean-readline:
17304 @[ -f ./readline/Makefile ] || exit 0; \
17305 r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17307 $(SET_LIB_PATH) \
17308 $(HOST_EXPORTS) \
17309 for flag in $(EXTRA_HOST_FLAGS) ; do \
17310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17311 done; \
17312 echo "Doing mostlyclean in readline" ; \
17313 (cd readline && \
17314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316 "RANLIB=$${RANLIB}" \
17317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17318 mostlyclean) \
17319 || exit 1
17321 @endif readline
17323 .PHONY: maybe-clean-readline clean-readline
17324 maybe-clean-readline:
17325 @if readline
17326 maybe-clean-readline: clean-readline
17328 clean-readline:
17329 @[ -f ./readline/Makefile ] || exit 0; \
17330 r=`${PWD_COMMAND}`; export r; \
17331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17332 $(SET_LIB_PATH) \
17333 $(HOST_EXPORTS) \
17334 for flag in $(EXTRA_HOST_FLAGS) ; do \
17335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17336 done; \
17337 echo "Doing clean in readline" ; \
17338 (cd readline && \
17339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17341 "RANLIB=$${RANLIB}" \
17342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17343 clean) \
17344 || exit 1
17346 @endif readline
17348 .PHONY: maybe-distclean-readline distclean-readline
17349 maybe-distclean-readline:
17350 @if readline
17351 maybe-distclean-readline: distclean-readline
17353 distclean-readline:
17354 @[ -f ./readline/Makefile ] || exit 0; \
17355 r=`${PWD_COMMAND}`; export r; \
17356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17357 $(SET_LIB_PATH) \
17358 $(HOST_EXPORTS) \
17359 for flag in $(EXTRA_HOST_FLAGS) ; do \
17360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17361 done; \
17362 echo "Doing distclean in readline" ; \
17363 (cd readline && \
17364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17366 "RANLIB=$${RANLIB}" \
17367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17368 distclean) \
17369 || exit 1
17371 @endif readline
17373 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17374 maybe-maintainer-clean-readline:
17375 @if readline
17376 maybe-maintainer-clean-readline: maintainer-clean-readline
17378 maintainer-clean-readline:
17379 @[ -f ./readline/Makefile ] || exit 0; \
17380 r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17382 $(SET_LIB_PATH) \
17383 $(HOST_EXPORTS) \
17384 for flag in $(EXTRA_HOST_FLAGS) ; do \
17385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386 done; \
17387 echo "Doing maintainer-clean in readline" ; \
17388 (cd readline && \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17391 "RANLIB=$${RANLIB}" \
17392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17393 maintainer-clean) \
17394 || exit 1
17396 @endif readline
17399 .PHONY: configure-release maybe-configure-release
17400 maybe-configure-release:
17401 @if release
17402 maybe-configure-release: configure-release
17403 configure-release:
17404 @test ! -f release/Makefile || exit 0; \
17405 [ -d release ] || mkdir release; \
17406 r=`${PWD_COMMAND}`; export r; \
17407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408 $(HOST_EXPORTS) \
17409 echo Configuring in release; \
17410 cd release || exit 1; \
17411 case $(srcdir) in \
17412 \.) \
17413 srcdiroption="--srcdir=."; \
17414 libsrcdir=".";; \
17415 /* | [A-Za-z]:[\\/]*) \
17416 srcdiroption="--srcdir=$(srcdir)/release"; \
17417 libsrcdir="$$s/release";; \
17418 *) \
17419 srcdiroption="--srcdir=../$(srcdir)/release"; \
17420 libsrcdir="$$s/release";; \
17421 esac; \
17422 $(SHELL) $${libsrcdir}/configure \
17423 $(HOST_CONFIGARGS) $${srcdiroption} \
17424 || exit 1
17425 @endif release
17427 .PHONY: all-release maybe-all-release
17428 maybe-all-release:
17429 @if release
17430 TARGET-release=all
17431 maybe-all-release: all-release
17432 all-release: configure-release
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 $(SET_LIB_PATH) \
17436 $(HOST_EXPORTS) \
17437 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17438 $(TARGET-release))
17439 @endif release
17441 .PHONY: check-release maybe-check-release
17442 maybe-check-release:
17443 @if release
17444 maybe-check-release: check-release
17446 check-release:
17448 @endif release
17450 .PHONY: install-release maybe-install-release
17451 maybe-install-release:
17452 @if release
17453 maybe-install-release: install-release
17455 install-release:
17457 @endif release
17459 # Other targets (info, dvi, etc.)
17461 .PHONY: maybe-info-release info-release
17462 maybe-info-release:
17463 @if release
17464 maybe-info-release: info-release
17466 info-release: \
17467 configure-release
17468 @[ -f ./release/Makefile ] || exit 0; \
17469 r=`${PWD_COMMAND}`; export r; \
17470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17471 $(SET_LIB_PATH) \
17472 $(HOST_EXPORTS) \
17473 for flag in $(EXTRA_HOST_FLAGS) ; do \
17474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17475 done; \
17476 echo "Doing info in release" ; \
17477 (cd release && \
17478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17480 "RANLIB=$${RANLIB}" \
17481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17482 info) \
17483 || exit 1
17485 @endif release
17487 .PHONY: maybe-dvi-release dvi-release
17488 maybe-dvi-release:
17489 @if release
17490 maybe-dvi-release: dvi-release
17492 dvi-release: \
17493 configure-release
17494 @[ -f ./release/Makefile ] || exit 0; \
17495 r=`${PWD_COMMAND}`; export r; \
17496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17497 $(SET_LIB_PATH) \
17498 $(HOST_EXPORTS) \
17499 for flag in $(EXTRA_HOST_FLAGS) ; do \
17500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17501 done; \
17502 echo "Doing dvi in release" ; \
17503 (cd release && \
17504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17506 "RANLIB=$${RANLIB}" \
17507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17508 dvi) \
17509 || exit 1
17511 @endif release
17513 .PHONY: maybe-html-release html-release
17514 maybe-html-release:
17515 @if release
17516 maybe-html-release: html-release
17518 html-release: \
17519 configure-release
17520 @[ -f ./release/Makefile ] || exit 0; \
17521 r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 $(SET_LIB_PATH) \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing html in release" ; \
17529 (cd release && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17534 html) \
17535 || exit 1
17537 @endif release
17539 .PHONY: maybe-TAGS-release TAGS-release
17540 maybe-TAGS-release:
17541 @if release
17542 maybe-TAGS-release: TAGS-release
17544 TAGS-release: \
17545 configure-release
17546 @[ -f ./release/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 $(SET_LIB_PATH) \
17550 $(HOST_EXPORTS) \
17551 for flag in $(EXTRA_HOST_FLAGS) ; do \
17552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17553 done; \
17554 echo "Doing TAGS in release" ; \
17555 (cd release && \
17556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17558 "RANLIB=$${RANLIB}" \
17559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17560 TAGS) \
17561 || exit 1
17563 @endif release
17565 .PHONY: maybe-install-info-release install-info-release
17566 maybe-install-info-release:
17567 @if release
17568 maybe-install-info-release: install-info-release
17570 install-info-release: \
17571 configure-release \
17572 info-release
17573 @[ -f ./release/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17576 $(SET_LIB_PATH) \
17577 $(HOST_EXPORTS) \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 done; \
17581 echo "Doing install-info in release" ; \
17582 (cd release && \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17587 install-info) \
17588 || exit 1
17590 @endif release
17592 .PHONY: maybe-installcheck-release installcheck-release
17593 maybe-installcheck-release:
17594 @if release
17595 maybe-installcheck-release: installcheck-release
17597 installcheck-release: \
17598 configure-release
17599 @[ -f ./release/Makefile ] || exit 0; \
17600 r=`${PWD_COMMAND}`; export r; \
17601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17602 $(SET_LIB_PATH) \
17603 $(HOST_EXPORTS) \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606 done; \
17607 echo "Doing installcheck in release" ; \
17608 (cd release && \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17613 installcheck) \
17614 || exit 1
17616 @endif release
17618 .PHONY: maybe-mostlyclean-release mostlyclean-release
17619 maybe-mostlyclean-release:
17620 @if release
17621 maybe-mostlyclean-release: mostlyclean-release
17623 mostlyclean-release:
17624 @[ -f ./release/Makefile ] || exit 0; \
17625 r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(SET_LIB_PATH) \
17628 $(HOST_EXPORTS) \
17629 for flag in $(EXTRA_HOST_FLAGS) ; do \
17630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17631 done; \
17632 echo "Doing mostlyclean in release" ; \
17633 (cd release && \
17634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17636 "RANLIB=$${RANLIB}" \
17637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17638 mostlyclean) \
17639 || exit 1
17641 @endif release
17643 .PHONY: maybe-clean-release clean-release
17644 maybe-clean-release:
17645 @if release
17646 maybe-clean-release: clean-release
17648 clean-release:
17649 @[ -f ./release/Makefile ] || exit 0; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(SET_LIB_PATH) \
17653 $(HOST_EXPORTS) \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17656 done; \
17657 echo "Doing clean in release" ; \
17658 (cd release && \
17659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17661 "RANLIB=$${RANLIB}" \
17662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17663 clean) \
17664 || exit 1
17666 @endif release
17668 .PHONY: maybe-distclean-release distclean-release
17669 maybe-distclean-release:
17670 @if release
17671 maybe-distclean-release: distclean-release
17673 distclean-release:
17674 @[ -f ./release/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 distclean in release" ; \
17683 (cd release && \
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 distclean) \
17689 || exit 1
17691 @endif release
17693 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17694 maybe-maintainer-clean-release:
17695 @if release
17696 maybe-maintainer-clean-release: maintainer-clean-release
17698 maintainer-clean-release:
17699 @[ -f ./release/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 $(SET_LIB_PATH) \
17703 $(HOST_EXPORTS) \
17704 for flag in $(EXTRA_HOST_FLAGS) ; do \
17705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17706 done; \
17707 echo "Doing maintainer-clean in release" ; \
17708 (cd release && \
17709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17711 "RANLIB=$${RANLIB}" \
17712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17713 maintainer-clean) \
17714 || exit 1
17716 @endif release
17719 .PHONY: configure-recode maybe-configure-recode
17720 maybe-configure-recode:
17721 @if recode
17722 maybe-configure-recode: configure-recode
17723 configure-recode:
17724 @test ! -f recode/Makefile || exit 0; \
17725 [ -d recode ] || mkdir recode; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 $(HOST_EXPORTS) \
17729 echo Configuring in recode; \
17730 cd recode || exit 1; \
17731 case $(srcdir) in \
17732 \.) \
17733 srcdiroption="--srcdir=."; \
17734 libsrcdir=".";; \
17735 /* | [A-Za-z]:[\\/]*) \
17736 srcdiroption="--srcdir=$(srcdir)/recode"; \
17737 libsrcdir="$$s/recode";; \
17738 *) \
17739 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17740 libsrcdir="$$s/recode";; \
17741 esac; \
17742 $(SHELL) $${libsrcdir}/configure \
17743 $(HOST_CONFIGARGS) $${srcdiroption} \
17744 || exit 1
17745 @endif recode
17747 .PHONY: all-recode maybe-all-recode
17748 maybe-all-recode:
17749 @if recode
17750 TARGET-recode=all
17751 maybe-all-recode: all-recode
17752 all-recode: configure-recode
17753 @r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 $(SET_LIB_PATH) \
17756 $(HOST_EXPORTS) \
17757 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17758 $(TARGET-recode))
17759 @endif recode
17761 .PHONY: check-recode maybe-check-recode
17762 maybe-check-recode:
17763 @if recode
17764 maybe-check-recode: check-recode
17766 check-recode:
17767 @r=`${PWD_COMMAND}`; export r; \
17768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17769 $(SET_LIB_PATH) \
17770 $(HOST_EXPORTS) \
17771 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17773 @endif recode
17775 .PHONY: install-recode maybe-install-recode
17776 maybe-install-recode:
17777 @if recode
17778 maybe-install-recode: install-recode
17780 install-recode: installdirs
17781 @r=`${PWD_COMMAND}`; export r; \
17782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17783 $(SET_LIB_PATH) \
17784 $(HOST_EXPORTS) \
17785 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17787 @endif recode
17789 # Other targets (info, dvi, etc.)
17791 .PHONY: maybe-info-recode info-recode
17792 maybe-info-recode:
17793 @if recode
17794 maybe-info-recode: info-recode
17796 info-recode: \
17797 configure-recode
17798 @[ -f ./recode/Makefile ] || exit 0; \
17799 r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17801 $(SET_LIB_PATH) \
17802 $(HOST_EXPORTS) \
17803 for flag in $(EXTRA_HOST_FLAGS) ; do \
17804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17805 done; \
17806 echo "Doing info in recode" ; \
17807 (cd recode && \
17808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17810 "RANLIB=$${RANLIB}" \
17811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17812 info) \
17813 || exit 1
17815 @endif recode
17817 .PHONY: maybe-dvi-recode dvi-recode
17818 maybe-dvi-recode:
17819 @if recode
17820 maybe-dvi-recode: dvi-recode
17822 dvi-recode: \
17823 configure-recode
17824 @[ -f ./recode/Makefile ] || exit 0; \
17825 r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17827 $(SET_LIB_PATH) \
17828 $(HOST_EXPORTS) \
17829 for flag in $(EXTRA_HOST_FLAGS) ; do \
17830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17831 done; \
17832 echo "Doing dvi in recode" ; \
17833 (cd recode && \
17834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17836 "RANLIB=$${RANLIB}" \
17837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17838 dvi) \
17839 || exit 1
17841 @endif recode
17843 .PHONY: maybe-html-recode html-recode
17844 maybe-html-recode:
17845 @if recode
17846 maybe-html-recode: html-recode
17848 html-recode: \
17849 configure-recode
17850 @[ -f ./recode/Makefile ] || exit 0; \
17851 r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17853 $(SET_LIB_PATH) \
17854 $(HOST_EXPORTS) \
17855 for flag in $(EXTRA_HOST_FLAGS) ; do \
17856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17857 done; \
17858 echo "Doing html in recode" ; \
17859 (cd recode && \
17860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17862 "RANLIB=$${RANLIB}" \
17863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17864 html) \
17865 || exit 1
17867 @endif recode
17869 .PHONY: maybe-TAGS-recode TAGS-recode
17870 maybe-TAGS-recode:
17871 @if recode
17872 maybe-TAGS-recode: TAGS-recode
17874 TAGS-recode: \
17875 configure-recode
17876 @[ -f ./recode/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(SET_LIB_PATH) \
17880 $(HOST_EXPORTS) \
17881 for flag in $(EXTRA_HOST_FLAGS) ; do \
17882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17883 done; \
17884 echo "Doing TAGS in recode" ; \
17885 (cd recode && \
17886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17888 "RANLIB=$${RANLIB}" \
17889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17890 TAGS) \
17891 || exit 1
17893 @endif recode
17895 .PHONY: maybe-install-info-recode install-info-recode
17896 maybe-install-info-recode:
17897 @if recode
17898 maybe-install-info-recode: install-info-recode
17900 install-info-recode: \
17901 configure-recode \
17902 info-recode
17903 @[ -f ./recode/Makefile ] || exit 0; \
17904 r=`${PWD_COMMAND}`; export r; \
17905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17906 $(SET_LIB_PATH) \
17907 $(HOST_EXPORTS) \
17908 for flag in $(EXTRA_HOST_FLAGS) ; do \
17909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17910 done; \
17911 echo "Doing install-info in recode" ; \
17912 (cd recode && \
17913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17915 "RANLIB=$${RANLIB}" \
17916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17917 install-info) \
17918 || exit 1
17920 @endif recode
17922 .PHONY: maybe-installcheck-recode installcheck-recode
17923 maybe-installcheck-recode:
17924 @if recode
17925 maybe-installcheck-recode: installcheck-recode
17927 installcheck-recode: \
17928 configure-recode
17929 @[ -f ./recode/Makefile ] || exit 0; \
17930 r=`${PWD_COMMAND}`; export r; \
17931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17932 $(SET_LIB_PATH) \
17933 $(HOST_EXPORTS) \
17934 for flag in $(EXTRA_HOST_FLAGS) ; do \
17935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17936 done; \
17937 echo "Doing installcheck in recode" ; \
17938 (cd recode && \
17939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17941 "RANLIB=$${RANLIB}" \
17942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17943 installcheck) \
17944 || exit 1
17946 @endif recode
17948 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17949 maybe-mostlyclean-recode:
17950 @if recode
17951 maybe-mostlyclean-recode: mostlyclean-recode
17953 mostlyclean-recode:
17954 @[ -f ./recode/Makefile ] || exit 0; \
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 $(SET_LIB_PATH) \
17958 $(HOST_EXPORTS) \
17959 for flag in $(EXTRA_HOST_FLAGS) ; do \
17960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17961 done; \
17962 echo "Doing mostlyclean in recode" ; \
17963 (cd recode && \
17964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17966 "RANLIB=$${RANLIB}" \
17967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17968 mostlyclean) \
17969 || exit 1
17971 @endif recode
17973 .PHONY: maybe-clean-recode clean-recode
17974 maybe-clean-recode:
17975 @if recode
17976 maybe-clean-recode: clean-recode
17978 clean-recode:
17979 @[ -f ./recode/Makefile ] || exit 0; \
17980 r=`${PWD_COMMAND}`; export r; \
17981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17982 $(SET_LIB_PATH) \
17983 $(HOST_EXPORTS) \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17986 done; \
17987 echo "Doing clean in recode" ; \
17988 (cd recode && \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17993 clean) \
17994 || exit 1
17996 @endif recode
17998 .PHONY: maybe-distclean-recode distclean-recode
17999 maybe-distclean-recode:
18000 @if recode
18001 maybe-distclean-recode: distclean-recode
18003 distclean-recode:
18004 @[ -f ./recode/Makefile ] || exit 0; \
18005 r=`${PWD_COMMAND}`; export r; \
18006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18007 $(SET_LIB_PATH) \
18008 $(HOST_EXPORTS) \
18009 for flag in $(EXTRA_HOST_FLAGS) ; do \
18010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18011 done; \
18012 echo "Doing distclean in recode" ; \
18013 (cd recode && \
18014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18016 "RANLIB=$${RANLIB}" \
18017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18018 distclean) \
18019 || exit 1
18021 @endif recode
18023 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18024 maybe-maintainer-clean-recode:
18025 @if recode
18026 maybe-maintainer-clean-recode: maintainer-clean-recode
18028 maintainer-clean-recode:
18029 @[ -f ./recode/Makefile ] || exit 0; \
18030 r=`${PWD_COMMAND}`; export r; \
18031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18032 $(SET_LIB_PATH) \
18033 $(HOST_EXPORTS) \
18034 for flag in $(EXTRA_HOST_FLAGS) ; do \
18035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18036 done; \
18037 echo "Doing maintainer-clean in recode" ; \
18038 (cd recode && \
18039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18041 "RANLIB=$${RANLIB}" \
18042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18043 maintainer-clean) \
18044 || exit 1
18046 @endif recode
18049 .PHONY: configure-sed maybe-configure-sed
18050 maybe-configure-sed:
18051 @if sed
18052 maybe-configure-sed: configure-sed
18053 configure-sed:
18054 @test ! -f sed/Makefile || exit 0; \
18055 [ -d sed ] || mkdir sed; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 $(HOST_EXPORTS) \
18059 echo Configuring in sed; \
18060 cd sed || exit 1; \
18061 case $(srcdir) in \
18062 \.) \
18063 srcdiroption="--srcdir=."; \
18064 libsrcdir=".";; \
18065 /* | [A-Za-z]:[\\/]*) \
18066 srcdiroption="--srcdir=$(srcdir)/sed"; \
18067 libsrcdir="$$s/sed";; \
18068 *) \
18069 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18070 libsrcdir="$$s/sed";; \
18071 esac; \
18072 $(SHELL) $${libsrcdir}/configure \
18073 $(HOST_CONFIGARGS) $${srcdiroption} \
18074 || exit 1
18075 @endif sed
18077 .PHONY: all-sed maybe-all-sed
18078 maybe-all-sed:
18079 @if sed
18080 TARGET-sed=all
18081 maybe-all-sed: all-sed
18082 all-sed: configure-sed
18083 @r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18085 $(SET_LIB_PATH) \
18086 $(HOST_EXPORTS) \
18087 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18088 $(TARGET-sed))
18089 @endif sed
18091 .PHONY: check-sed maybe-check-sed
18092 maybe-check-sed:
18093 @if sed
18094 maybe-check-sed: check-sed
18096 check-sed:
18097 @r=`${PWD_COMMAND}`; export r; \
18098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18099 $(SET_LIB_PATH) \
18100 $(HOST_EXPORTS) \
18101 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18103 @endif sed
18105 .PHONY: install-sed maybe-install-sed
18106 maybe-install-sed:
18107 @if sed
18108 maybe-install-sed: install-sed
18110 install-sed: installdirs
18111 @r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18113 $(SET_LIB_PATH) \
18114 $(HOST_EXPORTS) \
18115 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18117 @endif sed
18119 # Other targets (info, dvi, etc.)
18121 .PHONY: maybe-info-sed info-sed
18122 maybe-info-sed:
18123 @if sed
18124 maybe-info-sed: info-sed
18126 info-sed: \
18127 configure-sed
18128 @[ -f ./sed/Makefile ] || exit 0; \
18129 r=`${PWD_COMMAND}`; export r; \
18130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18131 $(SET_LIB_PATH) \
18132 $(HOST_EXPORTS) \
18133 for flag in $(EXTRA_HOST_FLAGS) ; do \
18134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18135 done; \
18136 echo "Doing info in sed" ; \
18137 (cd sed && \
18138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18140 "RANLIB=$${RANLIB}" \
18141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18142 info) \
18143 || exit 1
18145 @endif sed
18147 .PHONY: maybe-dvi-sed dvi-sed
18148 maybe-dvi-sed:
18149 @if sed
18150 maybe-dvi-sed: dvi-sed
18152 dvi-sed: \
18153 configure-sed
18154 @[ -f ./sed/Makefile ] || exit 0; \
18155 r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 $(SET_LIB_PATH) \
18158 $(HOST_EXPORTS) \
18159 for flag in $(EXTRA_HOST_FLAGS) ; do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161 done; \
18162 echo "Doing dvi in sed" ; \
18163 (cd sed && \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18168 dvi) \
18169 || exit 1
18171 @endif sed
18173 .PHONY: maybe-html-sed html-sed
18174 maybe-html-sed:
18175 @if sed
18176 maybe-html-sed: html-sed
18178 html-sed: \
18179 configure-sed
18180 @[ -f ./sed/Makefile ] || exit 0; \
18181 r=`${PWD_COMMAND}`; export r; \
18182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18183 $(SET_LIB_PATH) \
18184 $(HOST_EXPORTS) \
18185 for flag in $(EXTRA_HOST_FLAGS) ; do \
18186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18187 done; \
18188 echo "Doing html in sed" ; \
18189 (cd sed && \
18190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18192 "RANLIB=$${RANLIB}" \
18193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18194 html) \
18195 || exit 1
18197 @endif sed
18199 .PHONY: maybe-TAGS-sed TAGS-sed
18200 maybe-TAGS-sed:
18201 @if sed
18202 maybe-TAGS-sed: TAGS-sed
18204 TAGS-sed: \
18205 configure-sed
18206 @[ -f ./sed/Makefile ] || exit 0; \
18207 r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18209 $(SET_LIB_PATH) \
18210 $(HOST_EXPORTS) \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 done; \
18214 echo "Doing TAGS in sed" ; \
18215 (cd sed && \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18220 TAGS) \
18221 || exit 1
18223 @endif sed
18225 .PHONY: maybe-install-info-sed install-info-sed
18226 maybe-install-info-sed:
18227 @if sed
18228 maybe-install-info-sed: install-info-sed
18230 install-info-sed: \
18231 configure-sed \
18232 info-sed
18233 @[ -f ./sed/Makefile ] || exit 0; \
18234 r=`${PWD_COMMAND}`; export r; \
18235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18236 $(SET_LIB_PATH) \
18237 $(HOST_EXPORTS) \
18238 for flag in $(EXTRA_HOST_FLAGS) ; do \
18239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18240 done; \
18241 echo "Doing install-info in sed" ; \
18242 (cd sed && \
18243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18245 "RANLIB=$${RANLIB}" \
18246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18247 install-info) \
18248 || exit 1
18250 @endif sed
18252 .PHONY: maybe-installcheck-sed installcheck-sed
18253 maybe-installcheck-sed:
18254 @if sed
18255 maybe-installcheck-sed: installcheck-sed
18257 installcheck-sed: \
18258 configure-sed
18259 @[ -f ./sed/Makefile ] || exit 0; \
18260 r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18262 $(SET_LIB_PATH) \
18263 $(HOST_EXPORTS) \
18264 for flag in $(EXTRA_HOST_FLAGS) ; do \
18265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18266 done; \
18267 echo "Doing installcheck in sed" ; \
18268 (cd sed && \
18269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18271 "RANLIB=$${RANLIB}" \
18272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18273 installcheck) \
18274 || exit 1
18276 @endif sed
18278 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18279 maybe-mostlyclean-sed:
18280 @if sed
18281 maybe-mostlyclean-sed: mostlyclean-sed
18283 mostlyclean-sed:
18284 @[ -f ./sed/Makefile ] || exit 0; \
18285 r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 $(SET_LIB_PATH) \
18288 $(HOST_EXPORTS) \
18289 for flag in $(EXTRA_HOST_FLAGS) ; do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18291 done; \
18292 echo "Doing mostlyclean in sed" ; \
18293 (cd sed && \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18298 mostlyclean) \
18299 || exit 1
18301 @endif sed
18303 .PHONY: maybe-clean-sed clean-sed
18304 maybe-clean-sed:
18305 @if sed
18306 maybe-clean-sed: clean-sed
18308 clean-sed:
18309 @[ -f ./sed/Makefile ] || exit 0; \
18310 r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18312 $(SET_LIB_PATH) \
18313 $(HOST_EXPORTS) \
18314 for flag in $(EXTRA_HOST_FLAGS) ; do \
18315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18316 done; \
18317 echo "Doing clean in sed" ; \
18318 (cd sed && \
18319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18321 "RANLIB=$${RANLIB}" \
18322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18323 clean) \
18324 || exit 1
18326 @endif sed
18328 .PHONY: maybe-distclean-sed distclean-sed
18329 maybe-distclean-sed:
18330 @if sed
18331 maybe-distclean-sed: distclean-sed
18333 distclean-sed:
18334 @[ -f ./sed/Makefile ] || exit 0; \
18335 r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18337 $(SET_LIB_PATH) \
18338 $(HOST_EXPORTS) \
18339 for flag in $(EXTRA_HOST_FLAGS) ; do \
18340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18341 done; \
18342 echo "Doing distclean in sed" ; \
18343 (cd sed && \
18344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18346 "RANLIB=$${RANLIB}" \
18347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18348 distclean) \
18349 || exit 1
18351 @endif sed
18353 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18354 maybe-maintainer-clean-sed:
18355 @if sed
18356 maybe-maintainer-clean-sed: maintainer-clean-sed
18358 maintainer-clean-sed:
18359 @[ -f ./sed/Makefile ] || exit 0; \
18360 r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18362 $(SET_LIB_PATH) \
18363 $(HOST_EXPORTS) \
18364 for flag in $(EXTRA_HOST_FLAGS) ; do \
18365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18366 done; \
18367 echo "Doing maintainer-clean in sed" ; \
18368 (cd sed && \
18369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18371 "RANLIB=$${RANLIB}" \
18372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18373 maintainer-clean) \
18374 || exit 1
18376 @endif sed
18379 .PHONY: configure-send-pr maybe-configure-send-pr
18380 maybe-configure-send-pr:
18381 @if send-pr
18382 maybe-configure-send-pr: configure-send-pr
18383 configure-send-pr:
18384 @test ! -f send-pr/Makefile || exit 0; \
18385 [ -d send-pr ] || mkdir send-pr; \
18386 r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388 $(HOST_EXPORTS) \
18389 echo Configuring in send-pr; \
18390 cd send-pr || exit 1; \
18391 case $(srcdir) in \
18392 \.) \
18393 srcdiroption="--srcdir=."; \
18394 libsrcdir=".";; \
18395 /* | [A-Za-z]:[\\/]*) \
18396 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18397 libsrcdir="$$s/send-pr";; \
18398 *) \
18399 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18400 libsrcdir="$$s/send-pr";; \
18401 esac; \
18402 $(SHELL) $${libsrcdir}/configure \
18403 $(HOST_CONFIGARGS) $${srcdiroption} \
18404 || exit 1
18405 @endif send-pr
18407 .PHONY: all-send-pr maybe-all-send-pr
18408 maybe-all-send-pr:
18409 @if send-pr
18410 TARGET-send-pr=all
18411 maybe-all-send-pr: all-send-pr
18412 all-send-pr: configure-send-pr
18413 @r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18415 $(SET_LIB_PATH) \
18416 $(HOST_EXPORTS) \
18417 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18418 $(TARGET-send-pr))
18419 @endif send-pr
18421 .PHONY: check-send-pr maybe-check-send-pr
18422 maybe-check-send-pr:
18423 @if send-pr
18424 maybe-check-send-pr: check-send-pr
18426 check-send-pr:
18427 @r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(SET_LIB_PATH) \
18430 $(HOST_EXPORTS) \
18431 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18433 @endif send-pr
18435 .PHONY: install-send-pr maybe-install-send-pr
18436 maybe-install-send-pr:
18437 @if send-pr
18438 maybe-install-send-pr: install-send-pr
18440 install-send-pr: installdirs
18441 @r=`${PWD_COMMAND}`; export r; \
18442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443 $(SET_LIB_PATH) \
18444 $(HOST_EXPORTS) \
18445 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18447 @endif send-pr
18449 # Other targets (info, dvi, etc.)
18451 .PHONY: maybe-info-send-pr info-send-pr
18452 maybe-info-send-pr:
18453 @if send-pr
18454 maybe-info-send-pr: info-send-pr
18456 info-send-pr: \
18457 configure-send-pr
18458 @[ -f ./send-pr/Makefile ] || exit 0; \
18459 r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18461 $(SET_LIB_PATH) \
18462 $(HOST_EXPORTS) \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18465 done; \
18466 echo "Doing info in send-pr" ; \
18467 (cd send-pr && \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18472 info) \
18473 || exit 1
18475 @endif send-pr
18477 .PHONY: maybe-dvi-send-pr dvi-send-pr
18478 maybe-dvi-send-pr:
18479 @if send-pr
18480 maybe-dvi-send-pr: dvi-send-pr
18482 dvi-send-pr: \
18483 configure-send-pr
18484 @[ -f ./send-pr/Makefile ] || exit 0; \
18485 r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18487 $(SET_LIB_PATH) \
18488 $(HOST_EXPORTS) \
18489 for flag in $(EXTRA_HOST_FLAGS) ; do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491 done; \
18492 echo "Doing dvi in send-pr" ; \
18493 (cd send-pr && \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18498 dvi) \
18499 || exit 1
18501 @endif send-pr
18503 .PHONY: maybe-html-send-pr html-send-pr
18504 maybe-html-send-pr:
18505 @if send-pr
18506 maybe-html-send-pr: html-send-pr
18508 html-send-pr: \
18509 configure-send-pr
18510 @[ -f ./send-pr/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(SET_LIB_PATH) \
18514 $(HOST_EXPORTS) \
18515 for flag in $(EXTRA_HOST_FLAGS) ; do \
18516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18517 done; \
18518 echo "Doing html in send-pr" ; \
18519 (cd send-pr && \
18520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18522 "RANLIB=$${RANLIB}" \
18523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18524 html) \
18525 || exit 1
18527 @endif send-pr
18529 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18530 maybe-TAGS-send-pr:
18531 @if send-pr
18532 maybe-TAGS-send-pr: TAGS-send-pr
18534 TAGS-send-pr: \
18535 configure-send-pr
18536 @[ -f ./send-pr/Makefile ] || exit 0; \
18537 r=`${PWD_COMMAND}`; export r; \
18538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18539 $(SET_LIB_PATH) \
18540 $(HOST_EXPORTS) \
18541 for flag in $(EXTRA_HOST_FLAGS) ; do \
18542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18543 done; \
18544 echo "Doing TAGS in send-pr" ; \
18545 (cd send-pr && \
18546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18548 "RANLIB=$${RANLIB}" \
18549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18550 TAGS) \
18551 || exit 1
18553 @endif send-pr
18555 .PHONY: maybe-install-info-send-pr install-info-send-pr
18556 maybe-install-info-send-pr:
18557 @if send-pr
18558 maybe-install-info-send-pr: install-info-send-pr
18560 install-info-send-pr: \
18561 configure-send-pr \
18562 info-send-pr
18563 @[ -f ./send-pr/Makefile ] || exit 0; \
18564 r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18566 $(SET_LIB_PATH) \
18567 $(HOST_EXPORTS) \
18568 for flag in $(EXTRA_HOST_FLAGS) ; do \
18569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18570 done; \
18571 echo "Doing install-info in send-pr" ; \
18572 (cd send-pr && \
18573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18575 "RANLIB=$${RANLIB}" \
18576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18577 install-info) \
18578 || exit 1
18580 @endif send-pr
18582 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18583 maybe-installcheck-send-pr:
18584 @if send-pr
18585 maybe-installcheck-send-pr: installcheck-send-pr
18587 installcheck-send-pr: \
18588 configure-send-pr
18589 @[ -f ./send-pr/Makefile ] || exit 0; \
18590 r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18592 $(SET_LIB_PATH) \
18593 $(HOST_EXPORTS) \
18594 for flag in $(EXTRA_HOST_FLAGS) ; do \
18595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18596 done; \
18597 echo "Doing installcheck in send-pr" ; \
18598 (cd send-pr && \
18599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18601 "RANLIB=$${RANLIB}" \
18602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18603 installcheck) \
18604 || exit 1
18606 @endif send-pr
18608 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18609 maybe-mostlyclean-send-pr:
18610 @if send-pr
18611 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18613 mostlyclean-send-pr:
18614 @[ -f ./send-pr/Makefile ] || exit 0; \
18615 r=`${PWD_COMMAND}`; export r; \
18616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18617 $(SET_LIB_PATH) \
18618 $(HOST_EXPORTS) \
18619 for flag in $(EXTRA_HOST_FLAGS) ; do \
18620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18621 done; \
18622 echo "Doing mostlyclean in send-pr" ; \
18623 (cd send-pr && \
18624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18626 "RANLIB=$${RANLIB}" \
18627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18628 mostlyclean) \
18629 || exit 1
18631 @endif send-pr
18633 .PHONY: maybe-clean-send-pr clean-send-pr
18634 maybe-clean-send-pr:
18635 @if send-pr
18636 maybe-clean-send-pr: clean-send-pr
18638 clean-send-pr:
18639 @[ -f ./send-pr/Makefile ] || exit 0; \
18640 r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18642 $(SET_LIB_PATH) \
18643 $(HOST_EXPORTS) \
18644 for flag in $(EXTRA_HOST_FLAGS) ; do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18646 done; \
18647 echo "Doing clean in send-pr" ; \
18648 (cd send-pr && \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18653 clean) \
18654 || exit 1
18656 @endif send-pr
18658 .PHONY: maybe-distclean-send-pr distclean-send-pr
18659 maybe-distclean-send-pr:
18660 @if send-pr
18661 maybe-distclean-send-pr: distclean-send-pr
18663 distclean-send-pr:
18664 @[ -f ./send-pr/Makefile ] || exit 0; \
18665 r=`${PWD_COMMAND}`; export r; \
18666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18667 $(SET_LIB_PATH) \
18668 $(HOST_EXPORTS) \
18669 for flag in $(EXTRA_HOST_FLAGS) ; do \
18670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18671 done; \
18672 echo "Doing distclean in send-pr" ; \
18673 (cd send-pr && \
18674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18676 "RANLIB=$${RANLIB}" \
18677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18678 distclean) \
18679 || exit 1
18681 @endif send-pr
18683 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18684 maybe-maintainer-clean-send-pr:
18685 @if send-pr
18686 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18688 maintainer-clean-send-pr:
18689 @[ -f ./send-pr/Makefile ] || exit 0; \
18690 r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18692 $(SET_LIB_PATH) \
18693 $(HOST_EXPORTS) \
18694 for flag in $(EXTRA_HOST_FLAGS) ; do \
18695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18696 done; \
18697 echo "Doing maintainer-clean in send-pr" ; \
18698 (cd send-pr && \
18699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18701 "RANLIB=$${RANLIB}" \
18702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18703 maintainer-clean) \
18704 || exit 1
18706 @endif send-pr
18709 .PHONY: configure-shellutils maybe-configure-shellutils
18710 maybe-configure-shellutils:
18711 @if shellutils
18712 maybe-configure-shellutils: configure-shellutils
18713 configure-shellutils:
18714 @test ! -f shellutils/Makefile || exit 0; \
18715 [ -d shellutils ] || mkdir shellutils; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 $(HOST_EXPORTS) \
18719 echo Configuring in shellutils; \
18720 cd shellutils || exit 1; \
18721 case $(srcdir) in \
18722 \.) \
18723 srcdiroption="--srcdir=."; \
18724 libsrcdir=".";; \
18725 /* | [A-Za-z]:[\\/]*) \
18726 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18727 libsrcdir="$$s/shellutils";; \
18728 *) \
18729 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18730 libsrcdir="$$s/shellutils";; \
18731 esac; \
18732 $(SHELL) $${libsrcdir}/configure \
18733 $(HOST_CONFIGARGS) $${srcdiroption} \
18734 || exit 1
18735 @endif shellutils
18737 .PHONY: all-shellutils maybe-all-shellutils
18738 maybe-all-shellutils:
18739 @if shellutils
18740 TARGET-shellutils=all
18741 maybe-all-shellutils: all-shellutils
18742 all-shellutils: configure-shellutils
18743 @r=`${PWD_COMMAND}`; export r; \
18744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18745 $(SET_LIB_PATH) \
18746 $(HOST_EXPORTS) \
18747 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18748 $(TARGET-shellutils))
18749 @endif shellutils
18751 .PHONY: check-shellutils maybe-check-shellutils
18752 maybe-check-shellutils:
18753 @if shellutils
18754 maybe-check-shellutils: check-shellutils
18756 check-shellutils:
18757 @r=`${PWD_COMMAND}`; export r; \
18758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18759 $(SET_LIB_PATH) \
18760 $(HOST_EXPORTS) \
18761 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18763 @endif shellutils
18765 .PHONY: install-shellutils maybe-install-shellutils
18766 maybe-install-shellutils:
18767 @if shellutils
18768 maybe-install-shellutils: install-shellutils
18770 install-shellutils: installdirs
18771 @r=`${PWD_COMMAND}`; export r; \
18772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18773 $(SET_LIB_PATH) \
18774 $(HOST_EXPORTS) \
18775 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18777 @endif shellutils
18779 # Other targets (info, dvi, etc.)
18781 .PHONY: maybe-info-shellutils info-shellutils
18782 maybe-info-shellutils:
18783 @if shellutils
18784 maybe-info-shellutils: info-shellutils
18786 info-shellutils: \
18787 configure-shellutils
18788 @[ -f ./shellutils/Makefile ] || exit 0; \
18789 r=`${PWD_COMMAND}`; export r; \
18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18791 $(SET_LIB_PATH) \
18792 $(HOST_EXPORTS) \
18793 for flag in $(EXTRA_HOST_FLAGS) ; do \
18794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18795 done; \
18796 echo "Doing info in shellutils" ; \
18797 (cd shellutils && \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18800 "RANLIB=$${RANLIB}" \
18801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18802 info) \
18803 || exit 1
18805 @endif shellutils
18807 .PHONY: maybe-dvi-shellutils dvi-shellutils
18808 maybe-dvi-shellutils:
18809 @if shellutils
18810 maybe-dvi-shellutils: dvi-shellutils
18812 dvi-shellutils: \
18813 configure-shellutils
18814 @[ -f ./shellutils/Makefile ] || exit 0; \
18815 r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 $(SET_LIB_PATH) \
18818 $(HOST_EXPORTS) \
18819 for flag in $(EXTRA_HOST_FLAGS) ; do \
18820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18821 done; \
18822 echo "Doing dvi in shellutils" ; \
18823 (cd shellutils && \
18824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18826 "RANLIB=$${RANLIB}" \
18827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18828 dvi) \
18829 || exit 1
18831 @endif shellutils
18833 .PHONY: maybe-html-shellutils html-shellutils
18834 maybe-html-shellutils:
18835 @if shellutils
18836 maybe-html-shellutils: html-shellutils
18838 html-shellutils: \
18839 configure-shellutils
18840 @[ -f ./shellutils/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 $(SET_LIB_PATH) \
18844 $(HOST_EXPORTS) \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18847 done; \
18848 echo "Doing html in shellutils" ; \
18849 (cd shellutils && \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18854 html) \
18855 || exit 1
18857 @endif shellutils
18859 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18860 maybe-TAGS-shellutils:
18861 @if shellutils
18862 maybe-TAGS-shellutils: TAGS-shellutils
18864 TAGS-shellutils: \
18865 configure-shellutils
18866 @[ -f ./shellutils/Makefile ] || exit 0; \
18867 r=`${PWD_COMMAND}`; export r; \
18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869 $(SET_LIB_PATH) \
18870 $(HOST_EXPORTS) \
18871 for flag in $(EXTRA_HOST_FLAGS) ; do \
18872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18873 done; \
18874 echo "Doing TAGS in shellutils" ; \
18875 (cd shellutils && \
18876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18878 "RANLIB=$${RANLIB}" \
18879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18880 TAGS) \
18881 || exit 1
18883 @endif shellutils
18885 .PHONY: maybe-install-info-shellutils install-info-shellutils
18886 maybe-install-info-shellutils:
18887 @if shellutils
18888 maybe-install-info-shellutils: install-info-shellutils
18890 install-info-shellutils: \
18891 configure-shellutils \
18892 info-shellutils
18893 @[ -f ./shellutils/Makefile ] || exit 0; \
18894 r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 $(SET_LIB_PATH) \
18897 $(HOST_EXPORTS) \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900 done; \
18901 echo "Doing install-info in shellutils" ; \
18902 (cd shellutils && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18907 install-info) \
18908 || exit 1
18910 @endif shellutils
18912 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18913 maybe-installcheck-shellutils:
18914 @if shellutils
18915 maybe-installcheck-shellutils: installcheck-shellutils
18917 installcheck-shellutils: \
18918 configure-shellutils
18919 @[ -f ./shellutils/Makefile ] || exit 0; \
18920 r=`${PWD_COMMAND}`; export r; \
18921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18922 $(SET_LIB_PATH) \
18923 $(HOST_EXPORTS) \
18924 for flag in $(EXTRA_HOST_FLAGS) ; do \
18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 done; \
18927 echo "Doing installcheck in shellutils" ; \
18928 (cd shellutils && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18931 "RANLIB=$${RANLIB}" \
18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18933 installcheck) \
18934 || exit 1
18936 @endif shellutils
18938 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18939 maybe-mostlyclean-shellutils:
18940 @if shellutils
18941 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18943 mostlyclean-shellutils:
18944 @[ -f ./shellutils/Makefile ] || exit 0; \
18945 r=`${PWD_COMMAND}`; export r; \
18946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18947 $(SET_LIB_PATH) \
18948 $(HOST_EXPORTS) \
18949 for flag in $(EXTRA_HOST_FLAGS) ; do \
18950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18951 done; \
18952 echo "Doing mostlyclean in shellutils" ; \
18953 (cd shellutils && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956 "RANLIB=$${RANLIB}" \
18957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18958 mostlyclean) \
18959 || exit 1
18961 @endif shellutils
18963 .PHONY: maybe-clean-shellutils clean-shellutils
18964 maybe-clean-shellutils:
18965 @if shellutils
18966 maybe-clean-shellutils: clean-shellutils
18968 clean-shellutils:
18969 @[ -f ./shellutils/Makefile ] || exit 0; \
18970 r=`${PWD_COMMAND}`; export r; \
18971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18972 $(SET_LIB_PATH) \
18973 $(HOST_EXPORTS) \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976 done; \
18977 echo "Doing clean in shellutils" ; \
18978 (cd shellutils && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18983 clean) \
18984 || exit 1
18986 @endif shellutils
18988 .PHONY: maybe-distclean-shellutils distclean-shellutils
18989 maybe-distclean-shellutils:
18990 @if shellutils
18991 maybe-distclean-shellutils: distclean-shellutils
18993 distclean-shellutils:
18994 @[ -f ./shellutils/Makefile ] || exit 0; \
18995 r=`${PWD_COMMAND}`; export r; \
18996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18997 $(SET_LIB_PATH) \
18998 $(HOST_EXPORTS) \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 done; \
19002 echo "Doing distclean in shellutils" ; \
19003 (cd shellutils && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19008 distclean) \
19009 || exit 1
19011 @endif shellutils
19013 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19014 maybe-maintainer-clean-shellutils:
19015 @if shellutils
19016 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19018 maintainer-clean-shellutils:
19019 @[ -f ./shellutils/Makefile ] || exit 0; \
19020 r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 $(SET_LIB_PATH) \
19023 $(HOST_EXPORTS) \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 done; \
19027 echo "Doing maintainer-clean in shellutils" ; \
19028 (cd shellutils && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 maintainer-clean) \
19034 || exit 1
19036 @endif shellutils
19039 .PHONY: configure-sid maybe-configure-sid
19040 maybe-configure-sid:
19041 @if sid
19042 maybe-configure-sid: configure-sid
19043 configure-sid:
19044 @test ! -f sid/Makefile || exit 0; \
19045 [ -d sid ] || mkdir sid; \
19046 r=`${PWD_COMMAND}`; export r; \
19047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19048 $(HOST_EXPORTS) \
19049 echo Configuring in sid; \
19050 cd sid || exit 1; \
19051 case $(srcdir) in \
19052 \.) \
19053 srcdiroption="--srcdir=."; \
19054 libsrcdir=".";; \
19055 /* | [A-Za-z]:[\\/]*) \
19056 srcdiroption="--srcdir=$(srcdir)/sid"; \
19057 libsrcdir="$$s/sid";; \
19058 *) \
19059 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19060 libsrcdir="$$s/sid";; \
19061 esac; \
19062 $(SHELL) $${libsrcdir}/configure \
19063 $(HOST_CONFIGARGS) $${srcdiroption} \
19064 || exit 1
19065 @endif sid
19067 .PHONY: all-sid maybe-all-sid
19068 maybe-all-sid:
19069 @if sid
19070 TARGET-sid=all
19071 maybe-all-sid: all-sid
19072 all-sid: configure-sid
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19075 $(SET_LIB_PATH) \
19076 $(HOST_EXPORTS) \
19077 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19078 $(TARGET-sid))
19079 @endif sid
19081 .PHONY: check-sid maybe-check-sid
19082 maybe-check-sid:
19083 @if sid
19084 maybe-check-sid: check-sid
19086 check-sid:
19087 @r=`${PWD_COMMAND}`; export r; \
19088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19089 $(SET_LIB_PATH) \
19090 $(HOST_EXPORTS) \
19091 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19093 @endif sid
19095 .PHONY: install-sid maybe-install-sid
19096 maybe-install-sid:
19097 @if sid
19098 maybe-install-sid: install-sid
19100 install-sid: installdirs
19101 @r=`${PWD_COMMAND}`; export r; \
19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19103 $(SET_LIB_PATH) \
19104 $(HOST_EXPORTS) \
19105 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19107 @endif sid
19109 # Other targets (info, dvi, etc.)
19111 .PHONY: maybe-info-sid info-sid
19112 maybe-info-sid:
19113 @if sid
19114 maybe-info-sid: info-sid
19116 info-sid: \
19117 configure-sid
19118 @[ -f ./sid/Makefile ] || exit 0; \
19119 r=`${PWD_COMMAND}`; export r; \
19120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19121 $(SET_LIB_PATH) \
19122 $(HOST_EXPORTS) \
19123 for flag in $(EXTRA_HOST_FLAGS) ; do \
19124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19125 done; \
19126 echo "Doing info in sid" ; \
19127 (cd sid && \
19128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19130 "RANLIB=$${RANLIB}" \
19131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19132 info) \
19133 || exit 1
19135 @endif sid
19137 .PHONY: maybe-dvi-sid dvi-sid
19138 maybe-dvi-sid:
19139 @if sid
19140 maybe-dvi-sid: dvi-sid
19142 dvi-sid: \
19143 configure-sid
19144 @[ -f ./sid/Makefile ] || exit 0; \
19145 r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19147 $(SET_LIB_PATH) \
19148 $(HOST_EXPORTS) \
19149 for flag in $(EXTRA_HOST_FLAGS) ; do \
19150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19151 done; \
19152 echo "Doing dvi in sid" ; \
19153 (cd sid && \
19154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19156 "RANLIB=$${RANLIB}" \
19157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19158 dvi) \
19159 || exit 1
19161 @endif sid
19163 .PHONY: maybe-html-sid html-sid
19164 maybe-html-sid:
19165 @if sid
19166 maybe-html-sid: html-sid
19168 html-sid: \
19169 configure-sid
19170 @[ -f ./sid/Makefile ] || exit 0; \
19171 r=`${PWD_COMMAND}`; export r; \
19172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19173 $(SET_LIB_PATH) \
19174 $(HOST_EXPORTS) \
19175 for flag in $(EXTRA_HOST_FLAGS) ; do \
19176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19177 done; \
19178 echo "Doing html in sid" ; \
19179 (cd sid && \
19180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19182 "RANLIB=$${RANLIB}" \
19183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19184 html) \
19185 || exit 1
19187 @endif sid
19189 .PHONY: maybe-TAGS-sid TAGS-sid
19190 maybe-TAGS-sid:
19191 @if sid
19192 maybe-TAGS-sid: TAGS-sid
19194 TAGS-sid: \
19195 configure-sid
19196 @[ -f ./sid/Makefile ] || exit 0; \
19197 r=`${PWD_COMMAND}`; export r; \
19198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19199 $(SET_LIB_PATH) \
19200 $(HOST_EXPORTS) \
19201 for flag in $(EXTRA_HOST_FLAGS) ; do \
19202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19203 done; \
19204 echo "Doing TAGS in sid" ; \
19205 (cd sid && \
19206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19208 "RANLIB=$${RANLIB}" \
19209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19210 TAGS) \
19211 || exit 1
19213 @endif sid
19215 .PHONY: maybe-install-info-sid install-info-sid
19216 maybe-install-info-sid:
19217 @if sid
19218 maybe-install-info-sid: install-info-sid
19220 install-info-sid: \
19221 configure-sid \
19222 info-sid
19223 @[ -f ./sid/Makefile ] || exit 0; \
19224 r=`${PWD_COMMAND}`; export r; \
19225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19226 $(SET_LIB_PATH) \
19227 $(HOST_EXPORTS) \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 done; \
19231 echo "Doing install-info in sid" ; \
19232 (cd sid && \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19237 install-info) \
19238 || exit 1
19240 @endif sid
19242 .PHONY: maybe-installcheck-sid installcheck-sid
19243 maybe-installcheck-sid:
19244 @if sid
19245 maybe-installcheck-sid: installcheck-sid
19247 installcheck-sid: \
19248 configure-sid
19249 @[ -f ./sid/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(SET_LIB_PATH) \
19253 $(HOST_EXPORTS) \
19254 for flag in $(EXTRA_HOST_FLAGS) ; do \
19255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19256 done; \
19257 echo "Doing installcheck in sid" ; \
19258 (cd sid && \
19259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19261 "RANLIB=$${RANLIB}" \
19262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19263 installcheck) \
19264 || exit 1
19266 @endif sid
19268 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19269 maybe-mostlyclean-sid:
19270 @if sid
19271 maybe-mostlyclean-sid: mostlyclean-sid
19273 mostlyclean-sid:
19274 @[ -f ./sid/Makefile ] || exit 0; \
19275 r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 $(SET_LIB_PATH) \
19278 $(HOST_EXPORTS) \
19279 for flag in $(EXTRA_HOST_FLAGS) ; do \
19280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19281 done; \
19282 echo "Doing mostlyclean in sid" ; \
19283 (cd sid && \
19284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19286 "RANLIB=$${RANLIB}" \
19287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19288 mostlyclean) \
19289 || exit 1
19291 @endif sid
19293 .PHONY: maybe-clean-sid clean-sid
19294 maybe-clean-sid:
19295 @if sid
19296 maybe-clean-sid: clean-sid
19298 clean-sid:
19299 @[ -f ./sid/Makefile ] || exit 0; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(SET_LIB_PATH) \
19303 $(HOST_EXPORTS) \
19304 for flag in $(EXTRA_HOST_FLAGS) ; do \
19305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19306 done; \
19307 echo "Doing clean in sid" ; \
19308 (cd sid && \
19309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19311 "RANLIB=$${RANLIB}" \
19312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19313 clean) \
19314 || exit 1
19316 @endif sid
19318 .PHONY: maybe-distclean-sid distclean-sid
19319 maybe-distclean-sid:
19320 @if sid
19321 maybe-distclean-sid: distclean-sid
19323 distclean-sid:
19324 @[ -f ./sid/Makefile ] || exit 0; \
19325 r=`${PWD_COMMAND}`; export r; \
19326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19327 $(SET_LIB_PATH) \
19328 $(HOST_EXPORTS) \
19329 for flag in $(EXTRA_HOST_FLAGS) ; do \
19330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19331 done; \
19332 echo "Doing distclean in sid" ; \
19333 (cd sid && \
19334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19336 "RANLIB=$${RANLIB}" \
19337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19338 distclean) \
19339 || exit 1
19341 @endif sid
19343 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19344 maybe-maintainer-clean-sid:
19345 @if sid
19346 maybe-maintainer-clean-sid: maintainer-clean-sid
19348 maintainer-clean-sid:
19349 @[ -f ./sid/Makefile ] || exit 0; \
19350 r=`${PWD_COMMAND}`; export r; \
19351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19352 $(SET_LIB_PATH) \
19353 $(HOST_EXPORTS) \
19354 for flag in $(EXTRA_HOST_FLAGS) ; do \
19355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19356 done; \
19357 echo "Doing maintainer-clean in sid" ; \
19358 (cd sid && \
19359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19361 "RANLIB=$${RANLIB}" \
19362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19363 maintainer-clean) \
19364 || exit 1
19366 @endif sid
19369 .PHONY: configure-sim maybe-configure-sim
19370 maybe-configure-sim:
19371 @if sim
19372 maybe-configure-sim: configure-sim
19373 configure-sim:
19374 @test ! -f sim/Makefile || exit 0; \
19375 [ -d sim ] || mkdir sim; \
19376 r=`${PWD_COMMAND}`; export r; \
19377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19378 $(HOST_EXPORTS) \
19379 echo Configuring in sim; \
19380 cd sim || exit 1; \
19381 case $(srcdir) in \
19382 \.) \
19383 srcdiroption="--srcdir=."; \
19384 libsrcdir=".";; \
19385 /* | [A-Za-z]:[\\/]*) \
19386 srcdiroption="--srcdir=$(srcdir)/sim"; \
19387 libsrcdir="$$s/sim";; \
19388 *) \
19389 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19390 libsrcdir="$$s/sim";; \
19391 esac; \
19392 $(SHELL) $${libsrcdir}/configure \
19393 $(HOST_CONFIGARGS) $${srcdiroption} \
19394 || exit 1
19395 @endif sim
19397 .PHONY: all-sim maybe-all-sim
19398 maybe-all-sim:
19399 @if sim
19400 TARGET-sim=all
19401 maybe-all-sim: all-sim
19402 all-sim: configure-sim
19403 @r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(SET_LIB_PATH) \
19406 $(HOST_EXPORTS) \
19407 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19408 $(TARGET-sim))
19409 @endif sim
19411 .PHONY: check-sim maybe-check-sim
19412 maybe-check-sim:
19413 @if sim
19414 maybe-check-sim: check-sim
19416 check-sim:
19417 @r=`${PWD_COMMAND}`; export r; \
19418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 $(SET_LIB_PATH) \
19420 $(HOST_EXPORTS) \
19421 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19423 @endif sim
19425 .PHONY: install-sim maybe-install-sim
19426 maybe-install-sim:
19427 @if sim
19428 maybe-install-sim: install-sim
19430 install-sim: installdirs
19431 @r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19433 $(SET_LIB_PATH) \
19434 $(HOST_EXPORTS) \
19435 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19437 @endif sim
19439 # Other targets (info, dvi, etc.)
19441 .PHONY: maybe-info-sim info-sim
19442 maybe-info-sim:
19443 @if sim
19444 maybe-info-sim: info-sim
19446 info-sim: \
19447 configure-sim
19448 @[ -f ./sim/Makefile ] || exit 0; \
19449 r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(SET_LIB_PATH) \
19452 $(HOST_EXPORTS) \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19455 done; \
19456 echo "Doing info in sim" ; \
19457 (cd sim && \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19462 info) \
19463 || exit 1
19465 @endif sim
19467 .PHONY: maybe-dvi-sim dvi-sim
19468 maybe-dvi-sim:
19469 @if sim
19470 maybe-dvi-sim: dvi-sim
19472 dvi-sim: \
19473 configure-sim
19474 @[ -f ./sim/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(SET_LIB_PATH) \
19478 $(HOST_EXPORTS) \
19479 for flag in $(EXTRA_HOST_FLAGS) ; do \
19480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19481 done; \
19482 echo "Doing dvi in sim" ; \
19483 (cd sim && \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19486 "RANLIB=$${RANLIB}" \
19487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19488 dvi) \
19489 || exit 1
19491 @endif sim
19493 .PHONY: maybe-html-sim html-sim
19494 maybe-html-sim:
19495 @if sim
19496 maybe-html-sim: html-sim
19498 html-sim: \
19499 configure-sim
19500 @[ -f ./sim/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(SET_LIB_PATH) \
19504 $(HOST_EXPORTS) \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 done; \
19508 echo "Doing html in sim" ; \
19509 (cd sim && \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19514 html) \
19515 || exit 1
19517 @endif sim
19519 .PHONY: maybe-TAGS-sim TAGS-sim
19520 maybe-TAGS-sim:
19521 @if sim
19522 maybe-TAGS-sim: TAGS-sim
19524 TAGS-sim: \
19525 configure-sim
19526 @[ -f ./sim/Makefile ] || exit 0; \
19527 r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 $(SET_LIB_PATH) \
19530 $(HOST_EXPORTS) \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 done; \
19534 echo "Doing TAGS in sim" ; \
19535 (cd sim && \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19540 TAGS) \
19541 || exit 1
19543 @endif sim
19545 .PHONY: maybe-install-info-sim install-info-sim
19546 maybe-install-info-sim:
19547 @if sim
19548 maybe-install-info-sim: install-info-sim
19550 install-info-sim: \
19551 configure-sim \
19552 info-sim
19553 @[ -f ./sim/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 $(SET_LIB_PATH) \
19557 $(HOST_EXPORTS) \
19558 for flag in $(EXTRA_HOST_FLAGS) ; do \
19559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19560 done; \
19561 echo "Doing install-info in sim" ; \
19562 (cd sim && \
19563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19565 "RANLIB=$${RANLIB}" \
19566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19567 install-info) \
19568 || exit 1
19570 @endif sim
19572 .PHONY: maybe-installcheck-sim installcheck-sim
19573 maybe-installcheck-sim:
19574 @if sim
19575 maybe-installcheck-sim: installcheck-sim
19577 installcheck-sim: \
19578 configure-sim
19579 @[ -f ./sim/Makefile ] || exit 0; \
19580 r=`${PWD_COMMAND}`; export r; \
19581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19582 $(SET_LIB_PATH) \
19583 $(HOST_EXPORTS) \
19584 for flag in $(EXTRA_HOST_FLAGS) ; do \
19585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19586 done; \
19587 echo "Doing installcheck in sim" ; \
19588 (cd sim && \
19589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19591 "RANLIB=$${RANLIB}" \
19592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19593 installcheck) \
19594 || exit 1
19596 @endif sim
19598 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19599 maybe-mostlyclean-sim:
19600 @if sim
19601 maybe-mostlyclean-sim: mostlyclean-sim
19603 mostlyclean-sim:
19604 @[ -f ./sim/Makefile ] || exit 0; \
19605 r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 $(SET_LIB_PATH) \
19608 $(HOST_EXPORTS) \
19609 for flag in $(EXTRA_HOST_FLAGS) ; do \
19610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19611 done; \
19612 echo "Doing mostlyclean in sim" ; \
19613 (cd sim && \
19614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19616 "RANLIB=$${RANLIB}" \
19617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19618 mostlyclean) \
19619 || exit 1
19621 @endif sim
19623 .PHONY: maybe-clean-sim clean-sim
19624 maybe-clean-sim:
19625 @if sim
19626 maybe-clean-sim: clean-sim
19628 clean-sim:
19629 @[ -f ./sim/Makefile ] || exit 0; \
19630 r=`${PWD_COMMAND}`; export r; \
19631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19632 $(SET_LIB_PATH) \
19633 $(HOST_EXPORTS) \
19634 for flag in $(EXTRA_HOST_FLAGS) ; do \
19635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19636 done; \
19637 echo "Doing clean in sim" ; \
19638 (cd sim && \
19639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19641 "RANLIB=$${RANLIB}" \
19642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19643 clean) \
19644 || exit 1
19646 @endif sim
19648 .PHONY: maybe-distclean-sim distclean-sim
19649 maybe-distclean-sim:
19650 @if sim
19651 maybe-distclean-sim: distclean-sim
19653 distclean-sim:
19654 @[ -f ./sim/Makefile ] || exit 0; \
19655 r=`${PWD_COMMAND}`; export r; \
19656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19657 $(SET_LIB_PATH) \
19658 $(HOST_EXPORTS) \
19659 for flag in $(EXTRA_HOST_FLAGS) ; do \
19660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19661 done; \
19662 echo "Doing distclean in sim" ; \
19663 (cd sim && \
19664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19666 "RANLIB=$${RANLIB}" \
19667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19668 distclean) \
19669 || exit 1
19671 @endif sim
19673 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19674 maybe-maintainer-clean-sim:
19675 @if sim
19676 maybe-maintainer-clean-sim: maintainer-clean-sim
19678 maintainer-clean-sim:
19679 @[ -f ./sim/Makefile ] || exit 0; \
19680 r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 $(SET_LIB_PATH) \
19683 $(HOST_EXPORTS) \
19684 for flag in $(EXTRA_HOST_FLAGS) ; do \
19685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19686 done; \
19687 echo "Doing maintainer-clean in sim" ; \
19688 (cd sim && \
19689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19691 "RANLIB=$${RANLIB}" \
19692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 maintainer-clean) \
19694 || exit 1
19696 @endif sim
19699 .PHONY: configure-tar maybe-configure-tar
19700 maybe-configure-tar:
19701 @if tar
19702 maybe-configure-tar: configure-tar
19703 configure-tar:
19704 @test ! -f tar/Makefile || exit 0; \
19705 [ -d tar ] || mkdir tar; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 $(HOST_EXPORTS) \
19709 echo Configuring in tar; \
19710 cd tar || exit 1; \
19711 case $(srcdir) in \
19712 \.) \
19713 srcdiroption="--srcdir=."; \
19714 libsrcdir=".";; \
19715 /* | [A-Za-z]:[\\/]*) \
19716 srcdiroption="--srcdir=$(srcdir)/tar"; \
19717 libsrcdir="$$s/tar";; \
19718 *) \
19719 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19720 libsrcdir="$$s/tar";; \
19721 esac; \
19722 $(SHELL) $${libsrcdir}/configure \
19723 $(HOST_CONFIGARGS) $${srcdiroption} \
19724 || exit 1
19725 @endif tar
19727 .PHONY: all-tar maybe-all-tar
19728 maybe-all-tar:
19729 @if tar
19730 TARGET-tar=all
19731 maybe-all-tar: all-tar
19732 all-tar: configure-tar
19733 @r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 $(SET_LIB_PATH) \
19736 $(HOST_EXPORTS) \
19737 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19738 $(TARGET-tar))
19739 @endif tar
19741 .PHONY: check-tar maybe-check-tar
19742 maybe-check-tar:
19743 @if tar
19744 maybe-check-tar: check-tar
19746 check-tar:
19747 @r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(SET_LIB_PATH) \
19750 $(HOST_EXPORTS) \
19751 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19753 @endif tar
19755 .PHONY: install-tar maybe-install-tar
19756 maybe-install-tar:
19757 @if tar
19758 maybe-install-tar: install-tar
19760 install-tar: installdirs
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19763 $(SET_LIB_PATH) \
19764 $(HOST_EXPORTS) \
19765 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19767 @endif tar
19769 # Other targets (info, dvi, etc.)
19771 .PHONY: maybe-info-tar info-tar
19772 maybe-info-tar:
19773 @if tar
19774 maybe-info-tar: info-tar
19776 info-tar: \
19777 configure-tar
19778 @[ -f ./tar/Makefile ] || exit 0; \
19779 r=`${PWD_COMMAND}`; export r; \
19780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19781 $(SET_LIB_PATH) \
19782 $(HOST_EXPORTS) \
19783 for flag in $(EXTRA_HOST_FLAGS) ; do \
19784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19785 done; \
19786 echo "Doing info in tar" ; \
19787 (cd tar && \
19788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19790 "RANLIB=$${RANLIB}" \
19791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19792 info) \
19793 || exit 1
19795 @endif tar
19797 .PHONY: maybe-dvi-tar dvi-tar
19798 maybe-dvi-tar:
19799 @if tar
19800 maybe-dvi-tar: dvi-tar
19802 dvi-tar: \
19803 configure-tar
19804 @[ -f ./tar/Makefile ] || exit 0; \
19805 r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 $(SET_LIB_PATH) \
19808 $(HOST_EXPORTS) \
19809 for flag in $(EXTRA_HOST_FLAGS) ; do \
19810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19811 done; \
19812 echo "Doing dvi in tar" ; \
19813 (cd tar && \
19814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19816 "RANLIB=$${RANLIB}" \
19817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19818 dvi) \
19819 || exit 1
19821 @endif tar
19823 .PHONY: maybe-html-tar html-tar
19824 maybe-html-tar:
19825 @if tar
19826 maybe-html-tar: html-tar
19828 html-tar: \
19829 configure-tar
19830 @[ -f ./tar/Makefile ] || exit 0; \
19831 r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19833 $(SET_LIB_PATH) \
19834 $(HOST_EXPORTS) \
19835 for flag in $(EXTRA_HOST_FLAGS) ; do \
19836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19837 done; \
19838 echo "Doing html in tar" ; \
19839 (cd tar && \
19840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19842 "RANLIB=$${RANLIB}" \
19843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19844 html) \
19845 || exit 1
19847 @endif tar
19849 .PHONY: maybe-TAGS-tar TAGS-tar
19850 maybe-TAGS-tar:
19851 @if tar
19852 maybe-TAGS-tar: TAGS-tar
19854 TAGS-tar: \
19855 configure-tar
19856 @[ -f ./tar/Makefile ] || exit 0; \
19857 r=`${PWD_COMMAND}`; export r; \
19858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19859 $(SET_LIB_PATH) \
19860 $(HOST_EXPORTS) \
19861 for flag in $(EXTRA_HOST_FLAGS) ; do \
19862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19863 done; \
19864 echo "Doing TAGS in tar" ; \
19865 (cd tar && \
19866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19868 "RANLIB=$${RANLIB}" \
19869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19870 TAGS) \
19871 || exit 1
19873 @endif tar
19875 .PHONY: maybe-install-info-tar install-info-tar
19876 maybe-install-info-tar:
19877 @if tar
19878 maybe-install-info-tar: install-info-tar
19880 install-info-tar: \
19881 configure-tar \
19882 info-tar
19883 @[ -f ./tar/Makefile ] || exit 0; \
19884 r=`${PWD_COMMAND}`; export r; \
19885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19886 $(SET_LIB_PATH) \
19887 $(HOST_EXPORTS) \
19888 for flag in $(EXTRA_HOST_FLAGS) ; do \
19889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19890 done; \
19891 echo "Doing install-info in tar" ; \
19892 (cd tar && \
19893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19895 "RANLIB=$${RANLIB}" \
19896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19897 install-info) \
19898 || exit 1
19900 @endif tar
19902 .PHONY: maybe-installcheck-tar installcheck-tar
19903 maybe-installcheck-tar:
19904 @if tar
19905 maybe-installcheck-tar: installcheck-tar
19907 installcheck-tar: \
19908 configure-tar
19909 @[ -f ./tar/Makefile ] || exit 0; \
19910 r=`${PWD_COMMAND}`; export r; \
19911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19912 $(SET_LIB_PATH) \
19913 $(HOST_EXPORTS) \
19914 for flag in $(EXTRA_HOST_FLAGS) ; do \
19915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19916 done; \
19917 echo "Doing installcheck in tar" ; \
19918 (cd tar && \
19919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19921 "RANLIB=$${RANLIB}" \
19922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19923 installcheck) \
19924 || exit 1
19926 @endif tar
19928 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19929 maybe-mostlyclean-tar:
19930 @if tar
19931 maybe-mostlyclean-tar: mostlyclean-tar
19933 mostlyclean-tar:
19934 @[ -f ./tar/Makefile ] || exit 0; \
19935 r=`${PWD_COMMAND}`; export r; \
19936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19937 $(SET_LIB_PATH) \
19938 $(HOST_EXPORTS) \
19939 for flag in $(EXTRA_HOST_FLAGS) ; do \
19940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19941 done; \
19942 echo "Doing mostlyclean in tar" ; \
19943 (cd tar && \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19946 "RANLIB=$${RANLIB}" \
19947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19948 mostlyclean) \
19949 || exit 1
19951 @endif tar
19953 .PHONY: maybe-clean-tar clean-tar
19954 maybe-clean-tar:
19955 @if tar
19956 maybe-clean-tar: clean-tar
19958 clean-tar:
19959 @[ -f ./tar/Makefile ] || exit 0; \
19960 r=`${PWD_COMMAND}`; export r; \
19961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19962 $(SET_LIB_PATH) \
19963 $(HOST_EXPORTS) \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 done; \
19967 echo "Doing clean in tar" ; \
19968 (cd tar && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19973 clean) \
19974 || exit 1
19976 @endif tar
19978 .PHONY: maybe-distclean-tar distclean-tar
19979 maybe-distclean-tar:
19980 @if tar
19981 maybe-distclean-tar: distclean-tar
19983 distclean-tar:
19984 @[ -f ./tar/Makefile ] || exit 0; \
19985 r=`${PWD_COMMAND}`; export r; \
19986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19987 $(SET_LIB_PATH) \
19988 $(HOST_EXPORTS) \
19989 for flag in $(EXTRA_HOST_FLAGS) ; do \
19990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19991 done; \
19992 echo "Doing distclean in tar" ; \
19993 (cd tar && \
19994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19996 "RANLIB=$${RANLIB}" \
19997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19998 distclean) \
19999 || exit 1
20001 @endif tar
20003 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20004 maybe-maintainer-clean-tar:
20005 @if tar
20006 maybe-maintainer-clean-tar: maintainer-clean-tar
20008 maintainer-clean-tar:
20009 @[ -f ./tar/Makefile ] || exit 0; \
20010 r=`${PWD_COMMAND}`; export r; \
20011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20012 $(SET_LIB_PATH) \
20013 $(HOST_EXPORTS) \
20014 for flag in $(EXTRA_HOST_FLAGS) ; do \
20015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20016 done; \
20017 echo "Doing maintainer-clean in tar" ; \
20018 (cd tar && \
20019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20021 "RANLIB=$${RANLIB}" \
20022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20023 maintainer-clean) \
20024 || exit 1
20026 @endif tar
20029 .PHONY: configure-texinfo maybe-configure-texinfo
20030 maybe-configure-texinfo:
20031 @if texinfo
20032 maybe-configure-texinfo: configure-texinfo
20033 configure-texinfo:
20034 @test ! -f texinfo/Makefile || exit 0; \
20035 [ -d texinfo ] || mkdir texinfo; \
20036 r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 $(HOST_EXPORTS) \
20039 echo Configuring in texinfo; \
20040 cd texinfo || exit 1; \
20041 case $(srcdir) in \
20042 \.) \
20043 srcdiroption="--srcdir=."; \
20044 libsrcdir=".";; \
20045 /* | [A-Za-z]:[\\/]*) \
20046 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20047 libsrcdir="$$s/texinfo";; \
20048 *) \
20049 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20050 libsrcdir="$$s/texinfo";; \
20051 esac; \
20052 $(SHELL) $${libsrcdir}/configure \
20053 $(HOST_CONFIGARGS) $${srcdiroption} \
20054 || exit 1
20055 @endif texinfo
20057 .PHONY: all-texinfo maybe-all-texinfo
20058 maybe-all-texinfo:
20059 @if texinfo
20060 TARGET-texinfo=all
20061 maybe-all-texinfo: all-texinfo
20062 all-texinfo: configure-texinfo
20063 @r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20065 $(SET_LIB_PATH) \
20066 $(HOST_EXPORTS) \
20067 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20068 $(TARGET-texinfo))
20069 @endif texinfo
20071 .PHONY: check-texinfo maybe-check-texinfo
20072 maybe-check-texinfo:
20073 @if texinfo
20074 maybe-check-texinfo: check-texinfo
20076 check-texinfo:
20077 @r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(SET_LIB_PATH) \
20080 $(HOST_EXPORTS) \
20081 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20083 @endif texinfo
20085 .PHONY: install-texinfo maybe-install-texinfo
20086 maybe-install-texinfo:
20087 @if texinfo
20088 maybe-install-texinfo: install-texinfo
20090 install-texinfo:
20092 @endif texinfo
20094 # Other targets (info, dvi, etc.)
20096 .PHONY: maybe-info-texinfo info-texinfo
20097 maybe-info-texinfo:
20098 @if texinfo
20099 maybe-info-texinfo: info-texinfo
20101 info-texinfo: \
20102 configure-texinfo
20103 @[ -f ./texinfo/Makefile ] || exit 0; \
20104 r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 $(SET_LIB_PATH) \
20107 $(HOST_EXPORTS) \
20108 for flag in $(EXTRA_HOST_FLAGS) ; do \
20109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20110 done; \
20111 echo "Doing info in texinfo" ; \
20112 (cd texinfo && \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20117 info) \
20118 || exit 1
20120 @endif texinfo
20122 .PHONY: maybe-dvi-texinfo dvi-texinfo
20123 maybe-dvi-texinfo:
20124 @if texinfo
20125 maybe-dvi-texinfo: dvi-texinfo
20127 dvi-texinfo: \
20128 configure-texinfo
20129 @[ -f ./texinfo/Makefile ] || exit 0; \
20130 r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20132 $(SET_LIB_PATH) \
20133 $(HOST_EXPORTS) \
20134 for flag in $(EXTRA_HOST_FLAGS) ; do \
20135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20136 done; \
20137 echo "Doing dvi in texinfo" ; \
20138 (cd texinfo && \
20139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20141 "RANLIB=$${RANLIB}" \
20142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20143 dvi) \
20144 || exit 1
20146 @endif texinfo
20148 .PHONY: maybe-html-texinfo html-texinfo
20149 maybe-html-texinfo:
20150 @if texinfo
20151 maybe-html-texinfo: html-texinfo
20153 html-texinfo: \
20154 configure-texinfo
20155 @[ -f ./texinfo/Makefile ] || exit 0; \
20156 r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 $(SET_LIB_PATH) \
20159 $(HOST_EXPORTS) \
20160 for flag in $(EXTRA_HOST_FLAGS) ; do \
20161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20162 done; \
20163 echo "Doing html in texinfo" ; \
20164 (cd texinfo && \
20165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20167 "RANLIB=$${RANLIB}" \
20168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20169 html) \
20170 || exit 1
20172 @endif texinfo
20174 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20175 maybe-TAGS-texinfo:
20176 @if texinfo
20177 maybe-TAGS-texinfo: TAGS-texinfo
20179 TAGS-texinfo: \
20180 configure-texinfo
20181 @[ -f ./texinfo/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 TAGS in texinfo" ; \
20190 (cd texinfo && \
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 TAGS) \
20196 || exit 1
20198 @endif texinfo
20200 .PHONY: maybe-install-info-texinfo install-info-texinfo
20201 maybe-install-info-texinfo:
20202 @if texinfo
20203 maybe-install-info-texinfo: install-info-texinfo
20205 install-info-texinfo: \
20206 configure-texinfo \
20207 info-texinfo
20208 @[ -f ./texinfo/Makefile ] || exit 0; \
20209 r=`${PWD_COMMAND}`; export r; \
20210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20211 $(SET_LIB_PATH) \
20212 $(HOST_EXPORTS) \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 done; \
20216 echo "Doing install-info in texinfo" ; \
20217 (cd texinfo && \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20222 install-info) \
20223 || exit 1
20225 @endif texinfo
20227 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20228 maybe-installcheck-texinfo:
20229 @if texinfo
20230 maybe-installcheck-texinfo: installcheck-texinfo
20232 installcheck-texinfo: \
20233 configure-texinfo
20234 @[ -f ./texinfo/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(SET_LIB_PATH) \
20238 $(HOST_EXPORTS) \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 done; \
20242 echo "Doing installcheck in texinfo" ; \
20243 (cd texinfo && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20248 installcheck) \
20249 || exit 1
20251 @endif texinfo
20253 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20254 maybe-mostlyclean-texinfo:
20255 @if texinfo
20256 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20258 mostlyclean-texinfo:
20259 @[ -f ./texinfo/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(SET_LIB_PATH) \
20263 $(HOST_EXPORTS) \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20266 done; \
20267 echo "Doing mostlyclean in texinfo" ; \
20268 (cd texinfo && \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20273 mostlyclean) \
20274 || exit 1
20276 @endif texinfo
20278 .PHONY: maybe-clean-texinfo clean-texinfo
20279 maybe-clean-texinfo:
20280 @if texinfo
20281 maybe-clean-texinfo: clean-texinfo
20283 clean-texinfo:
20284 @[ -f ./texinfo/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 $(SET_LIB_PATH) \
20288 $(HOST_EXPORTS) \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 done; \
20292 echo "Doing clean in texinfo" ; \
20293 (cd texinfo && \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20298 clean) \
20299 || exit 1
20301 @endif texinfo
20303 .PHONY: maybe-distclean-texinfo distclean-texinfo
20304 maybe-distclean-texinfo:
20305 @if texinfo
20306 maybe-distclean-texinfo: distclean-texinfo
20308 distclean-texinfo:
20309 @[ -f ./texinfo/Makefile ] || exit 0; \
20310 r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 $(SET_LIB_PATH) \
20313 $(HOST_EXPORTS) \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 done; \
20317 echo "Doing distclean in texinfo" ; \
20318 (cd texinfo && \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20323 distclean) \
20324 || exit 1
20326 @endif texinfo
20328 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20329 maybe-maintainer-clean-texinfo:
20330 @if texinfo
20331 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20333 maintainer-clean-texinfo:
20334 @[ -f ./texinfo/Makefile ] || exit 0; \
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20337 $(SET_LIB_PATH) \
20338 $(HOST_EXPORTS) \
20339 for flag in $(EXTRA_HOST_FLAGS) ; do \
20340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20341 done; \
20342 echo "Doing maintainer-clean in texinfo" ; \
20343 (cd texinfo && \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20346 "RANLIB=$${RANLIB}" \
20347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20348 maintainer-clean) \
20349 || exit 1
20351 @endif texinfo
20354 .PHONY: configure-textutils maybe-configure-textutils
20355 maybe-configure-textutils:
20356 @if textutils
20357 maybe-configure-textutils: configure-textutils
20358 configure-textutils:
20359 @test ! -f textutils/Makefile || exit 0; \
20360 [ -d textutils ] || mkdir textutils; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 $(HOST_EXPORTS) \
20364 echo Configuring in textutils; \
20365 cd textutils || exit 1; \
20366 case $(srcdir) in \
20367 \.) \
20368 srcdiroption="--srcdir=."; \
20369 libsrcdir=".";; \
20370 /* | [A-Za-z]:[\\/]*) \
20371 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20372 libsrcdir="$$s/textutils";; \
20373 *) \
20374 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20375 libsrcdir="$$s/textutils";; \
20376 esac; \
20377 $(SHELL) $${libsrcdir}/configure \
20378 $(HOST_CONFIGARGS) $${srcdiroption} \
20379 || exit 1
20380 @endif textutils
20382 .PHONY: all-textutils maybe-all-textutils
20383 maybe-all-textutils:
20384 @if textutils
20385 TARGET-textutils=all
20386 maybe-all-textutils: all-textutils
20387 all-textutils: configure-textutils
20388 @r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 $(SET_LIB_PATH) \
20391 $(HOST_EXPORTS) \
20392 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20393 $(TARGET-textutils))
20394 @endif textutils
20396 .PHONY: check-textutils maybe-check-textutils
20397 maybe-check-textutils:
20398 @if textutils
20399 maybe-check-textutils: check-textutils
20401 check-textutils:
20402 @r=`${PWD_COMMAND}`; export r; \
20403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20404 $(SET_LIB_PATH) \
20405 $(HOST_EXPORTS) \
20406 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20408 @endif textutils
20410 .PHONY: install-textutils maybe-install-textutils
20411 maybe-install-textutils:
20412 @if textutils
20413 maybe-install-textutils: install-textutils
20415 install-textutils: installdirs
20416 @r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 $(SET_LIB_PATH) \
20419 $(HOST_EXPORTS) \
20420 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20422 @endif textutils
20424 # Other targets (info, dvi, etc.)
20426 .PHONY: maybe-info-textutils info-textutils
20427 maybe-info-textutils:
20428 @if textutils
20429 maybe-info-textutils: info-textutils
20431 info-textutils: \
20432 configure-textutils
20433 @[ -f ./textutils/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 info in textutils" ; \
20442 (cd textutils && \
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 info) \
20448 || exit 1
20450 @endif textutils
20452 .PHONY: maybe-dvi-textutils dvi-textutils
20453 maybe-dvi-textutils:
20454 @if textutils
20455 maybe-dvi-textutils: dvi-textutils
20457 dvi-textutils: \
20458 configure-textutils
20459 @[ -f ./textutils/Makefile ] || exit 0; \
20460 r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20462 $(SET_LIB_PATH) \
20463 $(HOST_EXPORTS) \
20464 for flag in $(EXTRA_HOST_FLAGS) ; do \
20465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20466 done; \
20467 echo "Doing dvi in textutils" ; \
20468 (cd textutils && \
20469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20471 "RANLIB=$${RANLIB}" \
20472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20473 dvi) \
20474 || exit 1
20476 @endif textutils
20478 .PHONY: maybe-html-textutils html-textutils
20479 maybe-html-textutils:
20480 @if textutils
20481 maybe-html-textutils: html-textutils
20483 html-textutils: \
20484 configure-textutils
20485 @[ -f ./textutils/Makefile ] || exit 0; \
20486 r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 $(SET_LIB_PATH) \
20489 $(HOST_EXPORTS) \
20490 for flag in $(EXTRA_HOST_FLAGS) ; do \
20491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20492 done; \
20493 echo "Doing html in textutils" ; \
20494 (cd textutils && \
20495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20497 "RANLIB=$${RANLIB}" \
20498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20499 html) \
20500 || exit 1
20502 @endif textutils
20504 .PHONY: maybe-TAGS-textutils TAGS-textutils
20505 maybe-TAGS-textutils:
20506 @if textutils
20507 maybe-TAGS-textutils: TAGS-textutils
20509 TAGS-textutils: \
20510 configure-textutils
20511 @[ -f ./textutils/Makefile ] || exit 0; \
20512 r=`${PWD_COMMAND}`; export r; \
20513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20514 $(SET_LIB_PATH) \
20515 $(HOST_EXPORTS) \
20516 for flag in $(EXTRA_HOST_FLAGS) ; do \
20517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518 done; \
20519 echo "Doing TAGS in textutils" ; \
20520 (cd textutils && \
20521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20523 "RANLIB=$${RANLIB}" \
20524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20525 TAGS) \
20526 || exit 1
20528 @endif textutils
20530 .PHONY: maybe-install-info-textutils install-info-textutils
20531 maybe-install-info-textutils:
20532 @if textutils
20533 maybe-install-info-textutils: install-info-textutils
20535 install-info-textutils: \
20536 configure-textutils \
20537 info-textutils
20538 @[ -f ./textutils/Makefile ] || exit 0; \
20539 r=`${PWD_COMMAND}`; export r; \
20540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20541 $(SET_LIB_PATH) \
20542 $(HOST_EXPORTS) \
20543 for flag in $(EXTRA_HOST_FLAGS) ; do \
20544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20545 done; \
20546 echo "Doing install-info in textutils" ; \
20547 (cd textutils && \
20548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20550 "RANLIB=$${RANLIB}" \
20551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20552 install-info) \
20553 || exit 1
20555 @endif textutils
20557 .PHONY: maybe-installcheck-textutils installcheck-textutils
20558 maybe-installcheck-textutils:
20559 @if textutils
20560 maybe-installcheck-textutils: installcheck-textutils
20562 installcheck-textutils: \
20563 configure-textutils
20564 @[ -f ./textutils/Makefile ] || exit 0; \
20565 r=`${PWD_COMMAND}`; export r; \
20566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20567 $(SET_LIB_PATH) \
20568 $(HOST_EXPORTS) \
20569 for flag in $(EXTRA_HOST_FLAGS) ; do \
20570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20571 done; \
20572 echo "Doing installcheck in textutils" ; \
20573 (cd textutils && \
20574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20576 "RANLIB=$${RANLIB}" \
20577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20578 installcheck) \
20579 || exit 1
20581 @endif textutils
20583 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20584 maybe-mostlyclean-textutils:
20585 @if textutils
20586 maybe-mostlyclean-textutils: mostlyclean-textutils
20588 mostlyclean-textutils:
20589 @[ -f ./textutils/Makefile ] || exit 0; \
20590 r=`${PWD_COMMAND}`; export r; \
20591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20592 $(SET_LIB_PATH) \
20593 $(HOST_EXPORTS) \
20594 for flag in $(EXTRA_HOST_FLAGS) ; do \
20595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20596 done; \
20597 echo "Doing mostlyclean in textutils" ; \
20598 (cd textutils && \
20599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20601 "RANLIB=$${RANLIB}" \
20602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20603 mostlyclean) \
20604 || exit 1
20606 @endif textutils
20608 .PHONY: maybe-clean-textutils clean-textutils
20609 maybe-clean-textutils:
20610 @if textutils
20611 maybe-clean-textutils: clean-textutils
20613 clean-textutils:
20614 @[ -f ./textutils/Makefile ] || exit 0; \
20615 r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20617 $(SET_LIB_PATH) \
20618 $(HOST_EXPORTS) \
20619 for flag in $(EXTRA_HOST_FLAGS) ; do \
20620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20621 done; \
20622 echo "Doing clean in textutils" ; \
20623 (cd textutils && \
20624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20626 "RANLIB=$${RANLIB}" \
20627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20628 clean) \
20629 || exit 1
20631 @endif textutils
20633 .PHONY: maybe-distclean-textutils distclean-textutils
20634 maybe-distclean-textutils:
20635 @if textutils
20636 maybe-distclean-textutils: distclean-textutils
20638 distclean-textutils:
20639 @[ -f ./textutils/Makefile ] || exit 0; \
20640 r=`${PWD_COMMAND}`; export r; \
20641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20642 $(SET_LIB_PATH) \
20643 $(HOST_EXPORTS) \
20644 for flag in $(EXTRA_HOST_FLAGS) ; do \
20645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20646 done; \
20647 echo "Doing distclean in textutils" ; \
20648 (cd textutils && \
20649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20651 "RANLIB=$${RANLIB}" \
20652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20653 distclean) \
20654 || exit 1
20656 @endif textutils
20658 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20659 maybe-maintainer-clean-textutils:
20660 @if textutils
20661 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20663 maintainer-clean-textutils:
20664 @[ -f ./textutils/Makefile ] || exit 0; \
20665 r=`${PWD_COMMAND}`; export r; \
20666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20667 $(SET_LIB_PATH) \
20668 $(HOST_EXPORTS) \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 done; \
20672 echo "Doing maintainer-clean in textutils" ; \
20673 (cd textutils && \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20678 maintainer-clean) \
20679 || exit 1
20681 @endif textutils
20684 .PHONY: configure-time maybe-configure-time
20685 maybe-configure-time:
20686 @if time
20687 maybe-configure-time: configure-time
20688 configure-time:
20689 @test ! -f time/Makefile || exit 0; \
20690 [ -d time ] || mkdir time; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(HOST_EXPORTS) \
20694 echo Configuring in time; \
20695 cd time || exit 1; \
20696 case $(srcdir) in \
20697 \.) \
20698 srcdiroption="--srcdir=."; \
20699 libsrcdir=".";; \
20700 /* | [A-Za-z]:[\\/]*) \
20701 srcdiroption="--srcdir=$(srcdir)/time"; \
20702 libsrcdir="$$s/time";; \
20703 *) \
20704 srcdiroption="--srcdir=../$(srcdir)/time"; \
20705 libsrcdir="$$s/time";; \
20706 esac; \
20707 $(SHELL) $${libsrcdir}/configure \
20708 $(HOST_CONFIGARGS) $${srcdiroption} \
20709 || exit 1
20710 @endif time
20712 .PHONY: all-time maybe-all-time
20713 maybe-all-time:
20714 @if time
20715 TARGET-time=all
20716 maybe-all-time: all-time
20717 all-time: configure-time
20718 @r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20720 $(SET_LIB_PATH) \
20721 $(HOST_EXPORTS) \
20722 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20723 $(TARGET-time))
20724 @endif time
20726 .PHONY: check-time maybe-check-time
20727 maybe-check-time:
20728 @if time
20729 maybe-check-time: check-time
20731 check-time:
20732 @r=`${PWD_COMMAND}`; export r; \
20733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20734 $(SET_LIB_PATH) \
20735 $(HOST_EXPORTS) \
20736 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20738 @endif time
20740 .PHONY: install-time maybe-install-time
20741 maybe-install-time:
20742 @if time
20743 maybe-install-time: install-time
20745 install-time: installdirs
20746 @r=`${PWD_COMMAND}`; export r; \
20747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20748 $(SET_LIB_PATH) \
20749 $(HOST_EXPORTS) \
20750 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20752 @endif time
20754 # Other targets (info, dvi, etc.)
20756 .PHONY: maybe-info-time info-time
20757 maybe-info-time:
20758 @if time
20759 maybe-info-time: info-time
20761 info-time: \
20762 configure-time
20763 @[ -f ./time/Makefile ] || exit 0; \
20764 r=`${PWD_COMMAND}`; export r; \
20765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20766 $(SET_LIB_PATH) \
20767 $(HOST_EXPORTS) \
20768 for flag in $(EXTRA_HOST_FLAGS) ; do \
20769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20770 done; \
20771 echo "Doing info in time" ; \
20772 (cd time && \
20773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20775 "RANLIB=$${RANLIB}" \
20776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20777 info) \
20778 || exit 1
20780 @endif time
20782 .PHONY: maybe-dvi-time dvi-time
20783 maybe-dvi-time:
20784 @if time
20785 maybe-dvi-time: dvi-time
20787 dvi-time: \
20788 configure-time
20789 @[ -f ./time/Makefile ] || exit 0; \
20790 r=`${PWD_COMMAND}`; export r; \
20791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20792 $(SET_LIB_PATH) \
20793 $(HOST_EXPORTS) \
20794 for flag in $(EXTRA_HOST_FLAGS) ; do \
20795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20796 done; \
20797 echo "Doing dvi in time" ; \
20798 (cd time && \
20799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20801 "RANLIB=$${RANLIB}" \
20802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20803 dvi) \
20804 || exit 1
20806 @endif time
20808 .PHONY: maybe-html-time html-time
20809 maybe-html-time:
20810 @if time
20811 maybe-html-time: html-time
20813 html-time: \
20814 configure-time
20815 @[ -f ./time/Makefile ] || exit 0; \
20816 r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20818 $(SET_LIB_PATH) \
20819 $(HOST_EXPORTS) \
20820 for flag in $(EXTRA_HOST_FLAGS) ; do \
20821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20822 done; \
20823 echo "Doing html in time" ; \
20824 (cd time && \
20825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20827 "RANLIB=$${RANLIB}" \
20828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20829 html) \
20830 || exit 1
20832 @endif time
20834 .PHONY: maybe-TAGS-time TAGS-time
20835 maybe-TAGS-time:
20836 @if time
20837 maybe-TAGS-time: TAGS-time
20839 TAGS-time: \
20840 configure-time
20841 @[ -f ./time/Makefile ] || exit 0; \
20842 r=`${PWD_COMMAND}`; export r; \
20843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20844 $(SET_LIB_PATH) \
20845 $(HOST_EXPORTS) \
20846 for flag in $(EXTRA_HOST_FLAGS) ; do \
20847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20848 done; \
20849 echo "Doing TAGS in time" ; \
20850 (cd time && \
20851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20853 "RANLIB=$${RANLIB}" \
20854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20855 TAGS) \
20856 || exit 1
20858 @endif time
20860 .PHONY: maybe-install-info-time install-info-time
20861 maybe-install-info-time:
20862 @if time
20863 maybe-install-info-time: install-info-time
20865 install-info-time: \
20866 configure-time \
20867 info-time
20868 @[ -f ./time/Makefile ] || exit 0; \
20869 r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20871 $(SET_LIB_PATH) \
20872 $(HOST_EXPORTS) \
20873 for flag in $(EXTRA_HOST_FLAGS) ; do \
20874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20875 done; \
20876 echo "Doing install-info in time" ; \
20877 (cd time && \
20878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20880 "RANLIB=$${RANLIB}" \
20881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20882 install-info) \
20883 || exit 1
20885 @endif time
20887 .PHONY: maybe-installcheck-time installcheck-time
20888 maybe-installcheck-time:
20889 @if time
20890 maybe-installcheck-time: installcheck-time
20892 installcheck-time: \
20893 configure-time
20894 @[ -f ./time/Makefile ] || exit 0; \
20895 r=`${PWD_COMMAND}`; export r; \
20896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20897 $(SET_LIB_PATH) \
20898 $(HOST_EXPORTS) \
20899 for flag in $(EXTRA_HOST_FLAGS) ; do \
20900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20901 done; \
20902 echo "Doing installcheck in time" ; \
20903 (cd time && \
20904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20906 "RANLIB=$${RANLIB}" \
20907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20908 installcheck) \
20909 || exit 1
20911 @endif time
20913 .PHONY: maybe-mostlyclean-time mostlyclean-time
20914 maybe-mostlyclean-time:
20915 @if time
20916 maybe-mostlyclean-time: mostlyclean-time
20918 mostlyclean-time:
20919 @[ -f ./time/Makefile ] || exit 0; \
20920 r=`${PWD_COMMAND}`; export r; \
20921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20922 $(SET_LIB_PATH) \
20923 $(HOST_EXPORTS) \
20924 for flag in $(EXTRA_HOST_FLAGS) ; do \
20925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20926 done; \
20927 echo "Doing mostlyclean in time" ; \
20928 (cd time && \
20929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20931 "RANLIB=$${RANLIB}" \
20932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20933 mostlyclean) \
20934 || exit 1
20936 @endif time
20938 .PHONY: maybe-clean-time clean-time
20939 maybe-clean-time:
20940 @if time
20941 maybe-clean-time: clean-time
20943 clean-time:
20944 @[ -f ./time/Makefile ] || exit 0; \
20945 r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(SET_LIB_PATH) \
20948 $(HOST_EXPORTS) \
20949 for flag in $(EXTRA_HOST_FLAGS) ; do \
20950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20951 done; \
20952 echo "Doing clean in time" ; \
20953 (cd time && \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20956 "RANLIB=$${RANLIB}" \
20957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20958 clean) \
20959 || exit 1
20961 @endif time
20963 .PHONY: maybe-distclean-time distclean-time
20964 maybe-distclean-time:
20965 @if time
20966 maybe-distclean-time: distclean-time
20968 distclean-time:
20969 @[ -f ./time/Makefile ] || exit 0; \
20970 r=`${PWD_COMMAND}`; export r; \
20971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20972 $(SET_LIB_PATH) \
20973 $(HOST_EXPORTS) \
20974 for flag in $(EXTRA_HOST_FLAGS) ; do \
20975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20976 done; \
20977 echo "Doing distclean in time" ; \
20978 (cd time && \
20979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20981 "RANLIB=$${RANLIB}" \
20982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20983 distclean) \
20984 || exit 1
20986 @endif time
20988 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20989 maybe-maintainer-clean-time:
20990 @if time
20991 maybe-maintainer-clean-time: maintainer-clean-time
20993 maintainer-clean-time:
20994 @[ -f ./time/Makefile ] || exit 0; \
20995 r=`${PWD_COMMAND}`; export r; \
20996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20997 $(SET_LIB_PATH) \
20998 $(HOST_EXPORTS) \
20999 for flag in $(EXTRA_HOST_FLAGS) ; do \
21000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21001 done; \
21002 echo "Doing maintainer-clean in time" ; \
21003 (cd time && \
21004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21006 "RANLIB=$${RANLIB}" \
21007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21008 maintainer-clean) \
21009 || exit 1
21011 @endif time
21014 .PHONY: configure-uudecode maybe-configure-uudecode
21015 maybe-configure-uudecode:
21016 @if uudecode
21017 maybe-configure-uudecode: configure-uudecode
21018 configure-uudecode:
21019 @test ! -f uudecode/Makefile || exit 0; \
21020 [ -d uudecode ] || mkdir uudecode; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 $(HOST_EXPORTS) \
21024 echo Configuring in uudecode; \
21025 cd uudecode || exit 1; \
21026 case $(srcdir) in \
21027 \.) \
21028 srcdiroption="--srcdir=."; \
21029 libsrcdir=".";; \
21030 /* | [A-Za-z]:[\\/]*) \
21031 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21032 libsrcdir="$$s/uudecode";; \
21033 *) \
21034 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21035 libsrcdir="$$s/uudecode";; \
21036 esac; \
21037 $(SHELL) $${libsrcdir}/configure \
21038 $(HOST_CONFIGARGS) $${srcdiroption} \
21039 || exit 1
21040 @endif uudecode
21042 .PHONY: all-uudecode maybe-all-uudecode
21043 maybe-all-uudecode:
21044 @if uudecode
21045 TARGET-uudecode=all
21046 maybe-all-uudecode: all-uudecode
21047 all-uudecode: configure-uudecode
21048 @r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21050 $(SET_LIB_PATH) \
21051 $(HOST_EXPORTS) \
21052 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21053 $(TARGET-uudecode))
21054 @endif uudecode
21056 .PHONY: check-uudecode maybe-check-uudecode
21057 maybe-check-uudecode:
21058 @if uudecode
21059 maybe-check-uudecode: check-uudecode
21061 check-uudecode:
21062 @r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21064 $(SET_LIB_PATH) \
21065 $(HOST_EXPORTS) \
21066 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21068 @endif uudecode
21070 .PHONY: install-uudecode maybe-install-uudecode
21071 maybe-install-uudecode:
21072 @if uudecode
21073 maybe-install-uudecode: install-uudecode
21075 install-uudecode: installdirs
21076 @r=`${PWD_COMMAND}`; export r; \
21077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21078 $(SET_LIB_PATH) \
21079 $(HOST_EXPORTS) \
21080 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21082 @endif uudecode
21084 # Other targets (info, dvi, etc.)
21086 .PHONY: maybe-info-uudecode info-uudecode
21087 maybe-info-uudecode:
21088 @if uudecode
21089 maybe-info-uudecode: info-uudecode
21091 info-uudecode: \
21092 configure-uudecode
21093 @[ -f ./uudecode/Makefile ] || exit 0; \
21094 r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 $(SET_LIB_PATH) \
21097 $(HOST_EXPORTS) \
21098 for flag in $(EXTRA_HOST_FLAGS) ; do \
21099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21100 done; \
21101 echo "Doing info in uudecode" ; \
21102 (cd uudecode && \
21103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21105 "RANLIB=$${RANLIB}" \
21106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 info) \
21108 || exit 1
21110 @endif uudecode
21112 .PHONY: maybe-dvi-uudecode dvi-uudecode
21113 maybe-dvi-uudecode:
21114 @if uudecode
21115 maybe-dvi-uudecode: dvi-uudecode
21117 dvi-uudecode: \
21118 configure-uudecode
21119 @[ -f ./uudecode/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21122 $(SET_LIB_PATH) \
21123 $(HOST_EXPORTS) \
21124 for flag in $(EXTRA_HOST_FLAGS) ; do \
21125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21126 done; \
21127 echo "Doing dvi in uudecode" ; \
21128 (cd uudecode && \
21129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21131 "RANLIB=$${RANLIB}" \
21132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21133 dvi) \
21134 || exit 1
21136 @endif uudecode
21138 .PHONY: maybe-html-uudecode html-uudecode
21139 maybe-html-uudecode:
21140 @if uudecode
21141 maybe-html-uudecode: html-uudecode
21143 html-uudecode: \
21144 configure-uudecode
21145 @[ -f ./uudecode/Makefile ] || exit 0; \
21146 r=`${PWD_COMMAND}`; export r; \
21147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21148 $(SET_LIB_PATH) \
21149 $(HOST_EXPORTS) \
21150 for flag in $(EXTRA_HOST_FLAGS) ; do \
21151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21152 done; \
21153 echo "Doing html in uudecode" ; \
21154 (cd uudecode && \
21155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21157 "RANLIB=$${RANLIB}" \
21158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21159 html) \
21160 || exit 1
21162 @endif uudecode
21164 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21165 maybe-TAGS-uudecode:
21166 @if uudecode
21167 maybe-TAGS-uudecode: TAGS-uudecode
21169 TAGS-uudecode: \
21170 configure-uudecode
21171 @[ -f ./uudecode/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(SET_LIB_PATH) \
21175 $(HOST_EXPORTS) \
21176 for flag in $(EXTRA_HOST_FLAGS) ; do \
21177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178 done; \
21179 echo "Doing TAGS in uudecode" ; \
21180 (cd uudecode && \
21181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183 "RANLIB=$${RANLIB}" \
21184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21185 TAGS) \
21186 || exit 1
21188 @endif uudecode
21190 .PHONY: maybe-install-info-uudecode install-info-uudecode
21191 maybe-install-info-uudecode:
21192 @if uudecode
21193 maybe-install-info-uudecode: install-info-uudecode
21195 install-info-uudecode: \
21196 configure-uudecode \
21197 info-uudecode
21198 @[ -f ./uudecode/Makefile ] || exit 0; \
21199 r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 $(SET_LIB_PATH) \
21202 $(HOST_EXPORTS) \
21203 for flag in $(EXTRA_HOST_FLAGS) ; do \
21204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21205 done; \
21206 echo "Doing install-info in uudecode" ; \
21207 (cd uudecode && \
21208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21210 "RANLIB=$${RANLIB}" \
21211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21212 install-info) \
21213 || exit 1
21215 @endif uudecode
21217 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21218 maybe-installcheck-uudecode:
21219 @if uudecode
21220 maybe-installcheck-uudecode: installcheck-uudecode
21222 installcheck-uudecode: \
21223 configure-uudecode
21224 @[ -f ./uudecode/Makefile ] || exit 0; \
21225 r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 $(SET_LIB_PATH) \
21228 $(HOST_EXPORTS) \
21229 for flag in $(EXTRA_HOST_FLAGS) ; do \
21230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21231 done; \
21232 echo "Doing installcheck in uudecode" ; \
21233 (cd uudecode && \
21234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21236 "RANLIB=$${RANLIB}" \
21237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21238 installcheck) \
21239 || exit 1
21241 @endif uudecode
21243 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21244 maybe-mostlyclean-uudecode:
21245 @if uudecode
21246 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21248 mostlyclean-uudecode:
21249 @[ -f ./uudecode/Makefile ] || exit 0; \
21250 r=`${PWD_COMMAND}`; export r; \
21251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21252 $(SET_LIB_PATH) \
21253 $(HOST_EXPORTS) \
21254 for flag in $(EXTRA_HOST_FLAGS) ; do \
21255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21256 done; \
21257 echo "Doing mostlyclean in uudecode" ; \
21258 (cd uudecode && \
21259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21261 "RANLIB=$${RANLIB}" \
21262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21263 mostlyclean) \
21264 || exit 1
21266 @endif uudecode
21268 .PHONY: maybe-clean-uudecode clean-uudecode
21269 maybe-clean-uudecode:
21270 @if uudecode
21271 maybe-clean-uudecode: clean-uudecode
21273 clean-uudecode:
21274 @[ -f ./uudecode/Makefile ] || exit 0; \
21275 r=`${PWD_COMMAND}`; export r; \
21276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21277 $(SET_LIB_PATH) \
21278 $(HOST_EXPORTS) \
21279 for flag in $(EXTRA_HOST_FLAGS) ; do \
21280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21281 done; \
21282 echo "Doing clean in uudecode" ; \
21283 (cd uudecode && \
21284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21286 "RANLIB=$${RANLIB}" \
21287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21288 clean) \
21289 || exit 1
21291 @endif uudecode
21293 .PHONY: maybe-distclean-uudecode distclean-uudecode
21294 maybe-distclean-uudecode:
21295 @if uudecode
21296 maybe-distclean-uudecode: distclean-uudecode
21298 distclean-uudecode:
21299 @[ -f ./uudecode/Makefile ] || exit 0; \
21300 r=`${PWD_COMMAND}`; export r; \
21301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 $(SET_LIB_PATH) \
21303 $(HOST_EXPORTS) \
21304 for flag in $(EXTRA_HOST_FLAGS) ; do \
21305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21306 done; \
21307 echo "Doing distclean in uudecode" ; \
21308 (cd uudecode && \
21309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21311 "RANLIB=$${RANLIB}" \
21312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21313 distclean) \
21314 || exit 1
21316 @endif uudecode
21318 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21319 maybe-maintainer-clean-uudecode:
21320 @if uudecode
21321 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21323 maintainer-clean-uudecode:
21324 @[ -f ./uudecode/Makefile ] || exit 0; \
21325 r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21327 $(SET_LIB_PATH) \
21328 $(HOST_EXPORTS) \
21329 for flag in $(EXTRA_HOST_FLAGS) ; do \
21330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21331 done; \
21332 echo "Doing maintainer-clean in uudecode" ; \
21333 (cd uudecode && \
21334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21336 "RANLIB=$${RANLIB}" \
21337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21338 maintainer-clean) \
21339 || exit 1
21341 @endif uudecode
21344 .PHONY: configure-wdiff maybe-configure-wdiff
21345 maybe-configure-wdiff:
21346 @if wdiff
21347 maybe-configure-wdiff: configure-wdiff
21348 configure-wdiff:
21349 @test ! -f wdiff/Makefile || exit 0; \
21350 [ -d wdiff ] || mkdir wdiff; \
21351 r=`${PWD_COMMAND}`; export r; \
21352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21353 $(HOST_EXPORTS) \
21354 echo Configuring in wdiff; \
21355 cd wdiff || exit 1; \
21356 case $(srcdir) in \
21357 \.) \
21358 srcdiroption="--srcdir=."; \
21359 libsrcdir=".";; \
21360 /* | [A-Za-z]:[\\/]*) \
21361 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21362 libsrcdir="$$s/wdiff";; \
21363 *) \
21364 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21365 libsrcdir="$$s/wdiff";; \
21366 esac; \
21367 $(SHELL) $${libsrcdir}/configure \
21368 $(HOST_CONFIGARGS) $${srcdiroption} \
21369 || exit 1
21370 @endif wdiff
21372 .PHONY: all-wdiff maybe-all-wdiff
21373 maybe-all-wdiff:
21374 @if wdiff
21375 TARGET-wdiff=all
21376 maybe-all-wdiff: all-wdiff
21377 all-wdiff: configure-wdiff
21378 @r=`${PWD_COMMAND}`; export r; \
21379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21380 $(SET_LIB_PATH) \
21381 $(HOST_EXPORTS) \
21382 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21383 $(TARGET-wdiff))
21384 @endif wdiff
21386 .PHONY: check-wdiff maybe-check-wdiff
21387 maybe-check-wdiff:
21388 @if wdiff
21389 maybe-check-wdiff: check-wdiff
21391 check-wdiff:
21392 @r=`${PWD_COMMAND}`; export r; \
21393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21394 $(SET_LIB_PATH) \
21395 $(HOST_EXPORTS) \
21396 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21398 @endif wdiff
21400 .PHONY: install-wdiff maybe-install-wdiff
21401 maybe-install-wdiff:
21402 @if wdiff
21403 maybe-install-wdiff: install-wdiff
21405 install-wdiff: installdirs
21406 @r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 $(SET_LIB_PATH) \
21409 $(HOST_EXPORTS) \
21410 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21412 @endif wdiff
21414 # Other targets (info, dvi, etc.)
21416 .PHONY: maybe-info-wdiff info-wdiff
21417 maybe-info-wdiff:
21418 @if wdiff
21419 maybe-info-wdiff: info-wdiff
21421 info-wdiff: \
21422 configure-wdiff
21423 @[ -f ./wdiff/Makefile ] || exit 0; \
21424 r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21426 $(SET_LIB_PATH) \
21427 $(HOST_EXPORTS) \
21428 for flag in $(EXTRA_HOST_FLAGS) ; do \
21429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21430 done; \
21431 echo "Doing info in wdiff" ; \
21432 (cd wdiff && \
21433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21435 "RANLIB=$${RANLIB}" \
21436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21437 info) \
21438 || exit 1
21440 @endif wdiff
21442 .PHONY: maybe-dvi-wdiff dvi-wdiff
21443 maybe-dvi-wdiff:
21444 @if wdiff
21445 maybe-dvi-wdiff: dvi-wdiff
21447 dvi-wdiff: \
21448 configure-wdiff
21449 @[ -f ./wdiff/Makefile ] || exit 0; \
21450 r=`${PWD_COMMAND}`; export r; \
21451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21452 $(SET_LIB_PATH) \
21453 $(HOST_EXPORTS) \
21454 for flag in $(EXTRA_HOST_FLAGS) ; do \
21455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21456 done; \
21457 echo "Doing dvi in wdiff" ; \
21458 (cd wdiff && \
21459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21461 "RANLIB=$${RANLIB}" \
21462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21463 dvi) \
21464 || exit 1
21466 @endif wdiff
21468 .PHONY: maybe-html-wdiff html-wdiff
21469 maybe-html-wdiff:
21470 @if wdiff
21471 maybe-html-wdiff: html-wdiff
21473 html-wdiff: \
21474 configure-wdiff
21475 @[ -f ./wdiff/Makefile ] || exit 0; \
21476 r=`${PWD_COMMAND}`; export r; \
21477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21478 $(SET_LIB_PATH) \
21479 $(HOST_EXPORTS) \
21480 for flag in $(EXTRA_HOST_FLAGS) ; do \
21481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21482 done; \
21483 echo "Doing html in wdiff" ; \
21484 (cd wdiff && \
21485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21487 "RANLIB=$${RANLIB}" \
21488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21489 html) \
21490 || exit 1
21492 @endif wdiff
21494 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21495 maybe-TAGS-wdiff:
21496 @if wdiff
21497 maybe-TAGS-wdiff: TAGS-wdiff
21499 TAGS-wdiff: \
21500 configure-wdiff
21501 @[ -f ./wdiff/Makefile ] || exit 0; \
21502 r=`${PWD_COMMAND}`; export r; \
21503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21504 $(SET_LIB_PATH) \
21505 $(HOST_EXPORTS) \
21506 for flag in $(EXTRA_HOST_FLAGS) ; do \
21507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21508 done; \
21509 echo "Doing TAGS in wdiff" ; \
21510 (cd wdiff && \
21511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21513 "RANLIB=$${RANLIB}" \
21514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21515 TAGS) \
21516 || exit 1
21518 @endif wdiff
21520 .PHONY: maybe-install-info-wdiff install-info-wdiff
21521 maybe-install-info-wdiff:
21522 @if wdiff
21523 maybe-install-info-wdiff: install-info-wdiff
21525 install-info-wdiff: \
21526 configure-wdiff \
21527 info-wdiff
21528 @[ -f ./wdiff/Makefile ] || exit 0; \
21529 r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531 $(SET_LIB_PATH) \
21532 $(HOST_EXPORTS) \
21533 for flag in $(EXTRA_HOST_FLAGS) ; do \
21534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 done; \
21536 echo "Doing install-info in wdiff" ; \
21537 (cd wdiff && \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21540 "RANLIB=$${RANLIB}" \
21541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21542 install-info) \
21543 || exit 1
21545 @endif wdiff
21547 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21548 maybe-installcheck-wdiff:
21549 @if wdiff
21550 maybe-installcheck-wdiff: installcheck-wdiff
21552 installcheck-wdiff: \
21553 configure-wdiff
21554 @[ -f ./wdiff/Makefile ] || exit 0; \
21555 r=`${PWD_COMMAND}`; export r; \
21556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21557 $(SET_LIB_PATH) \
21558 $(HOST_EXPORTS) \
21559 for flag in $(EXTRA_HOST_FLAGS) ; do \
21560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21561 done; \
21562 echo "Doing installcheck in wdiff" ; \
21563 (cd wdiff && \
21564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21566 "RANLIB=$${RANLIB}" \
21567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21568 installcheck) \
21569 || exit 1
21571 @endif wdiff
21573 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21574 maybe-mostlyclean-wdiff:
21575 @if wdiff
21576 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21578 mostlyclean-wdiff:
21579 @[ -f ./wdiff/Makefile ] || exit 0; \
21580 r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21582 $(SET_LIB_PATH) \
21583 $(HOST_EXPORTS) \
21584 for flag in $(EXTRA_HOST_FLAGS) ; do \
21585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21586 done; \
21587 echo "Doing mostlyclean in wdiff" ; \
21588 (cd wdiff && \
21589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21591 "RANLIB=$${RANLIB}" \
21592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21593 mostlyclean) \
21594 || exit 1
21596 @endif wdiff
21598 .PHONY: maybe-clean-wdiff clean-wdiff
21599 maybe-clean-wdiff:
21600 @if wdiff
21601 maybe-clean-wdiff: clean-wdiff
21603 clean-wdiff:
21604 @[ -f ./wdiff/Makefile ] || exit 0; \
21605 r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21607 $(SET_LIB_PATH) \
21608 $(HOST_EXPORTS) \
21609 for flag in $(EXTRA_HOST_FLAGS) ; do \
21610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21611 done; \
21612 echo "Doing clean in wdiff" ; \
21613 (cd wdiff && \
21614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21616 "RANLIB=$${RANLIB}" \
21617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21618 clean) \
21619 || exit 1
21621 @endif wdiff
21623 .PHONY: maybe-distclean-wdiff distclean-wdiff
21624 maybe-distclean-wdiff:
21625 @if wdiff
21626 maybe-distclean-wdiff: distclean-wdiff
21628 distclean-wdiff:
21629 @[ -f ./wdiff/Makefile ] || exit 0; \
21630 r=`${PWD_COMMAND}`; export r; \
21631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21632 $(SET_LIB_PATH) \
21633 $(HOST_EXPORTS) \
21634 for flag in $(EXTRA_HOST_FLAGS) ; do \
21635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21636 done; \
21637 echo "Doing distclean in wdiff" ; \
21638 (cd wdiff && \
21639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21641 "RANLIB=$${RANLIB}" \
21642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21643 distclean) \
21644 || exit 1
21646 @endif wdiff
21648 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21649 maybe-maintainer-clean-wdiff:
21650 @if wdiff
21651 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21653 maintainer-clean-wdiff:
21654 @[ -f ./wdiff/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 $(SET_LIB_PATH) \
21658 $(HOST_EXPORTS) \
21659 for flag in $(EXTRA_HOST_FLAGS) ; do \
21660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21661 done; \
21662 echo "Doing maintainer-clean in wdiff" ; \
21663 (cd wdiff && \
21664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21666 "RANLIB=$${RANLIB}" \
21667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21668 maintainer-clean) \
21669 || exit 1
21671 @endif wdiff
21674 .PHONY: configure-zip maybe-configure-zip
21675 maybe-configure-zip:
21676 @if zip
21677 maybe-configure-zip: configure-zip
21678 configure-zip:
21679 @test ! -f zip/Makefile || exit 0; \
21680 [ -d zip ] || mkdir zip; \
21681 r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 $(HOST_EXPORTS) \
21684 echo Configuring in zip; \
21685 cd zip || exit 1; \
21686 case $(srcdir) in \
21687 \.) \
21688 srcdiroption="--srcdir=."; \
21689 libsrcdir=".";; \
21690 /* | [A-Za-z]:[\\/]*) \
21691 srcdiroption="--srcdir=$(srcdir)/zip"; \
21692 libsrcdir="$$s/zip";; \
21693 *) \
21694 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21695 libsrcdir="$$s/zip";; \
21696 esac; \
21697 $(SHELL) $${libsrcdir}/configure \
21698 $(HOST_CONFIGARGS) $${srcdiroption} \
21699 || exit 1
21700 @endif zip
21702 .PHONY: all-zip maybe-all-zip
21703 maybe-all-zip:
21704 @if zip
21705 TARGET-zip=all
21706 maybe-all-zip: all-zip
21707 all-zip: configure-zip
21708 @r=`${PWD_COMMAND}`; export r; \
21709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21710 $(SET_LIB_PATH) \
21711 $(HOST_EXPORTS) \
21712 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21713 $(TARGET-zip))
21714 @endif zip
21716 .PHONY: check-zip maybe-check-zip
21717 maybe-check-zip:
21718 @if zip
21719 maybe-check-zip: check-zip
21721 # This module is only tested in a native toolchain.
21722 check-zip:
21723 @if [ '$(host)' = '$(target)' ] ; then \
21724 r=`${PWD_COMMAND}`; export r; \
21725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21726 $(SET_LIB_PATH) \
21727 $(HOST_EXPORTS) \
21728 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21731 @endif zip
21733 .PHONY: install-zip maybe-install-zip
21734 maybe-install-zip:
21735 @if zip
21736 maybe-install-zip: install-zip
21738 install-zip: installdirs
21739 @r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21741 $(SET_LIB_PATH) \
21742 $(HOST_EXPORTS) \
21743 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21745 @endif zip
21747 # Other targets (info, dvi, etc.)
21749 .PHONY: maybe-info-zip info-zip
21750 maybe-info-zip:
21751 @if zip
21752 maybe-info-zip: info-zip
21754 info-zip: \
21755 configure-zip
21756 @[ -f ./zip/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21759 $(SET_LIB_PATH) \
21760 $(HOST_EXPORTS) \
21761 for flag in $(EXTRA_HOST_FLAGS) ; do \
21762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21763 done; \
21764 echo "Doing info in zip" ; \
21765 (cd zip && \
21766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21768 "RANLIB=$${RANLIB}" \
21769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21770 info) \
21771 || exit 1
21773 @endif zip
21775 .PHONY: maybe-dvi-zip dvi-zip
21776 maybe-dvi-zip:
21777 @if zip
21778 maybe-dvi-zip: dvi-zip
21780 dvi-zip: \
21781 configure-zip
21782 @[ -f ./zip/Makefile ] || exit 0; \
21783 r=`${PWD_COMMAND}`; export r; \
21784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21785 $(SET_LIB_PATH) \
21786 $(HOST_EXPORTS) \
21787 for flag in $(EXTRA_HOST_FLAGS) ; do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21789 done; \
21790 echo "Doing dvi in zip" ; \
21791 (cd zip && \
21792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794 "RANLIB=$${RANLIB}" \
21795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21796 dvi) \
21797 || exit 1
21799 @endif zip
21801 .PHONY: maybe-html-zip html-zip
21802 maybe-html-zip:
21803 @if zip
21804 maybe-html-zip: html-zip
21806 html-zip: \
21807 configure-zip
21808 @[ -f ./zip/Makefile ] || exit 0; \
21809 r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 $(SET_LIB_PATH) \
21812 $(HOST_EXPORTS) \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 done; \
21816 echo "Doing html in zip" ; \
21817 (cd zip && \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21822 html) \
21823 || exit 1
21825 @endif zip
21827 .PHONY: maybe-TAGS-zip TAGS-zip
21828 maybe-TAGS-zip:
21829 @if zip
21830 maybe-TAGS-zip: TAGS-zip
21832 TAGS-zip: \
21833 configure-zip
21834 @[ -f ./zip/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21837 $(SET_LIB_PATH) \
21838 $(HOST_EXPORTS) \
21839 for flag in $(EXTRA_HOST_FLAGS) ; do \
21840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21841 done; \
21842 echo "Doing TAGS in zip" ; \
21843 (cd zip && \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21846 "RANLIB=$${RANLIB}" \
21847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21848 TAGS) \
21849 || exit 1
21851 @endif zip
21853 .PHONY: maybe-install-info-zip install-info-zip
21854 maybe-install-info-zip:
21855 @if zip
21856 maybe-install-info-zip: install-info-zip
21858 install-info-zip: \
21859 configure-zip \
21860 info-zip
21861 @[ -f ./zip/Makefile ] || exit 0; \
21862 r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21864 $(SET_LIB_PATH) \
21865 $(HOST_EXPORTS) \
21866 for flag in $(EXTRA_HOST_FLAGS) ; do \
21867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21868 done; \
21869 echo "Doing install-info in zip" ; \
21870 (cd zip && \
21871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21873 "RANLIB=$${RANLIB}" \
21874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21875 install-info) \
21876 || exit 1
21878 @endif zip
21880 .PHONY: maybe-installcheck-zip installcheck-zip
21881 maybe-installcheck-zip:
21882 @if zip
21883 maybe-installcheck-zip: installcheck-zip
21885 installcheck-zip: \
21886 configure-zip
21887 @[ -f ./zip/Makefile ] || exit 0; \
21888 r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 $(SET_LIB_PATH) \
21891 $(HOST_EXPORTS) \
21892 for flag in $(EXTRA_HOST_FLAGS) ; do \
21893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21894 done; \
21895 echo "Doing installcheck in zip" ; \
21896 (cd zip && \
21897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899 "RANLIB=$${RANLIB}" \
21900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21901 installcheck) \
21902 || exit 1
21904 @endif zip
21906 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21907 maybe-mostlyclean-zip:
21908 @if zip
21909 maybe-mostlyclean-zip: mostlyclean-zip
21911 mostlyclean-zip:
21912 @[ -f ./zip/Makefile ] || exit 0; \
21913 r=`${PWD_COMMAND}`; export r; \
21914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21915 $(SET_LIB_PATH) \
21916 $(HOST_EXPORTS) \
21917 for flag in $(EXTRA_HOST_FLAGS) ; do \
21918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21919 done; \
21920 echo "Doing mostlyclean in zip" ; \
21921 (cd zip && \
21922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21924 "RANLIB=$${RANLIB}" \
21925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21926 mostlyclean) \
21927 || exit 1
21929 @endif zip
21931 .PHONY: maybe-clean-zip clean-zip
21932 maybe-clean-zip:
21933 @if zip
21934 maybe-clean-zip: clean-zip
21936 clean-zip:
21937 @[ -f ./zip/Makefile ] || exit 0; \
21938 r=`${PWD_COMMAND}`; export r; \
21939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21940 $(SET_LIB_PATH) \
21941 $(HOST_EXPORTS) \
21942 for flag in $(EXTRA_HOST_FLAGS) ; do \
21943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21944 done; \
21945 echo "Doing clean in zip" ; \
21946 (cd zip && \
21947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21949 "RANLIB=$${RANLIB}" \
21950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21951 clean) \
21952 || exit 1
21954 @endif zip
21956 .PHONY: maybe-distclean-zip distclean-zip
21957 maybe-distclean-zip:
21958 @if zip
21959 maybe-distclean-zip: distclean-zip
21961 distclean-zip:
21962 @[ -f ./zip/Makefile ] || exit 0; \
21963 r=`${PWD_COMMAND}`; export r; \
21964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21965 $(SET_LIB_PATH) \
21966 $(HOST_EXPORTS) \
21967 for flag in $(EXTRA_HOST_FLAGS) ; do \
21968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21969 done; \
21970 echo "Doing distclean in zip" ; \
21971 (cd zip && \
21972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21974 "RANLIB=$${RANLIB}" \
21975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21976 distclean) \
21977 || exit 1
21979 @endif zip
21981 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21982 maybe-maintainer-clean-zip:
21983 @if zip
21984 maybe-maintainer-clean-zip: maintainer-clean-zip
21986 maintainer-clean-zip:
21987 @[ -f ./zip/Makefile ] || exit 0; \
21988 r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(SET_LIB_PATH) \
21991 $(HOST_EXPORTS) \
21992 for flag in $(EXTRA_HOST_FLAGS) ; do \
21993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21994 done; \
21995 echo "Doing maintainer-clean in zip" ; \
21996 (cd zip && \
21997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21999 "RANLIB=$${RANLIB}" \
22000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22001 maintainer-clean) \
22002 || exit 1
22004 @endif zip
22007 .PHONY: configure-zlib maybe-configure-zlib
22008 maybe-configure-zlib:
22009 @if zlib
22010 maybe-configure-zlib: configure-zlib
22011 configure-zlib:
22012 @test -f stage_last && exit 0; \
22013 test ! -f zlib/Makefile || exit 0; \
22014 [ -d zlib ] || mkdir zlib; \
22015 r=`${PWD_COMMAND}`; export r; \
22016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22017 $(HOST_EXPORTS) \
22018 echo Configuring in zlib; \
22019 cd zlib || exit 1; \
22020 case $(srcdir) in \
22021 \.) \
22022 srcdiroption="--srcdir=."; \
22023 libsrcdir=".";; \
22024 /* | [A-Za-z]:[\\/]*) \
22025 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22026 libsrcdir="$$s/zlib";; \
22027 *) \
22028 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22029 libsrcdir="$$s/zlib";; \
22030 esac; \
22031 $(SHELL) $${libsrcdir}/configure \
22032 $(HOST_CONFIGARGS) $${srcdiroption} \
22033 || exit 1
22034 @endif zlib
22036 .PHONY: all-zlib maybe-all-zlib
22037 maybe-all-zlib:
22038 @if zlib
22039 TARGET-zlib=all
22040 maybe-all-zlib: all-zlib
22041 all-zlib: configure-zlib
22042 @test -f stage_last && exit 0; \
22043 r=`${PWD_COMMAND}`; export r; \
22044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22045 $(SET_LIB_PATH) \
22046 $(HOST_EXPORTS) \
22047 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22048 $(TARGET-zlib))
22049 @endif zlib
22051 .PHONY: check-zlib maybe-check-zlib
22052 maybe-check-zlib:
22053 @if zlib
22054 maybe-check-zlib: check-zlib
22056 check-zlib:
22058 @endif zlib
22060 .PHONY: install-zlib maybe-install-zlib
22061 maybe-install-zlib:
22062 @if zlib
22063 maybe-install-zlib: install-zlib
22065 install-zlib:
22067 @endif zlib
22069 # Other targets (info, dvi, etc.)
22071 .PHONY: maybe-info-zlib info-zlib
22072 maybe-info-zlib:
22073 @if zlib
22074 maybe-info-zlib: info-zlib
22076 info-zlib: \
22077 configure-zlib
22078 @[ -f ./zlib/Makefile ] || exit 0; \
22079 r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 $(SET_LIB_PATH) \
22082 $(HOST_EXPORTS) \
22083 for flag in $(EXTRA_HOST_FLAGS) ; do \
22084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22085 done; \
22086 echo "Doing info in zlib" ; \
22087 (cd zlib && \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22090 "RANLIB=$${RANLIB}" \
22091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22092 info) \
22093 || exit 1
22095 @endif zlib
22097 .PHONY: maybe-dvi-zlib dvi-zlib
22098 maybe-dvi-zlib:
22099 @if zlib
22100 maybe-dvi-zlib: dvi-zlib
22102 dvi-zlib: \
22103 configure-zlib
22104 @[ -f ./zlib/Makefile ] || exit 0; \
22105 r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107 $(SET_LIB_PATH) \
22108 $(HOST_EXPORTS) \
22109 for flag in $(EXTRA_HOST_FLAGS) ; do \
22110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22111 done; \
22112 echo "Doing dvi in zlib" ; \
22113 (cd zlib && \
22114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22116 "RANLIB=$${RANLIB}" \
22117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22118 dvi) \
22119 || exit 1
22121 @endif zlib
22123 .PHONY: maybe-html-zlib html-zlib
22124 maybe-html-zlib:
22125 @if zlib
22126 maybe-html-zlib: html-zlib
22128 html-zlib: \
22129 configure-zlib
22130 @[ -f ./zlib/Makefile ] || exit 0; \
22131 r=`${PWD_COMMAND}`; export r; \
22132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22133 $(SET_LIB_PATH) \
22134 $(HOST_EXPORTS) \
22135 for flag in $(EXTRA_HOST_FLAGS) ; do \
22136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22137 done; \
22138 echo "Doing html in zlib" ; \
22139 (cd zlib && \
22140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22142 "RANLIB=$${RANLIB}" \
22143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22144 html) \
22145 || exit 1
22147 @endif zlib
22149 .PHONY: maybe-TAGS-zlib TAGS-zlib
22150 maybe-TAGS-zlib:
22151 @if zlib
22152 maybe-TAGS-zlib: TAGS-zlib
22154 TAGS-zlib: \
22155 configure-zlib
22156 @[ -f ./zlib/Makefile ] || exit 0; \
22157 r=`${PWD_COMMAND}`; export r; \
22158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22159 $(SET_LIB_PATH) \
22160 $(HOST_EXPORTS) \
22161 for flag in $(EXTRA_HOST_FLAGS) ; do \
22162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22163 done; \
22164 echo "Doing TAGS in zlib" ; \
22165 (cd zlib && \
22166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168 "RANLIB=$${RANLIB}" \
22169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22170 TAGS) \
22171 || exit 1
22173 @endif zlib
22175 .PHONY: maybe-install-info-zlib install-info-zlib
22176 maybe-install-info-zlib:
22177 @if zlib
22178 maybe-install-info-zlib: install-info-zlib
22180 install-info-zlib: \
22181 configure-zlib \
22182 info-zlib
22183 @[ -f ./zlib/Makefile ] || exit 0; \
22184 r=`${PWD_COMMAND}`; export r; \
22185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22186 $(SET_LIB_PATH) \
22187 $(HOST_EXPORTS) \
22188 for flag in $(EXTRA_HOST_FLAGS) ; do \
22189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22190 done; \
22191 echo "Doing install-info in zlib" ; \
22192 (cd zlib && \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22195 "RANLIB=$${RANLIB}" \
22196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22197 install-info) \
22198 || exit 1
22200 @endif zlib
22202 .PHONY: maybe-installcheck-zlib installcheck-zlib
22203 maybe-installcheck-zlib:
22204 @if zlib
22205 maybe-installcheck-zlib: installcheck-zlib
22207 installcheck-zlib: \
22208 configure-zlib
22209 @[ -f ./zlib/Makefile ] || exit 0; \
22210 r=`${PWD_COMMAND}`; export r; \
22211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22212 $(SET_LIB_PATH) \
22213 $(HOST_EXPORTS) \
22214 for flag in $(EXTRA_HOST_FLAGS) ; do \
22215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22216 done; \
22217 echo "Doing installcheck in zlib" ; \
22218 (cd zlib && \
22219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22221 "RANLIB=$${RANLIB}" \
22222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22223 installcheck) \
22224 || exit 1
22226 @endif zlib
22228 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22229 maybe-mostlyclean-zlib:
22230 @if zlib
22231 maybe-mostlyclean-zlib: mostlyclean-zlib
22233 mostlyclean-zlib:
22234 @[ -f ./zlib/Makefile ] || exit 0; \
22235 r=`${PWD_COMMAND}`; export r; \
22236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22237 $(SET_LIB_PATH) \
22238 $(HOST_EXPORTS) \
22239 for flag in $(EXTRA_HOST_FLAGS) ; do \
22240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22241 done; \
22242 echo "Doing mostlyclean in zlib" ; \
22243 (cd zlib && \
22244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22246 "RANLIB=$${RANLIB}" \
22247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22248 mostlyclean) \
22249 || exit 1
22251 @endif zlib
22253 .PHONY: maybe-clean-zlib clean-zlib
22254 maybe-clean-zlib:
22255 @if zlib
22256 maybe-clean-zlib: clean-zlib
22258 clean-zlib:
22259 @[ -f ./zlib/Makefile ] || exit 0; \
22260 r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(SET_LIB_PATH) \
22263 $(HOST_EXPORTS) \
22264 for flag in $(EXTRA_HOST_FLAGS) ; do \
22265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22266 done; \
22267 echo "Doing clean in zlib" ; \
22268 (cd zlib && \
22269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22271 "RANLIB=$${RANLIB}" \
22272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22273 clean) \
22274 || exit 1
22276 @endif zlib
22278 .PHONY: maybe-distclean-zlib distclean-zlib
22279 maybe-distclean-zlib:
22280 @if zlib
22281 maybe-distclean-zlib: distclean-zlib
22283 distclean-zlib:
22284 @[ -f ./zlib/Makefile ] || exit 0; \
22285 r=`${PWD_COMMAND}`; export r; \
22286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22287 $(SET_LIB_PATH) \
22288 $(HOST_EXPORTS) \
22289 for flag in $(EXTRA_HOST_FLAGS) ; do \
22290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22291 done; \
22292 echo "Doing distclean in zlib" ; \
22293 (cd zlib && \
22294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22296 "RANLIB=$${RANLIB}" \
22297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22298 distclean) \
22299 || exit 1
22301 @endif zlib
22303 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22304 maybe-maintainer-clean-zlib:
22305 @if zlib
22306 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22308 maintainer-clean-zlib:
22309 @[ -f ./zlib/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22312 $(SET_LIB_PATH) \
22313 $(HOST_EXPORTS) \
22314 for flag in $(EXTRA_HOST_FLAGS) ; do \
22315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22316 done; \
22317 echo "Doing maintainer-clean in zlib" ; \
22318 (cd zlib && \
22319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22321 "RANLIB=$${RANLIB}" \
22322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22323 maintainer-clean) \
22324 || exit 1
22326 @endif zlib
22329 .PHONY: configure-gdb maybe-configure-gdb
22330 maybe-configure-gdb:
22331 @if gdb
22332 maybe-configure-gdb: configure-gdb
22333 configure-gdb:
22334 @test ! -f gdb/Makefile || exit 0; \
22335 [ -d gdb ] || mkdir gdb; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22338 $(HOST_EXPORTS) \
22339 echo Configuring in gdb; \
22340 cd gdb || exit 1; \
22341 case $(srcdir) in \
22342 \.) \
22343 srcdiroption="--srcdir=."; \
22344 libsrcdir=".";; \
22345 /* | [A-Za-z]:[\\/]*) \
22346 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22347 libsrcdir="$$s/gdb";; \
22348 *) \
22349 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22350 libsrcdir="$$s/gdb";; \
22351 esac; \
22352 $(SHELL) $${libsrcdir}/configure \
22353 $(HOST_CONFIGARGS) $${srcdiroption} \
22354 || exit 1
22355 @endif gdb
22357 .PHONY: all-gdb maybe-all-gdb
22358 maybe-all-gdb:
22359 @if gdb
22360 TARGET-gdb=all
22361 maybe-all-gdb: all-gdb
22362 all-gdb: configure-gdb
22363 @r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22365 $(SET_LIB_PATH) \
22366 $(HOST_EXPORTS) \
22367 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22368 $(TARGET-gdb))
22369 @endif gdb
22371 .PHONY: check-gdb maybe-check-gdb
22372 maybe-check-gdb:
22373 @if gdb
22374 maybe-check-gdb: check-gdb
22376 check-gdb:
22377 @r=`${PWD_COMMAND}`; export r; \
22378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22379 $(SET_LIB_PATH) \
22380 $(HOST_EXPORTS) \
22381 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22383 @endif gdb
22385 .PHONY: install-gdb maybe-install-gdb
22386 maybe-install-gdb:
22387 @if gdb
22388 maybe-install-gdb: install-gdb
22390 install-gdb: installdirs
22391 @r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 $(SET_LIB_PATH) \
22394 $(HOST_EXPORTS) \
22395 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22397 @endif gdb
22399 # Other targets (info, dvi, etc.)
22401 .PHONY: maybe-info-gdb info-gdb
22402 maybe-info-gdb:
22403 @if gdb
22404 maybe-info-gdb: info-gdb
22406 info-gdb: \
22407 configure-gdb
22408 @[ -f ./gdb/Makefile ] || exit 0; \
22409 r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22411 $(SET_LIB_PATH) \
22412 $(HOST_EXPORTS) \
22413 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22415 done; \
22416 echo "Doing info in gdb" ; \
22417 (cd gdb && \
22418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22420 "RANLIB=$${RANLIB}" \
22421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22422 info) \
22423 || exit 1
22425 @endif gdb
22427 .PHONY: maybe-dvi-gdb dvi-gdb
22428 maybe-dvi-gdb:
22429 @if gdb
22430 maybe-dvi-gdb: dvi-gdb
22432 dvi-gdb: \
22433 configure-gdb
22434 @[ -f ./gdb/Makefile ] || exit 0; \
22435 r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22437 $(SET_LIB_PATH) \
22438 $(HOST_EXPORTS) \
22439 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22441 done; \
22442 echo "Doing dvi in gdb" ; \
22443 (cd gdb && \
22444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22446 "RANLIB=$${RANLIB}" \
22447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22448 dvi) \
22449 || exit 1
22451 @endif gdb
22453 .PHONY: maybe-html-gdb html-gdb
22454 maybe-html-gdb:
22455 @if gdb
22456 maybe-html-gdb: html-gdb
22458 html-gdb: \
22459 configure-gdb
22460 @[ -f ./gdb/Makefile ] || exit 0; \
22461 r=`${PWD_COMMAND}`; export r; \
22462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22463 $(SET_LIB_PATH) \
22464 $(HOST_EXPORTS) \
22465 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22467 done; \
22468 echo "Doing html in gdb" ; \
22469 (cd gdb && \
22470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22472 "RANLIB=$${RANLIB}" \
22473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22474 html) \
22475 || exit 1
22477 @endif gdb
22479 .PHONY: maybe-TAGS-gdb TAGS-gdb
22480 maybe-TAGS-gdb:
22481 @if gdb
22482 maybe-TAGS-gdb: TAGS-gdb
22484 TAGS-gdb: \
22485 configure-gdb
22486 @[ -f ./gdb/Makefile ] || exit 0; \
22487 r=`${PWD_COMMAND}`; export r; \
22488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22489 $(SET_LIB_PATH) \
22490 $(HOST_EXPORTS) \
22491 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22493 done; \
22494 echo "Doing TAGS in gdb" ; \
22495 (cd gdb && \
22496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22498 "RANLIB=$${RANLIB}" \
22499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22500 TAGS) \
22501 || exit 1
22503 @endif gdb
22505 .PHONY: maybe-install-info-gdb install-info-gdb
22506 maybe-install-info-gdb:
22507 @if gdb
22508 maybe-install-info-gdb: install-info-gdb
22510 install-info-gdb: \
22511 configure-gdb \
22512 info-gdb
22513 @[ -f ./gdb/Makefile ] || exit 0; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22516 $(SET_LIB_PATH) \
22517 $(HOST_EXPORTS) \
22518 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 done; \
22521 echo "Doing install-info in gdb" ; \
22522 (cd gdb && \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22527 install-info) \
22528 || exit 1
22530 @endif gdb
22532 .PHONY: maybe-installcheck-gdb installcheck-gdb
22533 maybe-installcheck-gdb:
22534 @if gdb
22535 maybe-installcheck-gdb: installcheck-gdb
22537 installcheck-gdb: \
22538 configure-gdb
22539 @[ -f ./gdb/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 $(SET_LIB_PATH) \
22543 $(HOST_EXPORTS) \
22544 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22546 done; \
22547 echo "Doing installcheck in gdb" ; \
22548 (cd gdb && \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22553 installcheck) \
22554 || exit 1
22556 @endif gdb
22558 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22559 maybe-mostlyclean-gdb:
22560 @if gdb
22561 maybe-mostlyclean-gdb: mostlyclean-gdb
22563 mostlyclean-gdb:
22564 @[ -f ./gdb/Makefile ] || exit 0; \
22565 r=`${PWD_COMMAND}`; export r; \
22566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22567 $(SET_LIB_PATH) \
22568 $(HOST_EXPORTS) \
22569 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22571 done; \
22572 echo "Doing mostlyclean in gdb" ; \
22573 (cd gdb && \
22574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22576 "RANLIB=$${RANLIB}" \
22577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22578 mostlyclean) \
22579 || exit 1
22581 @endif gdb
22583 .PHONY: maybe-clean-gdb clean-gdb
22584 maybe-clean-gdb:
22585 @if gdb
22586 maybe-clean-gdb: clean-gdb
22588 clean-gdb:
22589 @[ -f ./gdb/Makefile ] || exit 0; \
22590 r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22592 $(SET_LIB_PATH) \
22593 $(HOST_EXPORTS) \
22594 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22596 done; \
22597 echo "Doing clean in gdb" ; \
22598 (cd gdb && \
22599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22601 "RANLIB=$${RANLIB}" \
22602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22603 clean) \
22604 || exit 1
22606 @endif gdb
22608 .PHONY: maybe-distclean-gdb distclean-gdb
22609 maybe-distclean-gdb:
22610 @if gdb
22611 maybe-distclean-gdb: distclean-gdb
22613 distclean-gdb:
22614 @[ -f ./gdb/Makefile ] || exit 0; \
22615 r=`${PWD_COMMAND}`; export r; \
22616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22617 $(SET_LIB_PATH) \
22618 $(HOST_EXPORTS) \
22619 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22621 done; \
22622 echo "Doing distclean in gdb" ; \
22623 (cd gdb && \
22624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22626 "RANLIB=$${RANLIB}" \
22627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22628 distclean) \
22629 || exit 1
22631 @endif gdb
22633 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22634 maybe-maintainer-clean-gdb:
22635 @if gdb
22636 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22638 maintainer-clean-gdb:
22639 @[ -f ./gdb/Makefile ] || exit 0; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22642 $(SET_LIB_PATH) \
22643 $(HOST_EXPORTS) \
22644 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22646 done; \
22647 echo "Doing maintainer-clean in gdb" ; \
22648 (cd gdb && \
22649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22651 "RANLIB=$${RANLIB}" \
22652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22653 maintainer-clean) \
22654 || exit 1
22656 @endif gdb
22659 .PHONY: configure-expect maybe-configure-expect
22660 maybe-configure-expect:
22661 @if expect
22662 maybe-configure-expect: configure-expect
22663 configure-expect:
22664 @test ! -f expect/Makefile || exit 0; \
22665 [ -d expect ] || mkdir expect; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 $(HOST_EXPORTS) \
22669 echo Configuring in expect; \
22670 cd expect || exit 1; \
22671 case $(srcdir) in \
22672 \.) \
22673 srcdiroption="--srcdir=."; \
22674 libsrcdir=".";; \
22675 /* | [A-Za-z]:[\\/]*) \
22676 srcdiroption="--srcdir=$(srcdir)/expect"; \
22677 libsrcdir="$$s/expect";; \
22678 *) \
22679 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22680 libsrcdir="$$s/expect";; \
22681 esac; \
22682 $(SHELL) $${libsrcdir}/configure \
22683 $(HOST_CONFIGARGS) $${srcdiroption} \
22684 || exit 1
22685 @endif expect
22687 .PHONY: all-expect maybe-all-expect
22688 maybe-all-expect:
22689 @if expect
22690 TARGET-expect=all
22691 maybe-all-expect: all-expect
22692 all-expect: configure-expect
22693 @r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22695 $(SET_LIB_PATH) \
22696 $(HOST_EXPORTS) \
22697 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22698 $(TARGET-expect))
22699 @endif expect
22701 .PHONY: check-expect maybe-check-expect
22702 maybe-check-expect:
22703 @if expect
22704 maybe-check-expect: check-expect
22706 check-expect:
22707 @r=`${PWD_COMMAND}`; export r; \
22708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22709 $(SET_LIB_PATH) \
22710 $(HOST_EXPORTS) \
22711 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22713 @endif expect
22715 .PHONY: install-expect maybe-install-expect
22716 maybe-install-expect:
22717 @if expect
22718 maybe-install-expect: install-expect
22720 install-expect: installdirs
22721 @r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 $(SET_LIB_PATH) \
22724 $(HOST_EXPORTS) \
22725 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22727 @endif expect
22729 # Other targets (info, dvi, etc.)
22731 .PHONY: maybe-info-expect info-expect
22732 maybe-info-expect:
22733 @if expect
22734 maybe-info-expect: info-expect
22736 info-expect: \
22737 configure-expect
22738 @[ -f ./expect/Makefile ] || exit 0; \
22739 r=`${PWD_COMMAND}`; export r; \
22740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22741 $(SET_LIB_PATH) \
22742 $(HOST_EXPORTS) \
22743 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22745 done; \
22746 echo "Doing info in expect" ; \
22747 (cd expect && \
22748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22750 "RANLIB=$${RANLIB}" \
22751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22752 info) \
22753 || exit 1
22755 @endif expect
22757 .PHONY: maybe-dvi-expect dvi-expect
22758 maybe-dvi-expect:
22759 @if expect
22760 maybe-dvi-expect: dvi-expect
22762 dvi-expect: \
22763 configure-expect
22764 @[ -f ./expect/Makefile ] || exit 0; \
22765 r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22767 $(SET_LIB_PATH) \
22768 $(HOST_EXPORTS) \
22769 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22771 done; \
22772 echo "Doing dvi in expect" ; \
22773 (cd expect && \
22774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22776 "RANLIB=$${RANLIB}" \
22777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22778 dvi) \
22779 || exit 1
22781 @endif expect
22783 .PHONY: maybe-html-expect html-expect
22784 maybe-html-expect:
22785 @if expect
22786 maybe-html-expect: html-expect
22788 html-expect: \
22789 configure-expect
22790 @[ -f ./expect/Makefile ] || exit 0; \
22791 r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22793 $(SET_LIB_PATH) \
22794 $(HOST_EXPORTS) \
22795 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22797 done; \
22798 echo "Doing html in expect" ; \
22799 (cd expect && \
22800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22802 "RANLIB=$${RANLIB}" \
22803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22804 html) \
22805 || exit 1
22807 @endif expect
22809 .PHONY: maybe-TAGS-expect TAGS-expect
22810 maybe-TAGS-expect:
22811 @if expect
22812 maybe-TAGS-expect: TAGS-expect
22814 TAGS-expect: \
22815 configure-expect
22816 @[ -f ./expect/Makefile ] || exit 0; \
22817 r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22819 $(SET_LIB_PATH) \
22820 $(HOST_EXPORTS) \
22821 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22823 done; \
22824 echo "Doing TAGS in expect" ; \
22825 (cd expect && \
22826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22828 "RANLIB=$${RANLIB}" \
22829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22830 TAGS) \
22831 || exit 1
22833 @endif expect
22835 .PHONY: maybe-install-info-expect install-info-expect
22836 maybe-install-info-expect:
22837 @if expect
22838 maybe-install-info-expect: install-info-expect
22840 install-info-expect: \
22841 configure-expect \
22842 info-expect
22843 @[ -f ./expect/Makefile ] || exit 0; \
22844 r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 $(SET_LIB_PATH) \
22847 $(HOST_EXPORTS) \
22848 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22850 done; \
22851 echo "Doing install-info in expect" ; \
22852 (cd expect && \
22853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22855 "RANLIB=$${RANLIB}" \
22856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22857 install-info) \
22858 || exit 1
22860 @endif expect
22862 .PHONY: maybe-installcheck-expect installcheck-expect
22863 maybe-installcheck-expect:
22864 @if expect
22865 maybe-installcheck-expect: installcheck-expect
22867 installcheck-expect: \
22868 configure-expect
22869 @[ -f ./expect/Makefile ] || exit 0; \
22870 r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22872 $(SET_LIB_PATH) \
22873 $(HOST_EXPORTS) \
22874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 done; \
22877 echo "Doing installcheck in expect" ; \
22878 (cd expect && \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22883 installcheck) \
22884 || exit 1
22886 @endif expect
22888 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22889 maybe-mostlyclean-expect:
22890 @if expect
22891 maybe-mostlyclean-expect: mostlyclean-expect
22893 mostlyclean-expect:
22894 @[ -f ./expect/Makefile ] || exit 0; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(SET_LIB_PATH) \
22898 $(HOST_EXPORTS) \
22899 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22901 done; \
22902 echo "Doing mostlyclean in expect" ; \
22903 (cd expect && \
22904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22906 "RANLIB=$${RANLIB}" \
22907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22908 mostlyclean) \
22909 || exit 1
22911 @endif expect
22913 .PHONY: maybe-clean-expect clean-expect
22914 maybe-clean-expect:
22915 @if expect
22916 maybe-clean-expect: clean-expect
22918 clean-expect:
22919 @[ -f ./expect/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22922 $(SET_LIB_PATH) \
22923 $(HOST_EXPORTS) \
22924 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926 done; \
22927 echo "Doing clean in expect" ; \
22928 (cd expect && \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22933 clean) \
22934 || exit 1
22936 @endif expect
22938 .PHONY: maybe-distclean-expect distclean-expect
22939 maybe-distclean-expect:
22940 @if expect
22941 maybe-distclean-expect: distclean-expect
22943 distclean-expect:
22944 @[ -f ./expect/Makefile ] || exit 0; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947 $(SET_LIB_PATH) \
22948 $(HOST_EXPORTS) \
22949 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22951 done; \
22952 echo "Doing distclean in expect" ; \
22953 (cd expect && \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22958 distclean) \
22959 || exit 1
22961 @endif expect
22963 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22964 maybe-maintainer-clean-expect:
22965 @if expect
22966 maybe-maintainer-clean-expect: maintainer-clean-expect
22968 maintainer-clean-expect:
22969 @[ -f ./expect/Makefile ] || exit 0; \
22970 r=`${PWD_COMMAND}`; export r; \
22971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22972 $(SET_LIB_PATH) \
22973 $(HOST_EXPORTS) \
22974 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22976 done; \
22977 echo "Doing maintainer-clean in expect" ; \
22978 (cd expect && \
22979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22981 "RANLIB=$${RANLIB}" \
22982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22983 maintainer-clean) \
22984 || exit 1
22986 @endif expect
22989 .PHONY: configure-guile maybe-configure-guile
22990 maybe-configure-guile:
22991 @if guile
22992 maybe-configure-guile: configure-guile
22993 configure-guile:
22994 @test ! -f guile/Makefile || exit 0; \
22995 [ -d guile ] || mkdir guile; \
22996 r=`${PWD_COMMAND}`; export r; \
22997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22998 $(HOST_EXPORTS) \
22999 echo Configuring in guile; \
23000 cd guile || exit 1; \
23001 case $(srcdir) in \
23002 \.) \
23003 srcdiroption="--srcdir=."; \
23004 libsrcdir=".";; \
23005 /* | [A-Za-z]:[\\/]*) \
23006 srcdiroption="--srcdir=$(srcdir)/guile"; \
23007 libsrcdir="$$s/guile";; \
23008 *) \
23009 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23010 libsrcdir="$$s/guile";; \
23011 esac; \
23012 $(SHELL) $${libsrcdir}/configure \
23013 $(HOST_CONFIGARGS) $${srcdiroption} \
23014 || exit 1
23015 @endif guile
23017 .PHONY: all-guile maybe-all-guile
23018 maybe-all-guile:
23019 @if guile
23020 TARGET-guile=all
23021 maybe-all-guile: all-guile
23022 all-guile: configure-guile
23023 @r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 $(SET_LIB_PATH) \
23026 $(HOST_EXPORTS) \
23027 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23028 $(TARGET-guile))
23029 @endif guile
23031 .PHONY: check-guile maybe-check-guile
23032 maybe-check-guile:
23033 @if guile
23034 maybe-check-guile: check-guile
23036 check-guile:
23037 @r=`${PWD_COMMAND}`; export r; \
23038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23039 $(SET_LIB_PATH) \
23040 $(HOST_EXPORTS) \
23041 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23043 @endif guile
23045 .PHONY: install-guile maybe-install-guile
23046 maybe-install-guile:
23047 @if guile
23048 maybe-install-guile: install-guile
23050 install-guile: installdirs
23051 @r=`${PWD_COMMAND}`; export r; \
23052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23053 $(SET_LIB_PATH) \
23054 $(HOST_EXPORTS) \
23055 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23057 @endif guile
23059 # Other targets (info, dvi, etc.)
23061 .PHONY: maybe-info-guile info-guile
23062 maybe-info-guile:
23063 @if guile
23064 maybe-info-guile: info-guile
23066 info-guile: \
23067 configure-guile
23068 @[ -f ./guile/Makefile ] || exit 0; \
23069 r=`${PWD_COMMAND}`; export r; \
23070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23071 $(SET_LIB_PATH) \
23072 $(HOST_EXPORTS) \
23073 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23075 done; \
23076 echo "Doing info in guile" ; \
23077 (cd guile && \
23078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23080 "RANLIB=$${RANLIB}" \
23081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23082 info) \
23083 || exit 1
23085 @endif guile
23087 .PHONY: maybe-dvi-guile dvi-guile
23088 maybe-dvi-guile:
23089 @if guile
23090 maybe-dvi-guile: dvi-guile
23092 dvi-guile: \
23093 configure-guile
23094 @[ -f ./guile/Makefile ] || exit 0; \
23095 r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23097 $(SET_LIB_PATH) \
23098 $(HOST_EXPORTS) \
23099 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23101 done; \
23102 echo "Doing dvi in guile" ; \
23103 (cd guile && \
23104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23106 "RANLIB=$${RANLIB}" \
23107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23108 dvi) \
23109 || exit 1
23111 @endif guile
23113 .PHONY: maybe-html-guile html-guile
23114 maybe-html-guile:
23115 @if guile
23116 maybe-html-guile: html-guile
23118 html-guile: \
23119 configure-guile
23120 @[ -f ./guile/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23123 $(SET_LIB_PATH) \
23124 $(HOST_EXPORTS) \
23125 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 done; \
23128 echo "Doing html in guile" ; \
23129 (cd guile && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23132 "RANLIB=$${RANLIB}" \
23133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23134 html) \
23135 || exit 1
23137 @endif guile
23139 .PHONY: maybe-TAGS-guile TAGS-guile
23140 maybe-TAGS-guile:
23141 @if guile
23142 maybe-TAGS-guile: TAGS-guile
23144 TAGS-guile: \
23145 configure-guile
23146 @[ -f ./guile/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(SET_LIB_PATH) \
23150 $(HOST_EXPORTS) \
23151 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 done; \
23154 echo "Doing TAGS in guile" ; \
23155 (cd guile && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23160 TAGS) \
23161 || exit 1
23163 @endif guile
23165 .PHONY: maybe-install-info-guile install-info-guile
23166 maybe-install-info-guile:
23167 @if guile
23168 maybe-install-info-guile: install-info-guile
23170 install-info-guile: \
23171 configure-guile \
23172 info-guile
23173 @[ -f ./guile/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23176 $(SET_LIB_PATH) \
23177 $(HOST_EXPORTS) \
23178 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23180 done; \
23181 echo "Doing install-info in guile" ; \
23182 (cd guile && \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23185 "RANLIB=$${RANLIB}" \
23186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23187 install-info) \
23188 || exit 1
23190 @endif guile
23192 .PHONY: maybe-installcheck-guile installcheck-guile
23193 maybe-installcheck-guile:
23194 @if guile
23195 maybe-installcheck-guile: installcheck-guile
23197 installcheck-guile: \
23198 configure-guile
23199 @[ -f ./guile/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23202 $(SET_LIB_PATH) \
23203 $(HOST_EXPORTS) \
23204 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23206 done; \
23207 echo "Doing installcheck in guile" ; \
23208 (cd guile && \
23209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23211 "RANLIB=$${RANLIB}" \
23212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23213 installcheck) \
23214 || exit 1
23216 @endif guile
23218 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23219 maybe-mostlyclean-guile:
23220 @if guile
23221 maybe-mostlyclean-guile: mostlyclean-guile
23223 mostlyclean-guile:
23224 @[ -f ./guile/Makefile ] || exit 0; \
23225 r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23227 $(SET_LIB_PATH) \
23228 $(HOST_EXPORTS) \
23229 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23231 done; \
23232 echo "Doing mostlyclean in guile" ; \
23233 (cd guile && \
23234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23236 "RANLIB=$${RANLIB}" \
23237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23238 mostlyclean) \
23239 || exit 1
23241 @endif guile
23243 .PHONY: maybe-clean-guile clean-guile
23244 maybe-clean-guile:
23245 @if guile
23246 maybe-clean-guile: clean-guile
23248 clean-guile:
23249 @[ -f ./guile/Makefile ] || exit 0; \
23250 r=`${PWD_COMMAND}`; export r; \
23251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23252 $(SET_LIB_PATH) \
23253 $(HOST_EXPORTS) \
23254 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23256 done; \
23257 echo "Doing clean in guile" ; \
23258 (cd guile && \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23261 "RANLIB=$${RANLIB}" \
23262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23263 clean) \
23264 || exit 1
23266 @endif guile
23268 .PHONY: maybe-distclean-guile distclean-guile
23269 maybe-distclean-guile:
23270 @if guile
23271 maybe-distclean-guile: distclean-guile
23273 distclean-guile:
23274 @[ -f ./guile/Makefile ] || exit 0; \
23275 r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23277 $(SET_LIB_PATH) \
23278 $(HOST_EXPORTS) \
23279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23281 done; \
23282 echo "Doing distclean in guile" ; \
23283 (cd guile && \
23284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23286 "RANLIB=$${RANLIB}" \
23287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23288 distclean) \
23289 || exit 1
23291 @endif guile
23293 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23294 maybe-maintainer-clean-guile:
23295 @if guile
23296 maybe-maintainer-clean-guile: maintainer-clean-guile
23298 maintainer-clean-guile:
23299 @[ -f ./guile/Makefile ] || exit 0; \
23300 r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23302 $(SET_LIB_PATH) \
23303 $(HOST_EXPORTS) \
23304 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23306 done; \
23307 echo "Doing maintainer-clean in guile" ; \
23308 (cd guile && \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23311 "RANLIB=$${RANLIB}" \
23312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23313 maintainer-clean) \
23314 || exit 1
23316 @endif guile
23319 .PHONY: configure-tk maybe-configure-tk
23320 maybe-configure-tk:
23321 @if tk
23322 maybe-configure-tk: configure-tk
23323 configure-tk:
23324 @test ! -f tk/Makefile || exit 0; \
23325 [ -d tk ] || mkdir tk; \
23326 r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 $(HOST_EXPORTS) \
23329 echo Configuring in tk; \
23330 cd tk || exit 1; \
23331 case $(srcdir) in \
23332 \.) \
23333 srcdiroption="--srcdir=."; \
23334 libsrcdir=".";; \
23335 /* | [A-Za-z]:[\\/]*) \
23336 srcdiroption="--srcdir=$(srcdir)/tk"; \
23337 libsrcdir="$$s/tk";; \
23338 *) \
23339 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23340 libsrcdir="$$s/tk";; \
23341 esac; \
23342 $(SHELL) $${libsrcdir}/configure \
23343 $(HOST_CONFIGARGS) $${srcdiroption} \
23344 || exit 1
23345 @endif tk
23347 .PHONY: all-tk maybe-all-tk
23348 maybe-all-tk:
23349 @if tk
23350 TARGET-tk=all
23351 maybe-all-tk: all-tk
23352 all-tk: configure-tk
23353 @r=`${PWD_COMMAND}`; export r; \
23354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23355 $(SET_LIB_PATH) \
23356 $(HOST_EXPORTS) \
23357 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23358 $(TARGET-tk))
23359 @endif tk
23361 .PHONY: check-tk maybe-check-tk
23362 maybe-check-tk:
23363 @if tk
23364 maybe-check-tk: check-tk
23366 check-tk:
23367 @r=`${PWD_COMMAND}`; export r; \
23368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23369 $(SET_LIB_PATH) \
23370 $(HOST_EXPORTS) \
23371 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23373 @endif tk
23375 .PHONY: install-tk maybe-install-tk
23376 maybe-install-tk:
23377 @if tk
23378 maybe-install-tk: install-tk
23380 install-tk: installdirs
23381 @r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23383 $(SET_LIB_PATH) \
23384 $(HOST_EXPORTS) \
23385 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23387 @endif tk
23389 # Other targets (info, dvi, etc.)
23391 .PHONY: maybe-info-tk info-tk
23392 maybe-info-tk:
23393 @if tk
23394 maybe-info-tk: info-tk
23396 info-tk: \
23397 configure-tk
23398 @[ -f ./tk/Makefile ] || exit 0; \
23399 r=`${PWD_COMMAND}`; export r; \
23400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23401 $(SET_LIB_PATH) \
23402 $(HOST_EXPORTS) \
23403 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23405 done; \
23406 echo "Doing info in tk" ; \
23407 (cd tk && \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23410 "RANLIB=$${RANLIB}" \
23411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23412 info) \
23413 || exit 1
23415 @endif tk
23417 .PHONY: maybe-dvi-tk dvi-tk
23418 maybe-dvi-tk:
23419 @if tk
23420 maybe-dvi-tk: dvi-tk
23422 dvi-tk: \
23423 configure-tk
23424 @[ -f ./tk/Makefile ] || exit 0; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(SET_LIB_PATH) \
23428 $(HOST_EXPORTS) \
23429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23431 done; \
23432 echo "Doing dvi in tk" ; \
23433 (cd tk && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438 dvi) \
23439 || exit 1
23441 @endif tk
23443 .PHONY: maybe-html-tk html-tk
23444 maybe-html-tk:
23445 @if tk
23446 maybe-html-tk: html-tk
23448 html-tk: \
23449 configure-tk
23450 @[ -f ./tk/Makefile ] || exit 0; \
23451 r=`${PWD_COMMAND}`; export r; \
23452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23453 $(SET_LIB_PATH) \
23454 $(HOST_EXPORTS) \
23455 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 done; \
23458 echo "Doing html in tk" ; \
23459 (cd tk && \
23460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23462 "RANLIB=$${RANLIB}" \
23463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23464 html) \
23465 || exit 1
23467 @endif tk
23469 .PHONY: maybe-TAGS-tk TAGS-tk
23470 maybe-TAGS-tk:
23471 @if tk
23472 maybe-TAGS-tk: TAGS-tk
23474 TAGS-tk: \
23475 configure-tk
23476 @[ -f ./tk/Makefile ] || exit 0; \
23477 r=`${PWD_COMMAND}`; export r; \
23478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23479 $(SET_LIB_PATH) \
23480 $(HOST_EXPORTS) \
23481 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23483 done; \
23484 echo "Doing TAGS in tk" ; \
23485 (cd tk && \
23486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23488 "RANLIB=$${RANLIB}" \
23489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23490 TAGS) \
23491 || exit 1
23493 @endif tk
23495 .PHONY: maybe-install-info-tk install-info-tk
23496 maybe-install-info-tk:
23497 @if tk
23498 maybe-install-info-tk: install-info-tk
23500 install-info-tk: \
23501 configure-tk \
23502 info-tk
23503 @[ -f ./tk/Makefile ] || exit 0; \
23504 r=`${PWD_COMMAND}`; export r; \
23505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23506 $(SET_LIB_PATH) \
23507 $(HOST_EXPORTS) \
23508 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23510 done; \
23511 echo "Doing install-info in tk" ; \
23512 (cd tk && \
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 install-info) \
23518 || exit 1
23520 @endif tk
23522 .PHONY: maybe-installcheck-tk installcheck-tk
23523 maybe-installcheck-tk:
23524 @if tk
23525 maybe-installcheck-tk: installcheck-tk
23527 installcheck-tk: \
23528 configure-tk
23529 @[ -f ./tk/Makefile ] || exit 0; \
23530 r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23532 $(SET_LIB_PATH) \
23533 $(HOST_EXPORTS) \
23534 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23536 done; \
23537 echo "Doing installcheck in tk" ; \
23538 (cd tk && \
23539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23541 "RANLIB=$${RANLIB}" \
23542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23543 installcheck) \
23544 || exit 1
23546 @endif tk
23548 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23549 maybe-mostlyclean-tk:
23550 @if tk
23551 maybe-mostlyclean-tk: mostlyclean-tk
23553 mostlyclean-tk:
23554 @[ -f ./tk/Makefile ] || exit 0; \
23555 r=`${PWD_COMMAND}`; export r; \
23556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23557 $(SET_LIB_PATH) \
23558 $(HOST_EXPORTS) \
23559 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 done; \
23562 echo "Doing mostlyclean in tk" ; \
23563 (cd tk && \
23564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23566 "RANLIB=$${RANLIB}" \
23567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23568 mostlyclean) \
23569 || exit 1
23571 @endif tk
23573 .PHONY: maybe-clean-tk clean-tk
23574 maybe-clean-tk:
23575 @if tk
23576 maybe-clean-tk: clean-tk
23578 clean-tk:
23579 @[ -f ./tk/Makefile ] || exit 0; \
23580 r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 $(SET_LIB_PATH) \
23583 $(HOST_EXPORTS) \
23584 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 done; \
23587 echo "Doing clean in tk" ; \
23588 (cd tk && \
23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23591 "RANLIB=$${RANLIB}" \
23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23593 clean) \
23594 || exit 1
23596 @endif tk
23598 .PHONY: maybe-distclean-tk distclean-tk
23599 maybe-distclean-tk:
23600 @if tk
23601 maybe-distclean-tk: distclean-tk
23603 distclean-tk:
23604 @[ -f ./tk/Makefile ] || exit 0; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23607 $(SET_LIB_PATH) \
23608 $(HOST_EXPORTS) \
23609 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23611 done; \
23612 echo "Doing distclean in tk" ; \
23613 (cd tk && \
23614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23616 "RANLIB=$${RANLIB}" \
23617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23618 distclean) \
23619 || exit 1
23621 @endif tk
23623 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23624 maybe-maintainer-clean-tk:
23625 @if tk
23626 maybe-maintainer-clean-tk: maintainer-clean-tk
23628 maintainer-clean-tk:
23629 @[ -f ./tk/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23632 $(SET_LIB_PATH) \
23633 $(HOST_EXPORTS) \
23634 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23636 done; \
23637 echo "Doing maintainer-clean in tk" ; \
23638 (cd tk && \
23639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23641 "RANLIB=$${RANLIB}" \
23642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23643 maintainer-clean) \
23644 || exit 1
23646 @endif tk
23649 .PHONY: configure-libtermcap maybe-configure-libtermcap
23650 maybe-configure-libtermcap:
23651 @if libtermcap
23652 maybe-configure-libtermcap: configure-libtermcap
23653 configure-libtermcap:
23654 @test ! -f libtermcap/Makefile || exit 0; \
23655 [ -d libtermcap ] || mkdir libtermcap; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(HOST_EXPORTS) \
23659 echo Configuring in libtermcap; \
23660 cd libtermcap || exit 1; \
23661 case $(srcdir) in \
23662 \.) \
23663 srcdiroption="--srcdir=."; \
23664 libsrcdir=".";; \
23665 /* | [A-Za-z]:[\\/]*) \
23666 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23667 libsrcdir="$$s/libtermcap";; \
23668 *) \
23669 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23670 libsrcdir="$$s/libtermcap";; \
23671 esac; \
23672 $(SHELL) $${libsrcdir}/configure \
23673 $(HOST_CONFIGARGS) $${srcdiroption} \
23674 || exit 1
23675 @endif libtermcap
23677 .PHONY: all-libtermcap maybe-all-libtermcap
23678 maybe-all-libtermcap:
23679 @if libtermcap
23680 TARGET-libtermcap=all
23681 maybe-all-libtermcap: all-libtermcap
23682 all-libtermcap: configure-libtermcap
23683 @r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 $(SET_LIB_PATH) \
23686 $(HOST_EXPORTS) \
23687 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23688 $(TARGET-libtermcap))
23689 @endif libtermcap
23691 .PHONY: check-libtermcap maybe-check-libtermcap
23692 maybe-check-libtermcap:
23693 @if libtermcap
23694 maybe-check-libtermcap: check-libtermcap
23696 check-libtermcap:
23698 @endif libtermcap
23700 .PHONY: install-libtermcap maybe-install-libtermcap
23701 maybe-install-libtermcap:
23702 @if libtermcap
23703 maybe-install-libtermcap: install-libtermcap
23705 install-libtermcap: installdirs
23706 @r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(SET_LIB_PATH) \
23709 $(HOST_EXPORTS) \
23710 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23712 @endif libtermcap
23714 # Other targets (info, dvi, etc.)
23716 .PHONY: maybe-info-libtermcap info-libtermcap
23717 maybe-info-libtermcap:
23718 @if libtermcap
23719 maybe-info-libtermcap: info-libtermcap
23721 info-libtermcap: \
23722 configure-libtermcap
23723 @[ -f ./libtermcap/Makefile ] || exit 0; \
23724 r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 $(SET_LIB_PATH) \
23727 $(HOST_EXPORTS) \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 done; \
23731 echo "Doing info in libtermcap" ; \
23732 (cd libtermcap && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23737 info) \
23738 || exit 1
23740 @endif libtermcap
23742 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23743 maybe-dvi-libtermcap:
23744 @if libtermcap
23745 maybe-dvi-libtermcap: dvi-libtermcap
23747 dvi-libtermcap: \
23748 configure-libtermcap
23749 @[ -f ./libtermcap/Makefile ] || exit 0; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 $(SET_LIB_PATH) \
23753 $(HOST_EXPORTS) \
23754 for flag in $(EXTRA_HOST_FLAGS) ; do \
23755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756 done; \
23757 echo "Doing dvi in libtermcap" ; \
23758 (cd libtermcap && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23763 dvi) \
23764 || exit 1
23766 @endif libtermcap
23768 .PHONY: maybe-html-libtermcap html-libtermcap
23769 maybe-html-libtermcap:
23770 @if libtermcap
23771 maybe-html-libtermcap: html-libtermcap
23773 html-libtermcap: \
23774 configure-libtermcap
23775 @[ -f ./libtermcap/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 $(SET_LIB_PATH) \
23779 $(HOST_EXPORTS) \
23780 for flag in $(EXTRA_HOST_FLAGS) ; do \
23781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23782 done; \
23783 echo "Doing html in libtermcap" ; \
23784 (cd libtermcap && \
23785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23787 "RANLIB=$${RANLIB}" \
23788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23789 html) \
23790 || exit 1
23792 @endif libtermcap
23794 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23795 maybe-TAGS-libtermcap:
23796 @if libtermcap
23797 maybe-TAGS-libtermcap: TAGS-libtermcap
23799 TAGS-libtermcap: \
23800 configure-libtermcap
23801 @[ -f ./libtermcap/Makefile ] || exit 0; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23804 $(SET_LIB_PATH) \
23805 $(HOST_EXPORTS) \
23806 for flag in $(EXTRA_HOST_FLAGS) ; do \
23807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23808 done; \
23809 echo "Doing TAGS in libtermcap" ; \
23810 (cd libtermcap && \
23811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23813 "RANLIB=$${RANLIB}" \
23814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23815 TAGS) \
23816 || exit 1
23818 @endif libtermcap
23820 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23821 maybe-install-info-libtermcap:
23822 @if libtermcap
23823 maybe-install-info-libtermcap: install-info-libtermcap
23825 install-info-libtermcap: \
23826 configure-libtermcap \
23827 info-libtermcap
23828 @[ -f ./libtermcap/Makefile ] || exit 0; \
23829 r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 $(SET_LIB_PATH) \
23832 $(HOST_EXPORTS) \
23833 for flag in $(EXTRA_HOST_FLAGS) ; do \
23834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23835 done; \
23836 echo "Doing install-info in libtermcap" ; \
23837 (cd libtermcap && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23842 install-info) \
23843 || exit 1
23845 @endif libtermcap
23847 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23848 maybe-installcheck-libtermcap:
23849 @if libtermcap
23850 maybe-installcheck-libtermcap: installcheck-libtermcap
23852 installcheck-libtermcap: \
23853 configure-libtermcap
23854 @[ -f ./libtermcap/Makefile ] || exit 0; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 $(SET_LIB_PATH) \
23858 $(HOST_EXPORTS) \
23859 for flag in $(EXTRA_HOST_FLAGS) ; do \
23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23861 done; \
23862 echo "Doing installcheck in libtermcap" ; \
23863 (cd libtermcap && \
23864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23866 "RANLIB=$${RANLIB}" \
23867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23868 installcheck) \
23869 || exit 1
23871 @endif libtermcap
23873 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23874 maybe-mostlyclean-libtermcap:
23875 @if libtermcap
23876 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23878 # libtermcap doesn't support mostlyclean.
23879 mostlyclean-libtermcap:
23881 @endif libtermcap
23883 .PHONY: maybe-clean-libtermcap clean-libtermcap
23884 maybe-clean-libtermcap:
23885 @if libtermcap
23886 maybe-clean-libtermcap: clean-libtermcap
23888 # libtermcap doesn't support clean.
23889 clean-libtermcap:
23891 @endif libtermcap
23893 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23894 maybe-distclean-libtermcap:
23895 @if libtermcap
23896 maybe-distclean-libtermcap: distclean-libtermcap
23898 # libtermcap doesn't support distclean.
23899 distclean-libtermcap:
23901 @endif libtermcap
23903 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23904 maybe-maintainer-clean-libtermcap:
23905 @if libtermcap
23906 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23908 # libtermcap doesn't support maintainer-clean.
23909 maintainer-clean-libtermcap:
23911 @endif libtermcap
23914 .PHONY: configure-utils maybe-configure-utils
23915 maybe-configure-utils:
23916 @if utils
23917 maybe-configure-utils: configure-utils
23918 configure-utils:
23919 @test ! -f utils/Makefile || exit 0; \
23920 [ -d utils ] || mkdir utils; \
23921 r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23923 $(HOST_EXPORTS) \
23924 echo Configuring in utils; \
23925 cd utils || exit 1; \
23926 case $(srcdir) in \
23927 \.) \
23928 srcdiroption="--srcdir=."; \
23929 libsrcdir=".";; \
23930 /* | [A-Za-z]:[\\/]*) \
23931 srcdiroption="--srcdir=$(srcdir)/utils"; \
23932 libsrcdir="$$s/utils";; \
23933 *) \
23934 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23935 libsrcdir="$$s/utils";; \
23936 esac; \
23937 $(SHELL) $${libsrcdir}/configure \
23938 $(HOST_CONFIGARGS) $${srcdiroption} \
23939 || exit 1
23940 @endif utils
23942 .PHONY: all-utils maybe-all-utils
23943 maybe-all-utils:
23944 @if utils
23945 TARGET-utils=all
23946 maybe-all-utils: all-utils
23947 all-utils: configure-utils
23948 @r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23950 $(SET_LIB_PATH) \
23951 $(HOST_EXPORTS) \
23952 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23953 $(TARGET-utils))
23954 @endif utils
23956 .PHONY: check-utils maybe-check-utils
23957 maybe-check-utils:
23958 @if utils
23959 maybe-check-utils: check-utils
23961 check-utils:
23963 @endif utils
23965 .PHONY: install-utils maybe-install-utils
23966 maybe-install-utils:
23967 @if utils
23968 maybe-install-utils: install-utils
23970 install-utils: installdirs
23971 @r=`${PWD_COMMAND}`; export r; \
23972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23973 $(SET_LIB_PATH) \
23974 $(HOST_EXPORTS) \
23975 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23977 @endif utils
23979 # Other targets (info, dvi, etc.)
23981 .PHONY: maybe-info-utils info-utils
23982 maybe-info-utils:
23983 @if utils
23984 maybe-info-utils: info-utils
23986 info-utils: \
23987 configure-utils
23988 @[ -f ./utils/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23991 $(SET_LIB_PATH) \
23992 $(HOST_EXPORTS) \
23993 for flag in $(EXTRA_HOST_FLAGS) ; do \
23994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23995 done; \
23996 echo "Doing info in utils" ; \
23997 (cd utils && \
23998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24000 "RANLIB=$${RANLIB}" \
24001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24002 info) \
24003 || exit 1
24005 @endif utils
24007 .PHONY: maybe-dvi-utils dvi-utils
24008 maybe-dvi-utils:
24009 @if utils
24010 maybe-dvi-utils: dvi-utils
24012 dvi-utils: \
24013 configure-utils
24014 @[ -f ./utils/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24017 $(SET_LIB_PATH) \
24018 $(HOST_EXPORTS) \
24019 for flag in $(EXTRA_HOST_FLAGS) ; do \
24020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24021 done; \
24022 echo "Doing dvi in utils" ; \
24023 (cd utils && \
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 dvi) \
24029 || exit 1
24031 @endif utils
24033 .PHONY: maybe-html-utils html-utils
24034 maybe-html-utils:
24035 @if utils
24036 maybe-html-utils: html-utils
24038 html-utils: \
24039 configure-utils
24040 @[ -f ./utils/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24043 $(SET_LIB_PATH) \
24044 $(HOST_EXPORTS) \
24045 for flag in $(EXTRA_HOST_FLAGS) ; do \
24046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24047 done; \
24048 echo "Doing html in utils" ; \
24049 (cd utils && \
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 html) \
24055 || exit 1
24057 @endif utils
24059 .PHONY: maybe-TAGS-utils TAGS-utils
24060 maybe-TAGS-utils:
24061 @if utils
24062 maybe-TAGS-utils: TAGS-utils
24064 TAGS-utils: \
24065 configure-utils
24066 @[ -f ./utils/Makefile ] || exit 0; \
24067 r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24069 $(SET_LIB_PATH) \
24070 $(HOST_EXPORTS) \
24071 for flag in $(EXTRA_HOST_FLAGS) ; do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 done; \
24074 echo "Doing TAGS in utils" ; \
24075 (cd utils && \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24078 "RANLIB=$${RANLIB}" \
24079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24080 TAGS) \
24081 || exit 1
24083 @endif utils
24085 .PHONY: maybe-install-info-utils install-info-utils
24086 maybe-install-info-utils:
24087 @if utils
24088 maybe-install-info-utils: install-info-utils
24090 install-info-utils: \
24091 configure-utils \
24092 info-utils
24093 @[ -f ./utils/Makefile ] || exit 0; \
24094 r=`${PWD_COMMAND}`; export r; \
24095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24096 $(SET_LIB_PATH) \
24097 $(HOST_EXPORTS) \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 done; \
24101 echo "Doing install-info in utils" ; \
24102 (cd utils && \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24107 install-info) \
24108 || exit 1
24110 @endif utils
24112 .PHONY: maybe-installcheck-utils installcheck-utils
24113 maybe-installcheck-utils:
24114 @if utils
24115 maybe-installcheck-utils: installcheck-utils
24117 installcheck-utils: \
24118 configure-utils
24119 @[ -f ./utils/Makefile ] || exit 0; \
24120 r=`${PWD_COMMAND}`; export r; \
24121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24122 $(SET_LIB_PATH) \
24123 $(HOST_EXPORTS) \
24124 for flag in $(EXTRA_HOST_FLAGS) ; do \
24125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 done; \
24127 echo "Doing installcheck in utils" ; \
24128 (cd utils && \
24129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24131 "RANLIB=$${RANLIB}" \
24132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24133 installcheck) \
24134 || exit 1
24136 @endif utils
24138 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24139 maybe-mostlyclean-utils:
24140 @if utils
24141 maybe-mostlyclean-utils: mostlyclean-utils
24143 mostlyclean-utils:
24144 @[ -f ./utils/Makefile ] || exit 0; \
24145 r=`${PWD_COMMAND}`; export r; \
24146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24147 $(SET_LIB_PATH) \
24148 $(HOST_EXPORTS) \
24149 for flag in $(EXTRA_HOST_FLAGS) ; do \
24150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24151 done; \
24152 echo "Doing mostlyclean in utils" ; \
24153 (cd utils && \
24154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24156 "RANLIB=$${RANLIB}" \
24157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24158 mostlyclean) \
24159 || exit 1
24161 @endif utils
24163 .PHONY: maybe-clean-utils clean-utils
24164 maybe-clean-utils:
24165 @if utils
24166 maybe-clean-utils: clean-utils
24168 clean-utils:
24169 @[ -f ./utils/Makefile ] || exit 0; \
24170 r=`${PWD_COMMAND}`; export r; \
24171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24172 $(SET_LIB_PATH) \
24173 $(HOST_EXPORTS) \
24174 for flag in $(EXTRA_HOST_FLAGS) ; do \
24175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24176 done; \
24177 echo "Doing clean in utils" ; \
24178 (cd utils && \
24179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24181 "RANLIB=$${RANLIB}" \
24182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24183 clean) \
24184 || exit 1
24186 @endif utils
24188 .PHONY: maybe-distclean-utils distclean-utils
24189 maybe-distclean-utils:
24190 @if utils
24191 maybe-distclean-utils: distclean-utils
24193 distclean-utils:
24194 @[ -f ./utils/Makefile ] || exit 0; \
24195 r=`${PWD_COMMAND}`; export r; \
24196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24197 $(SET_LIB_PATH) \
24198 $(HOST_EXPORTS) \
24199 for flag in $(EXTRA_HOST_FLAGS) ; do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201 done; \
24202 echo "Doing distclean in utils" ; \
24203 (cd utils && \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24206 "RANLIB=$${RANLIB}" \
24207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24208 distclean) \
24209 || exit 1
24211 @endif utils
24213 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24214 maybe-maintainer-clean-utils:
24215 @if utils
24216 maybe-maintainer-clean-utils: maintainer-clean-utils
24218 maintainer-clean-utils:
24219 @[ -f ./utils/Makefile ] || exit 0; \
24220 r=`${PWD_COMMAND}`; export r; \
24221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24222 $(SET_LIB_PATH) \
24223 $(HOST_EXPORTS) \
24224 for flag in $(EXTRA_HOST_FLAGS) ; do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226 done; \
24227 echo "Doing maintainer-clean in utils" ; \
24228 (cd utils && \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231 "RANLIB=$${RANLIB}" \
24232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24233 maintainer-clean) \
24234 || exit 1
24236 @endif utils
24240 # ---------------------------------------
24241 # Modules which run on the target machine
24242 # ---------------------------------------
24244 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24245 maybe-configure-target-libstdc++-v3:
24246 @if target-libstdc++-v3
24247 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24249 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24250 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24253 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24255 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24256 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24258 r=`${PWD_COMMAND}`; export r; \
24259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24260 $(SET_LIB_PATH) \
24261 $(RAW_CXX_TARGET_EXPORTS) \
24262 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24263 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24264 case $(srcdir) in \
24265 /* | [A-Za-z]:[\\/]*) \
24266 topdir=$(srcdir) ;; \
24267 *) \
24268 case "$(TARGET_SUBDIR)" in \
24269 .) topdir="../$(srcdir)" ;; \
24270 *) topdir="../../$(srcdir)" ;; \
24271 esac ;; \
24272 esac; \
24273 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24274 libsrcdir="$$s/libstdc++-v3"; \
24275 rm -f no-such-file || : ; \
24276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24277 $(TARGET_CONFIGARGS) $${srcdiroption} \
24278 --with-target-subdir="$(TARGET_SUBDIR)" \
24279 || exit 1
24280 @endif target-libstdc++-v3
24282 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24283 maybe-all-target-libstdc++-v3:
24284 @if target-libstdc++-v3
24285 TARGET-target-libstdc++-v3=all
24286 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24287 all-target-libstdc++-v3: configure-target-libstdc++-v3
24288 @r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(SET_LIB_PATH) \
24291 $(RAW_CXX_TARGET_EXPORTS) \
24292 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24293 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24294 @endif target-libstdc++-v3
24296 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24297 maybe-check-target-libstdc++-v3:
24298 @if target-libstdc++-v3
24299 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24301 check-target-libstdc++-v3:
24302 @r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(SET_LIB_PATH) \
24305 $(RAW_CXX_TARGET_EXPORTS) \
24306 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24307 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24309 @endif target-libstdc++-v3
24311 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24312 maybe-install-target-libstdc++-v3:
24313 @if target-libstdc++-v3
24314 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24316 install-target-libstdc++-v3: installdirs
24317 @r=`${PWD_COMMAND}`; export r; \
24318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 $(SET_LIB_PATH) \
24320 $(RAW_CXX_TARGET_EXPORTS) \
24321 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24324 @endif target-libstdc++-v3
24326 # Other targets (info, dvi, etc.)
24328 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24329 maybe-info-target-libstdc++-v3:
24330 @if target-libstdc++-v3
24331 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24333 info-target-libstdc++-v3: \
24334 configure-target-libstdc++-v3
24335 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24336 r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(SET_LIB_PATH) \
24339 $(RAW_CXX_TARGET_EXPORTS) \
24340 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24341 for flag in $(EXTRA_TARGET_FLAGS); do \
24342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24343 done; \
24344 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 info) \
24350 || exit 1
24352 @endif target-libstdc++-v3
24354 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24355 maybe-dvi-target-libstdc++-v3:
24356 @if target-libstdc++-v3
24357 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24359 dvi-target-libstdc++-v3: \
24360 configure-target-libstdc++-v3
24361 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(SET_LIB_PATH) \
24365 $(RAW_CXX_TARGET_EXPORTS) \
24366 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24367 for flag in $(EXTRA_TARGET_FLAGS); do \
24368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24369 done; \
24370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 dvi) \
24376 || exit 1
24378 @endif target-libstdc++-v3
24380 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24381 maybe-html-target-libstdc++-v3:
24382 @if target-libstdc++-v3
24383 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24385 html-target-libstdc++-v3: \
24386 configure-target-libstdc++-v3
24387 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24388 r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 $(SET_LIB_PATH) \
24391 $(RAW_CXX_TARGET_EXPORTS) \
24392 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24393 for flag in $(EXTRA_TARGET_FLAGS); do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 done; \
24396 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24401 html) \
24402 || exit 1
24404 @endif target-libstdc++-v3
24406 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24407 maybe-TAGS-target-libstdc++-v3:
24408 @if target-libstdc++-v3
24409 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24411 TAGS-target-libstdc++-v3: \
24412 configure-target-libstdc++-v3
24413 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24414 r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 $(SET_LIB_PATH) \
24417 $(RAW_CXX_TARGET_EXPORTS) \
24418 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24419 for flag in $(EXTRA_TARGET_FLAGS); do \
24420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24421 done; \
24422 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 TAGS) \
24428 || exit 1
24430 @endif target-libstdc++-v3
24432 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24433 maybe-install-info-target-libstdc++-v3:
24434 @if target-libstdc++-v3
24435 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24437 install-info-target-libstdc++-v3: \
24438 configure-target-libstdc++-v3 \
24439 info-target-libstdc++-v3
24440 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(SET_LIB_PATH) \
24444 $(RAW_CXX_TARGET_EXPORTS) \
24445 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24446 for flag in $(EXTRA_TARGET_FLAGS); do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24448 done; \
24449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24452 "RANLIB=$${RANLIB}" \
24453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24454 install-info) \
24455 || exit 1
24457 @endif target-libstdc++-v3
24459 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24460 maybe-installcheck-target-libstdc++-v3:
24461 @if target-libstdc++-v3
24462 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24464 installcheck-target-libstdc++-v3: \
24465 configure-target-libstdc++-v3
24466 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(SET_LIB_PATH) \
24470 $(RAW_CXX_TARGET_EXPORTS) \
24471 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24472 for flag in $(EXTRA_TARGET_FLAGS); do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24474 done; \
24475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24480 installcheck) \
24481 || exit 1
24483 @endif target-libstdc++-v3
24485 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24486 maybe-mostlyclean-target-libstdc++-v3:
24487 @if target-libstdc++-v3
24488 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24490 mostlyclean-target-libstdc++-v3:
24491 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24492 r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 $(SET_LIB_PATH) \
24495 $(RAW_CXX_TARGET_EXPORTS) \
24496 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24497 for flag in $(EXTRA_TARGET_FLAGS); do \
24498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24499 done; \
24500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24505 mostlyclean) \
24506 || exit 1
24508 @endif target-libstdc++-v3
24510 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24511 maybe-clean-target-libstdc++-v3:
24512 @if target-libstdc++-v3
24513 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24515 clean-target-libstdc++-v3:
24516 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24517 r=`${PWD_COMMAND}`; export r; \
24518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24519 $(SET_LIB_PATH) \
24520 $(RAW_CXX_TARGET_EXPORTS) \
24521 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24522 for flag in $(EXTRA_TARGET_FLAGS); do \
24523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24524 done; \
24525 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24530 clean) \
24531 || exit 1
24533 @endif target-libstdc++-v3
24535 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24536 maybe-distclean-target-libstdc++-v3:
24537 @if target-libstdc++-v3
24538 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24540 distclean-target-libstdc++-v3:
24541 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24542 r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 $(SET_LIB_PATH) \
24545 $(RAW_CXX_TARGET_EXPORTS) \
24546 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24547 for flag in $(EXTRA_TARGET_FLAGS); do \
24548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24549 done; \
24550 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24553 "RANLIB=$${RANLIB}" \
24554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24555 distclean) \
24556 || exit 1
24558 @endif target-libstdc++-v3
24560 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24561 maybe-maintainer-clean-target-libstdc++-v3:
24562 @if target-libstdc++-v3
24563 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24565 maintainer-clean-target-libstdc++-v3:
24566 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24567 r=`${PWD_COMMAND}`; export r; \
24568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24569 $(SET_LIB_PATH) \
24570 $(RAW_CXX_TARGET_EXPORTS) \
24571 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24572 for flag in $(EXTRA_TARGET_FLAGS); do \
24573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24574 done; \
24575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24578 "RANLIB=$${RANLIB}" \
24579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24580 maintainer-clean) \
24581 || exit 1
24583 @endif target-libstdc++-v3
24586 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24587 maybe-configure-target-libmudflap:
24588 @if target-libmudflap
24589 maybe-configure-target-libmudflap: configure-target-libmudflap
24591 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24592 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24594 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24595 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24597 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24598 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(SET_LIB_PATH) \
24603 $(NORMAL_TARGET_EXPORTS) \
24604 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24605 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24606 case $(srcdir) in \
24607 /* | [A-Za-z]:[\\/]*) \
24608 topdir=$(srcdir) ;; \
24609 *) \
24610 case "$(TARGET_SUBDIR)" in \
24611 .) topdir="../$(srcdir)" ;; \
24612 *) topdir="../../$(srcdir)" ;; \
24613 esac ;; \
24614 esac; \
24615 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24616 libsrcdir="$$s/libmudflap"; \
24617 rm -f no-such-file || : ; \
24618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24619 $(TARGET_CONFIGARGS) $${srcdiroption} \
24620 --with-target-subdir="$(TARGET_SUBDIR)" \
24621 || exit 1
24622 @endif target-libmudflap
24624 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24625 maybe-all-target-libmudflap:
24626 @if target-libmudflap
24627 TARGET-target-libmudflap=all
24628 maybe-all-target-libmudflap: all-target-libmudflap
24629 all-target-libmudflap: configure-target-libmudflap
24630 @r=`${PWD_COMMAND}`; export r; \
24631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632 $(SET_LIB_PATH) \
24633 $(NORMAL_TARGET_EXPORTS) \
24634 (cd $(TARGET_SUBDIR)/libmudflap && \
24635 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24636 @endif target-libmudflap
24638 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24639 maybe-check-target-libmudflap:
24640 @if target-libmudflap
24641 maybe-check-target-libmudflap: check-target-libmudflap
24643 check-target-libmudflap:
24644 @r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(SET_LIB_PATH) \
24647 $(NORMAL_TARGET_EXPORTS) \
24648 (cd $(TARGET_SUBDIR)/libmudflap && \
24649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24651 @endif target-libmudflap
24653 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24654 maybe-install-target-libmudflap:
24655 @if target-libmudflap
24656 maybe-install-target-libmudflap: install-target-libmudflap
24658 install-target-libmudflap: installdirs
24659 @r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(SET_LIB_PATH) \
24662 $(NORMAL_TARGET_EXPORTS) \
24663 (cd $(TARGET_SUBDIR)/libmudflap && \
24664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24666 @endif target-libmudflap
24668 # Other targets (info, dvi, etc.)
24670 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24671 maybe-info-target-libmudflap:
24672 @if target-libmudflap
24673 maybe-info-target-libmudflap: info-target-libmudflap
24675 info-target-libmudflap: \
24676 configure-target-libmudflap
24677 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24678 r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(SET_LIB_PATH) \
24681 $(NORMAL_TARGET_EXPORTS) \
24682 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24683 for flag in $(EXTRA_TARGET_FLAGS); do \
24684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24685 done; \
24686 (cd $(TARGET_SUBDIR)/libmudflap && \
24687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24689 "RANLIB=$${RANLIB}" \
24690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24691 info) \
24692 || exit 1
24694 @endif target-libmudflap
24696 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24697 maybe-dvi-target-libmudflap:
24698 @if target-libmudflap
24699 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24701 dvi-target-libmudflap: \
24702 configure-target-libmudflap
24703 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24704 r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 $(SET_LIB_PATH) \
24707 $(NORMAL_TARGET_EXPORTS) \
24708 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24709 for flag in $(EXTRA_TARGET_FLAGS); do \
24710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24711 done; \
24712 (cd $(TARGET_SUBDIR)/libmudflap && \
24713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24715 "RANLIB=$${RANLIB}" \
24716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24717 dvi) \
24718 || exit 1
24720 @endif target-libmudflap
24722 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24723 maybe-html-target-libmudflap:
24724 @if target-libmudflap
24725 maybe-html-target-libmudflap: html-target-libmudflap
24727 html-target-libmudflap: \
24728 configure-target-libmudflap
24729 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24730 r=`${PWD_COMMAND}`; export r; \
24731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24732 $(SET_LIB_PATH) \
24733 $(NORMAL_TARGET_EXPORTS) \
24734 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24735 for flag in $(EXTRA_TARGET_FLAGS); do \
24736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24737 done; \
24738 (cd $(TARGET_SUBDIR)/libmudflap && \
24739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24741 "RANLIB=$${RANLIB}" \
24742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24743 html) \
24744 || exit 1
24746 @endif target-libmudflap
24748 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24749 maybe-TAGS-target-libmudflap:
24750 @if target-libmudflap
24751 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24753 TAGS-target-libmudflap: \
24754 configure-target-libmudflap
24755 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24756 r=`${PWD_COMMAND}`; export r; \
24757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24758 $(SET_LIB_PATH) \
24759 $(NORMAL_TARGET_EXPORTS) \
24760 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24761 for flag in $(EXTRA_TARGET_FLAGS); do \
24762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24763 done; \
24764 (cd $(TARGET_SUBDIR)/libmudflap && \
24765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24767 "RANLIB=$${RANLIB}" \
24768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24769 TAGS) \
24770 || exit 1
24772 @endif target-libmudflap
24774 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24775 maybe-install-info-target-libmudflap:
24776 @if target-libmudflap
24777 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24779 install-info-target-libmudflap: \
24780 configure-target-libmudflap \
24781 info-target-libmudflap
24782 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24783 r=`${PWD_COMMAND}`; export r; \
24784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24785 $(SET_LIB_PATH) \
24786 $(NORMAL_TARGET_EXPORTS) \
24787 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24788 for flag in $(EXTRA_TARGET_FLAGS); do \
24789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24790 done; \
24791 (cd $(TARGET_SUBDIR)/libmudflap && \
24792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24794 "RANLIB=$${RANLIB}" \
24795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24796 install-info) \
24797 || exit 1
24799 @endif target-libmudflap
24801 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24802 maybe-installcheck-target-libmudflap:
24803 @if target-libmudflap
24804 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24806 installcheck-target-libmudflap: \
24807 configure-target-libmudflap
24808 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24809 r=`${PWD_COMMAND}`; export r; \
24810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24811 $(SET_LIB_PATH) \
24812 $(NORMAL_TARGET_EXPORTS) \
24813 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24814 for flag in $(EXTRA_TARGET_FLAGS); do \
24815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24816 done; \
24817 (cd $(TARGET_SUBDIR)/libmudflap && \
24818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24820 "RANLIB=$${RANLIB}" \
24821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24822 installcheck) \
24823 || exit 1
24825 @endif target-libmudflap
24827 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24828 maybe-mostlyclean-target-libmudflap:
24829 @if target-libmudflap
24830 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24832 mostlyclean-target-libmudflap:
24833 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24834 r=`${PWD_COMMAND}`; export r; \
24835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 $(SET_LIB_PATH) \
24837 $(NORMAL_TARGET_EXPORTS) \
24838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24839 for flag in $(EXTRA_TARGET_FLAGS); do \
24840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24841 done; \
24842 (cd $(TARGET_SUBDIR)/libmudflap && \
24843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24845 "RANLIB=$${RANLIB}" \
24846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24847 mostlyclean) \
24848 || exit 1
24850 @endif target-libmudflap
24852 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24853 maybe-clean-target-libmudflap:
24854 @if target-libmudflap
24855 maybe-clean-target-libmudflap: clean-target-libmudflap
24857 clean-target-libmudflap:
24858 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24859 r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 $(SET_LIB_PATH) \
24862 $(NORMAL_TARGET_EXPORTS) \
24863 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24864 for flag in $(EXTRA_TARGET_FLAGS); do \
24865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24866 done; \
24867 (cd $(TARGET_SUBDIR)/libmudflap && \
24868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24870 "RANLIB=$${RANLIB}" \
24871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24872 clean) \
24873 || exit 1
24875 @endif target-libmudflap
24877 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24878 maybe-distclean-target-libmudflap:
24879 @if target-libmudflap
24880 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24882 distclean-target-libmudflap:
24883 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(SET_LIB_PATH) \
24887 $(NORMAL_TARGET_EXPORTS) \
24888 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24889 for flag in $(EXTRA_TARGET_FLAGS); do \
24890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24891 done; \
24892 (cd $(TARGET_SUBDIR)/libmudflap && \
24893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24895 "RANLIB=$${RANLIB}" \
24896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24897 distclean) \
24898 || exit 1
24900 @endif target-libmudflap
24902 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24903 maybe-maintainer-clean-target-libmudflap:
24904 @if target-libmudflap
24905 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24907 maintainer-clean-target-libmudflap:
24908 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(SET_LIB_PATH) \
24912 $(NORMAL_TARGET_EXPORTS) \
24913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24914 for flag in $(EXTRA_TARGET_FLAGS); do \
24915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24916 done; \
24917 (cd $(TARGET_SUBDIR)/libmudflap && \
24918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920 "RANLIB=$${RANLIB}" \
24921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922 maintainer-clean) \
24923 || exit 1
24925 @endif target-libmudflap
24928 .PHONY: configure-target-newlib maybe-configure-target-newlib
24929 maybe-configure-target-newlib:
24930 @if target-newlib
24931 maybe-configure-target-newlib: configure-target-newlib
24933 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24934 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24936 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24937 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24939 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24940 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24942 r=`${PWD_COMMAND}`; export r; \
24943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24944 $(SET_LIB_PATH) \
24945 $(NORMAL_TARGET_EXPORTS) \
24946 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24947 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24948 case $(srcdir) in \
24949 /* | [A-Za-z]:[\\/]*) \
24950 topdir=$(srcdir) ;; \
24951 *) \
24952 case "$(TARGET_SUBDIR)" in \
24953 .) topdir="../$(srcdir)" ;; \
24954 *) topdir="../../$(srcdir)" ;; \
24955 esac ;; \
24956 esac; \
24957 srcdiroption="--srcdir=$${topdir}/newlib"; \
24958 libsrcdir="$$s/newlib"; \
24959 rm -f no-such-file || : ; \
24960 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24961 $(TARGET_CONFIGARGS) $${srcdiroption} \
24962 --with-target-subdir="$(TARGET_SUBDIR)" \
24963 || exit 1
24964 @endif target-newlib
24966 .PHONY: all-target-newlib maybe-all-target-newlib
24967 maybe-all-target-newlib:
24968 @if target-newlib
24969 TARGET-target-newlib=all
24970 maybe-all-target-newlib: all-target-newlib
24971 all-target-newlib: configure-target-newlib
24972 @r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(SET_LIB_PATH) \
24975 $(NORMAL_TARGET_EXPORTS) \
24976 (cd $(TARGET_SUBDIR)/newlib && \
24977 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24978 @endif target-newlib
24980 .PHONY: check-target-newlib maybe-check-target-newlib
24981 maybe-check-target-newlib:
24982 @if target-newlib
24983 maybe-check-target-newlib: check-target-newlib
24985 check-target-newlib:
24986 @r=`${PWD_COMMAND}`; export r; \
24987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24988 $(SET_LIB_PATH) \
24989 $(NORMAL_TARGET_EXPORTS) \
24990 (cd $(TARGET_SUBDIR)/newlib && \
24991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24993 @endif target-newlib
24995 .PHONY: install-target-newlib maybe-install-target-newlib
24996 maybe-install-target-newlib:
24997 @if target-newlib
24998 maybe-install-target-newlib: install-target-newlib
25000 install-target-newlib: installdirs
25001 @r=`${PWD_COMMAND}`; export r; \
25002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25003 $(SET_LIB_PATH) \
25004 $(NORMAL_TARGET_EXPORTS) \
25005 (cd $(TARGET_SUBDIR)/newlib && \
25006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25008 @endif target-newlib
25010 # Other targets (info, dvi, etc.)
25012 .PHONY: maybe-info-target-newlib info-target-newlib
25013 maybe-info-target-newlib:
25014 @if target-newlib
25015 maybe-info-target-newlib: info-target-newlib
25017 info-target-newlib: \
25018 configure-target-newlib
25019 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25020 r=`${PWD_COMMAND}`; export r; \
25021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25022 $(SET_LIB_PATH) \
25023 $(NORMAL_TARGET_EXPORTS) \
25024 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25025 for flag in $(EXTRA_TARGET_FLAGS); do \
25026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25027 done; \
25028 (cd $(TARGET_SUBDIR)/newlib && \
25029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25031 "RANLIB=$${RANLIB}" \
25032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25033 info) \
25034 || exit 1
25036 @endif target-newlib
25038 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25039 maybe-dvi-target-newlib:
25040 @if target-newlib
25041 maybe-dvi-target-newlib: dvi-target-newlib
25043 dvi-target-newlib: \
25044 configure-target-newlib
25045 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25046 r=`${PWD_COMMAND}`; export r; \
25047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25048 $(SET_LIB_PATH) \
25049 $(NORMAL_TARGET_EXPORTS) \
25050 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25051 for flag in $(EXTRA_TARGET_FLAGS); do \
25052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25053 done; \
25054 (cd $(TARGET_SUBDIR)/newlib && \
25055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25057 "RANLIB=$${RANLIB}" \
25058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25059 dvi) \
25060 || exit 1
25062 @endif target-newlib
25064 .PHONY: maybe-html-target-newlib html-target-newlib
25065 maybe-html-target-newlib:
25066 @if target-newlib
25067 maybe-html-target-newlib: html-target-newlib
25069 html-target-newlib: \
25070 configure-target-newlib
25071 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25072 r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 $(SET_LIB_PATH) \
25075 $(NORMAL_TARGET_EXPORTS) \
25076 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25077 for flag in $(EXTRA_TARGET_FLAGS); do \
25078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25079 done; \
25080 (cd $(TARGET_SUBDIR)/newlib && \
25081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25083 "RANLIB=$${RANLIB}" \
25084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25085 html) \
25086 || exit 1
25088 @endif target-newlib
25090 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25091 maybe-TAGS-target-newlib:
25092 @if target-newlib
25093 maybe-TAGS-target-newlib: TAGS-target-newlib
25095 TAGS-target-newlib: \
25096 configure-target-newlib
25097 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25098 r=`${PWD_COMMAND}`; export r; \
25099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25100 $(SET_LIB_PATH) \
25101 $(NORMAL_TARGET_EXPORTS) \
25102 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25103 for flag in $(EXTRA_TARGET_FLAGS); do \
25104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25105 done; \
25106 (cd $(TARGET_SUBDIR)/newlib && \
25107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25109 "RANLIB=$${RANLIB}" \
25110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25111 TAGS) \
25112 || exit 1
25114 @endif target-newlib
25116 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25117 maybe-install-info-target-newlib:
25118 @if target-newlib
25119 maybe-install-info-target-newlib: install-info-target-newlib
25121 install-info-target-newlib: \
25122 configure-target-newlib \
25123 info-target-newlib
25124 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25125 r=`${PWD_COMMAND}`; export r; \
25126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25127 $(SET_LIB_PATH) \
25128 $(NORMAL_TARGET_EXPORTS) \
25129 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25130 for flag in $(EXTRA_TARGET_FLAGS); do \
25131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25132 done; \
25133 (cd $(TARGET_SUBDIR)/newlib && \
25134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25136 "RANLIB=$${RANLIB}" \
25137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25138 install-info) \
25139 || exit 1
25141 @endif target-newlib
25143 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25144 maybe-installcheck-target-newlib:
25145 @if target-newlib
25146 maybe-installcheck-target-newlib: installcheck-target-newlib
25148 installcheck-target-newlib: \
25149 configure-target-newlib
25150 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25151 r=`${PWD_COMMAND}`; export r; \
25152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25153 $(SET_LIB_PATH) \
25154 $(NORMAL_TARGET_EXPORTS) \
25155 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25156 for flag in $(EXTRA_TARGET_FLAGS); do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 done; \
25159 (cd $(TARGET_SUBDIR)/newlib && \
25160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25162 "RANLIB=$${RANLIB}" \
25163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25164 installcheck) \
25165 || exit 1
25167 @endif target-newlib
25169 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25170 maybe-mostlyclean-target-newlib:
25171 @if target-newlib
25172 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25174 mostlyclean-target-newlib:
25175 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25176 r=`${PWD_COMMAND}`; export r; \
25177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25178 $(SET_LIB_PATH) \
25179 $(NORMAL_TARGET_EXPORTS) \
25180 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25181 for flag in $(EXTRA_TARGET_FLAGS); do \
25182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25183 done; \
25184 (cd $(TARGET_SUBDIR)/newlib && \
25185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25187 "RANLIB=$${RANLIB}" \
25188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25189 mostlyclean) \
25190 || exit 1
25192 @endif target-newlib
25194 .PHONY: maybe-clean-target-newlib clean-target-newlib
25195 maybe-clean-target-newlib:
25196 @if target-newlib
25197 maybe-clean-target-newlib: clean-target-newlib
25199 clean-target-newlib:
25200 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25201 r=`${PWD_COMMAND}`; export r; \
25202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25203 $(SET_LIB_PATH) \
25204 $(NORMAL_TARGET_EXPORTS) \
25205 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25206 for flag in $(EXTRA_TARGET_FLAGS); do \
25207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25208 done; \
25209 (cd $(TARGET_SUBDIR)/newlib && \
25210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25212 "RANLIB=$${RANLIB}" \
25213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25214 clean) \
25215 || exit 1
25217 @endif target-newlib
25219 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25220 maybe-distclean-target-newlib:
25221 @if target-newlib
25222 maybe-distclean-target-newlib: distclean-target-newlib
25224 distclean-target-newlib:
25225 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25226 r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(SET_LIB_PATH) \
25229 $(NORMAL_TARGET_EXPORTS) \
25230 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25231 for flag in $(EXTRA_TARGET_FLAGS); do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 done; \
25234 (cd $(TARGET_SUBDIR)/newlib && \
25235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25237 "RANLIB=$${RANLIB}" \
25238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25239 distclean) \
25240 || exit 1
25242 @endif target-newlib
25244 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25245 maybe-maintainer-clean-target-newlib:
25246 @if target-newlib
25247 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25249 maintainer-clean-target-newlib:
25250 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25251 r=`${PWD_COMMAND}`; export r; \
25252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 $(SET_LIB_PATH) \
25254 $(NORMAL_TARGET_EXPORTS) \
25255 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25256 for flag in $(EXTRA_TARGET_FLAGS); do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 done; \
25259 (cd $(TARGET_SUBDIR)/newlib && \
25260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25262 "RANLIB=$${RANLIB}" \
25263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25264 maintainer-clean) \
25265 || exit 1
25267 @endif target-newlib
25270 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25271 maybe-configure-target-libgfortran:
25272 @if target-libgfortran
25273 maybe-configure-target-libgfortran: configure-target-libgfortran
25275 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25276 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25278 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25279 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25281 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25282 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25284 r=`${PWD_COMMAND}`; export r; \
25285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25286 $(SET_LIB_PATH) \
25287 $(NORMAL_TARGET_EXPORTS) \
25288 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25289 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25290 case $(srcdir) in \
25291 /* | [A-Za-z]:[\\/]*) \
25292 topdir=$(srcdir) ;; \
25293 *) \
25294 case "$(TARGET_SUBDIR)" in \
25295 .) topdir="../$(srcdir)" ;; \
25296 *) topdir="../../$(srcdir)" ;; \
25297 esac ;; \
25298 esac; \
25299 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25300 libsrcdir="$$s/libgfortran"; \
25301 rm -f no-such-file || : ; \
25302 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25303 $(TARGET_CONFIGARGS) $${srcdiroption} \
25304 --with-target-subdir="$(TARGET_SUBDIR)" \
25305 || exit 1
25306 @endif target-libgfortran
25308 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25309 maybe-all-target-libgfortran:
25310 @if target-libgfortran
25311 TARGET-target-libgfortran=all
25312 maybe-all-target-libgfortran: all-target-libgfortran
25313 all-target-libgfortran: configure-target-libgfortran
25314 @r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 $(SET_LIB_PATH) \
25317 $(NORMAL_TARGET_EXPORTS) \
25318 (cd $(TARGET_SUBDIR)/libgfortran && \
25319 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25320 @endif target-libgfortran
25322 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25323 maybe-check-target-libgfortran:
25324 @if target-libgfortran
25325 maybe-check-target-libgfortran: check-target-libgfortran
25327 check-target-libgfortran:
25328 @r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(SET_LIB_PATH) \
25331 $(NORMAL_TARGET_EXPORTS) \
25332 (cd $(TARGET_SUBDIR)/libgfortran && \
25333 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25335 @endif target-libgfortran
25337 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25338 maybe-install-target-libgfortran:
25339 @if target-libgfortran
25340 maybe-install-target-libgfortran: install-target-libgfortran
25342 install-target-libgfortran: installdirs
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 $(SET_LIB_PATH) \
25346 $(NORMAL_TARGET_EXPORTS) \
25347 (cd $(TARGET_SUBDIR)/libgfortran && \
25348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25350 @endif target-libgfortran
25352 # Other targets (info, dvi, etc.)
25354 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25355 maybe-info-target-libgfortran:
25356 @if target-libgfortran
25357 maybe-info-target-libgfortran: info-target-libgfortran
25359 info-target-libgfortran: \
25360 configure-target-libgfortran
25361 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25362 r=`${PWD_COMMAND}`; export r; \
25363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25364 $(SET_LIB_PATH) \
25365 $(NORMAL_TARGET_EXPORTS) \
25366 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25367 for flag in $(EXTRA_TARGET_FLAGS); do \
25368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25369 done; \
25370 (cd $(TARGET_SUBDIR)/libgfortran && \
25371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25373 "RANLIB=$${RANLIB}" \
25374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25375 info) \
25376 || exit 1
25378 @endif target-libgfortran
25380 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25381 maybe-dvi-target-libgfortran:
25382 @if target-libgfortran
25383 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25385 dvi-target-libgfortran: \
25386 configure-target-libgfortran
25387 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25388 r=`${PWD_COMMAND}`; export r; \
25389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25390 $(SET_LIB_PATH) \
25391 $(NORMAL_TARGET_EXPORTS) \
25392 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25393 for flag in $(EXTRA_TARGET_FLAGS); do \
25394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25395 done; \
25396 (cd $(TARGET_SUBDIR)/libgfortran && \
25397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25399 "RANLIB=$${RANLIB}" \
25400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25401 dvi) \
25402 || exit 1
25404 @endif target-libgfortran
25406 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25407 maybe-html-target-libgfortran:
25408 @if target-libgfortran
25409 maybe-html-target-libgfortran: html-target-libgfortran
25411 html-target-libgfortran: \
25412 configure-target-libgfortran
25413 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25414 r=`${PWD_COMMAND}`; export r; \
25415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25416 $(SET_LIB_PATH) \
25417 $(NORMAL_TARGET_EXPORTS) \
25418 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25419 for flag in $(EXTRA_TARGET_FLAGS); do \
25420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25421 done; \
25422 (cd $(TARGET_SUBDIR)/libgfortran && \
25423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25425 "RANLIB=$${RANLIB}" \
25426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25427 html) \
25428 || exit 1
25430 @endif target-libgfortran
25432 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25433 maybe-TAGS-target-libgfortran:
25434 @if target-libgfortran
25435 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25437 TAGS-target-libgfortran: \
25438 configure-target-libgfortran
25439 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(SET_LIB_PATH) \
25443 $(NORMAL_TARGET_EXPORTS) \
25444 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25445 for flag in $(EXTRA_TARGET_FLAGS); do \
25446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25447 done; \
25448 (cd $(TARGET_SUBDIR)/libgfortran && \
25449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25451 "RANLIB=$${RANLIB}" \
25452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25453 TAGS) \
25454 || exit 1
25456 @endif target-libgfortran
25458 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25459 maybe-install-info-target-libgfortran:
25460 @if target-libgfortran
25461 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25463 install-info-target-libgfortran: \
25464 configure-target-libgfortran \
25465 info-target-libgfortran
25466 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25467 r=`${PWD_COMMAND}`; export r; \
25468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25469 $(SET_LIB_PATH) \
25470 $(NORMAL_TARGET_EXPORTS) \
25471 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25472 for flag in $(EXTRA_TARGET_FLAGS); do \
25473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25474 done; \
25475 (cd $(TARGET_SUBDIR)/libgfortran && \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25478 "RANLIB=$${RANLIB}" \
25479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25480 install-info) \
25481 || exit 1
25483 @endif target-libgfortran
25485 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25486 maybe-installcheck-target-libgfortran:
25487 @if target-libgfortran
25488 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25490 installcheck-target-libgfortran: \
25491 configure-target-libgfortran
25492 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495 $(SET_LIB_PATH) \
25496 $(NORMAL_TARGET_EXPORTS) \
25497 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25498 for flag in $(EXTRA_TARGET_FLAGS); do \
25499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25500 done; \
25501 (cd $(TARGET_SUBDIR)/libgfortran && \
25502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25504 "RANLIB=$${RANLIB}" \
25505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25506 installcheck) \
25507 || exit 1
25509 @endif target-libgfortran
25511 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25512 maybe-mostlyclean-target-libgfortran:
25513 @if target-libgfortran
25514 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25516 mostlyclean-target-libgfortran:
25517 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(SET_LIB_PATH) \
25521 $(NORMAL_TARGET_EXPORTS) \
25522 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25523 for flag in $(EXTRA_TARGET_FLAGS); do \
25524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25525 done; \
25526 (cd $(TARGET_SUBDIR)/libgfortran && \
25527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25529 "RANLIB=$${RANLIB}" \
25530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25531 mostlyclean) \
25532 || exit 1
25534 @endif target-libgfortran
25536 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25537 maybe-clean-target-libgfortran:
25538 @if target-libgfortran
25539 maybe-clean-target-libgfortran: clean-target-libgfortran
25541 clean-target-libgfortran:
25542 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(SET_LIB_PATH) \
25546 $(NORMAL_TARGET_EXPORTS) \
25547 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25548 for flag in $(EXTRA_TARGET_FLAGS); do \
25549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25550 done; \
25551 (cd $(TARGET_SUBDIR)/libgfortran && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25556 clean) \
25557 || exit 1
25559 @endif target-libgfortran
25561 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25562 maybe-distclean-target-libgfortran:
25563 @if target-libgfortran
25564 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25566 distclean-target-libgfortran:
25567 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25568 r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(SET_LIB_PATH) \
25571 $(NORMAL_TARGET_EXPORTS) \
25572 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25573 for flag in $(EXTRA_TARGET_FLAGS); do \
25574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25575 done; \
25576 (cd $(TARGET_SUBDIR)/libgfortran && \
25577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25579 "RANLIB=$${RANLIB}" \
25580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25581 distclean) \
25582 || exit 1
25584 @endif target-libgfortran
25586 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25587 maybe-maintainer-clean-target-libgfortran:
25588 @if target-libgfortran
25589 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25591 maintainer-clean-target-libgfortran:
25592 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25593 r=`${PWD_COMMAND}`; export r; \
25594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25595 $(SET_LIB_PATH) \
25596 $(NORMAL_TARGET_EXPORTS) \
25597 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25598 for flag in $(EXTRA_TARGET_FLAGS); do \
25599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25600 done; \
25601 (cd $(TARGET_SUBDIR)/libgfortran && \
25602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25604 "RANLIB=$${RANLIB}" \
25605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25606 maintainer-clean) \
25607 || exit 1
25609 @endif target-libgfortran
25612 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25613 maybe-configure-target-libobjc:
25614 @if target-libobjc
25615 maybe-configure-target-libobjc: configure-target-libobjc
25617 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25618 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25620 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25621 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25623 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25624 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(SET_LIB_PATH) \
25629 $(NORMAL_TARGET_EXPORTS) \
25630 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25631 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25632 case $(srcdir) in \
25633 /* | [A-Za-z]:[\\/]*) \
25634 topdir=$(srcdir) ;; \
25635 *) \
25636 case "$(TARGET_SUBDIR)" in \
25637 .) topdir="../$(srcdir)" ;; \
25638 *) topdir="../../$(srcdir)" ;; \
25639 esac ;; \
25640 esac; \
25641 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25642 libsrcdir="$$s/libobjc"; \
25643 rm -f no-such-file || : ; \
25644 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25645 $(TARGET_CONFIGARGS) $${srcdiroption} \
25646 --with-target-subdir="$(TARGET_SUBDIR)" \
25647 || exit 1
25648 @endif target-libobjc
25650 .PHONY: all-target-libobjc maybe-all-target-libobjc
25651 maybe-all-target-libobjc:
25652 @if target-libobjc
25653 TARGET-target-libobjc=all
25654 maybe-all-target-libobjc: all-target-libobjc
25655 all-target-libobjc: configure-target-libobjc
25656 @r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(SET_LIB_PATH) \
25659 $(NORMAL_TARGET_EXPORTS) \
25660 (cd $(TARGET_SUBDIR)/libobjc && \
25661 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25662 @endif target-libobjc
25664 .PHONY: check-target-libobjc maybe-check-target-libobjc
25665 maybe-check-target-libobjc:
25666 @if target-libobjc
25667 maybe-check-target-libobjc: check-target-libobjc
25669 check-target-libobjc:
25670 @r=`${PWD_COMMAND}`; export r; \
25671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672 $(SET_LIB_PATH) \
25673 $(NORMAL_TARGET_EXPORTS) \
25674 (cd $(TARGET_SUBDIR)/libobjc && \
25675 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25677 @endif target-libobjc
25679 .PHONY: install-target-libobjc maybe-install-target-libobjc
25680 maybe-install-target-libobjc:
25681 @if target-libobjc
25682 maybe-install-target-libobjc: install-target-libobjc
25684 install-target-libobjc: installdirs
25685 @r=`${PWD_COMMAND}`; export r; \
25686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25687 $(SET_LIB_PATH) \
25688 $(NORMAL_TARGET_EXPORTS) \
25689 (cd $(TARGET_SUBDIR)/libobjc && \
25690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25692 @endif target-libobjc
25694 # Other targets (info, dvi, etc.)
25696 .PHONY: maybe-info-target-libobjc info-target-libobjc
25697 maybe-info-target-libobjc:
25698 @if target-libobjc
25699 maybe-info-target-libobjc: info-target-libobjc
25701 info-target-libobjc: \
25702 configure-target-libobjc
25703 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25704 r=`${PWD_COMMAND}`; export r; \
25705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25706 $(SET_LIB_PATH) \
25707 $(NORMAL_TARGET_EXPORTS) \
25708 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25709 for flag in $(EXTRA_TARGET_FLAGS); do \
25710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25711 done; \
25712 (cd $(TARGET_SUBDIR)/libobjc && \
25713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25715 "RANLIB=$${RANLIB}" \
25716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25717 info) \
25718 || exit 1
25720 @endif target-libobjc
25722 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25723 maybe-dvi-target-libobjc:
25724 @if target-libobjc
25725 maybe-dvi-target-libobjc: dvi-target-libobjc
25727 dvi-target-libobjc: \
25728 configure-target-libobjc
25729 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25730 r=`${PWD_COMMAND}`; export r; \
25731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25732 $(SET_LIB_PATH) \
25733 $(NORMAL_TARGET_EXPORTS) \
25734 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25735 for flag in $(EXTRA_TARGET_FLAGS); do \
25736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25737 done; \
25738 (cd $(TARGET_SUBDIR)/libobjc && \
25739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25741 "RANLIB=$${RANLIB}" \
25742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25743 dvi) \
25744 || exit 1
25746 @endif target-libobjc
25748 .PHONY: maybe-html-target-libobjc html-target-libobjc
25749 maybe-html-target-libobjc:
25750 @if target-libobjc
25751 maybe-html-target-libobjc: html-target-libobjc
25753 html-target-libobjc: \
25754 configure-target-libobjc
25755 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25756 r=`${PWD_COMMAND}`; export r; \
25757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25758 $(SET_LIB_PATH) \
25759 $(NORMAL_TARGET_EXPORTS) \
25760 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25761 for flag in $(EXTRA_TARGET_FLAGS); do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 done; \
25764 (cd $(TARGET_SUBDIR)/libobjc && \
25765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25767 "RANLIB=$${RANLIB}" \
25768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25769 html) \
25770 || exit 1
25772 @endif target-libobjc
25774 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25775 maybe-TAGS-target-libobjc:
25776 @if target-libobjc
25777 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25779 TAGS-target-libobjc: \
25780 configure-target-libobjc
25781 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25782 r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(SET_LIB_PATH) \
25785 $(NORMAL_TARGET_EXPORTS) \
25786 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25787 for flag in $(EXTRA_TARGET_FLAGS); do \
25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25789 done; \
25790 (cd $(TARGET_SUBDIR)/libobjc && \
25791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25793 "RANLIB=$${RANLIB}" \
25794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25795 TAGS) \
25796 || exit 1
25798 @endif target-libobjc
25800 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25801 maybe-install-info-target-libobjc:
25802 @if target-libobjc
25803 maybe-install-info-target-libobjc: install-info-target-libobjc
25805 install-info-target-libobjc: \
25806 configure-target-libobjc \
25807 info-target-libobjc
25808 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25809 r=`${PWD_COMMAND}`; export r; \
25810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25811 $(SET_LIB_PATH) \
25812 $(NORMAL_TARGET_EXPORTS) \
25813 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25814 for flag in $(EXTRA_TARGET_FLAGS); do \
25815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25816 done; \
25817 (cd $(TARGET_SUBDIR)/libobjc && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25822 install-info) \
25823 || exit 1
25825 @endif target-libobjc
25827 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25828 maybe-installcheck-target-libobjc:
25829 @if target-libobjc
25830 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25832 installcheck-target-libobjc: \
25833 configure-target-libobjc
25834 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(SET_LIB_PATH) \
25838 $(NORMAL_TARGET_EXPORTS) \
25839 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25840 for flag in $(EXTRA_TARGET_FLAGS); do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 done; \
25843 (cd $(TARGET_SUBDIR)/libobjc && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25848 installcheck) \
25849 || exit 1
25851 @endif target-libobjc
25853 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25854 maybe-mostlyclean-target-libobjc:
25855 @if target-libobjc
25856 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25858 mostlyclean-target-libobjc:
25859 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(SET_LIB_PATH) \
25863 $(NORMAL_TARGET_EXPORTS) \
25864 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25865 for flag in $(EXTRA_TARGET_FLAGS); do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 done; \
25868 (cd $(TARGET_SUBDIR)/libobjc && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25873 mostlyclean) \
25874 || exit 1
25876 @endif target-libobjc
25878 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25879 maybe-clean-target-libobjc:
25880 @if target-libobjc
25881 maybe-clean-target-libobjc: clean-target-libobjc
25883 clean-target-libobjc:
25884 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 $(SET_LIB_PATH) \
25888 $(NORMAL_TARGET_EXPORTS) \
25889 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25890 for flag in $(EXTRA_TARGET_FLAGS); do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892 done; \
25893 (cd $(TARGET_SUBDIR)/libobjc && \
25894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896 "RANLIB=$${RANLIB}" \
25897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25898 clean) \
25899 || exit 1
25901 @endif target-libobjc
25903 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25904 maybe-distclean-target-libobjc:
25905 @if target-libobjc
25906 maybe-distclean-target-libobjc: distclean-target-libobjc
25908 distclean-target-libobjc:
25909 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(SET_LIB_PATH) \
25913 $(NORMAL_TARGET_EXPORTS) \
25914 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25915 for flag in $(EXTRA_TARGET_FLAGS); do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 done; \
25918 (cd $(TARGET_SUBDIR)/libobjc && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25923 distclean) \
25924 || exit 1
25926 @endif target-libobjc
25928 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25929 maybe-maintainer-clean-target-libobjc:
25930 @if target-libobjc
25931 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25933 maintainer-clean-target-libobjc:
25934 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(SET_LIB_PATH) \
25938 $(NORMAL_TARGET_EXPORTS) \
25939 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25940 for flag in $(EXTRA_TARGET_FLAGS); do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 done; \
25943 (cd $(TARGET_SUBDIR)/libobjc && \
25944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25946 "RANLIB=$${RANLIB}" \
25947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25948 maintainer-clean) \
25949 || exit 1
25951 @endif target-libobjc
25954 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25955 maybe-configure-target-libtermcap:
25956 @if target-libtermcap
25957 maybe-configure-target-libtermcap: configure-target-libtermcap
25959 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25960 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25962 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25963 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25965 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25966 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25968 r=`${PWD_COMMAND}`; export r; \
25969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25970 $(SET_LIB_PATH) \
25971 $(NORMAL_TARGET_EXPORTS) \
25972 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25973 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25974 case $(srcdir) in \
25975 /* | [A-Za-z]:[\\/]*) \
25976 topdir=$(srcdir) ;; \
25977 *) \
25978 case "$(TARGET_SUBDIR)" in \
25979 .) topdir="../$(srcdir)" ;; \
25980 *) topdir="../../$(srcdir)" ;; \
25981 esac ;; \
25982 esac; \
25983 if [ "$(srcdir)" = "." ] ; then \
25984 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25985 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25986 if [ -f Makefile ]; then \
25987 if $(MAKE) distclean; then \
25988 true; \
25989 else \
25990 exit 1; \
25991 fi; \
25992 else \
25993 true; \
25994 fi; \
25995 else \
25996 exit 1; \
25997 fi; \
25998 else \
25999 true; \
26000 fi; \
26001 srcdiroption="--srcdir=."; \
26002 libsrcdir="."; \
26003 else \
26004 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26005 libsrcdir="$$s/libtermcap"; \
26006 fi; \
26007 rm -f no-such-file || : ; \
26008 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26009 $(TARGET_CONFIGARGS) $${srcdiroption} \
26010 --with-target-subdir="$(TARGET_SUBDIR)" \
26011 || exit 1
26012 @endif target-libtermcap
26014 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26015 maybe-all-target-libtermcap:
26016 @if target-libtermcap
26017 TARGET-target-libtermcap=all
26018 maybe-all-target-libtermcap: all-target-libtermcap
26019 all-target-libtermcap: configure-target-libtermcap
26020 @r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(SET_LIB_PATH) \
26023 $(NORMAL_TARGET_EXPORTS) \
26024 (cd $(TARGET_SUBDIR)/libtermcap && \
26025 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26026 @endif target-libtermcap
26028 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26029 maybe-check-target-libtermcap:
26030 @if target-libtermcap
26031 maybe-check-target-libtermcap: check-target-libtermcap
26033 # Dummy target for uncheckable module.
26034 check-target-libtermcap:
26036 @endif target-libtermcap
26038 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26039 maybe-install-target-libtermcap:
26040 @if target-libtermcap
26041 maybe-install-target-libtermcap: install-target-libtermcap
26043 install-target-libtermcap: installdirs
26044 @r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 $(SET_LIB_PATH) \
26047 $(NORMAL_TARGET_EXPORTS) \
26048 (cd $(TARGET_SUBDIR)/libtermcap && \
26049 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26051 @endif target-libtermcap
26053 # Other targets (info, dvi, etc.)
26055 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26056 maybe-info-target-libtermcap:
26057 @if target-libtermcap
26058 maybe-info-target-libtermcap: info-target-libtermcap
26060 info-target-libtermcap: \
26061 configure-target-libtermcap
26062 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26063 r=`${PWD_COMMAND}`; export r; \
26064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26065 $(SET_LIB_PATH) \
26066 $(NORMAL_TARGET_EXPORTS) \
26067 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26068 for flag in $(EXTRA_TARGET_FLAGS); do \
26069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26070 done; \
26071 (cd $(TARGET_SUBDIR)/libtermcap && \
26072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26074 "RANLIB=$${RANLIB}" \
26075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26076 info) \
26077 || exit 1
26079 @endif target-libtermcap
26081 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26082 maybe-dvi-target-libtermcap:
26083 @if target-libtermcap
26084 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26086 dvi-target-libtermcap: \
26087 configure-target-libtermcap
26088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26089 r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(SET_LIB_PATH) \
26092 $(NORMAL_TARGET_EXPORTS) \
26093 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26094 for flag in $(EXTRA_TARGET_FLAGS); do \
26095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26096 done; \
26097 (cd $(TARGET_SUBDIR)/libtermcap && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26100 "RANLIB=$${RANLIB}" \
26101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26102 dvi) \
26103 || exit 1
26105 @endif target-libtermcap
26107 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26108 maybe-html-target-libtermcap:
26109 @if target-libtermcap
26110 maybe-html-target-libtermcap: html-target-libtermcap
26112 html-target-libtermcap: \
26113 configure-target-libtermcap
26114 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26115 r=`${PWD_COMMAND}`; export r; \
26116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26117 $(SET_LIB_PATH) \
26118 $(NORMAL_TARGET_EXPORTS) \
26119 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26120 for flag in $(EXTRA_TARGET_FLAGS); do \
26121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26122 done; \
26123 (cd $(TARGET_SUBDIR)/libtermcap && \
26124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26126 "RANLIB=$${RANLIB}" \
26127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26128 html) \
26129 || exit 1
26131 @endif target-libtermcap
26133 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26134 maybe-TAGS-target-libtermcap:
26135 @if target-libtermcap
26136 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26138 TAGS-target-libtermcap: \
26139 configure-target-libtermcap
26140 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26141 r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(SET_LIB_PATH) \
26144 $(NORMAL_TARGET_EXPORTS) \
26145 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26146 for flag in $(EXTRA_TARGET_FLAGS); do \
26147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26148 done; \
26149 (cd $(TARGET_SUBDIR)/libtermcap && \
26150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26152 "RANLIB=$${RANLIB}" \
26153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26154 TAGS) \
26155 || exit 1
26157 @endif target-libtermcap
26159 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26160 maybe-install-info-target-libtermcap:
26161 @if target-libtermcap
26162 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26164 install-info-target-libtermcap: \
26165 configure-target-libtermcap \
26166 info-target-libtermcap
26167 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26168 r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 $(SET_LIB_PATH) \
26171 $(NORMAL_TARGET_EXPORTS) \
26172 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26173 for flag in $(EXTRA_TARGET_FLAGS); do \
26174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26175 done; \
26176 (cd $(TARGET_SUBDIR)/libtermcap && \
26177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26179 "RANLIB=$${RANLIB}" \
26180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26181 install-info) \
26182 || exit 1
26184 @endif target-libtermcap
26186 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26187 maybe-installcheck-target-libtermcap:
26188 @if target-libtermcap
26189 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26191 installcheck-target-libtermcap: \
26192 configure-target-libtermcap
26193 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26194 r=`${PWD_COMMAND}`; export r; \
26195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26196 $(SET_LIB_PATH) \
26197 $(NORMAL_TARGET_EXPORTS) \
26198 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26199 for flag in $(EXTRA_TARGET_FLAGS); do \
26200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26201 done; \
26202 (cd $(TARGET_SUBDIR)/libtermcap && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26207 installcheck) \
26208 || exit 1
26210 @endif target-libtermcap
26212 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26213 maybe-mostlyclean-target-libtermcap:
26214 @if target-libtermcap
26215 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26217 # libtermcap doesn't support mostlyclean.
26218 mostlyclean-target-libtermcap:
26220 @endif target-libtermcap
26222 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26223 maybe-clean-target-libtermcap:
26224 @if target-libtermcap
26225 maybe-clean-target-libtermcap: clean-target-libtermcap
26227 # libtermcap doesn't support clean.
26228 clean-target-libtermcap:
26230 @endif target-libtermcap
26232 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26233 maybe-distclean-target-libtermcap:
26234 @if target-libtermcap
26235 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26237 # libtermcap doesn't support distclean.
26238 distclean-target-libtermcap:
26240 @endif target-libtermcap
26242 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26243 maybe-maintainer-clean-target-libtermcap:
26244 @if target-libtermcap
26245 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26247 # libtermcap doesn't support maintainer-clean.
26248 maintainer-clean-target-libtermcap:
26250 @endif target-libtermcap
26253 .PHONY: configure-target-winsup maybe-configure-target-winsup
26254 maybe-configure-target-winsup:
26255 @if target-winsup
26256 maybe-configure-target-winsup: configure-target-winsup
26258 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26259 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26261 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26262 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26264 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26265 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26267 r=`${PWD_COMMAND}`; export r; \
26268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26269 $(SET_LIB_PATH) \
26270 $(NORMAL_TARGET_EXPORTS) \
26271 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26272 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26273 case $(srcdir) in \
26274 /* | [A-Za-z]:[\\/]*) \
26275 topdir=$(srcdir) ;; \
26276 *) \
26277 case "$(TARGET_SUBDIR)" in \
26278 .) topdir="../$(srcdir)" ;; \
26279 *) topdir="../../$(srcdir)" ;; \
26280 esac ;; \
26281 esac; \
26282 srcdiroption="--srcdir=$${topdir}/winsup"; \
26283 libsrcdir="$$s/winsup"; \
26284 rm -f no-such-file || : ; \
26285 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26286 $(TARGET_CONFIGARGS) $${srcdiroption} \
26287 --with-target-subdir="$(TARGET_SUBDIR)" \
26288 || exit 1
26289 @endif target-winsup
26291 .PHONY: all-target-winsup maybe-all-target-winsup
26292 maybe-all-target-winsup:
26293 @if target-winsup
26294 TARGET-target-winsup=all
26295 maybe-all-target-winsup: all-target-winsup
26296 all-target-winsup: configure-target-winsup
26297 @r=`${PWD_COMMAND}`; export r; \
26298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26299 $(SET_LIB_PATH) \
26300 $(NORMAL_TARGET_EXPORTS) \
26301 (cd $(TARGET_SUBDIR)/winsup && \
26302 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26303 @endif target-winsup
26305 .PHONY: check-target-winsup maybe-check-target-winsup
26306 maybe-check-target-winsup:
26307 @if target-winsup
26308 maybe-check-target-winsup: check-target-winsup
26310 check-target-winsup:
26311 @r=`${PWD_COMMAND}`; export r; \
26312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26313 $(SET_LIB_PATH) \
26314 $(NORMAL_TARGET_EXPORTS) \
26315 (cd $(TARGET_SUBDIR)/winsup && \
26316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26318 @endif target-winsup
26320 .PHONY: install-target-winsup maybe-install-target-winsup
26321 maybe-install-target-winsup:
26322 @if target-winsup
26323 maybe-install-target-winsup: install-target-winsup
26325 install-target-winsup: installdirs
26326 @r=`${PWD_COMMAND}`; export r; \
26327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26328 $(SET_LIB_PATH) \
26329 $(NORMAL_TARGET_EXPORTS) \
26330 (cd $(TARGET_SUBDIR)/winsup && \
26331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26333 @endif target-winsup
26335 # Other targets (info, dvi, etc.)
26337 .PHONY: maybe-info-target-winsup info-target-winsup
26338 maybe-info-target-winsup:
26339 @if target-winsup
26340 maybe-info-target-winsup: info-target-winsup
26342 info-target-winsup: \
26343 configure-target-winsup
26344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26345 r=`${PWD_COMMAND}`; export r; \
26346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26347 $(SET_LIB_PATH) \
26348 $(NORMAL_TARGET_EXPORTS) \
26349 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26350 for flag in $(EXTRA_TARGET_FLAGS); do \
26351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26352 done; \
26353 (cd $(TARGET_SUBDIR)/winsup && \
26354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26356 "RANLIB=$${RANLIB}" \
26357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26358 info) \
26359 || exit 1
26361 @endif target-winsup
26363 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26364 maybe-dvi-target-winsup:
26365 @if target-winsup
26366 maybe-dvi-target-winsup: dvi-target-winsup
26368 dvi-target-winsup: \
26369 configure-target-winsup
26370 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26371 r=`${PWD_COMMAND}`; export r; \
26372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26373 $(SET_LIB_PATH) \
26374 $(NORMAL_TARGET_EXPORTS) \
26375 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26376 for flag in $(EXTRA_TARGET_FLAGS); do \
26377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26378 done; \
26379 (cd $(TARGET_SUBDIR)/winsup && \
26380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26382 "RANLIB=$${RANLIB}" \
26383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26384 dvi) \
26385 || exit 1
26387 @endif target-winsup
26389 .PHONY: maybe-html-target-winsup html-target-winsup
26390 maybe-html-target-winsup:
26391 @if target-winsup
26392 maybe-html-target-winsup: html-target-winsup
26394 html-target-winsup: \
26395 configure-target-winsup
26396 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26397 r=`${PWD_COMMAND}`; export r; \
26398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399 $(SET_LIB_PATH) \
26400 $(NORMAL_TARGET_EXPORTS) \
26401 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26402 for flag in $(EXTRA_TARGET_FLAGS); do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 done; \
26405 (cd $(TARGET_SUBDIR)/winsup && \
26406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26408 "RANLIB=$${RANLIB}" \
26409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26410 html) \
26411 || exit 1
26413 @endif target-winsup
26415 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26416 maybe-TAGS-target-winsup:
26417 @if target-winsup
26418 maybe-TAGS-target-winsup: TAGS-target-winsup
26420 TAGS-target-winsup: \
26421 configure-target-winsup
26422 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26423 r=`${PWD_COMMAND}`; export r; \
26424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26425 $(SET_LIB_PATH) \
26426 $(NORMAL_TARGET_EXPORTS) \
26427 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26428 for flag in $(EXTRA_TARGET_FLAGS); do \
26429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26430 done; \
26431 (cd $(TARGET_SUBDIR)/winsup && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26436 TAGS) \
26437 || exit 1
26439 @endif target-winsup
26441 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26442 maybe-install-info-target-winsup:
26443 @if target-winsup
26444 maybe-install-info-target-winsup: install-info-target-winsup
26446 install-info-target-winsup: \
26447 configure-target-winsup \
26448 info-target-winsup
26449 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26450 r=`${PWD_COMMAND}`; export r; \
26451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26452 $(SET_LIB_PATH) \
26453 $(NORMAL_TARGET_EXPORTS) \
26454 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26455 for flag in $(EXTRA_TARGET_FLAGS); do \
26456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26457 done; \
26458 (cd $(TARGET_SUBDIR)/winsup && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26463 install-info) \
26464 || exit 1
26466 @endif target-winsup
26468 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26469 maybe-installcheck-target-winsup:
26470 @if target-winsup
26471 maybe-installcheck-target-winsup: installcheck-target-winsup
26473 installcheck-target-winsup: \
26474 configure-target-winsup
26475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(SET_LIB_PATH) \
26479 $(NORMAL_TARGET_EXPORTS) \
26480 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26481 for flag in $(EXTRA_TARGET_FLAGS); do \
26482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26483 done; \
26484 (cd $(TARGET_SUBDIR)/winsup && \
26485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26487 "RANLIB=$${RANLIB}" \
26488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26489 installcheck) \
26490 || exit 1
26492 @endif target-winsup
26494 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26495 maybe-mostlyclean-target-winsup:
26496 @if target-winsup
26497 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26499 mostlyclean-target-winsup:
26500 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(SET_LIB_PATH) \
26504 $(NORMAL_TARGET_EXPORTS) \
26505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26506 for flag in $(EXTRA_TARGET_FLAGS); do \
26507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26508 done; \
26509 (cd $(TARGET_SUBDIR)/winsup && \
26510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26512 "RANLIB=$${RANLIB}" \
26513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26514 mostlyclean) \
26515 || exit 1
26517 @endif target-winsup
26519 .PHONY: maybe-clean-target-winsup clean-target-winsup
26520 maybe-clean-target-winsup:
26521 @if target-winsup
26522 maybe-clean-target-winsup: clean-target-winsup
26524 clean-target-winsup:
26525 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(SET_LIB_PATH) \
26529 $(NORMAL_TARGET_EXPORTS) \
26530 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26531 for flag in $(EXTRA_TARGET_FLAGS); do \
26532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26533 done; \
26534 (cd $(TARGET_SUBDIR)/winsup && \
26535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26537 "RANLIB=$${RANLIB}" \
26538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26539 clean) \
26540 || exit 1
26542 @endif target-winsup
26544 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26545 maybe-distclean-target-winsup:
26546 @if target-winsup
26547 maybe-distclean-target-winsup: distclean-target-winsup
26549 distclean-target-winsup:
26550 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26551 r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(SET_LIB_PATH) \
26554 $(NORMAL_TARGET_EXPORTS) \
26555 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26556 for flag in $(EXTRA_TARGET_FLAGS); do \
26557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26558 done; \
26559 (cd $(TARGET_SUBDIR)/winsup && \
26560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26562 "RANLIB=$${RANLIB}" \
26563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26564 distclean) \
26565 || exit 1
26567 @endif target-winsup
26569 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26570 maybe-maintainer-clean-target-winsup:
26571 @if target-winsup
26572 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26574 maintainer-clean-target-winsup:
26575 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26578 $(SET_LIB_PATH) \
26579 $(NORMAL_TARGET_EXPORTS) \
26580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26581 for flag in $(EXTRA_TARGET_FLAGS); do \
26582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26583 done; \
26584 (cd $(TARGET_SUBDIR)/winsup && \
26585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26587 "RANLIB=$${RANLIB}" \
26588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26589 maintainer-clean) \
26590 || exit 1
26592 @endif target-winsup
26595 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26596 maybe-configure-target-libgloss:
26597 @if target-libgloss
26598 maybe-configure-target-libgloss: configure-target-libgloss
26600 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26601 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26603 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26604 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26606 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26607 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26609 r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(SET_LIB_PATH) \
26612 $(NORMAL_TARGET_EXPORTS) \
26613 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26614 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26615 case $(srcdir) in \
26616 /* | [A-Za-z]:[\\/]*) \
26617 topdir=$(srcdir) ;; \
26618 *) \
26619 case "$(TARGET_SUBDIR)" in \
26620 .) topdir="../$(srcdir)" ;; \
26621 *) topdir="../../$(srcdir)" ;; \
26622 esac ;; \
26623 esac; \
26624 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26625 libsrcdir="$$s/libgloss"; \
26626 rm -f no-such-file || : ; \
26627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26628 $(TARGET_CONFIGARGS) $${srcdiroption} \
26629 --with-target-subdir="$(TARGET_SUBDIR)" \
26630 || exit 1
26631 @endif target-libgloss
26633 .PHONY: all-target-libgloss maybe-all-target-libgloss
26634 maybe-all-target-libgloss:
26635 @if target-libgloss
26636 TARGET-target-libgloss=all
26637 maybe-all-target-libgloss: all-target-libgloss
26638 all-target-libgloss: configure-target-libgloss
26639 @r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(SET_LIB_PATH) \
26642 $(NORMAL_TARGET_EXPORTS) \
26643 (cd $(TARGET_SUBDIR)/libgloss && \
26644 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26645 @endif target-libgloss
26647 .PHONY: check-target-libgloss maybe-check-target-libgloss
26648 maybe-check-target-libgloss:
26649 @if target-libgloss
26650 maybe-check-target-libgloss: check-target-libgloss
26652 # Dummy target for uncheckable module.
26653 check-target-libgloss:
26655 @endif target-libgloss
26657 .PHONY: install-target-libgloss maybe-install-target-libgloss
26658 maybe-install-target-libgloss:
26659 @if target-libgloss
26660 maybe-install-target-libgloss: install-target-libgloss
26662 install-target-libgloss: installdirs
26663 @r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(SET_LIB_PATH) \
26666 $(NORMAL_TARGET_EXPORTS) \
26667 (cd $(TARGET_SUBDIR)/libgloss && \
26668 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26670 @endif target-libgloss
26672 # Other targets (info, dvi, etc.)
26674 .PHONY: maybe-info-target-libgloss info-target-libgloss
26675 maybe-info-target-libgloss:
26676 @if target-libgloss
26677 maybe-info-target-libgloss: info-target-libgloss
26679 info-target-libgloss: \
26680 configure-target-libgloss
26681 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26682 r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 $(SET_LIB_PATH) \
26685 $(NORMAL_TARGET_EXPORTS) \
26686 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26687 for flag in $(EXTRA_TARGET_FLAGS); do \
26688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26689 done; \
26690 (cd $(TARGET_SUBDIR)/libgloss && \
26691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26693 "RANLIB=$${RANLIB}" \
26694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26695 info) \
26696 || exit 1
26698 @endif target-libgloss
26700 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26701 maybe-dvi-target-libgloss:
26702 @if target-libgloss
26703 maybe-dvi-target-libgloss: dvi-target-libgloss
26705 dvi-target-libgloss: \
26706 configure-target-libgloss
26707 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26708 r=`${PWD_COMMAND}`; export r; \
26709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26710 $(SET_LIB_PATH) \
26711 $(NORMAL_TARGET_EXPORTS) \
26712 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26713 for flag in $(EXTRA_TARGET_FLAGS); do \
26714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26715 done; \
26716 (cd $(TARGET_SUBDIR)/libgloss && \
26717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26719 "RANLIB=$${RANLIB}" \
26720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26721 dvi) \
26722 || exit 1
26724 @endif target-libgloss
26726 .PHONY: maybe-html-target-libgloss html-target-libgloss
26727 maybe-html-target-libgloss:
26728 @if target-libgloss
26729 maybe-html-target-libgloss: html-target-libgloss
26731 html-target-libgloss: \
26732 configure-target-libgloss
26733 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26734 r=`${PWD_COMMAND}`; export r; \
26735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26736 $(SET_LIB_PATH) \
26737 $(NORMAL_TARGET_EXPORTS) \
26738 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26739 for flag in $(EXTRA_TARGET_FLAGS); do \
26740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26741 done; \
26742 (cd $(TARGET_SUBDIR)/libgloss && \
26743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26745 "RANLIB=$${RANLIB}" \
26746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26747 html) \
26748 || exit 1
26750 @endif target-libgloss
26752 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26753 maybe-TAGS-target-libgloss:
26754 @if target-libgloss
26755 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26757 TAGS-target-libgloss: \
26758 configure-target-libgloss
26759 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26760 r=`${PWD_COMMAND}`; export r; \
26761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26762 $(SET_LIB_PATH) \
26763 $(NORMAL_TARGET_EXPORTS) \
26764 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26765 for flag in $(EXTRA_TARGET_FLAGS); do \
26766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26767 done; \
26768 (cd $(TARGET_SUBDIR)/libgloss && \
26769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26771 "RANLIB=$${RANLIB}" \
26772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26773 TAGS) \
26774 || exit 1
26776 @endif target-libgloss
26778 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26779 maybe-install-info-target-libgloss:
26780 @if target-libgloss
26781 maybe-install-info-target-libgloss: install-info-target-libgloss
26783 install-info-target-libgloss: \
26784 configure-target-libgloss \
26785 info-target-libgloss
26786 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26787 r=`${PWD_COMMAND}`; export r; \
26788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26789 $(SET_LIB_PATH) \
26790 $(NORMAL_TARGET_EXPORTS) \
26791 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26792 for flag in $(EXTRA_TARGET_FLAGS); do \
26793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26794 done; \
26795 (cd $(TARGET_SUBDIR)/libgloss && \
26796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26798 "RANLIB=$${RANLIB}" \
26799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26800 install-info) \
26801 || exit 1
26803 @endif target-libgloss
26805 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26806 maybe-installcheck-target-libgloss:
26807 @if target-libgloss
26808 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26810 installcheck-target-libgloss: \
26811 configure-target-libgloss
26812 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26813 r=`${PWD_COMMAND}`; export r; \
26814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26815 $(SET_LIB_PATH) \
26816 $(NORMAL_TARGET_EXPORTS) \
26817 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26818 for flag in $(EXTRA_TARGET_FLAGS); do \
26819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26820 done; \
26821 (cd $(TARGET_SUBDIR)/libgloss && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26824 "RANLIB=$${RANLIB}" \
26825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26826 installcheck) \
26827 || exit 1
26829 @endif target-libgloss
26831 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26832 maybe-mostlyclean-target-libgloss:
26833 @if target-libgloss
26834 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26836 mostlyclean-target-libgloss:
26837 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26838 r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26840 $(SET_LIB_PATH) \
26841 $(NORMAL_TARGET_EXPORTS) \
26842 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26843 for flag in $(EXTRA_TARGET_FLAGS); do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 done; \
26846 (cd $(TARGET_SUBDIR)/libgloss && \
26847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26849 "RANLIB=$${RANLIB}" \
26850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26851 mostlyclean) \
26852 || exit 1
26854 @endif target-libgloss
26856 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26857 maybe-clean-target-libgloss:
26858 @if target-libgloss
26859 maybe-clean-target-libgloss: clean-target-libgloss
26861 clean-target-libgloss:
26862 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26863 r=`${PWD_COMMAND}`; export r; \
26864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26865 $(SET_LIB_PATH) \
26866 $(NORMAL_TARGET_EXPORTS) \
26867 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26868 for flag in $(EXTRA_TARGET_FLAGS); do \
26869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26870 done; \
26871 (cd $(TARGET_SUBDIR)/libgloss && \
26872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874 "RANLIB=$${RANLIB}" \
26875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26876 clean) \
26877 || exit 1
26879 @endif target-libgloss
26881 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26882 maybe-distclean-target-libgloss:
26883 @if target-libgloss
26884 maybe-distclean-target-libgloss: distclean-target-libgloss
26886 distclean-target-libgloss:
26887 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26888 r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 $(SET_LIB_PATH) \
26891 $(NORMAL_TARGET_EXPORTS) \
26892 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26893 for flag in $(EXTRA_TARGET_FLAGS); do \
26894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26895 done; \
26896 (cd $(TARGET_SUBDIR)/libgloss && \
26897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26899 "RANLIB=$${RANLIB}" \
26900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26901 distclean) \
26902 || exit 1
26904 @endif target-libgloss
26906 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26907 maybe-maintainer-clean-target-libgloss:
26908 @if target-libgloss
26909 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26911 maintainer-clean-target-libgloss:
26912 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26913 r=`${PWD_COMMAND}`; export r; \
26914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26915 $(SET_LIB_PATH) \
26916 $(NORMAL_TARGET_EXPORTS) \
26917 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26918 for flag in $(EXTRA_TARGET_FLAGS); do \
26919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26920 done; \
26921 (cd $(TARGET_SUBDIR)/libgloss && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26926 maintainer-clean) \
26927 || exit 1
26929 @endif target-libgloss
26932 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26933 maybe-configure-target-libiberty:
26934 @if target-libiberty
26935 maybe-configure-target-libiberty: configure-target-libiberty
26937 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26938 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26940 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26941 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26943 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26944 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26946 r=`${PWD_COMMAND}`; export r; \
26947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26948 $(SET_LIB_PATH) \
26949 $(NORMAL_TARGET_EXPORTS) \
26950 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26951 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26952 case $(srcdir) in \
26953 /* | [A-Za-z]:[\\/]*) \
26954 topdir=$(srcdir) ;; \
26955 *) \
26956 case "$(TARGET_SUBDIR)" in \
26957 .) topdir="../$(srcdir)" ;; \
26958 *) topdir="../../$(srcdir)" ;; \
26959 esac ;; \
26960 esac; \
26961 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26962 libsrcdir="$$s/libiberty"; \
26963 rm -f no-such-file || : ; \
26964 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26965 $(TARGET_CONFIGARGS) $${srcdiroption} \
26966 --with-target-subdir="$(TARGET_SUBDIR)" \
26967 || exit 1
26968 @endif target-libiberty
26970 .PHONY: all-target-libiberty maybe-all-target-libiberty
26971 maybe-all-target-libiberty:
26972 @if target-libiberty
26973 TARGET-target-libiberty=all
26974 maybe-all-target-libiberty: all-target-libiberty
26975 all-target-libiberty: configure-target-libiberty
26976 @r=`${PWD_COMMAND}`; export r; \
26977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26978 $(SET_LIB_PATH) \
26979 $(NORMAL_TARGET_EXPORTS) \
26980 (cd $(TARGET_SUBDIR)/libiberty && \
26981 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26982 @endif target-libiberty
26984 .PHONY: check-target-libiberty maybe-check-target-libiberty
26985 maybe-check-target-libiberty:
26986 @if target-libiberty
26987 maybe-check-target-libiberty: check-target-libiberty
26989 check-target-libiberty:
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(SET_LIB_PATH) \
26993 $(NORMAL_TARGET_EXPORTS) \
26994 (cd $(TARGET_SUBDIR)/libiberty && \
26995 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26997 @endif target-libiberty
26999 .PHONY: install-target-libiberty maybe-install-target-libiberty
27000 maybe-install-target-libiberty:
27001 @if target-libiberty
27002 maybe-install-target-libiberty: install-target-libiberty
27004 install-target-libiberty: installdirs
27005 @r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 $(SET_LIB_PATH) \
27008 $(NORMAL_TARGET_EXPORTS) \
27009 (cd $(TARGET_SUBDIR)/libiberty && \
27010 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27012 @endif target-libiberty
27014 # Other targets (info, dvi, etc.)
27016 .PHONY: maybe-info-target-libiberty info-target-libiberty
27017 maybe-info-target-libiberty:
27018 @if target-libiberty
27019 maybe-info-target-libiberty: info-target-libiberty
27021 info-target-libiberty: \
27022 configure-target-libiberty
27023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27024 r=`${PWD_COMMAND}`; export r; \
27025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27026 $(SET_LIB_PATH) \
27027 $(NORMAL_TARGET_EXPORTS) \
27028 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27029 for flag in $(EXTRA_TARGET_FLAGS); do \
27030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27031 done; \
27032 (cd $(TARGET_SUBDIR)/libiberty && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27037 info) \
27038 || exit 1
27040 @endif target-libiberty
27042 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27043 maybe-dvi-target-libiberty:
27044 @if target-libiberty
27045 maybe-dvi-target-libiberty: dvi-target-libiberty
27047 dvi-target-libiberty: \
27048 configure-target-libiberty
27049 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(SET_LIB_PATH) \
27053 $(NORMAL_TARGET_EXPORTS) \
27054 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27055 for flag in $(EXTRA_TARGET_FLAGS); do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 (cd $(TARGET_SUBDIR)/libiberty && \
27059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27061 "RANLIB=$${RANLIB}" \
27062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27063 dvi) \
27064 || exit 1
27066 @endif target-libiberty
27068 .PHONY: maybe-html-target-libiberty html-target-libiberty
27069 maybe-html-target-libiberty:
27070 @if target-libiberty
27071 maybe-html-target-libiberty: html-target-libiberty
27073 html-target-libiberty: \
27074 configure-target-libiberty
27075 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27076 r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(SET_LIB_PATH) \
27079 $(NORMAL_TARGET_EXPORTS) \
27080 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27081 for flag in $(EXTRA_TARGET_FLAGS); do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 done; \
27084 (cd $(TARGET_SUBDIR)/libiberty && \
27085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27087 "RANLIB=$${RANLIB}" \
27088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27089 html) \
27090 || exit 1
27092 @endif target-libiberty
27094 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27095 maybe-TAGS-target-libiberty:
27096 @if target-libiberty
27097 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27099 TAGS-target-libiberty: \
27100 configure-target-libiberty
27101 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27102 r=`${PWD_COMMAND}`; export r; \
27103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 $(SET_LIB_PATH) \
27105 $(NORMAL_TARGET_EXPORTS) \
27106 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27107 for flag in $(EXTRA_TARGET_FLAGS); do \
27108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27109 done; \
27110 (cd $(TARGET_SUBDIR)/libiberty && \
27111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27113 "RANLIB=$${RANLIB}" \
27114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27115 TAGS) \
27116 || exit 1
27118 @endif target-libiberty
27120 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27121 maybe-install-info-target-libiberty:
27122 @if target-libiberty
27123 maybe-install-info-target-libiberty: install-info-target-libiberty
27125 install-info-target-libiberty: \
27126 configure-target-libiberty \
27127 info-target-libiberty
27128 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27129 r=`${PWD_COMMAND}`; export r; \
27130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27131 $(SET_LIB_PATH) \
27132 $(NORMAL_TARGET_EXPORTS) \
27133 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27134 for flag in $(EXTRA_TARGET_FLAGS); do \
27135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27136 done; \
27137 (cd $(TARGET_SUBDIR)/libiberty && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27142 install-info) \
27143 || exit 1
27145 @endif target-libiberty
27147 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27148 maybe-installcheck-target-libiberty:
27149 @if target-libiberty
27150 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27152 installcheck-target-libiberty: \
27153 configure-target-libiberty
27154 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27155 r=`${PWD_COMMAND}`; export r; \
27156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 $(SET_LIB_PATH) \
27158 $(NORMAL_TARGET_EXPORTS) \
27159 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27160 for flag in $(EXTRA_TARGET_FLAGS); do \
27161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27162 done; \
27163 (cd $(TARGET_SUBDIR)/libiberty && \
27164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27166 "RANLIB=$${RANLIB}" \
27167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27168 installcheck) \
27169 || exit 1
27171 @endif target-libiberty
27173 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27174 maybe-mostlyclean-target-libiberty:
27175 @if target-libiberty
27176 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27178 mostlyclean-target-libiberty:
27179 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27180 r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(SET_LIB_PATH) \
27183 $(NORMAL_TARGET_EXPORTS) \
27184 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27185 for flag in $(EXTRA_TARGET_FLAGS); do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 done; \
27188 (cd $(TARGET_SUBDIR)/libiberty && \
27189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27191 "RANLIB=$${RANLIB}" \
27192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27193 mostlyclean) \
27194 || exit 1
27196 @endif target-libiberty
27198 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27199 maybe-clean-target-libiberty:
27200 @if target-libiberty
27201 maybe-clean-target-libiberty: clean-target-libiberty
27203 clean-target-libiberty:
27204 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27205 r=`${PWD_COMMAND}`; export r; \
27206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 $(SET_LIB_PATH) \
27208 $(NORMAL_TARGET_EXPORTS) \
27209 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27210 for flag in $(EXTRA_TARGET_FLAGS); do \
27211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212 done; \
27213 (cd $(TARGET_SUBDIR)/libiberty && \
27214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27216 "RANLIB=$${RANLIB}" \
27217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27218 clean) \
27219 || exit 1
27221 @endif target-libiberty
27223 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27224 maybe-distclean-target-libiberty:
27225 @if target-libiberty
27226 maybe-distclean-target-libiberty: distclean-target-libiberty
27228 distclean-target-libiberty:
27229 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27230 r=`${PWD_COMMAND}`; export r; \
27231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(SET_LIB_PATH) \
27233 $(NORMAL_TARGET_EXPORTS) \
27234 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27235 for flag in $(EXTRA_TARGET_FLAGS); do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 (cd $(TARGET_SUBDIR)/libiberty && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 distclean) \
27244 || exit 1
27246 @endif target-libiberty
27248 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27249 maybe-maintainer-clean-target-libiberty:
27250 @if target-libiberty
27251 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27253 maintainer-clean-target-libiberty:
27254 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27255 r=`${PWD_COMMAND}`; export r; \
27256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 $(SET_LIB_PATH) \
27258 $(NORMAL_TARGET_EXPORTS) \
27259 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27260 for flag in $(EXTRA_TARGET_FLAGS); do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 done; \
27263 (cd $(TARGET_SUBDIR)/libiberty && \
27264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27266 "RANLIB=$${RANLIB}" \
27267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27268 maintainer-clean) \
27269 || exit 1
27271 @endif target-libiberty
27274 .PHONY: configure-target-gperf maybe-configure-target-gperf
27275 maybe-configure-target-gperf:
27276 @if target-gperf
27277 maybe-configure-target-gperf: configure-target-gperf
27279 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27280 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27282 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27283 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27285 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27286 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(SET_LIB_PATH) \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27293 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27294 case $(srcdir) in \
27295 /* | [A-Za-z]:[\\/]*) \
27296 topdir=$(srcdir) ;; \
27297 *) \
27298 case "$(TARGET_SUBDIR)" in \
27299 .) topdir="../$(srcdir)" ;; \
27300 *) topdir="../../$(srcdir)" ;; \
27301 esac ;; \
27302 esac; \
27303 srcdiroption="--srcdir=$${topdir}/gperf"; \
27304 libsrcdir="$$s/gperf"; \
27305 rm -f no-such-file || : ; \
27306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27307 $(TARGET_CONFIGARGS) $${srcdiroption} \
27308 --with-target-subdir="$(TARGET_SUBDIR)" \
27309 || exit 1
27310 @endif target-gperf
27312 .PHONY: all-target-gperf maybe-all-target-gperf
27313 maybe-all-target-gperf:
27314 @if target-gperf
27315 TARGET-target-gperf=all
27316 maybe-all-target-gperf: all-target-gperf
27317 all-target-gperf: configure-target-gperf
27318 @r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(SET_LIB_PATH) \
27321 $(NORMAL_TARGET_EXPORTS) \
27322 (cd $(TARGET_SUBDIR)/gperf && \
27323 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27324 @endif target-gperf
27326 .PHONY: check-target-gperf maybe-check-target-gperf
27327 maybe-check-target-gperf:
27328 @if target-gperf
27329 maybe-check-target-gperf: check-target-gperf
27331 check-target-gperf:
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(SET_LIB_PATH) \
27335 $(NORMAL_TARGET_EXPORTS) \
27336 (cd $(TARGET_SUBDIR)/gperf && \
27337 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27339 @endif target-gperf
27341 .PHONY: install-target-gperf maybe-install-target-gperf
27342 maybe-install-target-gperf:
27343 @if target-gperf
27344 maybe-install-target-gperf: install-target-gperf
27346 install-target-gperf: installdirs
27347 @r=`${PWD_COMMAND}`; export r; \
27348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27349 $(SET_LIB_PATH) \
27350 $(NORMAL_TARGET_EXPORTS) \
27351 (cd $(TARGET_SUBDIR)/gperf && \
27352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27354 @endif target-gperf
27356 # Other targets (info, dvi, etc.)
27358 .PHONY: maybe-info-target-gperf info-target-gperf
27359 maybe-info-target-gperf:
27360 @if target-gperf
27361 maybe-info-target-gperf: info-target-gperf
27363 info-target-gperf: \
27364 configure-target-gperf
27365 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27366 r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 $(SET_LIB_PATH) \
27369 $(NORMAL_TARGET_EXPORTS) \
27370 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27371 for flag in $(EXTRA_TARGET_FLAGS); do \
27372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27373 done; \
27374 (cd $(TARGET_SUBDIR)/gperf && \
27375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27377 "RANLIB=$${RANLIB}" \
27378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27379 info) \
27380 || exit 1
27382 @endif target-gperf
27384 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27385 maybe-dvi-target-gperf:
27386 @if target-gperf
27387 maybe-dvi-target-gperf: dvi-target-gperf
27389 dvi-target-gperf: \
27390 configure-target-gperf
27391 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27392 r=`${PWD_COMMAND}`; export r; \
27393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27394 $(SET_LIB_PATH) \
27395 $(NORMAL_TARGET_EXPORTS) \
27396 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27397 for flag in $(EXTRA_TARGET_FLAGS); do \
27398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27399 done; \
27400 (cd $(TARGET_SUBDIR)/gperf && \
27401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27403 "RANLIB=$${RANLIB}" \
27404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27405 dvi) \
27406 || exit 1
27408 @endif target-gperf
27410 .PHONY: maybe-html-target-gperf html-target-gperf
27411 maybe-html-target-gperf:
27412 @if target-gperf
27413 maybe-html-target-gperf: html-target-gperf
27415 html-target-gperf: \
27416 configure-target-gperf
27417 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27418 r=`${PWD_COMMAND}`; export r; \
27419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27420 $(SET_LIB_PATH) \
27421 $(NORMAL_TARGET_EXPORTS) \
27422 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27423 for flag in $(EXTRA_TARGET_FLAGS); do \
27424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27425 done; \
27426 (cd $(TARGET_SUBDIR)/gperf && \
27427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27429 "RANLIB=$${RANLIB}" \
27430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27431 html) \
27432 || exit 1
27434 @endif target-gperf
27436 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27437 maybe-TAGS-target-gperf:
27438 @if target-gperf
27439 maybe-TAGS-target-gperf: TAGS-target-gperf
27441 TAGS-target-gperf: \
27442 configure-target-gperf
27443 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27444 r=`${PWD_COMMAND}`; export r; \
27445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27446 $(SET_LIB_PATH) \
27447 $(NORMAL_TARGET_EXPORTS) \
27448 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27449 for flag in $(EXTRA_TARGET_FLAGS); do \
27450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27451 done; \
27452 (cd $(TARGET_SUBDIR)/gperf && \
27453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27455 "RANLIB=$${RANLIB}" \
27456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27457 TAGS) \
27458 || exit 1
27460 @endif target-gperf
27462 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27463 maybe-install-info-target-gperf:
27464 @if target-gperf
27465 maybe-install-info-target-gperf: install-info-target-gperf
27467 install-info-target-gperf: \
27468 configure-target-gperf \
27469 info-target-gperf
27470 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27471 r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 $(SET_LIB_PATH) \
27474 $(NORMAL_TARGET_EXPORTS) \
27475 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27476 for flag in $(EXTRA_TARGET_FLAGS); do \
27477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27478 done; \
27479 (cd $(TARGET_SUBDIR)/gperf && \
27480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27482 "RANLIB=$${RANLIB}" \
27483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27484 install-info) \
27485 || exit 1
27487 @endif target-gperf
27489 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27490 maybe-installcheck-target-gperf:
27491 @if target-gperf
27492 maybe-installcheck-target-gperf: installcheck-target-gperf
27494 installcheck-target-gperf: \
27495 configure-target-gperf
27496 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27497 r=`${PWD_COMMAND}`; export r; \
27498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27499 $(SET_LIB_PATH) \
27500 $(NORMAL_TARGET_EXPORTS) \
27501 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27502 for flag in $(EXTRA_TARGET_FLAGS); do \
27503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27504 done; \
27505 (cd $(TARGET_SUBDIR)/gperf && \
27506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27508 "RANLIB=$${RANLIB}" \
27509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27510 installcheck) \
27511 || exit 1
27513 @endif target-gperf
27515 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27516 maybe-mostlyclean-target-gperf:
27517 @if target-gperf
27518 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27520 mostlyclean-target-gperf:
27521 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27522 r=`${PWD_COMMAND}`; export r; \
27523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27524 $(SET_LIB_PATH) \
27525 $(NORMAL_TARGET_EXPORTS) \
27526 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27527 for flag in $(EXTRA_TARGET_FLAGS); do \
27528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27529 done; \
27530 (cd $(TARGET_SUBDIR)/gperf && \
27531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27533 "RANLIB=$${RANLIB}" \
27534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27535 mostlyclean) \
27536 || exit 1
27538 @endif target-gperf
27540 .PHONY: maybe-clean-target-gperf clean-target-gperf
27541 maybe-clean-target-gperf:
27542 @if target-gperf
27543 maybe-clean-target-gperf: clean-target-gperf
27545 clean-target-gperf:
27546 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27547 r=`${PWD_COMMAND}`; export r; \
27548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27549 $(SET_LIB_PATH) \
27550 $(NORMAL_TARGET_EXPORTS) \
27551 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27552 for flag in $(EXTRA_TARGET_FLAGS); do \
27553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27554 done; \
27555 (cd $(TARGET_SUBDIR)/gperf && \
27556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27558 "RANLIB=$${RANLIB}" \
27559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27560 clean) \
27561 || exit 1
27563 @endif target-gperf
27565 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27566 maybe-distclean-target-gperf:
27567 @if target-gperf
27568 maybe-distclean-target-gperf: distclean-target-gperf
27570 distclean-target-gperf:
27571 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27572 r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(SET_LIB_PATH) \
27575 $(NORMAL_TARGET_EXPORTS) \
27576 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27577 for flag in $(EXTRA_TARGET_FLAGS); do \
27578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27579 done; \
27580 (cd $(TARGET_SUBDIR)/gperf && \
27581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27583 "RANLIB=$${RANLIB}" \
27584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27585 distclean) \
27586 || exit 1
27588 @endif target-gperf
27590 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27591 maybe-maintainer-clean-target-gperf:
27592 @if target-gperf
27593 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27595 maintainer-clean-target-gperf:
27596 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(SET_LIB_PATH) \
27600 $(NORMAL_TARGET_EXPORTS) \
27601 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27602 for flag in $(EXTRA_TARGET_FLAGS); do \
27603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27604 done; \
27605 (cd $(TARGET_SUBDIR)/gperf && \
27606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27608 "RANLIB=$${RANLIB}" \
27609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27610 maintainer-clean) \
27611 || exit 1
27613 @endif target-gperf
27616 .PHONY: configure-target-examples maybe-configure-target-examples
27617 maybe-configure-target-examples:
27618 @if target-examples
27619 maybe-configure-target-examples: configure-target-examples
27621 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27622 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27624 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27625 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27627 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27628 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27629 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27630 r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632 $(SET_LIB_PATH) \
27633 $(NORMAL_TARGET_EXPORTS) \
27634 echo Configuring in $(TARGET_SUBDIR)/examples; \
27635 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27636 case $(srcdir) in \
27637 /* | [A-Za-z]:[\\/]*) \
27638 topdir=$(srcdir) ;; \
27639 *) \
27640 case "$(TARGET_SUBDIR)" in \
27641 .) topdir="../$(srcdir)" ;; \
27642 *) topdir="../../$(srcdir)" ;; \
27643 esac ;; \
27644 esac; \
27645 srcdiroption="--srcdir=$${topdir}/examples"; \
27646 libsrcdir="$$s/examples"; \
27647 rm -f no-such-file || : ; \
27648 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27649 $(TARGET_CONFIGARGS) $${srcdiroption} \
27650 --with-target-subdir="$(TARGET_SUBDIR)" \
27651 || exit 1
27652 @endif target-examples
27654 .PHONY: all-target-examples maybe-all-target-examples
27655 maybe-all-target-examples:
27656 @if target-examples
27657 TARGET-target-examples=all
27658 maybe-all-target-examples: all-target-examples
27659 all-target-examples: configure-target-examples
27660 @r=`${PWD_COMMAND}`; export r; \
27661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27662 $(SET_LIB_PATH) \
27663 $(NORMAL_TARGET_EXPORTS) \
27664 (cd $(TARGET_SUBDIR)/examples && \
27665 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27666 @endif target-examples
27668 .PHONY: check-target-examples maybe-check-target-examples
27669 maybe-check-target-examples:
27670 @if target-examples
27671 maybe-check-target-examples: check-target-examples
27673 # Dummy target for uncheckable module.
27674 check-target-examples:
27676 @endif target-examples
27678 .PHONY: install-target-examples maybe-install-target-examples
27679 maybe-install-target-examples:
27680 @if target-examples
27681 maybe-install-target-examples: install-target-examples
27683 # Dummy target for uninstallable.
27684 install-target-examples:
27686 @endif target-examples
27688 # Other targets (info, dvi, etc.)
27690 .PHONY: maybe-info-target-examples info-target-examples
27691 maybe-info-target-examples:
27692 @if target-examples
27693 maybe-info-target-examples: info-target-examples
27695 info-target-examples: \
27696 configure-target-examples
27697 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27698 r=`${PWD_COMMAND}`; export r; \
27699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700 $(SET_LIB_PATH) \
27701 $(NORMAL_TARGET_EXPORTS) \
27702 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27703 for flag in $(EXTRA_TARGET_FLAGS); do \
27704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27705 done; \
27706 (cd $(TARGET_SUBDIR)/examples && \
27707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27709 "RANLIB=$${RANLIB}" \
27710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27711 info) \
27712 || exit 1
27714 @endif target-examples
27716 .PHONY: maybe-dvi-target-examples dvi-target-examples
27717 maybe-dvi-target-examples:
27718 @if target-examples
27719 maybe-dvi-target-examples: dvi-target-examples
27721 dvi-target-examples: \
27722 configure-target-examples
27723 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(SET_LIB_PATH) \
27727 $(NORMAL_TARGET_EXPORTS) \
27728 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27729 for flag in $(EXTRA_TARGET_FLAGS); do \
27730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27731 done; \
27732 (cd $(TARGET_SUBDIR)/examples && \
27733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27735 "RANLIB=$${RANLIB}" \
27736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27737 dvi) \
27738 || exit 1
27740 @endif target-examples
27742 .PHONY: maybe-html-target-examples html-target-examples
27743 maybe-html-target-examples:
27744 @if target-examples
27745 maybe-html-target-examples: html-target-examples
27747 html-target-examples: \
27748 configure-target-examples
27749 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27750 r=`${PWD_COMMAND}`; export r; \
27751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27752 $(SET_LIB_PATH) \
27753 $(NORMAL_TARGET_EXPORTS) \
27754 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27755 for flag in $(EXTRA_TARGET_FLAGS); do \
27756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27757 done; \
27758 (cd $(TARGET_SUBDIR)/examples && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27763 html) \
27764 || exit 1
27766 @endif target-examples
27768 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27769 maybe-TAGS-target-examples:
27770 @if target-examples
27771 maybe-TAGS-target-examples: TAGS-target-examples
27773 TAGS-target-examples: \
27774 configure-target-examples
27775 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(SET_LIB_PATH) \
27779 $(NORMAL_TARGET_EXPORTS) \
27780 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27781 for flag in $(EXTRA_TARGET_FLAGS); do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 done; \
27784 (cd $(TARGET_SUBDIR)/examples && \
27785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27787 "RANLIB=$${RANLIB}" \
27788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27789 TAGS) \
27790 || exit 1
27792 @endif target-examples
27794 .PHONY: maybe-install-info-target-examples install-info-target-examples
27795 maybe-install-info-target-examples:
27796 @if target-examples
27797 maybe-install-info-target-examples: install-info-target-examples
27799 install-info-target-examples: \
27800 configure-target-examples \
27801 info-target-examples
27802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805 $(SET_LIB_PATH) \
27806 $(NORMAL_TARGET_EXPORTS) \
27807 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27808 for flag in $(EXTRA_TARGET_FLAGS); do \
27809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27810 done; \
27811 (cd $(TARGET_SUBDIR)/examples && \
27812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814 "RANLIB=$${RANLIB}" \
27815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27816 install-info) \
27817 || exit 1
27819 @endif target-examples
27821 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27822 maybe-installcheck-target-examples:
27823 @if target-examples
27824 maybe-installcheck-target-examples: installcheck-target-examples
27826 installcheck-target-examples: \
27827 configure-target-examples
27828 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27829 r=`${PWD_COMMAND}`; export r; \
27830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 $(SET_LIB_PATH) \
27832 $(NORMAL_TARGET_EXPORTS) \
27833 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27834 for flag in $(EXTRA_TARGET_FLAGS); do \
27835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 done; \
27837 (cd $(TARGET_SUBDIR)/examples && \
27838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27840 "RANLIB=$${RANLIB}" \
27841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27842 installcheck) \
27843 || exit 1
27845 @endif target-examples
27847 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27848 maybe-mostlyclean-target-examples:
27849 @if target-examples
27850 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27852 mostlyclean-target-examples:
27853 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27854 r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(SET_LIB_PATH) \
27857 $(NORMAL_TARGET_EXPORTS) \
27858 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27859 for flag in $(EXTRA_TARGET_FLAGS); do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 (cd $(TARGET_SUBDIR)/examples && \
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 mostlyclean) \
27868 || exit 1
27870 @endif target-examples
27872 .PHONY: maybe-clean-target-examples clean-target-examples
27873 maybe-clean-target-examples:
27874 @if target-examples
27875 maybe-clean-target-examples: clean-target-examples
27877 clean-target-examples:
27878 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27879 r=`${PWD_COMMAND}`; export r; \
27880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27881 $(SET_LIB_PATH) \
27882 $(NORMAL_TARGET_EXPORTS) \
27883 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27884 for flag in $(EXTRA_TARGET_FLAGS); do \
27885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 done; \
27887 (cd $(TARGET_SUBDIR)/examples && \
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 clean) \
27893 || exit 1
27895 @endif target-examples
27897 .PHONY: maybe-distclean-target-examples distclean-target-examples
27898 maybe-distclean-target-examples:
27899 @if target-examples
27900 maybe-distclean-target-examples: distclean-target-examples
27902 distclean-target-examples:
27903 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27904 r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 $(SET_LIB_PATH) \
27907 $(NORMAL_TARGET_EXPORTS) \
27908 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27909 for flag in $(EXTRA_TARGET_FLAGS); do \
27910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27911 done; \
27912 (cd $(TARGET_SUBDIR)/examples && \
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 distclean) \
27918 || exit 1
27920 @endif target-examples
27922 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27923 maybe-maintainer-clean-target-examples:
27924 @if target-examples
27925 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27927 maintainer-clean-target-examples:
27928 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27929 r=`${PWD_COMMAND}`; export r; \
27930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27931 $(SET_LIB_PATH) \
27932 $(NORMAL_TARGET_EXPORTS) \
27933 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27934 for flag in $(EXTRA_TARGET_FLAGS); do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27936 done; \
27937 (cd $(TARGET_SUBDIR)/examples && \
27938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27940 "RANLIB=$${RANLIB}" \
27941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27942 maintainer-clean) \
27943 || exit 1
27945 @endif target-examples
27948 .PHONY: configure-target-libffi maybe-configure-target-libffi
27949 maybe-configure-target-libffi:
27950 @if target-libffi
27951 maybe-configure-target-libffi: configure-target-libffi
27953 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27954 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27956 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27957 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27959 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27960 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27962 r=`${PWD_COMMAND}`; export r; \
27963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27964 $(SET_LIB_PATH) \
27965 $(NORMAL_TARGET_EXPORTS) \
27966 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27967 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27968 case $(srcdir) in \
27969 /* | [A-Za-z]:[\\/]*) \
27970 topdir=$(srcdir) ;; \
27971 *) \
27972 case "$(TARGET_SUBDIR)" in \
27973 .) topdir="../$(srcdir)" ;; \
27974 *) topdir="../../$(srcdir)" ;; \
27975 esac ;; \
27976 esac; \
27977 srcdiroption="--srcdir=$${topdir}/libffi"; \
27978 libsrcdir="$$s/libffi"; \
27979 rm -f no-such-file || : ; \
27980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27981 $(TARGET_CONFIGARGS) $${srcdiroption} \
27982 --with-target-subdir="$(TARGET_SUBDIR)" \
27983 || exit 1
27984 @endif target-libffi
27986 .PHONY: all-target-libffi maybe-all-target-libffi
27987 maybe-all-target-libffi:
27988 @if target-libffi
27989 TARGET-target-libffi=all
27990 maybe-all-target-libffi: all-target-libffi
27991 all-target-libffi: configure-target-libffi
27992 @r=`${PWD_COMMAND}`; export r; \
27993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27994 $(SET_LIB_PATH) \
27995 $(NORMAL_TARGET_EXPORTS) \
27996 (cd $(TARGET_SUBDIR)/libffi && \
27997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27998 @endif target-libffi
28000 .PHONY: check-target-libffi maybe-check-target-libffi
28001 maybe-check-target-libffi:
28002 @if target-libffi
28003 maybe-check-target-libffi: check-target-libffi
28005 check-target-libffi:
28006 @r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(SET_LIB_PATH) \
28009 $(NORMAL_TARGET_EXPORTS) \
28010 (cd $(TARGET_SUBDIR)/libffi && \
28011 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28013 @endif target-libffi
28015 .PHONY: install-target-libffi maybe-install-target-libffi
28016 maybe-install-target-libffi:
28017 @if target-libffi
28018 maybe-install-target-libffi: install-target-libffi
28020 install-target-libffi: installdirs
28021 @r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(SET_LIB_PATH) \
28024 $(NORMAL_TARGET_EXPORTS) \
28025 (cd $(TARGET_SUBDIR)/libffi && \
28026 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28028 @endif target-libffi
28030 # Other targets (info, dvi, etc.)
28032 .PHONY: maybe-info-target-libffi info-target-libffi
28033 maybe-info-target-libffi:
28034 @if target-libffi
28035 maybe-info-target-libffi: info-target-libffi
28037 info-target-libffi: \
28038 configure-target-libffi
28039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28040 r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 $(SET_LIB_PATH) \
28043 $(NORMAL_TARGET_EXPORTS) \
28044 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28045 for flag in $(EXTRA_TARGET_FLAGS); do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 done; \
28048 (cd $(TARGET_SUBDIR)/libffi && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28053 info) \
28054 || exit 1
28056 @endif target-libffi
28058 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28059 maybe-dvi-target-libffi:
28060 @if target-libffi
28061 maybe-dvi-target-libffi: dvi-target-libffi
28063 dvi-target-libffi: \
28064 configure-target-libffi
28065 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28066 r=`${PWD_COMMAND}`; export r; \
28067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28068 $(SET_LIB_PATH) \
28069 $(NORMAL_TARGET_EXPORTS) \
28070 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28071 for flag in $(EXTRA_TARGET_FLAGS); do \
28072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28073 done; \
28074 (cd $(TARGET_SUBDIR)/libffi && \
28075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28077 "RANLIB=$${RANLIB}" \
28078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28079 dvi) \
28080 || exit 1
28082 @endif target-libffi
28084 .PHONY: maybe-html-target-libffi html-target-libffi
28085 maybe-html-target-libffi:
28086 @if target-libffi
28087 maybe-html-target-libffi: html-target-libffi
28089 html-target-libffi: \
28090 configure-target-libffi
28091 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28092 r=`${PWD_COMMAND}`; export r; \
28093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28094 $(SET_LIB_PATH) \
28095 $(NORMAL_TARGET_EXPORTS) \
28096 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28097 for flag in $(EXTRA_TARGET_FLAGS); do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 done; \
28100 (cd $(TARGET_SUBDIR)/libffi && \
28101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28103 "RANLIB=$${RANLIB}" \
28104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28105 html) \
28106 || exit 1
28108 @endif target-libffi
28110 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28111 maybe-TAGS-target-libffi:
28112 @if target-libffi
28113 maybe-TAGS-target-libffi: TAGS-target-libffi
28115 TAGS-target-libffi: \
28116 configure-target-libffi
28117 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28118 r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28120 $(SET_LIB_PATH) \
28121 $(NORMAL_TARGET_EXPORTS) \
28122 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28123 for flag in $(EXTRA_TARGET_FLAGS); do \
28124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28125 done; \
28126 (cd $(TARGET_SUBDIR)/libffi && \
28127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28129 "RANLIB=$${RANLIB}" \
28130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28131 TAGS) \
28132 || exit 1
28134 @endif target-libffi
28136 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28137 maybe-install-info-target-libffi:
28138 @if target-libffi
28139 maybe-install-info-target-libffi: install-info-target-libffi
28141 install-info-target-libffi: \
28142 configure-target-libffi \
28143 info-target-libffi
28144 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28145 r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 $(SET_LIB_PATH) \
28148 $(NORMAL_TARGET_EXPORTS) \
28149 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28150 for flag in $(EXTRA_TARGET_FLAGS); do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 done; \
28153 (cd $(TARGET_SUBDIR)/libffi && \
28154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28156 "RANLIB=$${RANLIB}" \
28157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28158 install-info) \
28159 || exit 1
28161 @endif target-libffi
28163 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28164 maybe-installcheck-target-libffi:
28165 @if target-libffi
28166 maybe-installcheck-target-libffi: installcheck-target-libffi
28168 installcheck-target-libffi: \
28169 configure-target-libffi
28170 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28171 r=`${PWD_COMMAND}`; export r; \
28172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28173 $(SET_LIB_PATH) \
28174 $(NORMAL_TARGET_EXPORTS) \
28175 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28176 for flag in $(EXTRA_TARGET_FLAGS); do \
28177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28178 done; \
28179 (cd $(TARGET_SUBDIR)/libffi && \
28180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28182 "RANLIB=$${RANLIB}" \
28183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28184 installcheck) \
28185 || exit 1
28187 @endif target-libffi
28189 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28190 maybe-mostlyclean-target-libffi:
28191 @if target-libffi
28192 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28194 mostlyclean-target-libffi:
28195 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28196 r=`${PWD_COMMAND}`; export r; \
28197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28198 $(SET_LIB_PATH) \
28199 $(NORMAL_TARGET_EXPORTS) \
28200 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28201 for flag in $(EXTRA_TARGET_FLAGS); do \
28202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28203 done; \
28204 (cd $(TARGET_SUBDIR)/libffi && \
28205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28207 "RANLIB=$${RANLIB}" \
28208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28209 mostlyclean) \
28210 || exit 1
28212 @endif target-libffi
28214 .PHONY: maybe-clean-target-libffi clean-target-libffi
28215 maybe-clean-target-libffi:
28216 @if target-libffi
28217 maybe-clean-target-libffi: clean-target-libffi
28219 clean-target-libffi:
28220 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28221 r=`${PWD_COMMAND}`; export r; \
28222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 $(SET_LIB_PATH) \
28224 $(NORMAL_TARGET_EXPORTS) \
28225 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28226 for flag in $(EXTRA_TARGET_FLAGS); do \
28227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28228 done; \
28229 (cd $(TARGET_SUBDIR)/libffi && \
28230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28232 "RANLIB=$${RANLIB}" \
28233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28234 clean) \
28235 || exit 1
28237 @endif target-libffi
28239 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28240 maybe-distclean-target-libffi:
28241 @if target-libffi
28242 maybe-distclean-target-libffi: distclean-target-libffi
28244 distclean-target-libffi:
28245 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28246 r=`${PWD_COMMAND}`; export r; \
28247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28248 $(SET_LIB_PATH) \
28249 $(NORMAL_TARGET_EXPORTS) \
28250 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28251 for flag in $(EXTRA_TARGET_FLAGS); do \
28252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28253 done; \
28254 (cd $(TARGET_SUBDIR)/libffi && \
28255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28257 "RANLIB=$${RANLIB}" \
28258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28259 distclean) \
28260 || exit 1
28262 @endif target-libffi
28264 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28265 maybe-maintainer-clean-target-libffi:
28266 @if target-libffi
28267 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28269 maintainer-clean-target-libffi:
28270 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28271 r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(SET_LIB_PATH) \
28274 $(NORMAL_TARGET_EXPORTS) \
28275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28276 for flag in $(EXTRA_TARGET_FLAGS); do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 (cd $(TARGET_SUBDIR)/libffi && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28282 "RANLIB=$${RANLIB}" \
28283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28284 maintainer-clean) \
28285 || exit 1
28287 @endif target-libffi
28290 .PHONY: configure-target-libjava maybe-configure-target-libjava
28291 maybe-configure-target-libjava:
28292 @if target-libjava
28293 maybe-configure-target-libjava: configure-target-libjava
28295 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28296 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28298 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28299 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28301 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28302 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28304 r=`${PWD_COMMAND}`; export r; \
28305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28306 $(SET_LIB_PATH) \
28307 $(RAW_CXX_TARGET_EXPORTS) \
28308 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28309 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28310 case $(srcdir) in \
28311 /* | [A-Za-z]:[\\/]*) \
28312 topdir=$(srcdir) ;; \
28313 *) \
28314 case "$(TARGET_SUBDIR)" in \
28315 .) topdir="../$(srcdir)" ;; \
28316 *) topdir="../../$(srcdir)" ;; \
28317 esac ;; \
28318 esac; \
28319 srcdiroption="--srcdir=$${topdir}/libjava"; \
28320 libsrcdir="$$s/libjava"; \
28321 rm -f no-such-file || : ; \
28322 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28323 $(TARGET_CONFIGARGS) $${srcdiroption} \
28324 --with-target-subdir="$(TARGET_SUBDIR)" \
28325 || exit 1
28326 @endif target-libjava
28328 .PHONY: all-target-libjava maybe-all-target-libjava
28329 maybe-all-target-libjava:
28330 @if target-libjava
28331 TARGET-target-libjava=all
28332 maybe-all-target-libjava: all-target-libjava
28333 all-target-libjava: configure-target-libjava
28334 @r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28336 $(SET_LIB_PATH) \
28337 $(RAW_CXX_TARGET_EXPORTS) \
28338 (cd $(TARGET_SUBDIR)/libjava && \
28339 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28340 @endif target-libjava
28342 .PHONY: check-target-libjava maybe-check-target-libjava
28343 maybe-check-target-libjava:
28344 @if target-libjava
28345 maybe-check-target-libjava: check-target-libjava
28347 check-target-libjava:
28348 @r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(SET_LIB_PATH) \
28351 $(RAW_CXX_TARGET_EXPORTS) \
28352 (cd $(TARGET_SUBDIR)/libjava && \
28353 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28355 @endif target-libjava
28357 .PHONY: install-target-libjava maybe-install-target-libjava
28358 maybe-install-target-libjava:
28359 @if target-libjava
28360 maybe-install-target-libjava: install-target-libjava
28362 install-target-libjava: installdirs
28363 @r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(SET_LIB_PATH) \
28366 $(RAW_CXX_TARGET_EXPORTS) \
28367 (cd $(TARGET_SUBDIR)/libjava && \
28368 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28370 @endif target-libjava
28372 # Other targets (info, dvi, etc.)
28374 .PHONY: maybe-info-target-libjava info-target-libjava
28375 maybe-info-target-libjava:
28376 @if target-libjava
28377 maybe-info-target-libjava: info-target-libjava
28379 info-target-libjava: \
28380 configure-target-libjava
28381 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28382 r=`${PWD_COMMAND}`; export r; \
28383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28384 $(SET_LIB_PATH) \
28385 $(RAW_CXX_TARGET_EXPORTS) \
28386 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28387 for flag in $(EXTRA_TARGET_FLAGS); do \
28388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28389 done; \
28390 (cd $(TARGET_SUBDIR)/libjava && \
28391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28393 "RANLIB=$${RANLIB}" \
28394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28395 info) \
28396 || exit 1
28398 @endif target-libjava
28400 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28401 maybe-dvi-target-libjava:
28402 @if target-libjava
28403 maybe-dvi-target-libjava: dvi-target-libjava
28405 dvi-target-libjava: \
28406 configure-target-libjava
28407 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28408 r=`${PWD_COMMAND}`; export r; \
28409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28410 $(SET_LIB_PATH) \
28411 $(RAW_CXX_TARGET_EXPORTS) \
28412 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28413 for flag in $(EXTRA_TARGET_FLAGS); do \
28414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28415 done; \
28416 (cd $(TARGET_SUBDIR)/libjava && \
28417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28419 "RANLIB=$${RANLIB}" \
28420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28421 dvi) \
28422 || exit 1
28424 @endif target-libjava
28426 .PHONY: maybe-html-target-libjava html-target-libjava
28427 maybe-html-target-libjava:
28428 @if target-libjava
28429 maybe-html-target-libjava: html-target-libjava
28431 html-target-libjava: \
28432 configure-target-libjava
28433 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28434 r=`${PWD_COMMAND}`; export r; \
28435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28436 $(SET_LIB_PATH) \
28437 $(RAW_CXX_TARGET_EXPORTS) \
28438 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28439 for flag in $(EXTRA_TARGET_FLAGS); do \
28440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28441 done; \
28442 (cd $(TARGET_SUBDIR)/libjava && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28447 html) \
28448 || exit 1
28450 @endif target-libjava
28452 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28453 maybe-TAGS-target-libjava:
28454 @if target-libjava
28455 maybe-TAGS-target-libjava: TAGS-target-libjava
28457 TAGS-target-libjava: \
28458 configure-target-libjava
28459 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(SET_LIB_PATH) \
28463 $(RAW_CXX_TARGET_EXPORTS) \
28464 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28465 for flag in $(EXTRA_TARGET_FLAGS); do \
28466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28467 done; \
28468 (cd $(TARGET_SUBDIR)/libjava && \
28469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28471 "RANLIB=$${RANLIB}" \
28472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28473 TAGS) \
28474 || exit 1
28476 @endif target-libjava
28478 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28479 maybe-install-info-target-libjava:
28480 @if target-libjava
28481 maybe-install-info-target-libjava: install-info-target-libjava
28483 install-info-target-libjava: \
28484 configure-target-libjava \
28485 info-target-libjava
28486 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28487 r=`${PWD_COMMAND}`; export r; \
28488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28489 $(SET_LIB_PATH) \
28490 $(RAW_CXX_TARGET_EXPORTS) \
28491 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28492 for flag in $(EXTRA_TARGET_FLAGS); do \
28493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28494 done; \
28495 (cd $(TARGET_SUBDIR)/libjava && \
28496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28498 "RANLIB=$${RANLIB}" \
28499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28500 install-info) \
28501 || exit 1
28503 @endif target-libjava
28505 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28506 maybe-installcheck-target-libjava:
28507 @if target-libjava
28508 maybe-installcheck-target-libjava: installcheck-target-libjava
28510 installcheck-target-libjava: \
28511 configure-target-libjava
28512 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(SET_LIB_PATH) \
28516 $(RAW_CXX_TARGET_EXPORTS) \
28517 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28518 for flag in $(EXTRA_TARGET_FLAGS); do \
28519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28520 done; \
28521 (cd $(TARGET_SUBDIR)/libjava && \
28522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28524 "RANLIB=$${RANLIB}" \
28525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28526 installcheck) \
28527 || exit 1
28529 @endif target-libjava
28531 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28532 maybe-mostlyclean-target-libjava:
28533 @if target-libjava
28534 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28536 mostlyclean-target-libjava:
28537 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28538 r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(SET_LIB_PATH) \
28541 $(RAW_CXX_TARGET_EXPORTS) \
28542 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28543 for flag in $(EXTRA_TARGET_FLAGS); do \
28544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28545 done; \
28546 (cd $(TARGET_SUBDIR)/libjava && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28551 mostlyclean) \
28552 || exit 1
28554 @endif target-libjava
28556 .PHONY: maybe-clean-target-libjava clean-target-libjava
28557 maybe-clean-target-libjava:
28558 @if target-libjava
28559 maybe-clean-target-libjava: clean-target-libjava
28561 clean-target-libjava:
28562 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28563 r=`${PWD_COMMAND}`; export r; \
28564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28565 $(SET_LIB_PATH) \
28566 $(RAW_CXX_TARGET_EXPORTS) \
28567 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28568 for flag in $(EXTRA_TARGET_FLAGS); do \
28569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28570 done; \
28571 (cd $(TARGET_SUBDIR)/libjava && \
28572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28574 "RANLIB=$${RANLIB}" \
28575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28576 clean) \
28577 || exit 1
28579 @endif target-libjava
28581 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28582 maybe-distclean-target-libjava:
28583 @if target-libjava
28584 maybe-distclean-target-libjava: distclean-target-libjava
28586 distclean-target-libjava:
28587 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28588 r=`${PWD_COMMAND}`; export r; \
28589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590 $(SET_LIB_PATH) \
28591 $(RAW_CXX_TARGET_EXPORTS) \
28592 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28593 for flag in $(EXTRA_TARGET_FLAGS); do \
28594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28595 done; \
28596 (cd $(TARGET_SUBDIR)/libjava && \
28597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28599 "RANLIB=$${RANLIB}" \
28600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28601 distclean) \
28602 || exit 1
28604 @endif target-libjava
28606 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28607 maybe-maintainer-clean-target-libjava:
28608 @if target-libjava
28609 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28611 maintainer-clean-target-libjava:
28612 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28613 r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(SET_LIB_PATH) \
28616 $(RAW_CXX_TARGET_EXPORTS) \
28617 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28618 for flag in $(EXTRA_TARGET_FLAGS); do \
28619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28620 done; \
28621 (cd $(TARGET_SUBDIR)/libjava && \
28622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28624 "RANLIB=$${RANLIB}" \
28625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28626 maintainer-clean) \
28627 || exit 1
28629 @endif target-libjava
28632 .PHONY: configure-target-zlib maybe-configure-target-zlib
28633 maybe-configure-target-zlib:
28634 @if target-zlib
28635 maybe-configure-target-zlib: configure-target-zlib
28637 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28638 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28640 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28641 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28643 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28644 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28646 r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(SET_LIB_PATH) \
28649 $(NORMAL_TARGET_EXPORTS) \
28650 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28651 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28652 case $(srcdir) in \
28653 /* | [A-Za-z]:[\\/]*) \
28654 topdir=$(srcdir) ;; \
28655 *) \
28656 case "$(TARGET_SUBDIR)" in \
28657 .) topdir="../$(srcdir)" ;; \
28658 *) topdir="../../$(srcdir)" ;; \
28659 esac ;; \
28660 esac; \
28661 if [ "$(srcdir)" = "." ] ; then \
28662 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28663 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28664 if [ -f Makefile ]; then \
28665 if $(MAKE) distclean; then \
28666 true; \
28667 else \
28668 exit 1; \
28669 fi; \
28670 else \
28671 true; \
28672 fi; \
28673 else \
28674 exit 1; \
28675 fi; \
28676 else \
28677 true; \
28678 fi; \
28679 srcdiroption="--srcdir=."; \
28680 libsrcdir="."; \
28681 else \
28682 srcdiroption="--srcdir=$${topdir}/zlib"; \
28683 libsrcdir="$$s/zlib"; \
28684 fi; \
28685 rm -f no-such-file || : ; \
28686 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28687 $(TARGET_CONFIGARGS) $${srcdiroption} \
28688 --with-target-subdir="$(TARGET_SUBDIR)" \
28689 || exit 1
28690 @endif target-zlib
28692 .PHONY: all-target-zlib maybe-all-target-zlib
28693 maybe-all-target-zlib:
28694 @if target-zlib
28695 TARGET-target-zlib=all
28696 maybe-all-target-zlib: all-target-zlib
28697 all-target-zlib: configure-target-zlib
28698 @r=`${PWD_COMMAND}`; export r; \
28699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28700 $(SET_LIB_PATH) \
28701 $(NORMAL_TARGET_EXPORTS) \
28702 (cd $(TARGET_SUBDIR)/zlib && \
28703 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28704 @endif target-zlib
28706 .PHONY: check-target-zlib maybe-check-target-zlib
28707 maybe-check-target-zlib:
28708 @if target-zlib
28709 maybe-check-target-zlib: check-target-zlib
28711 check-target-zlib:
28712 @r=`${PWD_COMMAND}`; export r; \
28713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28714 $(SET_LIB_PATH) \
28715 $(NORMAL_TARGET_EXPORTS) \
28716 (cd $(TARGET_SUBDIR)/zlib && \
28717 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28719 @endif target-zlib
28721 .PHONY: install-target-zlib maybe-install-target-zlib
28722 maybe-install-target-zlib:
28723 @if target-zlib
28724 maybe-install-target-zlib: install-target-zlib
28726 install-target-zlib: installdirs
28727 @r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(SET_LIB_PATH) \
28730 $(NORMAL_TARGET_EXPORTS) \
28731 (cd $(TARGET_SUBDIR)/zlib && \
28732 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28734 @endif target-zlib
28736 # Other targets (info, dvi, etc.)
28738 .PHONY: maybe-info-target-zlib info-target-zlib
28739 maybe-info-target-zlib:
28740 @if target-zlib
28741 maybe-info-target-zlib: info-target-zlib
28743 info-target-zlib: \
28744 configure-target-zlib
28745 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(SET_LIB_PATH) \
28749 $(NORMAL_TARGET_EXPORTS) \
28750 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28751 for flag in $(EXTRA_TARGET_FLAGS); do \
28752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 done; \
28754 (cd $(TARGET_SUBDIR)/zlib && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28759 info) \
28760 || exit 1
28762 @endif target-zlib
28764 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28765 maybe-dvi-target-zlib:
28766 @if target-zlib
28767 maybe-dvi-target-zlib: dvi-target-zlib
28769 dvi-target-zlib: \
28770 configure-target-zlib
28771 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28772 r=`${PWD_COMMAND}`; export r; \
28773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28774 $(SET_LIB_PATH) \
28775 $(NORMAL_TARGET_EXPORTS) \
28776 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28777 for flag in $(EXTRA_TARGET_FLAGS); do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 done; \
28780 (cd $(TARGET_SUBDIR)/zlib && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28785 dvi) \
28786 || exit 1
28788 @endif target-zlib
28790 .PHONY: maybe-html-target-zlib html-target-zlib
28791 maybe-html-target-zlib:
28792 @if target-zlib
28793 maybe-html-target-zlib: html-target-zlib
28795 html-target-zlib: \
28796 configure-target-zlib
28797 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28798 r=`${PWD_COMMAND}`; export r; \
28799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28800 $(SET_LIB_PATH) \
28801 $(NORMAL_TARGET_EXPORTS) \
28802 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28803 for flag in $(EXTRA_TARGET_FLAGS); do \
28804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28805 done; \
28806 (cd $(TARGET_SUBDIR)/zlib && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28811 html) \
28812 || exit 1
28814 @endif target-zlib
28816 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28817 maybe-TAGS-target-zlib:
28818 @if target-zlib
28819 maybe-TAGS-target-zlib: TAGS-target-zlib
28821 TAGS-target-zlib: \
28822 configure-target-zlib
28823 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28824 r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 $(SET_LIB_PATH) \
28827 $(NORMAL_TARGET_EXPORTS) \
28828 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28829 for flag in $(EXTRA_TARGET_FLAGS); do \
28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 done; \
28832 (cd $(TARGET_SUBDIR)/zlib && \
28833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28835 "RANLIB=$${RANLIB}" \
28836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28837 TAGS) \
28838 || exit 1
28840 @endif target-zlib
28842 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28843 maybe-install-info-target-zlib:
28844 @if target-zlib
28845 maybe-install-info-target-zlib: install-info-target-zlib
28847 install-info-target-zlib: \
28848 configure-target-zlib \
28849 info-target-zlib
28850 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(SET_LIB_PATH) \
28854 $(NORMAL_TARGET_EXPORTS) \
28855 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28856 for flag in $(EXTRA_TARGET_FLAGS); do \
28857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28858 done; \
28859 (cd $(TARGET_SUBDIR)/zlib && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28864 install-info) \
28865 || exit 1
28867 @endif target-zlib
28869 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28870 maybe-installcheck-target-zlib:
28871 @if target-zlib
28872 maybe-installcheck-target-zlib: installcheck-target-zlib
28874 installcheck-target-zlib: \
28875 configure-target-zlib
28876 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28877 r=`${PWD_COMMAND}`; export r; \
28878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28879 $(SET_LIB_PATH) \
28880 $(NORMAL_TARGET_EXPORTS) \
28881 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28882 for flag in $(EXTRA_TARGET_FLAGS); do \
28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28884 done; \
28885 (cd $(TARGET_SUBDIR)/zlib && \
28886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28888 "RANLIB=$${RANLIB}" \
28889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28890 installcheck) \
28891 || exit 1
28893 @endif target-zlib
28895 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28896 maybe-mostlyclean-target-zlib:
28897 @if target-zlib
28898 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28900 mostlyclean-target-zlib:
28901 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28902 r=`${PWD_COMMAND}`; export r; \
28903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28904 $(SET_LIB_PATH) \
28905 $(NORMAL_TARGET_EXPORTS) \
28906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28907 for flag in $(EXTRA_TARGET_FLAGS); do \
28908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28909 done; \
28910 (cd $(TARGET_SUBDIR)/zlib && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28915 mostlyclean) \
28916 || exit 1
28918 @endif target-zlib
28920 .PHONY: maybe-clean-target-zlib clean-target-zlib
28921 maybe-clean-target-zlib:
28922 @if target-zlib
28923 maybe-clean-target-zlib: clean-target-zlib
28925 clean-target-zlib:
28926 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28927 r=`${PWD_COMMAND}`; export r; \
28928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28929 $(SET_LIB_PATH) \
28930 $(NORMAL_TARGET_EXPORTS) \
28931 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28932 for flag in $(EXTRA_TARGET_FLAGS); do \
28933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28934 done; \
28935 (cd $(TARGET_SUBDIR)/zlib && \
28936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28938 "RANLIB=$${RANLIB}" \
28939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28940 clean) \
28941 || exit 1
28943 @endif target-zlib
28945 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28946 maybe-distclean-target-zlib:
28947 @if target-zlib
28948 maybe-distclean-target-zlib: distclean-target-zlib
28950 distclean-target-zlib:
28951 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28952 r=`${PWD_COMMAND}`; export r; \
28953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28954 $(SET_LIB_PATH) \
28955 $(NORMAL_TARGET_EXPORTS) \
28956 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28957 for flag in $(EXTRA_TARGET_FLAGS); do \
28958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28959 done; \
28960 (cd $(TARGET_SUBDIR)/zlib && \
28961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28963 "RANLIB=$${RANLIB}" \
28964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28965 distclean) \
28966 || exit 1
28968 @endif target-zlib
28970 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28971 maybe-maintainer-clean-target-zlib:
28972 @if target-zlib
28973 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28975 maintainer-clean-target-zlib:
28976 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28977 r=`${PWD_COMMAND}`; export r; \
28978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28979 $(SET_LIB_PATH) \
28980 $(NORMAL_TARGET_EXPORTS) \
28981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28982 for flag in $(EXTRA_TARGET_FLAGS); do \
28983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28984 done; \
28985 (cd $(TARGET_SUBDIR)/zlib && \
28986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28988 "RANLIB=$${RANLIB}" \
28989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28990 maintainer-clean) \
28991 || exit 1
28993 @endif target-zlib
28996 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28997 maybe-configure-target-boehm-gc:
28998 @if target-boehm-gc
28999 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29001 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29002 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29003 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29004 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29005 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29007 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29008 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29010 r=`${PWD_COMMAND}`; export r; \
29011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29012 $(SET_LIB_PATH) \
29013 $(NORMAL_TARGET_EXPORTS) \
29014 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29015 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29016 case $(srcdir) in \
29017 /* | [A-Za-z]:[\\/]*) \
29018 topdir=$(srcdir) ;; \
29019 *) \
29020 case "$(TARGET_SUBDIR)" in \
29021 .) topdir="../$(srcdir)" ;; \
29022 *) topdir="../../$(srcdir)" ;; \
29023 esac ;; \
29024 esac; \
29025 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29026 libsrcdir="$$s/boehm-gc"; \
29027 rm -f no-such-file || : ; \
29028 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29029 $(TARGET_CONFIGARGS) $${srcdiroption} \
29030 --with-target-subdir="$(TARGET_SUBDIR)" \
29031 || exit 1
29032 @endif target-boehm-gc
29034 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29035 maybe-all-target-boehm-gc:
29036 @if target-boehm-gc
29037 TARGET-target-boehm-gc=all
29038 maybe-all-target-boehm-gc: all-target-boehm-gc
29039 all-target-boehm-gc: configure-target-boehm-gc
29040 @r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(SET_LIB_PATH) \
29043 $(NORMAL_TARGET_EXPORTS) \
29044 (cd $(TARGET_SUBDIR)/boehm-gc && \
29045 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29046 @endif target-boehm-gc
29048 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29049 maybe-check-target-boehm-gc:
29050 @if target-boehm-gc
29051 maybe-check-target-boehm-gc: check-target-boehm-gc
29053 check-target-boehm-gc:
29054 @r=`${PWD_COMMAND}`; export r; \
29055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29056 $(SET_LIB_PATH) \
29057 $(NORMAL_TARGET_EXPORTS) \
29058 (cd $(TARGET_SUBDIR)/boehm-gc && \
29059 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29061 @endif target-boehm-gc
29063 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29064 maybe-install-target-boehm-gc:
29065 @if target-boehm-gc
29066 maybe-install-target-boehm-gc: install-target-boehm-gc
29068 install-target-boehm-gc: installdirs
29069 @r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 $(SET_LIB_PATH) \
29072 $(NORMAL_TARGET_EXPORTS) \
29073 (cd $(TARGET_SUBDIR)/boehm-gc && \
29074 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29076 @endif target-boehm-gc
29078 # Other targets (info, dvi, etc.)
29080 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29081 maybe-info-target-boehm-gc:
29082 @if target-boehm-gc
29083 maybe-info-target-boehm-gc: info-target-boehm-gc
29085 info-target-boehm-gc: \
29086 configure-target-boehm-gc
29087 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29088 r=`${PWD_COMMAND}`; export r; \
29089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29090 $(SET_LIB_PATH) \
29091 $(NORMAL_TARGET_EXPORTS) \
29092 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29093 for flag in $(EXTRA_TARGET_FLAGS); do \
29094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29095 done; \
29096 (cd $(TARGET_SUBDIR)/boehm-gc && \
29097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29099 "RANLIB=$${RANLIB}" \
29100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29101 info) \
29102 || exit 1
29104 @endif target-boehm-gc
29106 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29107 maybe-dvi-target-boehm-gc:
29108 @if target-boehm-gc
29109 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29111 dvi-target-boehm-gc: \
29112 configure-target-boehm-gc
29113 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29114 r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(SET_LIB_PATH) \
29117 $(NORMAL_TARGET_EXPORTS) \
29118 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29119 for flag in $(EXTRA_TARGET_FLAGS); do \
29120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29121 done; \
29122 (cd $(TARGET_SUBDIR)/boehm-gc && \
29123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29125 "RANLIB=$${RANLIB}" \
29126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29127 dvi) \
29128 || exit 1
29130 @endif target-boehm-gc
29132 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29133 maybe-html-target-boehm-gc:
29134 @if target-boehm-gc
29135 maybe-html-target-boehm-gc: html-target-boehm-gc
29137 html-target-boehm-gc: \
29138 configure-target-boehm-gc
29139 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29140 r=`${PWD_COMMAND}`; export r; \
29141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29142 $(SET_LIB_PATH) \
29143 $(NORMAL_TARGET_EXPORTS) \
29144 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29145 for flag in $(EXTRA_TARGET_FLAGS); do \
29146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29147 done; \
29148 (cd $(TARGET_SUBDIR)/boehm-gc && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29151 "RANLIB=$${RANLIB}" \
29152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29153 html) \
29154 || exit 1
29156 @endif target-boehm-gc
29158 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29159 maybe-TAGS-target-boehm-gc:
29160 @if target-boehm-gc
29161 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29163 TAGS-target-boehm-gc: \
29164 configure-target-boehm-gc
29165 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(SET_LIB_PATH) \
29169 $(NORMAL_TARGET_EXPORTS) \
29170 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29171 for flag in $(EXTRA_TARGET_FLAGS); do \
29172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29173 done; \
29174 (cd $(TARGET_SUBDIR)/boehm-gc && \
29175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29177 "RANLIB=$${RANLIB}" \
29178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29179 TAGS) \
29180 || exit 1
29182 @endif target-boehm-gc
29184 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29185 maybe-install-info-target-boehm-gc:
29186 @if target-boehm-gc
29187 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29189 install-info-target-boehm-gc: \
29190 configure-target-boehm-gc \
29191 info-target-boehm-gc
29192 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29193 r=`${PWD_COMMAND}`; export r; \
29194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29195 $(SET_LIB_PATH) \
29196 $(NORMAL_TARGET_EXPORTS) \
29197 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29198 for flag in $(EXTRA_TARGET_FLAGS); do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 done; \
29201 (cd $(TARGET_SUBDIR)/boehm-gc && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29206 install-info) \
29207 || exit 1
29209 @endif target-boehm-gc
29211 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29212 maybe-installcheck-target-boehm-gc:
29213 @if target-boehm-gc
29214 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29216 installcheck-target-boehm-gc: \
29217 configure-target-boehm-gc
29218 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(SET_LIB_PATH) \
29222 $(NORMAL_TARGET_EXPORTS) \
29223 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29224 for flag in $(EXTRA_TARGET_FLAGS); do \
29225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29226 done; \
29227 (cd $(TARGET_SUBDIR)/boehm-gc && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29232 installcheck) \
29233 || exit 1
29235 @endif target-boehm-gc
29237 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29238 maybe-mostlyclean-target-boehm-gc:
29239 @if target-boehm-gc
29240 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29242 mostlyclean-target-boehm-gc:
29243 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(SET_LIB_PATH) \
29247 $(NORMAL_TARGET_EXPORTS) \
29248 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29249 for flag in $(EXTRA_TARGET_FLAGS); do \
29250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29251 done; \
29252 (cd $(TARGET_SUBDIR)/boehm-gc && \
29253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29255 "RANLIB=$${RANLIB}" \
29256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29257 mostlyclean) \
29258 || exit 1
29260 @endif target-boehm-gc
29262 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29263 maybe-clean-target-boehm-gc:
29264 @if target-boehm-gc
29265 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29267 clean-target-boehm-gc:
29268 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(SET_LIB_PATH) \
29272 $(NORMAL_TARGET_EXPORTS) \
29273 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29274 for flag in $(EXTRA_TARGET_FLAGS); do \
29275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29276 done; \
29277 (cd $(TARGET_SUBDIR)/boehm-gc && \
29278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29280 "RANLIB=$${RANLIB}" \
29281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29282 clean) \
29283 || exit 1
29285 @endif target-boehm-gc
29287 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29288 maybe-distclean-target-boehm-gc:
29289 @if target-boehm-gc
29290 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29292 distclean-target-boehm-gc:
29293 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(SET_LIB_PATH) \
29297 $(NORMAL_TARGET_EXPORTS) \
29298 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29299 for flag in $(EXTRA_TARGET_FLAGS); do \
29300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29301 done; \
29302 (cd $(TARGET_SUBDIR)/boehm-gc && \
29303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29305 "RANLIB=$${RANLIB}" \
29306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29307 distclean) \
29308 || exit 1
29310 @endif target-boehm-gc
29312 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29313 maybe-maintainer-clean-target-boehm-gc:
29314 @if target-boehm-gc
29315 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29317 maintainer-clean-target-boehm-gc:
29318 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29319 r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(SET_LIB_PATH) \
29322 $(NORMAL_TARGET_EXPORTS) \
29323 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29324 for flag in $(EXTRA_TARGET_FLAGS); do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 (cd $(TARGET_SUBDIR)/boehm-gc && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29330 "RANLIB=$${RANLIB}" \
29331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29332 maintainer-clean) \
29333 || exit 1
29335 @endif target-boehm-gc
29338 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29339 maybe-configure-target-qthreads:
29340 @if target-qthreads
29341 maybe-configure-target-qthreads: configure-target-qthreads
29343 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29344 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29346 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29347 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29349 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29350 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(SET_LIB_PATH) \
29355 $(NORMAL_TARGET_EXPORTS) \
29356 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29357 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29358 case $(srcdir) in \
29359 /* | [A-Za-z]:[\\/]*) \
29360 topdir=$(srcdir) ;; \
29361 *) \
29362 case "$(TARGET_SUBDIR)" in \
29363 .) topdir="../$(srcdir)" ;; \
29364 *) topdir="../../$(srcdir)" ;; \
29365 esac ;; \
29366 esac; \
29367 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29368 libsrcdir="$$s/qthreads"; \
29369 rm -f no-such-file || : ; \
29370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29371 $(TARGET_CONFIGARGS) $${srcdiroption} \
29372 --with-target-subdir="$(TARGET_SUBDIR)" \
29373 || exit 1
29374 @endif target-qthreads
29376 .PHONY: all-target-qthreads maybe-all-target-qthreads
29377 maybe-all-target-qthreads:
29378 @if target-qthreads
29379 TARGET-target-qthreads=all
29380 maybe-all-target-qthreads: all-target-qthreads
29381 all-target-qthreads: configure-target-qthreads
29382 @r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 $(SET_LIB_PATH) \
29385 $(NORMAL_TARGET_EXPORTS) \
29386 (cd $(TARGET_SUBDIR)/qthreads && \
29387 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29388 @endif target-qthreads
29390 .PHONY: check-target-qthreads maybe-check-target-qthreads
29391 maybe-check-target-qthreads:
29392 @if target-qthreads
29393 maybe-check-target-qthreads: check-target-qthreads
29395 check-target-qthreads:
29396 @r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(SET_LIB_PATH) \
29399 $(NORMAL_TARGET_EXPORTS) \
29400 (cd $(TARGET_SUBDIR)/qthreads && \
29401 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29403 @endif target-qthreads
29405 .PHONY: install-target-qthreads maybe-install-target-qthreads
29406 maybe-install-target-qthreads:
29407 @if target-qthreads
29408 maybe-install-target-qthreads: install-target-qthreads
29410 install-target-qthreads: installdirs
29411 @r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(SET_LIB_PATH) \
29414 $(NORMAL_TARGET_EXPORTS) \
29415 (cd $(TARGET_SUBDIR)/qthreads && \
29416 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29418 @endif target-qthreads
29420 # Other targets (info, dvi, etc.)
29422 .PHONY: maybe-info-target-qthreads info-target-qthreads
29423 maybe-info-target-qthreads:
29424 @if target-qthreads
29425 maybe-info-target-qthreads: info-target-qthreads
29427 info-target-qthreads: \
29428 configure-target-qthreads
29429 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29430 r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(SET_LIB_PATH) \
29433 $(NORMAL_TARGET_EXPORTS) \
29434 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29435 for flag in $(EXTRA_TARGET_FLAGS); do \
29436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29437 done; \
29438 (cd $(TARGET_SUBDIR)/qthreads && \
29439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29441 "RANLIB=$${RANLIB}" \
29442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29443 info) \
29444 || exit 1
29446 @endif target-qthreads
29448 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29449 maybe-dvi-target-qthreads:
29450 @if target-qthreads
29451 maybe-dvi-target-qthreads: dvi-target-qthreads
29453 dvi-target-qthreads: \
29454 configure-target-qthreads
29455 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(SET_LIB_PATH) \
29459 $(NORMAL_TARGET_EXPORTS) \
29460 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29461 for flag in $(EXTRA_TARGET_FLAGS); do \
29462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29463 done; \
29464 (cd $(TARGET_SUBDIR)/qthreads && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29469 dvi) \
29470 || exit 1
29472 @endif target-qthreads
29474 .PHONY: maybe-html-target-qthreads html-target-qthreads
29475 maybe-html-target-qthreads:
29476 @if target-qthreads
29477 maybe-html-target-qthreads: html-target-qthreads
29479 html-target-qthreads: \
29480 configure-target-qthreads
29481 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(SET_LIB_PATH) \
29485 $(NORMAL_TARGET_EXPORTS) \
29486 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29487 for flag in $(EXTRA_TARGET_FLAGS); do \
29488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29489 done; \
29490 (cd $(TARGET_SUBDIR)/qthreads && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29495 html) \
29496 || exit 1
29498 @endif target-qthreads
29500 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29501 maybe-TAGS-target-qthreads:
29502 @if target-qthreads
29503 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29505 TAGS-target-qthreads: \
29506 configure-target-qthreads
29507 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29508 r=`${PWD_COMMAND}`; export r; \
29509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29510 $(SET_LIB_PATH) \
29511 $(NORMAL_TARGET_EXPORTS) \
29512 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29513 for flag in $(EXTRA_TARGET_FLAGS); do \
29514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29515 done; \
29516 (cd $(TARGET_SUBDIR)/qthreads && \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29519 "RANLIB=$${RANLIB}" \
29520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29521 TAGS) \
29522 || exit 1
29524 @endif target-qthreads
29526 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29527 maybe-install-info-target-qthreads:
29528 @if target-qthreads
29529 maybe-install-info-target-qthreads: install-info-target-qthreads
29531 install-info-target-qthreads: \
29532 configure-target-qthreads \
29533 info-target-qthreads
29534 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(SET_LIB_PATH) \
29538 $(NORMAL_TARGET_EXPORTS) \
29539 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29540 for flag in $(EXTRA_TARGET_FLAGS); do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 done; \
29543 (cd $(TARGET_SUBDIR)/qthreads && \
29544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29546 "RANLIB=$${RANLIB}" \
29547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29548 install-info) \
29549 || exit 1
29551 @endif target-qthreads
29553 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29554 maybe-installcheck-target-qthreads:
29555 @if target-qthreads
29556 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29558 installcheck-target-qthreads: \
29559 configure-target-qthreads
29560 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(SET_LIB_PATH) \
29564 $(NORMAL_TARGET_EXPORTS) \
29565 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29566 for flag in $(EXTRA_TARGET_FLAGS); do \
29567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29568 done; \
29569 (cd $(TARGET_SUBDIR)/qthreads && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29572 "RANLIB=$${RANLIB}" \
29573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29574 installcheck) \
29575 || exit 1
29577 @endif target-qthreads
29579 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29580 maybe-mostlyclean-target-qthreads:
29581 @if target-qthreads
29582 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29584 mostlyclean-target-qthreads:
29585 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29586 r=`${PWD_COMMAND}`; export r; \
29587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29588 $(SET_LIB_PATH) \
29589 $(NORMAL_TARGET_EXPORTS) \
29590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29591 for flag in $(EXTRA_TARGET_FLAGS); do \
29592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29593 done; \
29594 (cd $(TARGET_SUBDIR)/qthreads && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29599 mostlyclean) \
29600 || exit 1
29602 @endif target-qthreads
29604 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29605 maybe-clean-target-qthreads:
29606 @if target-qthreads
29607 maybe-clean-target-qthreads: clean-target-qthreads
29609 clean-target-qthreads:
29610 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29611 r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(SET_LIB_PATH) \
29614 $(NORMAL_TARGET_EXPORTS) \
29615 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29616 for flag in $(EXTRA_TARGET_FLAGS); do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29618 done; \
29619 (cd $(TARGET_SUBDIR)/qthreads && \
29620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29622 "RANLIB=$${RANLIB}" \
29623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29624 clean) \
29625 || exit 1
29627 @endif target-qthreads
29629 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29630 maybe-distclean-target-qthreads:
29631 @if target-qthreads
29632 maybe-distclean-target-qthreads: distclean-target-qthreads
29634 distclean-target-qthreads:
29635 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29636 r=`${PWD_COMMAND}`; export r; \
29637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29638 $(SET_LIB_PATH) \
29639 $(NORMAL_TARGET_EXPORTS) \
29640 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29641 for flag in $(EXTRA_TARGET_FLAGS); do \
29642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29643 done; \
29644 (cd $(TARGET_SUBDIR)/qthreads && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29649 distclean) \
29650 || exit 1
29652 @endif target-qthreads
29654 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29655 maybe-maintainer-clean-target-qthreads:
29656 @if target-qthreads
29657 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29659 maintainer-clean-target-qthreads:
29660 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29661 r=`${PWD_COMMAND}`; export r; \
29662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29663 $(SET_LIB_PATH) \
29664 $(NORMAL_TARGET_EXPORTS) \
29665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29666 for flag in $(EXTRA_TARGET_FLAGS); do \
29667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29668 done; \
29669 (cd $(TARGET_SUBDIR)/qthreads && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29674 maintainer-clean) \
29675 || exit 1
29677 @endif target-qthreads
29680 .PHONY: configure-target-rda maybe-configure-target-rda
29681 maybe-configure-target-rda:
29682 @if target-rda
29683 maybe-configure-target-rda: configure-target-rda
29685 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29686 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29687 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29688 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29689 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29691 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29692 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(SET_LIB_PATH) \
29697 $(NORMAL_TARGET_EXPORTS) \
29698 echo Configuring in $(TARGET_SUBDIR)/rda; \
29699 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29700 case $(srcdir) in \
29701 /* | [A-Za-z]:[\\/]*) \
29702 topdir=$(srcdir) ;; \
29703 *) \
29704 case "$(TARGET_SUBDIR)" in \
29705 .) topdir="../$(srcdir)" ;; \
29706 *) topdir="../../$(srcdir)" ;; \
29707 esac ;; \
29708 esac; \
29709 srcdiroption="--srcdir=$${topdir}/rda"; \
29710 libsrcdir="$$s/rda"; \
29711 rm -f no-such-file || : ; \
29712 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29713 $(TARGET_CONFIGARGS) $${srcdiroption} \
29714 --with-target-subdir="$(TARGET_SUBDIR)" \
29715 || exit 1
29716 @endif target-rda
29718 .PHONY: all-target-rda maybe-all-target-rda
29719 maybe-all-target-rda:
29720 @if target-rda
29721 TARGET-target-rda=all
29722 maybe-all-target-rda: all-target-rda
29723 all-target-rda: configure-target-rda
29724 @r=`${PWD_COMMAND}`; export r; \
29725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29726 $(SET_LIB_PATH) \
29727 $(NORMAL_TARGET_EXPORTS) \
29728 (cd $(TARGET_SUBDIR)/rda && \
29729 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29730 @endif target-rda
29732 .PHONY: check-target-rda maybe-check-target-rda
29733 maybe-check-target-rda:
29734 @if target-rda
29735 maybe-check-target-rda: check-target-rda
29737 check-target-rda:
29738 @r=`${PWD_COMMAND}`; export r; \
29739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29740 $(SET_LIB_PATH) \
29741 $(NORMAL_TARGET_EXPORTS) \
29742 (cd $(TARGET_SUBDIR)/rda && \
29743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29745 @endif target-rda
29747 .PHONY: install-target-rda maybe-install-target-rda
29748 maybe-install-target-rda:
29749 @if target-rda
29750 maybe-install-target-rda: install-target-rda
29752 install-target-rda: installdirs
29753 @r=`${PWD_COMMAND}`; export r; \
29754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29755 $(SET_LIB_PATH) \
29756 $(NORMAL_TARGET_EXPORTS) \
29757 (cd $(TARGET_SUBDIR)/rda && \
29758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29760 @endif target-rda
29762 # Other targets (info, dvi, etc.)
29764 .PHONY: maybe-info-target-rda info-target-rda
29765 maybe-info-target-rda:
29766 @if target-rda
29767 maybe-info-target-rda: info-target-rda
29769 info-target-rda: \
29770 configure-target-rda
29771 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29772 r=`${PWD_COMMAND}`; export r; \
29773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29774 $(SET_LIB_PATH) \
29775 $(NORMAL_TARGET_EXPORTS) \
29776 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29777 for flag in $(EXTRA_TARGET_FLAGS); do \
29778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29779 done; \
29780 (cd $(TARGET_SUBDIR)/rda && \
29781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29783 "RANLIB=$${RANLIB}" \
29784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29785 info) \
29786 || exit 1
29788 @endif target-rda
29790 .PHONY: maybe-dvi-target-rda dvi-target-rda
29791 maybe-dvi-target-rda:
29792 @if target-rda
29793 maybe-dvi-target-rda: dvi-target-rda
29795 dvi-target-rda: \
29796 configure-target-rda
29797 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29798 r=`${PWD_COMMAND}`; export r; \
29799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29800 $(SET_LIB_PATH) \
29801 $(NORMAL_TARGET_EXPORTS) \
29802 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29803 for flag in $(EXTRA_TARGET_FLAGS); do \
29804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29805 done; \
29806 (cd $(TARGET_SUBDIR)/rda && \
29807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29809 "RANLIB=$${RANLIB}" \
29810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29811 dvi) \
29812 || exit 1
29814 @endif target-rda
29816 .PHONY: maybe-html-target-rda html-target-rda
29817 maybe-html-target-rda:
29818 @if target-rda
29819 maybe-html-target-rda: html-target-rda
29821 html-target-rda: \
29822 configure-target-rda
29823 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29824 r=`${PWD_COMMAND}`; export r; \
29825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29826 $(SET_LIB_PATH) \
29827 $(NORMAL_TARGET_EXPORTS) \
29828 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29829 for flag in $(EXTRA_TARGET_FLAGS); do \
29830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29831 done; \
29832 (cd $(TARGET_SUBDIR)/rda && \
29833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29835 "RANLIB=$${RANLIB}" \
29836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29837 html) \
29838 || exit 1
29840 @endif target-rda
29842 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29843 maybe-TAGS-target-rda:
29844 @if target-rda
29845 maybe-TAGS-target-rda: TAGS-target-rda
29847 TAGS-target-rda: \
29848 configure-target-rda
29849 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29850 r=`${PWD_COMMAND}`; export r; \
29851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29852 $(SET_LIB_PATH) \
29853 $(NORMAL_TARGET_EXPORTS) \
29854 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29855 for flag in $(EXTRA_TARGET_FLAGS); do \
29856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29857 done; \
29858 (cd $(TARGET_SUBDIR)/rda && \
29859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29861 "RANLIB=$${RANLIB}" \
29862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29863 TAGS) \
29864 || exit 1
29866 @endif target-rda
29868 .PHONY: maybe-install-info-target-rda install-info-target-rda
29869 maybe-install-info-target-rda:
29870 @if target-rda
29871 maybe-install-info-target-rda: install-info-target-rda
29873 install-info-target-rda: \
29874 configure-target-rda \
29875 info-target-rda
29876 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29877 r=`${PWD_COMMAND}`; export r; \
29878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29879 $(SET_LIB_PATH) \
29880 $(NORMAL_TARGET_EXPORTS) \
29881 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29882 for flag in $(EXTRA_TARGET_FLAGS); do \
29883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29884 done; \
29885 (cd $(TARGET_SUBDIR)/rda && \
29886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29888 "RANLIB=$${RANLIB}" \
29889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29890 install-info) \
29891 || exit 1
29893 @endif target-rda
29895 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29896 maybe-installcheck-target-rda:
29897 @if target-rda
29898 maybe-installcheck-target-rda: installcheck-target-rda
29900 installcheck-target-rda: \
29901 configure-target-rda
29902 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29903 r=`${PWD_COMMAND}`; export r; \
29904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29905 $(SET_LIB_PATH) \
29906 $(NORMAL_TARGET_EXPORTS) \
29907 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29908 for flag in $(EXTRA_TARGET_FLAGS); do \
29909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29910 done; \
29911 (cd $(TARGET_SUBDIR)/rda && \
29912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29914 "RANLIB=$${RANLIB}" \
29915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29916 installcheck) \
29917 || exit 1
29919 @endif target-rda
29921 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29922 maybe-mostlyclean-target-rda:
29923 @if target-rda
29924 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29926 mostlyclean-target-rda:
29927 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29928 r=`${PWD_COMMAND}`; export r; \
29929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29930 $(SET_LIB_PATH) \
29931 $(NORMAL_TARGET_EXPORTS) \
29932 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29933 for flag in $(EXTRA_TARGET_FLAGS); do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 done; \
29936 (cd $(TARGET_SUBDIR)/rda && \
29937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29939 "RANLIB=$${RANLIB}" \
29940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29941 mostlyclean) \
29942 || exit 1
29944 @endif target-rda
29946 .PHONY: maybe-clean-target-rda clean-target-rda
29947 maybe-clean-target-rda:
29948 @if target-rda
29949 maybe-clean-target-rda: clean-target-rda
29951 clean-target-rda:
29952 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(SET_LIB_PATH) \
29956 $(NORMAL_TARGET_EXPORTS) \
29957 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29958 for flag in $(EXTRA_TARGET_FLAGS); do \
29959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29960 done; \
29961 (cd $(TARGET_SUBDIR)/rda && \
29962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29964 "RANLIB=$${RANLIB}" \
29965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29966 clean) \
29967 || exit 1
29969 @endif target-rda
29971 .PHONY: maybe-distclean-target-rda distclean-target-rda
29972 maybe-distclean-target-rda:
29973 @if target-rda
29974 maybe-distclean-target-rda: distclean-target-rda
29976 distclean-target-rda:
29977 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(SET_LIB_PATH) \
29981 $(NORMAL_TARGET_EXPORTS) \
29982 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29983 for flag in $(EXTRA_TARGET_FLAGS); do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 done; \
29986 (cd $(TARGET_SUBDIR)/rda && \
29987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29989 "RANLIB=$${RANLIB}" \
29990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29991 distclean) \
29992 || exit 1
29994 @endif target-rda
29996 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29997 maybe-maintainer-clean-target-rda:
29998 @if target-rda
29999 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30001 maintainer-clean-target-rda:
30002 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(SET_LIB_PATH) \
30006 $(NORMAL_TARGET_EXPORTS) \
30007 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30008 for flag in $(EXTRA_TARGET_FLAGS); do \
30009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30010 done; \
30011 (cd $(TARGET_SUBDIR)/rda && \
30012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30014 "RANLIB=$${RANLIB}" \
30015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30016 maintainer-clean) \
30017 || exit 1
30019 @endif target-rda
30022 .PHONY: configure-target-libada maybe-configure-target-libada
30023 maybe-configure-target-libada:
30024 @if target-libada
30025 maybe-configure-target-libada: configure-target-libada
30027 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30028 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30030 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30031 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30033 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30034 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30036 r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 $(SET_LIB_PATH) \
30039 $(NORMAL_TARGET_EXPORTS) \
30040 echo Configuring in $(TARGET_SUBDIR)/libada; \
30041 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30042 case $(srcdir) in \
30043 /* | [A-Za-z]:[\\/]*) \
30044 topdir=$(srcdir) ;; \
30045 *) \
30046 case "$(TARGET_SUBDIR)" in \
30047 .) topdir="../$(srcdir)" ;; \
30048 *) topdir="../../$(srcdir)" ;; \
30049 esac ;; \
30050 esac; \
30051 srcdiroption="--srcdir=$${topdir}/libada"; \
30052 libsrcdir="$$s/libada"; \
30053 rm -f no-such-file || : ; \
30054 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30055 $(TARGET_CONFIGARGS) $${srcdiroption} \
30056 --with-target-subdir="$(TARGET_SUBDIR)" \
30057 || exit 1
30058 @endif target-libada
30060 .PHONY: all-target-libada maybe-all-target-libada
30061 maybe-all-target-libada:
30062 @if target-libada
30063 TARGET-target-libada=all
30064 maybe-all-target-libada: all-target-libada
30065 all-target-libada: configure-target-libada
30066 @r=`${PWD_COMMAND}`; export r; \
30067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30068 $(SET_LIB_PATH) \
30069 $(NORMAL_TARGET_EXPORTS) \
30070 (cd $(TARGET_SUBDIR)/libada && \
30071 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30072 @endif target-libada
30074 .PHONY: check-target-libada maybe-check-target-libada
30075 maybe-check-target-libada:
30076 @if target-libada
30077 maybe-check-target-libada: check-target-libada
30079 check-target-libada:
30080 @r=`${PWD_COMMAND}`; export r; \
30081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30082 $(SET_LIB_PATH) \
30083 $(NORMAL_TARGET_EXPORTS) \
30084 (cd $(TARGET_SUBDIR)/libada && \
30085 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30087 @endif target-libada
30089 .PHONY: install-target-libada maybe-install-target-libada
30090 maybe-install-target-libada:
30091 @if target-libada
30092 maybe-install-target-libada: install-target-libada
30094 install-target-libada: installdirs
30095 @r=`${PWD_COMMAND}`; export r; \
30096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30097 $(SET_LIB_PATH) \
30098 $(NORMAL_TARGET_EXPORTS) \
30099 (cd $(TARGET_SUBDIR)/libada && \
30100 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30102 @endif target-libada
30104 # Other targets (info, dvi, etc.)
30106 .PHONY: maybe-info-target-libada info-target-libada
30107 maybe-info-target-libada:
30108 @if target-libada
30109 maybe-info-target-libada: info-target-libada
30111 info-target-libada: \
30112 configure-target-libada
30113 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30114 r=`${PWD_COMMAND}`; export r; \
30115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30116 $(SET_LIB_PATH) \
30117 $(NORMAL_TARGET_EXPORTS) \
30118 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30119 for flag in $(EXTRA_TARGET_FLAGS); do \
30120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30121 done; \
30122 (cd $(TARGET_SUBDIR)/libada && \
30123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30125 "RANLIB=$${RANLIB}" \
30126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30127 info) \
30128 || exit 1
30130 @endif target-libada
30132 .PHONY: maybe-dvi-target-libada dvi-target-libada
30133 maybe-dvi-target-libada:
30134 @if target-libada
30135 maybe-dvi-target-libada: dvi-target-libada
30137 dvi-target-libada: \
30138 configure-target-libada
30139 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30140 r=`${PWD_COMMAND}`; export r; \
30141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30142 $(SET_LIB_PATH) \
30143 $(NORMAL_TARGET_EXPORTS) \
30144 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30145 for flag in $(EXTRA_TARGET_FLAGS); do \
30146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30147 done; \
30148 (cd $(TARGET_SUBDIR)/libada && \
30149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30151 "RANLIB=$${RANLIB}" \
30152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30153 dvi) \
30154 || exit 1
30156 @endif target-libada
30158 .PHONY: maybe-html-target-libada html-target-libada
30159 maybe-html-target-libada:
30160 @if target-libada
30161 maybe-html-target-libada: html-target-libada
30163 html-target-libada: \
30164 configure-target-libada
30165 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30166 r=`${PWD_COMMAND}`; export r; \
30167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30168 $(SET_LIB_PATH) \
30169 $(NORMAL_TARGET_EXPORTS) \
30170 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30171 for flag in $(EXTRA_TARGET_FLAGS); do \
30172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30173 done; \
30174 (cd $(TARGET_SUBDIR)/libada && \
30175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30177 "RANLIB=$${RANLIB}" \
30178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30179 html) \
30180 || exit 1
30182 @endif target-libada
30184 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30185 maybe-TAGS-target-libada:
30186 @if target-libada
30187 maybe-TAGS-target-libada: TAGS-target-libada
30189 TAGS-target-libada: \
30190 configure-target-libada
30191 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30192 r=`${PWD_COMMAND}`; export r; \
30193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30194 $(SET_LIB_PATH) \
30195 $(NORMAL_TARGET_EXPORTS) \
30196 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30197 for flag in $(EXTRA_TARGET_FLAGS); do \
30198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30199 done; \
30200 (cd $(TARGET_SUBDIR)/libada && \
30201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30203 "RANLIB=$${RANLIB}" \
30204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30205 TAGS) \
30206 || exit 1
30208 @endif target-libada
30210 .PHONY: maybe-install-info-target-libada install-info-target-libada
30211 maybe-install-info-target-libada:
30212 @if target-libada
30213 maybe-install-info-target-libada: install-info-target-libada
30215 install-info-target-libada: \
30216 configure-target-libada \
30217 info-target-libada
30218 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30219 r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 $(SET_LIB_PATH) \
30222 $(NORMAL_TARGET_EXPORTS) \
30223 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30224 for flag in $(EXTRA_TARGET_FLAGS); do \
30225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30226 done; \
30227 (cd $(TARGET_SUBDIR)/libada && \
30228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30230 "RANLIB=$${RANLIB}" \
30231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30232 install-info) \
30233 || exit 1
30235 @endif target-libada
30237 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30238 maybe-installcheck-target-libada:
30239 @if target-libada
30240 maybe-installcheck-target-libada: installcheck-target-libada
30242 installcheck-target-libada: \
30243 configure-target-libada
30244 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30245 r=`${PWD_COMMAND}`; export r; \
30246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30247 $(SET_LIB_PATH) \
30248 $(NORMAL_TARGET_EXPORTS) \
30249 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30250 for flag in $(EXTRA_TARGET_FLAGS); do \
30251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30252 done; \
30253 (cd $(TARGET_SUBDIR)/libada && \
30254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30256 "RANLIB=$${RANLIB}" \
30257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30258 installcheck) \
30259 || exit 1
30261 @endif target-libada
30263 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30264 maybe-mostlyclean-target-libada:
30265 @if target-libada
30266 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30268 mostlyclean-target-libada:
30269 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30270 r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 $(SET_LIB_PATH) \
30273 $(NORMAL_TARGET_EXPORTS) \
30274 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30275 for flag in $(EXTRA_TARGET_FLAGS); do \
30276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30277 done; \
30278 (cd $(TARGET_SUBDIR)/libada && \
30279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30281 "RANLIB=$${RANLIB}" \
30282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30283 mostlyclean) \
30284 || exit 1
30286 @endif target-libada
30288 .PHONY: maybe-clean-target-libada clean-target-libada
30289 maybe-clean-target-libada:
30290 @if target-libada
30291 maybe-clean-target-libada: clean-target-libada
30293 clean-target-libada:
30294 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30295 r=`${PWD_COMMAND}`; export r; \
30296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30297 $(SET_LIB_PATH) \
30298 $(NORMAL_TARGET_EXPORTS) \
30299 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30300 for flag in $(EXTRA_TARGET_FLAGS); do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 done; \
30303 (cd $(TARGET_SUBDIR)/libada && \
30304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30306 "RANLIB=$${RANLIB}" \
30307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30308 clean) \
30309 || exit 1
30311 @endif target-libada
30313 .PHONY: maybe-distclean-target-libada distclean-target-libada
30314 maybe-distclean-target-libada:
30315 @if target-libada
30316 maybe-distclean-target-libada: distclean-target-libada
30318 distclean-target-libada:
30319 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30320 r=`${PWD_COMMAND}`; export r; \
30321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30322 $(SET_LIB_PATH) \
30323 $(NORMAL_TARGET_EXPORTS) \
30324 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30325 for flag in $(EXTRA_TARGET_FLAGS); do \
30326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30327 done; \
30328 (cd $(TARGET_SUBDIR)/libada && \
30329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30331 "RANLIB=$${RANLIB}" \
30332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30333 distclean) \
30334 || exit 1
30336 @endif target-libada
30338 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30339 maybe-maintainer-clean-target-libada:
30340 @if target-libada
30341 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30343 maintainer-clean-target-libada:
30344 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30345 r=`${PWD_COMMAND}`; export r; \
30346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30347 $(SET_LIB_PATH) \
30348 $(NORMAL_TARGET_EXPORTS) \
30349 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30350 for flag in $(EXTRA_TARGET_FLAGS); do \
30351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30352 done; \
30353 (cd $(TARGET_SUBDIR)/libada && \
30354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30356 "RANLIB=$${RANLIB}" \
30357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30358 maintainer-clean) \
30359 || exit 1
30361 @endif target-libada
30365 # ----------
30366 # GCC module
30367 # ----------
30369 @if gcc-no-bootstrap
30370 # GCC has some more recursive targets, which trigger the old
30371 # (but still current, until the toplevel bootstrap project
30372 # is finished) compiler bootstrapping rules.
30374 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30375 .PHONY: $(GCC_STRAP_TARGETS)
30376 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30379 $(SET_LIB_PATH) \
30380 $(HOST_EXPORTS) \
30381 echo "Bootstrapping the compiler"; \
30382 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30383 @r=`${PWD_COMMAND}`; export r; \
30384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30385 case "$@" in \
30386 *bootstrap4-lean ) \
30387 msg="Comparing stage3 and stage4 of the compiler"; \
30388 compare=compare3-lean ;; \
30389 *bootstrap4 ) \
30390 msg="Comparing stage3 and stage4 of the compiler"; \
30391 compare=compare3 ;; \
30392 *-lean ) \
30393 msg="Comparing stage2 and stage3 of the compiler"; \
30394 compare=compare-lean ;; \
30395 * ) \
30396 msg="Comparing stage2 and stage3 of the compiler"; \
30397 compare=compare ;; \
30398 esac; \
30399 $(SET_LIB_PATH) \
30400 $(HOST_EXPORTS) \
30401 echo "$$msg"; \
30402 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30403 @r=`${PWD_COMMAND}`; export r; \
30404 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30405 $(SET_LIB_PATH) \
30406 echo "Building runtime libraries"; \
30407 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30409 profiledbootstrap: all-prebootstrap configure-gcc
30410 @r=`${PWD_COMMAND}`; export r; \
30411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30412 $(SET_LIB_PATH) \
30413 $(HOST_EXPORTS) \
30414 echo "Bootstrapping training compiler"; \
30415 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30416 @r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(SET_LIB_PATH) \
30419 $(HOST_EXPORTS) \
30420 echo "Building feedback based compiler"; \
30421 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30422 @r=`${PWD_COMMAND}`; export r; \
30423 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30424 $(SET_LIB_PATH) \
30425 echo "Building runtime libraries"; \
30426 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30428 .PHONY: cross
30429 cross: all-build all-gas all-ld
30430 @r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30432 $(SET_LIB_PATH) \
30433 $(HOST_EXPORTS) \
30434 echo "Building the C and C++ compiler"; \
30435 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30436 @r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30438 $(SET_LIB_PATH) \
30439 echo "Building runtime libraries"; \
30440 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30441 @endif gcc-no-bootstrap
30443 @if gcc
30444 .PHONY: check-gcc-c++
30445 check-gcc-c++:
30446 @if [ -f ./gcc/Makefile ] ; then \
30447 r=`${PWD_COMMAND}`; export r; \
30448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30449 $(SET_LIB_PATH) \
30450 $(HOST_EXPORTS) \
30451 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30452 else \
30453 true; \
30456 .PHONY: check-c++
30457 check-c++: check-target-libstdc++-v3 check-gcc-c++
30459 # Install the gcc headers files, but not the fixed include files,
30460 # which Cygnus is not allowed to distribute. This rule is very
30461 # dependent on the workings of the gcc Makefile.in.
30462 .PHONY: gcc-no-fixedincludes
30463 gcc-no-fixedincludes:
30464 @if [ -f ./gcc/Makefile ]; then \
30465 rm -rf gcc/tmp-include; \
30466 mv gcc/include gcc/tmp-include 2>/dev/null; \
30467 mkdir gcc/include; \
30468 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30469 touch gcc/stmp-fixinc gcc/include/fixed; \
30470 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30471 r=`${PWD_COMMAND}`; export r; \
30472 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30473 $(SET_LIB_PATH) \
30474 $(HOST_EXPORTS) \
30475 (cd ./gcc && \
30476 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30477 rm -rf gcc/include; \
30478 mv gcc/tmp-include gcc/include 2>/dev/null; \
30479 else true; fi
30480 @endif gcc
30482 # ---------------------
30483 # GCC bootstrap support
30484 # ---------------------
30486 # We track the current stage (the one in 'gcc') in the stage_current file.
30487 # stage_last instead tracks the stage that was built last. These targets
30488 # are dummy when toplevel bootstrap is not active.
30490 .PHONY: unstage
30491 unstage:
30492 @if gcc-bootstrap
30493 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30494 @endif gcc-bootstrap
30496 .PHONY: stage
30497 stage:
30498 @if gcc-bootstrap
30499 @$(MAKE) `cat stage_current`-end
30500 @endif gcc-bootstrap
30502 # We name the build directories for the various stages "stage1-gcc",
30503 # "stage2-gcc","stage3-gcc", etc.
30505 # Since the 'compare' process will fail (on debugging information) if any
30506 # directory names are different, we need to link the gcc directory for
30507 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30508 # the build directories constant as well. For the latter, we use naked names
30509 # like 'gcc', because the scripts in that directory assume it. We use
30510 # mv on platforms where symlinks to directories do not work or are not
30511 # reliable.
30513 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30514 # be kept, so that libraries can find it. Ick!
30516 # It would be best to preinstall gcc into a staging area (and in the
30517 # future, gather there all prebootstrap packages). This would allow
30518 # assemblers and linkers can be bootstrapped as well as the compiler
30519 # (both in a combined tree, or separately). This however requires some
30520 # change to the gcc driver, again in order to avoid comparison failures.
30522 # Bugs: This is crippled when doing parallel make, the `make all-host'
30523 # and `make all-target' phases can be parallelized.
30526 # 'touch' doesn't work right on some platforms.
30527 STAMP = echo timestamp >
30529 # Only build the C compiler for stage1, because that is the only one that
30530 # we can guarantee will build with the native compiler, and also it is the
30531 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30532 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30533 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30535 STAGE1_CFLAGS=@stage1_cflags@
30536 STAGE1_LANGUAGES=@stage1_languages@
30538 # We only want to compare .o files, so set this!
30539 objext = .o
30541 # Flags to pass to stage2 and later makes.
30542 POSTSTAGE1_FLAGS_TO_PASS = \
30543 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30544 STAGE_PREFIX=$$r/stage-gcc/ \
30545 CFLAGS="$(BOOT_CFLAGS)" \
30546 ADAC="\$$(CC)"
30548 # For stage 1:
30549 # * We force-disable intermodule optimizations, even if
30550 # --enable-intermodule was passed, since the installed compiler probably
30551 # can't handle them. Luckily, autoconf always respects
30552 # the last argument when conflicting --enable arguments are passed.
30553 # * Likewise, we force-disable coverage flags, since the installed compiler
30554 # probably has never heard of them.
30555 # * We build only C (and possibly Ada).
30558 .PHONY: stage1-start stage1-end
30560 stage1-start::
30561 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30562 echo stage1 > stage_current ; \
30563 echo stage1 > stage_last
30564 @if bfd
30565 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30566 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30567 @endif bfd
30568 @if opcodes
30569 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30570 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30571 @endif opcodes
30572 @if binutils
30573 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30574 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30575 @endif binutils
30576 @if gas
30577 @[ -d stage1-gas ] || mkdir stage1-gas; \
30578 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30579 @endif gas
30580 @if gcc
30581 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30582 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30583 @endif gcc
30584 @if intl
30585 @[ -d stage1-intl ] || mkdir stage1-intl; \
30586 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30587 @endif intl
30588 @if ld
30589 @[ -d stage1-ld ] || mkdir stage1-ld; \
30590 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30591 @endif ld
30592 @if libcpp
30593 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30594 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30595 @endif libcpp
30596 @if libiberty
30597 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30598 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30599 @endif libiberty
30600 @if zlib
30601 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30602 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30603 @endif zlib
30605 stage1-end::
30606 @rm -f stage_current
30607 @if bfd
30608 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30609 @endif bfd
30610 @if opcodes
30611 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30612 @endif opcodes
30613 @if binutils
30614 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30615 @endif binutils
30616 @if gas
30617 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30618 @endif gas
30619 @if gcc
30620 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30621 @endif gcc
30622 @if intl
30623 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30624 @endif intl
30625 @if ld
30626 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30627 @endif ld
30628 @if libcpp
30629 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30630 @endif libcpp
30631 @if libiberty
30632 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30633 @endif libiberty
30634 @if zlib
30635 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30636 @endif zlib
30638 # Bubble a bugfix through all the stages up to stage 1. They
30639 # are remade, but not reconfigured. The next stage (if any) will not
30640 # be reconfigured as well.
30641 .PHONY: stage1-bubble
30642 stage1-bubble::
30643 @if test -f stage1-lean ; then \
30644 echo Skipping rebuild of stage1 ; \
30645 else \
30646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30649 .PHONY: all-stage1 clean-stage1
30650 all-stage1: \
30651 maybe-all-stage1-bfd \
30652 maybe-all-stage1-opcodes \
30653 maybe-all-stage1-binutils \
30654 maybe-all-stage1-gas \
30655 maybe-all-stage1-gcc \
30656 maybe-all-stage1-intl \
30657 maybe-all-stage1-ld \
30658 maybe-all-stage1-libcpp \
30659 maybe-all-stage1-libiberty \
30660 maybe-all-stage1-zlib
30662 do-clean: clean-stage1
30663 clean-stage1: \
30664 maybe-clean-stage1-bfd \
30665 maybe-clean-stage1-opcodes \
30666 maybe-clean-stage1-binutils \
30667 maybe-clean-stage1-gas \
30668 maybe-clean-stage1-gcc \
30669 maybe-clean-stage1-intl \
30670 maybe-clean-stage1-ld \
30671 maybe-clean-stage1-libcpp \
30672 maybe-clean-stage1-libiberty \
30673 maybe-clean-stage1-zlib
30676 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30677 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30678 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30680 maybe-configure-stage1-bfd:
30681 maybe-all-stage1-bfd:
30682 maybe-clean-stage1-bfd:
30684 @if bfd-bootstrap
30685 maybe-configure-stage1-bfd: configure-stage1-bfd
30686 configure-stage1-bfd:
30687 @$(MAKE) stage1-start
30688 @[ -f bfd/Makefile ] && exit 0 || : ; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 $(HOST_EXPORTS) \
30692 echo Configuring stage 1 in bfd ; \
30693 cd bfd || exit 1; \
30694 case $(srcdir) in \
30695 \.) \
30696 srcdiroption="--srcdir=."; \
30697 libsrcdir=".";; \
30698 /* | [A-Za-z]:[\\/]*) \
30699 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30700 libsrcdir="$$s/bfd";; \
30701 *) \
30702 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30703 libsrcdir="$$s/bfd";; \
30704 esac; \
30705 $(SHELL) $${libsrcdir}/configure \
30706 $(HOST_CONFIGARGS) $${srcdiroption} \
30707 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30709 maybe-all-stage1-bfd: all-stage1-bfd
30710 all-stage1-bfd: configure-stage1-bfd
30711 @$(MAKE) stage1-start
30712 @r=`${PWD_COMMAND}`; export r; \
30713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30714 $(HOST_EXPORTS) \
30715 cd bfd && \
30716 $(MAKE) $(FLAGS_TO_PASS) \
30717 CFLAGS="$(STAGE1_CFLAGS)"
30719 maybe-clean-stage1-bfd: clean-stage1-bfd
30720 clean-stage1-bfd:
30721 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30722 || exit 0 ; \
30723 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30724 cd bfd && \
30725 $(MAKE) $(FLAGS_TO_PASS) \
30726 CFLAGS="$(STAGE1_CFLAGS)" clean
30727 @endif bfd-bootstrap
30730 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30731 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30732 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30734 maybe-configure-stage1-opcodes:
30735 maybe-all-stage1-opcodes:
30736 maybe-clean-stage1-opcodes:
30738 @if opcodes-bootstrap
30739 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30740 configure-stage1-opcodes:
30741 @$(MAKE) stage1-start
30742 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30743 r=`${PWD_COMMAND}`; export r; \
30744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30745 $(HOST_EXPORTS) \
30746 echo Configuring stage 1 in opcodes ; \
30747 cd opcodes || exit 1; \
30748 case $(srcdir) in \
30749 \.) \
30750 srcdiroption="--srcdir=."; \
30751 libsrcdir=".";; \
30752 /* | [A-Za-z]:[\\/]*) \
30753 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30754 libsrcdir="$$s/opcodes";; \
30755 *) \
30756 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30757 libsrcdir="$$s/opcodes";; \
30758 esac; \
30759 $(SHELL) $${libsrcdir}/configure \
30760 $(HOST_CONFIGARGS) $${srcdiroption} \
30761 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30763 maybe-all-stage1-opcodes: all-stage1-opcodes
30764 all-stage1-opcodes: configure-stage1-opcodes
30765 @$(MAKE) stage1-start
30766 @r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 $(HOST_EXPORTS) \
30769 cd opcodes && \
30770 $(MAKE) $(FLAGS_TO_PASS) \
30771 CFLAGS="$(STAGE1_CFLAGS)"
30773 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30774 clean-stage1-opcodes:
30775 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30776 || exit 0 ; \
30777 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30778 cd opcodes && \
30779 $(MAKE) $(FLAGS_TO_PASS) \
30780 CFLAGS="$(STAGE1_CFLAGS)" clean
30781 @endif opcodes-bootstrap
30784 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30785 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30786 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30788 maybe-configure-stage1-binutils:
30789 maybe-all-stage1-binutils:
30790 maybe-clean-stage1-binutils:
30792 @if binutils-bootstrap
30793 maybe-configure-stage1-binutils: configure-stage1-binutils
30794 configure-stage1-binutils:
30795 @$(MAKE) stage1-start
30796 @[ -f binutils/Makefile ] && exit 0 || : ; \
30797 r=`${PWD_COMMAND}`; export r; \
30798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30799 $(HOST_EXPORTS) \
30800 echo Configuring stage 1 in binutils ; \
30801 cd binutils || exit 1; \
30802 case $(srcdir) in \
30803 \.) \
30804 srcdiroption="--srcdir=."; \
30805 libsrcdir=".";; \
30806 /* | [A-Za-z]:[\\/]*) \
30807 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30808 libsrcdir="$$s/binutils";; \
30809 *) \
30810 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30811 libsrcdir="$$s/binutils";; \
30812 esac; \
30813 $(SHELL) $${libsrcdir}/configure \
30814 $(HOST_CONFIGARGS) $${srcdiroption} \
30815 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30817 maybe-all-stage1-binutils: all-stage1-binutils
30818 all-stage1-binutils: configure-stage1-binutils
30819 @$(MAKE) stage1-start
30820 @r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30822 $(HOST_EXPORTS) \
30823 cd binutils && \
30824 $(MAKE) $(FLAGS_TO_PASS) \
30825 CFLAGS="$(STAGE1_CFLAGS)"
30827 maybe-clean-stage1-binutils: clean-stage1-binutils
30828 clean-stage1-binutils:
30829 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30830 || exit 0 ; \
30831 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30832 cd binutils && \
30833 $(MAKE) $(FLAGS_TO_PASS) \
30834 CFLAGS="$(STAGE1_CFLAGS)" clean
30835 @endif binutils-bootstrap
30838 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30839 .PHONY: all-stage1-gas maybe-all-stage1-gas
30840 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30842 maybe-configure-stage1-gas:
30843 maybe-all-stage1-gas:
30844 maybe-clean-stage1-gas:
30846 @if gas-bootstrap
30847 maybe-configure-stage1-gas: configure-stage1-gas
30848 configure-stage1-gas:
30849 @$(MAKE) stage1-start
30850 @[ -f gas/Makefile ] && exit 0 || : ; \
30851 r=`${PWD_COMMAND}`; export r; \
30852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30853 $(HOST_EXPORTS) \
30854 echo Configuring stage 1 in gas ; \
30855 cd gas || exit 1; \
30856 case $(srcdir) in \
30857 \.) \
30858 srcdiroption="--srcdir=."; \
30859 libsrcdir=".";; \
30860 /* | [A-Za-z]:[\\/]*) \
30861 srcdiroption="--srcdir=$(srcdir)/gas"; \
30862 libsrcdir="$$s/gas";; \
30863 *) \
30864 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30865 libsrcdir="$$s/gas";; \
30866 esac; \
30867 $(SHELL) $${libsrcdir}/configure \
30868 $(HOST_CONFIGARGS) $${srcdiroption} \
30869 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30871 maybe-all-stage1-gas: all-stage1-gas
30872 all-stage1-gas: configure-stage1-gas
30873 @$(MAKE) stage1-start
30874 @r=`${PWD_COMMAND}`; export r; \
30875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30876 $(HOST_EXPORTS) \
30877 cd gas && \
30878 $(MAKE) $(FLAGS_TO_PASS) \
30879 CFLAGS="$(STAGE1_CFLAGS)"
30881 maybe-clean-stage1-gas: clean-stage1-gas
30882 clean-stage1-gas:
30883 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30884 || exit 0 ; \
30885 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30886 cd gas && \
30887 $(MAKE) $(FLAGS_TO_PASS) \
30888 CFLAGS="$(STAGE1_CFLAGS)" clean
30889 @endif gas-bootstrap
30892 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30893 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30894 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30896 maybe-configure-stage1-gcc:
30897 maybe-all-stage1-gcc:
30898 maybe-clean-stage1-gcc:
30900 @if gcc-bootstrap
30901 maybe-configure-stage1-gcc: configure-stage1-gcc
30902 configure-stage1-gcc:
30903 @$(MAKE) stage1-start
30904 @[ -f gcc/Makefile ] && exit 0 || : ; \
30905 r=`${PWD_COMMAND}`; export r; \
30906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30907 $(HOST_EXPORTS) \
30908 echo Configuring stage 1 in gcc ; \
30909 cd gcc || exit 1; \
30910 case $(srcdir) in \
30911 \.) \
30912 srcdiroption="--srcdir=."; \
30913 libsrcdir=".";; \
30914 /* | [A-Za-z]:[\\/]*) \
30915 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30916 libsrcdir="$$s/gcc";; \
30917 *) \
30918 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30919 libsrcdir="$$s/gcc";; \
30920 esac; \
30921 $(SHELL) $${libsrcdir}/configure \
30922 $(HOST_CONFIGARGS) $${srcdiroption} \
30923 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30925 maybe-all-stage1-gcc: all-stage1-gcc
30926 all-stage1-gcc: configure-stage1-gcc
30927 @$(MAKE) stage1-start
30928 @r=`${PWD_COMMAND}`; export r; \
30929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30930 $(HOST_EXPORTS) \
30931 cd gcc && \
30932 $(MAKE) $(FLAGS_TO_PASS) \
30933 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30935 maybe-clean-stage1-gcc: clean-stage1-gcc
30936 clean-stage1-gcc:
30937 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30938 || exit 0 ; \
30939 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30940 cd gcc && \
30941 $(MAKE) $(FLAGS_TO_PASS) \
30942 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30943 @endif gcc-bootstrap
30946 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30947 .PHONY: all-stage1-intl maybe-all-stage1-intl
30948 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30950 maybe-configure-stage1-intl:
30951 maybe-all-stage1-intl:
30952 maybe-clean-stage1-intl:
30954 @if intl-bootstrap
30955 maybe-configure-stage1-intl: configure-stage1-intl
30956 configure-stage1-intl:
30957 @$(MAKE) stage1-start
30958 @[ -f intl/Makefile ] && exit 0 || : ; \
30959 r=`${PWD_COMMAND}`; export r; \
30960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30961 $(HOST_EXPORTS) \
30962 echo Configuring stage 1 in intl ; \
30963 cd intl || exit 1; \
30964 case $(srcdir) in \
30965 \.) \
30966 srcdiroption="--srcdir=."; \
30967 libsrcdir=".";; \
30968 /* | [A-Za-z]:[\\/]*) \
30969 srcdiroption="--srcdir=$(srcdir)/intl"; \
30970 libsrcdir="$$s/intl";; \
30971 *) \
30972 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30973 libsrcdir="$$s/intl";; \
30974 esac; \
30975 $(SHELL) $${libsrcdir}/configure \
30976 $(HOST_CONFIGARGS) $${srcdiroption} \
30977 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30979 maybe-all-stage1-intl: all-stage1-intl
30980 all-stage1-intl: configure-stage1-intl
30981 @$(MAKE) stage1-start
30982 @r=`${PWD_COMMAND}`; export r; \
30983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30984 $(HOST_EXPORTS) \
30985 cd intl && \
30986 $(MAKE) $(FLAGS_TO_PASS) \
30987 CFLAGS="$(STAGE1_CFLAGS)"
30989 maybe-clean-stage1-intl: clean-stage1-intl
30990 clean-stage1-intl:
30991 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30992 || exit 0 ; \
30993 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30994 cd intl && \
30995 $(MAKE) $(FLAGS_TO_PASS) \
30996 CFLAGS="$(STAGE1_CFLAGS)" clean
30997 @endif intl-bootstrap
31000 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31001 .PHONY: all-stage1-ld maybe-all-stage1-ld
31002 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31004 maybe-configure-stage1-ld:
31005 maybe-all-stage1-ld:
31006 maybe-clean-stage1-ld:
31008 @if ld-bootstrap
31009 maybe-configure-stage1-ld: configure-stage1-ld
31010 configure-stage1-ld:
31011 @$(MAKE) stage1-start
31012 @[ -f ld/Makefile ] && exit 0 || : ; \
31013 r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 $(HOST_EXPORTS) \
31016 echo Configuring stage 1 in ld ; \
31017 cd ld || exit 1; \
31018 case $(srcdir) in \
31019 \.) \
31020 srcdiroption="--srcdir=."; \
31021 libsrcdir=".";; \
31022 /* | [A-Za-z]:[\\/]*) \
31023 srcdiroption="--srcdir=$(srcdir)/ld"; \
31024 libsrcdir="$$s/ld";; \
31025 *) \
31026 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31027 libsrcdir="$$s/ld";; \
31028 esac; \
31029 $(SHELL) $${libsrcdir}/configure \
31030 $(HOST_CONFIGARGS) $${srcdiroption} \
31031 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31033 maybe-all-stage1-ld: all-stage1-ld
31034 all-stage1-ld: configure-stage1-ld
31035 @$(MAKE) stage1-start
31036 @r=`${PWD_COMMAND}`; export r; \
31037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31038 $(HOST_EXPORTS) \
31039 cd ld && \
31040 $(MAKE) $(FLAGS_TO_PASS) \
31041 CFLAGS="$(STAGE1_CFLAGS)"
31043 maybe-clean-stage1-ld: clean-stage1-ld
31044 clean-stage1-ld:
31045 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31046 || exit 0 ; \
31047 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31048 cd ld && \
31049 $(MAKE) $(FLAGS_TO_PASS) \
31050 CFLAGS="$(STAGE1_CFLAGS)" clean
31051 @endif ld-bootstrap
31054 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31055 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31056 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31058 maybe-configure-stage1-libcpp:
31059 maybe-all-stage1-libcpp:
31060 maybe-clean-stage1-libcpp:
31062 @if libcpp-bootstrap
31063 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31064 configure-stage1-libcpp:
31065 @$(MAKE) stage1-start
31066 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31067 r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 $(HOST_EXPORTS) \
31070 echo Configuring stage 1 in libcpp ; \
31071 cd libcpp || exit 1; \
31072 case $(srcdir) in \
31073 \.) \
31074 srcdiroption="--srcdir=."; \
31075 libsrcdir=".";; \
31076 /* | [A-Za-z]:[\\/]*) \
31077 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31078 libsrcdir="$$s/libcpp";; \
31079 *) \
31080 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31081 libsrcdir="$$s/libcpp";; \
31082 esac; \
31083 $(SHELL) $${libsrcdir}/configure \
31084 $(HOST_CONFIGARGS) $${srcdiroption} \
31085 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31087 maybe-all-stage1-libcpp: all-stage1-libcpp
31088 all-stage1-libcpp: configure-stage1-libcpp
31089 @$(MAKE) stage1-start
31090 @r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31092 $(HOST_EXPORTS) \
31093 cd libcpp && \
31094 $(MAKE) $(FLAGS_TO_PASS) \
31095 CFLAGS="$(STAGE1_CFLAGS)"
31097 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31098 clean-stage1-libcpp:
31099 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31100 || exit 0 ; \
31101 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31102 cd libcpp && \
31103 $(MAKE) $(FLAGS_TO_PASS) \
31104 CFLAGS="$(STAGE1_CFLAGS)" clean
31105 @endif libcpp-bootstrap
31108 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31109 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31110 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31112 maybe-configure-stage1-libiberty:
31113 maybe-all-stage1-libiberty:
31114 maybe-clean-stage1-libiberty:
31116 @if libiberty-bootstrap
31117 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31118 configure-stage1-libiberty:
31119 @$(MAKE) stage1-start
31120 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31121 r=`${PWD_COMMAND}`; export r; \
31122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31123 $(HOST_EXPORTS) \
31124 echo Configuring stage 1 in libiberty ; \
31125 cd libiberty || exit 1; \
31126 case $(srcdir) in \
31127 \.) \
31128 srcdiroption="--srcdir=."; \
31129 libsrcdir=".";; \
31130 /* | [A-Za-z]:[\\/]*) \
31131 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31132 libsrcdir="$$s/libiberty";; \
31133 *) \
31134 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31135 libsrcdir="$$s/libiberty";; \
31136 esac; \
31137 $(SHELL) $${libsrcdir}/configure \
31138 $(HOST_CONFIGARGS) $${srcdiroption} \
31139 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31141 maybe-all-stage1-libiberty: all-stage1-libiberty
31142 all-stage1-libiberty: configure-stage1-libiberty
31143 @$(MAKE) stage1-start
31144 @r=`${PWD_COMMAND}`; export r; \
31145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31146 $(HOST_EXPORTS) \
31147 cd libiberty && \
31148 $(MAKE) $(FLAGS_TO_PASS) \
31149 CFLAGS="$(STAGE1_CFLAGS)"
31151 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31152 clean-stage1-libiberty:
31153 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31154 || exit 0 ; \
31155 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31156 cd libiberty && \
31157 $(MAKE) $(FLAGS_TO_PASS) \
31158 CFLAGS="$(STAGE1_CFLAGS)" clean
31159 @endif libiberty-bootstrap
31162 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31163 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31164 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31166 maybe-configure-stage1-zlib:
31167 maybe-all-stage1-zlib:
31168 maybe-clean-stage1-zlib:
31170 @if zlib-bootstrap
31171 maybe-configure-stage1-zlib: configure-stage1-zlib
31172 configure-stage1-zlib:
31173 @$(MAKE) stage1-start
31174 @[ -f zlib/Makefile ] && exit 0 || : ; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(HOST_EXPORTS) \
31178 echo Configuring stage 1 in zlib ; \
31179 cd zlib || exit 1; \
31180 case $(srcdir) in \
31181 \.) \
31182 srcdiroption="--srcdir=."; \
31183 libsrcdir=".";; \
31184 /* | [A-Za-z]:[\\/]*) \
31185 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31186 libsrcdir="$$s/zlib";; \
31187 *) \
31188 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31189 libsrcdir="$$s/zlib";; \
31190 esac; \
31191 $(SHELL) $${libsrcdir}/configure \
31192 $(HOST_CONFIGARGS) $${srcdiroption} \
31193 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31195 maybe-all-stage1-zlib: all-stage1-zlib
31196 all-stage1-zlib: configure-stage1-zlib
31197 @$(MAKE) stage1-start
31198 @r=`${PWD_COMMAND}`; export r; \
31199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31200 $(HOST_EXPORTS) \
31201 cd zlib && \
31202 $(MAKE) $(FLAGS_TO_PASS) \
31203 CFLAGS="$(STAGE1_CFLAGS)"
31205 maybe-clean-stage1-zlib: clean-stage1-zlib
31206 clean-stage1-zlib:
31207 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31208 || exit 0 ; \
31209 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31210 cd zlib && \
31211 $(MAKE) $(FLAGS_TO_PASS) \
31212 CFLAGS="$(STAGE1_CFLAGS)" clean
31213 @endif zlib-bootstrap
31217 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31218 # only possibility, but now it conflicts with no-bootstrap rules
31219 @if gcc-bootstrap
31224 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31226 .PHONY: distclean-stage1
31227 distclean-stage1::
31228 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31229 rm -rf stage1-*
31232 @endif gcc-bootstrap
31235 .PHONY: stage2-start stage2-end
31237 stage2-start::
31238 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31239 echo stage2 > stage_current ; \
31240 echo stage2 > stage_last
31241 @if bfd
31242 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31243 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31244 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31245 @endif bfd
31246 @if opcodes
31247 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31248 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31249 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31250 @endif opcodes
31251 @if binutils
31252 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31253 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31254 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31255 @endif binutils
31256 @if gas
31257 @[ -d stage2-gas ] || mkdir stage2-gas; \
31258 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31259 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31260 @endif gas
31261 @if gcc
31262 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31263 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31264 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31265 @endif gcc
31266 @if intl
31267 @[ -d stage2-intl ] || mkdir stage2-intl; \
31268 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31269 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31270 @endif intl
31271 @if ld
31272 @[ -d stage2-ld ] || mkdir stage2-ld; \
31273 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31274 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31275 @endif ld
31276 @if libcpp
31277 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31278 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31279 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31280 @endif libcpp
31281 @if libiberty
31282 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31283 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31284 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31285 @endif libiberty
31286 @if zlib
31287 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31288 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31289 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31290 @endif zlib
31292 stage2-end::
31293 @rm -f stage_current
31294 @if bfd
31295 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31296 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31297 @endif bfd
31298 @if opcodes
31299 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31300 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31301 @endif opcodes
31302 @if binutils
31303 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31304 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31305 @endif binutils
31306 @if gas
31307 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31308 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31309 @endif gas
31310 @if gcc
31311 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31312 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31313 @endif gcc
31314 @if intl
31315 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31316 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31317 @endif intl
31318 @if ld
31319 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31320 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31321 @endif ld
31322 @if libcpp
31323 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31324 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31325 @endif libcpp
31326 @if libiberty
31327 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31328 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31329 @endif libiberty
31330 @if zlib
31331 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31332 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31333 @endif zlib
31335 # Bubble a bugfix through all the stages up to stage 2. They
31336 # are remade, but not reconfigured. The next stage (if any) will not
31337 # be reconfigured as well.
31338 .PHONY: stage2-bubble
31339 stage2-bubble:: stage1-bubble
31340 @if test -f stage2-lean || test -f stage1-lean ; then \
31341 echo Skipping rebuild of stage2 ; \
31342 else \
31343 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31346 .PHONY: all-stage2 clean-stage2
31347 all-stage2: \
31348 maybe-all-stage2-bfd \
31349 maybe-all-stage2-opcodes \
31350 maybe-all-stage2-binutils \
31351 maybe-all-stage2-gas \
31352 maybe-all-stage2-gcc \
31353 maybe-all-stage2-intl \
31354 maybe-all-stage2-ld \
31355 maybe-all-stage2-libcpp \
31356 maybe-all-stage2-libiberty \
31357 maybe-all-stage2-zlib
31359 do-clean: clean-stage2
31360 clean-stage2: \
31361 maybe-clean-stage2-bfd \
31362 maybe-clean-stage2-opcodes \
31363 maybe-clean-stage2-binutils \
31364 maybe-clean-stage2-gas \
31365 maybe-clean-stage2-gcc \
31366 maybe-clean-stage2-intl \
31367 maybe-clean-stage2-ld \
31368 maybe-clean-stage2-libcpp \
31369 maybe-clean-stage2-libiberty \
31370 maybe-clean-stage2-zlib
31373 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31374 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31375 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31377 maybe-configure-stage2-bfd:
31378 maybe-all-stage2-bfd:
31379 maybe-clean-stage2-bfd:
31381 @if bfd-bootstrap
31382 maybe-configure-stage2-bfd: configure-stage2-bfd
31383 configure-stage2-bfd:
31384 @$(MAKE) stage2-start
31385 @[ -f bfd/Makefile ] && exit 0 || : ; \
31386 r=`${PWD_COMMAND}`; export r; \
31387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31388 $(STAGE_HOST_EXPORTS) \
31389 echo Configuring stage 2 in bfd ; \
31390 cd bfd || exit 1; \
31391 case $(srcdir) in \
31392 \.) \
31393 srcdiroption="--srcdir=."; \
31394 libsrcdir=".";; \
31395 /* | [A-Za-z]:[\\/]*) \
31396 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31397 libsrcdir="$$s/bfd";; \
31398 *) \
31399 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31400 libsrcdir="$$s/bfd";; \
31401 esac; \
31402 $(SHELL) $${libsrcdir}/configure \
31403 $(HOST_CONFIGARGS) $${srcdiroption} \
31404 @stage2_werror_flag@
31406 maybe-all-stage2-bfd: all-stage2-bfd
31407 all-stage2-bfd: configure-stage2-bfd
31408 @$(MAKE) stage2-start
31409 @r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(STAGE_HOST_EXPORTS) \
31412 cd bfd && \
31413 $(MAKE) $(FLAGS_TO_PASS) \
31414 $(POSTSTAGE1_FLAGS_TO_PASS) \
31417 maybe-clean-stage2-bfd: clean-stage2-bfd
31418 clean-stage2-bfd:
31419 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31420 || exit 0 ; \
31421 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31422 cd bfd && \
31423 $(MAKE) $(FLAGS_TO_PASS) \
31424 $(POSTSTAGE1_FLAGS_TO_PASS) \
31425 clean
31426 @endif bfd-bootstrap
31429 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31430 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31431 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31433 maybe-configure-stage2-opcodes:
31434 maybe-all-stage2-opcodes:
31435 maybe-clean-stage2-opcodes:
31437 @if opcodes-bootstrap
31438 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31439 configure-stage2-opcodes:
31440 @$(MAKE) stage2-start
31441 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31442 r=`${PWD_COMMAND}`; export r; \
31443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31444 $(STAGE_HOST_EXPORTS) \
31445 echo Configuring stage 2 in opcodes ; \
31446 cd opcodes || exit 1; \
31447 case $(srcdir) in \
31448 \.) \
31449 srcdiroption="--srcdir=."; \
31450 libsrcdir=".";; \
31451 /* | [A-Za-z]:[\\/]*) \
31452 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31453 libsrcdir="$$s/opcodes";; \
31454 *) \
31455 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31456 libsrcdir="$$s/opcodes";; \
31457 esac; \
31458 $(SHELL) $${libsrcdir}/configure \
31459 $(HOST_CONFIGARGS) $${srcdiroption} \
31460 @stage2_werror_flag@
31462 maybe-all-stage2-opcodes: all-stage2-opcodes
31463 all-stage2-opcodes: configure-stage2-opcodes
31464 @$(MAKE) stage2-start
31465 @r=`${PWD_COMMAND}`; export r; \
31466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31467 $(STAGE_HOST_EXPORTS) \
31468 cd opcodes && \
31469 $(MAKE) $(FLAGS_TO_PASS) \
31470 $(POSTSTAGE1_FLAGS_TO_PASS) \
31473 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31474 clean-stage2-opcodes:
31475 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31476 || exit 0 ; \
31477 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31478 cd opcodes && \
31479 $(MAKE) $(FLAGS_TO_PASS) \
31480 $(POSTSTAGE1_FLAGS_TO_PASS) \
31481 clean
31482 @endif opcodes-bootstrap
31485 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31486 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31487 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31489 maybe-configure-stage2-binutils:
31490 maybe-all-stage2-binutils:
31491 maybe-clean-stage2-binutils:
31493 @if binutils-bootstrap
31494 maybe-configure-stage2-binutils: configure-stage2-binutils
31495 configure-stage2-binutils:
31496 @$(MAKE) stage2-start
31497 @[ -f binutils/Makefile ] && exit 0 || : ; \
31498 r=`${PWD_COMMAND}`; export r; \
31499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31500 $(STAGE_HOST_EXPORTS) \
31501 echo Configuring stage 2 in binutils ; \
31502 cd binutils || exit 1; \
31503 case $(srcdir) in \
31504 \.) \
31505 srcdiroption="--srcdir=."; \
31506 libsrcdir=".";; \
31507 /* | [A-Za-z]:[\\/]*) \
31508 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31509 libsrcdir="$$s/binutils";; \
31510 *) \
31511 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31512 libsrcdir="$$s/binutils";; \
31513 esac; \
31514 $(SHELL) $${libsrcdir}/configure \
31515 $(HOST_CONFIGARGS) $${srcdiroption} \
31516 @stage2_werror_flag@
31518 maybe-all-stage2-binutils: all-stage2-binutils
31519 all-stage2-binutils: configure-stage2-binutils
31520 @$(MAKE) stage2-start
31521 @r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(STAGE_HOST_EXPORTS) \
31524 cd binutils && \
31525 $(MAKE) $(FLAGS_TO_PASS) \
31526 $(POSTSTAGE1_FLAGS_TO_PASS) \
31529 maybe-clean-stage2-binutils: clean-stage2-binutils
31530 clean-stage2-binutils:
31531 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31532 || exit 0 ; \
31533 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31534 cd binutils && \
31535 $(MAKE) $(FLAGS_TO_PASS) \
31536 $(POSTSTAGE1_FLAGS_TO_PASS) \
31537 clean
31538 @endif binutils-bootstrap
31541 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31542 .PHONY: all-stage2-gas maybe-all-stage2-gas
31543 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31545 maybe-configure-stage2-gas:
31546 maybe-all-stage2-gas:
31547 maybe-clean-stage2-gas:
31549 @if gas-bootstrap
31550 maybe-configure-stage2-gas: configure-stage2-gas
31551 configure-stage2-gas:
31552 @$(MAKE) stage2-start
31553 @[ -f gas/Makefile ] && exit 0 || : ; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(STAGE_HOST_EXPORTS) \
31557 echo Configuring stage 2 in gas ; \
31558 cd gas || exit 1; \
31559 case $(srcdir) in \
31560 \.) \
31561 srcdiroption="--srcdir=."; \
31562 libsrcdir=".";; \
31563 /* | [A-Za-z]:[\\/]*) \
31564 srcdiroption="--srcdir=$(srcdir)/gas"; \
31565 libsrcdir="$$s/gas";; \
31566 *) \
31567 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31568 libsrcdir="$$s/gas";; \
31569 esac; \
31570 $(SHELL) $${libsrcdir}/configure \
31571 $(HOST_CONFIGARGS) $${srcdiroption} \
31572 @stage2_werror_flag@
31574 maybe-all-stage2-gas: all-stage2-gas
31575 all-stage2-gas: configure-stage2-gas
31576 @$(MAKE) stage2-start
31577 @r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(STAGE_HOST_EXPORTS) \
31580 cd gas && \
31581 $(MAKE) $(FLAGS_TO_PASS) \
31582 $(POSTSTAGE1_FLAGS_TO_PASS) \
31585 maybe-clean-stage2-gas: clean-stage2-gas
31586 clean-stage2-gas:
31587 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31588 || exit 0 ; \
31589 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31590 cd gas && \
31591 $(MAKE) $(FLAGS_TO_PASS) \
31592 $(POSTSTAGE1_FLAGS_TO_PASS) \
31593 clean
31594 @endif gas-bootstrap
31597 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31598 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31599 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31601 maybe-configure-stage2-gcc:
31602 maybe-all-stage2-gcc:
31603 maybe-clean-stage2-gcc:
31605 @if gcc-bootstrap
31606 maybe-configure-stage2-gcc: configure-stage2-gcc
31607 configure-stage2-gcc:
31608 @$(MAKE) stage2-start
31609 @[ -f gcc/Makefile ] && exit 0 || : ; \
31610 r=`${PWD_COMMAND}`; export r; \
31611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31612 $(STAGE_HOST_EXPORTS) \
31613 echo Configuring stage 2 in gcc ; \
31614 cd gcc || exit 1; \
31615 case $(srcdir) in \
31616 \.) \
31617 srcdiroption="--srcdir=."; \
31618 libsrcdir=".";; \
31619 /* | [A-Za-z]:[\\/]*) \
31620 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31621 libsrcdir="$$s/gcc";; \
31622 *) \
31623 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31624 libsrcdir="$$s/gcc";; \
31625 esac; \
31626 $(SHELL) $${libsrcdir}/configure \
31627 $(HOST_CONFIGARGS) $${srcdiroption} \
31628 @stage2_werror_flag@
31630 maybe-all-stage2-gcc: all-stage2-gcc
31631 all-stage2-gcc: configure-stage2-gcc
31632 @$(MAKE) stage2-start
31633 @r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(STAGE_HOST_EXPORTS) \
31636 cd gcc && \
31637 $(MAKE) $(FLAGS_TO_PASS) \
31638 $(POSTSTAGE1_FLAGS_TO_PASS) \
31639 $(EXTRA_GCC_FLAGS)
31641 maybe-clean-stage2-gcc: clean-stage2-gcc
31642 clean-stage2-gcc:
31643 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31644 || exit 0 ; \
31645 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31646 cd gcc && \
31647 $(MAKE) $(FLAGS_TO_PASS) \
31648 $(POSTSTAGE1_FLAGS_TO_PASS) \
31649 $(EXTRA_GCC_FLAGS) clean
31650 @endif gcc-bootstrap
31653 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31654 .PHONY: all-stage2-intl maybe-all-stage2-intl
31655 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31657 maybe-configure-stage2-intl:
31658 maybe-all-stage2-intl:
31659 maybe-clean-stage2-intl:
31661 @if intl-bootstrap
31662 maybe-configure-stage2-intl: configure-stage2-intl
31663 configure-stage2-intl:
31664 @$(MAKE) stage2-start
31665 @[ -f intl/Makefile ] && exit 0 || : ; \
31666 r=`${PWD_COMMAND}`; export r; \
31667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31668 $(STAGE_HOST_EXPORTS) \
31669 echo Configuring stage 2 in intl ; \
31670 cd intl || exit 1; \
31671 case $(srcdir) in \
31672 \.) \
31673 srcdiroption="--srcdir=."; \
31674 libsrcdir=".";; \
31675 /* | [A-Za-z]:[\\/]*) \
31676 srcdiroption="--srcdir=$(srcdir)/intl"; \
31677 libsrcdir="$$s/intl";; \
31678 *) \
31679 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31680 libsrcdir="$$s/intl";; \
31681 esac; \
31682 $(SHELL) $${libsrcdir}/configure \
31683 $(HOST_CONFIGARGS) $${srcdiroption} \
31684 @stage2_werror_flag@
31686 maybe-all-stage2-intl: all-stage2-intl
31687 all-stage2-intl: configure-stage2-intl
31688 @$(MAKE) stage2-start
31689 @r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(STAGE_HOST_EXPORTS) \
31692 cd intl && \
31693 $(MAKE) $(FLAGS_TO_PASS) \
31694 $(POSTSTAGE1_FLAGS_TO_PASS) \
31697 maybe-clean-stage2-intl: clean-stage2-intl
31698 clean-stage2-intl:
31699 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31700 || exit 0 ; \
31701 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31702 cd intl && \
31703 $(MAKE) $(FLAGS_TO_PASS) \
31704 $(POSTSTAGE1_FLAGS_TO_PASS) \
31705 clean
31706 @endif intl-bootstrap
31709 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31710 .PHONY: all-stage2-ld maybe-all-stage2-ld
31711 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31713 maybe-configure-stage2-ld:
31714 maybe-all-stage2-ld:
31715 maybe-clean-stage2-ld:
31717 @if ld-bootstrap
31718 maybe-configure-stage2-ld: configure-stage2-ld
31719 configure-stage2-ld:
31720 @$(MAKE) stage2-start
31721 @[ -f ld/Makefile ] && exit 0 || : ; \
31722 r=`${PWD_COMMAND}`; export r; \
31723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31724 $(STAGE_HOST_EXPORTS) \
31725 echo Configuring stage 2 in ld ; \
31726 cd ld || exit 1; \
31727 case $(srcdir) in \
31728 \.) \
31729 srcdiroption="--srcdir=."; \
31730 libsrcdir=".";; \
31731 /* | [A-Za-z]:[\\/]*) \
31732 srcdiroption="--srcdir=$(srcdir)/ld"; \
31733 libsrcdir="$$s/ld";; \
31734 *) \
31735 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31736 libsrcdir="$$s/ld";; \
31737 esac; \
31738 $(SHELL) $${libsrcdir}/configure \
31739 $(HOST_CONFIGARGS) $${srcdiroption} \
31740 @stage2_werror_flag@
31742 maybe-all-stage2-ld: all-stage2-ld
31743 all-stage2-ld: configure-stage2-ld
31744 @$(MAKE) stage2-start
31745 @r=`${PWD_COMMAND}`; export r; \
31746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31747 $(STAGE_HOST_EXPORTS) \
31748 cd ld && \
31749 $(MAKE) $(FLAGS_TO_PASS) \
31750 $(POSTSTAGE1_FLAGS_TO_PASS) \
31753 maybe-clean-stage2-ld: clean-stage2-ld
31754 clean-stage2-ld:
31755 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31756 || exit 0 ; \
31757 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31758 cd ld && \
31759 $(MAKE) $(FLAGS_TO_PASS) \
31760 $(POSTSTAGE1_FLAGS_TO_PASS) \
31761 clean
31762 @endif ld-bootstrap
31765 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31766 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31767 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31769 maybe-configure-stage2-libcpp:
31770 maybe-all-stage2-libcpp:
31771 maybe-clean-stage2-libcpp:
31773 @if libcpp-bootstrap
31774 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31775 configure-stage2-libcpp:
31776 @$(MAKE) stage2-start
31777 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31778 r=`${PWD_COMMAND}`; export r; \
31779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31780 $(STAGE_HOST_EXPORTS) \
31781 echo Configuring stage 2 in libcpp ; \
31782 cd libcpp || exit 1; \
31783 case $(srcdir) in \
31784 \.) \
31785 srcdiroption="--srcdir=."; \
31786 libsrcdir=".";; \
31787 /* | [A-Za-z]:[\\/]*) \
31788 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31789 libsrcdir="$$s/libcpp";; \
31790 *) \
31791 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31792 libsrcdir="$$s/libcpp";; \
31793 esac; \
31794 $(SHELL) $${libsrcdir}/configure \
31795 $(HOST_CONFIGARGS) $${srcdiroption} \
31796 @stage2_werror_flag@
31798 maybe-all-stage2-libcpp: all-stage2-libcpp
31799 all-stage2-libcpp: configure-stage2-libcpp
31800 @$(MAKE) stage2-start
31801 @r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 $(STAGE_HOST_EXPORTS) \
31804 cd libcpp && \
31805 $(MAKE) $(FLAGS_TO_PASS) \
31806 $(POSTSTAGE1_FLAGS_TO_PASS) \
31809 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31810 clean-stage2-libcpp:
31811 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31812 || exit 0 ; \
31813 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31814 cd libcpp && \
31815 $(MAKE) $(FLAGS_TO_PASS) \
31816 $(POSTSTAGE1_FLAGS_TO_PASS) \
31817 clean
31818 @endif libcpp-bootstrap
31821 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31822 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31823 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31825 maybe-configure-stage2-libiberty:
31826 maybe-all-stage2-libiberty:
31827 maybe-clean-stage2-libiberty:
31829 @if libiberty-bootstrap
31830 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31831 configure-stage2-libiberty:
31832 @$(MAKE) stage2-start
31833 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31834 r=`${PWD_COMMAND}`; export r; \
31835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31836 $(STAGE_HOST_EXPORTS) \
31837 echo Configuring stage 2 in libiberty ; \
31838 cd libiberty || exit 1; \
31839 case $(srcdir) in \
31840 \.) \
31841 srcdiroption="--srcdir=."; \
31842 libsrcdir=".";; \
31843 /* | [A-Za-z]:[\\/]*) \
31844 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31845 libsrcdir="$$s/libiberty";; \
31846 *) \
31847 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31848 libsrcdir="$$s/libiberty";; \
31849 esac; \
31850 $(SHELL) $${libsrcdir}/configure \
31851 $(HOST_CONFIGARGS) $${srcdiroption} \
31852 @stage2_werror_flag@
31854 maybe-all-stage2-libiberty: all-stage2-libiberty
31855 all-stage2-libiberty: configure-stage2-libiberty
31856 @$(MAKE) stage2-start
31857 @r=`${PWD_COMMAND}`; export r; \
31858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31859 $(STAGE_HOST_EXPORTS) \
31860 cd libiberty && \
31861 $(MAKE) $(FLAGS_TO_PASS) \
31862 $(POSTSTAGE1_FLAGS_TO_PASS) \
31865 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31866 clean-stage2-libiberty:
31867 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31868 || exit 0 ; \
31869 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31870 cd libiberty && \
31871 $(MAKE) $(FLAGS_TO_PASS) \
31872 $(POSTSTAGE1_FLAGS_TO_PASS) \
31873 clean
31874 @endif libiberty-bootstrap
31877 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31878 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31879 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31881 maybe-configure-stage2-zlib:
31882 maybe-all-stage2-zlib:
31883 maybe-clean-stage2-zlib:
31885 @if zlib-bootstrap
31886 maybe-configure-stage2-zlib: configure-stage2-zlib
31887 configure-stage2-zlib:
31888 @$(MAKE) stage2-start
31889 @[ -f zlib/Makefile ] && exit 0 || : ; \
31890 r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(STAGE_HOST_EXPORTS) \
31893 echo Configuring stage 2 in zlib ; \
31894 cd zlib || exit 1; \
31895 case $(srcdir) in \
31896 \.) \
31897 srcdiroption="--srcdir=."; \
31898 libsrcdir=".";; \
31899 /* | [A-Za-z]:[\\/]*) \
31900 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31901 libsrcdir="$$s/zlib";; \
31902 *) \
31903 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31904 libsrcdir="$$s/zlib";; \
31905 esac; \
31906 $(SHELL) $${libsrcdir}/configure \
31907 $(HOST_CONFIGARGS) $${srcdiroption} \
31908 @stage2_werror_flag@
31910 maybe-all-stage2-zlib: all-stage2-zlib
31911 all-stage2-zlib: configure-stage2-zlib
31912 @$(MAKE) stage2-start
31913 @r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 $(STAGE_HOST_EXPORTS) \
31916 cd zlib && \
31917 $(MAKE) $(FLAGS_TO_PASS) \
31918 $(POSTSTAGE1_FLAGS_TO_PASS) \
31921 maybe-clean-stage2-zlib: clean-stage2-zlib
31922 clean-stage2-zlib:
31923 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31924 || exit 0 ; \
31925 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31926 cd zlib && \
31927 $(MAKE) $(FLAGS_TO_PASS) \
31928 $(POSTSTAGE1_FLAGS_TO_PASS) \
31929 clean
31930 @endif zlib-bootstrap
31934 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31935 # only possibility, but now it conflicts with no-bootstrap rules
31936 @if gcc-bootstrap
31940 .PHONY: bootstrap2
31941 bootstrap2: stage2-bubble all
31944 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31945 distclean-stage1:: distclean-stage2
31946 .PHONY: distclean-stage2
31947 distclean-stage2::
31948 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31949 rm -rf stage2-*
31952 @endif gcc-bootstrap
31955 .PHONY: stage3-start stage3-end
31957 stage3-start::
31958 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31959 echo stage3 > stage_current ; \
31960 echo stage3 > stage_last
31961 @if bfd
31962 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31963 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31964 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31965 @endif bfd
31966 @if opcodes
31967 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31968 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31969 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31970 @endif opcodes
31971 @if binutils
31972 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31973 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31974 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31975 @endif binutils
31976 @if gas
31977 @[ -d stage3-gas ] || mkdir stage3-gas; \
31978 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31979 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31980 @endif gas
31981 @if gcc
31982 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31983 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31984 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31985 @endif gcc
31986 @if intl
31987 @[ -d stage3-intl ] || mkdir stage3-intl; \
31988 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31989 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31990 @endif intl
31991 @if ld
31992 @[ -d stage3-ld ] || mkdir stage3-ld; \
31993 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31994 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31995 @endif ld
31996 @if libcpp
31997 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
31998 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31999 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32000 @endif libcpp
32001 @if libiberty
32002 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32003 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32004 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32005 @endif libiberty
32006 @if zlib
32007 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32008 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32009 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32010 @endif zlib
32012 stage3-end::
32013 @rm -f stage_current
32014 @if bfd
32015 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32016 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32017 @endif bfd
32018 @if opcodes
32019 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32020 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32021 @endif opcodes
32022 @if binutils
32023 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32024 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32025 @endif binutils
32026 @if gas
32027 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32028 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32029 @endif gas
32030 @if gcc
32031 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32032 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32033 @endif gcc
32034 @if intl
32035 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32036 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32037 @endif intl
32038 @if ld
32039 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32040 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32041 @endif ld
32042 @if libcpp
32043 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32044 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32045 @endif libcpp
32046 @if libiberty
32047 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32048 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32049 @endif libiberty
32050 @if zlib
32051 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32052 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32053 @endif zlib
32055 # Bubble a bugfix through all the stages up to stage 3. They
32056 # are remade, but not reconfigured. The next stage (if any) will not
32057 # be reconfigured as well.
32058 .PHONY: stage3-bubble
32059 stage3-bubble:: stage2-bubble
32060 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32061 @if test -f stage3-lean || test -f stage2-lean ; then \
32062 echo Skipping rebuild of stage3 ; \
32063 else \
32064 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32067 .PHONY: all-stage3 clean-stage3
32068 all-stage3: \
32069 maybe-all-stage3-bfd \
32070 maybe-all-stage3-opcodes \
32071 maybe-all-stage3-binutils \
32072 maybe-all-stage3-gas \
32073 maybe-all-stage3-gcc \
32074 maybe-all-stage3-intl \
32075 maybe-all-stage3-ld \
32076 maybe-all-stage3-libcpp \
32077 maybe-all-stage3-libiberty \
32078 maybe-all-stage3-zlib
32080 do-clean: clean-stage3
32081 clean-stage3: \
32082 maybe-clean-stage3-bfd \
32083 maybe-clean-stage3-opcodes \
32084 maybe-clean-stage3-binutils \
32085 maybe-clean-stage3-gas \
32086 maybe-clean-stage3-gcc \
32087 maybe-clean-stage3-intl \
32088 maybe-clean-stage3-ld \
32089 maybe-clean-stage3-libcpp \
32090 maybe-clean-stage3-libiberty \
32091 maybe-clean-stage3-zlib
32094 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32095 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32096 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32098 maybe-configure-stage3-bfd:
32099 maybe-all-stage3-bfd:
32100 maybe-clean-stage3-bfd:
32102 @if bfd-bootstrap
32103 maybe-configure-stage3-bfd: configure-stage3-bfd
32104 configure-stage3-bfd:
32105 @$(MAKE) stage3-start
32106 @[ -f bfd/Makefile ] && exit 0 || : ; \
32107 r=`${PWD_COMMAND}`; export r; \
32108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32109 $(STAGE_HOST_EXPORTS) \
32110 echo Configuring stage 3 in bfd ; \
32111 cd bfd || exit 1; \
32112 case $(srcdir) in \
32113 \.) \
32114 srcdiroption="--srcdir=."; \
32115 libsrcdir=".";; \
32116 /* | [A-Za-z]:[\\/]*) \
32117 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32118 libsrcdir="$$s/bfd";; \
32119 *) \
32120 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32121 libsrcdir="$$s/bfd";; \
32122 esac; \
32123 $(SHELL) $${libsrcdir}/configure \
32124 $(HOST_CONFIGARGS) $${srcdiroption} \
32125 @stage2_werror_flag@
32127 maybe-all-stage3-bfd: all-stage3-bfd
32128 all-stage3-bfd: configure-stage3-bfd
32129 @$(MAKE) stage3-start
32130 @r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(STAGE_HOST_EXPORTS) \
32133 cd bfd && \
32134 $(MAKE) $(FLAGS_TO_PASS) \
32135 $(POSTSTAGE1_FLAGS_TO_PASS) \
32138 maybe-clean-stage3-bfd: clean-stage3-bfd
32139 clean-stage3-bfd:
32140 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32141 || exit 0 ; \
32142 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32143 cd bfd && \
32144 $(MAKE) $(FLAGS_TO_PASS) \
32145 $(POSTSTAGE1_FLAGS_TO_PASS) \
32146 clean
32147 @endif bfd-bootstrap
32150 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32151 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32152 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32154 maybe-configure-stage3-opcodes:
32155 maybe-all-stage3-opcodes:
32156 maybe-clean-stage3-opcodes:
32158 @if opcodes-bootstrap
32159 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32160 configure-stage3-opcodes:
32161 @$(MAKE) stage3-start
32162 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32163 r=`${PWD_COMMAND}`; export r; \
32164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32165 $(STAGE_HOST_EXPORTS) \
32166 echo Configuring stage 3 in opcodes ; \
32167 cd opcodes || exit 1; \
32168 case $(srcdir) in \
32169 \.) \
32170 srcdiroption="--srcdir=."; \
32171 libsrcdir=".";; \
32172 /* | [A-Za-z]:[\\/]*) \
32173 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32174 libsrcdir="$$s/opcodes";; \
32175 *) \
32176 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32177 libsrcdir="$$s/opcodes";; \
32178 esac; \
32179 $(SHELL) $${libsrcdir}/configure \
32180 $(HOST_CONFIGARGS) $${srcdiroption} \
32181 @stage2_werror_flag@
32183 maybe-all-stage3-opcodes: all-stage3-opcodes
32184 all-stage3-opcodes: configure-stage3-opcodes
32185 @$(MAKE) stage3-start
32186 @r=`${PWD_COMMAND}`; export r; \
32187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32188 $(STAGE_HOST_EXPORTS) \
32189 cd opcodes && \
32190 $(MAKE) $(FLAGS_TO_PASS) \
32191 $(POSTSTAGE1_FLAGS_TO_PASS) \
32194 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32195 clean-stage3-opcodes:
32196 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32197 || exit 0 ; \
32198 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32199 cd opcodes && \
32200 $(MAKE) $(FLAGS_TO_PASS) \
32201 $(POSTSTAGE1_FLAGS_TO_PASS) \
32202 clean
32203 @endif opcodes-bootstrap
32206 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32207 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32208 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32210 maybe-configure-stage3-binutils:
32211 maybe-all-stage3-binutils:
32212 maybe-clean-stage3-binutils:
32214 @if binutils-bootstrap
32215 maybe-configure-stage3-binutils: configure-stage3-binutils
32216 configure-stage3-binutils:
32217 @$(MAKE) stage3-start
32218 @[ -f binutils/Makefile ] && exit 0 || : ; \
32219 r=`${PWD_COMMAND}`; export r; \
32220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32221 $(STAGE_HOST_EXPORTS) \
32222 echo Configuring stage 3 in binutils ; \
32223 cd binutils || exit 1; \
32224 case $(srcdir) in \
32225 \.) \
32226 srcdiroption="--srcdir=."; \
32227 libsrcdir=".";; \
32228 /* | [A-Za-z]:[\\/]*) \
32229 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32230 libsrcdir="$$s/binutils";; \
32231 *) \
32232 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32233 libsrcdir="$$s/binutils";; \
32234 esac; \
32235 $(SHELL) $${libsrcdir}/configure \
32236 $(HOST_CONFIGARGS) $${srcdiroption} \
32237 @stage2_werror_flag@
32239 maybe-all-stage3-binutils: all-stage3-binutils
32240 all-stage3-binutils: configure-stage3-binutils
32241 @$(MAKE) stage3-start
32242 @r=`${PWD_COMMAND}`; export r; \
32243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32244 $(STAGE_HOST_EXPORTS) \
32245 cd binutils && \
32246 $(MAKE) $(FLAGS_TO_PASS) \
32247 $(POSTSTAGE1_FLAGS_TO_PASS) \
32250 maybe-clean-stage3-binutils: clean-stage3-binutils
32251 clean-stage3-binutils:
32252 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32253 || exit 0 ; \
32254 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32255 cd binutils && \
32256 $(MAKE) $(FLAGS_TO_PASS) \
32257 $(POSTSTAGE1_FLAGS_TO_PASS) \
32258 clean
32259 @endif binutils-bootstrap
32262 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32263 .PHONY: all-stage3-gas maybe-all-stage3-gas
32264 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32266 maybe-configure-stage3-gas:
32267 maybe-all-stage3-gas:
32268 maybe-clean-stage3-gas:
32270 @if gas-bootstrap
32271 maybe-configure-stage3-gas: configure-stage3-gas
32272 configure-stage3-gas:
32273 @$(MAKE) stage3-start
32274 @[ -f gas/Makefile ] && exit 0 || : ; \
32275 r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 $(STAGE_HOST_EXPORTS) \
32278 echo Configuring stage 3 in gas ; \
32279 cd gas || exit 1; \
32280 case $(srcdir) in \
32281 \.) \
32282 srcdiroption="--srcdir=."; \
32283 libsrcdir=".";; \
32284 /* | [A-Za-z]:[\\/]*) \
32285 srcdiroption="--srcdir=$(srcdir)/gas"; \
32286 libsrcdir="$$s/gas";; \
32287 *) \
32288 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32289 libsrcdir="$$s/gas";; \
32290 esac; \
32291 $(SHELL) $${libsrcdir}/configure \
32292 $(HOST_CONFIGARGS) $${srcdiroption} \
32293 @stage2_werror_flag@
32295 maybe-all-stage3-gas: all-stage3-gas
32296 all-stage3-gas: configure-stage3-gas
32297 @$(MAKE) stage3-start
32298 @r=`${PWD_COMMAND}`; export r; \
32299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32300 $(STAGE_HOST_EXPORTS) \
32301 cd gas && \
32302 $(MAKE) $(FLAGS_TO_PASS) \
32303 $(POSTSTAGE1_FLAGS_TO_PASS) \
32306 maybe-clean-stage3-gas: clean-stage3-gas
32307 clean-stage3-gas:
32308 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32309 || exit 0 ; \
32310 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32311 cd gas && \
32312 $(MAKE) $(FLAGS_TO_PASS) \
32313 $(POSTSTAGE1_FLAGS_TO_PASS) \
32314 clean
32315 @endif gas-bootstrap
32318 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32319 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32320 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32322 maybe-configure-stage3-gcc:
32323 maybe-all-stage3-gcc:
32324 maybe-clean-stage3-gcc:
32326 @if gcc-bootstrap
32327 maybe-configure-stage3-gcc: configure-stage3-gcc
32328 configure-stage3-gcc:
32329 @$(MAKE) stage3-start
32330 @[ -f gcc/Makefile ] && exit 0 || : ; \
32331 r=`${PWD_COMMAND}`; export r; \
32332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32333 $(STAGE_HOST_EXPORTS) \
32334 echo Configuring stage 3 in gcc ; \
32335 cd gcc || exit 1; \
32336 case $(srcdir) in \
32337 \.) \
32338 srcdiroption="--srcdir=."; \
32339 libsrcdir=".";; \
32340 /* | [A-Za-z]:[\\/]*) \
32341 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32342 libsrcdir="$$s/gcc";; \
32343 *) \
32344 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32345 libsrcdir="$$s/gcc";; \
32346 esac; \
32347 $(SHELL) $${libsrcdir}/configure \
32348 $(HOST_CONFIGARGS) $${srcdiroption} \
32349 @stage2_werror_flag@
32351 maybe-all-stage3-gcc: all-stage3-gcc
32352 all-stage3-gcc: configure-stage3-gcc
32353 @$(MAKE) stage3-start
32354 @r=`${PWD_COMMAND}`; export r; \
32355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32356 $(STAGE_HOST_EXPORTS) \
32357 cd gcc && \
32358 $(MAKE) $(FLAGS_TO_PASS) \
32359 $(POSTSTAGE1_FLAGS_TO_PASS) \
32360 $(EXTRA_GCC_FLAGS)
32362 maybe-clean-stage3-gcc: clean-stage3-gcc
32363 clean-stage3-gcc:
32364 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32365 || exit 0 ; \
32366 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32367 cd gcc && \
32368 $(MAKE) $(FLAGS_TO_PASS) \
32369 $(POSTSTAGE1_FLAGS_TO_PASS) \
32370 $(EXTRA_GCC_FLAGS) clean
32371 @endif gcc-bootstrap
32374 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32375 .PHONY: all-stage3-intl maybe-all-stage3-intl
32376 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32378 maybe-configure-stage3-intl:
32379 maybe-all-stage3-intl:
32380 maybe-clean-stage3-intl:
32382 @if intl-bootstrap
32383 maybe-configure-stage3-intl: configure-stage3-intl
32384 configure-stage3-intl:
32385 @$(MAKE) stage3-start
32386 @[ -f intl/Makefile ] && exit 0 || : ; \
32387 r=`${PWD_COMMAND}`; export r; \
32388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32389 $(STAGE_HOST_EXPORTS) \
32390 echo Configuring stage 3 in intl ; \
32391 cd intl || exit 1; \
32392 case $(srcdir) in \
32393 \.) \
32394 srcdiroption="--srcdir=."; \
32395 libsrcdir=".";; \
32396 /* | [A-Za-z]:[\\/]*) \
32397 srcdiroption="--srcdir=$(srcdir)/intl"; \
32398 libsrcdir="$$s/intl";; \
32399 *) \
32400 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32401 libsrcdir="$$s/intl";; \
32402 esac; \
32403 $(SHELL) $${libsrcdir}/configure \
32404 $(HOST_CONFIGARGS) $${srcdiroption} \
32405 @stage2_werror_flag@
32407 maybe-all-stage3-intl: all-stage3-intl
32408 all-stage3-intl: configure-stage3-intl
32409 @$(MAKE) stage3-start
32410 @r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 $(STAGE_HOST_EXPORTS) \
32413 cd intl && \
32414 $(MAKE) $(FLAGS_TO_PASS) \
32415 $(POSTSTAGE1_FLAGS_TO_PASS) \
32418 maybe-clean-stage3-intl: clean-stage3-intl
32419 clean-stage3-intl:
32420 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32421 || exit 0 ; \
32422 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32423 cd intl && \
32424 $(MAKE) $(FLAGS_TO_PASS) \
32425 $(POSTSTAGE1_FLAGS_TO_PASS) \
32426 clean
32427 @endif intl-bootstrap
32430 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32431 .PHONY: all-stage3-ld maybe-all-stage3-ld
32432 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32434 maybe-configure-stage3-ld:
32435 maybe-all-stage3-ld:
32436 maybe-clean-stage3-ld:
32438 @if ld-bootstrap
32439 maybe-configure-stage3-ld: configure-stage3-ld
32440 configure-stage3-ld:
32441 @$(MAKE) stage3-start
32442 @[ -f ld/Makefile ] && exit 0 || : ; \
32443 r=`${PWD_COMMAND}`; export r; \
32444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32445 $(STAGE_HOST_EXPORTS) \
32446 echo Configuring stage 3 in ld ; \
32447 cd ld || exit 1; \
32448 case $(srcdir) in \
32449 \.) \
32450 srcdiroption="--srcdir=."; \
32451 libsrcdir=".";; \
32452 /* | [A-Za-z]:[\\/]*) \
32453 srcdiroption="--srcdir=$(srcdir)/ld"; \
32454 libsrcdir="$$s/ld";; \
32455 *) \
32456 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32457 libsrcdir="$$s/ld";; \
32458 esac; \
32459 $(SHELL) $${libsrcdir}/configure \
32460 $(HOST_CONFIGARGS) $${srcdiroption} \
32461 @stage2_werror_flag@
32463 maybe-all-stage3-ld: all-stage3-ld
32464 all-stage3-ld: configure-stage3-ld
32465 @$(MAKE) stage3-start
32466 @r=`${PWD_COMMAND}`; export r; \
32467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32468 $(STAGE_HOST_EXPORTS) \
32469 cd ld && \
32470 $(MAKE) $(FLAGS_TO_PASS) \
32471 $(POSTSTAGE1_FLAGS_TO_PASS) \
32474 maybe-clean-stage3-ld: clean-stage3-ld
32475 clean-stage3-ld:
32476 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32477 || exit 0 ; \
32478 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32479 cd ld && \
32480 $(MAKE) $(FLAGS_TO_PASS) \
32481 $(POSTSTAGE1_FLAGS_TO_PASS) \
32482 clean
32483 @endif ld-bootstrap
32486 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32487 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32488 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32490 maybe-configure-stage3-libcpp:
32491 maybe-all-stage3-libcpp:
32492 maybe-clean-stage3-libcpp:
32494 @if libcpp-bootstrap
32495 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32496 configure-stage3-libcpp:
32497 @$(MAKE) stage3-start
32498 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32499 r=`${PWD_COMMAND}`; export r; \
32500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32501 $(STAGE_HOST_EXPORTS) \
32502 echo Configuring stage 3 in libcpp ; \
32503 cd libcpp || exit 1; \
32504 case $(srcdir) in \
32505 \.) \
32506 srcdiroption="--srcdir=."; \
32507 libsrcdir=".";; \
32508 /* | [A-Za-z]:[\\/]*) \
32509 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32510 libsrcdir="$$s/libcpp";; \
32511 *) \
32512 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32513 libsrcdir="$$s/libcpp";; \
32514 esac; \
32515 $(SHELL) $${libsrcdir}/configure \
32516 $(HOST_CONFIGARGS) $${srcdiroption} \
32517 @stage2_werror_flag@
32519 maybe-all-stage3-libcpp: all-stage3-libcpp
32520 all-stage3-libcpp: configure-stage3-libcpp
32521 @$(MAKE) stage3-start
32522 @r=`${PWD_COMMAND}`; export r; \
32523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32524 $(STAGE_HOST_EXPORTS) \
32525 cd libcpp && \
32526 $(MAKE) $(FLAGS_TO_PASS) \
32527 $(POSTSTAGE1_FLAGS_TO_PASS) \
32530 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32531 clean-stage3-libcpp:
32532 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32533 || exit 0 ; \
32534 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32535 cd libcpp && \
32536 $(MAKE) $(FLAGS_TO_PASS) \
32537 $(POSTSTAGE1_FLAGS_TO_PASS) \
32538 clean
32539 @endif libcpp-bootstrap
32542 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32543 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32544 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32546 maybe-configure-stage3-libiberty:
32547 maybe-all-stage3-libiberty:
32548 maybe-clean-stage3-libiberty:
32550 @if libiberty-bootstrap
32551 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32552 configure-stage3-libiberty:
32553 @$(MAKE) stage3-start
32554 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(STAGE_HOST_EXPORTS) \
32558 echo Configuring stage 3 in libiberty ; \
32559 cd libiberty || exit 1; \
32560 case $(srcdir) in \
32561 \.) \
32562 srcdiroption="--srcdir=."; \
32563 libsrcdir=".";; \
32564 /* | [A-Za-z]:[\\/]*) \
32565 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32566 libsrcdir="$$s/libiberty";; \
32567 *) \
32568 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32569 libsrcdir="$$s/libiberty";; \
32570 esac; \
32571 $(SHELL) $${libsrcdir}/configure \
32572 $(HOST_CONFIGARGS) $${srcdiroption} \
32573 @stage2_werror_flag@
32575 maybe-all-stage3-libiberty: all-stage3-libiberty
32576 all-stage3-libiberty: configure-stage3-libiberty
32577 @$(MAKE) stage3-start
32578 @r=`${PWD_COMMAND}`; export r; \
32579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32580 $(STAGE_HOST_EXPORTS) \
32581 cd libiberty && \
32582 $(MAKE) $(FLAGS_TO_PASS) \
32583 $(POSTSTAGE1_FLAGS_TO_PASS) \
32586 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32587 clean-stage3-libiberty:
32588 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32589 || exit 0 ; \
32590 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32591 cd libiberty && \
32592 $(MAKE) $(FLAGS_TO_PASS) \
32593 $(POSTSTAGE1_FLAGS_TO_PASS) \
32594 clean
32595 @endif libiberty-bootstrap
32598 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32599 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32600 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32602 maybe-configure-stage3-zlib:
32603 maybe-all-stage3-zlib:
32604 maybe-clean-stage3-zlib:
32606 @if zlib-bootstrap
32607 maybe-configure-stage3-zlib: configure-stage3-zlib
32608 configure-stage3-zlib:
32609 @$(MAKE) stage3-start
32610 @[ -f zlib/Makefile ] && exit 0 || : ; \
32611 r=`${PWD_COMMAND}`; export r; \
32612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32613 $(STAGE_HOST_EXPORTS) \
32614 echo Configuring stage 3 in zlib ; \
32615 cd zlib || exit 1; \
32616 case $(srcdir) in \
32617 \.) \
32618 srcdiroption="--srcdir=."; \
32619 libsrcdir=".";; \
32620 /* | [A-Za-z]:[\\/]*) \
32621 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32622 libsrcdir="$$s/zlib";; \
32623 *) \
32624 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32625 libsrcdir="$$s/zlib";; \
32626 esac; \
32627 $(SHELL) $${libsrcdir}/configure \
32628 $(HOST_CONFIGARGS) $${srcdiroption} \
32629 @stage2_werror_flag@
32631 maybe-all-stage3-zlib: all-stage3-zlib
32632 all-stage3-zlib: configure-stage3-zlib
32633 @$(MAKE) stage3-start
32634 @r=`${PWD_COMMAND}`; export r; \
32635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32636 $(STAGE_HOST_EXPORTS) \
32637 cd zlib && \
32638 $(MAKE) $(FLAGS_TO_PASS) \
32639 $(POSTSTAGE1_FLAGS_TO_PASS) \
32642 maybe-clean-stage3-zlib: clean-stage3-zlib
32643 clean-stage3-zlib:
32644 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32645 || exit 0 ; \
32646 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32647 cd zlib && \
32648 $(MAKE) $(FLAGS_TO_PASS) \
32649 $(POSTSTAGE1_FLAGS_TO_PASS) \
32650 clean
32651 @endif zlib-bootstrap
32655 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32656 # only possibility, but now it conflicts with no-bootstrap rules
32657 @if gcc-bootstrap
32659 compare:
32660 @if test -f stage2-lean; then \
32661 echo Cannot compare object files as stage 2 was deleted. ; \
32662 exit 0 ; \
32663 fi; \
32664 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32665 @r=`${PWD_COMMAND}`; export r; \
32666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32667 rm -f .bad_compare ; \
32668 cd stage3-gcc; \
32669 files=`find . -name "*$(objext)" -print` ; \
32670 cd .. ; \
32671 for file in $${files} ; do \
32672 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32673 @do_compare@ > /dev/null 2>&1; \
32674 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32675 done ; \
32676 if [ -f .bad_compare ]; then \
32677 echo "Bootstrap comparison failure!"; \
32678 cat .bad_compare; \
32679 exit 1; \
32680 else \
32681 true; \
32682 fi ; \
32683 $(STAMP) compare
32684 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32688 .PHONY: bootstrap
32689 bootstrap: stage3-bubble compare all
32692 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32693 distclean-stage2:: distclean-stage3
32694 .PHONY: distclean-stage3
32695 distclean-stage3::
32696 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32697 rm -rf stage3-* compare
32700 .PHONY: cleanstrap
32701 cleanstrap: distclean bootstrap
32703 @endif gcc-bootstrap
32706 .PHONY: stage4-start stage4-end
32708 stage4-start::
32709 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32710 echo stage4 > stage_current ; \
32711 echo stage4 > stage_last
32712 @if bfd
32713 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32714 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32715 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32716 @endif bfd
32717 @if opcodes
32718 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32719 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32720 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32721 @endif opcodes
32722 @if binutils
32723 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32724 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32725 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32726 @endif binutils
32727 @if gas
32728 @[ -d stage4-gas ] || mkdir stage4-gas; \
32729 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32730 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32731 @endif gas
32732 @if gcc
32733 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32734 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32735 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32736 @endif gcc
32737 @if intl
32738 @[ -d stage4-intl ] || mkdir stage4-intl; \
32739 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32740 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32741 @endif intl
32742 @if ld
32743 @[ -d stage4-ld ] || mkdir stage4-ld; \
32744 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32745 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32746 @endif ld
32747 @if libcpp
32748 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32749 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32750 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32751 @endif libcpp
32752 @if libiberty
32753 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32754 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32755 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32756 @endif libiberty
32757 @if zlib
32758 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32759 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32760 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32761 @endif zlib
32763 stage4-end::
32764 @rm -f stage_current
32765 @if bfd
32766 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32767 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32768 @endif bfd
32769 @if opcodes
32770 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32771 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32772 @endif opcodes
32773 @if binutils
32774 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32775 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32776 @endif binutils
32777 @if gas
32778 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32779 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32780 @endif gas
32781 @if gcc
32782 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32783 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32784 @endif gcc
32785 @if intl
32786 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32787 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32788 @endif intl
32789 @if ld
32790 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32791 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32792 @endif ld
32793 @if libcpp
32794 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32795 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32796 @endif libcpp
32797 @if libiberty
32798 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32799 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32800 @endif libiberty
32801 @if zlib
32802 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32803 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32804 @endif zlib
32806 # Bubble a bugfix through all the stages up to stage 4. They
32807 # are remade, but not reconfigured. The next stage (if any) will not
32808 # be reconfigured as well.
32809 .PHONY: stage4-bubble
32810 stage4-bubble:: stage3-bubble
32811 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32812 @if test -f stage4-lean || test -f stage3-lean ; then \
32813 echo Skipping rebuild of stage4 ; \
32814 else \
32815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32818 .PHONY: all-stage4 clean-stage4
32819 all-stage4: \
32820 maybe-all-stage4-bfd \
32821 maybe-all-stage4-opcodes \
32822 maybe-all-stage4-binutils \
32823 maybe-all-stage4-gas \
32824 maybe-all-stage4-gcc \
32825 maybe-all-stage4-intl \
32826 maybe-all-stage4-ld \
32827 maybe-all-stage4-libcpp \
32828 maybe-all-stage4-libiberty \
32829 maybe-all-stage4-zlib
32831 do-clean: clean-stage4
32832 clean-stage4: \
32833 maybe-clean-stage4-bfd \
32834 maybe-clean-stage4-opcodes \
32835 maybe-clean-stage4-binutils \
32836 maybe-clean-stage4-gas \
32837 maybe-clean-stage4-gcc \
32838 maybe-clean-stage4-intl \
32839 maybe-clean-stage4-ld \
32840 maybe-clean-stage4-libcpp \
32841 maybe-clean-stage4-libiberty \
32842 maybe-clean-stage4-zlib
32845 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32846 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32847 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32849 maybe-configure-stage4-bfd:
32850 maybe-all-stage4-bfd:
32851 maybe-clean-stage4-bfd:
32853 @if bfd-bootstrap
32854 maybe-configure-stage4-bfd: configure-stage4-bfd
32855 configure-stage4-bfd:
32856 @$(MAKE) stage4-start
32857 @[ -f bfd/Makefile ] && exit 0 || : ; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(STAGE_HOST_EXPORTS) \
32861 echo Configuring stage 4 in bfd ; \
32862 cd bfd || exit 1; \
32863 case $(srcdir) in \
32864 \.) \
32865 srcdiroption="--srcdir=."; \
32866 libsrcdir=".";; \
32867 /* | [A-Za-z]:[\\/]*) \
32868 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32869 libsrcdir="$$s/bfd";; \
32870 *) \
32871 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32872 libsrcdir="$$s/bfd";; \
32873 esac; \
32874 $(SHELL) $${libsrcdir}/configure \
32875 $(HOST_CONFIGARGS) $${srcdiroption} \
32876 @stage2_werror_flag@
32878 maybe-all-stage4-bfd: all-stage4-bfd
32879 all-stage4-bfd: configure-stage4-bfd
32880 @$(MAKE) stage4-start
32881 @r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(STAGE_HOST_EXPORTS) \
32884 cd bfd && \
32885 $(MAKE) $(FLAGS_TO_PASS) \
32886 $(POSTSTAGE1_FLAGS_TO_PASS) \
32889 maybe-clean-stage4-bfd: clean-stage4-bfd
32890 clean-stage4-bfd:
32891 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32892 || exit 0 ; \
32893 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32894 cd bfd && \
32895 $(MAKE) $(FLAGS_TO_PASS) \
32896 $(POSTSTAGE1_FLAGS_TO_PASS) \
32897 clean
32898 @endif bfd-bootstrap
32901 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32902 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32903 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32905 maybe-configure-stage4-opcodes:
32906 maybe-all-stage4-opcodes:
32907 maybe-clean-stage4-opcodes:
32909 @if opcodes-bootstrap
32910 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32911 configure-stage4-opcodes:
32912 @$(MAKE) stage4-start
32913 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32914 r=`${PWD_COMMAND}`; export r; \
32915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32916 $(STAGE_HOST_EXPORTS) \
32917 echo Configuring stage 4 in opcodes ; \
32918 cd opcodes || exit 1; \
32919 case $(srcdir) in \
32920 \.) \
32921 srcdiroption="--srcdir=."; \
32922 libsrcdir=".";; \
32923 /* | [A-Za-z]:[\\/]*) \
32924 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32925 libsrcdir="$$s/opcodes";; \
32926 *) \
32927 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32928 libsrcdir="$$s/opcodes";; \
32929 esac; \
32930 $(SHELL) $${libsrcdir}/configure \
32931 $(HOST_CONFIGARGS) $${srcdiroption} \
32932 @stage2_werror_flag@
32934 maybe-all-stage4-opcodes: all-stage4-opcodes
32935 all-stage4-opcodes: configure-stage4-opcodes
32936 @$(MAKE) stage4-start
32937 @r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(STAGE_HOST_EXPORTS) \
32940 cd opcodes && \
32941 $(MAKE) $(FLAGS_TO_PASS) \
32942 $(POSTSTAGE1_FLAGS_TO_PASS) \
32945 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32946 clean-stage4-opcodes:
32947 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32948 || exit 0 ; \
32949 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32950 cd opcodes && \
32951 $(MAKE) $(FLAGS_TO_PASS) \
32952 $(POSTSTAGE1_FLAGS_TO_PASS) \
32953 clean
32954 @endif opcodes-bootstrap
32957 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32958 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32959 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32961 maybe-configure-stage4-binutils:
32962 maybe-all-stage4-binutils:
32963 maybe-clean-stage4-binutils:
32965 @if binutils-bootstrap
32966 maybe-configure-stage4-binutils: configure-stage4-binutils
32967 configure-stage4-binutils:
32968 @$(MAKE) stage4-start
32969 @[ -f binutils/Makefile ] && exit 0 || : ; \
32970 r=`${PWD_COMMAND}`; export r; \
32971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32972 $(STAGE_HOST_EXPORTS) \
32973 echo Configuring stage 4 in binutils ; \
32974 cd binutils || exit 1; \
32975 case $(srcdir) in \
32976 \.) \
32977 srcdiroption="--srcdir=."; \
32978 libsrcdir=".";; \
32979 /* | [A-Za-z]:[\\/]*) \
32980 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32981 libsrcdir="$$s/binutils";; \
32982 *) \
32983 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32984 libsrcdir="$$s/binutils";; \
32985 esac; \
32986 $(SHELL) $${libsrcdir}/configure \
32987 $(HOST_CONFIGARGS) $${srcdiroption} \
32988 @stage2_werror_flag@
32990 maybe-all-stage4-binutils: all-stage4-binutils
32991 all-stage4-binutils: configure-stage4-binutils
32992 @$(MAKE) stage4-start
32993 @r=`${PWD_COMMAND}`; export r; \
32994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32995 $(STAGE_HOST_EXPORTS) \
32996 cd binutils && \
32997 $(MAKE) $(FLAGS_TO_PASS) \
32998 $(POSTSTAGE1_FLAGS_TO_PASS) \
33001 maybe-clean-stage4-binutils: clean-stage4-binutils
33002 clean-stage4-binutils:
33003 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33004 || exit 0 ; \
33005 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33006 cd binutils && \
33007 $(MAKE) $(FLAGS_TO_PASS) \
33008 $(POSTSTAGE1_FLAGS_TO_PASS) \
33009 clean
33010 @endif binutils-bootstrap
33013 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33014 .PHONY: all-stage4-gas maybe-all-stage4-gas
33015 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33017 maybe-configure-stage4-gas:
33018 maybe-all-stage4-gas:
33019 maybe-clean-stage4-gas:
33021 @if gas-bootstrap
33022 maybe-configure-stage4-gas: configure-stage4-gas
33023 configure-stage4-gas:
33024 @$(MAKE) stage4-start
33025 @[ -f gas/Makefile ] && exit 0 || : ; \
33026 r=`${PWD_COMMAND}`; export r; \
33027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33028 $(STAGE_HOST_EXPORTS) \
33029 echo Configuring stage 4 in gas ; \
33030 cd gas || exit 1; \
33031 case $(srcdir) in \
33032 \.) \
33033 srcdiroption="--srcdir=."; \
33034 libsrcdir=".";; \
33035 /* | [A-Za-z]:[\\/]*) \
33036 srcdiroption="--srcdir=$(srcdir)/gas"; \
33037 libsrcdir="$$s/gas";; \
33038 *) \
33039 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33040 libsrcdir="$$s/gas";; \
33041 esac; \
33042 $(SHELL) $${libsrcdir}/configure \
33043 $(HOST_CONFIGARGS) $${srcdiroption} \
33044 @stage2_werror_flag@
33046 maybe-all-stage4-gas: all-stage4-gas
33047 all-stage4-gas: configure-stage4-gas
33048 @$(MAKE) stage4-start
33049 @r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 $(STAGE_HOST_EXPORTS) \
33052 cd gas && \
33053 $(MAKE) $(FLAGS_TO_PASS) \
33054 $(POSTSTAGE1_FLAGS_TO_PASS) \
33057 maybe-clean-stage4-gas: clean-stage4-gas
33058 clean-stage4-gas:
33059 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33060 || exit 0 ; \
33061 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33062 cd gas && \
33063 $(MAKE) $(FLAGS_TO_PASS) \
33064 $(POSTSTAGE1_FLAGS_TO_PASS) \
33065 clean
33066 @endif gas-bootstrap
33069 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33070 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33071 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33073 maybe-configure-stage4-gcc:
33074 maybe-all-stage4-gcc:
33075 maybe-clean-stage4-gcc:
33077 @if gcc-bootstrap
33078 maybe-configure-stage4-gcc: configure-stage4-gcc
33079 configure-stage4-gcc:
33080 @$(MAKE) stage4-start
33081 @[ -f gcc/Makefile ] && exit 0 || : ; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(STAGE_HOST_EXPORTS) \
33085 echo Configuring stage 4 in gcc ; \
33086 cd gcc || exit 1; \
33087 case $(srcdir) in \
33088 \.) \
33089 srcdiroption="--srcdir=."; \
33090 libsrcdir=".";; \
33091 /* | [A-Za-z]:[\\/]*) \
33092 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33093 libsrcdir="$$s/gcc";; \
33094 *) \
33095 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33096 libsrcdir="$$s/gcc";; \
33097 esac; \
33098 $(SHELL) $${libsrcdir}/configure \
33099 $(HOST_CONFIGARGS) $${srcdiroption} \
33100 @stage2_werror_flag@
33102 maybe-all-stage4-gcc: all-stage4-gcc
33103 all-stage4-gcc: configure-stage4-gcc
33104 @$(MAKE) stage4-start
33105 @r=`${PWD_COMMAND}`; export r; \
33106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33107 $(STAGE_HOST_EXPORTS) \
33108 cd gcc && \
33109 $(MAKE) $(FLAGS_TO_PASS) \
33110 $(POSTSTAGE1_FLAGS_TO_PASS) \
33111 $(EXTRA_GCC_FLAGS)
33113 maybe-clean-stage4-gcc: clean-stage4-gcc
33114 clean-stage4-gcc:
33115 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33116 || exit 0 ; \
33117 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33118 cd gcc && \
33119 $(MAKE) $(FLAGS_TO_PASS) \
33120 $(POSTSTAGE1_FLAGS_TO_PASS) \
33121 $(EXTRA_GCC_FLAGS) clean
33122 @endif gcc-bootstrap
33125 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33126 .PHONY: all-stage4-intl maybe-all-stage4-intl
33127 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33129 maybe-configure-stage4-intl:
33130 maybe-all-stage4-intl:
33131 maybe-clean-stage4-intl:
33133 @if intl-bootstrap
33134 maybe-configure-stage4-intl: configure-stage4-intl
33135 configure-stage4-intl:
33136 @$(MAKE) stage4-start
33137 @[ -f intl/Makefile ] && exit 0 || : ; \
33138 r=`${PWD_COMMAND}`; export r; \
33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33140 $(STAGE_HOST_EXPORTS) \
33141 echo Configuring stage 4 in intl ; \
33142 cd intl || exit 1; \
33143 case $(srcdir) in \
33144 \.) \
33145 srcdiroption="--srcdir=."; \
33146 libsrcdir=".";; \
33147 /* | [A-Za-z]:[\\/]*) \
33148 srcdiroption="--srcdir=$(srcdir)/intl"; \
33149 libsrcdir="$$s/intl";; \
33150 *) \
33151 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33152 libsrcdir="$$s/intl";; \
33153 esac; \
33154 $(SHELL) $${libsrcdir}/configure \
33155 $(HOST_CONFIGARGS) $${srcdiroption} \
33156 @stage2_werror_flag@
33158 maybe-all-stage4-intl: all-stage4-intl
33159 all-stage4-intl: configure-stage4-intl
33160 @$(MAKE) stage4-start
33161 @r=`${PWD_COMMAND}`; export r; \
33162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33163 $(STAGE_HOST_EXPORTS) \
33164 cd intl && \
33165 $(MAKE) $(FLAGS_TO_PASS) \
33166 $(POSTSTAGE1_FLAGS_TO_PASS) \
33169 maybe-clean-stage4-intl: clean-stage4-intl
33170 clean-stage4-intl:
33171 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33172 || exit 0 ; \
33173 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33174 cd intl && \
33175 $(MAKE) $(FLAGS_TO_PASS) \
33176 $(POSTSTAGE1_FLAGS_TO_PASS) \
33177 clean
33178 @endif intl-bootstrap
33181 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33182 .PHONY: all-stage4-ld maybe-all-stage4-ld
33183 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33185 maybe-configure-stage4-ld:
33186 maybe-all-stage4-ld:
33187 maybe-clean-stage4-ld:
33189 @if ld-bootstrap
33190 maybe-configure-stage4-ld: configure-stage4-ld
33191 configure-stage4-ld:
33192 @$(MAKE) stage4-start
33193 @[ -f ld/Makefile ] && exit 0 || : ; \
33194 r=`${PWD_COMMAND}`; export r; \
33195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33196 $(STAGE_HOST_EXPORTS) \
33197 echo Configuring stage 4 in ld ; \
33198 cd ld || exit 1; \
33199 case $(srcdir) in \
33200 \.) \
33201 srcdiroption="--srcdir=."; \
33202 libsrcdir=".";; \
33203 /* | [A-Za-z]:[\\/]*) \
33204 srcdiroption="--srcdir=$(srcdir)/ld"; \
33205 libsrcdir="$$s/ld";; \
33206 *) \
33207 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33208 libsrcdir="$$s/ld";; \
33209 esac; \
33210 $(SHELL) $${libsrcdir}/configure \
33211 $(HOST_CONFIGARGS) $${srcdiroption} \
33212 @stage2_werror_flag@
33214 maybe-all-stage4-ld: all-stage4-ld
33215 all-stage4-ld: configure-stage4-ld
33216 @$(MAKE) stage4-start
33217 @r=`${PWD_COMMAND}`; export r; \
33218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33219 $(STAGE_HOST_EXPORTS) \
33220 cd ld && \
33221 $(MAKE) $(FLAGS_TO_PASS) \
33222 $(POSTSTAGE1_FLAGS_TO_PASS) \
33225 maybe-clean-stage4-ld: clean-stage4-ld
33226 clean-stage4-ld:
33227 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33228 || exit 0 ; \
33229 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33230 cd ld && \
33231 $(MAKE) $(FLAGS_TO_PASS) \
33232 $(POSTSTAGE1_FLAGS_TO_PASS) \
33233 clean
33234 @endif ld-bootstrap
33237 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33238 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33239 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33241 maybe-configure-stage4-libcpp:
33242 maybe-all-stage4-libcpp:
33243 maybe-clean-stage4-libcpp:
33245 @if libcpp-bootstrap
33246 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33247 configure-stage4-libcpp:
33248 @$(MAKE) stage4-start
33249 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(STAGE_HOST_EXPORTS) \
33253 echo Configuring stage 4 in libcpp ; \
33254 cd libcpp || exit 1; \
33255 case $(srcdir) in \
33256 \.) \
33257 srcdiroption="--srcdir=."; \
33258 libsrcdir=".";; \
33259 /* | [A-Za-z]:[\\/]*) \
33260 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33261 libsrcdir="$$s/libcpp";; \
33262 *) \
33263 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33264 libsrcdir="$$s/libcpp";; \
33265 esac; \
33266 $(SHELL) $${libsrcdir}/configure \
33267 $(HOST_CONFIGARGS) $${srcdiroption} \
33268 @stage2_werror_flag@
33270 maybe-all-stage4-libcpp: all-stage4-libcpp
33271 all-stage4-libcpp: configure-stage4-libcpp
33272 @$(MAKE) stage4-start
33273 @r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(STAGE_HOST_EXPORTS) \
33276 cd libcpp && \
33277 $(MAKE) $(FLAGS_TO_PASS) \
33278 $(POSTSTAGE1_FLAGS_TO_PASS) \
33281 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33282 clean-stage4-libcpp:
33283 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33284 || exit 0 ; \
33285 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33286 cd libcpp && \
33287 $(MAKE) $(FLAGS_TO_PASS) \
33288 $(POSTSTAGE1_FLAGS_TO_PASS) \
33289 clean
33290 @endif libcpp-bootstrap
33293 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33294 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33295 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33297 maybe-configure-stage4-libiberty:
33298 maybe-all-stage4-libiberty:
33299 maybe-clean-stage4-libiberty:
33301 @if libiberty-bootstrap
33302 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33303 configure-stage4-libiberty:
33304 @$(MAKE) stage4-start
33305 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(STAGE_HOST_EXPORTS) \
33309 echo Configuring stage 4 in libiberty ; \
33310 cd libiberty || exit 1; \
33311 case $(srcdir) in \
33312 \.) \
33313 srcdiroption="--srcdir=."; \
33314 libsrcdir=".";; \
33315 /* | [A-Za-z]:[\\/]*) \
33316 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33317 libsrcdir="$$s/libiberty";; \
33318 *) \
33319 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33320 libsrcdir="$$s/libiberty";; \
33321 esac; \
33322 $(SHELL) $${libsrcdir}/configure \
33323 $(HOST_CONFIGARGS) $${srcdiroption} \
33324 @stage2_werror_flag@
33326 maybe-all-stage4-libiberty: all-stage4-libiberty
33327 all-stage4-libiberty: configure-stage4-libiberty
33328 @$(MAKE) stage4-start
33329 @r=`${PWD_COMMAND}`; export r; \
33330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33331 $(STAGE_HOST_EXPORTS) \
33332 cd libiberty && \
33333 $(MAKE) $(FLAGS_TO_PASS) \
33334 $(POSTSTAGE1_FLAGS_TO_PASS) \
33337 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33338 clean-stage4-libiberty:
33339 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33340 || exit 0 ; \
33341 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33342 cd libiberty && \
33343 $(MAKE) $(FLAGS_TO_PASS) \
33344 $(POSTSTAGE1_FLAGS_TO_PASS) \
33345 clean
33346 @endif libiberty-bootstrap
33349 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33350 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33351 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33353 maybe-configure-stage4-zlib:
33354 maybe-all-stage4-zlib:
33355 maybe-clean-stage4-zlib:
33357 @if zlib-bootstrap
33358 maybe-configure-stage4-zlib: configure-stage4-zlib
33359 configure-stage4-zlib:
33360 @$(MAKE) stage4-start
33361 @[ -f zlib/Makefile ] && exit 0 || : ; \
33362 r=`${PWD_COMMAND}`; export r; \
33363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33364 $(STAGE_HOST_EXPORTS) \
33365 echo Configuring stage 4 in zlib ; \
33366 cd zlib || exit 1; \
33367 case $(srcdir) in \
33368 \.) \
33369 srcdiroption="--srcdir=."; \
33370 libsrcdir=".";; \
33371 /* | [A-Za-z]:[\\/]*) \
33372 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33373 libsrcdir="$$s/zlib";; \
33374 *) \
33375 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33376 libsrcdir="$$s/zlib";; \
33377 esac; \
33378 $(SHELL) $${libsrcdir}/configure \
33379 $(HOST_CONFIGARGS) $${srcdiroption} \
33380 @stage2_werror_flag@
33382 maybe-all-stage4-zlib: all-stage4-zlib
33383 all-stage4-zlib: configure-stage4-zlib
33384 @$(MAKE) stage4-start
33385 @r=`${PWD_COMMAND}`; export r; \
33386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33387 $(STAGE_HOST_EXPORTS) \
33388 cd zlib && \
33389 $(MAKE) $(FLAGS_TO_PASS) \
33390 $(POSTSTAGE1_FLAGS_TO_PASS) \
33393 maybe-clean-stage4-zlib: clean-stage4-zlib
33394 clean-stage4-zlib:
33395 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33396 || exit 0 ; \
33397 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33398 cd zlib && \
33399 $(MAKE) $(FLAGS_TO_PASS) \
33400 $(POSTSTAGE1_FLAGS_TO_PASS) \
33401 clean
33402 @endif zlib-bootstrap
33406 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33407 # only possibility, but now it conflicts with no-bootstrap rules
33408 @if gcc-bootstrap
33410 compare3:
33411 @if test -f stage3-lean; then \
33412 echo Cannot compare object files as stage 3 was deleted. ; \
33413 exit 0 ; \
33414 fi; \
33415 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33416 @r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 rm -f .bad_compare ; \
33419 cd stage4-gcc; \
33420 files=`find . -name "*$(objext)" -print` ; \
33421 cd .. ; \
33422 for file in $${files} ; do \
33423 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33424 @do_compare@ > /dev/null 2>&1; \
33425 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33426 done ; \
33427 if [ -f .bad_compare ]; then \
33428 echo "Bootstrap comparison failure!"; \
33429 cat .bad_compare; \
33430 exit 1; \
33431 else \
33432 true; \
33433 fi ; \
33434 $(STAMP) compare3
33435 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33439 .PHONY: bootstrap4
33440 bootstrap4: stage4-bubble compare3 all
33443 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33444 distclean-stage3:: distclean-stage4
33445 .PHONY: distclean-stage4
33446 distclean-stage4::
33447 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33448 rm -rf stage4-* compare3
33451 @endif gcc-bootstrap
33454 .PHONY: stageprofile-start stageprofile-end
33456 stageprofile-start::
33457 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33458 echo stageprofile > stage_current ; \
33459 echo stageprofile > stage_last
33460 @if bfd
33461 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33462 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33463 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33464 @endif bfd
33465 @if opcodes
33466 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33467 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33468 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33469 @endif opcodes
33470 @if binutils
33471 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33472 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33473 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33474 @endif binutils
33475 @if gas
33476 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33477 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33478 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33479 @endif gas
33480 @if gcc
33481 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33482 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33483 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33484 @endif gcc
33485 @if intl
33486 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33487 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33488 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33489 @endif intl
33490 @if ld
33491 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33492 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33493 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33494 @endif ld
33495 @if libcpp
33496 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33497 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33498 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33499 @endif libcpp
33500 @if libiberty
33501 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33502 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33503 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33504 @endif libiberty
33505 @if zlib
33506 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33507 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33508 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33509 @endif zlib
33511 stageprofile-end::
33512 @rm -f stage_current
33513 @if bfd
33514 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33515 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33516 @endif bfd
33517 @if opcodes
33518 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33519 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33520 @endif opcodes
33521 @if binutils
33522 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33523 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33524 @endif binutils
33525 @if gas
33526 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33527 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33528 @endif gas
33529 @if gcc
33530 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33531 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33532 @endif gcc
33533 @if intl
33534 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33535 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33536 @endif intl
33537 @if ld
33538 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33539 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33540 @endif ld
33541 @if libcpp
33542 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33543 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33544 @endif libcpp
33545 @if libiberty
33546 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33547 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33548 @endif libiberty
33549 @if zlib
33550 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33551 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33552 @endif zlib
33554 # Bubble a bugfix through all the stages up to stage profile. They
33555 # are remade, but not reconfigured. The next stage (if any) will not
33556 # be reconfigured as well.
33557 .PHONY: stageprofile-bubble
33558 stageprofile-bubble:: stage1-bubble
33559 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33560 echo Skipping rebuild of stageprofile ; \
33561 else \
33562 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33565 .PHONY: all-stageprofile clean-stageprofile
33566 all-stageprofile: \
33567 maybe-all-stageprofile-bfd \
33568 maybe-all-stageprofile-opcodes \
33569 maybe-all-stageprofile-binutils \
33570 maybe-all-stageprofile-gas \
33571 maybe-all-stageprofile-gcc \
33572 maybe-all-stageprofile-intl \
33573 maybe-all-stageprofile-ld \
33574 maybe-all-stageprofile-libcpp \
33575 maybe-all-stageprofile-libiberty \
33576 maybe-all-stageprofile-zlib
33578 do-clean: clean-stageprofile
33579 clean-stageprofile: \
33580 maybe-clean-stageprofile-bfd \
33581 maybe-clean-stageprofile-opcodes \
33582 maybe-clean-stageprofile-binutils \
33583 maybe-clean-stageprofile-gas \
33584 maybe-clean-stageprofile-gcc \
33585 maybe-clean-stageprofile-intl \
33586 maybe-clean-stageprofile-ld \
33587 maybe-clean-stageprofile-libcpp \
33588 maybe-clean-stageprofile-libiberty \
33589 maybe-clean-stageprofile-zlib
33592 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33593 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33594 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33596 maybe-configure-stageprofile-bfd:
33597 maybe-all-stageprofile-bfd:
33598 maybe-clean-stageprofile-bfd:
33600 @if bfd-bootstrap
33601 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33602 configure-stageprofile-bfd:
33603 @$(MAKE) stageprofile-start
33604 @[ -f bfd/Makefile ] && exit 0 || : ; \
33605 r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(STAGE_HOST_EXPORTS) \
33608 echo Configuring stage profile in bfd ; \
33609 cd bfd || exit 1; \
33610 case $(srcdir) in \
33611 \.) \
33612 srcdiroption="--srcdir=."; \
33613 libsrcdir=".";; \
33614 /* | [A-Za-z]:[\\/]*) \
33615 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33616 libsrcdir="$$s/bfd";; \
33617 *) \
33618 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33619 libsrcdir="$$s/bfd";; \
33620 esac; \
33621 $(SHELL) $${libsrcdir}/configure \
33622 $(HOST_CONFIGARGS) $${srcdiroption} \
33623 @stage2_werror_flag@
33625 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33626 all-stageprofile-bfd: configure-stageprofile-bfd
33627 @$(MAKE) stageprofile-start
33628 @r=`${PWD_COMMAND}`; export r; \
33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33630 $(STAGE_HOST_EXPORTS) \
33631 cd bfd && \
33632 $(MAKE) $(FLAGS_TO_PASS) \
33633 $(POSTSTAGE1_FLAGS_TO_PASS) \
33634 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33636 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33637 clean-stageprofile-bfd:
33638 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33639 || exit 0 ; \
33640 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33641 cd bfd && \
33642 $(MAKE) $(FLAGS_TO_PASS) \
33643 $(POSTSTAGE1_FLAGS_TO_PASS) \
33644 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33645 @endif bfd-bootstrap
33648 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33649 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33650 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33652 maybe-configure-stageprofile-opcodes:
33653 maybe-all-stageprofile-opcodes:
33654 maybe-clean-stageprofile-opcodes:
33656 @if opcodes-bootstrap
33657 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33658 configure-stageprofile-opcodes:
33659 @$(MAKE) stageprofile-start
33660 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33661 r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(STAGE_HOST_EXPORTS) \
33664 echo Configuring stage profile in opcodes ; \
33665 cd opcodes || exit 1; \
33666 case $(srcdir) in \
33667 \.) \
33668 srcdiroption="--srcdir=."; \
33669 libsrcdir=".";; \
33670 /* | [A-Za-z]:[\\/]*) \
33671 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33672 libsrcdir="$$s/opcodes";; \
33673 *) \
33674 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33675 libsrcdir="$$s/opcodes";; \
33676 esac; \
33677 $(SHELL) $${libsrcdir}/configure \
33678 $(HOST_CONFIGARGS) $${srcdiroption} \
33679 @stage2_werror_flag@
33681 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33682 all-stageprofile-opcodes: configure-stageprofile-opcodes
33683 @$(MAKE) stageprofile-start
33684 @r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(STAGE_HOST_EXPORTS) \
33687 cd opcodes && \
33688 $(MAKE) $(FLAGS_TO_PASS) \
33689 $(POSTSTAGE1_FLAGS_TO_PASS) \
33690 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33692 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33693 clean-stageprofile-opcodes:
33694 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33695 || exit 0 ; \
33696 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33697 cd opcodes && \
33698 $(MAKE) $(FLAGS_TO_PASS) \
33699 $(POSTSTAGE1_FLAGS_TO_PASS) \
33700 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33701 @endif opcodes-bootstrap
33704 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33705 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33706 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33708 maybe-configure-stageprofile-binutils:
33709 maybe-all-stageprofile-binutils:
33710 maybe-clean-stageprofile-binutils:
33712 @if binutils-bootstrap
33713 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33714 configure-stageprofile-binutils:
33715 @$(MAKE) stageprofile-start
33716 @[ -f binutils/Makefile ] && exit 0 || : ; \
33717 r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(STAGE_HOST_EXPORTS) \
33720 echo Configuring stage profile in binutils ; \
33721 cd binutils || exit 1; \
33722 case $(srcdir) in \
33723 \.) \
33724 srcdiroption="--srcdir=."; \
33725 libsrcdir=".";; \
33726 /* | [A-Za-z]:[\\/]*) \
33727 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33728 libsrcdir="$$s/binutils";; \
33729 *) \
33730 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33731 libsrcdir="$$s/binutils";; \
33732 esac; \
33733 $(SHELL) $${libsrcdir}/configure \
33734 $(HOST_CONFIGARGS) $${srcdiroption} \
33735 @stage2_werror_flag@
33737 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33738 all-stageprofile-binutils: configure-stageprofile-binutils
33739 @$(MAKE) stageprofile-start
33740 @r=`${PWD_COMMAND}`; export r; \
33741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33742 $(STAGE_HOST_EXPORTS) \
33743 cd binutils && \
33744 $(MAKE) $(FLAGS_TO_PASS) \
33745 $(POSTSTAGE1_FLAGS_TO_PASS) \
33746 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33748 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33749 clean-stageprofile-binutils:
33750 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33751 || exit 0 ; \
33752 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33753 cd binutils && \
33754 $(MAKE) $(FLAGS_TO_PASS) \
33755 $(POSTSTAGE1_FLAGS_TO_PASS) \
33756 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33757 @endif binutils-bootstrap
33760 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33761 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33762 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33764 maybe-configure-stageprofile-gas:
33765 maybe-all-stageprofile-gas:
33766 maybe-clean-stageprofile-gas:
33768 @if gas-bootstrap
33769 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33770 configure-stageprofile-gas:
33771 @$(MAKE) stageprofile-start
33772 @[ -f gas/Makefile ] && exit 0 || : ; \
33773 r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 $(STAGE_HOST_EXPORTS) \
33776 echo Configuring stage profile in gas ; \
33777 cd gas || exit 1; \
33778 case $(srcdir) in \
33779 \.) \
33780 srcdiroption="--srcdir=."; \
33781 libsrcdir=".";; \
33782 /* | [A-Za-z]:[\\/]*) \
33783 srcdiroption="--srcdir=$(srcdir)/gas"; \
33784 libsrcdir="$$s/gas";; \
33785 *) \
33786 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33787 libsrcdir="$$s/gas";; \
33788 esac; \
33789 $(SHELL) $${libsrcdir}/configure \
33790 $(HOST_CONFIGARGS) $${srcdiroption} \
33791 @stage2_werror_flag@
33793 maybe-all-stageprofile-gas: all-stageprofile-gas
33794 all-stageprofile-gas: configure-stageprofile-gas
33795 @$(MAKE) stageprofile-start
33796 @r=`${PWD_COMMAND}`; export r; \
33797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33798 $(STAGE_HOST_EXPORTS) \
33799 cd gas && \
33800 $(MAKE) $(FLAGS_TO_PASS) \
33801 $(POSTSTAGE1_FLAGS_TO_PASS) \
33802 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33804 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33805 clean-stageprofile-gas:
33806 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33807 || exit 0 ; \
33808 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33809 cd gas && \
33810 $(MAKE) $(FLAGS_TO_PASS) \
33811 $(POSTSTAGE1_FLAGS_TO_PASS) \
33812 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33813 @endif gas-bootstrap
33816 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33817 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33818 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33820 maybe-configure-stageprofile-gcc:
33821 maybe-all-stageprofile-gcc:
33822 maybe-clean-stageprofile-gcc:
33824 @if gcc-bootstrap
33825 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33826 configure-stageprofile-gcc:
33827 @$(MAKE) stageprofile-start
33828 @[ -f gcc/Makefile ] && exit 0 || : ; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(STAGE_HOST_EXPORTS) \
33832 echo Configuring stage profile in gcc ; \
33833 cd gcc || exit 1; \
33834 case $(srcdir) in \
33835 \.) \
33836 srcdiroption="--srcdir=."; \
33837 libsrcdir=".";; \
33838 /* | [A-Za-z]:[\\/]*) \
33839 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33840 libsrcdir="$$s/gcc";; \
33841 *) \
33842 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33843 libsrcdir="$$s/gcc";; \
33844 esac; \
33845 $(SHELL) $${libsrcdir}/configure \
33846 $(HOST_CONFIGARGS) $${srcdiroption} \
33847 @stage2_werror_flag@
33849 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33850 all-stageprofile-gcc: configure-stageprofile-gcc
33851 @$(MAKE) stageprofile-start
33852 @r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(STAGE_HOST_EXPORTS) \
33855 cd gcc && \
33856 $(MAKE) $(FLAGS_TO_PASS) \
33857 $(POSTSTAGE1_FLAGS_TO_PASS) \
33858 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33860 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33861 clean-stageprofile-gcc:
33862 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33863 || exit 0 ; \
33864 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33865 cd gcc && \
33866 $(MAKE) $(FLAGS_TO_PASS) \
33867 $(POSTSTAGE1_FLAGS_TO_PASS) \
33868 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33869 @endif gcc-bootstrap
33872 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33873 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33874 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33876 maybe-configure-stageprofile-intl:
33877 maybe-all-stageprofile-intl:
33878 maybe-clean-stageprofile-intl:
33880 @if intl-bootstrap
33881 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33882 configure-stageprofile-intl:
33883 @$(MAKE) stageprofile-start
33884 @[ -f intl/Makefile ] && exit 0 || : ; \
33885 r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(STAGE_HOST_EXPORTS) \
33888 echo Configuring stage profile in intl ; \
33889 cd intl || exit 1; \
33890 case $(srcdir) in \
33891 \.) \
33892 srcdiroption="--srcdir=."; \
33893 libsrcdir=".";; \
33894 /* | [A-Za-z]:[\\/]*) \
33895 srcdiroption="--srcdir=$(srcdir)/intl"; \
33896 libsrcdir="$$s/intl";; \
33897 *) \
33898 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33899 libsrcdir="$$s/intl";; \
33900 esac; \
33901 $(SHELL) $${libsrcdir}/configure \
33902 $(HOST_CONFIGARGS) $${srcdiroption} \
33903 @stage2_werror_flag@
33905 maybe-all-stageprofile-intl: all-stageprofile-intl
33906 all-stageprofile-intl: configure-stageprofile-intl
33907 @$(MAKE) stageprofile-start
33908 @r=`${PWD_COMMAND}`; export r; \
33909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33910 $(STAGE_HOST_EXPORTS) \
33911 cd intl && \
33912 $(MAKE) $(FLAGS_TO_PASS) \
33913 $(POSTSTAGE1_FLAGS_TO_PASS) \
33914 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33916 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33917 clean-stageprofile-intl:
33918 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33919 || exit 0 ; \
33920 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33921 cd intl && \
33922 $(MAKE) $(FLAGS_TO_PASS) \
33923 $(POSTSTAGE1_FLAGS_TO_PASS) \
33924 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33925 @endif intl-bootstrap
33928 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33929 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33930 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33932 maybe-configure-stageprofile-ld:
33933 maybe-all-stageprofile-ld:
33934 maybe-clean-stageprofile-ld:
33936 @if ld-bootstrap
33937 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33938 configure-stageprofile-ld:
33939 @$(MAKE) stageprofile-start
33940 @[ -f ld/Makefile ] && exit 0 || : ; \
33941 r=`${PWD_COMMAND}`; export r; \
33942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33943 $(STAGE_HOST_EXPORTS) \
33944 echo Configuring stage profile in ld ; \
33945 cd ld || exit 1; \
33946 case $(srcdir) in \
33947 \.) \
33948 srcdiroption="--srcdir=."; \
33949 libsrcdir=".";; \
33950 /* | [A-Za-z]:[\\/]*) \
33951 srcdiroption="--srcdir=$(srcdir)/ld"; \
33952 libsrcdir="$$s/ld";; \
33953 *) \
33954 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33955 libsrcdir="$$s/ld";; \
33956 esac; \
33957 $(SHELL) $${libsrcdir}/configure \
33958 $(HOST_CONFIGARGS) $${srcdiroption} \
33959 @stage2_werror_flag@
33961 maybe-all-stageprofile-ld: all-stageprofile-ld
33962 all-stageprofile-ld: configure-stageprofile-ld
33963 @$(MAKE) stageprofile-start
33964 @r=`${PWD_COMMAND}`; export r; \
33965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33966 $(STAGE_HOST_EXPORTS) \
33967 cd ld && \
33968 $(MAKE) $(FLAGS_TO_PASS) \
33969 $(POSTSTAGE1_FLAGS_TO_PASS) \
33970 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33972 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33973 clean-stageprofile-ld:
33974 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33975 || exit 0 ; \
33976 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33977 cd ld && \
33978 $(MAKE) $(FLAGS_TO_PASS) \
33979 $(POSTSTAGE1_FLAGS_TO_PASS) \
33980 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33981 @endif ld-bootstrap
33984 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33985 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33986 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33988 maybe-configure-stageprofile-libcpp:
33989 maybe-all-stageprofile-libcpp:
33990 maybe-clean-stageprofile-libcpp:
33992 @if libcpp-bootstrap
33993 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33994 configure-stageprofile-libcpp:
33995 @$(MAKE) stageprofile-start
33996 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33997 r=`${PWD_COMMAND}`; export r; \
33998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33999 $(STAGE_HOST_EXPORTS) \
34000 echo Configuring stage profile in libcpp ; \
34001 cd libcpp || exit 1; \
34002 case $(srcdir) in \
34003 \.) \
34004 srcdiroption="--srcdir=."; \
34005 libsrcdir=".";; \
34006 /* | [A-Za-z]:[\\/]*) \
34007 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34008 libsrcdir="$$s/libcpp";; \
34009 *) \
34010 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34011 libsrcdir="$$s/libcpp";; \
34012 esac; \
34013 $(SHELL) $${libsrcdir}/configure \
34014 $(HOST_CONFIGARGS) $${srcdiroption} \
34015 @stage2_werror_flag@
34017 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34018 all-stageprofile-libcpp: configure-stageprofile-libcpp
34019 @$(MAKE) stageprofile-start
34020 @r=`${PWD_COMMAND}`; export r; \
34021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34022 $(STAGE_HOST_EXPORTS) \
34023 cd libcpp && \
34024 $(MAKE) $(FLAGS_TO_PASS) \
34025 $(POSTSTAGE1_FLAGS_TO_PASS) \
34026 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34028 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34029 clean-stageprofile-libcpp:
34030 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34031 || exit 0 ; \
34032 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34033 cd libcpp && \
34034 $(MAKE) $(FLAGS_TO_PASS) \
34035 $(POSTSTAGE1_FLAGS_TO_PASS) \
34036 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34037 @endif libcpp-bootstrap
34040 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34041 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34042 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34044 maybe-configure-stageprofile-libiberty:
34045 maybe-all-stageprofile-libiberty:
34046 maybe-clean-stageprofile-libiberty:
34048 @if libiberty-bootstrap
34049 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34050 configure-stageprofile-libiberty:
34051 @$(MAKE) stageprofile-start
34052 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34053 r=`${PWD_COMMAND}`; export r; \
34054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34055 $(STAGE_HOST_EXPORTS) \
34056 echo Configuring stage profile in libiberty ; \
34057 cd libiberty || exit 1; \
34058 case $(srcdir) in \
34059 \.) \
34060 srcdiroption="--srcdir=."; \
34061 libsrcdir=".";; \
34062 /* | [A-Za-z]:[\\/]*) \
34063 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34064 libsrcdir="$$s/libiberty";; \
34065 *) \
34066 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34067 libsrcdir="$$s/libiberty";; \
34068 esac; \
34069 $(SHELL) $${libsrcdir}/configure \
34070 $(HOST_CONFIGARGS) $${srcdiroption} \
34071 @stage2_werror_flag@
34073 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34074 all-stageprofile-libiberty: configure-stageprofile-libiberty
34075 @$(MAKE) stageprofile-start
34076 @r=`${PWD_COMMAND}`; export r; \
34077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34078 $(STAGE_HOST_EXPORTS) \
34079 cd libiberty && \
34080 $(MAKE) $(FLAGS_TO_PASS) \
34081 $(POSTSTAGE1_FLAGS_TO_PASS) \
34082 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34084 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34085 clean-stageprofile-libiberty:
34086 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34087 || exit 0 ; \
34088 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34089 cd libiberty && \
34090 $(MAKE) $(FLAGS_TO_PASS) \
34091 $(POSTSTAGE1_FLAGS_TO_PASS) \
34092 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34093 @endif libiberty-bootstrap
34096 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34097 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34098 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34100 maybe-configure-stageprofile-zlib:
34101 maybe-all-stageprofile-zlib:
34102 maybe-clean-stageprofile-zlib:
34104 @if zlib-bootstrap
34105 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34106 configure-stageprofile-zlib:
34107 @$(MAKE) stageprofile-start
34108 @[ -f zlib/Makefile ] && exit 0 || : ; \
34109 r=`${PWD_COMMAND}`; export r; \
34110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34111 $(STAGE_HOST_EXPORTS) \
34112 echo Configuring stage profile in zlib ; \
34113 cd zlib || exit 1; \
34114 case $(srcdir) in \
34115 \.) \
34116 srcdiroption="--srcdir=."; \
34117 libsrcdir=".";; \
34118 /* | [A-Za-z]:[\\/]*) \
34119 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34120 libsrcdir="$$s/zlib";; \
34121 *) \
34122 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34123 libsrcdir="$$s/zlib";; \
34124 esac; \
34125 $(SHELL) $${libsrcdir}/configure \
34126 $(HOST_CONFIGARGS) $${srcdiroption} \
34127 @stage2_werror_flag@
34129 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34130 all-stageprofile-zlib: configure-stageprofile-zlib
34131 @$(MAKE) stageprofile-start
34132 @r=`${PWD_COMMAND}`; export r; \
34133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34134 $(STAGE_HOST_EXPORTS) \
34135 cd zlib && \
34136 $(MAKE) $(FLAGS_TO_PASS) \
34137 $(POSTSTAGE1_FLAGS_TO_PASS) \
34138 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34140 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34141 clean-stageprofile-zlib:
34142 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34143 || exit 0 ; \
34144 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34145 cd zlib && \
34146 $(MAKE) $(FLAGS_TO_PASS) \
34147 $(POSTSTAGE1_FLAGS_TO_PASS) \
34148 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34149 @endif zlib-bootstrap
34153 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34154 # only possibility, but now it conflicts with no-bootstrap rules
34155 @if gcc-bootstrap
34160 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34161 distclean-stage1:: distclean-stageprofile
34162 .PHONY: distclean-stageprofile
34163 distclean-stageprofile::
34164 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34165 rm -rf stageprofile-*
34168 @endif gcc-bootstrap
34171 .PHONY: stagefeedback-start stagefeedback-end
34173 stagefeedback-start::
34174 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34175 echo stagefeedback > stage_current ; \
34176 echo stagefeedback > stage_last
34177 @if bfd
34178 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34179 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34180 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34181 @endif bfd
34182 @if opcodes
34183 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34184 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34185 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34186 @endif opcodes
34187 @if binutils
34188 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34189 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34190 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34191 @endif binutils
34192 @if gas
34193 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34194 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34195 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34196 @endif gas
34197 @if gcc
34198 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34199 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34200 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34201 @endif gcc
34202 @if intl
34203 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34204 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34205 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34206 @endif intl
34207 @if ld
34208 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34209 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34210 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34211 @endif ld
34212 @if libcpp
34213 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34214 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34215 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34216 @endif libcpp
34217 @if libiberty
34218 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34219 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34220 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34221 @endif libiberty
34222 @if zlib
34223 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34224 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34225 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34226 @endif zlib
34228 stagefeedback-end::
34229 @rm -f stage_current
34230 @if bfd
34231 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34232 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34233 @endif bfd
34234 @if opcodes
34235 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34236 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34237 @endif opcodes
34238 @if binutils
34239 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34240 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34241 @endif binutils
34242 @if gas
34243 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34244 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34245 @endif gas
34246 @if gcc
34247 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34248 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34249 @endif gcc
34250 @if intl
34251 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34252 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34253 @endif intl
34254 @if ld
34255 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34256 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34257 @endif ld
34258 @if libcpp
34259 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34260 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34261 @endif libcpp
34262 @if libiberty
34263 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34264 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34265 @endif libiberty
34266 @if zlib
34267 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34268 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34269 @endif zlib
34271 # Bubble a bugfix through all the stages up to stage feedback. They
34272 # are remade, but not reconfigured. The next stage (if any) will not
34273 # be reconfigured as well.
34274 .PHONY: stagefeedback-bubble
34275 stagefeedback-bubble:: stage1-bubble
34276 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34277 echo Skipping rebuild of stagefeedback ; \
34278 else \
34279 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34282 .PHONY: all-stagefeedback clean-stagefeedback
34283 all-stagefeedback: \
34284 maybe-all-stagefeedback-bfd \
34285 maybe-all-stagefeedback-opcodes \
34286 maybe-all-stagefeedback-binutils \
34287 maybe-all-stagefeedback-gas \
34288 maybe-all-stagefeedback-gcc \
34289 maybe-all-stagefeedback-intl \
34290 maybe-all-stagefeedback-ld \
34291 maybe-all-stagefeedback-libcpp \
34292 maybe-all-stagefeedback-libiberty \
34293 maybe-all-stagefeedback-zlib
34295 do-clean: clean-stagefeedback
34296 clean-stagefeedback: \
34297 maybe-clean-stagefeedback-bfd \
34298 maybe-clean-stagefeedback-opcodes \
34299 maybe-clean-stagefeedback-binutils \
34300 maybe-clean-stagefeedback-gas \
34301 maybe-clean-stagefeedback-gcc \
34302 maybe-clean-stagefeedback-intl \
34303 maybe-clean-stagefeedback-ld \
34304 maybe-clean-stagefeedback-libcpp \
34305 maybe-clean-stagefeedback-libiberty \
34306 maybe-clean-stagefeedback-zlib
34309 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34310 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34311 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34313 maybe-configure-stagefeedback-bfd:
34314 maybe-all-stagefeedback-bfd:
34315 maybe-clean-stagefeedback-bfd:
34317 @if bfd-bootstrap
34318 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34319 configure-stagefeedback-bfd:
34320 @$(MAKE) stagefeedback-start
34321 @[ -f bfd/Makefile ] && exit 0 || : ; \
34322 r=`${PWD_COMMAND}`; export r; \
34323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34324 $(STAGE_HOST_EXPORTS) \
34325 echo Configuring stage feedback in bfd ; \
34326 cd bfd || exit 1; \
34327 case $(srcdir) in \
34328 \.) \
34329 srcdiroption="--srcdir=."; \
34330 libsrcdir=".";; \
34331 /* | [A-Za-z]:[\\/]*) \
34332 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34333 libsrcdir="$$s/bfd";; \
34334 *) \
34335 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34336 libsrcdir="$$s/bfd";; \
34337 esac; \
34338 $(SHELL) $${libsrcdir}/configure \
34339 $(HOST_CONFIGARGS) $${srcdiroption} \
34340 @stage2_werror_flag@
34342 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34343 all-stagefeedback-bfd: configure-stagefeedback-bfd
34344 @$(MAKE) stagefeedback-start
34345 @r=`${PWD_COMMAND}`; export r; \
34346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34347 $(STAGE_HOST_EXPORTS) \
34348 cd bfd && \
34349 $(MAKE) $(FLAGS_TO_PASS) \
34350 $(POSTSTAGE1_FLAGS_TO_PASS) \
34351 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34353 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34354 clean-stagefeedback-bfd:
34355 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34356 || exit 0 ; \
34357 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34358 cd bfd && \
34359 $(MAKE) $(FLAGS_TO_PASS) \
34360 $(POSTSTAGE1_FLAGS_TO_PASS) \
34361 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34362 @endif bfd-bootstrap
34365 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34366 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34367 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34369 maybe-configure-stagefeedback-opcodes:
34370 maybe-all-stagefeedback-opcodes:
34371 maybe-clean-stagefeedback-opcodes:
34373 @if opcodes-bootstrap
34374 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34375 configure-stagefeedback-opcodes:
34376 @$(MAKE) stagefeedback-start
34377 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(STAGE_HOST_EXPORTS) \
34381 echo Configuring stage feedback in opcodes ; \
34382 cd opcodes || exit 1; \
34383 case $(srcdir) in \
34384 \.) \
34385 srcdiroption="--srcdir=."; \
34386 libsrcdir=".";; \
34387 /* | [A-Za-z]:[\\/]*) \
34388 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34389 libsrcdir="$$s/opcodes";; \
34390 *) \
34391 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34392 libsrcdir="$$s/opcodes";; \
34393 esac; \
34394 $(SHELL) $${libsrcdir}/configure \
34395 $(HOST_CONFIGARGS) $${srcdiroption} \
34396 @stage2_werror_flag@
34398 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34399 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34400 @$(MAKE) stagefeedback-start
34401 @r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(STAGE_HOST_EXPORTS) \
34404 cd opcodes && \
34405 $(MAKE) $(FLAGS_TO_PASS) \
34406 $(POSTSTAGE1_FLAGS_TO_PASS) \
34407 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34409 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34410 clean-stagefeedback-opcodes:
34411 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34412 || exit 0 ; \
34413 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34414 cd opcodes && \
34415 $(MAKE) $(FLAGS_TO_PASS) \
34416 $(POSTSTAGE1_FLAGS_TO_PASS) \
34417 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34418 @endif opcodes-bootstrap
34421 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34422 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34423 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34425 maybe-configure-stagefeedback-binutils:
34426 maybe-all-stagefeedback-binutils:
34427 maybe-clean-stagefeedback-binutils:
34429 @if binutils-bootstrap
34430 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34431 configure-stagefeedback-binutils:
34432 @$(MAKE) stagefeedback-start
34433 @[ -f binutils/Makefile ] && exit 0 || : ; \
34434 r=`${PWD_COMMAND}`; export r; \
34435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34436 $(STAGE_HOST_EXPORTS) \
34437 echo Configuring stage feedback in binutils ; \
34438 cd binutils || exit 1; \
34439 case $(srcdir) in \
34440 \.) \
34441 srcdiroption="--srcdir=."; \
34442 libsrcdir=".";; \
34443 /* | [A-Za-z]:[\\/]*) \
34444 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34445 libsrcdir="$$s/binutils";; \
34446 *) \
34447 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34448 libsrcdir="$$s/binutils";; \
34449 esac; \
34450 $(SHELL) $${libsrcdir}/configure \
34451 $(HOST_CONFIGARGS) $${srcdiroption} \
34452 @stage2_werror_flag@
34454 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34455 all-stagefeedback-binutils: configure-stagefeedback-binutils
34456 @$(MAKE) stagefeedback-start
34457 @r=`${PWD_COMMAND}`; export r; \
34458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34459 $(STAGE_HOST_EXPORTS) \
34460 cd binutils && \
34461 $(MAKE) $(FLAGS_TO_PASS) \
34462 $(POSTSTAGE1_FLAGS_TO_PASS) \
34463 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34465 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34466 clean-stagefeedback-binutils:
34467 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34468 || exit 0 ; \
34469 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34470 cd binutils && \
34471 $(MAKE) $(FLAGS_TO_PASS) \
34472 $(POSTSTAGE1_FLAGS_TO_PASS) \
34473 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34474 @endif binutils-bootstrap
34477 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34478 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34479 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34481 maybe-configure-stagefeedback-gas:
34482 maybe-all-stagefeedback-gas:
34483 maybe-clean-stagefeedback-gas:
34485 @if gas-bootstrap
34486 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34487 configure-stagefeedback-gas:
34488 @$(MAKE) stagefeedback-start
34489 @[ -f gas/Makefile ] && exit 0 || : ; \
34490 r=`${PWD_COMMAND}`; export r; \
34491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34492 $(STAGE_HOST_EXPORTS) \
34493 echo Configuring stage feedback in gas ; \
34494 cd gas || exit 1; \
34495 case $(srcdir) in \
34496 \.) \
34497 srcdiroption="--srcdir=."; \
34498 libsrcdir=".";; \
34499 /* | [A-Za-z]:[\\/]*) \
34500 srcdiroption="--srcdir=$(srcdir)/gas"; \
34501 libsrcdir="$$s/gas";; \
34502 *) \
34503 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34504 libsrcdir="$$s/gas";; \
34505 esac; \
34506 $(SHELL) $${libsrcdir}/configure \
34507 $(HOST_CONFIGARGS) $${srcdiroption} \
34508 @stage2_werror_flag@
34510 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34511 all-stagefeedback-gas: configure-stagefeedback-gas
34512 @$(MAKE) stagefeedback-start
34513 @r=`${PWD_COMMAND}`; export r; \
34514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34515 $(STAGE_HOST_EXPORTS) \
34516 cd gas && \
34517 $(MAKE) $(FLAGS_TO_PASS) \
34518 $(POSTSTAGE1_FLAGS_TO_PASS) \
34519 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34521 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34522 clean-stagefeedback-gas:
34523 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34524 || exit 0 ; \
34525 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34526 cd gas && \
34527 $(MAKE) $(FLAGS_TO_PASS) \
34528 $(POSTSTAGE1_FLAGS_TO_PASS) \
34529 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34530 @endif gas-bootstrap
34533 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34534 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34535 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34537 maybe-configure-stagefeedback-gcc:
34538 maybe-all-stagefeedback-gcc:
34539 maybe-clean-stagefeedback-gcc:
34541 @if gcc-bootstrap
34542 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34543 configure-stagefeedback-gcc:
34544 @$(MAKE) stagefeedback-start
34545 @[ -f gcc/Makefile ] && exit 0 || : ; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(STAGE_HOST_EXPORTS) \
34549 echo Configuring stage feedback in gcc ; \
34550 cd gcc || exit 1; \
34551 case $(srcdir) in \
34552 \.) \
34553 srcdiroption="--srcdir=."; \
34554 libsrcdir=".";; \
34555 /* | [A-Za-z]:[\\/]*) \
34556 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34557 libsrcdir="$$s/gcc";; \
34558 *) \
34559 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34560 libsrcdir="$$s/gcc";; \
34561 esac; \
34562 $(SHELL) $${libsrcdir}/configure \
34563 $(HOST_CONFIGARGS) $${srcdiroption} \
34564 @stage2_werror_flag@
34566 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34567 all-stagefeedback-gcc: configure-stagefeedback-gcc
34568 @$(MAKE) stagefeedback-start
34569 @r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 $(STAGE_HOST_EXPORTS) \
34572 cd gcc && \
34573 $(MAKE) $(FLAGS_TO_PASS) \
34574 $(POSTSTAGE1_FLAGS_TO_PASS) \
34575 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34577 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34578 clean-stagefeedback-gcc:
34579 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34580 || exit 0 ; \
34581 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34582 cd gcc && \
34583 $(MAKE) $(FLAGS_TO_PASS) \
34584 $(POSTSTAGE1_FLAGS_TO_PASS) \
34585 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34586 @endif gcc-bootstrap
34589 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34590 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34591 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34593 maybe-configure-stagefeedback-intl:
34594 maybe-all-stagefeedback-intl:
34595 maybe-clean-stagefeedback-intl:
34597 @if intl-bootstrap
34598 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34599 configure-stagefeedback-intl:
34600 @$(MAKE) stagefeedback-start
34601 @[ -f intl/Makefile ] && exit 0 || : ; \
34602 r=`${PWD_COMMAND}`; export r; \
34603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34604 $(STAGE_HOST_EXPORTS) \
34605 echo Configuring stage feedback in intl ; \
34606 cd intl || exit 1; \
34607 case $(srcdir) in \
34608 \.) \
34609 srcdiroption="--srcdir=."; \
34610 libsrcdir=".";; \
34611 /* | [A-Za-z]:[\\/]*) \
34612 srcdiroption="--srcdir=$(srcdir)/intl"; \
34613 libsrcdir="$$s/intl";; \
34614 *) \
34615 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34616 libsrcdir="$$s/intl";; \
34617 esac; \
34618 $(SHELL) $${libsrcdir}/configure \
34619 $(HOST_CONFIGARGS) $${srcdiroption} \
34620 @stage2_werror_flag@
34622 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34623 all-stagefeedback-intl: configure-stagefeedback-intl
34624 @$(MAKE) stagefeedback-start
34625 @r=`${PWD_COMMAND}`; export r; \
34626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34627 $(STAGE_HOST_EXPORTS) \
34628 cd intl && \
34629 $(MAKE) $(FLAGS_TO_PASS) \
34630 $(POSTSTAGE1_FLAGS_TO_PASS) \
34631 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34633 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34634 clean-stagefeedback-intl:
34635 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34636 || exit 0 ; \
34637 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34638 cd intl && \
34639 $(MAKE) $(FLAGS_TO_PASS) \
34640 $(POSTSTAGE1_FLAGS_TO_PASS) \
34641 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34642 @endif intl-bootstrap
34645 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34646 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34647 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34649 maybe-configure-stagefeedback-ld:
34650 maybe-all-stagefeedback-ld:
34651 maybe-clean-stagefeedback-ld:
34653 @if ld-bootstrap
34654 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34655 configure-stagefeedback-ld:
34656 @$(MAKE) stagefeedback-start
34657 @[ -f ld/Makefile ] && exit 0 || : ; \
34658 r=`${PWD_COMMAND}`; export r; \
34659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34660 $(STAGE_HOST_EXPORTS) \
34661 echo Configuring stage feedback in ld ; \
34662 cd ld || exit 1; \
34663 case $(srcdir) in \
34664 \.) \
34665 srcdiroption="--srcdir=."; \
34666 libsrcdir=".";; \
34667 /* | [A-Za-z]:[\\/]*) \
34668 srcdiroption="--srcdir=$(srcdir)/ld"; \
34669 libsrcdir="$$s/ld";; \
34670 *) \
34671 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34672 libsrcdir="$$s/ld";; \
34673 esac; \
34674 $(SHELL) $${libsrcdir}/configure \
34675 $(HOST_CONFIGARGS) $${srcdiroption} \
34676 @stage2_werror_flag@
34678 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34679 all-stagefeedback-ld: configure-stagefeedback-ld
34680 @$(MAKE) stagefeedback-start
34681 @r=`${PWD_COMMAND}`; export r; \
34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34683 $(STAGE_HOST_EXPORTS) \
34684 cd ld && \
34685 $(MAKE) $(FLAGS_TO_PASS) \
34686 $(POSTSTAGE1_FLAGS_TO_PASS) \
34687 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34689 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34690 clean-stagefeedback-ld:
34691 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34692 || exit 0 ; \
34693 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34694 cd ld && \
34695 $(MAKE) $(FLAGS_TO_PASS) \
34696 $(POSTSTAGE1_FLAGS_TO_PASS) \
34697 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34698 @endif ld-bootstrap
34701 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34702 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34703 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34705 maybe-configure-stagefeedback-libcpp:
34706 maybe-all-stagefeedback-libcpp:
34707 maybe-clean-stagefeedback-libcpp:
34709 @if libcpp-bootstrap
34710 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34711 configure-stagefeedback-libcpp:
34712 @$(MAKE) stagefeedback-start
34713 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34714 r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(STAGE_HOST_EXPORTS) \
34717 echo Configuring stage feedback in libcpp ; \
34718 cd libcpp || exit 1; \
34719 case $(srcdir) in \
34720 \.) \
34721 srcdiroption="--srcdir=."; \
34722 libsrcdir=".";; \
34723 /* | [A-Za-z]:[\\/]*) \
34724 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34725 libsrcdir="$$s/libcpp";; \
34726 *) \
34727 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34728 libsrcdir="$$s/libcpp";; \
34729 esac; \
34730 $(SHELL) $${libsrcdir}/configure \
34731 $(HOST_CONFIGARGS) $${srcdiroption} \
34732 @stage2_werror_flag@
34734 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34735 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34736 @$(MAKE) stagefeedback-start
34737 @r=`${PWD_COMMAND}`; export r; \
34738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34739 $(STAGE_HOST_EXPORTS) \
34740 cd libcpp && \
34741 $(MAKE) $(FLAGS_TO_PASS) \
34742 $(POSTSTAGE1_FLAGS_TO_PASS) \
34743 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34745 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34746 clean-stagefeedback-libcpp:
34747 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34748 || exit 0 ; \
34749 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34750 cd libcpp && \
34751 $(MAKE) $(FLAGS_TO_PASS) \
34752 $(POSTSTAGE1_FLAGS_TO_PASS) \
34753 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34754 @endif libcpp-bootstrap
34757 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34758 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34759 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34761 maybe-configure-stagefeedback-libiberty:
34762 maybe-all-stagefeedback-libiberty:
34763 maybe-clean-stagefeedback-libiberty:
34765 @if libiberty-bootstrap
34766 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34767 configure-stagefeedback-libiberty:
34768 @$(MAKE) stagefeedback-start
34769 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34770 r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 $(STAGE_HOST_EXPORTS) \
34773 echo Configuring stage feedback in libiberty ; \
34774 cd libiberty || exit 1; \
34775 case $(srcdir) in \
34776 \.) \
34777 srcdiroption="--srcdir=."; \
34778 libsrcdir=".";; \
34779 /* | [A-Za-z]:[\\/]*) \
34780 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34781 libsrcdir="$$s/libiberty";; \
34782 *) \
34783 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34784 libsrcdir="$$s/libiberty";; \
34785 esac; \
34786 $(SHELL) $${libsrcdir}/configure \
34787 $(HOST_CONFIGARGS) $${srcdiroption} \
34788 @stage2_werror_flag@
34790 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34791 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34792 @$(MAKE) stagefeedback-start
34793 @r=`${PWD_COMMAND}`; export r; \
34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34795 $(STAGE_HOST_EXPORTS) \
34796 cd libiberty && \
34797 $(MAKE) $(FLAGS_TO_PASS) \
34798 $(POSTSTAGE1_FLAGS_TO_PASS) \
34799 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34801 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34802 clean-stagefeedback-libiberty:
34803 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34804 || exit 0 ; \
34805 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34806 cd libiberty && \
34807 $(MAKE) $(FLAGS_TO_PASS) \
34808 $(POSTSTAGE1_FLAGS_TO_PASS) \
34809 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34810 @endif libiberty-bootstrap
34813 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34814 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34815 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34817 maybe-configure-stagefeedback-zlib:
34818 maybe-all-stagefeedback-zlib:
34819 maybe-clean-stagefeedback-zlib:
34821 @if zlib-bootstrap
34822 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34823 configure-stagefeedback-zlib:
34824 @$(MAKE) stagefeedback-start
34825 @[ -f zlib/Makefile ] && exit 0 || : ; \
34826 r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(STAGE_HOST_EXPORTS) \
34829 echo Configuring stage feedback in zlib ; \
34830 cd zlib || exit 1; \
34831 case $(srcdir) in \
34832 \.) \
34833 srcdiroption="--srcdir=."; \
34834 libsrcdir=".";; \
34835 /* | [A-Za-z]:[\\/]*) \
34836 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34837 libsrcdir="$$s/zlib";; \
34838 *) \
34839 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34840 libsrcdir="$$s/zlib";; \
34841 esac; \
34842 $(SHELL) $${libsrcdir}/configure \
34843 $(HOST_CONFIGARGS) $${srcdiroption} \
34844 @stage2_werror_flag@
34846 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34847 all-stagefeedback-zlib: configure-stagefeedback-zlib
34848 @$(MAKE) stagefeedback-start
34849 @r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(STAGE_HOST_EXPORTS) \
34852 cd zlib && \
34853 $(MAKE) $(FLAGS_TO_PASS) \
34854 $(POSTSTAGE1_FLAGS_TO_PASS) \
34855 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34857 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34858 clean-stagefeedback-zlib:
34859 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34860 || exit 0 ; \
34861 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34862 cd zlib && \
34863 $(MAKE) $(FLAGS_TO_PASS) \
34864 $(POSTSTAGE1_FLAGS_TO_PASS) \
34865 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34866 @endif zlib-bootstrap
34870 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34871 # only possibility, but now it conflicts with no-bootstrap rules
34872 @if gcc-bootstrap
34877 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34878 distclean-stage1:: distclean-stagefeedback
34879 .PHONY: distclean-stagefeedback
34880 distclean-stagefeedback::
34881 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34882 rm -rf stagefeedback-*
34885 @endif gcc-bootstrap
34889 stagefeedback-start::
34890 @r=`${PWD_COMMAND}`; export r; \
34891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34892 cd stageprofile-gcc && \
34893 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34894 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34896 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34897 # only possibility, but now it conflicts with no-bootstrap rules
34898 @if gcc-bootstrap
34899 profiledbootstrap:
34900 @r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(SET_LIB_PATH) \
34903 $(HOST_EXPORTS) \
34904 echo "Bootstrapping the compiler"; \
34905 $(MAKE) stageprofile-bubble distclean-stagefeedback
34906 @r=`${PWD_COMMAND}`; export r; \
34907 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34908 $(SET_LIB_PATH) \
34909 echo "Building runtime libraries and training compiler"; \
34910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34911 @r=`${PWD_COMMAND}`; export r; \
34912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34913 $(SET_LIB_PATH) \
34914 $(HOST_EXPORTS) \
34915 echo "Building feedback based compiler"; \
34916 $(MAKE) stagefeedback-bubble stagefeedback-end
34917 @endif gcc-bootstrap
34919 @if gcc-bootstrap
34920 NOTPARALLEL = .NOTPARALLEL
34921 $(NOTPARALLEL):
34922 do-distclean: distclean-stage1
34923 @endif gcc-bootstrap
34925 # --------------------------------------
34926 # Dependencies between different modules
34927 # --------------------------------------
34929 # Generic dependencies for target modules on host stuff, especially gcc
34931 configure-target-libstdc++-v3: maybe-all-gcc
34933 configure-target-libmudflap: maybe-all-gcc
34935 configure-target-newlib: maybe-all-gcc
34937 configure-target-libgfortran: maybe-all-gcc
34939 configure-target-libobjc: maybe-all-gcc
34941 configure-target-libtermcap: maybe-all-gcc
34943 configure-target-winsup: maybe-all-gcc
34945 configure-target-libgloss: maybe-all-gcc
34947 configure-target-libiberty: maybe-all-gcc
34949 configure-target-gperf: maybe-all-gcc
34951 configure-target-examples: maybe-all-gcc
34953 configure-target-libffi: maybe-all-gcc
34955 configure-target-libjava: maybe-all-gcc
34957 configure-target-zlib: maybe-all-gcc
34959 configure-target-boehm-gc: maybe-all-gcc
34961 configure-target-qthreads: maybe-all-gcc
34963 configure-target-rda: maybe-all-gcc
34965 configure-target-libada: maybe-all-gcc
34969 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34972 configure-target-gperf: maybe-all-target-libstdc++-v3
34974 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34976 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34978 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34981 configure-target-libjava: maybe-all-target-libstdc++-v3
34983 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34985 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34987 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34989 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34991 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34993 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34995 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34997 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35000 # There are two types of dependencies here: 'hard' dependencies, where one
35001 # module simply won't build without the other; and 'soft' dependencies, where
35002 # if the depended-on module is missing, the depending module will do without
35003 # or find a substitute somewhere (perhaps installed). Soft dependencies
35004 # are made here to depend on a 'maybe-' target. If you're not sure,
35005 # it's safer to use a soft dependency.
35011 # With all the machinery above in place, it is pretty easy to generate
35012 # dependencies. Host dependencies are a bit more complex because we have
35013 # to check for bootstrap/prebootstrap dependencies. To resolve
35014 # prebootstrap dependencies, prebootstrap modules are gathered in
35015 # a hash table.
35016 all-build-bison: maybe-all-build-texinfo
35017 all-build-byacc: maybe-all-build-texinfo
35018 all-build-flex: maybe-all-build-texinfo
35019 all-build-flex: maybe-all-build-bison
35020 all-build-flex: maybe-all-build-byacc
35021 all-build-flex: maybe-all-build-m4
35022 all-build-libiberty: maybe-all-build-texinfo
35023 all-build-m4: maybe-all-build-texinfo
35024 all-build-fixincludes: maybe-all-build-libiberty
35025 configure-gcc: maybe-configure-intl
35027 configure-stage1-gcc: maybe-configure-stage1-intl
35028 configure-stage2-gcc: maybe-configure-stage2-intl
35029 configure-stage3-gcc: maybe-configure-stage3-intl
35030 configure-stage4-gcc: maybe-configure-stage4-intl
35031 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35032 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35033 configure-gcc: maybe-configure-binutils
35035 configure-stage1-gcc: maybe-configure-stage1-binutils
35036 configure-stage2-gcc: maybe-configure-stage2-binutils
35037 configure-stage3-gcc: maybe-configure-stage3-binutils
35038 configure-stage4-gcc: maybe-configure-stage4-binutils
35039 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35040 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35041 configure-gcc: maybe-configure-gas
35043 configure-stage1-gcc: maybe-configure-stage1-gas
35044 configure-stage2-gcc: maybe-configure-stage2-gas
35045 configure-stage3-gcc: maybe-configure-stage3-gas
35046 configure-stage4-gcc: maybe-configure-stage4-gas
35047 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35048 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35049 configure-gcc: maybe-configure-ld
35051 configure-stage1-gcc: maybe-configure-stage1-ld
35052 configure-stage2-gcc: maybe-configure-stage2-ld
35053 configure-stage3-gcc: maybe-configure-stage3-ld
35054 configure-stage4-gcc: maybe-configure-stage4-ld
35055 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35056 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35057 all-gcc: all-libiberty
35059 all-stage1-gcc: all-stage1-libiberty
35060 all-stage2-gcc: all-stage2-libiberty
35061 all-stage3-gcc: all-stage3-libiberty
35062 all-stage4-gcc: all-stage4-libiberty
35063 all-stageprofile-gcc: all-stageprofile-libiberty
35064 all-stagefeedback-gcc: all-stagefeedback-libiberty
35065 all-gcc: maybe-all-intl
35067 all-stage1-gcc: maybe-all-stage1-intl
35068 all-stage2-gcc: maybe-all-stage2-intl
35069 all-stage3-gcc: maybe-all-stage3-intl
35070 all-stage4-gcc: maybe-all-stage4-intl
35071 all-stageprofile-gcc: maybe-all-stageprofile-intl
35072 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35073 all-gcc: maybe-all-build-texinfo
35075 all-stage1-gcc: maybe-all-build-texinfo
35076 all-stage2-gcc: maybe-all-build-texinfo
35077 all-stage3-gcc: maybe-all-build-texinfo
35078 all-stage4-gcc: maybe-all-build-texinfo
35079 all-stageprofile-gcc: maybe-all-build-texinfo
35080 all-stagefeedback-gcc: maybe-all-build-texinfo
35081 all-prebootstrap: maybe-all-build-texinfo
35082 all-gcc: maybe-all-build-bison
35084 all-stage1-gcc: maybe-all-build-bison
35085 all-stage2-gcc: maybe-all-build-bison
35086 all-stage3-gcc: maybe-all-build-bison
35087 all-stage4-gcc: maybe-all-build-bison
35088 all-stageprofile-gcc: maybe-all-build-bison
35089 all-stagefeedback-gcc: maybe-all-build-bison
35090 all-prebootstrap: maybe-all-build-bison
35091 all-gcc: maybe-all-build-byacc
35093 all-stage1-gcc: maybe-all-build-byacc
35094 all-stage2-gcc: maybe-all-build-byacc
35095 all-stage3-gcc: maybe-all-build-byacc
35096 all-stage4-gcc: maybe-all-build-byacc
35097 all-stageprofile-gcc: maybe-all-build-byacc
35098 all-stagefeedback-gcc: maybe-all-build-byacc
35099 all-prebootstrap: maybe-all-build-byacc
35100 all-gcc: maybe-all-build-flex
35102 all-stage1-gcc: maybe-all-build-flex
35103 all-stage2-gcc: maybe-all-build-flex
35104 all-stage3-gcc: maybe-all-build-flex
35105 all-stage4-gcc: maybe-all-build-flex
35106 all-stageprofile-gcc: maybe-all-build-flex
35107 all-stagefeedback-gcc: maybe-all-build-flex
35108 all-prebootstrap: maybe-all-build-flex
35109 all-gcc: maybe-all-build-libiberty
35111 all-stage1-gcc: maybe-all-build-libiberty
35112 all-stage2-gcc: maybe-all-build-libiberty
35113 all-stage3-gcc: maybe-all-build-libiberty
35114 all-stage4-gcc: maybe-all-build-libiberty
35115 all-stageprofile-gcc: maybe-all-build-libiberty
35116 all-stagefeedback-gcc: maybe-all-build-libiberty
35117 all-prebootstrap: maybe-all-build-libiberty
35118 all-gcc: maybe-all-build-fixincludes
35120 all-stage1-gcc: maybe-all-build-fixincludes
35121 all-stage2-gcc: maybe-all-build-fixincludes
35122 all-stage3-gcc: maybe-all-build-fixincludes
35123 all-stage4-gcc: maybe-all-build-fixincludes
35124 all-stageprofile-gcc: maybe-all-build-fixincludes
35125 all-stagefeedback-gcc: maybe-all-build-fixincludes
35126 all-prebootstrap: maybe-all-build-fixincludes
35127 all-gcc: maybe-all-binutils
35129 all-stage1-gcc: maybe-all-stage1-binutils
35130 all-stage2-gcc: maybe-all-stage2-binutils
35131 all-stage3-gcc: maybe-all-stage3-binutils
35132 all-stage4-gcc: maybe-all-stage4-binutils
35133 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35134 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35135 all-gcc: maybe-all-gas
35137 all-stage1-gcc: maybe-all-stage1-gas
35138 all-stage2-gcc: maybe-all-stage2-gas
35139 all-stage3-gcc: maybe-all-stage3-gas
35140 all-stage4-gcc: maybe-all-stage4-gas
35141 all-stageprofile-gcc: maybe-all-stageprofile-gas
35142 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35143 all-gcc: maybe-all-ld
35145 all-stage1-gcc: maybe-all-stage1-ld
35146 all-stage2-gcc: maybe-all-stage2-ld
35147 all-stage3-gcc: maybe-all-stage3-ld
35148 all-stage4-gcc: maybe-all-stage4-ld
35149 all-stageprofile-gcc: maybe-all-stageprofile-ld
35150 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35151 all-gcc: maybe-all-zlib
35153 all-stage1-gcc: maybe-all-stage1-zlib
35154 all-stage2-gcc: maybe-all-stage2-zlib
35155 all-stage3-gcc: maybe-all-stage3-zlib
35156 all-stage4-gcc: maybe-all-stage4-zlib
35157 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35158 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35159 all-gcc: all-libcpp
35161 all-stage1-gcc: all-stage1-libcpp
35162 all-stage2-gcc: all-stage2-libcpp
35163 all-stage3-gcc: all-stage3-libcpp
35164 all-stage4-gcc: all-stage4-libcpp
35165 all-stageprofile-gcc: all-stageprofile-libcpp
35166 all-stagefeedback-gcc: all-stagefeedback-libcpp
35167 all-gcc: maybe-all-libiberty
35169 all-stage1-gcc: maybe-all-stage1-libiberty
35170 all-stage2-gcc: maybe-all-stage2-libiberty
35171 all-stage3-gcc: maybe-all-stage3-libiberty
35172 all-stage4-gcc: maybe-all-stage4-libiberty
35173 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35174 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35175 all-gcc: maybe-all-fixincludes
35176 install-gcc: maybe-install-fixincludes
35177 configure-libcpp: configure-libiberty
35179 configure-stage1-libcpp: configure-stage1-libiberty
35180 configure-stage2-libcpp: configure-stage2-libiberty
35181 configure-stage3-libcpp: configure-stage3-libiberty
35182 configure-stage4-libcpp: configure-stage4-libiberty
35183 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35184 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35185 configure-libcpp: maybe-configure-intl
35187 configure-stage1-libcpp: maybe-configure-stage1-intl
35188 configure-stage2-libcpp: maybe-configure-stage2-intl
35189 configure-stage3-libcpp: maybe-configure-stage3-intl
35190 configure-stage4-libcpp: maybe-configure-stage4-intl
35191 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35192 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35193 all-libcpp: all-libiberty
35195 all-stage1-libcpp: all-stage1-libiberty
35196 all-stage2-libcpp: all-stage2-libiberty
35197 all-stage3-libcpp: all-stage3-libiberty
35198 all-stage4-libcpp: all-stage4-libiberty
35199 all-stageprofile-libcpp: all-stageprofile-libiberty
35200 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35201 all-libcpp: maybe-all-intl
35203 all-stage1-libcpp: maybe-all-stage1-intl
35204 all-stage2-libcpp: maybe-all-stage2-intl
35205 all-stage3-libcpp: maybe-all-stage3-intl
35206 all-stage4-libcpp: maybe-all-stage4-intl
35207 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35208 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35209 all-fixincludes: maybe-all-libiberty
35210 configure-gdb: maybe-configure-itcl
35211 configure-gdb: maybe-configure-tcl
35212 configure-gdb: maybe-configure-tk
35213 configure-gdb: maybe-configure-sim
35214 all-gdb: maybe-all-libiberty
35215 all-gdb: maybe-all-opcodes
35216 all-gdb: maybe-all-bfd
35217 all-gdb: maybe-all-readline
35218 all-gdb: maybe-all-build-bison
35219 all-gdb: maybe-all-build-byacc
35220 all-gdb: maybe-all-sim
35221 install-gdb: maybe-install-tcl
35222 install-gdb: maybe-install-tk
35223 install-gdb: maybe-install-itcl
35224 install-gdb: maybe-install-libgui
35225 configure-libgui: maybe-configure-tcl
35226 configure-libgui: maybe-configure-tk
35227 all-libgui: maybe-all-tcl
35228 all-libgui: maybe-all-tk
35229 all-libgui: maybe-all-itcl
35230 configure-bfd: configure-libiberty
35232 configure-stage1-bfd: configure-stage1-libiberty
35233 configure-stage2-bfd: configure-stage2-libiberty
35234 configure-stage3-bfd: configure-stage3-libiberty
35235 configure-stage4-bfd: configure-stage4-libiberty
35236 configure-stageprofile-bfd: configure-stageprofile-libiberty
35237 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35238 all-bfd: maybe-all-libiberty
35240 all-stage1-bfd: maybe-all-stage1-libiberty
35241 all-stage2-bfd: maybe-all-stage2-libiberty
35242 all-stage3-bfd: maybe-all-stage3-libiberty
35243 all-stage4-bfd: maybe-all-stage4-libiberty
35244 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35245 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35246 all-bfd: maybe-all-intl
35248 all-stage1-bfd: maybe-all-stage1-intl
35249 all-stage2-bfd: maybe-all-stage2-intl
35250 all-stage3-bfd: maybe-all-stage3-intl
35251 all-stage4-bfd: maybe-all-stage4-intl
35252 all-stageprofile-bfd: maybe-all-stageprofile-intl
35253 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35254 all-binutils: maybe-all-libiberty
35256 all-stage1-binutils: maybe-all-stage1-libiberty
35257 all-stage2-binutils: maybe-all-stage2-libiberty
35258 all-stage3-binutils: maybe-all-stage3-libiberty
35259 all-stage4-binutils: maybe-all-stage4-libiberty
35260 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35261 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35262 all-binutils: maybe-all-opcodes
35264 all-stage1-binutils: maybe-all-stage1-opcodes
35265 all-stage2-binutils: maybe-all-stage2-opcodes
35266 all-stage3-binutils: maybe-all-stage3-opcodes
35267 all-stage4-binutils: maybe-all-stage4-opcodes
35268 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35269 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35270 all-binutils: maybe-all-bfd
35272 all-stage1-binutils: maybe-all-stage1-bfd
35273 all-stage2-binutils: maybe-all-stage2-bfd
35274 all-stage3-binutils: maybe-all-stage3-bfd
35275 all-stage4-binutils: maybe-all-stage4-bfd
35276 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35277 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35278 all-binutils: maybe-all-build-flex
35280 all-stage1-binutils: maybe-all-build-flex
35281 all-stage2-binutils: maybe-all-build-flex
35282 all-stage3-binutils: maybe-all-build-flex
35283 all-stage4-binutils: maybe-all-build-flex
35284 all-stageprofile-binutils: maybe-all-build-flex
35285 all-stagefeedback-binutils: maybe-all-build-flex
35286 all-prebootstrap: maybe-all-build-flex
35287 all-binutils: maybe-all-build-bison
35289 all-stage1-binutils: maybe-all-build-bison
35290 all-stage2-binutils: maybe-all-build-bison
35291 all-stage3-binutils: maybe-all-build-bison
35292 all-stage4-binutils: maybe-all-build-bison
35293 all-stageprofile-binutils: maybe-all-build-bison
35294 all-stagefeedback-binutils: maybe-all-build-bison
35295 all-prebootstrap: maybe-all-build-bison
35296 all-binutils: maybe-all-build-byacc
35298 all-stage1-binutils: maybe-all-build-byacc
35299 all-stage2-binutils: maybe-all-build-byacc
35300 all-stage3-binutils: maybe-all-build-byacc
35301 all-stage4-binutils: maybe-all-build-byacc
35302 all-stageprofile-binutils: maybe-all-build-byacc
35303 all-stagefeedback-binutils: maybe-all-build-byacc
35304 all-prebootstrap: maybe-all-build-byacc
35305 all-binutils: maybe-all-intl
35307 all-stage1-binutils: maybe-all-stage1-intl
35308 all-stage2-binutils: maybe-all-stage2-intl
35309 all-stage3-binutils: maybe-all-stage3-intl
35310 all-stage4-binutils: maybe-all-stage4-intl
35311 all-stageprofile-binutils: maybe-all-stageprofile-intl
35312 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35313 install-binutils: maybe-install-opcodes
35314 install-opcodes: maybe-install-bfd
35315 all-gas: maybe-all-libiberty
35317 all-stage1-gas: maybe-all-stage1-libiberty
35318 all-stage2-gas: maybe-all-stage2-libiberty
35319 all-stage3-gas: maybe-all-stage3-libiberty
35320 all-stage4-gas: maybe-all-stage4-libiberty
35321 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35322 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35323 all-gas: maybe-all-opcodes
35325 all-stage1-gas: maybe-all-stage1-opcodes
35326 all-stage2-gas: maybe-all-stage2-opcodes
35327 all-stage3-gas: maybe-all-stage3-opcodes
35328 all-stage4-gas: maybe-all-stage4-opcodes
35329 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35330 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35331 all-gas: maybe-all-bfd
35333 all-stage1-gas: maybe-all-stage1-bfd
35334 all-stage2-gas: maybe-all-stage2-bfd
35335 all-stage3-gas: maybe-all-stage3-bfd
35336 all-stage4-gas: maybe-all-stage4-bfd
35337 all-stageprofile-gas: maybe-all-stageprofile-bfd
35338 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35339 all-gas: maybe-all-intl
35341 all-stage1-gas: maybe-all-stage1-intl
35342 all-stage2-gas: maybe-all-stage2-intl
35343 all-stage3-gas: maybe-all-stage3-intl
35344 all-stage4-gas: maybe-all-stage4-intl
35345 all-stageprofile-gas: maybe-all-stageprofile-intl
35346 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35347 all-gprof: maybe-all-libiberty
35348 all-gprof: maybe-all-bfd
35349 all-gprof: maybe-all-opcodes
35350 all-gprof: maybe-all-intl
35351 all-ld: maybe-all-libiberty
35353 all-stage1-ld: maybe-all-stage1-libiberty
35354 all-stage2-ld: maybe-all-stage2-libiberty
35355 all-stage3-ld: maybe-all-stage3-libiberty
35356 all-stage4-ld: maybe-all-stage4-libiberty
35357 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35358 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35359 all-ld: maybe-all-bfd
35361 all-stage1-ld: maybe-all-stage1-bfd
35362 all-stage2-ld: maybe-all-stage2-bfd
35363 all-stage3-ld: maybe-all-stage3-bfd
35364 all-stage4-ld: maybe-all-stage4-bfd
35365 all-stageprofile-ld: maybe-all-stageprofile-bfd
35366 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35367 all-ld: maybe-all-opcodes
35369 all-stage1-ld: maybe-all-stage1-opcodes
35370 all-stage2-ld: maybe-all-stage2-opcodes
35371 all-stage3-ld: maybe-all-stage3-opcodes
35372 all-stage4-ld: maybe-all-stage4-opcodes
35373 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35374 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35375 all-ld: maybe-all-build-bison
35377 all-stage1-ld: maybe-all-build-bison
35378 all-stage2-ld: maybe-all-build-bison
35379 all-stage3-ld: maybe-all-build-bison
35380 all-stage4-ld: maybe-all-build-bison
35381 all-stageprofile-ld: maybe-all-build-bison
35382 all-stagefeedback-ld: maybe-all-build-bison
35383 all-prebootstrap: maybe-all-build-bison
35384 all-ld: maybe-all-build-byacc
35386 all-stage1-ld: maybe-all-build-byacc
35387 all-stage2-ld: maybe-all-build-byacc
35388 all-stage3-ld: maybe-all-build-byacc
35389 all-stage4-ld: maybe-all-build-byacc
35390 all-stageprofile-ld: maybe-all-build-byacc
35391 all-stagefeedback-ld: maybe-all-build-byacc
35392 all-prebootstrap: maybe-all-build-byacc
35393 all-ld: maybe-all-build-flex
35395 all-stage1-ld: maybe-all-build-flex
35396 all-stage2-ld: maybe-all-build-flex
35397 all-stage3-ld: maybe-all-build-flex
35398 all-stage4-ld: maybe-all-build-flex
35399 all-stageprofile-ld: maybe-all-build-flex
35400 all-stagefeedback-ld: maybe-all-build-flex
35401 all-prebootstrap: maybe-all-build-flex
35402 all-ld: maybe-all-intl
35404 all-stage1-ld: maybe-all-stage1-intl
35405 all-stage2-ld: maybe-all-stage2-intl
35406 all-stage3-ld: maybe-all-stage3-intl
35407 all-stage4-ld: maybe-all-stage4-intl
35408 all-stageprofile-ld: maybe-all-stageprofile-intl
35409 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35410 all-opcodes: maybe-all-bfd
35412 all-stage1-opcodes: maybe-all-stage1-bfd
35413 all-stage2-opcodes: maybe-all-stage2-bfd
35414 all-stage3-opcodes: maybe-all-stage3-bfd
35415 all-stage4-opcodes: maybe-all-stage4-bfd
35416 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35417 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35418 all-opcodes: maybe-all-libiberty
35420 all-stage1-opcodes: maybe-all-stage1-libiberty
35421 all-stage2-opcodes: maybe-all-stage2-libiberty
35422 all-stage3-opcodes: maybe-all-stage3-libiberty
35423 all-stage4-opcodes: maybe-all-stage4-libiberty
35424 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35425 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35426 all-dejagnu: maybe-all-tcl
35427 all-dejagnu: maybe-all-expect
35428 all-dejagnu: maybe-all-tk
35429 configure-expect: maybe-configure-tcl
35430 configure-expect: maybe-configure-tk
35431 all-expect: maybe-all-tcl
35432 all-expect: maybe-all-tk
35433 configure-itcl: maybe-configure-tcl
35434 configure-itcl: maybe-configure-tk
35435 all-itcl: maybe-all-tcl
35436 all-itcl: maybe-all-tk
35437 install-itcl: maybe-install-tcl
35438 configure-tk: maybe-configure-tcl
35439 all-tk: maybe-all-tcl
35440 all-sid: maybe-all-libiberty
35441 all-sid: maybe-all-bfd
35442 all-sid: maybe-all-opcodes
35443 all-sid: maybe-all-tcl
35444 all-sid: maybe-all-tk
35445 install-sid: maybe-install-tcl
35446 install-sid: maybe-install-tk
35447 all-sim: maybe-all-libiberty
35448 all-sim: maybe-all-bfd
35449 all-sim: maybe-all-opcodes
35450 all-sim: maybe-all-readline
35451 all-sim: maybe-configure-gdb
35452 all-fastjar: maybe-all-zlib
35453 all-fastjar: maybe-all-build-texinfo
35454 all-fastjar: maybe-all-libiberty
35455 all-autoconf: maybe-all-m4
35456 all-autoconf: maybe-all-build-texinfo
35457 all-automake: maybe-all-m4
35458 all-automake: maybe-all-build-texinfo
35459 all-automake: maybe-all-autoconf
35460 all-bison: maybe-all-intl
35461 all-bison: maybe-all-build-texinfo
35462 all-diff: maybe-all-intl
35463 all-diff: maybe-all-build-texinfo
35464 all-fileutils: maybe-all-intl
35465 all-fileutils: maybe-all-build-texinfo
35466 all-flex: maybe-all-build-bison
35467 all-flex: maybe-all-build-byacc
35468 all-flex: maybe-all-intl
35469 all-flex: maybe-all-m4
35470 all-flex: maybe-all-build-texinfo
35471 all-gzip: maybe-all-intl
35472 all-gzip: maybe-all-zlib
35473 all-gzip: maybe-all-build-texinfo
35474 all-hello: maybe-all-intl
35475 all-hello: maybe-all-build-texinfo
35476 all-m4: maybe-all-intl
35477 all-m4: maybe-all-build-texinfo
35478 all-make: maybe-all-intl
35479 all-make: maybe-all-build-texinfo
35480 all-patch: maybe-all-build-texinfo
35481 all-make: maybe-all-build-texinfo
35482 all-prms: maybe-all-libiberty
35483 all-recode: maybe-all-build-texinfo
35484 all-sed: maybe-all-build-texinfo
35485 all-send-pr: maybe-all-prms
35486 all-tar: maybe-all-build-texinfo
35487 all-uudecode: maybe-all-build-texinfo
35488 configure-target-boehm-gc: maybe-configure-target-qthreads
35489 configure-target-fastjar: maybe-configure-target-zlib
35490 all-target-fastjar: maybe-all-target-zlib
35491 all-target-fastjar: maybe-all-target-libiberty
35492 configure-target-libjava: maybe-configure-target-zlib
35493 configure-target-libjava: maybe-configure-target-boehm-gc
35494 configure-target-libjava: maybe-configure-target-qthreads
35495 configure-target-libjava: maybe-configure-target-libffi
35496 all-target-libjava: maybe-all-fastjar
35497 all-target-libjava: maybe-all-target-zlib
35498 all-target-libjava: maybe-all-target-boehm-gc
35499 all-target-libjava: maybe-all-target-qthreads
35500 all-target-libjava: maybe-all-target-libffi
35501 all-target-libobjc: maybe-all-target-libiberty
35502 all-target-libstdc++-v3: maybe-all-target-libiberty
35503 all-target-libgloss: maybe-configure-target-newlib
35504 all-target-winsup: maybe-all-target-libiberty
35505 all-target-winsup: maybe-all-target-libtermcap
35508 # Non-toplevel bootstrap rules must depend on several packages, to be built
35509 # before gcc. Another wart that will go away, hopefully soon.
35510 @if gcc-no-bootstrap
35512 all-prebootstrap: maybe-all-bfd
35513 all-prebootstrap: maybe-all-opcodes
35514 all-prebootstrap: maybe-all-binutils
35515 all-prebootstrap: maybe-all-gas
35516 all-prebootstrap: maybe-all-intl
35517 all-prebootstrap: maybe-all-ld
35518 all-prebootstrap: maybe-all-libcpp
35519 all-prebootstrap: maybe-all-libiberty
35520 all-prebootstrap: maybe-all-zlib
35521 @endif gcc-no-bootstrap
35523 GDB_TK = @GDB_TK@
35524 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35526 # Serialization dependencies. Host configures don't work well in parallel to
35527 # each other, due to contention over config.cache. Target configures and
35528 # build configures are similar.
35529 @serialization_dependencies@
35531 # --------------------------------
35532 # Regenerating top level configury
35533 # --------------------------------
35535 # Multilib.out tells target dirs what multilibs they should build.
35536 # There is really only one copy. We use the 'timestamp' method to
35537 # work around various timestamp bugs on some systems.
35538 # We use move-if-change so that it's only considered updated when it
35539 # actually changes, because it has to depend on a phony target.
35540 multilib.out: maybe-all-gcc
35541 @r=`${PWD_COMMAND}`; export r; \
35542 echo "Checking multilib configuration..."; \
35543 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35544 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35546 # Rebuilding Makefile.in, using autogen.
35547 AUTOGEN = autogen
35548 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35549 cd $(srcdir) && $(AUTOGEN) Makefile.def
35551 # Rebuilding Makefile.
35552 Makefile: $(srcdir)/Makefile.in config.status
35553 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35555 config.status: configure $(gcc_version_trigger)
35556 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35558 # Rebuilding configure.
35559 AUTOCONF = autoconf
35560 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35561 cd $(srcdir) && $(AUTOCONF)
35563 # ------------------------------
35564 # Special directives to GNU Make
35565 # ------------------------------
35567 # Don't pass command-line variables to submakes.
35568 .NOEXPORT:
35569 MAKEOVERRIDES=
35571 # end of Makefile.in